Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OAuth2Authenticate ¶ added in v0.2.0
OAuth2Authenticate is used to authenticate using oauth2
Types ¶
type GateapiClient ¶
type GateapiClient struct { // Gate API Client *gateapi.APIClient // request context Context context.Context }
GateapiClient is a Client for Gate API which has instance-specific information.
func NewGateapiClient ¶
func NewGateapiClient(floodgateConfig *config.Config) *GateapiClient
NewGateapiClient creates instance of Gate API wrapper based on Floodgate's Config
func (GateapiClient) WaitForSuccessfulTask ¶
func (c GateapiClient) WaitForSuccessfulTask(checkTask map[string]interface{}, maxRetries int) error
WaitForSuccessfulTask function is waiting for task to finish
Click to show internal directories.
Click to hide internal directories.