v1

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the feature-branch v1 API group +k8s:deepcopy-gen=package,register +groupName=feature-branch.dmytrostriletskyi.com

+k8s:deepcopy-gen=package,register +groupName=feature-branch.dmytrostriletskyi.com

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeGroupVersion = schema.GroupVersion{Group: featurebranch.ApiGroupName, Version: featurebranch.ApiGroupVersion}
	SchemeBuilder      = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)

Functions

This section is empty.

Types

type StaleFeatureBranch

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

	Spec   StaleFeatureBranchSpec   `json:"spec,omitempty"`
	Status StaleFeatureBranchStatus `json:"status,omitempty"`
}

StaleFeatureBranch is the Schema for the stalefeaturebranches API +kubebuilder:subresource:status +kubebuilder:resource:path=stalefeaturebranches,scope=Namespaced,shortName=sfb

func (*StaleFeatureBranch) DeepCopy

func (in *StaleFeatureBranch) DeepCopy() *StaleFeatureBranch

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

func (*StaleFeatureBranch) DeepCopyInto

func (in *StaleFeatureBranch) DeepCopyInto(out *StaleFeatureBranch)

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

func (*StaleFeatureBranch) DeepCopyObject

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

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

type StaleFeatureBranchList

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

StaleFeatureBranchList contains a list of StaleFeatureBranch

func (*StaleFeatureBranchList) DeepCopy

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

func (*StaleFeatureBranchList) DeepCopyInto

func (in *StaleFeatureBranchList) DeepCopyInto(out *StaleFeatureBranchList)

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

func (*StaleFeatureBranchList) DeepCopyObject

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

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

type StaleFeatureBranchSpec

type StaleFeatureBranchSpec struct {
	// +kubebuilder:validation:Required
	NamespaceSubstring string `json:"namespaceSubstring"`

	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Minimum=1
	AfterDaysWithoutDeploy int `json:"afterDaysWithoutDeploy"`

	// +kubebuilder:validation:Optional
	// +kubebuilder:validation:Minimum=1
	// +kubebuilder:default=30
	CheckEveryMinutes int `json:"checkEveryMinutes"`
}

StaleFeatureBranchSpec defines the desired state of StaleFeatureBranch

func (*StaleFeatureBranchSpec) DeepCopy

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

func (*StaleFeatureBranchSpec) DeepCopyInto

func (in *StaleFeatureBranchSpec) DeepCopyInto(out *StaleFeatureBranchSpec)

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

type StaleFeatureBranchStatus

type StaleFeatureBranchStatus struct {
}

StaleFeatureBranchStatus defines the observed state of StaleFeatureBranch

func (*StaleFeatureBranchStatus) DeepCopy

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

func (*StaleFeatureBranchStatus) DeepCopyInto

func (in *StaleFeatureBranchStatus) DeepCopyInto(out *StaleFeatureBranchStatus)

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