Documentation ¶
Overview ¶
Package v1alpha1 contains the v1alpha1 group Sample resources of the Kops provider. +kubebuilder:object:generate=true +groupName=kops.kops.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Kops
- func (in *Kops) DeepCopy() *Kops
- func (in *Kops) DeepCopyInto(out *Kops)
- func (in *Kops) DeepCopyObject() runtime.Object
- func (mg *Kops) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *Kops) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *Kops) GetProviderConfigReference() *xpv1.Reference
- func (mg *Kops) GetProviderReference() *xpv1.Reference
- func (mg *Kops) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Kops) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *Kops) SetConditions(c ...xpv1.Condition)
- func (mg *Kops) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Kops) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Kops) SetProviderReference(r *xpv1.Reference)
- func (mg *Kops) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Kops) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type KopsList
- type KopsObservation
- type KopsParameters
- type KopsSpec
- type KopsStatus
Constants ¶
const ( Group = "kops.kops.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 ( KopsKind = reflect.TypeOf(Kops{}).Name() KopsGroupKind = schema.GroupKind{Group: Group, Kind: KopsKind}.String() KopsKindAPIVersion = KopsKind + "." + SchemeGroupVersion.String() KopsGroupVersionKind = SchemeGroupVersion.WithKind(KopsKind) )
Kops type metadata.
Functions ¶
This section is empty.
Types ¶
type Kops ¶
type Kops struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KopsSpec `json:"spec"` Status KopsStatus `json:"status,omitempty"` }
A Kops 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,kops}
func (*Kops) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kops.
func (*Kops) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Kops) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Kops) GetCondition ¶
func (mg *Kops) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Kops.
func (*Kops) GetDeletionPolicy ¶
func (mg *Kops) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Kops.
func (*Kops) GetProviderConfigReference ¶
GetProviderConfigReference of this Kops.
func (*Kops) GetProviderReference ¶
GetProviderReference of this Kops. Deprecated: Use GetProviderConfigReference.
func (*Kops) GetPublishConnectionDetailsTo ¶
func (mg *Kops) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Kops.
func (*Kops) GetWriteConnectionSecretToReference ¶
func (mg *Kops) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Kops.
func (*Kops) SetConditions ¶
SetConditions of this Kops.
func (*Kops) SetDeletionPolicy ¶
func (mg *Kops) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Kops.
func (*Kops) SetProviderConfigReference ¶
SetProviderConfigReference of this Kops.
func (*Kops) SetProviderReference ¶
SetProviderReference of this Kops. Deprecated: Use SetProviderConfigReference.
func (*Kops) SetPublishConnectionDetailsTo ¶
func (mg *Kops) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Kops.
func (*Kops) SetWriteConnectionSecretToReference ¶
func (mg *Kops) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Kops.
type KopsList ¶
type KopsList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Kops `json:"items"` }
KopsList contains a list of Kops
func (*KopsList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KopsList.
func (*KopsList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KopsList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KopsObservation ¶
type KopsObservation struct { ProvisioningState string `json:"provisioningState,omitempty"` ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` }
KopsObservation are the observable fields of a Kops.
func (*KopsObservation) DeepCopy ¶
func (in *KopsObservation) DeepCopy() *KopsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KopsObservation.
func (*KopsObservation) DeepCopyInto ¶
func (in *KopsObservation) DeepCopyInto(out *KopsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KopsParameters ¶
type KopsParameters struct { ClusterSpec kops.ClusterSpec `json:"clusterSpec"` InstanceGroupSpec []kops.InstanceGroupSpec `json:"instanceGroupSpec"` Domain string `json:"domain"` StateBucket string `json:"stateBucket"` Region string `json:"region"` KubernetesAPICertificateTTL time.Duration `json:"kubernetesApiCertificateTTL,omitempty"` }
A KopsParameters are the parameters of a Kops.
func (*KopsParameters) DeepCopy ¶
func (in *KopsParameters) DeepCopy() *KopsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KopsParameters.
func (*KopsParameters) DeepCopyInto ¶
func (in *KopsParameters) DeepCopyInto(out *KopsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KopsSpec ¶
type KopsSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider KopsParameters `json:"forProvider"` }
A KopsSpec defines the desired state of a Kops.
func (*KopsSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KopsSpec.
func (*KopsSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KopsStatus ¶
type KopsStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider KopsObservation `json:"atProvider,omitempty"` }
A KopsStatus represents the observed state of a Kops.
func (*KopsStatus) DeepCopy ¶
func (in *KopsStatus) DeepCopy() *KopsStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KopsStatus.
func (*KopsStatus) DeepCopyInto ¶
func (in *KopsStatus) DeepCopyInto(out *KopsStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.