Documentation ¶
Overview ¶
Package v1alpha1 contains the v1alpha1 group devtools resources of the nine provider. +kubebuilder:object:generate=true +groupName=devtools.nine.ch +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type ArgoCD
- func (in *ArgoCD) DeepCopy() *ArgoCD
- func (in *ArgoCD) DeepCopyInto(out *ArgoCD)
- func (in *ArgoCD) DeepCopyObject() runtime.Object
- func (mg *ArgoCD) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *ArgoCD) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *ArgoCD) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *ArgoCD) GetProviderConfigReference() *xpv1.Reference
- func (mg *ArgoCD) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ArgoCD) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *ArgoCD) SetConditions(c ...xpv1.Condition)
- func (mg *ArgoCD) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *ArgoCD) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *ArgoCD) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ArgoCD) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ArgoCD) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ArgoCDList
- type ArgoCDObservation
- type ArgoCDParameters
- type ArgoCDSpec
- type ArgoCDStatus
- type ArgoCDWebhooks
Constants ¶
const ( Group = "devtools.nine.ch" 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 ( ArgoCDKind = reflect.TypeOf(ArgoCD{}).Name() ArgoCDGroupKind = schema.GroupKind{Group: Group, Kind: ArgoCDKind}.String() ArgoCDKindAPIVersion = ArgoCDKind + "." + SchemeGroupVersion.String() ArgoCDGroupVersionKind = SchemeGroupVersion.WithKind(ArgoCDKind) )
Functions ¶
This section is empty.
Types ¶
type ArgoCD ¶
type ArgoCD struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ArgoCDSpec `json:"spec"` Status ArgoCDStatus `json:"status,omitempty"` }
ArgoCD deploys a fully managed Argo CD instance. +kubebuilder:subresource:status +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:printcolumn:name="CLUSTER CONNECTION ERROR",type="string",JSONPath=".status.atProvider.clusterConnectionError" +kubebuilder:resource:scope=Namespaced +kubebuilder:object:root=true
func (*ArgoCD) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCD.
func (*ArgoCD) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArgoCD) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ArgoCD) GetCondition ¶
func (mg *ArgoCD) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this ArgoCD.
func (*ArgoCD) GetDeletionPolicy ¶
func (mg *ArgoCD) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this ArgoCD.
func (*ArgoCD) GetManagementPolicies ¶
func (mg *ArgoCD) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this ArgoCD.
func (*ArgoCD) GetProviderConfigReference ¶
GetProviderConfigReference of this ArgoCD.
func (*ArgoCD) GetPublishConnectionDetailsTo ¶
func (mg *ArgoCD) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this ArgoCD.
func (*ArgoCD) GetWriteConnectionSecretToReference ¶
func (mg *ArgoCD) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this ArgoCD.
func (*ArgoCD) SetConditions ¶
SetConditions of this ArgoCD.
func (*ArgoCD) SetDeletionPolicy ¶
func (mg *ArgoCD) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this ArgoCD.
func (*ArgoCD) SetManagementPolicies ¶
func (mg *ArgoCD) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this ArgoCD.
func (*ArgoCD) SetProviderConfigReference ¶
SetProviderConfigReference of this ArgoCD.
func (*ArgoCD) SetPublishConnectionDetailsTo ¶
func (mg *ArgoCD) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this ArgoCD.
func (*ArgoCD) SetWriteConnectionSecretToReference ¶
func (mg *ArgoCD) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this ArgoCD.
type ArgoCDList ¶
type ArgoCDList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ArgoCD `json:"items"` }
ArgoCDList contains a list of ArgoCDs +kubebuilder:object:root=true
func (*ArgoCDList) DeepCopy ¶
func (in *ArgoCDList) DeepCopy() *ArgoCDList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDList.
func (*ArgoCDList) DeepCopyInto ¶
func (in *ArgoCDList) DeepCopyInto(out *ArgoCDList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ArgoCDList) DeepCopyObject ¶
func (in *ArgoCDList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ArgoCDList) GetItems ¶
func (l *ArgoCDList) GetItems() []resource.Managed
GetItems of this ArgoCDList.
type ArgoCDObservation ¶
type ArgoCDObservation struct { // URL points to the web UI of Argo CD. // +optional URL string `json:"url,omitempty"` // CLIURL points to the URL used for logging into the CLI. // +optional CLIURL string `json:"cliURL,omitempty"` // Webhooks outputs the URLs for configured webhooks // +optional Webhooks *ArgoCDWebhooks `json:"webhooks,omitempty"` // CustomSecret is the name of the secret which can be used in ArgoCD // (e.g. in ApplicationSets). It contains the same keys as the // referenced custom secret. // +optional CustomSecret *meta.Reference `json:"customSecret,omitempty"` // ClusterConnectionError is an error that occurs if any of the references // point to a cluster that does not exist. ClusterConnectionError string `json:"clusterConnectionError,omitempty"` meta.ChildResourceStatus `json:",inline"` meta.ReferenceStatus `json:",inline"` }
ArgoCDObservation are the observable fields of a ArgoCD.
func (*ArgoCDObservation) DeepCopy ¶
func (in *ArgoCDObservation) DeepCopy() *ArgoCDObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDObservation.
func (*ArgoCDObservation) DeepCopyInto ¶
func (in *ArgoCDObservation) DeepCopyInto(out *ArgoCDObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDParameters ¶
type ArgoCDParameters struct { // Clusters that Argo CD has access to. // +kubebuilder:validation:MinItems:=1 Clusters []meta.Reference `json:"clusters"` // EnableApplicationSets specifies if Argo CD should support // ApplicationSet CRDs // +optional // +kubebuilder:default:=false EnableApplicationSets bool `json:"enableApplicationSets"` // CustomSecrets allows to pass secrets to ArgoCD which can then be // used (e.g. in ApplicationSets) // +optional CustomSecret *meta.LocalReference `json:"customSecret,omitempty"` }
ArgoCDParameters are the configurable fields of a ArgoCD.
func (*ArgoCDParameters) DeepCopy ¶
func (in *ArgoCDParameters) DeepCopy() *ArgoCDParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDParameters.
func (*ArgoCDParameters) DeepCopyInto ¶
func (in *ArgoCDParameters) DeepCopyInto(out *ArgoCDParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDSpec ¶
type ArgoCDSpec struct { runtimev1.ResourceSpec `json:",inline"` ForProvider ArgoCDParameters `json:"forProvider"` }
An ArgoCDSpec defines the desired state of a ArgoCD.
func (*ArgoCDSpec) DeepCopy ¶
func (in *ArgoCDSpec) DeepCopy() *ArgoCDSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDSpec.
func (*ArgoCDSpec) DeepCopyInto ¶
func (in *ArgoCDSpec) DeepCopyInto(out *ArgoCDSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDStatus ¶
type ArgoCDStatus struct { runtimev1.ResourceStatus `json:",inline"` AtProvider ArgoCDObservation `json:"atProvider"` }
An ArgoCDStatus represents the observed state of a ArgoCD.
func (*ArgoCDStatus) DeepCopy ¶
func (in *ArgoCDStatus) DeepCopy() *ArgoCDStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDStatus.
func (*ArgoCDStatus) DeepCopyInto ¶
func (in *ArgoCDStatus) DeepCopyInto(out *ArgoCDStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ArgoCDWebhooks ¶
type ArgoCDWebhooks struct { // ArgoCD specifies the default webhook used to notify ArgoCD about git // repository changes //+optional ArgoCD string `json:"argoCD,omitempty"` // ApplicationSet specifies the special application set webhook used to // notify the ArgoCD ApplicationSet generators about changes in git //+optional ApplicationSet string `json:"applicationSet,omitempty"` }
func (*ArgoCDWebhooks) DeepCopy ¶
func (in *ArgoCDWebhooks) DeepCopy() *ArgoCDWebhooks
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ArgoCDWebhooks.
func (*ArgoCDWebhooks) DeepCopyInto ¶
func (in *ArgoCDWebhooks) DeepCopyInto(out *ArgoCDWebhooks)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.