v1alpha1

package
v0.0.0-...-a89ae24 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APIGroup   = "storage.deckhouse.io"
	APIVersion = "v1alpha1"
)

Variables

View Source
var (
	SchemeGroupVersion = schema.GroupVersion{
		Group:   APIGroup,
		Version: APIVersion,
	}
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)

SchemeGroupVersion is group version used to register these objects

Functions

This section is empty.

Types

type BlockDevice

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

	Status BlockDeviceStatus `json:"status"`
}

BlockDevice empty block device

func (*BlockDevice) DeepCopy

func (in *BlockDevice) DeepCopy() *BlockDevice

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

func (*BlockDevice) DeepCopyInto

func (in *BlockDevice) DeepCopyInto(out *BlockDevice)

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

func (*BlockDevice) DeepCopyObject

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

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

type BlockDeviceList

type BlockDeviceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []BlockDevice `json:"items"`
}

BlockDeviceList contains a list of empty block device

func (*BlockDeviceList) DeepCopy

func (in *BlockDeviceList) DeepCopy() *BlockDeviceList

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

func (*BlockDeviceList) DeepCopyInto

func (in *BlockDeviceList) DeepCopyInto(out *BlockDeviceList)

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

func (*BlockDeviceList) DeepCopyObject

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

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

type BlockDeviceStatus

type BlockDeviceStatus struct {
	Type                  string            `json:"type"`
	FsType                string            `json:"fsType"`
	NodeName              string            `json:"nodeName"`
	Consumable            bool              `json:"consumable"`
	PVUuid                string            `json:"pvUUID"`
	VGUuid                string            `json:"vgUUID"`
	PartUUID              string            `json:"partUUID"`
	LVMVolumeGroupName    string            `json:"lvmVolumeGroupName"`
	ActualVGNameOnTheNode string            `json:"actualVGNameOnTheNode"`
	Wwn                   string            `json:"wwn"`
	Serial                string            `json:"serial"`
	Path                  string            `json:"path"`
	Size                  resource.Quantity `json:"size"`
	Model                 string            `json:"model"`
	Rota                  bool              `json:"rota"`
	HotPlug               bool              `json:"hotPlug"`
	MachineID             string            `json:"machineId"`
}

type LVMLogicalVolume

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

	Spec   LVMLogicalVolumeSpec    `json:"spec"`
	Status *LVMLogicalVolumeStatus `json:"status,omitempty"`
}

func (*LVMLogicalVolume) DeepCopy

func (in *LVMLogicalVolume) DeepCopy() *LVMLogicalVolume

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

func (*LVMLogicalVolume) DeepCopyInto

func (in *LVMLogicalVolume) DeepCopyInto(out *LVMLogicalVolume)

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

func (*LVMLogicalVolume) DeepCopyObject

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

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

type LVMLogicalVolumeList

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

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

func (*LVMLogicalVolumeList) DeepCopy

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

func (*LVMLogicalVolumeList) DeepCopyInto

func (in *LVMLogicalVolumeList) DeepCopyInto(out *LVMLogicalVolumeList)

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

func (*LVMLogicalVolumeList) DeepCopyObject

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

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

type LVMLogicalVolumeSnapshot

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

	Spec   LVMLogicalVolumeSnapshotSpec    `json:"spec"`
	Status *LVMLogicalVolumeSnapshotStatus `json:"status,omitempty"`
}

+k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*LVMLogicalVolumeSnapshot) ActualSnapshotNameOnTheNode

func (llvs *LVMLogicalVolumeSnapshot) ActualSnapshotNameOnTheNode() string

func (*LVMLogicalVolumeSnapshot) DeepCopy

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

func (*LVMLogicalVolumeSnapshot) DeepCopyInto

func (in *LVMLogicalVolumeSnapshot) DeepCopyInto(out *LVMLogicalVolumeSnapshot)

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

func (*LVMLogicalVolumeSnapshot) DeepCopyObject

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

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

type LVMLogicalVolumeSnapshotList

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

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

+k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*LVMLogicalVolumeSnapshotList) DeepCopy

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

func (*LVMLogicalVolumeSnapshotList) DeepCopyInto

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

func (*LVMLogicalVolumeSnapshotList) DeepCopyObject

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

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

type LVMLogicalVolumeSnapshotSpec

type LVMLogicalVolumeSnapshotSpec struct {
	ActualSnapshotNameOnTheNode string `json:"actualSnapshotNameOnTheNode"`
	LVMLogicalVolumeName        string `json:"lvmLogicalVolumeName"`
}

+k8s:deepcopy-gen=true

func (*LVMLogicalVolumeSnapshotSpec) DeepCopy

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

func (*LVMLogicalVolumeSnapshotSpec) DeepCopyInto

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

type LVMLogicalVolumeSnapshotStatus

type LVMLogicalVolumeSnapshotStatus struct {
	NodeName              string            `json:"nodeName"`
	ActualVGNameOnTheNode string            `json:"actualVGNameOnTheNode"`
	ActualLVNameOnTheNode string            `json:"actualLVNameOnTheNode"`
	Phase                 string            `json:"phase"`
	Reason                string            `json:"reason"`
	Size                  resource.Quantity `json:"size"`
	UsedSize              resource.Quantity `json:"usedSize"`
}

+k8s:deepcopy-gen=true

func (*LVMLogicalVolumeSnapshotStatus) DeepCopy

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

func (*LVMLogicalVolumeSnapshotStatus) DeepCopyInto

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

type LVMLogicalVolumeSource

type LVMLogicalVolumeSource struct {
	// Either LVMLogicalVolume or LVMLogicalVolumeSnapshot
	Kind string `json:"kind"`
	Name string `json:"name"`
}

type LVMLogicalVolumeSpec

type LVMLogicalVolumeSpec struct {
	ActualLVNameOnTheNode string                     `json:"actualLVNameOnTheNode"`
	Type                  string                     `json:"type"`
	Size                  string                     `json:"size"`
	LVMVolumeGroupName    string                     `json:"lvmVolumeGroupName"`
	Source                *LVMLogicalVolumeSource    `json:"source"`
	Thin                  *LVMLogicalVolumeThinSpec  `json:"thin"`
	Thick                 *LVMLogicalVolumeThickSpec `json:"thick"`
}

type LVMLogicalVolumeStatus

type LVMLogicalVolumeStatus struct {
	Phase      string            `json:"phase"`
	Reason     string            `json:"reason"`
	ActualSize resource.Quantity `json:"actualSize"`
	Contiguous *bool             `json:"contiguous"`
}

type LVMLogicalVolumeThickSpec

type LVMLogicalVolumeThickSpec struct {
	Contiguous *bool `json:"contiguous"`
}

type LVMLogicalVolumeThinSpec

type LVMLogicalVolumeThinSpec struct {
	PoolName string `json:"poolName"`
}

type LVMVolumeGroup

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

	Spec   LVMVolumeGroupSpec   `json:"spec"`
	Status LVMVolumeGroupStatus `json:"status,omitempty"`
}

func (*LVMVolumeGroup) DeepCopy

func (in *LVMVolumeGroup) DeepCopy() *LVMVolumeGroup

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

func (*LVMVolumeGroup) DeepCopyInto

func (in *LVMVolumeGroup) DeepCopyInto(out *LVMVolumeGroup)

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

func (*LVMVolumeGroup) DeepCopyObject

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

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

type LVMVolumeGroupDevice

type LVMVolumeGroupDevice struct {
	BlockDevice string            `json:"blockDevice"`
	DevSize     resource.Quantity `json:"devSize"`
	PVSize      resource.Quantity `json:"pvSize"`
	PVUuid      string            `json:"pvUUID"`
	Path        string            `json:"path"`
}

type LVMVolumeGroupList

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

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

func (*LVMVolumeGroupList) DeepCopy

func (in *LVMVolumeGroupList) DeepCopy() *LVMVolumeGroupList

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

func (*LVMVolumeGroupList) DeepCopyInto

func (in *LVMVolumeGroupList) DeepCopyInto(out *LVMVolumeGroupList)

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

func (*LVMVolumeGroupList) DeepCopyObject

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

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

type LVMVolumeGroupLocalSpec

type LVMVolumeGroupLocalSpec struct {
	NodeName string `json:"nodeName"`
}

type LVMVolumeGroupNode

type LVMVolumeGroupNode struct {
	Devices []LVMVolumeGroupDevice `json:"devices"`
	Name    string                 `json:"name"`
}

type LVMVolumeGroupSet

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

	Spec   LVMVolumeGroupSetSpec   `json:"spec"`
	Status LVMVolumeGroupSetStatus `json:"status,omitempty"`
}

func (*LVMVolumeGroupSet) DeepCopy

func (in *LVMVolumeGroupSet) DeepCopy() *LVMVolumeGroupSet

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

func (*LVMVolumeGroupSet) DeepCopyInto

func (in *LVMVolumeGroupSet) DeepCopyInto(out *LVMVolumeGroupSet)

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

func (*LVMVolumeGroupSet) DeepCopyObject

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

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

type LVMVolumeGroupSetList

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

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

func (*LVMVolumeGroupSetList) DeepCopy

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

func (*LVMVolumeGroupSetList) DeepCopyInto

func (in *LVMVolumeGroupSetList) DeepCopyInto(out *LVMVolumeGroupSetList)

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

func (*LVMVolumeGroupSetList) DeepCopyObject

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

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

type LVMVolumeGroupSetSpec

type LVMVolumeGroupSetSpec struct {
	NodeSelector *metav1.LabelSelector  `json:"nodeSelector"`
	LVGTemplate  LVMVolumeGroupTemplate `json:"lvmVolumeGroupTemplate"`
	Strategy     string                 `json:"strategy"`
}

type LVMVolumeGroupSetStatus

type LVMVolumeGroupSetStatus struct {
	CreatedLVGs                 []LVMVolumeGroupSetStatusLVG `json:"createdLVMVolumeGroups"`
	CurrentLVMVolumeGroupsCount int                          `json:"currentLVMVolumeGroupsCount"`
	DesiredLVMVolumeGroupsCount int                          `json:"desiredLVMVolumeGroupsCount"`
	Phase                       string                       `json:"phase"`
	Reason                      string                       `json:"reason"`
}

type LVMVolumeGroupSetStatusLVG

type LVMVolumeGroupSetStatusLVG struct {
	LVMVolumeGroupName string `json:"lvmVolumeGroupName"`
	NodeName           string `json:"nodeName"`
}

type LVMVolumeGroupSpec

type LVMVolumeGroupSpec struct {
	ActualVGNameOnTheNode string                       `json:"actualVGNameOnTheNode"`
	BlockDeviceSelector   *metav1.LabelSelector        `json:"blockDeviceSelector"`
	ThinPools             []LVMVolumeGroupThinPoolSpec `json:"thinPools"`
	Type                  string                       `json:"type"`
	Local                 LVMVolumeGroupLocalSpec      `json:"local"`
}

type LVMVolumeGroupStatus

type LVMVolumeGroupStatus struct {
	AllocatedSize        resource.Quantity              `json:"allocatedSize"`
	Nodes                []LVMVolumeGroupNode           `json:"nodes"`
	ThinPools            []LVMVolumeGroupThinPoolStatus `json:"thinPools"`
	VGSize               resource.Quantity              `json:"vgSize"`
	VGUuid               string                         `json:"vgUUID"`
	Phase                string                         `json:"phase"`
	Conditions           []metav1.Condition             `json:"conditions"`
	ThinPoolReady        string                         `json:"thinPoolReady"`
	ConfigurationApplied string                         `json:"configurationApplied"`
	VGFree               resource.Quantity              `json:"vgFree"`
}

type LVMVolumeGroupTemplate

type LVMVolumeGroupTemplate struct {
	Metadata              LVMVolumeGroupTemplateMeta   `json:"metadata"`
	BlockDeviceSelector   *metav1.LabelSelector        `json:"blockDeviceSelector"`
	ActualVGNameOnTheNode string                       `json:"actualVGNameOnTheNode"`
	ThinPools             []LVMVolumeGroupThinPoolSpec `json:"thinPools"`
	Type                  string                       `json:"type"`
}

type LVMVolumeGroupTemplateMeta

type LVMVolumeGroupTemplateMeta struct {
	Labels map[string]string `json:"labels"`
}

type LVMVolumeGroupThinPoolSpec

type LVMVolumeGroupThinPoolSpec struct {
	Name            string `json:"name"`
	Size            string `json:"size"`
	AllocationLimit string `json:"allocationLimit"`
}

type LVMVolumeGroupThinPoolStatus

type LVMVolumeGroupThinPoolStatus struct {
	Name            string            `json:"name"`
	ActualSize      resource.Quantity `json:"actualSize"`
	UsedSize        resource.Quantity `json:"usedSize"`
	AllocatedSize   resource.Quantity `json:"allocatedSize"`
	AvailableSpace  resource.Quantity `json:"availableSpace"`
	AllocationLimit string            `json:"allocationLimit"`
	Ready           bool              `json:"ready"`
	Message         string            `json:"message"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL