v1alpha1

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2021 License: GPL-3.0 Imports: 5 Imported by: 1

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the support v1alpha1 API group +kubebuilder:object:generate=true +groupName=support.openshift.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "support.openshift.io", 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 Sosreport

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

	Spec   SosreportSpec   `json:"spec,omitempty"`
	Status SosreportStatus `json:"status,omitempty"`
}

Sosreport is the Schema for the sosreports API

func (*Sosreport) DeepCopy

func (in *Sosreport) DeepCopy() *Sosreport

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

func (*Sosreport) DeepCopyInto

func (in *Sosreport) DeepCopyInto(out *Sosreport)

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

func (*Sosreport) DeepCopyObject

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

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

type SosreportList

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

SosreportList contains a list of Sosreport

func (*SosreportList) DeepCopy

func (in *SosreportList) DeepCopy() *SosreportList

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

func (*SosreportList) DeepCopyInto

func (in *SosreportList) DeepCopyInto(out *SosreportList)

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

func (*SosreportList) DeepCopyObject

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

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

type SosreportSpec

type SosreportSpec struct {
	// Select nodes to run sosreports on.
	// For example, in order to generate Sosreports on all master nodes, use
	// node-role.kubernetes.io/master: ""
	NodeSelector map[string]string `json:"nodeSelector,omitempty"`
	// Sosreport jobs will respect Node Taints. One can work around this by configuring tolerations.
	Tolerations []corev1.Toleration `json:"tolerations,omitempty" protobuf:"bytes,22,opt,name=tolerations"`
}

SosreportSpec defines the desired state of Sosreport

func (*SosreportSpec) DeepCopy

func (in *SosreportSpec) DeepCopy() *SosreportSpec

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

func (*SosreportSpec) DeepCopyInto

func (in *SosreportSpec) DeepCopyInto(out *SosreportSpec)

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

type SosreportStatus

type SosreportStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	Finished   bool `json:"finished,omitempty"`
	InProgress bool `json:"inprogress,omitempty"`
}

SosreportStatus defines the observed state of Sosreport

func (*SosreportStatus) DeepCopy

func (in *SosreportStatus) DeepCopy() *SosreportStatus

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

func (*SosreportStatus) DeepCopyInto

func (in *SosreportStatus) DeepCopyInto(out *SosreportStatus)

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