v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+groupName=shield.aws.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
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
)
View Source
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 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 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 ProtectionGroup added in v0.5.0

type ProtectionGroup struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ProtectionGroupSpec   `json:"spec,omitempty"`
	Status            ProtectionGroupStatus `json:"status,omitempty"`
}

func (*ProtectionGroup) DeepCopy added in v0.5.0

func (in *ProtectionGroup) DeepCopy() *ProtectionGroup

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

func (*ProtectionGroup) DeepCopyInto added in v0.5.0

func (in *ProtectionGroup) DeepCopyInto(out *ProtectionGroup)

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

func (*ProtectionGroup) DeepCopyObject added in v0.5.0

func (in *ProtectionGroup) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ProtectionGroup) SetupWebhookWithManager added in v0.5.0

func (r *ProtectionGroup) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ProtectionGroup) ValidateCreate added in v0.5.0

func (r *ProtectionGroup) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ProtectionGroup) ValidateDelete added in v0.5.0

func (r *ProtectionGroup) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ProtectionGroup) ValidateUpdate added in v0.5.0

func (r *ProtectionGroup) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ProtectionGroupList added in v0.5.0

type ProtectionGroupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ProtectionGroup CRD objects
	Items []ProtectionGroup `json:"items,omitempty"`
}

ProtectionGroupList is a list of ProtectionGroups

func (*ProtectionGroupList) DeepCopy added in v0.5.0

func (in *ProtectionGroupList) DeepCopy() *ProtectionGroupList

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

func (*ProtectionGroupList) DeepCopyInto added in v0.5.0

func (in *ProtectionGroupList) DeepCopyInto(out *ProtectionGroupList)

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

func (*ProtectionGroupList) DeepCopyObject added in v0.5.0

func (in *ProtectionGroupList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ProtectionGroupSpec added in v0.5.0

type ProtectionGroupSpec struct {
	State *ProtectionGroupSpecResource `json:"state,omitempty" tf:"-"`

	Resource ProtectionGroupSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*ProtectionGroupSpec) DeepCopy added in v0.5.0

func (in *ProtectionGroupSpec) DeepCopy() *ProtectionGroupSpec

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

func (*ProtectionGroupSpec) DeepCopyInto added in v0.5.0

func (in *ProtectionGroupSpec) DeepCopyInto(out *ProtectionGroupSpec)

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

type ProtectionGroupSpecResource added in v0.5.0

type ProtectionGroupSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	Aggregation *string `json:"aggregation" tf:"aggregation"`
	// +optional
	// +kubebuilder:validation:MaxItems=10000
	Members []string `json:"members,omitempty" tf:"members"`
	Pattern *string  `json:"pattern" tf:"pattern"`
	// +optional
	ProtectionGroupArn *string `json:"protectionGroupArn,omitempty" tf:"protection_group_arn"`
	ProtectionGroupID  *string `json:"protectionGroupID" tf:"protection_group_id"`
	// +optional
	ResourceType *string `json:"resourceType,omitempty" tf:"resource_type"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TagsAll *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"`
}

func (*ProtectionGroupSpecResource) DeepCopy added in v0.5.0

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

func (*ProtectionGroupSpecResource) DeepCopyInto added in v0.5.0

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

type ProtectionGroupStatus added in v0.5.0

type ProtectionGroupStatus 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 (*ProtectionGroupStatus) DeepCopy added in v0.5.0

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

func (*ProtectionGroupStatus) DeepCopyInto added in v0.5.0

func (in *ProtectionGroupStatus) DeepCopyInto(out *ProtectionGroupStatus)

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

type ProtectionHealthCheckAssociation added in v0.5.0

type ProtectionHealthCheckAssociation struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ProtectionHealthCheckAssociationSpec   `json:"spec,omitempty"`
	Status            ProtectionHealthCheckAssociationStatus `json:"status,omitempty"`
}

func (*ProtectionHealthCheckAssociation) DeepCopy added in v0.5.0

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

func (*ProtectionHealthCheckAssociation) DeepCopyInto added in v0.5.0

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

func (*ProtectionHealthCheckAssociation) DeepCopyObject added in v0.5.0

func (in *ProtectionHealthCheckAssociation) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ProtectionHealthCheckAssociation) SetupWebhookWithManager added in v0.5.0

func (r *ProtectionHealthCheckAssociation) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ProtectionHealthCheckAssociation) ValidateCreate added in v0.5.0

func (r *ProtectionHealthCheckAssociation) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ProtectionHealthCheckAssociation) ValidateDelete added in v0.5.0

func (r *ProtectionHealthCheckAssociation) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ProtectionHealthCheckAssociation) ValidateUpdate added in v0.5.0

func (r *ProtectionHealthCheckAssociation) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ProtectionHealthCheckAssociationList added in v0.5.0

type ProtectionHealthCheckAssociationList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of ProtectionHealthCheckAssociation CRD objects
	Items []ProtectionHealthCheckAssociation `json:"items,omitempty"`
}

ProtectionHealthCheckAssociationList is a list of ProtectionHealthCheckAssociations

func (*ProtectionHealthCheckAssociationList) DeepCopy added in v0.5.0

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

func (*ProtectionHealthCheckAssociationList) DeepCopyInto added in v0.5.0

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

func (*ProtectionHealthCheckAssociationList) DeepCopyObject added in v0.5.0

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ProtectionHealthCheckAssociationSpec added in v0.5.0

type ProtectionHealthCheckAssociationSpec struct {
	State *ProtectionHealthCheckAssociationSpecResource `json:"state,omitempty" tf:"-"`

	Resource ProtectionHealthCheckAssociationSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*ProtectionHealthCheckAssociationSpec) DeepCopy added in v0.5.0

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

func (*ProtectionHealthCheckAssociationSpec) DeepCopyInto added in v0.5.0

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

type ProtectionHealthCheckAssociationSpecResource added in v0.5.0

type ProtectionHealthCheckAssociationSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	HealthCheckArn     *string `json:"healthCheckArn" tf:"health_check_arn"`
	ShieldProtectionID *string `json:"shieldProtectionID" tf:"shield_protection_id"`
}

func (*ProtectionHealthCheckAssociationSpecResource) DeepCopy added in v0.5.0

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

func (*ProtectionHealthCheckAssociationSpecResource) DeepCopyInto added in v0.5.0

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

type ProtectionHealthCheckAssociationStatus added in v0.5.0

type ProtectionHealthCheckAssociationStatus 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 (*ProtectionHealthCheckAssociationStatus) DeepCopy added in v0.5.0

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

func (*ProtectionHealthCheckAssociationStatus) DeepCopyInto added in v0.5.0

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

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

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" 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

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.

Jump to

Keyboard shortcuts

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