minikubetestenv

package
v2.8.0-nightly.20231025 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MinioEndpoint = "minio.default.svc.cluster.local:9000"
	MinioBucket   = "pachyderm-test"
)

Variables

This section is empty.

Functions

func DetNodeportHttpUrl added in v2.8.0

func DetNodeportHttpUrl(t testing.TB, namespace string) *url.URL

returns the Nodeport url for accessing the determined service via REST/HTTP with an empty Path

func GetPachAddress

func GetPachAddress(t testing.TB) *grpcutil.PachdAddress

func InstallRelease

func InstallRelease(t testing.TB, ctx context.Context, namespace string, kubeClient *kube.Clientset, opts *DeployOpts) *client.APIClient

Deploy pachyderm using a `helm install ...` returns an API Client corresponding to the deployment

func PutNamespace

func PutNamespace(t testing.TB, namespace string)

func UpgradeRelease

func UpgradeRelease(t testing.TB, ctx context.Context, namespace string, kubeClient *kube.Clientset, opts *DeployOpts) *client.APIClient

Deploy pachyderm using a `helm upgrade ...` returns an API Client corresponding to the deployment

Types

type DeployOpts

type DeployOpts struct {
	Version            string
	Enterprise         bool
	Console            bool
	AuthUser           string
	CleanupAfter       bool
	UseLeftoverCluster bool
	// Because NodePorts are cluster-wide, we use a PortOffset to
	// assign separate ports per deployment.
	// NOTE: it might make more sense to declare port instead of offset
	PortOffset       uint16
	DisableLoki      bool
	WaitSeconds      int
	EnterpriseMember bool
	EnterpriseServer bool
	Determined       bool
	ValueOverrides   map[string]string
	TLS              bool
	CertPool         *x509.CertPool
	ValuesFiles      []string
}

Jump to

Keyboard shortcuts

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