Documentation ¶
Overview ¶
+groupName=shield.aws.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Protection
- func (in *Protection) DeepCopy() *Protection
- func (in *Protection) DeepCopyInto(out *Protection)
- func (in *Protection) DeepCopyObject() runtime.Object
- func (r *Protection) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Protection) ValidateCreate() error
- func (r *Protection) ValidateDelete() error
- func (r *Protection) ValidateUpdate(old runtime.Object) error
- type ProtectionList
- type ProtectionSpec
- type ProtectionSpecResource
- type ProtectionStatus
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: shield.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Protection ¶
type Protection struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ProtectionSpec `json:"spec,omitempty"` Status ProtectionStatus `json:"status,omitempty"` }
func (*Protection) DeepCopy ¶
func (in *Protection) DeepCopy() *Protection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Protection.
func (*Protection) DeepCopyInto ¶
func (in *Protection) DeepCopyInto(out *Protection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Protection) DeepCopyObject ¶
func (in *Protection) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Protection) SetupWebhookWithManager ¶
func (r *Protection) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*Protection) ValidateCreate ¶
func (r *Protection) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Protection) ValidateDelete ¶
func (r *Protection) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*Protection) ValidateUpdate ¶
func (r *Protection) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type ProtectionList ¶
type ProtectionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Protection CRD objects Items []Protection `json:"items,omitempty"` }
ProtectionList is a list of Protections
func (*ProtectionList) DeepCopy ¶
func (in *ProtectionList) DeepCopy() *ProtectionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionList.
func (*ProtectionList) DeepCopyInto ¶
func (in *ProtectionList) DeepCopyInto(out *ProtectionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProtectionList) DeepCopyObject ¶
func (in *ProtectionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProtectionSpec ¶
type ProtectionSpec struct { State *ProtectionSpecResource `json:"state,omitempty" tf:"-"` Resource ProtectionSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` }
func (*ProtectionSpec) DeepCopy ¶
func (in *ProtectionSpec) DeepCopy() *ProtectionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionSpec.
func (*ProtectionSpec) DeepCopyInto ¶
func (in *ProtectionSpec) DeepCopyInto(out *ProtectionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProtectionSpecResource ¶
type ProtectionSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional Arn *string `json:"arn,omitempty" tf:"arn"` Name *string `json:"name" tf:"name"` ResourceArn *string `json:"resourceArn" tf:"resource_arn"` // +optional Tags *map[string]string `json:"tags,omitempty" tf:"tags"` // +optional TagsAll *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"` }
func (*ProtectionSpecResource) DeepCopy ¶
func (in *ProtectionSpecResource) DeepCopy() *ProtectionSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionSpecResource.
func (*ProtectionSpecResource) DeepCopyInto ¶
func (in *ProtectionSpecResource) DeepCopyInto(out *ProtectionSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProtectionStatus ¶
type ProtectionStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*ProtectionStatus) DeepCopy ¶
func (in *ProtectionStatus) DeepCopy() *ProtectionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProtectionStatus.
func (*ProtectionStatus) DeepCopyInto ¶
func (in *ProtectionStatus) DeepCopyInto(out *ProtectionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.