v1alpha1

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "accounting.fits.extensions.config.gardener.cloud"

GroupName is the group name use in this package

Variables

View Source
var (
	// SchemeBuilder used to register the Shoot resource.
	SchemeBuilder runtime.SchemeBuilder

	// AddToScheme is a pointer to SchemeBuilder.AddToScheme.
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_config_Accounting_To_v1alpha1_Accounting

func Convert_config_Accounting_To_v1alpha1_Accounting(in *config.Accounting, out *Accounting, s conversion.Scope) error

Convert_config_Accounting_To_v1alpha1_Accounting is an autogenerated conversion function.

func Convert_config_ControllerConfiguration_To_v1alpha1_ControllerConfiguration

func Convert_config_ControllerConfiguration_To_v1alpha1_ControllerConfiguration(in *config.ControllerConfiguration, out *ControllerConfiguration, s conversion.Scope) error

Convert_config_ControllerConfiguration_To_v1alpha1_ControllerConfiguration is an autogenerated conversion function.

func Convert_config_ImagePullSecret_To_v1alpha1_ImagePullSecret

func Convert_config_ImagePullSecret_To_v1alpha1_ImagePullSecret(in *config.ImagePullSecret, out *ImagePullSecret, s conversion.Scope) error

Convert_config_ImagePullSecret_To_v1alpha1_ImagePullSecret is an autogenerated conversion function.

func Convert_v1alpha1_Accounting_To_config_Accounting

func Convert_v1alpha1_Accounting_To_config_Accounting(in *Accounting, out *config.Accounting, s conversion.Scope) error

Convert_v1alpha1_Accounting_To_config_Accounting is an autogenerated conversion function.

func Convert_v1alpha1_ControllerConfiguration_To_config_ControllerConfiguration

func Convert_v1alpha1_ControllerConfiguration_To_config_ControllerConfiguration(in *ControllerConfiguration, out *config.ControllerConfiguration, s conversion.Scope) error

Convert_v1alpha1_ControllerConfiguration_To_config_ControllerConfiguration is an autogenerated conversion function.

func Convert_v1alpha1_ImagePullSecret_To_config_ImagePullSecret

func Convert_v1alpha1_ImagePullSecret_To_config_ImagePullSecret(in *ImagePullSecret, out *config.ImagePullSecret, s conversion.Scope) error

Convert_v1alpha1_ImagePullSecret_To_config_ImagePullSecret is an autogenerated conversion function.

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Accounting

type Accounting struct {
	MetalURL      string `json:"metalURL"`
	MetalHMAC     string `json:"metalHMAC"`
	MetalAuthType string `json:"metalAuthType"`

	// AccountingHost the host domain to reach the accounting-api
	AccountingHost string `json:"hostname"`
	// AccountingPort the port to reach the accounting-api
	AccountingPort string `json:"port"`
	// CA is the ca certificate of the accounting-api
	CA string `json:"ca"`
	// ClientCert is the client certificate to communicate with the accounting-api
	ClientCert string `json:"cert"`
	// ClientKey is the client key certificate to communicate with the accounting-api
	ClientKey string `json:"key"`
}

Accounting contains the configuration for fi-ts specific accounting in the cluster.

func (*Accounting) DeepCopy

func (in *Accounting) DeepCopy() *Accounting

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Accounting.

func (*Accounting) DeepCopyInto

func (in *Accounting) DeepCopyInto(out *Accounting)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ControllerConfiguration

type ControllerConfiguration struct {
	metav1.TypeMeta `json:",inline"`

	// Accounting is the configuration for fi-ts specific accounting in the cluster.
	Accounting Accounting `json:"accounting"`

	// HealthCheckConfig is the config for the health check controller
	// +optional
	HealthCheckConfig *healthcheckconfigv1alpha1.HealthCheckConfig `json:"healthCheckConfig,omitempty"`

	// ImagePullSecret provides an opportunity to inject an image pull secret into the resource deployments
	ImagePullSecret *ImagePullSecret `json:"imagePullSecret,omitempty"`
}

ControllerConfiguration defines the configuration for the fi-ts accounting provider.

func (*ControllerConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerConfiguration.

func (*ControllerConfiguration) DeepCopyInto

func (in *ControllerConfiguration) DeepCopyInto(out *ControllerConfiguration)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ControllerConfiguration) DeepCopyObject

func (in *ControllerConfiguration) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ImagePullSecret

type ImagePullSecret struct {
	// DockerConfigJSON contains the already base64 encoded JSON content for the image pull secret
	DockerConfigJSON string `json:"encodedDockerConfigJSON"`
}

ImagePullSecret provides an opportunity to inject an image pull secret into the resource deployments

func (*ImagePullSecret) DeepCopy

func (in *ImagePullSecret) DeepCopy() *ImagePullSecret

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImagePullSecret.

func (*ImagePullSecret) DeepCopyInto

func (in *ImagePullSecret) DeepCopyInto(out *ImagePullSecret)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

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