Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the apps v1beta1 API group. +kubebuilder:object:generate=true +groupName=apps.gitlab.com
Index ¶
- Variables
- type ChartValues
- type GitLab
- func (in *GitLab) DeepCopy() *GitLab
- func (in *GitLab) DeepCopyInto(out *GitLab)
- func (in *GitLab) DeepCopyObject() runtime.Object
- func (r *GitLab) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *GitLab) ValidateCreate() error
- func (r *GitLab) ValidateDelete() error
- func (r *GitLab) ValidateUpdate(old runtime.Object) error
- type GitLabChartSpec
- type GitLabList
- type GitLabSpec
- type GitLabStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupKind is a group kind used in webhooks. GroupKind = schema.GroupKind{Group: "apps.gitlab.com", Kind: "gitlab"} // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "apps.gitlab.com", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type ChartValues ¶
type ChartValues struct { // Object is a JSON compatible map with string, float, int, bool, []interface{}, or // map[string]interface{} children. Object map[string]interface{} `json:"-"` }
Unstructured values for rendering GitLab Chart. +k8s:deepcopy-gen=false
func (*ChartValues) DeepCopyInto ¶
func (u *ChartValues) DeepCopyInto(out *ChartValues)
Declaring this here prevents it from being generated.
func (*ChartValues) MarshalJSON ¶
func (u *ChartValues) MarshalJSON() ([]byte, error)
MarshalJSON ensures that the unstructured object produces proper JSON when passed to Go's standard JSON library.
func (*ChartValues) UnmarshalJSON ¶
func (u *ChartValues) UnmarshalJSON(data []byte) error
UnmarshalJSON ensures that the unstructured object properly decodes JSON when passed to Go's standard JSON library.
type GitLab ¶
type GitLab struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Specification of the desired behavior of a GitLab instance. Spec GitLabSpec `json:"spec,omitempty"` // Most recently observed status of the GitLab instance. // It is read-only to the user. Status GitLabStatus `json:"status,omitempty"` }
GitLab is a complete DevOps platform, delivered in a single application.
func (*GitLab) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitLab.
func (*GitLab) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GitLab) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*GitLab) SetupWebhookWithManager ¶
SetupWebhookWithManager adds webhook to the controller runtime Manager.
func (*GitLab) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type.
func (*GitLab) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type.
type GitLabChartSpec ¶
type GitLabChartSpec struct { // +kubebuilder:validation:Optional // +kubebuilder:validation:Pattern=`^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$` // ChartVersion is the semantic version of the GitLab Chart. Version string `json:"version,omitempty"` // +kubebuilder:validation:Optional // +kubebuilder:pruning:PreserveUnknownFields // ChartValues is the set of Helm values that is used to render the GitLab Chart. Values ChartValues `json:"values,omitempty"` }
GitLabChartSpec specifies GitLab Chart version and values.
func (*GitLabChartSpec) DeepCopy ¶
func (in *GitLabChartSpec) DeepCopy() *GitLabChartSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitLabChartSpec.
func (*GitLabChartSpec) DeepCopyInto ¶
func (in *GitLabChartSpec) DeepCopyInto(out *GitLabChartSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitLabList ¶
type GitLabList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []GitLab `json:"items"` }
GitLabList contains a list of GitLab.
func (*GitLabList) DeepCopy ¶
func (in *GitLabList) DeepCopy() *GitLabList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitLabList.
func (*GitLabList) DeepCopyInto ¶
func (in *GitLabList) DeepCopyInto(out *GitLabList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GitLabList) DeepCopyObject ¶
func (in *GitLabList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GitLabSpec ¶
type GitLabSpec struct { // The specification of GitLab Chart that is used to deploy the instance. Chart GitLabChartSpec `json:"chart,omitempty"` }
GitLabSpec defines the desired state of GitLab.
func (*GitLabSpec) DeepCopy ¶
func (in *GitLabSpec) DeepCopy() *GitLabSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitLabSpec.
func (*GitLabSpec) DeepCopyInto ¶
func (in *GitLabSpec) DeepCopyInto(out *GitLabSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GitLabStatus ¶
type GitLabStatus struct { Phase string `json:"phase,omitempty"` Version string `json:"version,omitempty"` Conditions []metav1.Condition `json:"conditions"` }
GitLabStatus defines the observed state of GitLab.
func (*GitLabStatus) DeepCopy ¶
func (in *GitLabStatus) DeepCopy() *GitLabStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitLabStatus.
func (*GitLabStatus) DeepCopyInto ¶
func (in *GitLabStatus) DeepCopyInto(out *GitLabStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.