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=inspector.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: inspector.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 AssessmentTarget

type AssessmentTarget struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AssessmentTargetSpec   `json:"spec,omitempty"`
	Status            AssessmentTargetStatus `json:"status,omitempty"`
}

func (*AssessmentTarget) DeepCopy

func (in *AssessmentTarget) DeepCopy() *AssessmentTarget

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

func (*AssessmentTarget) DeepCopyInto

func (in *AssessmentTarget) DeepCopyInto(out *AssessmentTarget)

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

func (*AssessmentTarget) DeepCopyObject

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

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

func (*AssessmentTarget) SetupWebhookWithManager

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

func (*AssessmentTarget) ValidateCreate

func (r *AssessmentTarget) ValidateCreate() error

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

func (*AssessmentTarget) ValidateDelete

func (r *AssessmentTarget) ValidateDelete() error

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

func (*AssessmentTarget) ValidateUpdate

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

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

type AssessmentTargetList

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

AssessmentTargetList is a list of AssessmentTargets

func (*AssessmentTargetList) DeepCopy

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

func (*AssessmentTargetList) DeepCopyInto

func (in *AssessmentTargetList) DeepCopyInto(out *AssessmentTargetList)

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

func (*AssessmentTargetList) DeepCopyObject

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

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

type AssessmentTargetSpec

type AssessmentTargetSpec struct {
	State *AssessmentTargetSpecResource `json:"state,omitempty" tf:"-"`

	Resource AssessmentTargetSpecResource `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 (*AssessmentTargetSpec) DeepCopy

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

func (*AssessmentTargetSpec) DeepCopyInto

func (in *AssessmentTargetSpec) DeepCopyInto(out *AssessmentTargetSpec)

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

type AssessmentTargetSpecResource

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

	// +optional
	Arn  *string `json:"arn,omitempty" tf:"arn"`
	Name *string `json:"name" tf:"name"`
	// +optional
	ResourceGroupArn *string `json:"resourceGroupArn,omitempty" tf:"resource_group_arn"`
}

func (*AssessmentTargetSpecResource) DeepCopy

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

func (*AssessmentTargetSpecResource) DeepCopyInto

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

type AssessmentTargetStatus

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

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

func (*AssessmentTargetStatus) DeepCopyInto

func (in *AssessmentTargetStatus) DeepCopyInto(out *AssessmentTargetStatus)

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

type AssessmentTemplate

type AssessmentTemplate struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AssessmentTemplateSpec   `json:"spec,omitempty"`
	Status            AssessmentTemplateStatus `json:"status,omitempty"`
}

func (*AssessmentTemplate) DeepCopy

func (in *AssessmentTemplate) DeepCopy() *AssessmentTemplate

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

func (*AssessmentTemplate) DeepCopyInto

func (in *AssessmentTemplate) DeepCopyInto(out *AssessmentTemplate)

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

func (*AssessmentTemplate) DeepCopyObject

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

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

func (*AssessmentTemplate) SetupWebhookWithManager

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

func (*AssessmentTemplate) ValidateCreate

func (r *AssessmentTemplate) ValidateCreate() error

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

func (*AssessmentTemplate) ValidateDelete

func (r *AssessmentTemplate) ValidateDelete() error

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

func (*AssessmentTemplate) ValidateUpdate

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

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

type AssessmentTemplateList

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

AssessmentTemplateList is a list of AssessmentTemplates

func (*AssessmentTemplateList) DeepCopy

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

func (*AssessmentTemplateList) DeepCopyInto

func (in *AssessmentTemplateList) DeepCopyInto(out *AssessmentTemplateList)

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

func (*AssessmentTemplateList) DeepCopyObject

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

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

type AssessmentTemplateSpec

type AssessmentTemplateSpec struct {
	State *AssessmentTemplateSpecResource `json:"state,omitempty" tf:"-"`

	Resource AssessmentTemplateSpecResource `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 (*AssessmentTemplateSpec) DeepCopy

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

func (*AssessmentTemplateSpec) DeepCopyInto

func (in *AssessmentTemplateSpec) DeepCopyInto(out *AssessmentTemplateSpec)

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

type AssessmentTemplateSpecResource

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

	// +optional
	Arn              *string  `json:"arn,omitempty" tf:"arn"`
	Duration         *int64   `json:"duration" tf:"duration"`
	Name             *string  `json:"name" tf:"name"`
	RulesPackageArns []string `json:"rulesPackageArns" tf:"rules_package_arns"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TagsAll   *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"`
	TargetArn *string            `json:"targetArn" tf:"target_arn"`
}

func (*AssessmentTemplateSpecResource) DeepCopy

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

func (*AssessmentTemplateSpecResource) DeepCopyInto

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

type AssessmentTemplateStatus

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

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

func (*AssessmentTemplateStatus) DeepCopyInto

func (in *AssessmentTemplateStatus) DeepCopyInto(out *AssessmentTemplateStatus)

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

type ResourceGroup

type ResourceGroup struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ResourceGroupSpec   `json:"spec,omitempty"`
	Status            ResourceGroupStatus `json:"status,omitempty"`
}

func (*ResourceGroup) DeepCopy

func (in *ResourceGroup) DeepCopy() *ResourceGroup

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

func (*ResourceGroup) DeepCopyInto

func (in *ResourceGroup) DeepCopyInto(out *ResourceGroup)

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

func (*ResourceGroup) DeepCopyObject

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

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

func (*ResourceGroup) SetupWebhookWithManager

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

func (*ResourceGroup) ValidateCreate

func (r *ResourceGroup) ValidateCreate() error

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

func (*ResourceGroup) ValidateDelete

func (r *ResourceGroup) ValidateDelete() error

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

func (*ResourceGroup) ValidateUpdate

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

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

type ResourceGroupList

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

ResourceGroupList is a list of ResourceGroups

func (*ResourceGroupList) DeepCopy

func (in *ResourceGroupList) DeepCopy() *ResourceGroupList

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

func (*ResourceGroupList) DeepCopyInto

func (in *ResourceGroupList) DeepCopyInto(out *ResourceGroupList)

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

func (*ResourceGroupList) DeepCopyObject

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

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

type ResourceGroupSpec

type ResourceGroupSpec struct {
	State *ResourceGroupSpecResource `json:"state,omitempty" tf:"-"`

	Resource ResourceGroupSpecResource `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 (*ResourceGroupSpec) DeepCopy

func (in *ResourceGroupSpec) DeepCopy() *ResourceGroupSpec

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

func (*ResourceGroupSpec) DeepCopyInto

func (in *ResourceGroupSpec) DeepCopyInto(out *ResourceGroupSpec)

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

type ResourceGroupSpecResource

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

	// +optional
	Arn  *string            `json:"arn,omitempty" tf:"arn"`
	Tags *map[string]string `json:"tags" tf:"tags"`
}

func (*ResourceGroupSpecResource) DeepCopy

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

func (*ResourceGroupSpecResource) DeepCopyInto

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

type ResourceGroupStatus

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

func (in *ResourceGroupStatus) DeepCopy() *ResourceGroupStatus

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

func (*ResourceGroupStatus) DeepCopyInto

func (in *ResourceGroupStatus) DeepCopyInto(out *ResourceGroupStatus)

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