Documentation ¶
Index ¶
- type Builder
- func (builder *Builder) Build() (*v1alpha1.LocalDiskVolume, error)
- func (builder *Builder) SetupAccessibility(topology v1alpha1.AccessibilityTopology) *Builder
- func (builder *Builder) SetupAllocateCap(caps int64) *Builder
- func (builder *Builder) SetupDisk(devPath string) *Builder
- func (builder *Builder) SetupDiskType(diskTpe string) *Builder
- func (builder *Builder) SetupLocalDiskName(ld string) *Builder
- func (builder *Builder) SetupPVCName(pvc string) *Builder
- func (builder *Builder) SetupRequiredCapacityBytes(caps int64) *Builder
- func (builder *Builder) SetupStatus(status v1alpha1.State) *Builder
- func (builder *Builder) WithFinalizer(finalizer []string) *Builder
- func (builder *Builder) WithName(name string) *Builder
- type Kubeclient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func NewBuilder ¶
func NewBuilder() *Builder
func NewBuilderFrom ¶
func NewBuilderFrom(volume *v1alpha1.LocalDiskVolume) *Builder
func (*Builder) SetupAccessibility ¶
func (builder *Builder) SetupAccessibility(topology v1alpha1.AccessibilityTopology) *Builder
func (*Builder) SetupAllocateCap ¶
func (*Builder) SetupDiskType ¶
func (*Builder) SetupLocalDiskName ¶
func (*Builder) SetupPVCName ¶
func (*Builder) SetupRequiredCapacityBytes ¶
func (*Builder) WithFinalizer ¶
type Kubeclient ¶
type Kubeclient struct {
// contains filtered or unexported fields
}
func (*Kubeclient) Create ¶
func (k *Kubeclient) Create(vol *v1alpha1.LocalDiskVolume) (*v1alpha1.LocalDiskVolume, error)
func (*Kubeclient) Get ¶
func (k *Kubeclient) Get(name string) (*v1alpha1.LocalDiskVolume, error)
func (*Kubeclient) Update ¶
func (k *Kubeclient) Update(volume *v1alpha1.LocalDiskVolume) (*v1alpha1.LocalDiskVolume, error)
Click to show internal directories.
Click to hide internal directories.