Documentation ¶
Index ¶
- Variables
- func AutoRegisterVersion(ctx context.Context, client *mccsdk.APIClient, ...) (string, error)
- func Login(ctx context.Context) error
- func NewClient(ctx context.Context) (*mccsdk.APIClient, error)
- func ResolveComponentsData(ctx context.Context, cfg *config.MachConfig) error
- func StartAuthentication(ctx context.Context, config oauth2.Config, options *Options) (*oauth2.Token, error)
- type ClientConfig
- type Options
Constants ¶
This section is empty.
Variables ¶
View Source
var ( LocalPortStart = 49852 LocalPortEnd = 49862 )
View Source
var ErrAuthNotCompleted = errors.New("Authentication not completed")
View Source
var ErrAuthTimeout = errors.New("Authentication aborted (timeout)")
Functions ¶
func AutoRegisterVersion ¶
func ResolveComponentsData ¶
func ResolveComponentsData(ctx context.Context, cfg *config.MachConfig) error
Types ¶
type ClientConfig ¶
Click to show internal directories.
Click to hide internal directories.