Documentation
¶
Overview ¶
Package v1alpha1 contains managed resources for Git services such as Repo. +kubebuilder:object:generate=true +groupName=git.krateo.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Repo
- func (in *Repo) DeepCopy() *Repo
- func (in *Repo) DeepCopyInto(out *Repo)
- func (in *Repo) DeepCopyObject() runtime.Object
- func (mg *Repo) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *Repo) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *Repo) GetProviderConfigReference() *xpv1.Reference
- func (mg *Repo) GetProviderReference() *xpv1.Reference
- func (mg *Repo) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Repo) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *Repo) SetConditions(c ...xpv1.Condition)
- func (mg *Repo) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Repo) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Repo) SetProviderReference(r *xpv1.Reference)
- func (mg *Repo) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Repo) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type RepoList
- type RepoObservation
- type RepoOpts
- type RepoParameters
- type RepoSpec
- type RepoStatus
Constants ¶
const ( Group = "git.krateo.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 ( RepoKind = reflect.TypeOf(Repo{}).Name() RepoGroupKind = schema.GroupKind{Group: Group, Kind: RepoKind}.String() RepoKindAPIVersion = RepoKind + "." + SchemeGroupVersion.String() RepoGroupVersionKind = SchemeGroupVersion.WithKind(RepoKind) )
Firewall type metadata.
Functions ¶
This section is empty.
Types ¶
type Repo ¶
type Repo struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RepoSpec `json:"spec"` Status RepoStatus `json:"status,omitempty"` }
A Repo is a managed resource that represents a Krateo Git Repository +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="DEPLOYMENT_ID",type="string",JSONPath=".status.atProvider.deploymentId" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,krateo,git}
func (*Repo) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Repo.
func (*Repo) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Repo) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Repo) GetCondition ¶
func (mg *Repo) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Repo.
func (*Repo) GetDeletionPolicy ¶
func (mg *Repo) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Repo.
func (*Repo) GetProviderConfigReference ¶
GetProviderConfigReference of this Repo.
func (*Repo) GetProviderReference ¶
GetProviderReference of this Repo. Deprecated: Use GetProviderConfigReference.
func (*Repo) GetPublishConnectionDetailsTo ¶
func (mg *Repo) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Repo.
func (*Repo) GetWriteConnectionSecretToReference ¶
func (mg *Repo) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Repo.
func (*Repo) SetConditions ¶
SetConditions of this Repo.
func (*Repo) SetDeletionPolicy ¶
func (mg *Repo) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Repo.
func (*Repo) SetProviderConfigReference ¶
SetProviderConfigReference of this Repo.
func (*Repo) SetProviderReference ¶
SetProviderReference of this Repo. Deprecated: Use SetProviderConfigReference.
func (*Repo) SetPublishConnectionDetailsTo ¶
func (mg *Repo) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Repo.
func (*Repo) SetWriteConnectionSecretToReference ¶
func (mg *Repo) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Repo.
type RepoList ¶
type RepoList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Repo `json:"items"` }
RepoList contains a list of Repo.
func (*RepoList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepoList.
func (*RepoList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RepoList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RepoObservation ¶
type RepoObservation struct { // DeploymentId: correlation identifier with UI DeploymentId *string `json:"deploymentId,omitempty"` }
func (*RepoObservation) DeepCopy ¶
func (in *RepoObservation) DeepCopy() *RepoObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepoObservation.
func (*RepoObservation) DeepCopyInto ¶
func (in *RepoObservation) DeepCopyInto(out *RepoObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepoOpts ¶
type RepoOpts struct { // Url: the repository URL. // +immutable Url string `json:"url"` // Path: name of the folder in the git repository // to copy from (or to). // +optional // +immutable Path *string `json:"path,omitempty"` }
func (*RepoOpts) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepoOpts.
func (*RepoOpts) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepoParameters ¶
type RepoParameters struct { // FromRepo: . // +immutable FromRepo RepoOpts `json:"fromRepo"` // ToRepo: . // +immutable ToRepo RepoOpts `json:"toRepo"` // ConfigMapKeyRef: holds template values // +optional ConfigMapKeyRef *helpers.ConfigMapKeySelector `json:"configMapKeyRef,omitempty"` }
func (*RepoParameters) DeepCopy ¶
func (in *RepoParameters) DeepCopy() *RepoParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepoParameters.
func (*RepoParameters) DeepCopyInto ¶
func (in *RepoParameters) DeepCopyInto(out *RepoParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepoSpec ¶
type RepoSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider RepoParameters `json:"forProvider"` }
A RepoSpec defines the desired state of a Repo.
func (*RepoSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepoSpec.
func (*RepoSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RepoStatus ¶
type RepoStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider RepoObservation `json:"atProvider,omitempty"` }
A RepoStatus represents the observed state of a Repo.
func (*RepoStatus) DeepCopy ¶
func (in *RepoStatus) DeepCopy() *RepoStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RepoStatus.
func (*RepoStatus) DeepCopyInto ¶
func (in *RepoStatus) DeepCopyInto(out *RepoStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.