daemonsetexecutor

package
v0.0.0-...-2b1da1d Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DaemonsetRemoteExecutor

type DaemonsetRemoteExecutor struct {
	//ApiServer  rest.Interface
	RESTConfig *rest.Config
	Schema     *runtime.Scheme

	LocalExecPath string
	Executor      string
	Version       string
	//DaemonsetPolicy   DaemonsetPolicyType
	DaemonsetNs    string
	DaemonsetLabel map[string]string
}

func (*DaemonsetRemoteExecutor) CheckAlive

func (r *DaemonsetRemoteExecutor) CheckAlive(ctx context.Context, injectObject string) error

func (*DaemonsetRemoteExecutor) Init

func (r *DaemonsetRemoteExecutor) Init(ctx context.Context, target string) error

Init install agent

func (*DaemonsetRemoteExecutor) Inject

func (r *DaemonsetRemoteExecutor) Inject(ctx context.Context, injectObject string, target, fault, uid, timeout, cID, cRuntime string, args []v1alpha1.ArgsUnit) error

func (*DaemonsetRemoteExecutor) Query

func (r *DaemonsetRemoteExecutor) Query(ctx context.Context, injectObject string, uid string, phase v1alpha1.PhaseType) (*model.SubExpInfo, error)

func (*DaemonsetRemoteExecutor) Recover

func (r *DaemonsetRemoteExecutor) Recover(ctx context.Context, injectObject string, uid string) error

Jump to

Keyboard shortcuts

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