v1alpha1

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Overview

+groupName=mns.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: mns.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 Queue

type Queue struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              QueueSpec   `json:"spec,omitempty"`
	Status            QueueStatus `json:"status,omitempty"`
}

func (*Queue) DeepCopy

func (in *Queue) DeepCopy() *Queue

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

func (*Queue) DeepCopyInto

func (in *Queue) DeepCopyInto(out *Queue)

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

func (*Queue) DeepCopyObject

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

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

func (*Queue) SetupWebhookWithManager

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

func (*Queue) ValidateCreate

func (r *Queue) ValidateCreate() error

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

func (*Queue) ValidateDelete

func (r *Queue) ValidateDelete() error

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

func (*Queue) ValidateUpdate

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

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

type QueueList

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

QueueList is a list of Queues

func (*QueueList) DeepCopy

func (in *QueueList) DeepCopy() *QueueList

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

func (*QueueList) DeepCopyInto

func (in *QueueList) DeepCopyInto(out *QueueList)

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

func (*QueueList) DeepCopyObject

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

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

type QueueSpec

type QueueSpec struct {
	State *QueueSpecResource `json:"state,omitempty" tf:"-"`

	Resource QueueSpecResource `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 (*QueueSpec) DeepCopy

func (in *QueueSpec) DeepCopy() *QueueSpec

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

func (*QueueSpec) DeepCopyInto

func (in *QueueSpec) DeepCopyInto(out *QueueSpec)

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

type QueueSpecResource

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

	// +optional
	DelaySeconds *int64 `json:"delaySeconds,omitempty" tf:"delay_seconds"`
	// +optional
	MaximumMessageSize *int64 `json:"maximumMessageSize,omitempty" tf:"maximum_message_size"`
	// +optional
	MessageRetentionPeriod *int64  `json:"messageRetentionPeriod,omitempty" tf:"message_retention_period"`
	Name                   *string `json:"name" tf:"name"`
	// +optional
	PollingWaitSeconds *int64 `json:"pollingWaitSeconds,omitempty" tf:"polling_wait_seconds"`
	// +optional
	VisibilityTimeout *int64 `json:"visibilityTimeout,omitempty" tf:"visibility_timeout"`
}

func (*QueueSpecResource) DeepCopy

func (in *QueueSpecResource) DeepCopy() *QueueSpecResource

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

func (*QueueSpecResource) DeepCopyInto

func (in *QueueSpecResource) DeepCopyInto(out *QueueSpecResource)

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

type QueueStatus

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

func (in *QueueStatus) DeepCopy() *QueueStatus

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

func (*QueueStatus) DeepCopyInto

func (in *QueueStatus) DeepCopyInto(out *QueueStatus)

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

type Topic

type Topic struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TopicSpec   `json:"spec,omitempty"`
	Status            TopicStatus `json:"status,omitempty"`
}

func (*Topic) DeepCopy

func (in *Topic) DeepCopy() *Topic

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

func (*Topic) DeepCopyInto

func (in *Topic) DeepCopyInto(out *Topic)

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

func (*Topic) DeepCopyObject

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

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

func (*Topic) SetupWebhookWithManager

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

func (*Topic) ValidateCreate

func (r *Topic) ValidateCreate() error

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

func (*Topic) ValidateDelete

func (r *Topic) ValidateDelete() error

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

func (*Topic) ValidateUpdate

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

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

type TopicList

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

TopicList is a list of Topics

func (*TopicList) DeepCopy

func (in *TopicList) DeepCopy() *TopicList

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

func (*TopicList) DeepCopyInto

func (in *TopicList) DeepCopyInto(out *TopicList)

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

func (*TopicList) DeepCopyObject

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

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

type TopicSpec

type TopicSpec struct {
	State *TopicSpecResource `json:"state,omitempty" tf:"-"`

	Resource TopicSpecResource `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 (*TopicSpec) DeepCopy

func (in *TopicSpec) DeepCopy() *TopicSpec

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

func (*TopicSpec) DeepCopyInto

func (in *TopicSpec) DeepCopyInto(out *TopicSpec)

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

type TopicSpecResource

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

	// +optional
	LoggingEnabled *bool `json:"loggingEnabled,omitempty" tf:"logging_enabled"`
	// +optional
	MaximumMessageSize *int64  `json:"maximumMessageSize,omitempty" tf:"maximum_message_size"`
	Name               *string `json:"name" tf:"name"`
}

func (*TopicSpecResource) DeepCopy

func (in *TopicSpecResource) DeepCopy() *TopicSpecResource

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

func (*TopicSpecResource) DeepCopyInto

func (in *TopicSpecResource) DeepCopyInto(out *TopicSpecResource)

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

type TopicStatus

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

func (in *TopicStatus) DeepCopy() *TopicStatus

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

func (*TopicStatus) DeepCopyInto

func (in *TopicStatus) DeepCopyInto(out *TopicStatus)

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

type TopicSubscription

type TopicSubscription struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TopicSubscriptionSpec   `json:"spec,omitempty"`
	Status            TopicSubscriptionStatus `json:"status,omitempty"`
}

func (*TopicSubscription) DeepCopy

func (in *TopicSubscription) DeepCopy() *TopicSubscription

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

func (*TopicSubscription) DeepCopyInto

func (in *TopicSubscription) DeepCopyInto(out *TopicSubscription)

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

func (*TopicSubscription) DeepCopyObject

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

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

func (*TopicSubscription) SetupWebhookWithManager

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

func (*TopicSubscription) ValidateCreate

func (r *TopicSubscription) ValidateCreate() error

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

func (*TopicSubscription) ValidateDelete

func (r *TopicSubscription) ValidateDelete() error

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

func (*TopicSubscription) ValidateUpdate

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

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

type TopicSubscriptionList

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

TopicSubscriptionList is a list of TopicSubscriptions

func (*TopicSubscriptionList) DeepCopy

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

func (*TopicSubscriptionList) DeepCopyInto

func (in *TopicSubscriptionList) DeepCopyInto(out *TopicSubscriptionList)

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

func (*TopicSubscriptionList) DeepCopyObject

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

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

type TopicSubscriptionSpec

type TopicSubscriptionSpec struct {
	State *TopicSubscriptionSpecResource `json:"state,omitempty" tf:"-"`

	Resource TopicSubscriptionSpecResource `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 (*TopicSubscriptionSpec) DeepCopy

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

func (*TopicSubscriptionSpec) DeepCopyInto

func (in *TopicSubscriptionSpec) DeepCopyInto(out *TopicSubscriptionSpec)

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

type TopicSubscriptionSpecResource

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

	Endpoint *string `json:"endpoint" tf:"endpoint"`
	// +optional
	FilterTag *string `json:"filterTag,omitempty" tf:"filter_tag"`
	Name      *string `json:"name" tf:"name"`
	// +optional
	NotifyContentFormat *string `json:"notifyContentFormat,omitempty" tf:"notify_content_format"`
	// +optional
	NotifyStrategy *string `json:"notifyStrategy,omitempty" tf:"notify_strategy"`
	TopicName      *string `json:"topicName" tf:"topic_name"`
}

func (*TopicSubscriptionSpecResource) DeepCopy

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

func (*TopicSubscriptionSpecResource) DeepCopyInto

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

type TopicSubscriptionStatus

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

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

func (*TopicSubscriptionStatus) DeepCopyInto

func (in *TopicSubscriptionStatus) DeepCopyInto(out *TopicSubscriptionStatus)

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