fixture

package
v1.1.0-rc6 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2019 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ArgoCDNamespace = "argocd-e2e"
)

Variables

View Source
var (
	KubeClientset   kubernetes.Interface
	AppClientset    appclientset.Interface
	ArgoCDClientset argocdclient.Client
)

Functions

func CreateSecret

func CreateSecret(username, password string) string

creates a secret for the current test, this currently can only create a single secret

func Delete

func Delete(path string)

func DeploymentNamespace

func DeploymentNamespace() string

func EnsureCleanState

func EnsureCleanState(t *testing.T)

func Name

func Name() string

func NormalizeOutput

func NormalizeOutput(text string) string

utility method to deal with white-space

func Patch

func Patch(path string, jsonPatch string)

func RepoURL

func RepoURL() string

func Run

func Run(workDir, name string, args ...string) (string, error)

func RunCli

func RunCli(args ...string) (string, error)

func SetConfigManagementPlugin

func SetConfigManagementPlugin(plugin v1alpha1.ConfigManagementPlugin)

func SetRepoURL

func SetRepoURL(url string)

func SetResourceOverrides

func SetResourceOverrides(overrides map[string]v1alpha1.ResourceOverride)

func Settings

func Settings(consumer func(s *settings.ArgoCDSettings))

func Tmpl

func Tmpl(text string, values map[string]interface{}) string

utility method to template a string using a map

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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