mirror of
https://github.com/yannh/kubeconform.git
synced 2026-04-29 14:54:32 +00:00
Add comments on some exported resources
This commit is contained in:
parent
eb6a2b12b7
commit
f64ecad867
5 changed files with 11 additions and 0 deletions
|
|
@ -4,10 +4,12 @@ type Manifest struct {
|
|||
Kind, Version string
|
||||
}
|
||||
|
||||
// Registry is an interface that should be implemented by any source of Kubernetes schemas
|
||||
type Registry interface {
|
||||
DownloadSchema(resourceKind, resourceAPIVersion, k8sVersion string) ([]byte, error)
|
||||
}
|
||||
|
||||
// Retryable indicates whether an error is a temporary or a permanent failure
|
||||
type Retryable interface {
|
||||
IsRetryable() bool
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue