Documentation
¶
Index ¶
- func ApiKey() string
- func ApiUrl() string
- func CommunityMode() bool
- func Configure(m Config) error
- func DefaultApiUrl() string
- func DefaultCommunityApiUrl() string
- func DefaultControlPlaneApiUrl() string
- func DefaultSyncApiUrl() string
- func NewTrialRegistrationClient(config TrialConfig) *trialRegistrationClient
- func Verify(config *VerifyConfig) error
- type Config
- type TrialConfig
- type VerifyConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommunityMode ¶ added in v1.0.0
func CommunityMode() bool
func DefaultApiUrl ¶
func DefaultApiUrl() string
func DefaultCommunityApiUrl ¶ added in v1.0.0
func DefaultCommunityApiUrl() string
func DefaultControlPlaneApiUrl ¶
func DefaultControlPlaneApiUrl() string
func DefaultSyncApiUrl ¶ added in v1.1.0
func DefaultSyncApiUrl() string
func NewTrialRegistrationClient ¶
func NewTrialRegistrationClient(config TrialConfig) *trialRegistrationClient
func Verify ¶
func Verify(config *VerifyConfig) error
Verify function takes config and current API key available from this package and returns an error if auth is invalid
Types ¶
type TrialConfig ¶
type VerifyConfig ¶
type VerifyConfig struct {
ControlPlaneApiUrl string
}
Click to show internal directories.
Click to hide internal directories.