Documentation ¶
Index ¶
Constants ¶
const GroupName = "remedy.config.gardener.cloud"
GroupName is the group name use in this package
Variables ¶
var ( // SchemeBuilder used to register the resources in this package. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a pointer to SchemeBuilder.AddToScheme. AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
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 reconciliation requests will be // requeued. Applies to both creation/update and deletion. RequeueInterval 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 ¶
func (in *AzureFailedVMRemedyConfiguration) DeepCopy() *AzureFailedVMRemedyConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureFailedVMRemedyConfiguration.
func (*AzureFailedVMRemedyConfiguration) DeepCopyInto ¶
func (in *AzureFailedVMRemedyConfiguration) DeepCopyInto(out *AzureFailedVMRemedyConfiguration)
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 reconciliation requests will be // requeued. Applies to both creation/update and deletion. RequeueInterval 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 // BlacklistedServiceLabels spcifies the labels of services that will be ignored. BlacklistedServiceLabels []map[string]string }
AzureOrphanedPublicIPRemedyConfiguration defines the configuration for the Azure orphaned public IP remedy.
func (*AzureOrphanedPublicIPRemedyConfiguration) DeepCopy ¶
func (in *AzureOrphanedPublicIPRemedyConfiguration) DeepCopy() *AzureOrphanedPublicIPRemedyConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureOrphanedPublicIPRemedyConfiguration.
func (*AzureOrphanedPublicIPRemedyConfiguration) DeepCopyInto ¶
func (in *AzureOrphanedPublicIPRemedyConfiguration) DeepCopyInto(out *AzureOrphanedPublicIPRemedyConfiguration)
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 ¶
func (in *ControllerConfiguration) DeepCopy() *ControllerConfiguration
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.