deployer

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: Apache-2.0 Imports: 8 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Helper

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

func NewHelper

func NewHelper(tag string, log tlog.Logger) (*Helper, error)

func NewHelperWithClient added in v0.0.9

func NewHelperWithClient(cli client.Client, tag string, log tlog.Logger) *Helper

func (*Helper) CreateObject

func (hp *Helper) CreateObject(obj client.Object) error

func (*Helper) DeleteObject

func (hp *Helper) DeleteObject(obj client.Object) error

func (*Helper) GetDaemonSetByName added in v0.0.9

func (hp *Helper) GetDaemonSetByName(namespace, name string) (*appsv1.DaemonSet, error)

func (*Helper) GetObject

func (hp *Helper) GetObject(key client.ObjectKey, obj client.Object) error

func (*Helper) GetPodsByPattern

func (hp *Helper) GetPodsByPattern(namespace, pattern string) ([]*corev1.Pod, error)

func (*Helper) IsDaemonSetGone added in v0.0.9

func (hp *Helper) IsDaemonSetGone(namespace, name string) (bool, error)

func (*Helper) IsDaemonSetRunning added in v0.0.9

func (hp *Helper) IsDaemonSetRunning(namespace, name string) (bool, error)

type WaitableObject

type WaitableObject struct {
	Obj  client.Object
	Wait func() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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