v1alpha1

package
v0.0.0-...-06a2ec2 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the k8s v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=k8s.soh.re

Package v1alpha1 contains API Schema definitions for the k8s v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=k8s.soh.re

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "k8s.soh.re", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)

Functions

Types

type Coastie

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

	Spec   CoastieSpec   `json:"spec,omitempty"`
	Status CoastieStatus `json:"status,omitempty"`
}

Coastie is the Schema for the coasties API +k8s:openapi-gen=true +kubebuilder:subresource:status

func (*Coastie) DeepCopy

func (in *Coastie) DeepCopy() *Coastie

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

func (*Coastie) DeepCopyInto

func (in *Coastie) DeepCopyInto(out *Coastie)

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

func (*Coastie) DeepCopyObject

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

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

type CoastieList

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

CoastieList contains a list of Coastie

func (*CoastieList) DeepCopy

func (in *CoastieList) DeepCopy() *CoastieList

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

func (*CoastieList) DeepCopyInto

func (in *CoastieList) DeepCopyInto(out *CoastieList)

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

func (*CoastieList) DeepCopyObject

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

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

type CoastieSpec

type CoastieSpec struct {
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book.kubebuilder.io/beyond_basics/generating_crd.html
	Tests          []string `json:"tests"`
	SlackChannelID string   `json:"slackchannelid"`
	SlackToken     string   `json:"slacktoken"`
	HostURL        string   `json:"hosturl"`
}

CoastieSpec defines the desired state of Coastie +k8s:openapi-gen=true

func (*CoastieSpec) DeepCopy

func (in *CoastieSpec) DeepCopy() *CoastieSpec

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

func (*CoastieSpec) DeepCopyInto

func (in *CoastieSpec) DeepCopyInto(out *CoastieSpec)

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

type CoastieStatus

type CoastieStatus struct {
	TestResults map[string]TestResult `json"testresults"`
}

CoastieStatus defines the observed state of Coastie +k8s:openapi-gen=true

func (*CoastieStatus) DeepCopy

func (in *CoastieStatus) DeepCopy() *CoastieStatus

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

func (*CoastieStatus) DeepCopyInto

func (in *CoastieStatus) DeepCopyInto(out *CoastieStatus)

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

type TestResult

type TestResult struct {
	Status                string `json:"status,omitempty"`
	DaemonSetCreationTime string `json:"daemonsetcreationtime,omitempty"`
}

func (*TestResult) DeepCopy

func (in *TestResult) DeepCopy() *TestResult

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

func (*TestResult) DeepCopyInto

func (in *TestResult) DeepCopyInto(out *TestResult)

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