v1alpha1

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

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

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

Index

Constants

This section is empty.

Variables

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

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

Functions

Types

type HostPathProvisioner

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

	Spec   HostPathProvisionerSpec   `json:"spec,omitempty"`
	Status HostPathProvisionerStatus `json:"status,omitempty"`
}

HostPathProvisioner is the Schema for the hostpathprovisioners API +k8s:openapi-gen=true +kubebuilder:resource:path=hostpathprovisioners,scope=Cluster

func (*HostPathProvisioner) DeepCopy

func (in *HostPathProvisioner) DeepCopy() *HostPathProvisioner

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

func (*HostPathProvisioner) DeepCopyInto

func (in *HostPathProvisioner) DeepCopyInto(out *HostPathProvisioner)

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

func (*HostPathProvisioner) DeepCopyObject

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

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

type HostPathProvisionerList

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

HostPathProvisionerList contains a list of HostPathProvisioner

func (*HostPathProvisionerList) DeepCopy

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

func (*HostPathProvisionerList) DeepCopyInto

func (in *HostPathProvisionerList) DeepCopyInto(out *HostPathProvisionerList)

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

func (*HostPathProvisionerList) DeepCopyObject

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

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

type HostPathProvisionerSpec

type HostPathProvisionerSpec struct {
	ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty" valid:"required"`
	PathConfig      PathConfig        `json:"pathConfig" valid:"required"`
}

HostPathProvisionerSpec defines the desired state of HostPathProvisioner +k8s:openapi-gen=true

func (*HostPathProvisionerSpec) DeepCopy

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

func (*HostPathProvisionerSpec) DeepCopyInto

func (in *HostPathProvisionerSpec) DeepCopyInto(out *HostPathProvisionerSpec)

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

type HostPathProvisionerStatus

type HostPathProvisionerStatus struct {
	Conditions      []conditions.Condition `json:"conditions,omitempty" optional:"true"`
	OperatorVersion string                 `json:"operatorVersion,omitempty" optional:"true"`
	TargetVersion   string                 `json:"targetVersion,omitempty" optional:"true"`
	ObservedVersion string                 `json:"observedVersion,omitempty" optional:"true"`
}

HostPathProvisionerStatus defines the observed state of HostPathProvisioner +k8s:openapi-gen=true

func (*HostPathProvisionerStatus) DeepCopy

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

func (*HostPathProvisionerStatus) DeepCopyInto

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

type PathConfig

type PathConfig struct {
	Path            string `json:"path,omitempty" valid:"required"`
	UseNamingPrefix string `json:"useNamingPrefix,omitempty"`
}

PathConfig contains the information needed to build the path where the PVs will be created. +k8s:openapi-gen=true

func (*PathConfig) DeepCopy

func (in *PathConfig) DeepCopy() *PathConfig

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

func (*PathConfig) DeepCopyInto

func (in *PathConfig) DeepCopyInto(out *PathConfig)

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