Documentation ¶
Index ¶
- Constants
- func CopyRegistries(ctx context.Context, logger *log.Logger, sourceConfig *rest.Config, ...) error
- type Registry
- func (r *Registry) Create(ctx context.Context, config *rest.Config, logger *log.Logger) error
- func (r *Registry) Delete(ctx context.Context, config *rest.Config, logger *log.Logger) error
- func (r *Registry) Exists(ctx context.Context, client *kubernetes.Clientset) bool
- func (r *Registry) FromSecret(sec corev1.Secret) *Registry
- func (r *Registry) SecretSpec() corev1.Secret
- func (r *Registry) ToSecret() *corev1.Secret
- func (r *Registry) Validate() error
- type RegistryAuth
- type RegistryConfig
Constants ¶
View Source
const RegistryServerLabel = "kndp-registry-server-url"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Registry ¶
type Registry struct { Config RegistryConfig corev1.Secret }
func Registries ¶
Return regestires from requested context
func (*Registry) SecretSpec ¶
Creates specs of Secret base on Registry data
type RegistryAuth ¶
type RegistryConfig ¶
type RegistryConfig struct {
Auths map[string]RegistryAuth `json:"auths"`
}
Click to show internal directories.
Click to hide internal directories.