Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandExecutor ¶
CommandExecutor is an autogenerated mock type for the CommandExecutor type
func NewCommandExecutor ¶ added in v0.14.0
func NewCommandExecutor(t mockConstructorTestingTNewCommandExecutor) *CommandExecutor
NewCommandExecutor creates a new instance of CommandExecutor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*CommandExecutor) ExecCommandForDogu ¶ added in v0.14.0
func (_m *CommandExecutor) ExecCommandForDogu(ctx context.Context, doguResource *v1.Dogu, command *exec.ShellCommand, expectedStatus exec.PodStatus) (*bytes.Buffer, error)
ExecCommandForDogu provides a mock function with given fields: ctx, doguResource, command, expectedStatus
func (*CommandExecutor) ExecCommandForPod ¶ added in v0.14.0
func (_m *CommandExecutor) ExecCommandForPod(ctx context.Context, pod *corev1.Pod, command *exec.ShellCommand, expectedStatus exec.PodStatus) (*bytes.Buffer, error)
ExecCommandForPod provides a mock function with given fields: ctx, pod, command, expectedStatus
Click to show internal directories.
Click to hide internal directories.