Documentation ¶
Index ¶
- Constants
- Variables
- func CreateSecret(username, password string) string
- func Declarative(filename string, values interface{}) (string, error)
- func Delete(path string)
- func DeploymentNamespace() string
- func EnsureCleanState(t *testing.T)
- func Name() string
- func NormalizeOutput(text string) string
- func Patch(path string, jsonPatch string)
- func RepoURL() string
- func Run(workDir, name string, args ...string) (string, error)
- func RunCli(args ...string) (string, error)
- func SetConfigManagementPlugin(plugin v1alpha1.ConfigManagementPlugin)
- func SetRepoURL(url string)
- func SetResourceOverrides(overrides map[string]v1alpha1.ResourceOverride)
- func Settings(consumer func(s *settings.ArgoCDSettings))
- func Tmpl(text string, values interface{}) string
Constants ¶
View Source
const (
ArgoCDNamespace = "argocd-e2e"
)
Variables ¶
View Source
var ( KubeClientset kubernetes.Interface AppClientset appclientset.Interface ArgoCDClientset argocdclient.Client )
Functions ¶
func CreateSecret ¶
creates a secret for the current test, this currently can only create a single secret
func Declarative ¶
create the resource by creating using "kubctl apply", with bonus templating
func DeploymentNamespace ¶
func DeploymentNamespace() string
func EnsureCleanState ¶
func NormalizeOutput ¶
utility method to deal with white-space
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))
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.