Documentation
¶
Index ¶
- func Curl(args string) ([]byte, error)
- func GenerateDebugAttachment(name, namespace, dbgger, image, pod, container, processName string) v1.DebugAttachment
- func GenerateDebugAttachmentDlv1(name, namespace string) v1.DebugAttachment
- func InitializeTestConditions(tc *TestConditions, pathToBuildSpec string) (err error)
- func MachineDebugArgs(tc TestConditions, debugger, ns, podName, squashNamespace string) string
- func Must(err error)
- func Squashctl(args string) error
- func SquashctlOut(args string) (string, error)
- func SummarizeTestConditions(tc TestConditions) string
- type Counter
- func (c *Counter) Attachments(val int) *Counter
- func (c *Counter) PendingAttachments(val int) *Counter
- func (c *Counter) PendingDeletes(val int) *Counter
- func (c *Counter) RequestingAttachments(val int) *Counter
- func (c *Counter) RequestingDeletes(val int) *Counter
- func (c *Counter) SumPostAttachments(val int) *Counter
- func (c *Counter) SumPreAttachments(val int) *Counter
- func (c *Counter) Total(val int) *Counter
- type E2eParams
- type Squash
- type TestConditions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateDebugAttachment ¶
func GenerateDebugAttachment(name, namespace, dbgger, image, pod, container, processName string) v1.DebugAttachment
func GenerateDebugAttachmentDlv1 ¶
func GenerateDebugAttachmentDlv1(name, namespace string) v1.DebugAttachment
func InitializeTestConditions ¶ added in v0.5.11
func InitializeTestConditions(tc *TestConditions, pathToBuildSpec string) (err error)
func MachineDebugArgs ¶ added in v0.5.1
func MachineDebugArgs(tc TestConditions, debugger, ns, podName, squashNamespace string) string
func Squashctl ¶ added in v0.5.1
func Squashctl(args string) error
TOOD - replace with the clicore lib
func SquashctlOut ¶ added in v0.5.1
func SquashctlOut(args string) (string, error)
func SummarizeTestConditions ¶ added in v0.5.11
func SummarizeTestConditions(tc TestConditions) string
Types ¶
type Counter ¶
type Counter struct {
// contains filtered or unexported fields
}
func ExpectCounts ¶
func ExpectCounts(params E2eParams, name string) *Counter
func (*Counter) Attachments ¶
func (c *Counter) Attachments(val int) *Counter
func (*Counter) PendingAttachments ¶
func (c *Counter) PendingAttachments(val int) *Counter
func (*Counter) PendingDeletes ¶
func (c *Counter) PendingDeletes(val int) *Counter
func (*Counter) RequestingAttachments ¶
func (c *Counter) RequestingAttachments(val int) *Counter
func (*Counter) RequestingDeletes ¶
func (c *Counter) RequestingDeletes(val int) *Counter
func (*Counter) SumPostAttachments ¶
func (c *Counter) SumPostAttachments(val int) *Counter
func (*Counter) SumPreAttachments ¶
func (c *Counter) SumPreAttachments(val int) *Counter
type E2eParams ¶
type E2eParams struct {
DebugAttachmetName string
Namespace string
Squash *Squash
UserController actions.UserController
KubeClient *kubernetes.Clientset
SquashPod map[string]*v1.Pod
Microservice1Pods map[string]*v1.Pod
Microservice2Pods map[string]*v1.Pod
CurrentMicroservicePod *v1.Pod
Current2MicroservicePod *v1.Pod
// contains filtered or unexported fields
}
func NewE2eParams ¶
func NewE2eParams(namespace, daName string, w io.Writer) E2eParams
func (*E2eParams) CleanupE2e ¶
func (p *E2eParams) CleanupE2e()
type TestConditions ¶ added in v0.5.11
type TestConditions struct {
PlankImageTag string
PlankImageRepo string
Source string
}
Click to show internal directories.
Click to hide internal directories.