v1alpha1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

+groupName=cloudtrail.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: cloudtrail.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 Cloudtrail

type Cloudtrail struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CloudtrailSpec   `json:"spec,omitempty"`
	Status            CloudtrailStatus `json:"status,omitempty"`
}

func (*Cloudtrail) DeepCopy

func (in *Cloudtrail) DeepCopy() *Cloudtrail

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

func (*Cloudtrail) DeepCopyInto

func (in *Cloudtrail) DeepCopyInto(out *Cloudtrail)

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

func (*Cloudtrail) DeepCopyObject

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

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

func (*Cloudtrail) SetupWebhookWithManager

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

func (*Cloudtrail) ValidateCreate

func (r *Cloudtrail) ValidateCreate() error

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

func (*Cloudtrail) ValidateDelete

func (r *Cloudtrail) ValidateDelete() error

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

func (*Cloudtrail) ValidateUpdate

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

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

type CloudtrailList

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

CloudtrailList is a list of Cloudtrails

func (*CloudtrailList) DeepCopy

func (in *CloudtrailList) DeepCopy() *CloudtrailList

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

func (*CloudtrailList) DeepCopyInto

func (in *CloudtrailList) DeepCopyInto(out *CloudtrailList)

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

func (*CloudtrailList) DeepCopyObject

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

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

type CloudtrailSpec

type CloudtrailSpec struct {
	KubeformOutput *CloudtrailSpecResource `json:"kubeformOutput,omitempty" tf:"-"`

	Resource CloudtrailSpecResource `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 (*CloudtrailSpec) DeepCopy

func (in *CloudtrailSpec) DeepCopy() *CloudtrailSpec

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

func (*CloudtrailSpec) DeepCopyInto

func (in *CloudtrailSpec) DeepCopyInto(out *CloudtrailSpec)

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

type CloudtrailSpecEventSelector

type CloudtrailSpecEventSelector struct {
	// +optional
	DataResource []CloudtrailSpecEventSelectorDataResource `json:"dataResource,omitempty" tf:"data_resource"`
	// +optional
	IncludeManagementEvents *bool `json:"includeManagementEvents,omitempty" tf:"include_management_events"`
	// +optional
	ReadWriteType *string `json:"readWriteType,omitempty" tf:"read_write_type"`
}

func (*CloudtrailSpecEventSelector) DeepCopy

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

func (*CloudtrailSpecEventSelector) DeepCopyInto

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

type CloudtrailSpecEventSelectorDataResource

type CloudtrailSpecEventSelectorDataResource struct {
	Type *string `json:"type" tf:"type"`
	// +kubebuilder:validation:MaxItems=250
	Values []string `json:"values" tf:"values"`
}

func (*CloudtrailSpecEventSelectorDataResource) DeepCopy

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

func (*CloudtrailSpecEventSelectorDataResource) DeepCopyInto

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

type CloudtrailSpecInsightSelector

type CloudtrailSpecInsightSelector struct {
	InsightType *string `json:"insightType" tf:"insight_type"`
}

func (*CloudtrailSpecInsightSelector) DeepCopy

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

func (*CloudtrailSpecInsightSelector) DeepCopyInto

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

type CloudtrailSpecResource

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

	// +optional
	Arn *string `json:"arn,omitempty" tf:"arn"`
	// +optional
	CloudWatchLogsGroupArn *string `json:"cloudWatchLogsGroupArn,omitempty" tf:"cloud_watch_logs_group_arn"`
	// +optional
	CloudWatchLogsRoleArn *string `json:"cloudWatchLogsRoleArn,omitempty" tf:"cloud_watch_logs_role_arn"`
	// +optional
	EnableLogFileValidation *bool `json:"enableLogFileValidation,omitempty" tf:"enable_log_file_validation"`
	// +optional
	EnableLogging *bool `json:"enableLogging,omitempty" tf:"enable_logging"`
	// +optional
	// +kubebuilder:validation:MaxItems=5
	EventSelector []CloudtrailSpecEventSelector `json:"eventSelector,omitempty" tf:"event_selector"`
	// +optional
	HomeRegion *string `json:"homeRegion,omitempty" tf:"home_region"`
	// +optional
	IncludeGlobalServiceEvents *bool `json:"includeGlobalServiceEvents,omitempty" tf:"include_global_service_events"`
	// +optional
	InsightSelector []CloudtrailSpecInsightSelector `json:"insightSelector,omitempty" tf:"insight_selector"`
	// +optional
	IsMultiRegionTrail *bool `json:"isMultiRegionTrail,omitempty" tf:"is_multi_region_trail"`
	// +optional
	IsOrganizationTrail *bool `json:"isOrganizationTrail,omitempty" tf:"is_organization_trail"`
	// +optional
	KmsKeyID     *string `json:"kmsKeyID,omitempty" tf:"kms_key_id"`
	Name         *string `json:"name" tf:"name"`
	S3BucketName *string `json:"s3BucketName" tf:"s3_bucket_name"`
	// +optional
	S3KeyPrefix *string `json:"s3KeyPrefix,omitempty" tf:"s3_key_prefix"`
	// +optional
	SnsTopicName *string `json:"snsTopicName,omitempty" tf:"sns_topic_name"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TagsAll *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"`
}

func (*CloudtrailSpecResource) DeepCopy

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

func (*CloudtrailSpecResource) DeepCopyInto

func (in *CloudtrailSpecResource) DeepCopyInto(out *CloudtrailSpecResource)

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

type CloudtrailStatus

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

func (in *CloudtrailStatus) DeepCopy() *CloudtrailStatus

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

func (*CloudtrailStatus) DeepCopyInto

func (in *CloudtrailStatus) DeepCopyInto(out *CloudtrailStatus)

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