Documentation
¶
Overview ¶
Package v1beta1 contains API Schema definitions for the v1beta1 API group +kubebuilder:object:generate=true +groupName=claudie.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "claudie.io", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type EndpointSpec ¶
type EndpointSpec struct {
// URL of the git repository.
URL string `json:"url"`
// Protocol used to access the repository.
// +kubebuilder:validation:Enum=https;
Protocol string `json:"protocol"`
}
EndpointSpec defines the git endpoint configuration.
func (*EndpointSpec) DeepCopy ¶
func (in *EndpointSpec) DeepCopy() *EndpointSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointSpec.
func (*EndpointSpec) DeepCopyInto ¶
func (in *EndpointSpec) DeepCopyInto(out *EndpointSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitAuth ¶
type GitAuth struct {
// SecretRef is a reference to a Kubernetes secret containing the git token.
// +optional
SecretRef *corev1.SecretReference `json:"secretRef,omitempty"`
}
GitAuth defines optional authentication for the git repository.
func (*GitAuth) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitAuth.
func (*GitAuth) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitPaths ¶
type GitPaths struct {
// Terraformer path to terraformer templates.
Terraformer string `json:"terraformer"`
// Playbooks path to ansible playbooks.
Playbooks string `json:"playbooks"`
// ConfigLB path to loadbalancer configuration templates.
ConfigLB string `json:"configLb"`
// ConfigK8s path to kubernetes configuration templates.
ConfigK8s string `json:"configK8s"`
// ManifestsK8s path to kubernetes manifest templates.
ManifestsK8s string `json:"manifestsK8s"`
}
GitPaths defines paths to various template directories within the repository.
func (*GitPaths) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitPaths.
func (*GitPaths) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TemplateGitReference ¶
type TemplateGitReference struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec TemplateGitReferenceSpec `json:"spec,omitempty"`
}
+kubebuilder:object:root=true +kubebuilder:printcolumn:name="URL",type="string",JSONPath=".spec.endpoint.url",description="URL of the git repository" +kubebuilder:printcolumn:name="Commit",type="string",JSONPath=".spec.commit",description="Commit/tag/branch reference" +kubebuilder:metadata:labels=app.kubernetes.io/part-of=claudie +kubebuilder:storageversion TemplateGitReference is a definition of a git repository reference containing templates. It specifies the endpoint, authentication, commit, and paths to various template directories.
func (*TemplateGitReference) DeepCopy ¶
func (in *TemplateGitReference) DeepCopy() *TemplateGitReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateGitReference.
func (*TemplateGitReference) DeepCopyInto ¶
func (in *TemplateGitReference) DeepCopyInto(out *TemplateGitReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TemplateGitReference) DeepCopyObject ¶
func (in *TemplateGitReference) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TemplateGitReferenceList ¶
type TemplateGitReferenceList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []TemplateGitReference `json:"items"`
}
TemplateGitReferenceList contains a list of TemplateGitReference.
func (*TemplateGitReferenceList) DeepCopy ¶
func (in *TemplateGitReferenceList) DeepCopy() *TemplateGitReferenceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateGitReferenceList.
func (*TemplateGitReferenceList) DeepCopyInto ¶
func (in *TemplateGitReferenceList) DeepCopyInto(out *TemplateGitReferenceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TemplateGitReferenceList) DeepCopyObject ¶
func (in *TemplateGitReferenceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TemplateGitReferenceSpec ¶
type TemplateGitReferenceSpec struct {
// Endpoint of the git repository.
Endpoint EndpointSpec `json:"endpoint"`
// Auth defines optional authentication for the repository.
// +optional
Auth GitAuth `json:"auth,omitempty"`
// Commit defines the commit, tag, or branch to checkout.
Commit string `json:"commit"`
// Paths defines the paths to template directories within the repository.
Paths GitPaths `json:"paths"`
}
TemplateGitReferenceSpec defines the desired state of TemplateGitReference.
func (*TemplateGitReferenceSpec) DeepCopy ¶
func (in *TemplateGitReferenceSpec) DeepCopy() *TemplateGitReferenceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TemplateGitReferenceSpec.
func (*TemplateGitReferenceSpec) DeepCopyInto ¶
func (in *TemplateGitReferenceSpec) DeepCopyInto(out *TemplateGitReferenceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.