Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var API_VERSION = "v1" //nolint:gochecknoglobals
View Source
var ErrNone200Status = errors.New("error response from API")
Functions ¶
This section is empty.
Types ¶
type APIClient ¶
type APIClient struct {
Root string
ProjectId string
APIKey *string
RequestClient *RequestClient
}
func NewAPIClient ¶
func (*APIClient) BatchUpsertIntegrations ¶
func (c *APIClient) BatchUpsertIntegrations( ctx context.Context, reqParams BatchUpsertIntegrationsParams, ) ([]Integration, error)
type BatchUpsertIntegrationsParams ¶
type BatchUpsertIntegrationsParams struct {
SourceZipURL string `json:"sourceZipUrl"`
}
type Integration ¶
type Integration struct {
Name string `json:"name"`
}
type RequestClient ¶
func NewRequestClient ¶
func NewRequestClient() *RequestClient
Click to show internal directories.
Click to hide internal directories.