v1

package
v0.0.0-...-76b3e3d Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2020 License: MIT 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.kazylla.jp

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "gitops.kazylla.jp", 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 GitOps

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

	Spec   GitOpsSpec   `json:"spec,omitempty"`
	Status GitOpsStatus `json:"status,omitempty"`
}

GitOps is the Schema for the gitops API

func (*GitOps) DeepCopy

func (in *GitOps) DeepCopy() *GitOps

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

func (*GitOps) DeepCopyInto

func (in *GitOps) DeepCopyInto(out *GitOps)

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

func (*GitOps) DeepCopyObject

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

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

type GitOpsList

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

GitOpsList contains a list of GitOps

func (*GitOpsList) DeepCopy

func (in *GitOpsList) DeepCopy() *GitOpsList

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

func (*GitOpsList) DeepCopyInto

func (in *GitOpsList) DeepCopyInto(out *GitOpsList)

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

func (*GitOpsList) DeepCopyObject

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

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

type GitOpsSpec

type GitOpsSpec struct {
	AWSProfile string `json:"aws_profile,omitempty"`

	ImagePath      string `json:"image_path"`
	ImageTagFormat string `json:"image_tag_format"`

	GitRepo          string   `json:"git_repo"`
	GitBranch        string   `json:"git_branch"`
	GitReleaseBranch string   `json:"git_release_branch,omitempty"`
	GitPaths         []string `json:"git_paths"`
	GitCommitName    string   `json:"git_commit_name"`
	GitCommitEmail   string   `json:"git_commit_email"`
}

GitOpsSpec defines the desired state of GitOps

func (*GitOpsSpec) DeepCopy

func (in *GitOpsSpec) DeepCopy() *GitOpsSpec

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

func (*GitOpsSpec) DeepCopyInto

func (in *GitOpsSpec) DeepCopyInto(out *GitOpsSpec)

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

type GitOpsStatus

type GitOpsStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	// +optional
	CurrentTag string `json:"current_tag"`
}

GitOpsStatus defines the observed state of GitOps

func (*GitOpsStatus) DeepCopy

func (in *GitOpsStatus) DeepCopy() *GitOpsStatus

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

func (*GitOpsStatus) DeepCopyInto

func (in *GitOpsStatus) DeepCopyInto(out *GitOpsStatus)

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