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
- Variables
- type Central
- func (in *Central) DeepCopy() *Central
- func (in *Central) DeepCopyInto(out *Central)
- func (in *Central) DeepCopyObject() runtime.Object
- func (mg *Central) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *Central) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *Central) GetProviderConfigReference() *xpv1.Reference
- func (mg *Central) GetProviderReference() *xpv1.Reference
- func (mg *Central) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Central) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *Central) SetConditions(c ...xpv1.Condition)
- func (mg *Central) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Central) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Central) SetProviderReference(r *xpv1.Reference)
- func (mg *Central) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Central) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type CentralList
- type CentralObservation
- type CentralParameters
- type CentralSpec
- type CentralStatus
Constants ¶
const ( Group = "central.rhacs.crossplane.io" Version = "v1alpha1" )
Package type metadata.
Variables ¶
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.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Central.
func (*Central) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Central) DeepCopyObject ¶
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 ¶
GetProviderConfigReference of this Central.
func (*Central) GetProviderReference ¶
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 ¶
SetConditions of this Central.
func (*Central) SetDeletionPolicy ¶
func (mg *Central) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Central.
func (*Central) SetProviderConfigReference ¶
SetProviderConfigReference of this Central.
func (*Central) SetProviderReference ¶
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.