v1alpha1

package
v0.0.0-...-8224233 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API. +groupName=skasdp.org

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: nfssharecontroller.GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Nfsshare

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

	Spec   NfsshareSpec   `json:"spec"`
	Status NfsshareStatus `json:"status"`
}

Nfsshare is a specification for a Nfsshare resource

func (*Nfsshare) DeepCopy

func (in *Nfsshare) DeepCopy() *Nfsshare

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

func (*Nfsshare) DeepCopyInto

func (in *Nfsshare) DeepCopyInto(out *Nfsshare)

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

func (*Nfsshare) DeepCopyObject

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

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

type NfsshareList

type NfsshareList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []Nfsshare `json:"items"`
}

NfsshareList is a list of Nfsshare resources

func (*NfsshareList) DeepCopy

func (in *NfsshareList) DeepCopy() *NfsshareList

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

func (*NfsshareList) DeepCopyInto

func (in *NfsshareList) DeepCopyInto(out *NfsshareList)

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

func (*NfsshareList) DeepCopyObject

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

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

type NfsshareSpec

type NfsshareSpec struct {
	ShareName       string `json:"shareName"`
	Image           string `json:"image"`
	Replicas        *int32 `json:"replicas,omitempty"`
	SharedDirectory string `json:"sharedDirectory"`
	Size            string `json:"size"`
	StorageClass    string `json:"storageClass"`
}

NfsshareSpec is the spec for a Nfsshare resource

func (*NfsshareSpec) DeepCopy

func (in *NfsshareSpec) DeepCopy() *NfsshareSpec

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

func (*NfsshareSpec) DeepCopyInto

func (in *NfsshareSpec) DeepCopyInto(out *NfsshareSpec)

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

type NfsshareStatus

type NfsshareStatus struct {
	AvailableReplicas int32 `json:"availableReplicas"`
}

NfsshareStatus is the status for a Nfsshare resource

func (*NfsshareStatus) DeepCopy

func (in *NfsshareStatus) DeepCopy() *NfsshareStatus

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

func (*NfsshareStatus) DeepCopyInto

func (in *NfsshareStatus) DeepCopyInto(out *NfsshareStatus)

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