agent

package
v1.4.19-ec5 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWaitForCmd

func NewWaitForCmd() *cobra.Command

NewWaitForCmd create the commands for waiting the completion of the agent based cluster installation.

Types

type ContextWrapper

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

ContextWrapper is a context decorator.

func NewContextWrapper

func NewContextWrapper(ctx context.Context) *ContextWrapper

NewContextWrapper creates a new ContextWrapper instance.

func (*ContextWrapper) AddValue

func (a *ContextWrapper) AddValue(key, value interface{})

AddValue allows to add a new value in the context.

func (*ContextWrapper) Deadline

func (a *ContextWrapper) Deadline() (deadline time.Time, ok bool)

Deadline returns the context Deadline.

func (*ContextWrapper) Done

func (a *ContextWrapper) Done() <-chan struct{}

Done returns the context Done channel.

func (*ContextWrapper) Err

func (a *ContextWrapper) Err() error

Err returns the context current error.

func (*ContextWrapper) Value

func (a *ContextWrapper) Value(key any) any

Value returns the context Value.

Jump to

Keyboard shortcuts

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