Help us shape the future of Go! Take the 2026 Go Developer Survey

daemonset

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: Apache-2.0 Imports: 11 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDaemonSetWithName added in v0.5.0

func GetDaemonSetWithName(
	ctx context.Context,
	h *helper.Helper,
	name string,
	namespace string,
) (*appsv1.DaemonSet, error)

GetDaemonSetWithName - get the daemonset object with a given name.

Types

type DaemonSet

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

DaemonSet -

func NewDaemonSet

func NewDaemonSet(
	daemonset *appsv1.DaemonSet,
	timeout time.Duration,
) *DaemonSet

NewDaemonSet returns an initialized DaemonSet

func (*DaemonSet) CreateOrPatch

func (d *DaemonSet) CreateOrPatch(
	ctx context.Context,
	h *helper.Helper,
) (ctrl.Result, error)

CreateOrPatch - creates or patches a DaemonSet, reconciles after Xs if object won't exist.

func (*DaemonSet) Delete

func (d *DaemonSet) Delete(
	ctx context.Context,
	h *helper.Helper,
) error

Delete - delete a daemonset.

func (*DaemonSet) GetDaemonSet

func (d *DaemonSet) GetDaemonSet() appsv1.DaemonSet

GetDaemonSet - get the daemonset object.

Jump to

Keyboard shortcuts

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