localdiskvolume

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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

func (builder *Builder) Build() (*v1alpha1.LocalDiskVolume, error)

func (*Builder) SetupAccessibility

func (builder *Builder) SetupAccessibility(topology v1alpha1.AccessibilityTopology) *Builder

func (*Builder) SetupAllocateCap

func (builder *Builder) SetupAllocateCap(caps int64) *Builder

func (*Builder) SetupDisk

func (builder *Builder) SetupDisk(devPath string) *Builder

func (*Builder) SetupDiskType

func (builder *Builder) SetupDiskType(diskTpe string) *Builder

func (*Builder) SetupLocalDiskName

func (builder *Builder) SetupLocalDiskName(ld string) *Builder

func (*Builder) SetupPVCName

func (builder *Builder) SetupPVCName(pvc string) *Builder

func (*Builder) SetupRequiredCapacityBytes

func (builder *Builder) SetupRequiredCapacityBytes(caps int64) *Builder

func (*Builder) SetupStatus

func (builder *Builder) SetupStatus(status v1alpha1.State) *Builder

func (*Builder) WithFinalizer

func (builder *Builder) WithFinalizer(finalizer []string) *Builder

func (*Builder) WithName

func (builder *Builder) WithName(name string) *Builder

type Kubeclient

type Kubeclient struct {
	// contains filtered or unexported fields
}

func NewKubeclient

func NewKubeclient() (*Kubeclient, error)

NewKubeclient

func (*Kubeclient) Create

func (*Kubeclient) Get

func (k *Kubeclient) Get(name string) (*v1alpha1.LocalDiskVolume, error)

func (*Kubeclient) Update

Jump to

Keyboard shortcuts

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