Documentation ¶
Index ¶
- Constants
- func ApiRequest(cmdStarter internal.Starter, method, endpoint string, response interface{}, ...)
- func CfAuth(cmdStarter internal.Starter, reporter internal.Reporter, user string, ...) error
- func CfClientAuth(cmdStarter internal.Starter, reporter internal.Reporter, client string, ...) error
- type AdminClientConfig
- type AdminUserConfig
- type ClientConfig
- type Space
- type SpaceAndOrgConfig
- type TestSpace
- type TestUser
- func NewAdminClient(config AdminClientConfig, cmdStarter internal.Starter) *TestUser
- func NewAdminUser(config AdminUserConfig, cmdStarter internal.Starter) *TestUser
- func NewTestClient(config ClientConfig, cmdStarter internal.Starter) *TestUser
- func NewTestUser(config userConfig, cmdStarter internal.Starter) *TestUser
- type UserConfig
Constants ¶
View Source
const CFAuthRetries = 2
View Source
const VerboseAuth = "RELINT_VERBOSE_AUTH"
Variables ¶
This section is empty.
Functions ¶
func ApiRequest ¶
Types ¶
type AdminClientConfig ¶ added in v1.0.0
type AdminUserConfig ¶ added in v1.0.0
type ClientConfig ¶ added in v1.0.0
type SpaceAndOrgConfig ¶ added in v1.0.0
type TestSpace ¶
type TestSpace struct { QuotaDefinitionName string QuotaDefinitionTotalMemoryLimit string QuotaDefinitionInstanceMemoryLimit string QuotaDefinitionRoutesLimit string QuotaDefinitionAppInstanceLimit string QuotaDefinitionServiceInstanceLimit string QuotaDefinitionAllowPaidServicesFlag string QuotaDefinitionReservedRoutePorts string CommandStarter internal.Starter Timeout time.Duration // contains filtered or unexported fields }
func NewBaseTestSpace ¶
func NewRegularTestSpace ¶
func (*TestSpace) OrganizationName ¶
type TestUser ¶
type TestUser struct {
// contains filtered or unexported fields
}
func NewAdminClient ¶ added in v1.0.0
func NewAdminClient(config AdminClientConfig, cmdStarter internal.Starter) *TestUser
func NewAdminUser ¶
func NewAdminUser(config AdminUserConfig, cmdStarter internal.Starter) *TestUser
func NewTestClient ¶ added in v1.0.0
func NewTestClient(config ClientConfig, cmdStarter internal.Starter) *TestUser
func NewTestUser ¶
func (*TestUser) ShouldRemain ¶
Click to show internal directories.
Click to hide internal directories.