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

Documentation

Overview

+groupName=fms.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: fms.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 AdminAccount

type AdminAccount struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AdminAccountSpec   `json:"spec,omitempty"`
	Status            AdminAccountStatus `json:"status,omitempty"`
}

func (*AdminAccount) DeepCopy

func (in *AdminAccount) DeepCopy() *AdminAccount

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

func (*AdminAccount) DeepCopyInto

func (in *AdminAccount) DeepCopyInto(out *AdminAccount)

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

func (*AdminAccount) DeepCopyObject

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

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

func (*AdminAccount) SetupWebhookWithManager

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

func (*AdminAccount) ValidateCreate

func (r *AdminAccount) ValidateCreate() error

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

func (*AdminAccount) ValidateDelete

func (r *AdminAccount) ValidateDelete() error

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

func (*AdminAccount) ValidateUpdate

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

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

type AdminAccountList

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

AdminAccountList is a list of AdminAccounts

func (*AdminAccountList) DeepCopy

func (in *AdminAccountList) DeepCopy() *AdminAccountList

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

func (*AdminAccountList) DeepCopyInto

func (in *AdminAccountList) DeepCopyInto(out *AdminAccountList)

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

func (*AdminAccountList) DeepCopyObject

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

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

type AdminAccountSpec

type AdminAccountSpec struct {
	State *AdminAccountSpecResource `json:"state,omitempty" tf:"-"`

	Resource AdminAccountSpecResource `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 (*AdminAccountSpec) DeepCopy

func (in *AdminAccountSpec) DeepCopy() *AdminAccountSpec

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

func (*AdminAccountSpec) DeepCopyInto

func (in *AdminAccountSpec) DeepCopyInto(out *AdminAccountSpec)

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

type AdminAccountSpecResource

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

	// +optional
	AccountID *string `json:"accountID,omitempty" tf:"account_id"`
}

func (*AdminAccountSpecResource) DeepCopy

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

func (*AdminAccountSpecResource) DeepCopyInto

func (in *AdminAccountSpecResource) DeepCopyInto(out *AdminAccountSpecResource)

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

type AdminAccountStatus

type AdminAccountStatus 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 (*AdminAccountStatus) DeepCopy

func (in *AdminAccountStatus) DeepCopy() *AdminAccountStatus

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

func (*AdminAccountStatus) DeepCopyInto

func (in *AdminAccountStatus) DeepCopyInto(out *AdminAccountStatus)

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

type Policy

type Policy struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PolicySpec   `json:"spec,omitempty"`
	Status            PolicyStatus `json:"status,omitempty"`
}

func (*Policy) DeepCopy

func (in *Policy) DeepCopy() *Policy

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

func (*Policy) DeepCopyInto

func (in *Policy) DeepCopyInto(out *Policy)

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

func (*Policy) DeepCopyObject

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

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

func (*Policy) SetupWebhookWithManager

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

func (*Policy) ValidateCreate

func (r *Policy) ValidateCreate() error

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

func (*Policy) ValidateDelete

func (r *Policy) ValidateDelete() error

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

func (*Policy) ValidateUpdate

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

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

type PolicyList

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

PolicyList is a list of Policys

func (*PolicyList) DeepCopy

func (in *PolicyList) DeepCopy() *PolicyList

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

func (*PolicyList) DeepCopyInto

func (in *PolicyList) DeepCopyInto(out *PolicyList)

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

func (*PolicyList) DeepCopyObject

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

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

type PolicySpec

type PolicySpec struct {
	State *PolicySpecResource `json:"state,omitempty" tf:"-"`

	Resource PolicySpecResource `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 (*PolicySpec) DeepCopy

func (in *PolicySpec) DeepCopy() *PolicySpec

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

func (*PolicySpec) DeepCopyInto

func (in *PolicySpec) DeepCopyInto(out *PolicySpec)

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

type PolicySpecExcludeMap

type PolicySpecExcludeMap struct {
	// +optional
	Account []string `json:"account,omitempty" tf:"account"`
	// +optional
	Orgunit []string `json:"orgunit,omitempty" tf:"orgunit"`
}

func (*PolicySpecExcludeMap) DeepCopy

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

func (*PolicySpecExcludeMap) DeepCopyInto

func (in *PolicySpecExcludeMap) DeepCopyInto(out *PolicySpecExcludeMap)

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

type PolicySpecExcludeMapCodec

type PolicySpecExcludeMapCodec struct {
}

+k8s:deepcopy-gen=false

func (PolicySpecExcludeMapCodec) Decode

func (PolicySpecExcludeMapCodec) Encode

func (PolicySpecExcludeMapCodec) IsEmpty

type PolicySpecIncludeMap

type PolicySpecIncludeMap struct {
	// +optional
	Account []string `json:"account,omitempty" tf:"account"`
	// +optional
	Orgunit []string `json:"orgunit,omitempty" tf:"orgunit"`
}

func (*PolicySpecIncludeMap) DeepCopy

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

func (*PolicySpecIncludeMap) DeepCopyInto

func (in *PolicySpecIncludeMap) DeepCopyInto(out *PolicySpecIncludeMap)

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

type PolicySpecIncludeMapCodec

type PolicySpecIncludeMapCodec struct {
}

+k8s:deepcopy-gen=false

func (PolicySpecIncludeMapCodec) Decode

func (PolicySpecIncludeMapCodec) Encode

func (PolicySpecIncludeMapCodec) IsEmpty

type PolicySpecResource

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

	// +optional
	Arn *string `json:"arn,omitempty" tf:"arn"`
	// +optional
	DeleteAllPolicyResources *bool `json:"deleteAllPolicyResources,omitempty" tf:"delete_all_policy_resources"`
	// +optional
	DeleteUnusedFmManagedResources *bool `json:"deleteUnusedFmManagedResources,omitempty" tf:"delete_unused_fm_managed_resources"`
	// +optional
	ExcludeMap          *PolicySpecExcludeMap `json:"excludeMap,omitempty" tf:"exclude_map"`
	ExcludeResourceTags *bool                 `json:"excludeResourceTags" tf:"exclude_resource_tags"`
	// +optional
	IncludeMap *PolicySpecIncludeMap `json:"includeMap,omitempty" tf:"include_map"`
	Name       *string               `json:"name" tf:"name"`
	// +optional
	PolicyUpdateToken *string `json:"policyUpdateToken,omitempty" tf:"policy_update_token"`
	// +optional
	RemediationEnabled *bool `json:"remediationEnabled,omitempty" tf:"remediation_enabled"`
	// +optional
	ResourceTags *map[string]string `json:"resourceTags,omitempty" tf:"resource_tags"`
	// +optional
	ResourceType *string `json:"resourceType,omitempty" tf:"resource_type"`
	// +optional
	ResourceTypeList          []string                             `json:"resourceTypeList,omitempty" tf:"resource_type_list"`
	SecurityServicePolicyData *PolicySpecSecurityServicePolicyData `json:"securityServicePolicyData" tf:"security_service_policy_data"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TagsAll *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"`
}

func (*PolicySpecResource) DeepCopy

func (in *PolicySpecResource) DeepCopy() *PolicySpecResource

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

func (*PolicySpecResource) DeepCopyInto

func (in *PolicySpecResource) DeepCopyInto(out *PolicySpecResource)

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

type PolicySpecSecurityServicePolicyData

type PolicySpecSecurityServicePolicyData struct {
	// +optional
	ManagedServiceData *string `json:"managedServiceData,omitempty" tf:"managed_service_data"`
	Type               *string `json:"type" tf:"type"`
}

func (*PolicySpecSecurityServicePolicyData) DeepCopy

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

func (*PolicySpecSecurityServicePolicyData) DeepCopyInto

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

type PolicySpecSecurityServicePolicyDataCodec

type PolicySpecSecurityServicePolicyDataCodec struct {
}

+k8s:deepcopy-gen=false

func (PolicySpecSecurityServicePolicyDataCodec) Decode

func (PolicySpecSecurityServicePolicyDataCodec) Encode

func (PolicySpecSecurityServicePolicyDataCodec) IsEmpty

type PolicyStatus

type PolicyStatus 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 (*PolicyStatus) DeepCopy

func (in *PolicyStatus) DeepCopy() *PolicyStatus

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

func (*PolicyStatus) DeepCopyInto

func (in *PolicyStatus) DeepCopyInto(out *PolicyStatus)

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