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 ¶
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 ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Coastie.
func (*Coastie) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Coastie) DeepCopyObject ¶
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.