v1alpha1

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 8 Imported by: 0

Documentation

Overview

Package v1alpha1 contains the remedy controller configuration API resources. +groupName="remedy.config.gardener.cloud"

Index

Constants

View Source
const GroupName = "remedy.config.gardener.cloud"

GroupName is the group name use in this package

Variables

View Source
var (

	// 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_AzureConfiguration_To_v1alpha1_AzureConfiguration

func Convert_config_AzureConfiguration_To_v1alpha1_AzureConfiguration(in *config.AzureConfiguration, out *AzureConfiguration, s conversion.Scope) error

Convert_config_AzureConfiguration_To_v1alpha1_AzureConfiguration is an autogenerated conversion function.

func Convert_config_AzureFailedVMRemedyConfiguration_To_v1alpha1_AzureFailedVMRemedyConfiguration

func Convert_config_AzureFailedVMRemedyConfiguration_To_v1alpha1_AzureFailedVMRemedyConfiguration(in *config.AzureFailedVMRemedyConfiguration, out *AzureFailedVMRemedyConfiguration, s conversion.Scope) error

Convert_config_AzureFailedVMRemedyConfiguration_To_v1alpha1_AzureFailedVMRemedyConfiguration is an autogenerated conversion function.

func Convert_config_AzureOrphanedPublicIPRemedyConfiguration_To_v1alpha1_AzureOrphanedPublicIPRemedyConfiguration

func Convert_config_AzureOrphanedPublicIPRemedyConfiguration_To_v1alpha1_AzureOrphanedPublicIPRemedyConfiguration(in *config.AzureOrphanedPublicIPRemedyConfiguration, out *AzureOrphanedPublicIPRemedyConfiguration, s conversion.Scope) error

Convert_config_AzureOrphanedPublicIPRemedyConfiguration_To_v1alpha1_AzureOrphanedPublicIPRemedyConfiguration 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_v1alpha1_AzureConfiguration_To_config_AzureConfiguration

func Convert_v1alpha1_AzureConfiguration_To_config_AzureConfiguration(in *AzureConfiguration, out *config.AzureConfiguration, s conversion.Scope) error

Convert_v1alpha1_AzureConfiguration_To_config_AzureConfiguration is an autogenerated conversion function.

func Convert_v1alpha1_AzureFailedVMRemedyConfiguration_To_config_AzureFailedVMRemedyConfiguration

func Convert_v1alpha1_AzureFailedVMRemedyConfiguration_To_config_AzureFailedVMRemedyConfiguration(in *AzureFailedVMRemedyConfiguration, out *config.AzureFailedVMRemedyConfiguration, s conversion.Scope) error

Convert_v1alpha1_AzureFailedVMRemedyConfiguration_To_config_AzureFailedVMRemedyConfiguration is an autogenerated conversion function.

func Convert_v1alpha1_AzureOrphanedPublicIPRemedyConfiguration_To_config_AzureOrphanedPublicIPRemedyConfiguration

func Convert_v1alpha1_AzureOrphanedPublicIPRemedyConfiguration_To_config_AzureOrphanedPublicIPRemedyConfiguration(in *AzureOrphanedPublicIPRemedyConfiguration, out *config.AzureOrphanedPublicIPRemedyConfiguration, s conversion.Scope) error

Convert_v1alpha1_AzureOrphanedPublicIPRemedyConfiguration_To_config_AzureOrphanedPublicIPRemedyConfiguration 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 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 AzureConfiguration

type AzureConfiguration struct {
	// +optional
	OrphanedPublicIPRemedy *AzureOrphanedPublicIPRemedyConfiguration `json:"orphanedPublicIPRemedy,omitempty"`
	// +optional
	FailedVMRemedy *AzureFailedVMRemedyConfiguration `json:"failedVMRemedy,omitempty"`
}

AzureConfiguration defines the configuration for the Azure remedy controller.

func (*AzureConfiguration) DeepCopy

func (in *AzureConfiguration) DeepCopy() *AzureConfiguration

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

func (*AzureConfiguration) DeepCopyInto

func (in *AzureConfiguration) DeepCopyInto(out *AzureConfiguration)

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

type AzureFailedVMRemedyConfiguration

type AzureFailedVMRemedyConfiguration struct {
	// RequeueInterval specifies the time after which VirtualMachine reconciliation requests will be
	// requeued in case of an error or a transient state.
	// +optional
	RequeueInterval metav1.Duration `json:"requeueInterval,omitempty"`
	// SyncPeriod determines the minimum frequency at which VirtualMachine resources will be reconciled.
	// +optional
	SyncPeriod metav1.Duration `json:"syncPeriod,omitempty"`
	// NodeSyncPeriod determines the minimum frequency at which Node resources will be reconciled.
	// +optional
	NodeSyncPeriod metav1.Duration `json:"nodeSyncPeriod,omitempty"`
	// MaxGetAttempts specifies the max attempts to get an Azure VM.
	// +optional
	MaxGetAttempts int `json:"maxGetAttempts,omitempty"`
	// MaxReapplyAttempts specifies the max attempts to reapply an Azure VM.
	// +optional
	MaxReapplyAttempts int `json:"maxReapplyAttempts,omitempty"`
}

AzureFailedVMRemedyConfiguration defines the configuration for the Azure failed VM remedy.

func (*AzureFailedVMRemedyConfiguration) DeepCopy

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

func (*AzureFailedVMRemedyConfiguration) DeepCopyInto

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

type AzureOrphanedPublicIPRemedyConfiguration

type AzureOrphanedPublicIPRemedyConfiguration struct {
	// RequeueInterval specifies the time after which PublicIPAddress reconciliation requests will be
	// requeued in case of an error or a transient state.
	// +optional
	RequeueInterval metav1.Duration `json:"requeueInterval,omitempty"`
	// SyncPeriod determines the minimum frequency at which PublicIPAddress resources will be reconciled.
	// +optional
	SyncPeriod metav1.Duration `json:"syncPeriod,omitempty"`
	// ServiceSyncPeriod determines the minimum frequency at which Service resources will be reconciled.
	// +optional
	ServiceSyncPeriod metav1.Duration `json:"serviceSyncPeriod,omitempty"`
	// DeletionGracePeriod specifies the period after which a public ip address will be
	// deleted by the controller if it still exists.
	// +optional
	DeletionGracePeriod metav1.Duration `json:"deletionGracePeriod,omitempty"`
	// MaxGetAttempts specifies the max attempts to get an Azure public ip address.
	// +optional
	MaxGetAttempts int `json:"maxGetAttempts,omitempty"`
	// MaxCleanAttempts specifies the max attempts to clean an Azure public ip address.
	// +optional
	MaxCleanAttempts int `json:"maxCleanAttempts,omitempty"`
}

AzureOrphanedPublicIPRemedyConfiguration defines the configuration for the Azure orphaned public IP remedy.

func (*AzureOrphanedPublicIPRemedyConfiguration) DeepCopy

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

func (*AzureOrphanedPublicIPRemedyConfiguration) DeepCopyInto

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"`

	// ClientConnection specifies the kubeconfig file and client connection
	// settings for the proxy server to use when communicating with the apiserver.
	// +optional
	ClientConnection *componentbaseconfigv1alpha1.ClientConnectionConfiguration `json:"clientConnection,omitempty"`

	// Azure specifies the configuration for all Azure remedies.
	// +optional
	Azure *AzureConfiguration `json:"azure,omitempty"`
}

ControllerConfiguration defines the configuration for the remedy controller.

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.

Jump to

Keyboard shortcuts

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