localdisknode

package
v0.15.4 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 8 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 {
	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

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

func (*Kubeclient) SetClient

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