Versions in this module Expand all Collapse all v1 v1.5.2 Apr 18, 2023 Changes in this version + var JvmSpecFileForYaml = "" v1.5.1 Apr 17, 2023 Changes in this version + const BladeBin + const CategorySystemContainer + const ChaosBladeImageVersion + const DefaultImageRepo + const DstChaosBladeDir + const ForceFlag + var ChaosBladeOverrideFlag = &spec.ExpFlag + var ChaosBladeReleaseFlag = &spec.ExpFlag + var ContainerIdFlag = &spec.ExpFlag + var ContainerNameFlag = &spec.ExpFlag + var EndpointFlag = &spec.ExpFlag + var ImageRepoFlag = &spec.ExpFlag + var ImageVersionFlag = &spec.ExpFlag + func ConvertContainerOutputToResponse(output string, err error, defaultResponse *spec.Response) *spec.Response + func GetAllDockerFlagNames() map[string]spec.Empty + func GetAllExecutors() map[string]spec.Executor + func GetContainer(client *Client, uid string, containerId, containerName string) (types.Container, *spec.Response) + func GetContainerSelfFlags() []spec.ExpFlagSpec + func GetExecInContainerFlags() []spec.ExpFlagSpec + func GetExecSidecarFlags() []spec.ExpFlagSpec + func GetExecutorKey(target, action string) string + func NewContainerCommandSpec() spec.ExpModelCommandSpec + func NewDockerExpModelSpec() *dockerExpModelSpec + func NewRemoveActionCommand() spec.ExpActionCommandSpec + type BaseDockerClientExecutor struct + Client *Client + CommandFunc func(uid string, ctx context.Context, model *spec.ExpModel) string + func (b *BaseDockerClientExecutor) SetClient(expModel *spec.ExpModel) error + type Client struct + func GetClient(endpoint string) (*Client, error) + func (c *Client) CopyToContainer(ctx context.Context, containerId, srcFile, dstPath string, override bool) error + type ContainerCommandModelSpec struct + func (cms *ContainerCommandModelSpec) LongDesc() string + func (cms *ContainerCommandModelSpec) Name() string + func (cms *ContainerCommandModelSpec) ShortDesc() string + type ResourceExpModelSpec interface + ExpModels func() map[string]spec.ExpModelCommandSpec + GetExpActionModelSpec func(target, action string) spec.ExpActionCommandSpec + Scope func() string + type RunCmdInContainerExecutor interface + DeployChaosBlade func(ctx context.Context, containerId string, srcFile, extractDirName string, ...) error + func NewRunCmdInContainerExecutorByCP() RunCmdInContainerExecutor + type RunCmdInContainerExecutorByCP struct + func (r *RunCmdInContainerExecutorByCP) DeployChaosBlade(ctx context.Context, containerId string, srcFile, extractDirName string, ...) error + func (r *RunCmdInContainerExecutorByCP) Exec(uid string, ctx context.Context, expModel *spec.ExpModel) *spec.Response + func (r *RunCmdInContainerExecutorByCP) Name() string + func (r *RunCmdInContainerExecutorByCP) SetChannel(channel spec.Channel) + type RunInSidecarContainerExecutor struct + func NewNetWorkSidecarExecutor() *RunInSidecarContainerExecutor + func (*RunInSidecarContainerExecutor) Name() string + func (*RunInSidecarContainerExecutor) SetChannel(channel spec.Channel) + func (r *RunInSidecarContainerExecutor) Exec(uid string, ctx context.Context, expModel *spec.ExpModel) *spec.Response