Documentation ¶
Overview ¶
Package v1alpha1 contains the v1alpha1 group Sample resources of the Template provider. +kubebuilder:object:generate=true +groupName=instance.civo.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type CivoInstance
- func (in *CivoInstance) DeepCopy() *CivoInstance
- func (in *CivoInstance) DeepCopyInto(out *CivoInstance)
- func (in *CivoInstance) DeepCopyObject() runtime.Object
- func (mg *CivoInstance) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *CivoInstance) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *CivoInstance) GetProviderConfigReference() *xpv1.Reference
- func (mg *CivoInstance) GetProviderReference() *xpv1.Reference
- func (mg *CivoInstance) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *CivoInstance) SetConditions(c ...xpv1.Condition)
- func (mg *CivoInstance) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *CivoInstance) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *CivoInstance) SetProviderReference(r *xpv1.Reference)
- func (mg *CivoInstance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type CivoInstanceConfig
- type CivoInstanceList
- type CivoInstanceObservation
- type CivoInstanceSpec
- type CivoInstanceStatus
- type SecretReference
Constants ¶
const ( Group = "instance.civo.crossplane.io" Version = "v1alpha1" )
Package type metadata.
Variables ¶
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} )
var ( CivoInstanceKind = reflect.TypeOf(CivoInstance{}).Name() CivoInstancGroupKind = schema.GroupKind{Group: Group, Kind: CivoInstanceKind}.String() CivoInstancKindAPIVersion = CivoInstanceKind + "." + SchemeGroupVersion.String() CivoInstancGroupVersionKind = SchemeGroupVersion.WithKind(CivoInstanceKind) )
CivoInstance type metadata.
Functions ¶
This section is empty.
Types ¶
type CivoInstance ¶
type CivoInstance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CivoInstanceSpec `json:"spec"` Status CivoInstanceStatus `json:"status,omitempty"` }
A CivoInstance is an example API type. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="MESSAGE",type="string",JSONPath=".status.atProvider.state" Please replace `PROVIDER-NAME` with your actual provider name, like `aws`, `azure`, `gcp`, `alibaba` +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,civo} +kubebuilder:subresource:status
func (*CivoInstance) DeepCopy ¶
func (in *CivoInstance) DeepCopy() *CivoInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CivoInstance.
func (*CivoInstance) DeepCopyInto ¶
func (in *CivoInstance) DeepCopyInto(out *CivoInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CivoInstance) DeepCopyObject ¶
func (in *CivoInstance) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CivoInstance) GetCondition ¶
func (mg *CivoInstance) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this CivoInstance.
func (*CivoInstance) GetDeletionPolicy ¶
func (mg *CivoInstance) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this CivoInstance.
func (*CivoInstance) GetProviderConfigReference ¶
func (mg *CivoInstance) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this CivoInstance.
func (*CivoInstance) GetProviderReference ¶
func (mg *CivoInstance) GetProviderReference() *xpv1.Reference
GetProviderReference of this CivoInstance. Deprecated: Use GetProviderConfigReference.
func (*CivoInstance) GetWriteConnectionSecretToReference ¶
func (mg *CivoInstance) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this CivoInstance.
func (*CivoInstance) SetConditions ¶
func (mg *CivoInstance) SetConditions(c ...xpv1.Condition)
SetConditions of this CivoInstance.
func (*CivoInstance) SetDeletionPolicy ¶
func (mg *CivoInstance) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this CivoInstance.
func (*CivoInstance) SetProviderConfigReference ¶
func (mg *CivoInstance) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this CivoInstance.
func (*CivoInstance) SetProviderReference ¶
func (mg *CivoInstance) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this CivoInstance. Deprecated: Use SetProviderConfigReference.
func (*CivoInstance) SetWriteConnectionSecretToReference ¶
func (mg *CivoInstance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this CivoInstance.
type CivoInstanceConfig ¶
type CivoInstanceConfig struct { // +optional Hostname string `json:"hostname,omitempty"` // +immutable // +required Size string `json:"size,omitempty"` // +immutable // +required DiskImage string `json:"diskImage,omitempty"` // +optional Notes string `json:"notes,omitempty"` // +optional Script string `json:"script,omitempty"` // +required Region string `json:"region,omitempty"` // +optional Tags []string `json:"tags,omitempty"` // +immutable // +optional SSHPubKeyRef *SecretReference `json:"sshPubKeyRef,omitempty"` // +immutable // +optional InitialUser string `json:"initialUser,omitempty"` // +optional PublicIPRequired string `json:"publicIPRequired,omitempty"` }
CivoInstanceConfig specs for the CivoInstance
func (*CivoInstanceConfig) DeepCopy ¶
func (in *CivoInstanceConfig) DeepCopy() *CivoInstanceConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CivoInstanceConfig.
func (*CivoInstanceConfig) DeepCopyInto ¶
func (in *CivoInstanceConfig) DeepCopyInto(out *CivoInstanceConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CivoInstanceList ¶
type CivoInstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CivoInstance `json:"items"` }
CivoInstanceList contains a list of CivoInstance
func (*CivoInstanceList) DeepCopy ¶
func (in *CivoInstanceList) DeepCopy() *CivoInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CivoInstanceList.
func (*CivoInstanceList) DeepCopyInto ¶
func (in *CivoInstanceList) DeepCopyInto(out *CivoInstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CivoInstanceList) DeepCopyObject ¶
func (in *CivoInstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CivoInstanceList) GetItems ¶
func (l *CivoInstanceList) GetItems() []resource.Managed
GetItems of this CivoInstanceList.
type CivoInstanceObservation ¶
type CivoInstanceObservation struct { ID string `json:"id"` State string `json:"state,omitempty"` IPv4 string `json:"ipv4,omitempty"` ObservableField string `json:"observableField,omitempty"` CreatedAt *metav1.Time `json:"createdAt,omitempty"` }
CivoInstanceObservation observation fields
func (*CivoInstanceObservation) DeepCopy ¶
func (in *CivoInstanceObservation) DeepCopy() *CivoInstanceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CivoInstanceObservation.
func (*CivoInstanceObservation) DeepCopyInto ¶
func (in *CivoInstanceObservation) DeepCopyInto(out *CivoInstanceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CivoInstanceSpec ¶
type CivoInstanceSpec struct { xpv1.ResourceSpec `json:",inline"` InstanceConfig CivoInstanceConfig `json:"instanceConfig"` }
CivoInstanceSpec holds the instanceConfig
func (*CivoInstanceSpec) DeepCopy ¶
func (in *CivoInstanceSpec) DeepCopy() *CivoInstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CivoInstanceSpec.
func (*CivoInstanceSpec) DeepCopyInto ¶
func (in *CivoInstanceSpec) DeepCopyInto(out *CivoInstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CivoInstanceStatus ¶
type CivoInstanceStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider CivoInstanceObservation `json:"atProvider,omitempty"` }
CivoInstanceStatus status of the resource
func (*CivoInstanceStatus) DeepCopy ¶
func (in *CivoInstanceStatus) DeepCopy() *CivoInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CivoInstanceStatus.
func (*CivoInstanceStatus) DeepCopyInto ¶
func (in *CivoInstanceStatus) DeepCopyInto(out *CivoInstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretReference ¶
type SecretReference struct { // Name of the secret. Name string `json:"name"` // Namespace of the secret. Namespace string `json:"namespace"` // Key whose value will be used. Key string `json:"key"` }
SecretReference location of the SSH Public Key Secret
func (*SecretReference) DeepCopy ¶
func (in *SecretReference) DeepCopy() *SecretReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretReference.
func (*SecretReference) DeepCopyInto ¶
func (in *SecretReference) DeepCopyInto(out *SecretReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.