config

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: 4 Imported by: 0

Documentation

Index

Constants

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

GroupName is the group name use in this package

Variables

View Source
var (
	// SchemeBuilder used to register the resources in this package.
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is a pointer to SchemeBuilder.AddToScheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

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 {
	OrphanedPublicIPRemedy *AzureOrphanedPublicIPRemedyConfiguration
	FailedVMRemedy         *AzureFailedVMRemedyConfiguration
}

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.
	RequeueInterval metav1.Duration
	// SyncPeriod determines the minimum frequency at which VirtualMachine resources will be reconciled.
	SyncPeriod metav1.Duration
	// NodeSyncPeriod determines the minimum frequency at which Node resources will be reconciled.
	NodeSyncPeriod metav1.Duration
	// MaxGetAttempts specifies the max attempts to get an Azure VM.
	MaxGetAttempts int
	// MaxReapplyAttempts specifies the max attempts to reapply an Azure VM.
	MaxReapplyAttempts int
}

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.
	RequeueInterval metav1.Duration
	// SyncPeriod determines the minimum frequency at which PublicIPAddress resources will be reconciled.
	SyncPeriod metav1.Duration
	// ServiceSyncPeriod determines the minimum frequency at which Service resources will be reconciled.
	ServiceSyncPeriod metav1.Duration
	// DeletionGracePeriod specifies the period after which a public ip address will be
	// deleted by the controller if it still exists.
	DeletionGracePeriod metav1.Duration
	// MaxGetAttempts specifies the max attempts to get an Azure public ip address.
	MaxGetAttempts int
	// MaxCleanAttempts specifies the max attempts to clean an Azure public ip address.
	MaxCleanAttempts int
}

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

	// ClientConnection specifies the kubeconfig file and client connection
	// settings for the proxy server to use when communicating with the apiserver.
	ClientConnection *componentbaseconfig.ClientConnectionConfiguration

	// Azure specifies the configuration for all Azure remedies.
	Azure *AzureConfiguration
}

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.

Directories

Path Synopsis
Package v1alpha1 contains the remedy controller configuration API resources.
Package v1alpha1 contains the remedy controller configuration API resources.

Jump to

Keyboard shortcuts

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