Documentation ¶
Index ¶
- type ExecOptions
- type Framework
- func (f *Framework) DeleteService(cluster framework.ClusterIndex, serviceName string)
- func (f *Framework) ExecWithOptions(options ExecOptions, index framework.ClusterIndex) (string, string, error)
- func (f *Framework) NewNetShootDeployment(cluster framework.ClusterIndex) *v1.PodList
- func (f *Framework) NewNginxDeployment(cluster framework.ClusterIndex) *v1.PodList
- func (f *Framework) NewNginxService(cluster framework.ClusterIndex) *corev1.Service
- type ServiceType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecOptions ¶
type ExecOptions struct { Command []string Namespace string PodName string ContainerName string Stdin io.Reader CaptureStdout bool CaptureStderr bool // If false, whitespace in std{err,out} will be removed. PreserveWhitespace bool }
ExecOptions passed to ExecWithOptions
type Framework ¶
Framework supports common operations used by e2e tests; it will keep a client & a namespace.
func (*Framework) DeleteService ¶
func (f *Framework) DeleteService(cluster framework.ClusterIndex, serviceName string)
func (*Framework) ExecWithOptions ¶
func (f *Framework) ExecWithOptions(options ExecOptions, index framework.ClusterIndex) (string, string, error)
ExecWithOptions executes a command in the specified container, returning stdout, stderr and error. `options` allowed for additional parameters to be passed.
func (*Framework) NewNetShootDeployment ¶
func (f *Framework) NewNetShootDeployment(cluster framework.ClusterIndex) *v1.PodList
func (*Framework) NewNginxDeployment ¶
func (f *Framework) NewNginxDeployment(cluster framework.ClusterIndex) *v1.PodList
func (*Framework) NewNginxService ¶
func (f *Framework) NewNginxService(cluster framework.ClusterIndex) *corev1.Service
type ServiceType ¶
type ServiceType int
Click to show internal directories.
Click to hide internal directories.