Documentation ¶
Index ¶
- func IsE2EEnabled(t *testing.T)
- func TestDNS(t *testing.T, c operator.ControlPlane, p operator.Provider)
- func TestPodBarArgs(t *testing.T, c operator.ControlPlane, p operator.Provider)
- func TestPodFiles(t *testing.T, c operator.ControlPlane, p operator.Provider)
- func TestPodJobFailed(t *testing.T, c operator.ControlPlane, p operator.Provider)
- func TestPodLifecycle(t *testing.T, c operator.ControlPlane, p operator.Provider)
- func TestPodMount(t *testing.T, c operator.ControlPlane, p operator.Provider)
- func TestProvider(t *testing.T, p operator.Provider)
- type Client
- func (c *Client) Clean()
- func (c *Client) Exec(id string, path string, args ...string) (string, error)
- func (c *Client) GetIP(id string) string
- func (c *Client) Name() string
- func (c *Client) PullImage(ctx context.Context, image string) error
- func (c *Client) Remove(id string) error
- func (c *Client) Resources() operator.ProviderResources
- func (c *Client) Setup(cc operator.ControlPlane) error
- func (c *Client) Start() error
- func (c *Client) Stop() error
- type TestServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsE2EEnabled ¶ added in v0.1.3
func TestPodBarArgs ¶ added in v0.1.3
func TestPodFiles ¶ added in v0.1.3
func TestPodJobFailed ¶ added in v0.1.3
func TestPodLifecycle ¶ added in v0.1.3
func TestPodMount ¶ added in v0.1.3
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a sugarcoat version of the docker client
func NewDockerClient ¶ added in v0.1.1
NewClient creates a new docker Client
func (*Client) Resources ¶ added in v0.1.3
func (c *Client) Resources() operator.ProviderResources
type TestServer ¶ added in v0.1.1
type TestServer struct {
// contains filtered or unexported fields
}
func TestOperator ¶ added in v0.1.1
func TestOperator(t *testing.T, factories ...operator.HandlerFactory) *TestServer
func (*TestServer) Close ¶ added in v0.1.1
func (t *TestServer) Close()
func (*TestServer) WaitForTask ¶ added in v0.1.1
func (t *TestServer) WaitForTask(id string)
Click to show internal directories.
Click to hide internal directories.