Documentation
¶
Overview ¶
Package integration provides inter-service integration tests.
Index ¶
- type KubeDeploy
- func (k *KubeDeploy) Close(deleteNamespace bool) error
- func (k *KubeDeploy) InstallAgentChart(ctx context.Context, token string) (debugFunc, error)
- func (k *KubeDeploy) Wait() error
- func (k *KubeDeploy) WaitJobAndSecretDeleted(ctx context.Context, runID string) error
- func (k *KubeDeploy) WaitPodSucceed(ctx context.Context, runID string, timeout time.Duration) (debugFunc, error)
- type KubeDeployConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeDeploy ¶
type KubeDeploy struct {
*tfe.Client
KubeDeployConfig
// contains filtered or unexported fields
}
KubeDeploy is a deployment of OTF to a local kubernetes kind cluster. For testing purposes only.
func NewKubeDeploy ¶
func NewKubeDeploy(ctx context.Context, cfg KubeDeployConfig) (*KubeDeploy, debugFunc, error)
func (*KubeDeploy) Close ¶
func (k *KubeDeploy) Close(deleteNamespace bool) error
func (*KubeDeploy) InstallAgentChart ¶
func (k *KubeDeploy) InstallAgentChart(ctx context.Context, token string) (debugFunc, error)
func (*KubeDeploy) Wait ¶
func (k *KubeDeploy) Wait() error
func (*KubeDeploy) WaitJobAndSecretDeleted ¶
func (k *KubeDeploy) WaitJobAndSecretDeleted(ctx context.Context, runID string) error
func (*KubeDeploy) WaitPodSucceed ¶
Click to show internal directories.
Click to hide internal directories.