Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { *HostConfig Server string `toml:"server"` Host *map[string]HostConfig `toml:"host,omitempty"` }
type HostConfig ¶
type HostConfig struct { // Capabilities determine what operations a host is // capable of performing. Allowed values // - pull // - resolve // - push Capabilities []string `toml:"capabilities"` // CACert are the public key certificates for TLS // Accepted types // - string - Single file with certificate(s) // - []string - Multiple files with certificates CACert interface{} `toml:"ca"` // Client keypair(s) for TLS with client authentication // Accepted types // - string - Single file with public and private keys // - []string - Multiple files with public and private keys // - [][2]string - Multiple keypairs with public and private keys in separate files Client interface{} `toml:"client"` // SkipVerify skips verification of the server's certificate chain // and host name. This should only be used for testing or in // combination with other methods of verifying connections. SkipVerify *bool `toml:"skip_verify"` // Header are additional header files to send to the server Header map[string]interface{} `toml:"header"` // OverridePath indicates the API root endpoint is defined in the URL // path rather than by the API specification. // This may be used with non-compliant OCI registries to override the // API root endpoint. OverridePath bool `toml:"override_path"` }
type NodeRegistryConfigsReconciler ¶
type NodeRegistryConfigsReconciler struct { client.Client Scheme *runtime.Scheme // HostRootDir is the runtime config registry host root dir HostRootDir string }
NodeRegistryConfigsReconciler reconciles a NodeRegistryConfigs object.
func (*NodeRegistryConfigsReconciler) Reconcile ¶
func (r *NodeRegistryConfigsReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the NodeRegistryConfigs object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.4/pkg/reconcile
func (*NodeRegistryConfigsReconciler) SetupWithManager ¶
func (r *NodeRegistryConfigsReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type RegistryConfigsReconciler ¶
RegistryConfigsReconciler reconciles a RegistryConfigs object.
func (*RegistryConfigsReconciler) Reconcile ¶
func (r *RegistryConfigsReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the RegistryConfigs object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.4/pkg/reconcile
func (*RegistryConfigsReconciler) SetupWithManager ¶
func (r *RegistryConfigsReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.