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: 2

Documentation

Overview

+groupName=actiontrail.alicloud.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: actiontrail.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 Actiontrail

type Actiontrail struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ActiontrailSpec   `json:"spec,omitempty"`
	Status            ActiontrailStatus `json:"status,omitempty"`
}

func (*Actiontrail) DeepCopy

func (in *Actiontrail) DeepCopy() *Actiontrail

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

func (*Actiontrail) DeepCopyInto

func (in *Actiontrail) DeepCopyInto(out *Actiontrail)

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

func (*Actiontrail) DeepCopyObject

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

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

func (*Actiontrail) SetupWebhookWithManager

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

func (*Actiontrail) ValidateCreate

func (r *Actiontrail) ValidateCreate() error

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

func (*Actiontrail) ValidateDelete

func (r *Actiontrail) ValidateDelete() error

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

func (*Actiontrail) ValidateUpdate

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

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

type ActiontrailList

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

ActiontrailList is a list of Actiontrails

func (*ActiontrailList) DeepCopy

func (in *ActiontrailList) DeepCopy() *ActiontrailList

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

func (*ActiontrailList) DeepCopyInto

func (in *ActiontrailList) DeepCopyInto(out *ActiontrailList)

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

func (*ActiontrailList) DeepCopyObject

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

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

type ActiontrailSpec

type ActiontrailSpec struct {
	State *ActiontrailSpecResource `json:"state,omitempty" tf:"-"`

	Resource ActiontrailSpecResource `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 (*ActiontrailSpec) DeepCopy

func (in *ActiontrailSpec) DeepCopy() *ActiontrailSpec

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

func (*ActiontrailSpec) DeepCopyInto

func (in *ActiontrailSpec) DeepCopyInto(out *ActiontrailSpec)

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

type ActiontrailSpecResource

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

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

	// +optional
	EventRw *string `json:"eventRw,omitempty" tf:"event_rw"`
	// +optional
	IsOrganizationTrail *bool `json:"isOrganizationTrail,omitempty" tf:"is_organization_trail"`
	// +optional
	// Deprecated
	MnsTopicArn *string `json:"mnsTopicArn,omitempty" tf:"mns_topic_arn"`
	// +optional
	// Deprecated
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	OssBucketName *string `json:"ossBucketName,omitempty" tf:"oss_bucket_name"`
	// +optional
	OssKeyPrefix *string `json:"ossKeyPrefix,omitempty" tf:"oss_key_prefix"`
	// +optional
	OssWriteRoleArn *string `json:"ossWriteRoleArn,omitempty" tf:"oss_write_role_arn"`
	// +optional
	// Deprecated
	RoleName *string `json:"roleName,omitempty" tf:"role_name"`
	// +optional
	SlsProjectArn *string `json:"slsProjectArn,omitempty" tf:"sls_project_arn"`
	// +optional
	SlsWriteRoleArn *string `json:"slsWriteRoleArn,omitempty" tf:"sls_write_role_arn"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	TrailName *string `json:"trailName,omitempty" tf:"trail_name"`
	// +optional
	TrailRegion *string `json:"trailRegion,omitempty" tf:"trail_region"`
}

func (*ActiontrailSpecResource) DeepCopy

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

func (*ActiontrailSpecResource) DeepCopyInto

func (in *ActiontrailSpecResource) DeepCopyInto(out *ActiontrailSpecResource)

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

type ActiontrailStatus

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

func (in *ActiontrailStatus) DeepCopy() *ActiontrailStatus

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

func (*ActiontrailStatus) DeepCopyInto

func (in *ActiontrailStatus) DeepCopyInto(out *ActiontrailStatus)

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

type HistoryDeliveryJob added in v0.4.0

type HistoryDeliveryJob struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              HistoryDeliveryJobSpec   `json:"spec,omitempty"`
	Status            HistoryDeliveryJobStatus `json:"status,omitempty"`
}

func (*HistoryDeliveryJob) DeepCopy added in v0.4.0

func (in *HistoryDeliveryJob) DeepCopy() *HistoryDeliveryJob

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

func (*HistoryDeliveryJob) DeepCopyInto added in v0.4.0

func (in *HistoryDeliveryJob) DeepCopyInto(out *HistoryDeliveryJob)

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

func (*HistoryDeliveryJob) DeepCopyObject added in v0.4.0

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

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

func (*HistoryDeliveryJob) SetupWebhookWithManager added in v0.4.0

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

func (*HistoryDeliveryJob) ValidateCreate added in v0.4.0

func (r *HistoryDeliveryJob) ValidateCreate() error

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

func (*HistoryDeliveryJob) ValidateDelete added in v0.4.0

func (r *HistoryDeliveryJob) ValidateDelete() error

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

func (*HistoryDeliveryJob) ValidateUpdate added in v0.4.0

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

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

type HistoryDeliveryJobList added in v0.4.0

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

HistoryDeliveryJobList is a list of HistoryDeliveryJobs

func (*HistoryDeliveryJobList) DeepCopy added in v0.4.0

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

func (*HistoryDeliveryJobList) DeepCopyInto added in v0.4.0

func (in *HistoryDeliveryJobList) DeepCopyInto(out *HistoryDeliveryJobList)

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

func (*HistoryDeliveryJobList) DeepCopyObject added in v0.4.0

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

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

type HistoryDeliveryJobSpec added in v0.4.0

type HistoryDeliveryJobSpec struct {
	State *HistoryDeliveryJobSpecResource `json:"state,omitempty" tf:"-"`

	Resource HistoryDeliveryJobSpecResource `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 (*HistoryDeliveryJobSpec) DeepCopy added in v0.4.0

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

func (*HistoryDeliveryJobSpec) DeepCopyInto added in v0.4.0

func (in *HistoryDeliveryJobSpec) DeepCopyInto(out *HistoryDeliveryJobSpec)

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

type HistoryDeliveryJobSpecResource added in v0.4.0

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

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

	// +optional
	Status    *int64  `json:"status,omitempty" tf:"status"`
	TrailName *string `json:"trailName" tf:"trail_name"`
}

func (*HistoryDeliveryJobSpecResource) DeepCopy added in v0.4.0

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

func (*HistoryDeliveryJobSpecResource) DeepCopyInto added in v0.4.0

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

type HistoryDeliveryJobStatus added in v0.4.0

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

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

func (*HistoryDeliveryJobStatus) DeepCopyInto added in v0.4.0

func (in *HistoryDeliveryJobStatus) DeepCopyInto(out *HistoryDeliveryJobStatus)

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

type Trail

type Trail struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TrailSpec   `json:"spec,omitempty"`
	Status            TrailStatus `json:"status,omitempty"`
}

func (*Trail) DeepCopy

func (in *Trail) DeepCopy() *Trail

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

func (*Trail) DeepCopyInto

func (in *Trail) DeepCopyInto(out *Trail)

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

func (*Trail) DeepCopyObject

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

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

func (*Trail) SetupWebhookWithManager

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

func (*Trail) ValidateCreate

func (r *Trail) ValidateCreate() error

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

func (*Trail) ValidateDelete

func (r *Trail) ValidateDelete() error

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

func (*Trail) ValidateUpdate

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

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

type TrailList

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

TrailList is a list of Trails

func (*TrailList) DeepCopy

func (in *TrailList) DeepCopy() *TrailList

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

func (*TrailList) DeepCopyInto

func (in *TrailList) DeepCopyInto(out *TrailList)

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

func (*TrailList) DeepCopyObject

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

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

type TrailSpec

type TrailSpec struct {
	State *TrailSpecResource `json:"state,omitempty" tf:"-"`

	Resource TrailSpecResource `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 (*TrailSpec) DeepCopy

func (in *TrailSpec) DeepCopy() *TrailSpec

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

func (*TrailSpec) DeepCopyInto

func (in *TrailSpec) DeepCopyInto(out *TrailSpec)

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

type TrailSpecResource

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

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

	// +optional
	EventRw *string `json:"eventRw,omitempty" tf:"event_rw"`
	// +optional
	IsOrganizationTrail *bool `json:"isOrganizationTrail,omitempty" tf:"is_organization_trail"`
	// +optional
	// Deprecated
	MnsTopicArn *string `json:"mnsTopicArn,omitempty" tf:"mns_topic_arn"`
	// +optional
	// Deprecated
	Name *string `json:"name,omitempty" tf:"name"`
	// +optional
	OssBucketName *string `json:"ossBucketName,omitempty" tf:"oss_bucket_name"`
	// +optional
	OssKeyPrefix *string `json:"ossKeyPrefix,omitempty" tf:"oss_key_prefix"`
	// +optional
	OssWriteRoleArn *string `json:"ossWriteRoleArn,omitempty" tf:"oss_write_role_arn"`
	// +optional
	// Deprecated
	RoleName *string `json:"roleName,omitempty" tf:"role_name"`
	// +optional
	SlsProjectArn *string `json:"slsProjectArn,omitempty" tf:"sls_project_arn"`
	// +optional
	SlsWriteRoleArn *string `json:"slsWriteRoleArn,omitempty" tf:"sls_write_role_arn"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	TrailName *string `json:"trailName,omitempty" tf:"trail_name"`
	// +optional
	TrailRegion *string `json:"trailRegion,omitempty" tf:"trail_region"`
}

func (*TrailSpecResource) DeepCopy

func (in *TrailSpecResource) DeepCopy() *TrailSpecResource

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

func (*TrailSpecResource) DeepCopyInto

func (in *TrailSpecResource) DeepCopyInto(out *TrailSpecResource)

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

type TrailStatus

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

func (in *TrailStatus) DeepCopy() *TrailStatus

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

func (*TrailStatus) DeepCopyInto

func (in *TrailStatus) DeepCopyInto(out *TrailStatus)

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