Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExecOption ¶
type ExecOption interface {
// contains filtered or unexported methods
}
func WithExecCommand ¶
func WithExecCommand(command []string) ExecOption
func WithExecEnvs ¶
func WithExecEnvs(envs map[string]string) ExecOption
func WithExecUser ¶
func WithExecUser(user string) ExecOption
type Manager ¶
type Manager interface { Run(ctx context.Context, devkName, namespace string, mutators ...mutator.Mutator) error Delete(ctx context.Context, devkName, namespace string, force bool) error Update(ctx context.Context, devkName, namespace string, force bool, mutators ...mutator.Mutator) error Exec(ctx context.Context, devkName, namespace string, opts ...ExecOption) error PortForward(ctx context.Context, devkName, namespace string, opts ...PortForwardOption) error Start(ctx context.Context, devkName, namespace string, mutators ...mutator.Mutator) error Stop(ctx context.Context, devkName, namespace string, force bool) error List(ctx context.Context, namespace string) ([]info.DevkInfoAccessor, error) Protect(ctx context.Context, devkName, namespace string) error Unprotect(ctx context.Context, devkName, namespace string) error Events(ctx context.Context, devkName, namespace string, watch bool, handler func(obj runtime.Object) error) error }
type PortForwardOption ¶
type PortForwardOption interface {
// contains filtered or unexported methods
}
func WithPortForwardAddresses ¶
func WithPortForwardAddresses(addresses []string) PortForwardOption
func WithPortForwardPorts ¶
func WithPortForwardPorts(ports []string) PortForwardOption
Click to show internal directories.
Click to hide internal directories.