entity

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VolumeInUseStatus = "IN-USE"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ListSnapshots

type ListSnapshots struct {
	*lsdkEntity.ListSnapshots
}

func (*ListSnapshots) IsEmpty added in v1.2.0

func (s *ListSnapshots) IsEmpty() bool

func (*ListSnapshots) Len

func (s *ListSnapshots) Len() int

type PersistentVolume added in v1.2.0

type PersistentVolume struct {
	*lcorev1.PersistentVolume
}

func NewPersistentVolume added in v1.2.0

func NewPersistentVolume(ppv *lcorev1.PersistentVolume) *PersistentVolume

type PersistentVolumeClaim added in v1.2.0

type PersistentVolumeClaim struct {
	*lcorev1.PersistentVolumeClaim
}

func NewPersistentVolumeClaim added in v1.2.0

func NewPersistentVolumeClaim(ppvc *lcorev1.PersistentVolumeClaim) *PersistentVolumeClaim

func (*PersistentVolumeClaim) GetCsiEncryptedAnnotation added in v1.2.0

func (s *PersistentVolumeClaim) GetCsiEncryptedAnnotation() string

func (*PersistentVolumeClaim) GetCsiVolumeTypeAnnotation added in v1.2.0

func (s *PersistentVolumeClaim) GetCsiVolumeTypeAnnotation() string

func (*PersistentVolumeClaim) GetStorageClassName added in v1.2.0

func (s *PersistentVolumeClaim) GetStorageClassName() string

type Snapshot

type Snapshot struct {
	*lsdkEntity.Snapshot
}

type StorageClass added in v1.2.0

type StorageClass struct {
	*lk8sstoragev1.StorageClass
}

func NewStorageClass added in v1.2.0

func NewStorageClass(psc *lk8sstoragev1.StorageClass) *StorageClass

func (*StorageClass) GetReclaimPolicyAsString added in v1.2.0

func (s *StorageClass) GetReclaimPolicyAsString() string

type Volume

type Volume struct {
	*lsdkEntity.Volume
}

func NewVolume added in v1.2.0

func NewVolume(pvol *lsdkEntity.Volume) *Volume

func (*Volume) AttachedTheInstance

func (s *Volume) AttachedTheInstance(pinstanceId string) bool

func (*Volume) CanDelete

func (s *Volume) CanDelete() bool

func (*Volume) IsAttched

func (s *Volume) IsAttched() bool

func (*Volume) IsCreating

func (s *Volume) IsCreating() bool

func (*Volume) IsError

func (s *Volume) IsError() bool

func (*Volume) IsMigration

func (s *Volume) IsMigration() bool

type VolumeType

type VolumeType struct {
	*lsdkEntity.VolumeType
}

Jump to

Keyboard shortcuts

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