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=accessanalyzer.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: accessanalyzer.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 Analyzer

type Analyzer struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AnalyzerSpec   `json:"spec,omitempty"`
	Status            AnalyzerStatus `json:"status,omitempty"`
}

func (*Analyzer) DeepCopy

func (in *Analyzer) DeepCopy() *Analyzer

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

func (*Analyzer) DeepCopyInto

func (in *Analyzer) DeepCopyInto(out *Analyzer)

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

func (*Analyzer) DeepCopyObject

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

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

func (*Analyzer) SetupWebhookWithManager

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

func (*Analyzer) ValidateCreate

func (r *Analyzer) ValidateCreate() error

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

func (*Analyzer) ValidateDelete

func (r *Analyzer) ValidateDelete() error

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

func (*Analyzer) ValidateUpdate

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

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

type AnalyzerList

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

AnalyzerList is a list of Analyzers

func (*AnalyzerList) DeepCopy

func (in *AnalyzerList) DeepCopy() *AnalyzerList

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

func (*AnalyzerList) DeepCopyInto

func (in *AnalyzerList) DeepCopyInto(out *AnalyzerList)

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

func (*AnalyzerList) DeepCopyObject

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

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

type AnalyzerSpec

type AnalyzerSpec struct {
	State *AnalyzerSpecResource `json:"state,omitempty" tf:"-"`

	Resource AnalyzerSpecResource `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 (*AnalyzerSpec) DeepCopy

func (in *AnalyzerSpec) DeepCopy() *AnalyzerSpec

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

func (*AnalyzerSpec) DeepCopyInto

func (in *AnalyzerSpec) DeepCopyInto(out *AnalyzerSpec)

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

type AnalyzerSpecResource

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

	AnalyzerName *string `json:"analyzerName" tf:"analyzer_name"`
	// +optional
	Arn *string `json:"arn,omitempty" tf:"arn"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TagsAll *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"`
	// +optional
	Type *string `json:"type,omitempty" tf:"type"`
}

func (*AnalyzerSpecResource) DeepCopy

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

func (*AnalyzerSpecResource) DeepCopyInto

func (in *AnalyzerSpecResource) DeepCopyInto(out *AnalyzerSpecResource)

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

type AnalyzerStatus

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

func (in *AnalyzerStatus) DeepCopy() *AnalyzerStatus

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

func (*AnalyzerStatus) DeepCopyInto

func (in *AnalyzerStatus) DeepCopyInto(out *AnalyzerStatus)

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