localdisknode

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	DiskNode *v1alpha1.LocalDiskNode
	// contains filtered or unexported fields
}

Builder for LocalDiskNode resource

func NewBuilder

func NewBuilder() *Builder

func (*Builder) Build

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

func (*Builder) SetupAttachNode

func (builder *Builder) SetupAttachNode(node 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.LocalDiskNode, error)

func (*Kubeclient) List

func (*Kubeclient) Patch added in v0.10.0

func (k *Kubeclient) Patch(ldnOld, ldnNew *v1alpha1.LocalDiskNode) error

func (*Kubeclient) SetClient added in v0.14.0

func (k *Kubeclient) SetClient(cli clientset.Interface)

func (*Kubeclient) Update

Jump to

Keyboard shortcuts

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