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: 16 Imported by: 0

Documentation

Overview

+groupName=mq.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: mq.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 Broker

type Broker struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              BrokerSpec   `json:"spec,omitempty"`
	Status            BrokerStatus `json:"status,omitempty"`
}

func (*Broker) DeepCopy

func (in *Broker) DeepCopy() *Broker

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

func (*Broker) DeepCopyInto

func (in *Broker) DeepCopyInto(out *Broker)

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

func (*Broker) DeepCopyObject

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

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

func (*Broker) SetupWebhookWithManager

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

func (*Broker) ValidateCreate

func (r *Broker) ValidateCreate() error

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

func (*Broker) ValidateDelete

func (r *Broker) ValidateDelete() error

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

func (*Broker) ValidateUpdate

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

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

type BrokerList

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

BrokerList is a list of Brokers

func (*BrokerList) DeepCopy

func (in *BrokerList) DeepCopy() *BrokerList

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

func (*BrokerList) DeepCopyInto

func (in *BrokerList) DeepCopyInto(out *BrokerList)

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

func (*BrokerList) DeepCopyObject

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

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

type BrokerSpec

type BrokerSpec struct {
	State *BrokerSpecResource `json:"state,omitempty" tf:"-"`

	Resource BrokerSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*BrokerSpec) DeepCopy

func (in *BrokerSpec) DeepCopy() *BrokerSpec

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

func (*BrokerSpec) DeepCopyInto

func (in *BrokerSpec) DeepCopyInto(out *BrokerSpec)

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

type BrokerSpecConfiguration

type BrokerSpecConfiguration struct {
	// +optional
	ID *string `json:"ID,omitempty" tf:"id"`
	// +optional
	Revision *int64 `json:"revision,omitempty" tf:"revision"`
}

func (*BrokerSpecConfiguration) DeepCopy

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

func (*BrokerSpecConfiguration) DeepCopyInto

func (in *BrokerSpecConfiguration) DeepCopyInto(out *BrokerSpecConfiguration)

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

type BrokerSpecConfigurationCodec

type BrokerSpecConfigurationCodec struct {
}

+k8s:deepcopy-gen=false

func (BrokerSpecConfigurationCodec) Decode

func (BrokerSpecConfigurationCodec) Encode

func (BrokerSpecConfigurationCodec) IsEmpty

type BrokerSpecEncryptionOptions

type BrokerSpecEncryptionOptions struct {
	// +optional
	KmsKeyID *string `json:"kmsKeyID,omitempty" tf:"kms_key_id"`
	// +optional
	UseAwsOwnedKey *bool `json:"useAwsOwnedKey,omitempty" tf:"use_aws_owned_key"`
}

func (*BrokerSpecEncryptionOptions) DeepCopy

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

func (*BrokerSpecEncryptionOptions) DeepCopyInto

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

type BrokerSpecEncryptionOptionsCodec

type BrokerSpecEncryptionOptionsCodec struct {
}

+k8s:deepcopy-gen=false

func (BrokerSpecEncryptionOptionsCodec) Decode

func (BrokerSpecEncryptionOptionsCodec) Encode

func (BrokerSpecEncryptionOptionsCodec) IsEmpty

type BrokerSpecInstances

type BrokerSpecInstances struct {
	// +optional
	ConsoleURL *string `json:"consoleURL,omitempty" tf:"console_url"`
	// +optional
	Endpoints []string `json:"endpoints,omitempty" tf:"endpoints"`
	// +optional
	IpAddress *string `json:"ipAddress,omitempty" tf:"ip_address"`
}

func (*BrokerSpecInstances) DeepCopy

func (in *BrokerSpecInstances) DeepCopy() *BrokerSpecInstances

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

func (*BrokerSpecInstances) DeepCopyInto

func (in *BrokerSpecInstances) DeepCopyInto(out *BrokerSpecInstances)

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

type BrokerSpecLdapServerMetadata

type BrokerSpecLdapServerMetadata struct {
	// +optional
	Hosts []string `json:"hosts,omitempty" tf:"hosts"`
	// +optional
	RoleBase *string `json:"roleBase,omitempty" tf:"role_base"`
	// +optional
	RoleName *string `json:"roleName,omitempty" tf:"role_name"`
	// +optional
	RoleSearchMatching *string `json:"roleSearchMatching,omitempty" tf:"role_search_matching"`
	// +optional
	RoleSearchSubtree *bool `json:"roleSearchSubtree,omitempty" tf:"role_search_subtree"`
	// +optional
	ServiceAccountPassword *string `json:"-" sensitive:"true" tf:"service_account_password"`
	// +optional
	ServiceAccountUsername *string `json:"serviceAccountUsername,omitempty" tf:"service_account_username"`
	// +optional
	UserBase *string `json:"userBase,omitempty" tf:"user_base"`
	// +optional
	UserRoleName *string `json:"userRoleName,omitempty" tf:"user_role_name"`
	// +optional
	UserSearchMatching *string `json:"userSearchMatching,omitempty" tf:"user_search_matching"`
	// +optional
	UserSearchSubtree *bool `json:"userSearchSubtree,omitempty" tf:"user_search_subtree"`
}

func (*BrokerSpecLdapServerMetadata) DeepCopy

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

func (*BrokerSpecLdapServerMetadata) DeepCopyInto

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

type BrokerSpecLdapServerMetadataCodec

type BrokerSpecLdapServerMetadataCodec struct {
}

+k8s:deepcopy-gen=false

func (BrokerSpecLdapServerMetadataCodec) Decode

func (BrokerSpecLdapServerMetadataCodec) Encode

func (BrokerSpecLdapServerMetadataCodec) IsEmpty

type BrokerSpecLogs

type BrokerSpecLogs struct {
	// +optional
	Audit *string `json:"audit,omitempty" tf:"audit"`
	// +optional
	General *bool `json:"general,omitempty" tf:"general"`
}

func (*BrokerSpecLogs) DeepCopy

func (in *BrokerSpecLogs) DeepCopy() *BrokerSpecLogs

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

func (*BrokerSpecLogs) DeepCopyInto

func (in *BrokerSpecLogs) DeepCopyInto(out *BrokerSpecLogs)

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

type BrokerSpecLogsCodec

type BrokerSpecLogsCodec struct {
}

+k8s:deepcopy-gen=false

func (BrokerSpecLogsCodec) Decode

func (BrokerSpecLogsCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)

func (BrokerSpecLogsCodec) Encode

func (BrokerSpecLogsCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)

func (BrokerSpecLogsCodec) IsEmpty

func (BrokerSpecLogsCodec) IsEmpty(ptr unsafe.Pointer) bool

type BrokerSpecMaintenanceWindowStartTime

type BrokerSpecMaintenanceWindowStartTime struct {
	DayOfWeek *string `json:"dayOfWeek" tf:"day_of_week"`
	TimeOfDay *string `json:"timeOfDay" tf:"time_of_day"`
	TimeZone  *string `json:"timeZone" tf:"time_zone"`
}

func (*BrokerSpecMaintenanceWindowStartTime) DeepCopy

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

func (*BrokerSpecMaintenanceWindowStartTime) DeepCopyInto

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

type BrokerSpecMaintenanceWindowStartTimeCodec

type BrokerSpecMaintenanceWindowStartTimeCodec struct {
}

+k8s:deepcopy-gen=false

func (BrokerSpecMaintenanceWindowStartTimeCodec) Decode

func (BrokerSpecMaintenanceWindowStartTimeCodec) Encode

func (BrokerSpecMaintenanceWindowStartTimeCodec) IsEmpty

type BrokerSpecResource

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

	// +optional
	ApplyImmediately *bool `json:"applyImmediately,omitempty" tf:"apply_immediately"`
	// +optional
	Arn *string `json:"arn,omitempty" tf:"arn"`
	// +optional
	AuthenticationStrategy *string `json:"authenticationStrategy,omitempty" tf:"authentication_strategy"`
	// +optional
	AutoMinorVersionUpgrade *bool   `json:"autoMinorVersionUpgrade,omitempty" tf:"auto_minor_version_upgrade"`
	BrokerName              *string `json:"brokerName" tf:"broker_name"`
	// +optional
	Configuration *BrokerSpecConfiguration `json:"configuration,omitempty" tf:"configuration"`
	// +optional
	DeploymentMode *string `json:"deploymentMode,omitempty" tf:"deployment_mode"`
	// +optional
	EncryptionOptions *BrokerSpecEncryptionOptions `json:"encryptionOptions,omitempty" tf:"encryption_options"`
	EngineType        *string                      `json:"engineType" tf:"engine_type"`
	EngineVersion     *string                      `json:"engineVersion" tf:"engine_version"`
	HostInstanceType  *string                      `json:"hostInstanceType" tf:"host_instance_type"`
	// +optional
	Instances []BrokerSpecInstances `json:"instances,omitempty" tf:"instances"`
	// +optional
	LdapServerMetadata *BrokerSpecLdapServerMetadata `json:"ldapServerMetadata,omitempty" tf:"ldap_server_metadata"`
	// +optional
	Logs *BrokerSpecLogs `json:"logs,omitempty" tf:"logs"`
	// +optional
	MaintenanceWindowStartTime *BrokerSpecMaintenanceWindowStartTime `json:"maintenanceWindowStartTime,omitempty" tf:"maintenance_window_start_time"`
	// +optional
	PubliclyAccessible *bool `json:"publiclyAccessible,omitempty" tf:"publicly_accessible"`
	// +optional
	SecurityGroups []string `json:"securityGroups,omitempty" tf:"security_groups"`
	// +optional
	StorageType *string `json:"storageType,omitempty" tf:"storage_type"`
	// +optional
	SubnetIDS []string `json:"subnetIDS,omitempty" tf:"subnet_ids"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TagsAll *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"`
	User    []BrokerSpecUser   `json:"user" tf:"user"`
}

func (*BrokerSpecResource) DeepCopy

func (in *BrokerSpecResource) DeepCopy() *BrokerSpecResource

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

func (*BrokerSpecResource) DeepCopyInto

func (in *BrokerSpecResource) DeepCopyInto(out *BrokerSpecResource)

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

type BrokerSpecUser

type BrokerSpecUser struct {
	// +optional
	ConsoleAccess *bool `json:"consoleAccess,omitempty" tf:"console_access"`
	// +optional
	// +kubebuilder:validation:MaxItems=20
	Groups   []string `json:"groups,omitempty" tf:"groups"`
	Password *string  `json:"-" sensitive:"true" tf:"password"`
	Username *string  `json:"username" tf:"username"`
}

func (*BrokerSpecUser) DeepCopy

func (in *BrokerSpecUser) DeepCopy() *BrokerSpecUser

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

func (*BrokerSpecUser) DeepCopyInto

func (in *BrokerSpecUser) DeepCopyInto(out *BrokerSpecUser)

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

type BrokerStatus

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

func (in *BrokerStatus) DeepCopy() *BrokerStatus

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

func (*BrokerStatus) DeepCopyInto

func (in *BrokerStatus) DeepCopyInto(out *BrokerStatus)

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

type Configuration

type Configuration struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ConfigurationSpec   `json:"spec,omitempty"`
	Status            ConfigurationStatus `json:"status,omitempty"`
}

func (*Configuration) DeepCopy

func (in *Configuration) DeepCopy() *Configuration

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

func (*Configuration) DeepCopyInto

func (in *Configuration) DeepCopyInto(out *Configuration)

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

func (*Configuration) DeepCopyObject

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

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

func (*Configuration) SetupWebhookWithManager

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

func (*Configuration) ValidateCreate

func (r *Configuration) ValidateCreate() error

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

func (*Configuration) ValidateDelete

func (r *Configuration) ValidateDelete() error

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

func (*Configuration) ValidateUpdate

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

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

type ConfigurationList

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

ConfigurationList is a list of Configurations

func (*ConfigurationList) DeepCopy

func (in *ConfigurationList) DeepCopy() *ConfigurationList

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

func (*ConfigurationList) DeepCopyInto

func (in *ConfigurationList) DeepCopyInto(out *ConfigurationList)

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

func (*ConfigurationList) DeepCopyObject

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

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

type ConfigurationSpec

type ConfigurationSpec struct {
	State *ConfigurationSpecResource `json:"state,omitempty" tf:"-"`

	Resource ConfigurationSpecResource `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 (*ConfigurationSpec) DeepCopy

func (in *ConfigurationSpec) DeepCopy() *ConfigurationSpec

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

func (*ConfigurationSpec) DeepCopyInto

func (in *ConfigurationSpec) DeepCopyInto(out *ConfigurationSpec)

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

type ConfigurationSpecResource

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

	// +optional
	Arn *string `json:"arn,omitempty" tf:"arn"`
	// +optional
	AuthenticationStrategy *string `json:"authenticationStrategy,omitempty" tf:"authentication_strategy"`
	Data                   *string `json:"data" tf:"data"`
	// +optional
	Description   *string `json:"description,omitempty" tf:"description"`
	EngineType    *string `json:"engineType" tf:"engine_type"`
	EngineVersion *string `json:"engineVersion" tf:"engine_version"`
	// +optional
	LatestRevision *int64  `json:"latestRevision,omitempty" tf:"latest_revision"`
	Name           *string `json:"name" tf:"name"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TagsAll *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"`
}

func (*ConfigurationSpecResource) DeepCopy

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

func (*ConfigurationSpecResource) DeepCopyInto

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

type ConfigurationStatus

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

func (in *ConfigurationStatus) DeepCopy() *ConfigurationStatus

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

func (*ConfigurationStatus) DeepCopyInto

func (in *ConfigurationStatus) DeepCopyInto(out *ConfigurationStatus)

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