Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWaitForCmd ¶
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.
Click to show internal directories.
Click to hide internal directories.