daemonset

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 21, 2021 License: AGPL-3.0 Imports: 9 Imported by: 0

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
}

func New

func New(options ...Option) *Daemonset

func (*Daemonset) Create

func (d *Daemonset) Create(ds *appsv1.DaemonSet) error

func (*Daemonset) Delete

func (d *Daemonset) Delete(namespace, name string) error

func (*Daemonset) Get

func (d *Daemonset) Get(namespace, name string) (*appsv1.DaemonSet, error)

func (*Daemonset) List

func (d *Daemonset) List(namespace string, labelSelector map[string]string) (appsv1.DaemonSetList, error)

func (*Daemonset) Update

func (d *Daemonset) Update(daemonset *appsv1.DaemonSet) error

type Option

type Option func(*Daemonset)

func WithCompleteParams

func WithCompleteParams(addr string, client *httpclient.HTTPClient) Option

WithCompleteParams provides an Option

Jump to

Keyboard shortcuts

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