Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakePodExecutor ¶
type FakePodExecutor struct {
// contains filtered or unexported fields
}
FakePodExecutor is used to fake the work of PodExecutor.
func NewFakePodExecutor ¶
func NewFakePodExecutor(executeReturnString []string, executeReturnError []error) *FakePodExecutor
NewFakePodExecutor creates a new FakePodExecutor.
type FakeSimplePodContext ¶
type FakeSimplePodContext struct {
// contains filtered or unexported fields
}
FakeSimplePodContext is used to fake the work of SimplePodContext.
func NewFakeSimplePodContext ¶
func NewFakeSimplePodContext(executeReturnString [][]string, executeReturnError [][]error) *FakeSimplePodContext
NewFakeSimplePodContext creates a new FakeSimplePodContext.
func (*FakeSimplePodContext) Create ¶
func (mspc *FakeSimplePodContext) Create(_ context.Context, _ func() *corev1.Pod) (pod.PodExecutor, error)
Create returns the preset values.
Click to show internal directories.
Click to hide internal directories.