v1

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the gitops v1 API group +kubebuilder:object:generate=true +groupName=gitops.declcd.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "gitops.declcd.io", Version: "v1"}

	// 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 GitOpsProject

type GitOpsProject struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   GitOpsProjectSpec   `json:"spec,omitempty"`
	Status GitOpsProjectStatus `json:"status,omitempty"`
}

GitOpsProject is the Schema for the gitopsprojects API

func (*GitOpsProject) DeepCopy

func (in *GitOpsProject) DeepCopy() *GitOpsProject

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitOpsProject.

func (*GitOpsProject) DeepCopyInto

func (in *GitOpsProject) DeepCopyInto(out *GitOpsProject)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GitOpsProject) DeepCopyObject

func (in *GitOpsProject) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GitOpsProjectList

type GitOpsProjectList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []GitOpsProject `json:"items"`
}

GitOpsProjectList contains a list of GitOpsProject

func (*GitOpsProjectList) DeepCopy

func (in *GitOpsProjectList) DeepCopy() *GitOpsProjectList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitOpsProjectList.

func (*GitOpsProjectList) DeepCopyInto

func (in *GitOpsProjectList) DeepCopyInto(out *GitOpsProjectList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GitOpsProjectList) DeepCopyObject

func (in *GitOpsProjectList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type GitOpsProjectSpec

type GitOpsProjectSpec struct {

	// The url to the gitops repository.
	URL string `json:"url"`

	// The branch of the gitops repository holding the declcd configuration.
	Branch string `json:"branch"`

	// The name of the owner of the declcd configuration.
	Name string `json:"name"`

	// This defines how often decl will try to fetch changes from the gitops repository.
	PullIntervalSeconds int `json:"pullIntervalSeconds"`

	// This flag tells the controller to suspend subsequent executions, it does
	// not apply to already started executions.  Defaults to false.
	// +optional
	Suspend *bool `json:"suspend,omitempty"`
}

GitOpsProjectSpec defines the desired state of GitOpsProject

func (*GitOpsProjectSpec) DeepCopy

func (in *GitOpsProjectSpec) DeepCopy() *GitOpsProjectSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitOpsProjectSpec.

func (*GitOpsProjectSpec) DeepCopyInto

func (in *GitOpsProjectSpec) DeepCopyInto(out *GitOpsProjectSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GitOpsProjectStatus

type GitOpsProjectStatus struct {
	// +optional
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

GitOpsProjectStatus defines the observed state of GitOpsProject

func (*GitOpsProjectStatus) DeepCopy

func (in *GitOpsProjectStatus) DeepCopy() *GitOpsProjectStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitOpsProjectStatus.

func (*GitOpsProjectStatus) DeepCopyInto

func (in *GitOpsProjectStatus) DeepCopyInto(out *GitOpsProjectStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL