v1alpha1

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the garo v1alpha1 API group +kubebuilder:object:generate=true +groupName=garo.tietoevry.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "garo.tietoevry.com", Version: "v1alpha1"}

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

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

	Spec   GithubActionRunnerSpec   `json:"spec,omitempty"`
	Status GithubActionRunnerStatus `json:"status,omitempty"`
}

GithubActionRunner is the Schema for the githubactionrunners API +kubebuilder:subresource:status +kubebuilder:resource:path=githubactionrunners,scope=Namespaced

func (*GithubActionRunner) DeepCopy

func (in *GithubActionRunner) DeepCopy() *GithubActionRunner

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

func (*GithubActionRunner) DeepCopyInto

func (in *GithubActionRunner) DeepCopyInto(out *GithubActionRunner)

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

func (*GithubActionRunner) DeepCopyObject

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

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

type GithubActionRunnerList

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

GithubActionRunnerList contains a list of GithubActionRunner

func (*GithubActionRunnerList) DeepCopy

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

func (*GithubActionRunnerList) DeepCopyInto

func (in *GithubActionRunnerList) DeepCopyInto(out *GithubActionRunnerList)

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

func (*GithubActionRunnerList) DeepCopyObject

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

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

type GithubActionRunnerSpec

type GithubActionRunnerSpec struct {
	// kubebuilder:validation:Required
	Organization string `json:"organization"`
	// kubebuilder:validation:Optional
	Repository string `json:"repository,omitempty"`
	// +kubebuilder:validation:Minimum=0
	MinRunners int `json:"minRunners"`
	// +kubebuilder:validation:Minimum=0
	MaxRunners int                  `json:"maxRunners"`
	PodSpec    v1.PodSpec           `json:"podSpec"`
	TokenRef   v1.SecretKeySelector `json:"tokenRef"`
	// kubebuilder:default=1m
	ReconciliationPeriod string `json:"reconciliationPeriod"`
}

GithubActionRunnerSpec defines the desired state of GithubActionRunner

func (*GithubActionRunnerSpec) DeepCopy

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

func (*GithubActionRunnerSpec) DeepCopyInto

func (in *GithubActionRunnerSpec) DeepCopyInto(out *GithubActionRunnerSpec)

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

func (GithubActionRunnerSpec) GetReconciliationPeriod

func (r GithubActionRunnerSpec) GetReconciliationPeriod() time.Duration

type GithubActionRunnerStatus

type GithubActionRunnerStatus struct {
}

GithubActionRunnerStatus defines the observed state of GithubActionRunner

func (*GithubActionRunnerStatus) DeepCopy

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

func (*GithubActionRunnerStatus) DeepCopyInto

func (in *GithubActionRunnerStatus) DeepCopyInto(out *GithubActionRunnerStatus)

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