Versions in this module Expand all Collapse all v0 v0.4.1 Mar 10, 2022 v0.4.0 Feb 7, 2022 Changes in this version + func GetServiceAccountBearerToken(clientset kubernetes.Interface, ns string, sa string) (string, error) + type Actions struct + func (a *Actions) And(block func()) *Actions + func (a *Actions) Create(appSet v1alpha1.ApplicationSet) *Actions + func (a *Actions) CreateClusterSecret(secretName string, clusterName string, clusterServer string) *Actions + func (a *Actions) CreateNamespace() *Actions + func (a *Actions) CreatePlacementDecision(placementDecisionName string) *Actions + func (a *Actions) CreatePlacementDecisionConfigMap(configMapName string) *Actions + func (a *Actions) CreatePlacementRoleAndRoleBinding() *Actions + func (a *Actions) Delete() *Actions + func (a *Actions) DeleteClusterSecret(secretName string) *Actions + func (a *Actions) DeleteConfigMap(configMapName string) *Actions + func (a *Actions) DeletePlacementDecision(placementDecisionName string) *Actions + func (a *Actions) DoNotIgnoreErrors() *Actions + func (a *Actions) IgnoreErrors() *Actions + func (a *Actions) StatusUpdatePlacementDecision(placementDecisionName string, clusterList []interface{}) *Actions + func (a *Actions) Then() *Consequences + func (a *Actions) Update(toUpdate func(*v1alpha1.ApplicationSet)) *Actions + type Consequences struct + func (c *Consequences) And(block func()) *Consequences + func (c *Consequences) Expect(e Expectation) *Consequences + func (c *Consequences) ExpectWithDuration(e Expectation, timeout time.Duration) *Consequences + func (c *Consequences) Given() *Context + func (c *Consequences) When() *Actions + type Context struct + func Given(t *testing.T) *Context + func (c *Context) And(block func()) *Context + func (c *Context) Sleep(seconds time.Duration) *Context + func (c *Context) When() *Actions + type Expectation func(c *Consequences) (state state, message string) + func ApplicationSetHasConditions(applicationSetName string, ...) Expectation + func ApplicationsDoNotExist(expectedApps []argov1alpha1.Application) Expectation + func ApplicationsExist(expectedApps []argov1alpha1.Application) Expectation + func Error(message, err string) Expectation + func Pod(predicate func(p corev1.Pod) bool) Expectation + func Success(message string) Expectation