Add comments on some exported resources

This commit is contained in:
Yann Hamon 2020-06-04 00:51:36 +02:00
parent eb6a2b12b7
commit f64ecad867
5 changed files with 11 additions and 0 deletions

View file

@ -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
}