v1alpha1

package
v0.0.0-...-4f4e79a Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	CentralKind             = reflect.TypeOf(Central{}).Name()
	CentralGroupKind        = schema.GroupKind{Group: Group, Kind: CentralKind}.String()
	CentralKindAPIVersion   = CentralKind + "." + SchemeGroupVersion.String()
	CentralGroupVersionKind = SchemeGroupVersion.WithKind(CentralKind)
)

central 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 Central

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

	Spec   CentralSpec   `json:"spec"`
	Status CentralStatus `json:"status,omitempty"`
}

A Central is an example API type. +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,rhacs}

func (*Central) DeepCopy

func (in *Central) DeepCopy() *Central

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

func (*Central) DeepCopyInto

func (in *Central) DeepCopyInto(out *Central)

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

func (*Central) DeepCopyObject

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

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

func (*Central) GetCondition

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

GetCondition of this Central.

func (*Central) GetDeletionPolicy

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

GetDeletionPolicy of this Central.

func (*Central) GetProviderConfigReference

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

GetProviderConfigReference of this Central.

func (*Central) GetProviderReference

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

GetProviderReference of this Central. Deprecated: Use GetProviderConfigReference.

func (*Central) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Central.

func (*Central) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Central.

func (*Central) SetConditions

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

SetConditions of this Central.

func (*Central) SetDeletionPolicy

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

SetDeletionPolicy of this Central.

func (*Central) SetProviderConfigReference

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

SetProviderConfigReference of this Central.

func (*Central) SetProviderReference

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

SetProviderReference of this Central. Deprecated: Use SetProviderConfigReference.

func (*Central) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Central.

func (*Central) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Central.

type CentralList

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

CentralList contains a list of central

func (*CentralList) DeepCopy

func (in *CentralList) DeepCopy() *CentralList

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

func (*CentralList) DeepCopyInto

func (in *CentralList) DeepCopyInto(out *CentralList)

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

func (*CentralList) DeepCopyObject

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

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

func (*CentralList) GetItems

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

GetItems of this CentralList.

type CentralObservation

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

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

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

	// CreatedAt defines the timestamp at which Central was created.
	CreatedAt metav1.Time `json:"createdAt,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 string `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"`
}

CentralObservation are the observable fields of a central.

func (*CentralObservation) DeepCopy

func (in *CentralObservation) DeepCopy() *CentralObservation

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

func (*CentralObservation) DeepCopyInto

func (in *CentralObservation) DeepCopyInto(out *CentralObservation)

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

type CentralParameters

type CentralParameters struct {
	// Name of the Central instance.
	Name string `json:"name"`

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

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

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

CentralParameters are the configurable fields of a central.

func (*CentralParameters) DeepCopy

func (in *CentralParameters) DeepCopy() *CentralParameters

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

func (*CentralParameters) DeepCopyInto

func (in *CentralParameters) DeepCopyInto(out *CentralParameters)

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

type CentralSpec

type CentralSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       CentralParameters `json:"forProvider"`
}

A CentralSpec defines the desired state of a central.

func (*CentralSpec) DeepCopy

func (in *CentralSpec) DeepCopy() *CentralSpec

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

func (*CentralSpec) DeepCopyInto

func (in *CentralSpec) DeepCopyInto(out *CentralSpec)

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

type CentralStatus

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

A CentralStatus represents the observed state of a central.

func (*CentralStatus) DeepCopy

func (in *CentralStatus) DeepCopy() *CentralStatus

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

func (*CentralStatus) DeepCopyInto

func (in *CentralStatus) DeepCopyInto(out *CentralStatus)

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