Documentation ¶
Index ¶
- type Actions
- func (a *Actions) CanIGetLogs() *Actions
- func (a *Actions) Create() *Actions
- func (a *Actions) DoNotIgnoreErrors() *Actions
- func (a *Actions) IgnoreErrors() *Actions
- func (a *Actions) Login() *Actions
- func (a *Actions) SetParamInSettingConfigMap(key, value string) *Actions
- func (a *Actions) SetPermissions(permissions []fixture.ACL, roleName string) *Actions
- func (a *Actions) Then() *Consequences
- type Consequences
- func (c *Consequences) And(block func(account *account.Account, err error)) *Consequences
- func (c *Consequences) AndCLIOutput(block func(output string, err error)) *Consequences
- func (c *Consequences) CurrentUser(block func(user *session.GetUserInfoResponse, err error)) *Consequences
- func (c *Consequences) Given() *Context
- func (c *Consequences) When() *Actions
- type Context
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Actions ¶
type Actions struct {
// contains filtered or unexported fields
}
this implements the "when" part of given/when/then
none of the func implement error checks, and that is complete intended, you should check for errors using the Then()
func (*Actions) CanIGetLogs ¶ added in v2.4.0
func (*Actions) DoNotIgnoreErrors ¶
func (*Actions) IgnoreErrors ¶
func (*Actions) SetParamInSettingConfigMap ¶ added in v2.4.0
func (*Actions) SetPermissions ¶
func (*Actions) Then ¶
func (a *Actions) Then() *Consequences
type Consequences ¶
type Consequences struct {
// contains filtered or unexported fields
}
this implements the "then" part of given/when/then
func (*Consequences) And ¶
func (c *Consequences) And(block func(account *account.Account, err error)) *Consequences
func (*Consequences) AndCLIOutput ¶ added in v2.4.0
func (c *Consequences) AndCLIOutput(block func(output string, err error)) *Consequences
func (*Consequences) CurrentUser ¶
func (c *Consequences) CurrentUser(block func(user *session.GetUserInfoResponse, err error)) *Consequences
func (*Consequences) Given ¶
func (c *Consequences) Given() *Context
func (*Consequences) When ¶
func (c *Consequences) When() *Actions
Click to show internal directories.
Click to hide internal directories.