Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=customize.core.cnrm.cloud.google.com
Index ¶
- Variables
- type ContainerResourceSpec
- type ControllerResource
- type ControllerResourceList
- type ControllerResourceSpec
- type ControllerResourceStatus
- type MutatingWebhookConfigurationCustomization
- func (in *MutatingWebhookConfigurationCustomization) DeepCopy() *MutatingWebhookConfigurationCustomization
- func (in *MutatingWebhookConfigurationCustomization) DeepCopyInto(out *MutatingWebhookConfigurationCustomization)
- func (in *MutatingWebhookConfigurationCustomization) DeepCopyObject() runtime.Object
- func (c *MutatingWebhookConfigurationCustomization) SetCommonStatus(s addonv1alpha1.CommonStatus)
- type MutatingWebhookConfigurationCustomizationList
- func (in *MutatingWebhookConfigurationCustomizationList) DeepCopy() *MutatingWebhookConfigurationCustomizationList
- func (in *MutatingWebhookConfigurationCustomizationList) DeepCopyInto(out *MutatingWebhookConfigurationCustomizationList)
- func (in *MutatingWebhookConfigurationCustomizationList) DeepCopyObject() runtime.Object
- type NamespacedControllerResource
- func (in *NamespacedControllerResource) DeepCopy() *NamespacedControllerResource
- func (in *NamespacedControllerResource) DeepCopyInto(out *NamespacedControllerResource)
- func (in *NamespacedControllerResource) DeepCopyObject() runtime.Object
- func (c *NamespacedControllerResource) SetCommonStatus(s addonv1alpha1.CommonStatus)
- type NamespacedControllerResourceList
- type NamespacedControllerResourceSpec
- type NamespacedControllerResourceStatus
- type ResourceRequirements
- type ValidatingWebhookConfigurationCustomization
- func (in *ValidatingWebhookConfigurationCustomization) DeepCopy() *ValidatingWebhookConfigurationCustomization
- func (in *ValidatingWebhookConfigurationCustomization) DeepCopyInto(out *ValidatingWebhookConfigurationCustomization)
- func (in *ValidatingWebhookConfigurationCustomization) DeepCopyObject() runtime.Object
- func (c *ValidatingWebhookConfigurationCustomization) SetCommonStatus(s addonv1alpha1.CommonStatus)
- type ValidatingWebhookConfigurationCustomizationList
- func (in *ValidatingWebhookConfigurationCustomizationList) DeepCopy() *ValidatingWebhookConfigurationCustomizationList
- func (in *ValidatingWebhookConfigurationCustomizationList) DeepCopyInto(out *ValidatingWebhookConfigurationCustomizationList)
- func (in *ValidatingWebhookConfigurationCustomizationList) DeepCopyObject() runtime.Object
- type WebhookConfigurationCustomizationSpec
- type WebhookConfigurationCustomizationStatus
- type WebhookCustomizationSpec
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "customize.core.cnrm.cloud.google.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme ControllerResourceGroupVersionKind = schema.GroupVersionKind{ Group: GroupVersion.Group, Version: GroupVersion.Version, Kind: "ControllerResource", } NamespacedControllerResourceGroupVersionKind = schema.GroupVersionKind{ Group: GroupVersion.Group, Version: GroupVersion.Version, Kind: "NamespacedControllerResource", } ValidatingWebhookConfigurationCustomizationGroupVersionKind = schema.GroupVersionKind{ Group: GroupVersion.Group, Version: GroupVersion.Version, Kind: "ValidatingWebhookConfigurationCustomization", } MutatingWebhookConfigurationCustomizationGroupVersionKind = schema.GroupVersionKind{ Group: GroupVersion.Group, Version: GroupVersion.Version, Kind: "MutatingWebhookConfigurationCustomization", } )
Functions ¶
This section is empty.
Types ¶
type ContainerResourceSpec ¶
type ContainerResourceSpec struct { // The name of the container whose resource requirements will be customized. // +kubebuilder:validation:Enum=manager;webhook;deletiondefender;prom-to-sd;recorder;unmanageddetector // Required Name string `json:"name"` // Resources specifies the resource customization of this container. // Required Resources ResourceRequirements `json:"resources"` }
ContainerResourceSpec is the specification of the resource customization for a container of a config connector controller.
func (*ContainerResourceSpec) DeepCopy ¶
func (in *ContainerResourceSpec) DeepCopy() *ContainerResourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerResourceSpec.
func (*ContainerResourceSpec) DeepCopyInto ¶
func (in *ContainerResourceSpec) DeepCopyInto(out *ContainerResourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControllerResource ¶
type ControllerResource struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ControllerResourceSpec `json:"spec"` Status ControllerResourceStatus `json:"status,omitempty"` }
ControllerResource is the Schema for resource customization API for config connector controllers.
func (*ControllerResource) DeepCopy ¶
func (in *ControllerResource) DeepCopy() *ControllerResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerResource.
func (*ControllerResource) DeepCopyInto ¶
func (in *ControllerResource) DeepCopyInto(out *ControllerResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ControllerResource) DeepCopyObject ¶
func (in *ControllerResource) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ControllerResource) SetCommonStatus ¶
func (c *ControllerResource) SetCommonStatus(s addonv1alpha1.CommonStatus)
type ControllerResourceList ¶
type ControllerResourceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ControllerResource `json:"items"` }
ControllerResourceList contains a list of ControllerResource
func (*ControllerResourceList) DeepCopy ¶
func (in *ControllerResourceList) DeepCopy() *ControllerResourceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerResourceList.
func (*ControllerResourceList) DeepCopyInto ¶
func (in *ControllerResourceList) DeepCopyInto(out *ControllerResourceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ControllerResourceList) DeepCopyObject ¶
func (in *ControllerResourceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ControllerResourceSpec ¶
type ControllerResourceSpec struct { // The list of containers whose resource requirements to be customized. // +optional Containers []ContainerResourceSpec `json:"containers,omitempty"` // The number of desired replicas of the config connector controller. // This field takes effect only if the controller name is "cnrm-webhook-manager". // +optional Replicas *int64 `json:"replicas,omitempty"` }
ControllerResourceSpec is the specification of the resource customization for containers of a config connector controller.
func (*ControllerResourceSpec) DeepCopy ¶
func (in *ControllerResourceSpec) DeepCopy() *ControllerResourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerResourceSpec.
func (*ControllerResourceSpec) DeepCopyInto ¶
func (in *ControllerResourceSpec) DeepCopyInto(out *ControllerResourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControllerResourceStatus ¶
type ControllerResourceStatus struct {
addonv1alpha1.CommonStatus `json:",inline"`
}
ControllerResourceStatus defines the observed state of ControllerResource.
func (*ControllerResourceStatus) DeepCopy ¶
func (in *ControllerResourceStatus) DeepCopy() *ControllerResourceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerResourceStatus.
func (*ControllerResourceStatus) DeepCopyInto ¶
func (in *ControllerResourceStatus) DeepCopyInto(out *ControllerResourceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MutatingWebhookConfigurationCustomization ¶ added in v1.109.0
type MutatingWebhookConfigurationCustomization struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec WebhookConfigurationCustomizationSpec `json:"spec"` Status WebhookConfigurationCustomizationStatus `json:"status,omitempty"` }
MutatingWebhookConfigurationCustomization is the Schema for customizing the mutating webhook configurations in config connector.
func (*MutatingWebhookConfigurationCustomization) DeepCopy ¶ added in v1.109.0
func (in *MutatingWebhookConfigurationCustomization) DeepCopy() *MutatingWebhookConfigurationCustomization
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MutatingWebhookConfigurationCustomization.
func (*MutatingWebhookConfigurationCustomization) DeepCopyInto ¶ added in v1.109.0
func (in *MutatingWebhookConfigurationCustomization) DeepCopyInto(out *MutatingWebhookConfigurationCustomization)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MutatingWebhookConfigurationCustomization) DeepCopyObject ¶ added in v1.109.0
func (in *MutatingWebhookConfigurationCustomization) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*MutatingWebhookConfigurationCustomization) SetCommonStatus ¶ added in v1.109.0
func (c *MutatingWebhookConfigurationCustomization) SetCommonStatus(s addonv1alpha1.CommonStatus)
type MutatingWebhookConfigurationCustomizationList ¶ added in v1.109.0
type MutatingWebhookConfigurationCustomizationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MutatingWebhookConfigurationCustomization `json:"items"` }
MutatingWebhookConfigurationCustomizationList contains a list of MutatingWebhookConfigurationTimeout.
func (*MutatingWebhookConfigurationCustomizationList) DeepCopy ¶ added in v1.109.0
func (in *MutatingWebhookConfigurationCustomizationList) DeepCopy() *MutatingWebhookConfigurationCustomizationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MutatingWebhookConfigurationCustomizationList.
func (*MutatingWebhookConfigurationCustomizationList) DeepCopyInto ¶ added in v1.109.0
func (in *MutatingWebhookConfigurationCustomizationList) DeepCopyInto(out *MutatingWebhookConfigurationCustomizationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MutatingWebhookConfigurationCustomizationList) DeepCopyObject ¶ added in v1.109.0
func (in *MutatingWebhookConfigurationCustomizationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NamespacedControllerResource ¶ added in v1.108.0
type NamespacedControllerResource struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec NamespacedControllerResourceSpec `json:"spec"` Status NamespacedControllerResourceStatus `json:"status,omitempty"` }
NamespacedControllerResource is the Schema for resource customization API for namespaced config connector controllers.
func (*NamespacedControllerResource) DeepCopy ¶ added in v1.108.0
func (in *NamespacedControllerResource) DeepCopy() *NamespacedControllerResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespacedControllerResource.
func (*NamespacedControllerResource) DeepCopyInto ¶ added in v1.108.0
func (in *NamespacedControllerResource) DeepCopyInto(out *NamespacedControllerResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NamespacedControllerResource) DeepCopyObject ¶ added in v1.108.0
func (in *NamespacedControllerResource) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*NamespacedControllerResource) SetCommonStatus ¶ added in v1.108.0
func (c *NamespacedControllerResource) SetCommonStatus(s addonv1alpha1.CommonStatus)
type NamespacedControllerResourceList ¶ added in v1.108.0
type NamespacedControllerResourceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []NamespacedControllerResource `json:"items"` }
NamespacedControllerResourceList contains a list of NamespacedControllerResource
func (*NamespacedControllerResourceList) DeepCopy ¶ added in v1.108.0
func (in *NamespacedControllerResourceList) DeepCopy() *NamespacedControllerResourceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespacedControllerResourceList.
func (*NamespacedControllerResourceList) DeepCopyInto ¶ added in v1.108.0
func (in *NamespacedControllerResourceList) DeepCopyInto(out *NamespacedControllerResourceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NamespacedControllerResourceList) DeepCopyObject ¶ added in v1.108.0
func (in *NamespacedControllerResourceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NamespacedControllerResourceSpec ¶ added in v1.108.0
type NamespacedControllerResourceSpec struct { // The list of containers whose resource requirements to be customized. // Required Containers []ContainerResourceSpec `json:"containers"` }
NamespacedControllerResourceSpec is the specification of the resource customization for containers of a namespaced config connector controller.
func (*NamespacedControllerResourceSpec) DeepCopy ¶ added in v1.108.0
func (in *NamespacedControllerResourceSpec) DeepCopy() *NamespacedControllerResourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespacedControllerResourceSpec.
func (*NamespacedControllerResourceSpec) DeepCopyInto ¶ added in v1.108.0
func (in *NamespacedControllerResourceSpec) DeepCopyInto(out *NamespacedControllerResourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NamespacedControllerResourceStatus ¶ added in v1.108.0
type NamespacedControllerResourceStatus struct {
addonv1alpha1.CommonStatus `json:",inline"`
}
NamespacedControllerResourceStatus defines the observed state of NamespacedControllerResource.
func (*NamespacedControllerResourceStatus) DeepCopy ¶ added in v1.108.0
func (in *NamespacedControllerResourceStatus) DeepCopy() *NamespacedControllerResourceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespacedControllerResourceStatus.
func (*NamespacedControllerResourceStatus) DeepCopyInto ¶ added in v1.108.0
func (in *NamespacedControllerResourceStatus) DeepCopyInto(out *NamespacedControllerResourceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceRequirements ¶ added in v1.113.0
type ResourceRequirements struct { // Limits describes the maximum amount of compute resources allowed. // More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ // +optional Limits corev1.ResourceList `json:"limits,omitempty" protobuf:"bytes,1,rep,name=limits,casttype=ResourceList,castkey=ResourceName"` // Requests describes the minimum amount of compute resources required. // If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, // otherwise to an implementation-defined value. Requests cannot exceed Limits. // More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ // +optional Requests corev1.ResourceList `json:"requests,omitempty" protobuf:"bytes,2,rep,name=requests,casttype=ResourceList,castkey=ResourceName"` }
ResourceRequirements describes the compute resource requirements that ContainerResourceSpec can leverage. It is a local copy of ResourceRequirements in k8s.io/api/core/v1 containing a subset of its fields.
func (*ResourceRequirements) DeepCopy ¶ added in v1.113.0
func (in *ResourceRequirements) DeepCopy() *ResourceRequirements
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRequirements.
func (*ResourceRequirements) DeepCopyInto ¶ added in v1.113.0
func (in *ResourceRequirements) DeepCopyInto(out *ResourceRequirements)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ValidatingWebhookConfigurationCustomization ¶ added in v1.109.0
type ValidatingWebhookConfigurationCustomization struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec WebhookConfigurationCustomizationSpec `json:"spec"` Status WebhookConfigurationCustomizationStatus `json:"status,omitempty"` }
ValidatingWebhookConfigurationCustomization is the Schema for customizing the validating webhook configurations in config connector.
func (*ValidatingWebhookConfigurationCustomization) DeepCopy ¶ added in v1.109.0
func (in *ValidatingWebhookConfigurationCustomization) DeepCopy() *ValidatingWebhookConfigurationCustomization
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingWebhookConfigurationCustomization.
func (*ValidatingWebhookConfigurationCustomization) DeepCopyInto ¶ added in v1.109.0
func (in *ValidatingWebhookConfigurationCustomization) DeepCopyInto(out *ValidatingWebhookConfigurationCustomization)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ValidatingWebhookConfigurationCustomization) DeepCopyObject ¶ added in v1.109.0
func (in *ValidatingWebhookConfigurationCustomization) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ValidatingWebhookConfigurationCustomization) SetCommonStatus ¶ added in v1.109.0
func (c *ValidatingWebhookConfigurationCustomization) SetCommonStatus(s addonv1alpha1.CommonStatus)
type ValidatingWebhookConfigurationCustomizationList ¶ added in v1.109.0
type ValidatingWebhookConfigurationCustomizationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ValidatingWebhookConfigurationCustomization `json:"items"` }
ValidatingWebhookConfigurationCustomizationList contains a list of ValidatingWebhookConfigurationTimeout.
func (*ValidatingWebhookConfigurationCustomizationList) DeepCopy ¶ added in v1.109.0
func (in *ValidatingWebhookConfigurationCustomizationList) DeepCopy() *ValidatingWebhookConfigurationCustomizationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidatingWebhookConfigurationCustomizationList.
func (*ValidatingWebhookConfigurationCustomizationList) DeepCopyInto ¶ added in v1.109.0
func (in *ValidatingWebhookConfigurationCustomizationList) DeepCopyInto(out *ValidatingWebhookConfigurationCustomizationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ValidatingWebhookConfigurationCustomizationList) DeepCopyObject ¶ added in v1.109.0
func (in *ValidatingWebhookConfigurationCustomizationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WebhookConfigurationCustomizationSpec ¶ added in v1.109.0
type WebhookConfigurationCustomizationSpec struct { // The list of webhooks whose configuration to be customized. // Required Webhooks []WebhookCustomizationSpec `json:"webhooks"` }
WebhookConfigurationCustomizationSpec is the specification for customizing the webhooks of a config connector webhook configuration.
func (*WebhookConfigurationCustomizationSpec) DeepCopy ¶ added in v1.109.0
func (in *WebhookConfigurationCustomizationSpec) DeepCopy() *WebhookConfigurationCustomizationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookConfigurationCustomizationSpec.
func (*WebhookConfigurationCustomizationSpec) DeepCopyInto ¶ added in v1.109.0
func (in *WebhookConfigurationCustomizationSpec) DeepCopyInto(out *WebhookConfigurationCustomizationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebhookConfigurationCustomizationStatus ¶ added in v1.109.0
type WebhookConfigurationCustomizationStatus struct {
addonv1alpha1.CommonStatus `json:",inline"`
}
WebhookConfigurationCustomizationStatus defines the observed state of ValidatingWebhookConfigurationCustomization and MutatingWebhookConfigurationCustomization.
func (*WebhookConfigurationCustomizationStatus) DeepCopy ¶ added in v1.109.0
func (in *WebhookConfigurationCustomizationStatus) DeepCopy() *WebhookConfigurationCustomizationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookConfigurationCustomizationStatus.
func (*WebhookConfigurationCustomizationStatus) DeepCopyInto ¶ added in v1.109.0
func (in *WebhookConfigurationCustomizationStatus) DeepCopyInto(out *WebhookConfigurationCustomizationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebhookCustomizationSpec ¶ added in v1.109.0
type WebhookCustomizationSpec struct { // The name of the webhook. Do not include the `.cnrm.cloud.google.com` suffix. // +kubebuilder:validation:Enum=abandon-on-uninstall;deny-immutable-field-updates;deny-unknown-fields;iam-validation;resource-validation;container-annotation-handler;generic-defaulter;iam-defaulter;management-conflict-annotation-defaulter // Required Name string `json:"name"` // TimeoutSeconds customizes the timeout of the webhook. // The timeout value must be between 1 and 30 seconds. // The default timeout in Kubernetes is 10 seconds. // +kubebuilder:validation:Minimum=1 // +kubebuilder:validation:Maximum=30 // Required TimeoutSeconds *int32 `json:"timeoutSeconds,omitempty"` }
WebhookCustomizationSpec is the specification for customizing for a specific webhook in config connector.
func (*WebhookCustomizationSpec) DeepCopy ¶ added in v1.109.0
func (in *WebhookCustomizationSpec) DeepCopy() *WebhookCustomizationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookCustomizationSpec.
func (*WebhookCustomizationSpec) DeepCopyInto ¶ added in v1.109.0
func (in *WebhookCustomizationSpec) DeepCopyInto(out *WebhookCustomizationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.