controller

package
v1.42.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 46 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateCAConfigurationFromSecretReferences

func ValidateCAConfigurationFromSecretReferences(ctx context.Context, client client.Client, ref *corev1.SecretReference, path *field.Path) (*string, *string, error)

ValidateCAConfigurationFromSecretReferences validates the CA certificate and key obtained via the given secret reference returns the certificate as first, and the key as second argument, or an error

func ValidateTLSConfigurationFromSecretReferences

func ValidateTLSConfigurationFromSecretReferences(ctx context.Context, client client.Client, ref *corev1.SecretReference, ca *imports.CA, path *field.Path) (*string, *string, error)

ValidateTLSConfigurationFromSecretReferences validates the TLS serving certificate and key obtained via the given secret reference returns the TLS serving certificate as first, and the key as second argument, or an error

Types

type Image

type Image struct {
	Repository string
	Tag        string
}

Image represents an OCI image in a registry

type ImageReferences

type ImageReferences struct {
	ApiServer           Image
	ControllerManager   Image
	AdmissionController Image
	Scheduler           Image
}

ImageReferences contains the parsed image from the component descriptor for all control plane components

type Interface

type Interface interface {
	// Reconcile performs a reconcile operation.
	Reconcile(context.Context) (*exports.Exports, bool, bool, error)
	// Delete performs a delete operation.
	Delete(context.Context) error
}

Interface is an interface for the operation.

func NewOperation

func NewOperation(runtimeCLient kubernetes.Interface, virtualGardenClient *kubernetes.Interface, virtualGardenCA []byte, log *logrus.Logger, imports *imports.Imports, componentDescriptorPath string) (Interface, error)

NewOperation returns a new operation structure that implements Interface.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL