Documentation
¶
Index ¶
- Constants
- type Channel
- func (c *Channel) GetBladePodByContainer(container, pod, namespace, kubeconfig string) (string, error)
- func (*Channel) GetScriptPath() string
- func (c *Channel) PatchContainerToPod(deployment, namespace string, start bool) *transport.Response
- func (c *Channel) Run(ctx context.Context, script, args string) *transport.Response
- type CommandModelSpec
- func (*CommandModelSpec) Actions() []exec.ExpActionCommandSpec
- func (*CommandModelSpec) Example() string
- func (cms *CommandModelSpec) Flags() []exec.ExpFlagSpec
- func (*CommandModelSpec) LongDesc() string
- func (*CommandModelSpec) Name() string
- func (cms *CommandModelSpec) PreExecutor() exec.PreExecutor
- func (*CommandModelSpec) ShortDesc() string
- type DeleteActionCommandSpec
- func (*DeleteActionCommandSpec) Aliases() []string
- func (*DeleteActionCommandSpec) Executor(channels exec.Channel) exec.Executor
- func (*DeleteActionCommandSpec) Flags() []exec.ExpFlagSpec
- func (*DeleteActionCommandSpec) LongDesc() string
- func (*DeleteActionCommandSpec) Matchers() []exec.ExpFlagSpec
- func (*DeleteActionCommandSpec) Name() string
- func (*DeleteActionCommandSpec) ShortDesc() string
- type Executor
- type PreExecutor
Constants ¶
View Source
const BladeNS = "chaosblade"
View Source
const Command = "kubectl"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶
type Channel struct {
// contains filtered or unexported fields
}
func (*Channel) GetBladePodByContainer ¶
func (*Channel) GetScriptPath ¶
func (*Channel) PatchContainerToPod ¶
type CommandModelSpec ¶
type CommandModelSpec struct { }
func (*CommandModelSpec) Actions ¶
func (*CommandModelSpec) Actions() []exec.ExpActionCommandSpec
func (*CommandModelSpec) Example ¶
func (*CommandModelSpec) Example() string
func (*CommandModelSpec) Flags ¶
func (cms *CommandModelSpec) Flags() []exec.ExpFlagSpec
func (*CommandModelSpec) LongDesc ¶
func (*CommandModelSpec) LongDesc() string
func (*CommandModelSpec) Name ¶
func (*CommandModelSpec) Name() string
func (*CommandModelSpec) PreExecutor ¶
func (cms *CommandModelSpec) PreExecutor() exec.PreExecutor
func (*CommandModelSpec) ShortDesc ¶
func (*CommandModelSpec) ShortDesc() string
type DeleteActionCommandSpec ¶
type DeleteActionCommandSpec struct { }
func (*DeleteActionCommandSpec) Aliases ¶
func (*DeleteActionCommandSpec) Aliases() []string
func (*DeleteActionCommandSpec) Executor ¶
func (*DeleteActionCommandSpec) Executor(channels exec.Channel) exec.Executor
func (*DeleteActionCommandSpec) Flags ¶
func (*DeleteActionCommandSpec) Flags() []exec.ExpFlagSpec
func (*DeleteActionCommandSpec) LongDesc ¶
func (*DeleteActionCommandSpec) LongDesc() string
func (*DeleteActionCommandSpec) Matchers ¶
func (*DeleteActionCommandSpec) Matchers() []exec.ExpFlagSpec
func (*DeleteActionCommandSpec) Name ¶
func (*DeleteActionCommandSpec) Name() string
func (*DeleteActionCommandSpec) ShortDesc ¶
func (*DeleteActionCommandSpec) ShortDesc() string
Click to show internal directories.
Click to hide internal directories.