Documentation ¶
Index ¶
- func AssertConfig(t *testing.T, configDir string, email string, name string, newsletter bool)
- func ChangeAccessToken(t require.TestingT, configDir string)
- func ClearConfig(t require.TestingT, configDir string)
- func ConfigAwareCmd(configDir string) *cmdx.CommandExecuter
- func ConfigPasswordAwareCmd(configDir, password string) *cmdx.CommandExecuter
- func CreateDefaultAssets() (defaultConfig, defaultEmail, defaultPassword, defaultProject string, ...)
- func CreateProject(t require.TestingT, configDir string) string
- func FakeEmail() string
- func FakeName() string
- func FakePassword() string
- func ImportIdentity(t require.TestingT, cmd *cmdx.CommandExecuter, project string, ...) string
- func MakeRandomIdentity(t require.TestingT, email string) string
- func NewConfigDir(t require.TestingT) string
- func ReadConfig(t require.TestingT, configDir string) *client.AuthContext
- func RegisterAccount(t require.TestingT, configDir string) (email, password string)
- func RunAgainstStaging(m *testing.M)
- func TestProjectName() string
- func UseStaging()
- func WithReAuth(t require.TestingT, email, password string) (*cmdx.CommandExecuter, *bytes.Buffer)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertConfig ¶
func ChangeAccessToken ¶
func ClearConfig ¶
func ConfigAwareCmd ¶
func ConfigAwareCmd(configDir string) *cmdx.CommandExecuter
func ConfigPasswordAwareCmd ¶
func ConfigPasswordAwareCmd(configDir, password string) *cmdx.CommandExecuter
func CreateDefaultAssets ¶
func CreateDefaultAssets() (defaultConfig, defaultEmail, defaultPassword, defaultProject string, defaultCmd *cmdx.CommandExecuter)
func FakePassword ¶
func FakePassword() string
func ImportIdentity ¶
func NewConfigDir ¶
func ReadConfig ¶
func ReadConfig(t require.TestingT, configDir string) *client.AuthContext
func RegisterAccount ¶
func RunAgainstStaging ¶
func TestProjectName ¶
func TestProjectName() string
func UseStaging ¶
func UseStaging()
func WithReAuth ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.