integration

package
v0.5.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2026 License: MPL-2.0 Imports: 27 Imported by: 0

Documentation

Overview

Package integration provides inter-service integration tests.

Index

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

func (k *KubeDeploy) WaitPodSucceed(ctx context.Context, runID string, timeout time.Duration) (debugFunc, error)

type KubeDeployConfig

type KubeDeployConfig struct {
	Namespace          string
	RepoDir            string
	Release            string
	JobTTL             time.Duration
	OpenBrowser        bool
	CacheVolumeEnabled bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL