v1alpha1

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2020 License: LGPL-2.1 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the catalog v1alpha1 API group +kubebuilder:object:generate=true +groupName=catalog.xrootd.org

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "catalog.xrootd.org", 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 XrootdVersion

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

	Spec   XrootdVersionSpec   `json:"spec,omitempty"`
	Status XrootdVersionStatus `json:"status,omitempty"`
}

XrootdVersion is the Schema for the xrootdversions API. Before deploying Xrootd Cluster, required Xrootd protocol version and its docker image must be provided using this CRD in the cluster's target namespace.

func (*XrootdVersion) DeepCopy

func (in *XrootdVersion) DeepCopy() *XrootdVersion

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

func (*XrootdVersion) DeepCopyInto

func (in *XrootdVersion) DeepCopyInto(out *XrootdVersion)

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

func (*XrootdVersion) DeepCopyObject

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

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

type XrootdVersionList

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

XrootdVersionList contains a list of XrootdVersion

func (*XrootdVersionList) DeepCopy

func (in *XrootdVersionList) DeepCopy() *XrootdVersionList

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

func (*XrootdVersionList) DeepCopyInto

func (in *XrootdVersionList) DeepCopyInto(out *XrootdVersionList)

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

func (*XrootdVersionList) DeepCopyObject

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

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

type XrootdVersionSpec

type XrootdVersionSpec struct {

	// Version of the xrootd application in the provided image
	// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Xrootd Version"
	Version types.CatalogVersion `json:"version"`
	// Is this version deprecated for production use?
	// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Is Deprecated?",xDescriptors="urn:alm:descriptor:com.tectonic.ui:booleanSwitch"
	// +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors="urn:alm:descriptor:com.tectonic.ui:advanced"
	Deprecated bool `json:"deprecated,omitempty"`
	// Image name, with a tag, with xrootd installed
	// +kubebuilder:validation:Pattern=".+:.+"
	Image string `json:"image"`
}

XrootdVersionSpec defines the desired state of XrootdVersion

func (*XrootdVersionSpec) DeepCopy

func (in *XrootdVersionSpec) DeepCopy() *XrootdVersionSpec

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

func (*XrootdVersionSpec) DeepCopyInto

func (in *XrootdVersionSpec) DeepCopyInto(out *XrootdVersionSpec)

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

type XrootdVersionStatus

type XrootdVersionStatus struct {
}

XrootdVersionStatus defines the observed state of XrootdVersion

func (*XrootdVersionStatus) DeepCopy

func (in *XrootdVersionStatus) DeepCopy() *XrootdVersionStatus

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

func (*XrootdVersionStatus) DeepCopyInto

func (in *XrootdVersionStatus) DeepCopyInto(out *XrootdVersionStatus)

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