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=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 {
	State *CloudtrailSpecResource `json:"state,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:"-"`

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

type CloudtrailSpecAdvancedEventSelector struct {
	// +kubebuilder:validation:MinItems=1
	FieldSelector []CloudtrailSpecAdvancedEventSelectorFieldSelector `json:"fieldSelector" tf:"field_selector"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
}

func (*CloudtrailSpecAdvancedEventSelector) DeepCopy added in v0.5.0

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

func (*CloudtrailSpecAdvancedEventSelector) DeepCopyInto added in v0.5.0

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

type CloudtrailSpecAdvancedEventSelectorFieldSelector added in v0.5.0

type CloudtrailSpecAdvancedEventSelectorFieldSelector struct {
	// +optional
	// +kubebuilder:validation:MinItems=1
	EndsWith []string `json:"endsWith,omitempty" tf:"ends_with"`
	// +optional
	// +kubebuilder:validation:MinItems=1
	Equals []string `json:"equals,omitempty" tf:"equals"`
	Field  *string  `json:"field" tf:"field"`
	// +optional
	// +kubebuilder:validation:MinItems=1
	NotEndsWith []string `json:"notEndsWith,omitempty" tf:"not_ends_with"`
	// +optional
	// +kubebuilder:validation:MinItems=1
	NotEquals []string `json:"notEquals,omitempty" tf:"not_equals"`
	// +optional
	// +kubebuilder:validation:MinItems=1
	NotStartsWith []string `json:"notStartsWith,omitempty" tf:"not_starts_with"`
	// +optional
	// +kubebuilder:validation:MinItems=1
	StartsWith []string `json:"startsWith,omitempty" tf:"starts_with"`
}

func (*CloudtrailSpecAdvancedEventSelectorFieldSelector) DeepCopy added in v0.5.0

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

func (*CloudtrailSpecAdvancedEventSelectorFieldSelector) DeepCopyInto added in v0.5.0

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
	ExcludeManagementEventSources []string `json:"excludeManagementEventSources,omitempty" tf:"exclude_management_event_sources"`
	// +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
	AdvancedEventSelector []CloudtrailSpecAdvancedEventSelector `json:"advancedEventSelector,omitempty" tf:"advanced_event_selector"`
	// +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.

type EventDataStore added in v0.5.0

type EventDataStore struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              EventDataStoreSpec   `json:"spec,omitempty"`
	Status            EventDataStoreStatus `json:"status,omitempty"`
}

func (*EventDataStore) DeepCopy added in v0.5.0

func (in *EventDataStore) DeepCopy() *EventDataStore

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

func (*EventDataStore) DeepCopyInto added in v0.5.0

func (in *EventDataStore) DeepCopyInto(out *EventDataStore)

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

func (*EventDataStore) DeepCopyObject added in v0.5.0

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

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

func (*EventDataStore) SetupWebhookWithManager added in v0.5.0

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

func (*EventDataStore) ValidateCreate added in v0.5.0

func (r *EventDataStore) ValidateCreate() error

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

func (*EventDataStore) ValidateDelete added in v0.5.0

func (r *EventDataStore) ValidateDelete() error

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

func (*EventDataStore) ValidateUpdate added in v0.5.0

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

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

type EventDataStoreList added in v0.5.0

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

EventDataStoreList is a list of EventDataStores

func (*EventDataStoreList) DeepCopy added in v0.5.0

func (in *EventDataStoreList) DeepCopy() *EventDataStoreList

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

func (*EventDataStoreList) DeepCopyInto added in v0.5.0

func (in *EventDataStoreList) DeepCopyInto(out *EventDataStoreList)

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

func (*EventDataStoreList) DeepCopyObject added in v0.5.0

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

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

type EventDataStoreSpec added in v0.5.0

type EventDataStoreSpec struct {
	State *EventDataStoreSpecResource `json:"state,omitempty" tf:"-"`

	Resource EventDataStoreSpecResource `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 (*EventDataStoreSpec) DeepCopy added in v0.5.0

func (in *EventDataStoreSpec) DeepCopy() *EventDataStoreSpec

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

func (*EventDataStoreSpec) DeepCopyInto added in v0.5.0

func (in *EventDataStoreSpec) DeepCopyInto(out *EventDataStoreSpec)

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

type EventDataStoreSpecAdvancedEventSelector added in v0.5.0

type EventDataStoreSpecAdvancedEventSelector struct {
	// +optional
	// +kubebuilder:validation:MinItems=1
	FieldSelector []EventDataStoreSpecAdvancedEventSelectorFieldSelector `json:"fieldSelector,omitempty" tf:"field_selector"`
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
}

func (*EventDataStoreSpecAdvancedEventSelector) DeepCopy added in v0.5.0

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

func (*EventDataStoreSpecAdvancedEventSelector) DeepCopyInto added in v0.5.0

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

type EventDataStoreSpecAdvancedEventSelectorFieldSelector added in v0.5.0

type EventDataStoreSpecAdvancedEventSelectorFieldSelector struct {
	// +optional
	// +kubebuilder:validation:MinItems=1
	EndsWith []string `json:"endsWith,omitempty" tf:"ends_with"`
	// +optional
	// +kubebuilder:validation:MinItems=1
	Equals []string `json:"equals,omitempty" tf:"equals"`
	// +optional
	Field *string `json:"field,omitempty" tf:"field"`
	// +optional
	// +kubebuilder:validation:MinItems=1
	NotEndsWith []string `json:"notEndsWith,omitempty" tf:"not_ends_with"`
	// +optional
	// +kubebuilder:validation:MinItems=1
	NotEquals []string `json:"notEquals,omitempty" tf:"not_equals"`
	// +optional
	// +kubebuilder:validation:MinItems=1
	NotStartsWith []string `json:"notStartsWith,omitempty" tf:"not_starts_with"`
	// +optional
	// +kubebuilder:validation:MinItems=1
	StartsWith []string `json:"startsWith,omitempty" tf:"starts_with"`
}

func (*EventDataStoreSpecAdvancedEventSelectorFieldSelector) DeepCopy added in v0.5.0

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

func (*EventDataStoreSpecAdvancedEventSelectorFieldSelector) DeepCopyInto added in v0.5.0

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

type EventDataStoreSpecResource added in v0.5.0

type EventDataStoreSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	AdvancedEventSelector []EventDataStoreSpecAdvancedEventSelector `json:"advancedEventSelector,omitempty" tf:"advanced_event_selector"`
	// +optional
	Arn *string `json:"arn,omitempty" tf:"arn"`
	// +optional
	MultiRegionEnabled *bool   `json:"multiRegionEnabled,omitempty" tf:"multi_region_enabled"`
	Name               *string `json:"name" tf:"name"`
	// +optional
	OrganizationEnabled *bool `json:"organizationEnabled,omitempty" tf:"organization_enabled"`
	// +optional
	RetentionPeriod *int64 `json:"retentionPeriod,omitempty" tf:"retention_period"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TagsAll *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"`
	// +optional
	TerminationProtectionEnabled *bool `json:"terminationProtectionEnabled,omitempty" tf:"termination_protection_enabled"`
}

func (*EventDataStoreSpecResource) DeepCopy added in v0.5.0

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

func (*EventDataStoreSpecResource) DeepCopyInto added in v0.5.0

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

type EventDataStoreStatus added in v0.5.0

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

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

func (*EventDataStoreStatus) DeepCopyInto added in v0.5.0

func (in *EventDataStoreStatus) DeepCopyInto(out *EventDataStoreStatus)

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