topolvm: github.com/cybozu-go/topolvm/api/v1 Index | Files

package v1

import "github.com/cybozu-go/topolvm/api/v1"

Package v1 contains API Schema definitions for the topolvm v1 API group +kubebuilder:object:generate=true +groupName=topolvm.cybozu.com

Index

Package Files

groupversion_info.go logicalvolume_types.go zz_generated.deepcopy.go

Variables

var (
    // GroupVersion is group version used to register these objects
    GroupVersion = schema.GroupVersion{Group: "topolvm.cybozu.com", Version: "v1"}

    // 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
)

type LogicalVolume Uses

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

    Spec   LogicalVolumeSpec   `json:"spec,omitempty"`
    Status LogicalVolumeStatus `json:"status,omitempty"`
}

LogicalVolume is the Schema for the logicalvolumes API

func (*LogicalVolume) DeepCopy Uses

func (in *LogicalVolume) DeepCopy() *LogicalVolume

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

func (*LogicalVolume) DeepCopyInto Uses

func (in *LogicalVolume) DeepCopyInto(out *LogicalVolume)

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

func (*LogicalVolume) DeepCopyObject Uses

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

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

func (*LogicalVolume) IsCompatibleWith Uses

func (lv *LogicalVolume) IsCompatibleWith(lv2 *LogicalVolume) bool

IsCompatibleWith returns true if the LogicalVolume is compatible.

type LogicalVolumeList Uses

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

LogicalVolumeList contains a list of LogicalVolume

func (*LogicalVolumeList) DeepCopy Uses

func (in *LogicalVolumeList) DeepCopy() *LogicalVolumeList

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

func (*LogicalVolumeList) DeepCopyInto Uses

func (in *LogicalVolumeList) DeepCopyInto(out *LogicalVolumeList)

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

func (*LogicalVolumeList) DeepCopyObject Uses

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

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

type LogicalVolumeSpec Uses

type LogicalVolumeSpec struct {
    // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
    // Important: Run "make" to regenerate code after modifying this file
    Name     string            `json:"name"`
    NodeName string            `json:"nodeName"`
    Size     resource.Quantity `json:"size"`
}

LogicalVolumeSpec defines the desired state of LogicalVolume

func (*LogicalVolumeSpec) DeepCopy Uses

func (in *LogicalVolumeSpec) DeepCopy() *LogicalVolumeSpec

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

func (*LogicalVolumeSpec) DeepCopyInto Uses

func (in *LogicalVolumeSpec) DeepCopyInto(out *LogicalVolumeSpec)

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

type LogicalVolumeStatus Uses

type LogicalVolumeStatus struct {
    // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
    // Important: Run "make" to regenerate code after modifying this file
    VolumeID string     `json:"volumeID,omitempty"`
    Code     codes.Code `json:"code,omitempty"`
    Message  string     `json:"message,omitempty"`
}

LogicalVolumeStatus defines the observed state of LogicalVolume

func (*LogicalVolumeStatus) DeepCopy Uses

func (in *LogicalVolumeStatus) DeepCopy() *LogicalVolumeStatus

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

func (*LogicalVolumeStatus) DeepCopyInto Uses

func (in *LogicalVolumeStatus) DeepCopyInto(out *LogicalVolumeStatus)

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

Package v1 imports 6 packages (graph) and is imported by 2 packages. Updated 2019-10-04. Refresh now. Tools for package owners.