cloudquery_api

package module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2023 License: MPL-2.0 Imports: 10 Imported by: 10

README

Warning This is currently in limited preview.

CloudQuery API Go Client Library

Auto-generated CloudQuery API Client library for Go.

Documentation

Overview

Package cloudquery_api provides primitives to interact with the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen version v1.13.3 DO NOT EDIT.

Package cloudquery_api provides primitives to interact with the openapi HTTP API.

Code generated by github.com/deepmap/oapi-codegen version v1.13.3 DO NOT EDIT.

Index

Constants

View Source
const (
	BearerAuthScopes = "bearerAuth.Scopes"
)

Variables

This section is empty.

Functions

func NewAcceptTeamInvitationRequest

func NewAcceptTeamInvitationRequest(server string, teamName TeamName) (*http.Request, error)

NewAcceptTeamInvitationRequest generates requests for AcceptTeamInvitation

func NewCancelTeamInvitationRequest

func NewCancelTeamInvitationRequest(server string, teamName TeamName, email Email) (*http.Request, error)

NewCancelTeamInvitationRequest generates requests for CancelTeamInvitation

func NewCreatePluginRequest

func NewCreatePluginRequest(server string, body CreatePluginJSONRequestBody) (*http.Request, error)

NewCreatePluginRequest calls the generic CreatePlugin builder with application/json body

func NewCreatePluginRequestWithBody

func NewCreatePluginRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreatePluginRequestWithBody generates requests for CreatePlugin with any type of body

func NewCreatePluginVersionDocsRequest

func NewCreatePluginVersionDocsRequest(server string, teamName TeamName, pluginName PluginName, versionName VersionName, body CreatePluginVersionDocsJSONRequestBody) (*http.Request, error)

NewCreatePluginVersionDocsRequest calls the generic CreatePluginVersionDocs builder with application/json body

func NewCreatePluginVersionDocsRequestWithBody

func NewCreatePluginVersionDocsRequestWithBody(server string, teamName TeamName, pluginName PluginName, versionName VersionName, contentType string, body io.Reader) (*http.Request, error)

NewCreatePluginVersionDocsRequestWithBody generates requests for CreatePluginVersionDocs with any type of body

func NewCreatePluginVersionRequest

func NewCreatePluginVersionRequest(server string, teamName TeamName, pluginName PluginName, body CreatePluginVersionJSONRequestBody) (*http.Request, error)

NewCreatePluginVersionRequest calls the generic CreatePluginVersion builder with application/json body

func NewCreatePluginVersionRequestWithBody

func NewCreatePluginVersionRequestWithBody(server string, teamName TeamName, pluginName PluginName, contentType string, body io.Reader) (*http.Request, error)

NewCreatePluginVersionRequestWithBody generates requests for CreatePluginVersion with any type of body

func NewCreatePluginVersionTablesRequest

func NewCreatePluginVersionTablesRequest(server string, teamName TeamName, pluginName PluginName, versionName VersionName, body CreatePluginVersionTablesJSONRequestBody) (*http.Request, error)

NewCreatePluginVersionTablesRequest calls the generic CreatePluginVersionTables builder with application/json body

func NewCreatePluginVersionTablesRequestWithBody

func NewCreatePluginVersionTablesRequestWithBody(server string, teamName TeamName, pluginName PluginName, versionName VersionName, contentType string, body io.Reader) (*http.Request, error)

NewCreatePluginVersionTablesRequestWithBody generates requests for CreatePluginVersionTables with any type of body

func NewCreateTeamApiKeyRequest

func NewCreateTeamApiKeyRequest(server string, teamName TeamName) (*http.Request, error)

NewCreateTeamApiKeyRequest generates requests for CreateTeamApiKey

func NewCreateTeamRequest

func NewCreateTeamRequest(server string, body CreateTeamJSONRequestBody) (*http.Request, error)

NewCreateTeamRequest calls the generic CreateTeam builder with application/json body

func NewCreateTeamRequestWithBody

func NewCreateTeamRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCreateTeamRequestWithBody generates requests for CreateTeam with any type of body

func NewDeletePluginVersionDocsRequest

func NewDeletePluginVersionDocsRequest(server string, teamName TeamName, pluginName PluginName, versionName VersionName, body DeletePluginVersionDocsJSONRequestBody) (*http.Request, error)

NewDeletePluginVersionDocsRequest calls the generic DeletePluginVersionDocs builder with application/json body

func NewDeletePluginVersionDocsRequestWithBody

func NewDeletePluginVersionDocsRequestWithBody(server string, teamName TeamName, pluginName PluginName, versionName VersionName, contentType string, body io.Reader) (*http.Request, error)

NewDeletePluginVersionDocsRequestWithBody generates requests for DeletePluginVersionDocs with any type of body

func NewDeletePluginVersionTablesRequest

func NewDeletePluginVersionTablesRequest(server string, teamName TeamName, pluginName PluginName, versionName VersionName, body DeletePluginVersionTablesJSONRequestBody) (*http.Request, error)

NewDeletePluginVersionTablesRequest calls the generic DeletePluginVersionTables builder with application/json body

func NewDeletePluginVersionTablesRequestWithBody

func NewDeletePluginVersionTablesRequestWithBody(server string, teamName TeamName, pluginName PluginName, versionName VersionName, contentType string, body io.Reader) (*http.Request, error)

NewDeletePluginVersionTablesRequestWithBody generates requests for DeletePluginVersionTables with any type of body

func NewDeleteTeamApiKeyRequest

func NewDeleteTeamApiKeyRequest(server string, teamName TeamName, apiKeyName ApiKeyName) (*http.Request, error)

NewDeleteTeamApiKeyRequest generates requests for DeleteTeamApiKey

func NewDownloadPluginAssetRequest

func NewDownloadPluginAssetRequest(server string, teamName TeamName, pluginName PluginName, versionName VersionName, targetName TargetName) (*http.Request, error)

NewDownloadPluginAssetRequest generates requests for DownloadPluginAsset

func NewEmailTeamInvitationRequest

func NewEmailTeamInvitationRequest(server string, teamName TeamName, body EmailTeamInvitationJSONRequestBody) (*http.Request, error)

NewEmailTeamInvitationRequest calls the generic EmailTeamInvitation builder with application/json body

func NewEmailTeamInvitationRequestWithBody

func NewEmailTeamInvitationRequestWithBody(server string, teamName TeamName, contentType string, body io.Reader) (*http.Request, error)

NewEmailTeamInvitationRequestWithBody generates requests for EmailTeamInvitation with any type of body

func NewGetCurrentUserMembershipsRequest

func NewGetCurrentUserMembershipsRequest(server string, params *GetCurrentUserMembershipsParams) (*http.Request, error)

NewGetCurrentUserMembershipsRequest generates requests for GetCurrentUserMemberships

func NewGetCurrentUserRequest

func NewGetCurrentUserRequest(server string) (*http.Request, error)

NewGetCurrentUserRequest generates requests for GetCurrentUser

func NewGetPluginRequest

func NewGetPluginRequest(server string, teamName TeamName, pluginName PluginName) (*http.Request, error)

NewGetPluginRequest generates requests for GetPlugin

func NewGetPluginVersionRequest

func NewGetPluginVersionRequest(server string, teamName TeamName, pluginName PluginName, versionName VersionName) (*http.Request, error)

NewGetPluginVersionRequest generates requests for GetPluginVersion

func NewGetPluginVersionTableRequest

func NewGetPluginVersionTableRequest(server string, teamName TeamName, pluginName PluginName, versionName VersionName, tableName string) (*http.Request, error)

NewGetPluginVersionTableRequest generates requests for GetPluginVersionTable

func NewGetTeamByNameRequest

func NewGetTeamByNameRequest(server string, teamName TeamName) (*http.Request, error)

NewGetTeamByNameRequest generates requests for GetTeamByName

func NewGetTeamMembershipsRequest

func NewGetTeamMembershipsRequest(server string, teamName TeamName, params *GetTeamMembershipsParams) (*http.Request, error)

NewGetTeamMembershipsRequest generates requests for GetTeamMemberships

func NewHealthCheckRequest

func NewHealthCheckRequest(server string) (*http.Request, error)

NewHealthCheckRequest generates requests for HealthCheck

func NewListCurrentUserInvitationsRequest

func NewListCurrentUserInvitationsRequest(server string, params *ListCurrentUserInvitationsParams) (*http.Request, error)

NewListCurrentUserInvitationsRequest generates requests for ListCurrentUserInvitations

func NewListPluginVersionDocsRequest

func NewListPluginVersionDocsRequest(server string, teamName TeamName, pluginName PluginName, versionName VersionName, params *ListPluginVersionDocsParams) (*http.Request, error)

NewListPluginVersionDocsRequest generates requests for ListPluginVersionDocs

func NewListPluginVersionTablesRequest

func NewListPluginVersionTablesRequest(server string, teamName TeamName, pluginName PluginName, versionName VersionName, params *ListPluginVersionTablesParams) (*http.Request, error)

NewListPluginVersionTablesRequest generates requests for ListPluginVersionTables

func NewListPluginVersionsRequest

func NewListPluginVersionsRequest(server string, teamName TeamName, pluginName PluginName, params *ListPluginVersionsParams) (*http.Request, error)

NewListPluginVersionsRequest generates requests for ListPluginVersions

func NewListPluginsByTeamRequest

func NewListPluginsByTeamRequest(server string, teamName TeamName, params *ListPluginsByTeamParams) (*http.Request, error)

NewListPluginsByTeamRequest generates requests for ListPluginsByTeam

func NewListPluginsRequest

func NewListPluginsRequest(server string, params *ListPluginsParams) (*http.Request, error)

NewListPluginsRequest generates requests for ListPlugins

func NewListTeamApiKeysRequest

func NewListTeamApiKeysRequest(server string, teamName TeamName, params *ListTeamApiKeysParams) (*http.Request, error)

NewListTeamApiKeysRequest generates requests for ListTeamApiKeys

func NewListTeamInvitationsRequest

func NewListTeamInvitationsRequest(server string, teamName TeamName, params *ListTeamInvitationsParams) (*http.Request, error)

NewListTeamInvitationsRequest generates requests for ListTeamInvitations

func NewListTeamsRequest

func NewListTeamsRequest(server string, params *ListTeamsParams) (*http.Request, error)

NewListTeamsRequest generates requests for ListTeams

func NewListUsersByTeamRequest

func NewListUsersByTeamRequest(server string, teamName TeamName, params *ListUsersByTeamParams) (*http.Request, error)

NewListUsersByTeamRequest generates requests for ListUsersByTeam

func NewUpdatePluginRequest

func NewUpdatePluginRequest(server string, teamName TeamName, pluginName PluginName, body UpdatePluginJSONRequestBody) (*http.Request, error)

NewUpdatePluginRequest calls the generic UpdatePlugin builder with application/json body

func NewUpdatePluginRequestWithBody

func NewUpdatePluginRequestWithBody(server string, teamName TeamName, pluginName PluginName, contentType string, body io.Reader) (*http.Request, error)

NewUpdatePluginRequestWithBody generates requests for UpdatePlugin with any type of body

func NewUpdatePluginVersionRequest

func NewUpdatePluginVersionRequest(server string, teamName TeamName, pluginName PluginName, versionName VersionName, body UpdatePluginVersionJSONRequestBody) (*http.Request, error)

NewUpdatePluginVersionRequest calls the generic UpdatePluginVersion builder with application/json body

func NewUpdatePluginVersionRequestWithBody

func NewUpdatePluginVersionRequestWithBody(server string, teamName TeamName, pluginName PluginName, versionName VersionName, contentType string, body io.Reader) (*http.Request, error)

NewUpdatePluginVersionRequestWithBody generates requests for UpdatePluginVersion with any type of body

func NewUpdateTeamRequest added in v1.0.1

func NewUpdateTeamRequest(server string, teamName TeamName, body UpdateTeamJSONRequestBody) (*http.Request, error)

NewUpdateTeamRequest calls the generic UpdateTeam builder with application/json body

func NewUpdateTeamRequestWithBody added in v1.0.1

func NewUpdateTeamRequestWithBody(server string, teamName TeamName, contentType string, body io.Reader) (*http.Request, error)

NewUpdateTeamRequestWithBody generates requests for UpdateTeam with any type of body

func NewUploadImageRequest

func NewUploadImageRequest(server string) (*http.Request, error)

NewUploadImageRequest generates requests for UploadImage

func NewUploadPluginAssetRequest

func NewUploadPluginAssetRequest(server string, teamName TeamName, pluginName PluginName, versionName VersionName, targetName TargetName) (*http.Request, error)

NewUploadPluginAssetRequest generates requests for UploadPluginAsset

Types

type AcceptTeamInvitationResponse

type AcceptTeamInvitationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Membership
	JSON303      *Membership
	JSON403      *Forbidden
	JSON500      *InternalError
}

func ParseAcceptTeamInvitationResponse

func ParseAcceptTeamInvitationResponse(rsp *http.Response) (*AcceptTeamInvitationResponse, error)

ParseAcceptTeamInvitationResponse parses an HTTP response from a AcceptTeamInvitationWithResponse call

func (AcceptTeamInvitationResponse) Status

Status returns HTTPResponse.Status

func (AcceptTeamInvitationResponse) StatusCode

func (r AcceptTeamInvitationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ApiKey

type ApiKey struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`
	CreatedBy *Email     `json:"created_by,omitempty"`

	// Key API key. Will be shown only in the response when creating the key.
	Key  *string `json:"key,omitempty"`
	Name *string `json:"name,omitempty"`
}

ApiKey API Key to interact with CloudQuery Cloud under specific team

type ApiKeyName

type ApiKeyName = string

ApiKeyName defines model for apikey_name.

type BasicError

type BasicError struct {
	Message string `json:"message"`
	Status  int    `json:"status"`
}

BasicError Basic Error

type CancelTeamInvitationResponse

type CancelTeamInvitationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *RequiresAuthentication
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
	JSON500      *InternalError
}

func ParseCancelTeamInvitationResponse

func ParseCancelTeamInvitationResponse(rsp *http.Response) (*CancelTeamInvitationResponse, error)

ParseCancelTeamInvitationResponse parses an HTTP response from a CancelTeamInvitationWithResponse call

func (CancelTeamInvitationResponse) Status

Status returns HTTPResponse.Status

func (CancelTeamInvitationResponse) StatusCode

func (r CancelTeamInvitationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) AcceptTeamInvitation

func (c *Client) AcceptTeamInvitation(ctx context.Context, teamName TeamName, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CancelTeamInvitation

func (c *Client) CancelTeamInvitation(ctx context.Context, teamName TeamName, email Email, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreatePlugin

func (c *Client) CreatePlugin(ctx context.Context, body CreatePluginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreatePluginVersion

func (c *Client) CreatePluginVersion(ctx context.Context, teamName TeamName, pluginName PluginName, body CreatePluginVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreatePluginVersionDocs

func (c *Client) CreatePluginVersionDocs(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, body CreatePluginVersionDocsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreatePluginVersionDocsWithBody

func (c *Client) CreatePluginVersionDocsWithBody(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreatePluginVersionTables

func (c *Client) CreatePluginVersionTables(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, body CreatePluginVersionTablesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreatePluginVersionTablesWithBody

func (c *Client) CreatePluginVersionTablesWithBody(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreatePluginVersionWithBody

func (c *Client) CreatePluginVersionWithBody(ctx context.Context, teamName TeamName, pluginName PluginName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreatePluginWithBody

func (c *Client) CreatePluginWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateTeam

func (c *Client) CreateTeam(ctx context.Context, body CreateTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateTeamApiKey

func (c *Client) CreateTeamApiKey(ctx context.Context, teamName TeamName, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateTeamWithBody

func (c *Client) CreateTeamWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeletePluginVersionDocs

func (c *Client) DeletePluginVersionDocs(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, body DeletePluginVersionDocsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeletePluginVersionDocsWithBody

func (c *Client) DeletePluginVersionDocsWithBody(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeletePluginVersionTables

func (c *Client) DeletePluginVersionTables(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, body DeletePluginVersionTablesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeletePluginVersionTablesWithBody

func (c *Client) DeletePluginVersionTablesWithBody(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteTeamApiKey

func (c *Client) DeleteTeamApiKey(ctx context.Context, teamName TeamName, apiKeyName ApiKeyName, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DownloadPluginAsset

func (c *Client) DownloadPluginAsset(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, targetName TargetName, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EmailTeamInvitation

func (c *Client) EmailTeamInvitation(ctx context.Context, teamName TeamName, body EmailTeamInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EmailTeamInvitationWithBody

func (c *Client) EmailTeamInvitationWithBody(ctx context.Context, teamName TeamName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCurrentUser

func (c *Client) GetCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetCurrentUserMemberships

func (c *Client) GetCurrentUserMemberships(ctx context.Context, params *GetCurrentUserMembershipsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPlugin

func (c *Client) GetPlugin(ctx context.Context, teamName TeamName, pluginName PluginName, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPluginVersion

func (c *Client) GetPluginVersion(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPluginVersionTable

func (c *Client) GetPluginVersionTable(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, tableName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTeamByName

func (c *Client) GetTeamByName(ctx context.Context, teamName TeamName, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTeamMemberships

func (c *Client) GetTeamMemberships(ctx context.Context, teamName TeamName, params *GetTeamMembershipsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) HealthCheck

func (c *Client) HealthCheck(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListCurrentUserInvitations

func (c *Client) ListCurrentUserInvitations(ctx context.Context, params *ListCurrentUserInvitationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListPluginVersionDocs

func (c *Client) ListPluginVersionDocs(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, params *ListPluginVersionDocsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListPluginVersionTables

func (c *Client) ListPluginVersionTables(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, params *ListPluginVersionTablesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListPluginVersions

func (c *Client) ListPluginVersions(ctx context.Context, teamName TeamName, pluginName PluginName, params *ListPluginVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListPlugins

func (c *Client) ListPlugins(ctx context.Context, params *ListPluginsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListPluginsByTeam

func (c *Client) ListPluginsByTeam(ctx context.Context, teamName TeamName, params *ListPluginsByTeamParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListTeamApiKeys

func (c *Client) ListTeamApiKeys(ctx context.Context, teamName TeamName, params *ListTeamApiKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListTeamInvitations

func (c *Client) ListTeamInvitations(ctx context.Context, teamName TeamName, params *ListTeamInvitationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListTeams

func (c *Client) ListTeams(ctx context.Context, params *ListTeamsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListUsersByTeam

func (c *Client) ListUsersByTeam(ctx context.Context, teamName TeamName, params *ListUsersByTeamParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdatePlugin

func (c *Client) UpdatePlugin(ctx context.Context, teamName TeamName, pluginName PluginName, body UpdatePluginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdatePluginVersion

func (c *Client) UpdatePluginVersion(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, body UpdatePluginVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdatePluginVersionWithBody

func (c *Client) UpdatePluginVersionWithBody(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdatePluginWithBody

func (c *Client) UpdatePluginWithBody(ctx context.Context, teamName TeamName, pluginName PluginName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateTeam added in v1.0.1

func (c *Client) UpdateTeam(ctx context.Context, teamName TeamName, body UpdateTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateTeamWithBody added in v1.0.1

func (c *Client) UpdateTeamWithBody(ctx context.Context, teamName TeamName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UploadImage

func (c *Client) UploadImage(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UploadPluginAsset

func (c *Client) UploadPluginAsset(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, targetName TargetName, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// HealthCheck request
	HealthCheck(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListPlugins request
	ListPlugins(ctx context.Context, params *ListPluginsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreatePluginWithBody request with any body
	CreatePluginWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreatePlugin(ctx context.Context, body CreatePluginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPlugin request
	GetPlugin(ctx context.Context, teamName TeamName, pluginName PluginName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdatePluginWithBody request with any body
	UpdatePluginWithBody(ctx context.Context, teamName TeamName, pluginName PluginName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdatePlugin(ctx context.Context, teamName TeamName, pluginName PluginName, body UpdatePluginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListPluginVersions request
	ListPluginVersions(ctx context.Context, teamName TeamName, pluginName PluginName, params *ListPluginVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreatePluginVersionWithBody request with any body
	CreatePluginVersionWithBody(ctx context.Context, teamName TeamName, pluginName PluginName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreatePluginVersion(ctx context.Context, teamName TeamName, pluginName PluginName, body CreatePluginVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPluginVersion request
	GetPluginVersion(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdatePluginVersionWithBody request with any body
	UpdatePluginVersionWithBody(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdatePluginVersion(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, body UpdatePluginVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DownloadPluginAsset request
	DownloadPluginAsset(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, targetName TargetName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UploadPluginAsset request
	UploadPluginAsset(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, targetName TargetName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeletePluginVersionDocsWithBody request with any body
	DeletePluginVersionDocsWithBody(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeletePluginVersionDocs(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, body DeletePluginVersionDocsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListPluginVersionDocs request
	ListPluginVersionDocs(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, params *ListPluginVersionDocsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreatePluginVersionDocsWithBody request with any body
	CreatePluginVersionDocsWithBody(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreatePluginVersionDocs(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, body CreatePluginVersionDocsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeletePluginVersionTablesWithBody request with any body
	DeletePluginVersionTablesWithBody(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	DeletePluginVersionTables(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, body DeletePluginVersionTablesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListPluginVersionTables request
	ListPluginVersionTables(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, params *ListPluginVersionTablesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreatePluginVersionTablesWithBody request with any body
	CreatePluginVersionTablesWithBody(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreatePluginVersionTables(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, body CreatePluginVersionTablesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPluginVersionTable request
	GetPluginVersionTable(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, tableName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListTeams request
	ListTeams(ctx context.Context, params *ListTeamsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateTeamWithBody request with any body
	CreateTeamWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateTeam(ctx context.Context, body CreateTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeamByName request
	GetTeamByName(ctx context.Context, teamName TeamName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateTeamWithBody request with any body
	UpdateTeamWithBody(ctx context.Context, teamName TeamName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateTeam(ctx context.Context, teamName TeamName, body UpdateTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListTeamApiKeys request
	ListTeamApiKeys(ctx context.Context, teamName TeamName, params *ListTeamApiKeysParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateTeamApiKey request
	CreateTeamApiKey(ctx context.Context, teamName TeamName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteTeamApiKey request
	DeleteTeamApiKey(ctx context.Context, teamName TeamName, apiKeyName ApiKeyName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListTeamInvitations request
	ListTeamInvitations(ctx context.Context, teamName TeamName, params *ListTeamInvitationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// EmailTeamInvitationWithBody request with any body
	EmailTeamInvitationWithBody(ctx context.Context, teamName TeamName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	EmailTeamInvitation(ctx context.Context, teamName TeamName, body EmailTeamInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AcceptTeamInvitation request
	AcceptTeamInvitation(ctx context.Context, teamName TeamName, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CancelTeamInvitation request
	CancelTeamInvitation(ctx context.Context, teamName TeamName, email Email, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTeamMemberships request
	GetTeamMemberships(ctx context.Context, teamName TeamName, params *GetTeamMembershipsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListPluginsByTeam request
	ListPluginsByTeam(ctx context.Context, teamName TeamName, params *ListPluginsByTeamParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListUsersByTeam request
	ListUsersByTeam(ctx context.Context, teamName TeamName, params *ListUsersByTeamParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UploadImage request
	UploadImage(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCurrentUser request
	GetCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListCurrentUserInvitations request
	ListCurrentUserInvitations(ctx context.Context, params *ListCurrentUserInvitationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCurrentUserMemberships request
	GetCurrentUserMemberships(ctx context.Context, params *GetCurrentUserMembershipsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) AcceptTeamInvitationWithResponse

func (c *ClientWithResponses) AcceptTeamInvitationWithResponse(ctx context.Context, teamName TeamName, reqEditors ...RequestEditorFn) (*AcceptTeamInvitationResponse, error)

AcceptTeamInvitationWithResponse request returning *AcceptTeamInvitationResponse

func (*ClientWithResponses) CancelTeamInvitationWithResponse

func (c *ClientWithResponses) CancelTeamInvitationWithResponse(ctx context.Context, teamName TeamName, email Email, reqEditors ...RequestEditorFn) (*CancelTeamInvitationResponse, error)

CancelTeamInvitationWithResponse request returning *CancelTeamInvitationResponse

func (*ClientWithResponses) CreatePluginVersionDocsWithBodyWithResponse

func (c *ClientWithResponses) CreatePluginVersionDocsWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePluginVersionDocsResponse, error)

CreatePluginVersionDocsWithBodyWithResponse request with arbitrary body returning *CreatePluginVersionDocsResponse

func (*ClientWithResponses) CreatePluginVersionDocsWithResponse

func (c *ClientWithResponses) CreatePluginVersionDocsWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, body CreatePluginVersionDocsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePluginVersionDocsResponse, error)

func (*ClientWithResponses) CreatePluginVersionTablesWithBodyWithResponse

func (c *ClientWithResponses) CreatePluginVersionTablesWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePluginVersionTablesResponse, error)

CreatePluginVersionTablesWithBodyWithResponse request with arbitrary body returning *CreatePluginVersionTablesResponse

func (*ClientWithResponses) CreatePluginVersionTablesWithResponse

func (c *ClientWithResponses) CreatePluginVersionTablesWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, body CreatePluginVersionTablesJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePluginVersionTablesResponse, error)

func (*ClientWithResponses) CreatePluginVersionWithBodyWithResponse

func (c *ClientWithResponses) CreatePluginVersionWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePluginVersionResponse, error)

CreatePluginVersionWithBodyWithResponse request with arbitrary body returning *CreatePluginVersionResponse

func (*ClientWithResponses) CreatePluginVersionWithResponse

func (c *ClientWithResponses) CreatePluginVersionWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, body CreatePluginVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePluginVersionResponse, error)

func (*ClientWithResponses) CreatePluginWithBodyWithResponse

func (c *ClientWithResponses) CreatePluginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePluginResponse, error)

CreatePluginWithBodyWithResponse request with arbitrary body returning *CreatePluginResponse

func (*ClientWithResponses) CreatePluginWithResponse

func (c *ClientWithResponses) CreatePluginWithResponse(ctx context.Context, body CreatePluginJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePluginResponse, error)

func (*ClientWithResponses) CreateTeamApiKeyWithResponse

func (c *ClientWithResponses) CreateTeamApiKeyWithResponse(ctx context.Context, teamName TeamName, reqEditors ...RequestEditorFn) (*CreateTeamApiKeyResponse, error)

CreateTeamApiKeyWithResponse request returning *CreateTeamApiKeyResponse

func (*ClientWithResponses) CreateTeamWithBodyWithResponse

func (c *ClientWithResponses) CreateTeamWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamResponse, error)

CreateTeamWithBodyWithResponse request with arbitrary body returning *CreateTeamResponse

func (*ClientWithResponses) CreateTeamWithResponse

func (c *ClientWithResponses) CreateTeamWithResponse(ctx context.Context, body CreateTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamResponse, error)

func (*ClientWithResponses) DeletePluginVersionDocsWithBodyWithResponse

func (c *ClientWithResponses) DeletePluginVersionDocsWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeletePluginVersionDocsResponse, error)

DeletePluginVersionDocsWithBodyWithResponse request with arbitrary body returning *DeletePluginVersionDocsResponse

func (*ClientWithResponses) DeletePluginVersionDocsWithResponse

func (c *ClientWithResponses) DeletePluginVersionDocsWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, body DeletePluginVersionDocsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeletePluginVersionDocsResponse, error)

func (*ClientWithResponses) DeletePluginVersionTablesWithBodyWithResponse

func (c *ClientWithResponses) DeletePluginVersionTablesWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeletePluginVersionTablesResponse, error)

DeletePluginVersionTablesWithBodyWithResponse request with arbitrary body returning *DeletePluginVersionTablesResponse

func (*ClientWithResponses) DeletePluginVersionTablesWithResponse

func (c *ClientWithResponses) DeletePluginVersionTablesWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, body DeletePluginVersionTablesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeletePluginVersionTablesResponse, error)

func (*ClientWithResponses) DeleteTeamApiKeyWithResponse

func (c *ClientWithResponses) DeleteTeamApiKeyWithResponse(ctx context.Context, teamName TeamName, apiKeyName ApiKeyName, reqEditors ...RequestEditorFn) (*DeleteTeamApiKeyResponse, error)

DeleteTeamApiKeyWithResponse request returning *DeleteTeamApiKeyResponse

func (*ClientWithResponses) DownloadPluginAssetWithResponse

func (c *ClientWithResponses) DownloadPluginAssetWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, targetName TargetName, reqEditors ...RequestEditorFn) (*DownloadPluginAssetResponse, error)

DownloadPluginAssetWithResponse request returning *DownloadPluginAssetResponse

func (*ClientWithResponses) EmailTeamInvitationWithBodyWithResponse

func (c *ClientWithResponses) EmailTeamInvitationWithBodyWithResponse(ctx context.Context, teamName TeamName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EmailTeamInvitationResponse, error)

EmailTeamInvitationWithBodyWithResponse request with arbitrary body returning *EmailTeamInvitationResponse

func (*ClientWithResponses) EmailTeamInvitationWithResponse

func (c *ClientWithResponses) EmailTeamInvitationWithResponse(ctx context.Context, teamName TeamName, body EmailTeamInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*EmailTeamInvitationResponse, error)

func (*ClientWithResponses) GetCurrentUserMembershipsWithResponse

func (c *ClientWithResponses) GetCurrentUserMembershipsWithResponse(ctx context.Context, params *GetCurrentUserMembershipsParams, reqEditors ...RequestEditorFn) (*GetCurrentUserMembershipsResponse, error)

GetCurrentUserMembershipsWithResponse request returning *GetCurrentUserMembershipsResponse

func (*ClientWithResponses) GetCurrentUserWithResponse

func (c *ClientWithResponses) GetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserResponse, error)

GetCurrentUserWithResponse request returning *GetCurrentUserResponse

func (*ClientWithResponses) GetPluginVersionTableWithResponse

func (c *ClientWithResponses) GetPluginVersionTableWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, tableName string, reqEditors ...RequestEditorFn) (*GetPluginVersionTableResponse, error)

GetPluginVersionTableWithResponse request returning *GetPluginVersionTableResponse

func (*ClientWithResponses) GetPluginVersionWithResponse

func (c *ClientWithResponses) GetPluginVersionWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, reqEditors ...RequestEditorFn) (*GetPluginVersionResponse, error)

GetPluginVersionWithResponse request returning *GetPluginVersionResponse

func (*ClientWithResponses) GetPluginWithResponse

func (c *ClientWithResponses) GetPluginWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, reqEditors ...RequestEditorFn) (*GetPluginResponse, error)

GetPluginWithResponse request returning *GetPluginResponse

func (*ClientWithResponses) GetTeamByNameWithResponse

func (c *ClientWithResponses) GetTeamByNameWithResponse(ctx context.Context, teamName TeamName, reqEditors ...RequestEditorFn) (*GetTeamByNameResponse, error)

GetTeamByNameWithResponse request returning *GetTeamByNameResponse

func (*ClientWithResponses) GetTeamMembershipsWithResponse

func (c *ClientWithResponses) GetTeamMembershipsWithResponse(ctx context.Context, teamName TeamName, params *GetTeamMembershipsParams, reqEditors ...RequestEditorFn) (*GetTeamMembershipsResponse, error)

GetTeamMembershipsWithResponse request returning *GetTeamMembershipsResponse

func (*ClientWithResponses) HealthCheckWithResponse

func (c *ClientWithResponses) HealthCheckWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthCheckResponse, error)

HealthCheckWithResponse request returning *HealthCheckResponse

func (*ClientWithResponses) ListCurrentUserInvitationsWithResponse

func (c *ClientWithResponses) ListCurrentUserInvitationsWithResponse(ctx context.Context, params *ListCurrentUserInvitationsParams, reqEditors ...RequestEditorFn) (*ListCurrentUserInvitationsResponse, error)

ListCurrentUserInvitationsWithResponse request returning *ListCurrentUserInvitationsResponse

func (*ClientWithResponses) ListPluginVersionDocsWithResponse

func (c *ClientWithResponses) ListPluginVersionDocsWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, params *ListPluginVersionDocsParams, reqEditors ...RequestEditorFn) (*ListPluginVersionDocsResponse, error)

ListPluginVersionDocsWithResponse request returning *ListPluginVersionDocsResponse

func (*ClientWithResponses) ListPluginVersionTablesWithResponse

func (c *ClientWithResponses) ListPluginVersionTablesWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, params *ListPluginVersionTablesParams, reqEditors ...RequestEditorFn) (*ListPluginVersionTablesResponse, error)

ListPluginVersionTablesWithResponse request returning *ListPluginVersionTablesResponse

func (*ClientWithResponses) ListPluginVersionsWithResponse

func (c *ClientWithResponses) ListPluginVersionsWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, params *ListPluginVersionsParams, reqEditors ...RequestEditorFn) (*ListPluginVersionsResponse, error)

ListPluginVersionsWithResponse request returning *ListPluginVersionsResponse

func (*ClientWithResponses) ListPluginsByTeamWithResponse

func (c *ClientWithResponses) ListPluginsByTeamWithResponse(ctx context.Context, teamName TeamName, params *ListPluginsByTeamParams, reqEditors ...RequestEditorFn) (*ListPluginsByTeamResponse, error)

ListPluginsByTeamWithResponse request returning *ListPluginsByTeamResponse

func (*ClientWithResponses) ListPluginsWithResponse

func (c *ClientWithResponses) ListPluginsWithResponse(ctx context.Context, params *ListPluginsParams, reqEditors ...RequestEditorFn) (*ListPluginsResponse, error)

ListPluginsWithResponse request returning *ListPluginsResponse

func (*ClientWithResponses) ListTeamApiKeysWithResponse

func (c *ClientWithResponses) ListTeamApiKeysWithResponse(ctx context.Context, teamName TeamName, params *ListTeamApiKeysParams, reqEditors ...RequestEditorFn) (*ListTeamApiKeysResponse, error)

ListTeamApiKeysWithResponse request returning *ListTeamApiKeysResponse

func (*ClientWithResponses) ListTeamInvitationsWithResponse

func (c *ClientWithResponses) ListTeamInvitationsWithResponse(ctx context.Context, teamName TeamName, params *ListTeamInvitationsParams, reqEditors ...RequestEditorFn) (*ListTeamInvitationsResponse, error)

ListTeamInvitationsWithResponse request returning *ListTeamInvitationsResponse

func (*ClientWithResponses) ListTeamsWithResponse

func (c *ClientWithResponses) ListTeamsWithResponse(ctx context.Context, params *ListTeamsParams, reqEditors ...RequestEditorFn) (*ListTeamsResponse, error)

ListTeamsWithResponse request returning *ListTeamsResponse

func (*ClientWithResponses) ListUsersByTeamWithResponse

func (c *ClientWithResponses) ListUsersByTeamWithResponse(ctx context.Context, teamName TeamName, params *ListUsersByTeamParams, reqEditors ...RequestEditorFn) (*ListUsersByTeamResponse, error)

ListUsersByTeamWithResponse request returning *ListUsersByTeamResponse

func (*ClientWithResponses) UpdatePluginVersionWithBodyWithResponse

func (c *ClientWithResponses) UpdatePluginVersionWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePluginVersionResponse, error)

UpdatePluginVersionWithBodyWithResponse request with arbitrary body returning *UpdatePluginVersionResponse

func (*ClientWithResponses) UpdatePluginVersionWithResponse

func (c *ClientWithResponses) UpdatePluginVersionWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, body UpdatePluginVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePluginVersionResponse, error)

func (*ClientWithResponses) UpdatePluginWithBodyWithResponse

func (c *ClientWithResponses) UpdatePluginWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePluginResponse, error)

UpdatePluginWithBodyWithResponse request with arbitrary body returning *UpdatePluginResponse

func (*ClientWithResponses) UpdatePluginWithResponse

func (c *ClientWithResponses) UpdatePluginWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, body UpdatePluginJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePluginResponse, error)

func (*ClientWithResponses) UpdateTeamWithBodyWithResponse added in v1.0.1

func (c *ClientWithResponses) UpdateTeamWithBodyWithResponse(ctx context.Context, teamName TeamName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTeamResponse, error)

UpdateTeamWithBodyWithResponse request with arbitrary body returning *UpdateTeamResponse

func (*ClientWithResponses) UpdateTeamWithResponse added in v1.0.1

func (c *ClientWithResponses) UpdateTeamWithResponse(ctx context.Context, teamName TeamName, body UpdateTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTeamResponse, error)

func (*ClientWithResponses) UploadImageWithResponse

func (c *ClientWithResponses) UploadImageWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UploadImageResponse, error)

UploadImageWithResponse request returning *UploadImageResponse

func (*ClientWithResponses) UploadPluginAssetWithResponse

func (c *ClientWithResponses) UploadPluginAssetWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, targetName TargetName, reqEditors ...RequestEditorFn) (*UploadPluginAssetResponse, error)

UploadPluginAssetWithResponse request returning *UploadPluginAssetResponse

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// HealthCheckWithResponse request
	HealthCheckWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthCheckResponse, error)

	// ListPluginsWithResponse request
	ListPluginsWithResponse(ctx context.Context, params *ListPluginsParams, reqEditors ...RequestEditorFn) (*ListPluginsResponse, error)

	// CreatePluginWithBodyWithResponse request with any body
	CreatePluginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePluginResponse, error)

	CreatePluginWithResponse(ctx context.Context, body CreatePluginJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePluginResponse, error)

	// GetPluginWithResponse request
	GetPluginWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, reqEditors ...RequestEditorFn) (*GetPluginResponse, error)

	// UpdatePluginWithBodyWithResponse request with any body
	UpdatePluginWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePluginResponse, error)

	UpdatePluginWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, body UpdatePluginJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePluginResponse, error)

	// ListPluginVersionsWithResponse request
	ListPluginVersionsWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, params *ListPluginVersionsParams, reqEditors ...RequestEditorFn) (*ListPluginVersionsResponse, error)

	// CreatePluginVersionWithBodyWithResponse request with any body
	CreatePluginVersionWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePluginVersionResponse, error)

	CreatePluginVersionWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, body CreatePluginVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePluginVersionResponse, error)

	// GetPluginVersionWithResponse request
	GetPluginVersionWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, reqEditors ...RequestEditorFn) (*GetPluginVersionResponse, error)

	// UpdatePluginVersionWithBodyWithResponse request with any body
	UpdatePluginVersionWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePluginVersionResponse, error)

	UpdatePluginVersionWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, body UpdatePluginVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePluginVersionResponse, error)

	// DownloadPluginAssetWithResponse request
	DownloadPluginAssetWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, targetName TargetName, reqEditors ...RequestEditorFn) (*DownloadPluginAssetResponse, error)

	// UploadPluginAssetWithResponse request
	UploadPluginAssetWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, targetName TargetName, reqEditors ...RequestEditorFn) (*UploadPluginAssetResponse, error)

	// DeletePluginVersionDocsWithBodyWithResponse request with any body
	DeletePluginVersionDocsWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeletePluginVersionDocsResponse, error)

	DeletePluginVersionDocsWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, body DeletePluginVersionDocsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeletePluginVersionDocsResponse, error)

	// ListPluginVersionDocsWithResponse request
	ListPluginVersionDocsWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, params *ListPluginVersionDocsParams, reqEditors ...RequestEditorFn) (*ListPluginVersionDocsResponse, error)

	// CreatePluginVersionDocsWithBodyWithResponse request with any body
	CreatePluginVersionDocsWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePluginVersionDocsResponse, error)

	CreatePluginVersionDocsWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, body CreatePluginVersionDocsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePluginVersionDocsResponse, error)

	// DeletePluginVersionTablesWithBodyWithResponse request with any body
	DeletePluginVersionTablesWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeletePluginVersionTablesResponse, error)

	DeletePluginVersionTablesWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, body DeletePluginVersionTablesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeletePluginVersionTablesResponse, error)

	// ListPluginVersionTablesWithResponse request
	ListPluginVersionTablesWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, params *ListPluginVersionTablesParams, reqEditors ...RequestEditorFn) (*ListPluginVersionTablesResponse, error)

	// CreatePluginVersionTablesWithBodyWithResponse request with any body
	CreatePluginVersionTablesWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePluginVersionTablesResponse, error)

	CreatePluginVersionTablesWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, body CreatePluginVersionTablesJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePluginVersionTablesResponse, error)

	// GetPluginVersionTableWithResponse request
	GetPluginVersionTableWithResponse(ctx context.Context, teamName TeamName, pluginName PluginName, versionName VersionName, tableName string, reqEditors ...RequestEditorFn) (*GetPluginVersionTableResponse, error)

	// ListTeamsWithResponse request
	ListTeamsWithResponse(ctx context.Context, params *ListTeamsParams, reqEditors ...RequestEditorFn) (*ListTeamsResponse, error)

	// CreateTeamWithBodyWithResponse request with any body
	CreateTeamWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamResponse, error)

	CreateTeamWithResponse(ctx context.Context, body CreateTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamResponse, error)

	// GetTeamByNameWithResponse request
	GetTeamByNameWithResponse(ctx context.Context, teamName TeamName, reqEditors ...RequestEditorFn) (*GetTeamByNameResponse, error)

	// UpdateTeamWithBodyWithResponse request with any body
	UpdateTeamWithBodyWithResponse(ctx context.Context, teamName TeamName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateTeamResponse, error)

	UpdateTeamWithResponse(ctx context.Context, teamName TeamName, body UpdateTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateTeamResponse, error)

	// ListTeamApiKeysWithResponse request
	ListTeamApiKeysWithResponse(ctx context.Context, teamName TeamName, params *ListTeamApiKeysParams, reqEditors ...RequestEditorFn) (*ListTeamApiKeysResponse, error)

	// CreateTeamApiKeyWithResponse request
	CreateTeamApiKeyWithResponse(ctx context.Context, teamName TeamName, reqEditors ...RequestEditorFn) (*CreateTeamApiKeyResponse, error)

	// DeleteTeamApiKeyWithResponse request
	DeleteTeamApiKeyWithResponse(ctx context.Context, teamName TeamName, apiKeyName ApiKeyName, reqEditors ...RequestEditorFn) (*DeleteTeamApiKeyResponse, error)

	// ListTeamInvitationsWithResponse request
	ListTeamInvitationsWithResponse(ctx context.Context, teamName TeamName, params *ListTeamInvitationsParams, reqEditors ...RequestEditorFn) (*ListTeamInvitationsResponse, error)

	// EmailTeamInvitationWithBodyWithResponse request with any body
	EmailTeamInvitationWithBodyWithResponse(ctx context.Context, teamName TeamName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EmailTeamInvitationResponse, error)

	EmailTeamInvitationWithResponse(ctx context.Context, teamName TeamName, body EmailTeamInvitationJSONRequestBody, reqEditors ...RequestEditorFn) (*EmailTeamInvitationResponse, error)

	// AcceptTeamInvitationWithResponse request
	AcceptTeamInvitationWithResponse(ctx context.Context, teamName TeamName, reqEditors ...RequestEditorFn) (*AcceptTeamInvitationResponse, error)

	// CancelTeamInvitationWithResponse request
	CancelTeamInvitationWithResponse(ctx context.Context, teamName TeamName, email Email, reqEditors ...RequestEditorFn) (*CancelTeamInvitationResponse, error)

	// GetTeamMembershipsWithResponse request
	GetTeamMembershipsWithResponse(ctx context.Context, teamName TeamName, params *GetTeamMembershipsParams, reqEditors ...RequestEditorFn) (*GetTeamMembershipsResponse, error)

	// ListPluginsByTeamWithResponse request
	ListPluginsByTeamWithResponse(ctx context.Context, teamName TeamName, params *ListPluginsByTeamParams, reqEditors ...RequestEditorFn) (*ListPluginsByTeamResponse, error)

	// ListUsersByTeamWithResponse request
	ListUsersByTeamWithResponse(ctx context.Context, teamName TeamName, params *ListUsersByTeamParams, reqEditors ...RequestEditorFn) (*ListUsersByTeamResponse, error)

	// UploadImageWithResponse request
	UploadImageWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UploadImageResponse, error)

	// GetCurrentUserWithResponse request
	GetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserResponse, error)

	// ListCurrentUserInvitationsWithResponse request
	ListCurrentUserInvitationsWithResponse(ctx context.Context, params *ListCurrentUserInvitationsParams, reqEditors ...RequestEditorFn) (*ListCurrentUserInvitationsResponse, error)

	// GetCurrentUserMembershipsWithResponse request
	GetCurrentUserMembershipsWithResponse(ctx context.Context, params *GetCurrentUserMembershipsParams, reqEditors ...RequestEditorFn) (*GetCurrentUserMembershipsResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CreatePluginJSONRequestBody

type CreatePluginJSONRequestBody = PluginCreate

CreatePluginJSONRequestBody defines body for CreatePlugin for application/json ContentType.

type CreatePluginResponse

type CreatePluginResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Plugin
	JSON403      *Forbidden
	JSON422      *UnprocessableEntity
	JSON500      *InternalError
}

func ParseCreatePluginResponse

func ParseCreatePluginResponse(rsp *http.Response) (*CreatePluginResponse, error)

ParseCreatePluginResponse parses an HTTP response from a CreatePluginWithResponse call

func (CreatePluginResponse) Status

func (r CreatePluginResponse) Status() string

Status returns HTTPResponse.Status

func (CreatePluginResponse) StatusCode

func (r CreatePluginResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreatePluginVersionDocsJSONBody

type CreatePluginVersionDocsJSONBody struct {
	Pages []PluginDocsPage `json:"pages"`
}

CreatePluginVersionDocsJSONBody defines parameters for CreatePluginVersionDocs.

type CreatePluginVersionDocsJSONRequestBody

type CreatePluginVersionDocsJSONRequestBody CreatePluginVersionDocsJSONBody

CreatePluginVersionDocsJSONRequestBody defines body for CreatePluginVersionDocs for application/json ContentType.

type CreatePluginVersionDocsResponse

type CreatePluginVersionDocsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseCreatePluginVersionDocsResponse

func ParseCreatePluginVersionDocsResponse(rsp *http.Response) (*CreatePluginVersionDocsResponse, error)

ParseCreatePluginVersionDocsResponse parses an HTTP response from a CreatePluginVersionDocsWithResponse call

func (CreatePluginVersionDocsResponse) Status

Status returns HTTPResponse.Status

func (CreatePluginVersionDocsResponse) StatusCode

func (r CreatePluginVersionDocsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreatePluginVersionJSONBody

type CreatePluginVersionJSONBody struct {
	// Checksums List of SHA-256 checksums for this plugin version, one for each supported target.
	Checksums []string `json:"checksums"`

	// Message A message describing what's new or changed in this version.
	// This message will be displayed to users in the plugin's changelog.
	// Supports limited markdown syntax.
	Message string `json:"message"`

	// Name The version in semantic version format.
	Name VersionName `json:"name"`

	// PackageType The package type of the plugin assets
	PackageType CreatePluginVersionJSONBodyPackageType `json:"package_type"`

	// Protocols List of protocols supported by this plugin version
	Protocols []int `json:"protocols"`

	// SupportedTargets The targets supported by this plugin version, formatted as <os>_<arch>
	SupportedTargets []string `json:"supported_targets"`
}

CreatePluginVersionJSONBody defines parameters for CreatePluginVersion.

type CreatePluginVersionJSONBodyPackageType

type CreatePluginVersionJSONBodyPackageType string

CreatePluginVersionJSONBodyPackageType defines parameters for CreatePluginVersion.

const (
	CreatePluginVersionJSONBodyPackageTypeDocker CreatePluginVersionJSONBodyPackageType = "docker"
	CreatePluginVersionJSONBodyPackageTypeNative CreatePluginVersionJSONBodyPackageType = "native"
)

Defines values for CreatePluginVersionJSONBodyPackageType.

type CreatePluginVersionJSONRequestBody

type CreatePluginVersionJSONRequestBody CreatePluginVersionJSONBody

CreatePluginVersionJSONRequestBody defines body for CreatePluginVersion for application/json ContentType.

type CreatePluginVersionResponse

type CreatePluginVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *PluginVersion
	JSON401      *RequiresAuthentication
	JSON403      *Forbidden
	JSON422      *UnprocessableEntity
	JSON500      *InternalError
}

func ParseCreatePluginVersionResponse

func ParseCreatePluginVersionResponse(rsp *http.Response) (*CreatePluginVersionResponse, error)

ParseCreatePluginVersionResponse parses an HTTP response from a CreatePluginVersionWithResponse call

func (CreatePluginVersionResponse) Status

Status returns HTTPResponse.Status

func (CreatePluginVersionResponse) StatusCode

func (r CreatePluginVersionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreatePluginVersionTablesJSONBody

type CreatePluginVersionTablesJSONBody struct {
	Tables []PluginTable `json:"tables"`
}

CreatePluginVersionTablesJSONBody defines parameters for CreatePluginVersionTables.

type CreatePluginVersionTablesJSONRequestBody

type CreatePluginVersionTablesJSONRequestBody CreatePluginVersionTablesJSONBody

CreatePluginVersionTablesJSONRequestBody defines body for CreatePluginVersionTables for application/json ContentType.

type CreatePluginVersionTablesResponse

type CreatePluginVersionTablesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseCreatePluginVersionTablesResponse

func ParseCreatePluginVersionTablesResponse(rsp *http.Response) (*CreatePluginVersionTablesResponse, error)

ParseCreatePluginVersionTablesResponse parses an HTTP response from a CreatePluginVersionTablesWithResponse call

func (CreatePluginVersionTablesResponse) Status

Status returns HTTPResponse.Status

func (CreatePluginVersionTablesResponse) StatusCode

func (r CreatePluginVersionTablesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTeamApiKeyResponse

type CreateTeamApiKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ApiKey
	JSON401      *RequiresAuthentication
	JSON500      *InternalError
}

func ParseCreateTeamApiKeyResponse

func ParseCreateTeamApiKeyResponse(rsp *http.Response) (*CreateTeamApiKeyResponse, error)

ParseCreateTeamApiKeyResponse parses an HTTP response from a CreateTeamApiKeyWithResponse call

func (CreateTeamApiKeyResponse) Status

func (r CreateTeamApiKeyResponse) Status() string

Status returns HTTPResponse.Status

func (CreateTeamApiKeyResponse) StatusCode

func (r CreateTeamApiKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateTeamJSONBody

type CreateTeamJSONBody struct {
	// DisplayName The team's display name
	DisplayName string `json:"display_name"`

	// Name The unique name for the team.
	Name TeamName `json:"name"`
}

CreateTeamJSONBody defines parameters for CreateTeam.

type CreateTeamJSONRequestBody

type CreateTeamJSONRequestBody CreateTeamJSONBody

CreateTeamJSONRequestBody defines body for CreateTeam for application/json ContentType.

type CreateTeamResponse

type CreateTeamResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *Team
	JSON422      *UnprocessableEntity
	JSON500      *InternalError
}

func ParseCreateTeamResponse

func ParseCreateTeamResponse(rsp *http.Response) (*CreateTeamResponse, error)

ParseCreateTeamResponse parses an HTTP response from a CreateTeamWithResponse call

func (CreateTeamResponse) Status

func (r CreateTeamResponse) Status() string

Status returns HTTPResponse.Status

func (CreateTeamResponse) StatusCode

func (r CreateTeamResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeletePluginVersionDocsJSONBody

type DeletePluginVersionDocsJSONBody struct {
	Names []PluginDocsPageName `json:"names"`
}

DeletePluginVersionDocsJSONBody defines parameters for DeletePluginVersionDocs.

type DeletePluginVersionDocsJSONRequestBody

type DeletePluginVersionDocsJSONRequestBody DeletePluginVersionDocsJSONBody

DeletePluginVersionDocsJSONRequestBody defines body for DeletePluginVersionDocs for application/json ContentType.

type DeletePluginVersionDocsResponse

type DeletePluginVersionDocsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeletePluginVersionDocsResponse

func ParseDeletePluginVersionDocsResponse(rsp *http.Response) (*DeletePluginVersionDocsResponse, error)

ParseDeletePluginVersionDocsResponse parses an HTTP response from a DeletePluginVersionDocsWithResponse call

func (DeletePluginVersionDocsResponse) Status

Status returns HTTPResponse.Status

func (DeletePluginVersionDocsResponse) StatusCode

func (r DeletePluginVersionDocsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeletePluginVersionTablesJSONBody

type DeletePluginVersionTablesJSONBody struct {
	Names []PluginTableName `json:"names"`
}

DeletePluginVersionTablesJSONBody defines parameters for DeletePluginVersionTables.

type DeletePluginVersionTablesJSONRequestBody

type DeletePluginVersionTablesJSONRequestBody DeletePluginVersionTablesJSONBody

DeletePluginVersionTablesJSONRequestBody defines body for DeletePluginVersionTables for application/json ContentType.

type DeletePluginVersionTablesResponse

type DeletePluginVersionTablesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseDeletePluginVersionTablesResponse

func ParseDeletePluginVersionTablesResponse(rsp *http.Response) (*DeletePluginVersionTablesResponse, error)

ParseDeletePluginVersionTablesResponse parses an HTTP response from a DeletePluginVersionTablesWithResponse call

func (DeletePluginVersionTablesResponse) Status

Status returns HTTPResponse.Status

func (DeletePluginVersionTablesResponse) StatusCode

func (r DeletePluginVersionTablesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteTeamApiKeyResponse

type DeleteTeamApiKeyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *RequiresAuthentication
	JSON500      *InternalError
}

func ParseDeleteTeamApiKeyResponse

func ParseDeleteTeamApiKeyResponse(rsp *http.Response) (*DeleteTeamApiKeyResponse, error)

ParseDeleteTeamApiKeyResponse parses an HTTP response from a DeleteTeamApiKeyWithResponse call

func (DeleteTeamApiKeyResponse) Status

func (r DeleteTeamApiKeyResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteTeamApiKeyResponse) StatusCode

func (r DeleteTeamApiKeyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DownloadPluginAssetResponse

type DownloadPluginAssetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *RequiresAuthentication
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON500      *InternalError
}

func ParseDownloadPluginAssetResponse

func ParseDownloadPluginAssetResponse(rsp *http.Response) (*DownloadPluginAssetResponse, error)

ParseDownloadPluginAssetResponse parses an HTTP response from a DownloadPluginAssetWithResponse call

func (DownloadPluginAssetResponse) Status

Status returns HTTPResponse.Status

func (DownloadPluginAssetResponse) StatusCode

func (r DownloadPluginAssetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Email

type Email = string

Email defines model for Email.

type EmailTeamInvitationJSONBody

type EmailTeamInvitationJSONBody struct {
	Email string `json:"email"`
	Role  string `json:"role"`
}

EmailTeamInvitationJSONBody defines parameters for EmailTeamInvitation.

type EmailTeamInvitationJSONRequestBody

type EmailTeamInvitationJSONRequestBody EmailTeamInvitationJSONBody

EmailTeamInvitationJSONRequestBody defines body for EmailTeamInvitation for application/json ContentType.

type EmailTeamInvitationResponse

type EmailTeamInvitationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Invitation
	JSON403      *Forbidden
	JSON422      *UnprocessableEntity
	JSON500      *InternalError
}

func ParseEmailTeamInvitationResponse

func ParseEmailTeamInvitationResponse(rsp *http.Response) (*EmailTeamInvitationResponse, error)

ParseEmailTeamInvitationResponse parses an HTTP response from a EmailTeamInvitationWithResponse call

func (EmailTeamInvitationResponse) Status

Status returns HTTPResponse.Status

func (EmailTeamInvitationResponse) StatusCode

func (r EmailTeamInvitationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Forbidden

type Forbidden = BasicError

Forbidden Basic Error

type GetCurrentUserMembershipsParams

type GetCurrentUserMembershipsParams struct {
	// Page Page number of the results to fetch
	Page *Page `form:"page,omitempty" json:"page,omitempty"`

	// PerPage The number of results per page (max 1000).
	PerPage *PerPage `form:"per_page,omitempty" json:"per_page,omitempty"`
}

GetCurrentUserMembershipsParams defines parameters for GetCurrentUserMemberships.

type GetCurrentUserMembershipsResponse

type GetCurrentUserMembershipsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items    []Membership `json:"items"`
		Metadata ListMetadata `json:"metadata"`
	}
	JSON401 *RequiresAuthentication
	JSON403 *Forbidden
	JSON500 *InternalError
}

func ParseGetCurrentUserMembershipsResponse

func ParseGetCurrentUserMembershipsResponse(rsp *http.Response) (*GetCurrentUserMembershipsResponse, error)

ParseGetCurrentUserMembershipsResponse parses an HTTP response from a GetCurrentUserMembershipsWithResponse call

func (GetCurrentUserMembershipsResponse) Status

Status returns HTTPResponse.Status

func (GetCurrentUserMembershipsResponse) StatusCode

func (r GetCurrentUserMembershipsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCurrentUserResponse

type GetCurrentUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *User
	JSON401      *RequiresAuthentication
	JSON403      *Forbidden
	JSON500      *InternalError
}

func ParseGetCurrentUserResponse

func ParseGetCurrentUserResponse(rsp *http.Response) (*GetCurrentUserResponse, error)

ParseGetCurrentUserResponse parses an HTTP response from a GetCurrentUserWithResponse call

func (GetCurrentUserResponse) Status

func (r GetCurrentUserResponse) Status() string

Status returns HTTPResponse.Status

func (GetCurrentUserResponse) StatusCode

func (r GetCurrentUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPluginResponse

type GetPluginResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Plugin
	JSON401      *RequiresAuthentication
	JSON403      *Forbidden
	JSON500      *InternalError
}

func ParseGetPluginResponse

func ParseGetPluginResponse(rsp *http.Response) (*GetPluginResponse, error)

ParseGetPluginResponse parses an HTTP response from a GetPluginWithResponse call

func (GetPluginResponse) Status

func (r GetPluginResponse) Status() string

Status returns HTTPResponse.Status

func (GetPluginResponse) StatusCode

func (r GetPluginResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPluginVersionResponse

type GetPluginVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PluginVersion
	JSON401      *RequiresAuthentication
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON500      *InternalError
}

func ParseGetPluginVersionResponse

func ParseGetPluginVersionResponse(rsp *http.Response) (*GetPluginVersionResponse, error)

ParseGetPluginVersionResponse parses an HTTP response from a GetPluginVersionWithResponse call

func (GetPluginVersionResponse) Status

func (r GetPluginVersionResponse) Status() string

Status returns HTTPResponse.Status

func (GetPluginVersionResponse) StatusCode

func (r GetPluginVersionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPluginVersionTableResponse

type GetPluginVersionTableResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PluginTableDetails
	JSON401      *RequiresAuthentication
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON500      *InternalError
}

func ParseGetPluginVersionTableResponse

func ParseGetPluginVersionTableResponse(rsp *http.Response) (*GetPluginVersionTableResponse, error)

ParseGetPluginVersionTableResponse parses an HTTP response from a GetPluginVersionTableWithResponse call

func (GetPluginVersionTableResponse) Status

Status returns HTTPResponse.Status

func (GetPluginVersionTableResponse) StatusCode

func (r GetPluginVersionTableResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTeamByNameResponse

type GetTeamByNameResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Team
	JSON401      *RequiresAuthentication
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
	JSON500      *InternalError
}

func ParseGetTeamByNameResponse

func ParseGetTeamByNameResponse(rsp *http.Response) (*GetTeamByNameResponse, error)

ParseGetTeamByNameResponse parses an HTTP response from a GetTeamByNameWithResponse call

func (GetTeamByNameResponse) Status

func (r GetTeamByNameResponse) Status() string

Status returns HTTPResponse.Status

func (GetTeamByNameResponse) StatusCode

func (r GetTeamByNameResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTeamMembershipsParams

type GetTeamMembershipsParams struct {
	// Page Page number of the results to fetch
	Page *Page `form:"page,omitempty" json:"page,omitempty"`

	// PerPage The number of results per page (max 1000).
	PerPage *PerPage `form:"per_page,omitempty" json:"per_page,omitempty"`
}

GetTeamMembershipsParams defines parameters for GetTeamMemberships.

type GetTeamMembershipsResponse

type GetTeamMembershipsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items    []Membership `json:"items"`
		Metadata ListMetadata `json:"metadata"`
	}
	JSON401 *RequiresAuthentication
	JSON403 *Forbidden
	JSON404 *NotFound
	JSON422 *UnprocessableEntity
	JSON500 *InternalError
}

func ParseGetTeamMembershipsResponse

func ParseGetTeamMembershipsResponse(rsp *http.Response) (*GetTeamMembershipsResponse, error)

ParseGetTeamMembershipsResponse parses an HTTP response from a GetTeamMembershipsWithResponse call

func (GetTeamMembershipsResponse) Status

Status returns HTTPResponse.Status

func (GetTeamMembershipsResponse) StatusCode

func (r GetTeamMembershipsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HealthCheckResponse

type HealthCheckResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseHealthCheckResponse

func ParseHealthCheckResponse(rsp *http.Response) (*HealthCheckResponse, error)

ParseHealthCheckResponse parses an HTTP response from a HealthCheckWithResponse call

func (HealthCheckResponse) Status

func (r HealthCheckResponse) Status() string

Status returns HTTPResponse.Status

func (HealthCheckResponse) StatusCode

func (r HealthCheckResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type ImageURL

type ImageURL struct {
	DownloadUrl string `json:"download_url"`
	UploadUrl   string `json:"upload_url"`
}

ImageURL defines model for ImageURL.

type InternalError

type InternalError = BasicError

InternalError Basic Error

type Invitation

type Invitation struct {
	CreatedAt time.Time `json:"created_at"`
	Email     Email     `json:"email"`
	Role      string    `json:"role"`

	// TeamName The unique name for the team.
	TeamName TeamName `json:"team_name"`
}

Invitation defines model for Invitation.

type ListCurrentUserInvitationsParams

type ListCurrentUserInvitationsParams struct {
	// Page Page number of the results to fetch
	Page *Page `form:"page,omitempty" json:"page,omitempty"`

	// PerPage The number of results per page (max 1000).
	PerPage *PerPage `form:"per_page,omitempty" json:"per_page,omitempty"`
}

ListCurrentUserInvitationsParams defines parameters for ListCurrentUserInvitations.

type ListCurrentUserInvitationsResponse

type ListCurrentUserInvitationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items    []Invitation `json:"items"`
		Metadata ListMetadata `json:"metadata"`
	}
	JSON500 *InternalError
}

func ParseListCurrentUserInvitationsResponse

func ParseListCurrentUserInvitationsResponse(rsp *http.Response) (*ListCurrentUserInvitationsResponse, error)

ParseListCurrentUserInvitationsResponse parses an HTTP response from a ListCurrentUserInvitationsWithResponse call

func (ListCurrentUserInvitationsResponse) Status

Status returns HTTPResponse.Status

func (ListCurrentUserInvitationsResponse) StatusCode

func (r ListCurrentUserInvitationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListMetadata

type ListMetadata struct {
	LastPage   *int `json:"last_page,omitempty"`
	TotalCount *int `json:"total_count,omitempty"`
}

ListMetadata defines model for ListMetadata.

type ListPluginVersionDocsParams

type ListPluginVersionDocsParams struct {
	// Page Page number of the results to fetch
	Page *Page `form:"page,omitempty" json:"page,omitempty"`

	// PerPage The number of results per page (max 1000).
	PerPage *PerPage `form:"per_page,omitempty" json:"per_page,omitempty"`
}

ListPluginVersionDocsParams defines parameters for ListPluginVersionDocs.

type ListPluginVersionDocsResponse

type ListPluginVersionDocsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items    []PluginDocsPage `json:"items"`
		Metadata ListMetadata     `json:"metadata"`
	}
	JSON401 *RequiresAuthentication
	JSON403 *Forbidden
	JSON500 *InternalError
}

func ParseListPluginVersionDocsResponse

func ParseListPluginVersionDocsResponse(rsp *http.Response) (*ListPluginVersionDocsResponse, error)

ParseListPluginVersionDocsResponse parses an HTTP response from a ListPluginVersionDocsWithResponse call

func (ListPluginVersionDocsResponse) Status

Status returns HTTPResponse.Status

func (ListPluginVersionDocsResponse) StatusCode

func (r ListPluginVersionDocsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPluginVersionTablesParams

type ListPluginVersionTablesParams struct {
	// Page Page number of the results to fetch
	Page *Page `form:"page,omitempty" json:"page,omitempty"`

	// PerPage The number of results per page (max 1000).
	PerPage *PerPage `form:"per_page,omitempty" json:"per_page,omitempty"`
}

ListPluginVersionTablesParams defines parameters for ListPluginVersionTables.

type ListPluginVersionTablesResponse

type ListPluginVersionTablesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items    []PluginTable `json:"items"`
		Metadata ListMetadata  `json:"metadata"`
	}
	JSON401 *RequiresAuthentication
	JSON403 *Forbidden
	JSON404 *NotFound
	JSON500 *InternalError
}

func ParseListPluginVersionTablesResponse

func ParseListPluginVersionTablesResponse(rsp *http.Response) (*ListPluginVersionTablesResponse, error)

ParseListPluginVersionTablesResponse parses an HTTP response from a ListPluginVersionTablesWithResponse call

func (ListPluginVersionTablesResponse) Status

Status returns HTTPResponse.Status

func (ListPluginVersionTablesResponse) StatusCode

func (r ListPluginVersionTablesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPluginVersionsParams

type ListPluginVersionsParams struct {
	// SortBy The field to sort by
	SortBy *ListPluginVersionsParamsSortBy `form:"sort_by,omitempty" json:"sort_by,omitempty"`

	// Page Page number of the results to fetch
	Page *Page `form:"page,omitempty" json:"page,omitempty"`

	// PerPage The number of results per page (max 1000).
	PerPage *PerPage `form:"per_page,omitempty" json:"per_page,omitempty"`
}

ListPluginVersionsParams defines parameters for ListPluginVersions.

type ListPluginVersionsParamsSortBy

type ListPluginVersionsParamsSortBy string

ListPluginVersionsParamsSortBy defines parameters for ListPluginVersions.

const (
	ListPluginVersionsParamsSortByCreatedAt ListPluginVersionsParamsSortBy = "created_at"
)

Defines values for ListPluginVersionsParamsSortBy.

type ListPluginVersionsResponse

type ListPluginVersionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items    []PluginVersion `json:"items"`
		Metadata ListMetadata    `json:"metadata"`
	}
	JSON401 *RequiresAuthentication
	JSON403 *Forbidden
	JSON500 *InternalError
}

func ParseListPluginVersionsResponse

func ParseListPluginVersionsResponse(rsp *http.Response) (*ListPluginVersionsResponse, error)

ParseListPluginVersionsResponse parses an HTTP response from a ListPluginVersionsWithResponse call

func (ListPluginVersionsResponse) Status

Status returns HTTPResponse.Status

func (ListPluginVersionsResponse) StatusCode

func (r ListPluginVersionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPluginsByTeamParams

type ListPluginsByTeamParams struct {
	// Page Page number of the results to fetch
	Page *Page `form:"page,omitempty" json:"page,omitempty"`

	// PerPage The number of results per page (max 1000).
	PerPage *PerPage `form:"per_page,omitempty" json:"per_page,omitempty"`
}

ListPluginsByTeamParams defines parameters for ListPluginsByTeam.

type ListPluginsByTeamResponse

type ListPluginsByTeamResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items    []Plugin     `json:"items"`
		Metadata ListMetadata `json:"metadata"`
	}
	JSON401 *RequiresAuthentication
	JSON403 *Forbidden
	JSON500 *InternalError
}

func ParseListPluginsByTeamResponse

func ParseListPluginsByTeamResponse(rsp *http.Response) (*ListPluginsByTeamResponse, error)

ParseListPluginsByTeamResponse parses an HTTP response from a ListPluginsByTeamWithResponse call

func (ListPluginsByTeamResponse) Status

func (r ListPluginsByTeamResponse) Status() string

Status returns HTTPResponse.Status

func (ListPluginsByTeamResponse) StatusCode

func (r ListPluginsByTeamResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPluginsParams

type ListPluginsParams struct {
	// SortBy The field to sort by
	SortBy *ListPluginsParamsSortBy `form:"sort_by,omitempty" json:"sort_by,omitempty"`

	// Page Page number of the results to fetch
	Page *Page `form:"page,omitempty" json:"page,omitempty"`

	// PerPage The number of results per page (max 1000).
	PerPage *PerPage `form:"per_page,omitempty" json:"per_page,omitempty"`
}

ListPluginsParams defines parameters for ListPlugins.

type ListPluginsParamsSortBy

type ListPluginsParamsSortBy string

ListPluginsParamsSortBy defines parameters for ListPlugins.

const (
	ListPluginsParamsSortByCreatedAt ListPluginsParamsSortBy = "created_at"
	ListPluginsParamsSortByDownloads ListPluginsParamsSortBy = "downloads"
	ListPluginsParamsSortByName      ListPluginsParamsSortBy = "name"
	ListPluginsParamsSortByUpdatedAt ListPluginsParamsSortBy = "updated_at"
)

Defines values for ListPluginsParamsSortBy.

type ListPluginsResponse

type ListPluginsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items    []Plugin     `json:"items"`
		Metadata ListMetadata `json:"metadata"`
	}
	JSON401 *RequiresAuthentication
	JSON403 *Forbidden
	JSON500 *InternalError
}

func ParseListPluginsResponse

func ParseListPluginsResponse(rsp *http.Response) (*ListPluginsResponse, error)

ParseListPluginsResponse parses an HTTP response from a ListPluginsWithResponse call

func (ListPluginsResponse) Status

func (r ListPluginsResponse) Status() string

Status returns HTTPResponse.Status

func (ListPluginsResponse) StatusCode

func (r ListPluginsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeamApiKeysParams

type ListTeamApiKeysParams struct {
	// PerPage The number of results per page (max 1000).
	PerPage *PerPage `form:"per_page,omitempty" json:"per_page,omitempty"`

	// Page Page number of the results to fetch
	Page *Page `form:"page,omitempty" json:"page,omitempty"`
}

ListTeamApiKeysParams defines parameters for ListTeamApiKeys.

type ListTeamApiKeysResponse

type ListTeamApiKeysResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items    []ApiKey     `json:"items"`
		Metadata ListMetadata `json:"metadata"`
	}
	JSON401 *RequiresAuthentication
	JSON500 *InternalError
}

func ParseListTeamApiKeysResponse

func ParseListTeamApiKeysResponse(rsp *http.Response) (*ListTeamApiKeysResponse, error)

ParseListTeamApiKeysResponse parses an HTTP response from a ListTeamApiKeysWithResponse call

func (ListTeamApiKeysResponse) Status

func (r ListTeamApiKeysResponse) Status() string

Status returns HTTPResponse.Status

func (ListTeamApiKeysResponse) StatusCode

func (r ListTeamApiKeysResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeamInvitationsParams

type ListTeamInvitationsParams struct {
	// Page Page number of the results to fetch
	Page *Page `form:"page,omitempty" json:"page,omitempty"`

	// PerPage The number of results per page (max 1000).
	PerPage *PerPage `form:"per_page,omitempty" json:"per_page,omitempty"`
}

ListTeamInvitationsParams defines parameters for ListTeamInvitations.

type ListTeamInvitationsResponse

type ListTeamInvitationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items    []Invitation `json:"items"`
		Metadata ListMetadata `json:"metadata"`
	}
	JSON403 *Forbidden
	JSON500 *InternalError
}

func ParseListTeamInvitationsResponse

func ParseListTeamInvitationsResponse(rsp *http.Response) (*ListTeamInvitationsResponse, error)

ParseListTeamInvitationsResponse parses an HTTP response from a ListTeamInvitationsWithResponse call

func (ListTeamInvitationsResponse) Status

Status returns HTTPResponse.Status

func (ListTeamInvitationsResponse) StatusCode

func (r ListTeamInvitationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTeamsParams

type ListTeamsParams struct {
	// PerPage The number of results per page (max 1000).
	PerPage *PerPage `form:"per_page,omitempty" json:"per_page,omitempty"`

	// Page Page number of the results to fetch
	Page *Page `form:"page,omitempty" json:"page,omitempty"`
}

ListTeamsParams defines parameters for ListTeams.

type ListTeamsResponse

type ListTeamsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items    []Team       `json:"items"`
		Metadata ListMetadata `json:"metadata"`
	}
	JSON401 *RequiresAuthentication
	JSON403 *Forbidden
	JSON404 *NotFound
	JSON422 *UnprocessableEntity
	JSON500 *InternalError
}

func ParseListTeamsResponse

func ParseListTeamsResponse(rsp *http.Response) (*ListTeamsResponse, error)

ParseListTeamsResponse parses an HTTP response from a ListTeamsWithResponse call

func (ListTeamsResponse) Status

func (r ListTeamsResponse) Status() string

Status returns HTTPResponse.Status

func (ListTeamsResponse) StatusCode

func (r ListTeamsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListUsersByTeamParams

type ListUsersByTeamParams struct {
	// PerPage The number of results per page (max 1000).
	PerPage *PerPage `form:"per_page,omitempty" json:"per_page,omitempty"`

	// Page Page number of the results to fetch
	Page *Page `form:"page,omitempty" json:"page,omitempty"`
}

ListUsersByTeamParams defines parameters for ListUsersByTeam.

type ListUsersByTeamResponse

type ListUsersByTeamResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Items    []User       `json:"items"`
		Metadata ListMetadata `json:"metadata"`
	}
	JSON401 *RequiresAuthentication
	JSON403 *Forbidden
	JSON404 *NotFound
	JSON422 *UnprocessableEntity
	JSON500 *InternalError
}

func ParseListUsersByTeamResponse

func ParseListUsersByTeamResponse(rsp *http.Response) (*ListUsersByTeamResponse, error)

ParseListUsersByTeamResponse parses an HTTP response from a ListUsersByTeamWithResponse call

func (ListUsersByTeamResponse) Status

func (r ListUsersByTeamResponse) Status() string

Status returns HTTPResponse.Status

func (ListUsersByTeamResponse) StatusCode

func (r ListUsersByTeamResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Membership

type Membership struct {
	Role string `json:"role"`

	// Team CloudQuery Team
	Team *Team `json:"team,omitempty"`

	// User CloudQuery User
	User *User `json:"user,omitempty"`
}

Membership defines model for Membership.

type NotFound

type NotFound = BasicError

NotFound Basic Error

type Page

type Page = int64

Page defines model for page.

type PerPage

type PerPage = int64

PerPage defines model for per_page.

type Plugin

type Plugin struct {
	// Category Supported categories for plugins
	Category    PluginCategory `json:"category"`
	CreatedAt   time.Time      `json:"created_at"`
	Destination bool           `json:"destination"`

	// DisplayName The plugin's display name
	DisplayName string  `json:"display_name"`
	Homepage    *string `json:"homepage,omitempty"`

	// Name The unique name for the plugin.
	Name             PluginName `json:"name"`
	Official         bool       `json:"official"`
	Repository       *string    `json:"repository,omitempty"`
	ShortDescription string     `json:"short_description"`
	Source           bool       `json:"source"`

	// TeamName The unique name for the team.
	TeamName TeamName `json:"team_name"`

	// Tier Supported tiers for plugins
	Tier PluginTier `json:"tier"`
}

Plugin CloudQuery Plugin

type PluginCategory

type PluginCategory string

PluginCategory Supported categories for plugins

const (
	CloudInfrastructure  PluginCategory = "cloud-infrastructure"
	Databases            PluginCategory = "databases"
	EngineeringAnalytics PluginCategory = "engineering-analytics"
	Other                PluginCategory = "other"
	SalesMarketing       PluginCategory = "sales-marketing"
)

Defines values for PluginCategory.

type PluginCreate

type PluginCreate struct {
	// Category Supported categories for plugins
	Category    PluginCategory `json:"category"`
	Destination bool           `json:"destination"`

	// DisplayName The plugin's display name, as shown in the CloudQuery Hub.
	DisplayName string  `json:"display_name"`
	Homepage    *string `json:"homepage,omitempty"`

	Logo string `json:"logo"`

	// Name The unique name for the plugin.
	Name       PluginName `json:"name"`
	Repository *string    `json:"repository,omitempty"`

	// ShortDescription Short description of the plugin. This will be shown in the CloudQuery Hub.
	ShortDescription string `json:"short_description"`
	Source           bool   `json:"source"`

	// TeamName The unique name for the team.
	TeamName TeamName `json:"team_name"`

	// Tier Supported tiers for plugins
	Tier PluginTier `json:"tier"`
}

PluginCreate defines model for PluginCreate.

type PluginDocsPage

type PluginDocsPage struct {
	// Content The content of the documentation page. Supports markdown.
	Content string `json:"content"`

	// Name The unique name for the plugin documentation page.
	Name PluginDocsPageName `json:"name"`

	// Title The title of the documentation page
	Title string `json:"title"`
}

PluginDocsPage CloudQuery Plugin Documentation Page

type PluginDocsPageName

type PluginDocsPageName = string

PluginDocsPageName The unique name for the plugin documentation page.

type PluginName

type PluginName = string

PluginName The unique name for the plugin.

type PluginSortBy

type PluginSortBy string

PluginSortBy defines model for plugin_sort_by.

const (
	PluginSortByCreatedAt PluginSortBy = "created_at"
	PluginSortByDownloads PluginSortBy = "downloads"
	PluginSortByName      PluginSortBy = "name"
	PluginSortByUpdatedAt PluginSortBy = "updated_at"
)

Defines values for PluginSortBy.

type PluginTable

type PluginTable struct {
	// Description Description of the table
	Description *string `json:"description,omitempty"`

	// IsIncremental Whether the table is incremental
	IsIncremental *bool `json:"is_incremental,omitempty"`

	// Name Name of the table
	Name *PluginTableName `json:"name,omitempty"`

	// Parent Name of the parent table, if any
	Parent *string `json:"parent,omitempty"`

	// Relations Names of the tables that depend on this table
	Relations *[]string `json:"relations,omitempty"`

	// Title Title of the table
	Title *string `json:"title,omitempty"`
}

PluginTable CloudQuery Plugin Table

type PluginTableColumn

type PluginTableColumn struct {
	// Description Description of the column
	Description *string `json:"description,omitempty"`

	// IncrementalKey Whether the column is used as an incremental key
	IncrementalKey *bool `json:"incremental_key,omitempty"`

	// IsUnique Whether the column has a unique constraint
	IsUnique *bool `json:"is_unique,omitempty"`

	// Name Name of the column
	Name *string `json:"name,omitempty"`

	// NotNull Whether the column is nullable
	NotNull *bool `json:"not_null,omitempty"`

	// PrimaryKey Whether the column is part of the primary key
	PrimaryKey *bool `json:"primary_key,omitempty"`

	// Type Arrow Type of the column
	Type *string `json:"type,omitempty"`
}

PluginTableColumn CloudQuery Plugin Column

type PluginTableDetails

type PluginTableDetails struct {
	// Columns List of columns
	Columns *[]PluginTableColumn `json:"columns,omitempty"`

	// Description Description of the table
	Description *string `json:"description,omitempty"`

	// IsIncremental Whether the table is incremental
	IsIncremental *bool `json:"is_incremental,omitempty"`

	// Name Name of the table
	Name *string `json:"name,omitempty"`

	// Parent Name of the parent table, if any
	Parent *string `json:"parent,omitempty"`

	// Relations Names of the tables that depend on this table
	Relations *[]string `json:"relations,omitempty"`

	// Title Title of the table
	Title *string `json:"title,omitempty"`
}

PluginTableDetails defines model for PluginTableDetails.

type PluginTableName

type PluginTableName = string

PluginTableName Name of the table

type PluginTier

type PluginTier string

PluginTier Supported tiers for plugins

const (
	Free PluginTier = "free"
)

Defines values for PluginTier.

type PluginUpdate

type PluginUpdate struct {
	// Category Supported categories for plugins
	Category    PluginCategory `json:"category"`
	Destination bool           `json:"destination"`

	// DisplayName The plugin's display name, as shown in the CloudQuery Hub.
	DisplayName string  `json:"display_name"`
	Homepage    *string `json:"homepage,omitempty"`

	// Listed If plugin is not listed, it won't be visible or accessible in the registry.
	Listed *bool `json:"listed,omitempty"`

	// Logo URL to the plugin's logo. This will be shown in the CloudQuery Hub. This must point to https://images.cloudquery.io/...
	Repository *string `json:"repository,omitempty"`

	// ShortDescription Short description of the plugin. This will be shown in the CloudQuery Hub.
	ShortDescription string `json:"short_description"`
	Source           bool   `json:"source"`

	// Tier Supported tiers for plugins
	Tier PluginTier `json:"tier"`
}

PluginUpdate defines model for PluginUpdate.

type PluginVersion

type PluginVersion struct {
	// Checksums The checksums of the plugin assets
	Checksums []string `json:"checksums"`

	// CreatedAt The date and time the plugin version was created.
	CreatedAt time.Time `json:"created_at"`

	// Draft If a plugin version is in draft, it will not show to members outside the team or be counted as the latest version.
	Draft bool `json:"draft"`

	// Message Description of what's new or changed in this version (supports markdown)
	Message string `json:"message"`

	// Name The version in semantic version format.
	Name VersionName `json:"name"`

	// PackageType The package type of the plugin assets
	PackageType PluginVersionPackageType `json:"package_type"`

	// Protocols The CloudQuery protocols supported by this plugin version
	Protocols []int `json:"protocols"`

	// Retracted If a plugin version is retracted, assets will not be available and it will not be counted as the latest version.
	Retracted bool `json:"retracted"`

	// SupportedTargets The targets supported by this plugin version, formatted as <os>_<arch>
	SupportedTargets []string `json:"supported_targets"`
}

PluginVersion CloudQuery Plugin Version

type PluginVersionPackageType

type PluginVersionPackageType string

PluginVersionPackageType The package type of the plugin assets

const (
	PluginVersionPackageTypeDocker PluginVersionPackageType = "docker"
	PluginVersionPackageTypeNative PluginVersionPackageType = "native"
)

Defines values for PluginVersionPackageType.

type PluginVersionUpdate

type PluginVersionUpdate struct {
	// Checksums The SHA-256 checksums of the plugin binaries, one per supported target.
	Checksums *[]string `json:"checksums,omitempty"`

	// Draft If a plugin version is in draft, it will not show to members outside the team or be counted as the latest version. Once draft is set to false, only certain fields can be updated.
	Draft *bool `json:"draft,omitempty"`

	// Message Description of what's new or changed in this version (supports markdown)
	Message *string `json:"message,omitempty"`

	// PackageType The package type of the plugin binaries
	PackageType *string `json:"package_type,omitempty"`

	// Protocols The supported CloudQuery protocols by this plugin version
	Protocols *[]int `json:"protocols,omitempty"`

	// Retracted If a plugin version is retracted, assets will not be available and it will not be counted as the latest version.
	Retracted        *bool     `json:"retracted,omitempty"`
	SupportedTargets *[]string `json:"supported_targets,omitempty"`
}

PluginVersionUpdate defines model for PluginVersionUpdate.

type ReleaseURL

type ReleaseURL struct {
	Url *string `json:"url,omitempty"`
}

ReleaseURL defines model for ReleaseURL.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type RequiresAuthentication

type RequiresAuthentication = BasicError

RequiresAuthentication Basic Error

type TargetName

type TargetName = string

TargetName defines model for target_name.

type Team

type Team struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`

	// DisplayName The team's display name
	DisplayName string `json:"display_name"`

	// Name The unique name for the team.
	Name TeamName `json:"name"`
}

Team CloudQuery Team

type TeamName

type TeamName = string

TeamName The unique name for the team.

type UnprocessableEntity

type UnprocessableEntity = ValidationError

UnprocessableEntity defines model for UnprocessableEntity.

type UpdatePluginJSONRequestBody

type UpdatePluginJSONRequestBody = PluginUpdate

UpdatePluginJSONRequestBody defines body for UpdatePlugin for application/json ContentType.

type UpdatePluginResponse

type UpdatePluginResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Plugin
	JSON403      *Forbidden
	JSON422      *UnprocessableEntity
	JSON500      *InternalError
}

func ParseUpdatePluginResponse

func ParseUpdatePluginResponse(rsp *http.Response) (*UpdatePluginResponse, error)

ParseUpdatePluginResponse parses an HTTP response from a UpdatePluginWithResponse call

func (UpdatePluginResponse) Status

func (r UpdatePluginResponse) Status() string

Status returns HTTPResponse.Status

func (UpdatePluginResponse) StatusCode

func (r UpdatePluginResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdatePluginVersionJSONRequestBody

type UpdatePluginVersionJSONRequestBody = PluginVersionUpdate

UpdatePluginVersionJSONRequestBody defines body for UpdatePluginVersion for application/json ContentType.

type UpdatePluginVersionResponse

type UpdatePluginVersionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PluginVersion
	JSON401      *RequiresAuthentication
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
	JSON500      *InternalError
}

func ParseUpdatePluginVersionResponse

func ParseUpdatePluginVersionResponse(rsp *http.Response) (*UpdatePluginVersionResponse, error)

ParseUpdatePluginVersionResponse parses an HTTP response from a UpdatePluginVersionWithResponse call

func (UpdatePluginVersionResponse) Status

Status returns HTTPResponse.Status

func (UpdatePluginVersionResponse) StatusCode

func (r UpdatePluginVersionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateTeamJSONBody added in v1.0.1

type UpdateTeamJSONBody struct {
	// DisplayName The team's display name
	DisplayName *string `json:"display_name,omitempty"`
}

UpdateTeamJSONBody defines parameters for UpdateTeam.

type UpdateTeamJSONRequestBody added in v1.0.1

type UpdateTeamJSONRequestBody UpdateTeamJSONBody

UpdateTeamJSONRequestBody defines body for UpdateTeam for application/json ContentType.

type UpdateTeamResponse added in v1.0.1

type UpdateTeamResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Team
	JSON401      *RequiresAuthentication
	JSON403      *Forbidden
	JSON404      *NotFound
	JSON422      *UnprocessableEntity
	JSON500      *InternalError
}

func ParseUpdateTeamResponse added in v1.0.1

func ParseUpdateTeamResponse(rsp *http.Response) (*UpdateTeamResponse, error)

ParseUpdateTeamResponse parses an HTTP response from a UpdateTeamWithResponse call

func (UpdateTeamResponse) Status added in v1.0.1

func (r UpdateTeamResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateTeamResponse) StatusCode added in v1.0.1

func (r UpdateTeamResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UploadImageResponse

type UploadImageResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ImageURL
	JSON500      *InternalError
}

func ParseUploadImageResponse

func ParseUploadImageResponse(rsp *http.Response) (*UploadImageResponse, error)

ParseUploadImageResponse parses an HTTP response from a UploadImageWithResponse call

func (UploadImageResponse) Status

func (r UploadImageResponse) Status() string

Status returns HTTPResponse.Status

func (UploadImageResponse) StatusCode

func (r UploadImageResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UploadPluginAssetResponse

type UploadPluginAssetResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *ReleaseURL
	JSON401      *RequiresAuthentication
	JSON403      *Forbidden
	JSON500      *InternalError
}

func ParseUploadPluginAssetResponse

func ParseUploadPluginAssetResponse(rsp *http.Response) (*UploadPluginAssetResponse, error)

ParseUploadPluginAssetResponse parses an HTTP response from a UploadPluginAssetWithResponse call

func (UploadPluginAssetResponse) Status

func (r UploadPluginAssetResponse) Status() string

Status returns HTTPResponse.Status

func (UploadPluginAssetResponse) StatusCode

func (r UploadPluginAssetResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type User

type User struct {
	CreatedAt *time.Time `json:"created_at,omitempty"`
	Email     Email      `json:"email"`

	// Name The unique name for the user.
	Name      *UserName  `json:"name,omitempty"`
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

User CloudQuery User

type UserName

type UserName = string

UserName The unique name for the user.

type ValidationError

type ValidationError struct {
	Errors      *[]string          `json:"errors,omitempty"`
	FieldErrors *map[string]string `json:"field_errors,omitempty"`
	Message     string             `json:"message"`
	Status      int                `json:"status"`
}

ValidationError defines model for ValidationError.

type VersionName

type VersionName = string

VersionName The version in semantic version format.

type VersionSortBy

type VersionSortBy string

VersionSortBy defines model for version_sort_by.

const (
	VersionSortByCreatedAt VersionSortBy = "created_at"
)

Defines values for VersionSortBy.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL