v1alpha1

package
v0.0.0-...-6d19932 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package v1alpha1 contains the v1alpha1 group Sample resources of the RedHat provider. +kubebuilder:object:generate=true +groupName=rhacs.redhat.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	Group   = "rhacs.redhat.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	CentralInstanceKind             = reflect.TypeOf(CentralInstance{}).Name()
	CentralInstanceGroupKind        = schema.GroupKind{Group: Group, Kind: CentralInstanceKind}.String()
	CentralInstanceKindAPIVersion   = CentralInstanceKind + "." + SchemeGroupVersion.String()
	CentralInstanceGroupVersionKind = SchemeGroupVersion.WithKind(CentralInstanceKind)
)

CentralInstance type metadata.

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)

Functions

This section is empty.

Types

type CentralInstance

type CentralInstance struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   CentralInstanceSpec   `json:"spec"`
	Status CentralInstanceStatus `json:"status,omitempty"`
}

A CentralInstance represents an ACS Central instance. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,redhat}

func (*CentralInstance) DeepCopy

func (in *CentralInstance) DeepCopy() *CentralInstance

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

func (*CentralInstance) DeepCopyInto

func (in *CentralInstance) DeepCopyInto(out *CentralInstance)

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

func (*CentralInstance) DeepCopyObject

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

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

func (*CentralInstance) GetCondition

func (mg *CentralInstance) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this CentralInstance.

func (*CentralInstance) GetDeletionPolicy

func (mg *CentralInstance) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this CentralInstance.

func (*CentralInstance) GetProviderConfigReference

func (mg *CentralInstance) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this CentralInstance.

func (*CentralInstance) GetProviderReference

func (mg *CentralInstance) GetProviderReference() *xpv1.Reference

GetProviderReference of this CentralInstance. Deprecated: Use GetProviderConfigReference.

func (*CentralInstance) GetPublishConnectionDetailsTo

func (mg *CentralInstance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this CentralInstance.

func (*CentralInstance) GetWriteConnectionSecretToReference

func (mg *CentralInstance) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this CentralInstance.

func (*CentralInstance) SetConditions

func (mg *CentralInstance) SetConditions(c ...xpv1.Condition)

SetConditions of this CentralInstance.

func (*CentralInstance) SetDeletionPolicy

func (mg *CentralInstance) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this CentralInstance.

func (*CentralInstance) SetProviderConfigReference

func (mg *CentralInstance) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this CentralInstance.

func (*CentralInstance) SetProviderReference

func (mg *CentralInstance) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this CentralInstance. Deprecated: Use SetProviderConfigReference.

func (*CentralInstance) SetPublishConnectionDetailsTo

func (mg *CentralInstance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this CentralInstance.

func (*CentralInstance) SetWriteConnectionSecretToReference

func (mg *CentralInstance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this CentralInstance.

type CentralInstanceList

type CentralInstanceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []CentralInstance `json:"items"`
}

CentralInstanceList contains a list of CentralInstance

func (*CentralInstanceList) DeepCopy

func (in *CentralInstanceList) DeepCopy() *CentralInstanceList

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

func (*CentralInstanceList) DeepCopyInto

func (in *CentralInstanceList) DeepCopyInto(out *CentralInstanceList)

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

func (*CentralInstanceList) DeepCopyObject

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

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

func (*CentralInstanceList) GetItems

func (l *CentralInstanceList) GetItems() []resource.Managed

GetItems of this CentralInstanceList.

type CentralInstanceObservation

type CentralInstanceObservation struct {
	// CentralDataURL represents Central's data URL.
	CentralDataURL string `json:"centralDataURL,omitempty"`

	// CentralUIURL represents Central's UI URL.
	CentralUIURL string `json:"centralUIURL,omitempty"`

	// CloudAccountID against which the instance is billed.
	CloudAccountID string `json:"cloudAccountID,omitempty"`

	// CloudProvider to which Central is deployed.
	CloudProvider CloudProvider `json:"cloudProvider,omitempty"`

	// CreatedAt defines the timestamp at which Central was created.
	CreatedAt metav1.Time `json:"createdAt,omitempty"`

	// FailedReason indicates why the instance is in a failed state.
	FailedReason string `json:"failedReason,omitempty"`

	// HRef represents the API path of Central in the RHACS fleet manager.
	HRef string `json:"href,omitempty"`

	// ID represents a unique identifier for Central.
	ID string `json:"id,omitempty"`

	// InstanceType defines the purchasing type of Central.
	InstanceType string `json:"instanceType,omitempty"`

	// Kind defines the Central kind.
	Kind string `json:"kind,omitempty"`

	// MultiAZ defines if Central is deployed to a cluster with multiple availability zones.
	MultiAZ bool `json:"multiAZ,omitempty"`

	// Name of the Central instance.
	Name string `json:"name,omitempty"`

	// Owner of the Central instance.
	Owner string `json:"owner,omitempty"`

	// Region defines the geographical region which hosts Central.
	Region Region `json:"region,omitempty"`

	// Status defines the status of Central.
	Status string `json:"status,omitempty"`

	// CreatedAt defines the timestamp at which Central was last updated.
	UpdatedAt metav1.Time `json:"updatedAt,omitempty"`

	// Version represents the Central version.
	Version string `json:"version,omitempty"`
}

CentralInstanceObservation are the observable fields of a CentralInstance.

func (*CentralInstanceObservation) DeepCopy

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

func (*CentralInstanceObservation) DeepCopyInto

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

type CentralInstanceParameters

type CentralInstanceParameters struct {
	// CloudAccount to which Central is deployed.
	// +kubebuilder:validation:Optional
	CloudAccountID string `json:"cloudAccountID,omitempty"`

	// CloudProvider to which Central is deployed.
	CloudProvider CloudProvider `json:"cloudProvider"`

	// MultiAZ defines if Central is deployed to a cluster with multiple availability zones.
	// +kubebuilder:default=true
	MultiAZ bool `json:"multiAZ"`

	// Name of the Central instance.
	// +kubebuilder:validation:Pattern=^[a-z]([-a-z0-9]*[a-z0-9])?$
	Name string `json:"name"`

	// Region defines the geographical region which hosts Central.
	Region Region `json:"region"`
}

CentralInstanceParameters are the configurable fields of a CentralInstance.

func (*CentralInstanceParameters) DeepCopy

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

func (*CentralInstanceParameters) DeepCopyInto

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

type CentralInstanceSpec

type CentralInstanceSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       CentralInstanceParameters `json:"forProvider"`
}

A CentralInstanceSpec defines the desired state of a CentralInstance.

func (*CentralInstanceSpec) DeepCopy

func (in *CentralInstanceSpec) DeepCopy() *CentralInstanceSpec

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

func (*CentralInstanceSpec) DeepCopyInto

func (in *CentralInstanceSpec) DeepCopyInto(out *CentralInstanceSpec)

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

type CentralInstanceStatus

type CentralInstanceStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          CentralInstanceObservation `json:"atProvider,omitempty"`
}

A CentralInstanceStatus represents the observed state of a CentralInstance.

func (*CentralInstanceStatus) DeepCopy

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

func (*CentralInstanceStatus) DeepCopyInto

func (in *CentralInstanceStatus) DeepCopyInto(out *CentralInstanceStatus)

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

type CloudProvider

type CloudProvider string

CloudProvider is a typed enum for the cloud provider. +kubebuilder:validation:Enum=aws

type Region

type Region string

Region is a typed enum for the region. +kubebuilder:validation:Enum=us-east-1

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL