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 CreateAndUseProject(t require.TestingT, configDir string) string
- func CreateClient(t require.TestingT, cmd *cmdx.CommandExecuter, project string) gjson.Result
- func CreateDefaultAssets() (...)
- func CreateProject(t require.TestingT, configDir string) string
- func FakeEmail() string
- func FakeName() string
- func FakePassword() string
- func GetDefaultProject(t require.TestingT, configDir string) string
- func ImportIdentity(t require.TestingT, cmd *cmdx.CommandExecuter, project string, ...) string
- func MakeRandomClient(t require.TestingT, name 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 RegistrationBuffer(name string, email string, password string) bytes.Buffer
- func RunAgainstStaging(m *testing.M)
- func SetDefaultProject(t require.TestingT, configDir string, projectId string)
- 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 CreateAndUseProject ¶ added in v0.2.2
func CreateClient ¶ added in v0.1.41
func CreateDefaultAssets ¶
func CreateDefaultAssets() (defaultConfig, defaultEmail, defaultPassword, extraProject, defaultProject string, defaultCmd *cmdx.CommandExecuter)
func FakePassword ¶
func FakePassword() string
func GetDefaultProject ¶ added in v0.2.2
func ImportIdentity ¶
func MakeRandomClient ¶ added in v0.1.41
func NewConfigDir ¶
func ReadConfig ¶
func ReadConfig(t require.TestingT, configDir string) *client.AuthContext
func RegisterAccount ¶
func RegistrationBuffer ¶ added in v0.3.0
func RunAgainstStaging ¶
func SetDefaultProject ¶ added in v0.2.2
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.