daemonset

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 11 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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