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
Click to show internal directories.
Click to hide internal directories.