kubectl

package
v0.35.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDaemonlessKubectl added in v0.16.0

func NewDaemonlessKubectl(
	logger log.Logger,
	builderBuilder *templates.BuilderBuilder,
	statemanager state.Manager,
) lifecycle.KubectlApply

func NewKubectl

func NewKubectl(
	logger log.Logger,
	daemon daemontypes.Daemon,
	builderBuilder *templates.BuilderBuilder,
) lifecycle.KubectlApply

Types

type DaemonlessKubectl added in v0.16.0

type DaemonlessKubectl struct {
	Logger         log.Logger
	Status         daemontypes.StatusReceiver
	StateManager   state.Manager
	BuilderBuilder *templates.BuilderBuilder
}

func (*DaemonlessKubectl) Execute added in v0.16.0

func (d *DaemonlessKubectl) Execute(ctx context.Context, release api.Release, step api.KubectlApply, confirmedChan chan bool) error

TODO I need tests

func (*DaemonlessKubectl) WithStatusReceiver added in v0.16.0

func (d *DaemonlessKubectl) WithStatusReceiver(statusReceiver daemontypes.StatusReceiver) lifecycle.KubectlApply

type ForkKubectl

type ForkKubectl struct {
	Logger         log.Logger
	Daemon         daemontypes.Daemon
	BuilderBuilder *templates.BuilderBuilder
}

func (*ForkKubectl) Execute

func (k *ForkKubectl) Execute(ctx context.Context, release api.Release, step api.KubectlApply, confirmedChan chan bool) error

func (*ForkKubectl) WithStatusReceiver added in v0.16.0

func (k *ForkKubectl) WithStatusReceiver(status daemontypes.StatusReceiver) lifecycle.KubectlApply

WithStatusReceiver is a no-op for the ForkKubectl implementation using Daemon

Jump to

Keyboard shortcuts

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