Documentation ¶
Overview ¶
Package v1alpha1 contains the v1alpha1 group Sample resources of the Template provider. +kubebuilder:object:generate=true +groupName=projects.metakube.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Project
- func (in *Project) DeepCopy() *Project
- func (in *Project) DeepCopyInto(out *Project)
- func (in *Project) DeepCopyObject() runtime.Object
- func (mg *Project) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *Project) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *Project) GetProviderConfigReference() *xpv1.Reference
- func (mg *Project) GetProviderReference() *xpv1.Reference
- func (mg *Project) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *Project) SetConditions(c ...xpv1.Condition)
- func (mg *Project) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Project) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Project) SetProviderReference(r *xpv1.Reference)
- func (mg *Project) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ProjectList
- type ProjectObservation
- type ProjectParameters
- type ProjectSpec
- type ProjectStatus
Constants ¶
const ( Group = "projects.metakube.crossplane.io" Version = "v1alpha1" )
Package type metadata.
Variables ¶
var ( ProjectKind = reflect.TypeOf(Project{}).Name() ProjectGroupKind = schema.GroupKind{Group: Group, Kind: ProjectKind}.String() ProjectKindAPIVersion = ProjectKind + "." + SchemeGroupVersion.String() ProjectGroupVersionKind = SchemeGroupVersion.WithKind(ProjectKind) )
Project 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 Project ¶
type Project struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ProjectSpec `json:"spec"` Status ProjectStatus `json:"status,omitempty"` }
A Project is an metakube 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,template}
func (*Project) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Project.
func (*Project) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Project) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Project) GetCondition ¶
func (mg *Project) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Project.
func (*Project) GetDeletionPolicy ¶
func (mg *Project) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Project.
func (*Project) GetProviderConfigReference ¶
GetProviderConfigReference of this Project.
func (*Project) GetProviderReference ¶
GetProviderReference of this Project. Deprecated: Use GetProviderConfigReference.
func (*Project) GetWriteConnectionSecretToReference ¶
func (mg *Project) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Project.
func (*Project) SetConditions ¶
SetConditions of this Project.
func (*Project) SetDeletionPolicy ¶
func (mg *Project) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Project.
func (*Project) SetProviderConfigReference ¶
SetProviderConfigReference of this Project.
func (*Project) SetProviderReference ¶
SetProviderReference of this Project. Deprecated: Use SetProviderConfigReference.
func (*Project) SetWriteConnectionSecretToReference ¶
func (mg *Project) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Project.
type ProjectList ¶
type ProjectList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Project `json:"items"` }
ProjectList contains a list of Project
func (*ProjectList) DeepCopy ¶
func (in *ProjectList) DeepCopy() *ProjectList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectList.
func (*ProjectList) DeepCopyInto ¶
func (in *ProjectList) DeepCopyInto(out *ProjectList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectList) DeepCopyObject ¶
func (in *ProjectList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ProjectList) GetItems ¶
func (l *ProjectList) GetItems() []resource.Managed
GetItems of this ProjectList.
type ProjectObservation ¶
type ProjectObservation struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` CreationTime string `json:"creationTimestamp,omitempty"` Users []string `json:"users,omitempty"` Owners []string `json:"owners,omitempty"` }
ProjectObservation are the observable fields of a Project.
func (*ProjectObservation) DeepCopy ¶
func (in *ProjectObservation) DeepCopy() *ProjectObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectObservation.
func (*ProjectObservation) DeepCopyInto ¶
func (in *ProjectObservation) DeepCopyInto(out *ProjectObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectParameters ¶
type ProjectParameters struct { // Annotations that can be added to the resource Annotations map[string]string `json:"annotations,omitempty"` // clusters number ClustersNumber int64 `json:"clustersNumber,omitempty"` // CreationTimestamp is a timestamp representing the server time when this object was created. // Format: date-time CreationTimestamp string `json:"creationTimestamp,omitempty"` // DeletionTimestamp is a timestamp representing the server time when this object was deleted. // Format: date-time DeletionTimestamp string `json:"deletionTimestamp,omitempty"` // ID unique value that identifies the resource generated by the server. Read-Only. ID string `json:"id,omitempty"` // labels Labels map[string]string `json:"labels,omitempty"` // Name represents human readable name for the resource Name string `json:"name,omitempty"` // Users seems to be imperative for creating a project Users []string `json:"users"` // Owners an optional owners list for the given project Owners []string `json:"owners,omitempty"` // status Status string `json:"status,omitempty"` }
A ProjectParameters defines the desired state of a Project.
func (*ProjectParameters) DeepCopy ¶
func (in *ProjectParameters) DeepCopy() *ProjectParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectParameters.
func (*ProjectParameters) DeepCopyInto ¶
func (in *ProjectParameters) DeepCopyInto(out *ProjectParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectSpec ¶
type ProjectSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider ProjectParameters `json:"forProvider"` }
A ProjectSpec defines the desired state of a Project.
func (*ProjectSpec) DeepCopy ¶
func (in *ProjectSpec) DeepCopy() *ProjectSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectSpec.
func (*ProjectSpec) DeepCopyInto ¶
func (in *ProjectSpec) DeepCopyInto(out *ProjectSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectStatus ¶
type ProjectStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider ProjectObservation `json:"atProvider,omitempty"` }
A ProjectStatus represents the observed state of a Project.
func (*ProjectStatus) DeepCopy ¶
func (in *ProjectStatus) DeepCopy() *ProjectStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectStatus.
func (*ProjectStatus) DeepCopyInto ¶
func (in *ProjectStatus) DeepCopyInto(out *ProjectStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.