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
- func NewAcceptTeamInvitationRequest(server string, teamName TeamName) (*http.Request, error)
- func NewCancelTeamInvitationRequest(server string, teamName TeamName, email Email) (*http.Request, error)
- func NewCreatePluginRequest(server string, body CreatePluginJSONRequestBody) (*http.Request, error)
- func NewCreatePluginRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreatePluginVersionDocsRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, ...) (*http.Request, error)
- func NewCreatePluginVersionDocsRequestWithBody(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, ...) (*http.Request, error)
- func NewCreatePluginVersionRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, ...) (*http.Request, error)
- func NewCreatePluginVersionRequestWithBody(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, ...) (*http.Request, error)
- func NewCreatePluginVersionTablesRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, ...) (*http.Request, error)
- func NewCreatePluginVersionTablesRequestWithBody(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, ...) (*http.Request, error)
- func NewCreateTeamAPIKeyRequest(server string, teamName TeamName, body CreateTeamAPIKeyJSONRequestBody) (*http.Request, error)
- func NewCreateTeamAPIKeyRequestWithBody(server string, teamName TeamName, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateTeamRequest(server string, body CreateTeamJSONRequestBody) (*http.Request, error)
- func NewCreateTeamRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeletePluginByTeamAndPluginNameRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName) (*http.Request, error)
- func NewDeletePluginVersionDocsRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, ...) (*http.Request, error)
- func NewDeletePluginVersionDocsRequestWithBody(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, ...) (*http.Request, error)
- func NewDeletePluginVersionTablesRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, ...) (*http.Request, error)
- func NewDeletePluginVersionTablesRequestWithBody(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, ...) (*http.Request, error)
- func NewDeletePluginsByTeamRequest(server string, teamName TeamName) (*http.Request, error)
- func NewDeleteTeamAPIKeyRequest(server string, teamName TeamName, aPIKeyName APIKeyName) (*http.Request, error)
- func NewDownloadPluginAssetRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, ...) (*http.Request, error)
- func NewEmailTeamInvitationRequest(server string, teamName TeamName, body EmailTeamInvitationJSONRequestBody) (*http.Request, error)
- func NewEmailTeamInvitationRequestWithBody(server string, teamName TeamName, contentType string, body io.Reader) (*http.Request, error)
- func NewGetCurrentUserMembershipsRequest(server string, params *GetCurrentUserMembershipsParams) (*http.Request, error)
- func NewGetCurrentUserRequest(server string) (*http.Request, error)
- func NewGetPluginRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName) (*http.Request, error)
- func NewGetPluginVersionRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, ...) (*http.Request, error)
- func NewGetPluginVersionTableRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, ...) (*http.Request, error)
- func NewGetTeamByNameRequest(server string, teamName TeamName) (*http.Request, error)
- func NewGetTeamMembershipsRequest(server string, teamName TeamName, params *GetTeamMembershipsParams) (*http.Request, error)
- func NewHealthCheckRequest(server string) (*http.Request, error)
- func NewListCurrentUserInvitationsRequest(server string, params *ListCurrentUserInvitationsParams) (*http.Request, error)
- func NewListPluginVersionDocsRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, ...) (*http.Request, error)
- func NewListPluginVersionTablesRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, ...) (*http.Request, error)
- func NewListPluginVersionsRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, ...) (*http.Request, error)
- func NewListPluginsByTeamRequest(server string, teamName TeamName, params *ListPluginsByTeamParams) (*http.Request, error)
- func NewListPluginsRequest(server string, params *ListPluginsParams) (*http.Request, error)
- func NewListTeamAPIKeysRequest(server string, teamName TeamName, params *ListTeamAPIKeysParams) (*http.Request, error)
- func NewListTeamInvitationsRequest(server string, teamName TeamName, params *ListTeamInvitationsParams) (*http.Request, error)
- func NewListTeamsRequest(server string, params *ListTeamsParams) (*http.Request, error)
- func NewListUsersByTeamRequest(server string, teamName TeamName, params *ListUsersByTeamParams) (*http.Request, error)
- func NewUpdateCurrentUserRequest(server string, body UpdateCurrentUserJSONRequestBody) (*http.Request, error)
- func NewUpdateCurrentUserRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdatePluginRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, ...) (*http.Request, error)
- func NewUpdatePluginRequestWithBody(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, ...) (*http.Request, error)
- func NewUpdatePluginVersionRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, ...) (*http.Request, error)
- func NewUpdatePluginVersionRequestWithBody(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, ...) (*http.Request, error)
- func NewUpdateTeamRequest(server string, teamName TeamName, body UpdateTeamJSONRequestBody) (*http.Request, error)
- func NewUpdateTeamRequestWithBody(server string, teamName TeamName, contentType string, body io.Reader) (*http.Request, error)
- func NewUploadImageRequest(server string) (*http.Request, error)
- func NewUploadPluginAssetRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, ...) (*http.Request, error)
- type APIKey
- type APIKeyName
- type APIKeyScope
- type AcceptTeamInvitationResponse
- type BadRequest
- type BadRequestError
- type BasicError
- type CancelTeamInvitationResponse
- type Client
- func (c *Client) AcceptTeamInvitation(ctx context.Context, teamName TeamName, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CancelTeamInvitation(ctx context.Context, teamName TeamName, email Email, ...) (*http.Response, error)
- func (c *Client) CreatePlugin(ctx context.Context, body CreatePluginJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreatePluginVersion(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*http.Response, error)
- func (c *Client) CreatePluginVersionDocs(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*http.Response, error)
- func (c *Client) CreatePluginVersionDocsWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*http.Response, error)
- func (c *Client) CreatePluginVersionTables(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*http.Response, error)
- func (c *Client) CreatePluginVersionTablesWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*http.Response, error)
- func (c *Client) CreatePluginVersionWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*http.Response, error)
- func (c *Client) CreatePluginWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateTeam(ctx context.Context, body CreateTeamJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateTeamAPIKey(ctx context.Context, teamName TeamName, body CreateTeamAPIKeyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateTeamAPIKeyWithBody(ctx context.Context, teamName TeamName, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateTeamWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeletePluginByTeamAndPluginName(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*http.Response, error)
- func (c *Client) DeletePluginVersionDocs(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*http.Response, error)
- func (c *Client) DeletePluginVersionDocsWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*http.Response, error)
- func (c *Client) DeletePluginVersionTables(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*http.Response, error)
- func (c *Client) DeletePluginVersionTablesWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*http.Response, error)
- func (c *Client) DeletePluginsByTeam(ctx context.Context, teamName TeamName, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteTeamAPIKey(ctx context.Context, teamName TeamName, aPIKeyName APIKeyName, ...) (*http.Response, error)
- func (c *Client) DownloadPluginAsset(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*http.Response, error)
- func (c *Client) EmailTeamInvitation(ctx context.Context, teamName TeamName, ...) (*http.Response, error)
- func (c *Client) EmailTeamInvitationWithBody(ctx context.Context, teamName TeamName, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetCurrentUser(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCurrentUserMemberships(ctx context.Context, params *GetCurrentUserMembershipsParams, ...) (*http.Response, error)
- func (c *Client) GetPlugin(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*http.Response, error)
- func (c *Client) GetPluginVersion(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*http.Response, error)
- func (c *Client) GetPluginVersionTable(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*http.Response, error)
- func (c *Client) GetTeamByName(ctx context.Context, teamName TeamName, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTeamMemberships(ctx context.Context, teamName TeamName, params *GetTeamMembershipsParams, ...) (*http.Response, error)
- func (c *Client) HealthCheck(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListCurrentUserInvitations(ctx context.Context, params *ListCurrentUserInvitationsParams, ...) (*http.Response, error)
- func (c *Client) ListPluginVersionDocs(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*http.Response, error)
- func (c *Client) ListPluginVersionTables(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*http.Response, error)
- func (c *Client) ListPluginVersions(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*http.Response, error)
- func (c *Client) ListPlugins(ctx context.Context, params *ListPluginsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListPluginsByTeam(ctx context.Context, teamName TeamName, params *ListPluginsByTeamParams, ...) (*http.Response, error)
- func (c *Client) ListTeamAPIKeys(ctx context.Context, teamName TeamName, params *ListTeamAPIKeysParams, ...) (*http.Response, error)
- func (c *Client) ListTeamInvitations(ctx context.Context, teamName TeamName, params *ListTeamInvitationsParams, ...) (*http.Response, error)
- func (c *Client) ListTeams(ctx context.Context, params *ListTeamsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListUsersByTeam(ctx context.Context, teamName TeamName, params *ListUsersByTeamParams, ...) (*http.Response, error)
- func (c *Client) UpdateCurrentUser(ctx context.Context, body UpdateCurrentUserJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateCurrentUserWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdatePlugin(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*http.Response, error)
- func (c *Client) UpdatePluginVersion(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*http.Response, error)
- func (c *Client) UpdatePluginVersionWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*http.Response, error)
- func (c *Client) UpdatePluginWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*http.Response, error)
- func (c *Client) UpdateTeam(ctx context.Context, teamName TeamName, body UpdateTeamJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateTeamWithBody(ctx context.Context, teamName TeamName, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UploadImage(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UploadPluginAsset(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AcceptTeamInvitationWithResponse(ctx context.Context, teamName TeamName, reqEditors ...RequestEditorFn) (*AcceptTeamInvitationResponse, error)
- func (c *ClientWithResponses) CancelTeamInvitationWithResponse(ctx context.Context, teamName TeamName, email Email, ...) (*CancelTeamInvitationResponse, error)
- func (c *ClientWithResponses) CreatePluginVersionDocsWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*CreatePluginVersionDocsResponse, error)
- func (c *ClientWithResponses) CreatePluginVersionDocsWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*CreatePluginVersionDocsResponse, error)
- func (c *ClientWithResponses) CreatePluginVersionTablesWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*CreatePluginVersionTablesResponse, error)
- func (c *ClientWithResponses) CreatePluginVersionTablesWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*CreatePluginVersionTablesResponse, error)
- func (c *ClientWithResponses) CreatePluginVersionWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*CreatePluginVersionResponse, error)
- func (c *ClientWithResponses) CreatePluginVersionWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*CreatePluginVersionResponse, error)
- func (c *ClientWithResponses) CreatePluginWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreatePluginResponse, error)
- func (c *ClientWithResponses) CreatePluginWithResponse(ctx context.Context, body CreatePluginJSONRequestBody, ...) (*CreatePluginResponse, error)
- func (c *ClientWithResponses) CreateTeamAPIKeyWithBodyWithResponse(ctx context.Context, teamName TeamName, contentType string, body io.Reader, ...) (*CreateTeamAPIKeyResponse, error)
- func (c *ClientWithResponses) CreateTeamAPIKeyWithResponse(ctx context.Context, teamName TeamName, body CreateTeamAPIKeyJSONRequestBody, ...) (*CreateTeamAPIKeyResponse, error)
- func (c *ClientWithResponses) CreateTeamWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateTeamResponse, error)
- func (c *ClientWithResponses) CreateTeamWithResponse(ctx context.Context, body CreateTeamJSONRequestBody, ...) (*CreateTeamResponse, error)
- func (c *ClientWithResponses) DeletePluginByTeamAndPluginNameWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*DeletePluginByTeamAndPluginNameResponse, error)
- func (c *ClientWithResponses) DeletePluginVersionDocsWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*DeletePluginVersionDocsResponse, error)
- func (c *ClientWithResponses) DeletePluginVersionDocsWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*DeletePluginVersionDocsResponse, error)
- func (c *ClientWithResponses) DeletePluginVersionTablesWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*DeletePluginVersionTablesResponse, error)
- func (c *ClientWithResponses) DeletePluginVersionTablesWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*DeletePluginVersionTablesResponse, error)
- func (c *ClientWithResponses) DeletePluginsByTeamWithResponse(ctx context.Context, teamName TeamName, reqEditors ...RequestEditorFn) (*DeletePluginsByTeamResponse, error)
- func (c *ClientWithResponses) DeleteTeamAPIKeyWithResponse(ctx context.Context, teamName TeamName, aPIKeyName APIKeyName, ...) (*DeleteTeamAPIKeyResponse, error)
- func (c *ClientWithResponses) DownloadPluginAssetWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*DownloadPluginAssetResponse, error)
- func (c *ClientWithResponses) EmailTeamInvitationWithBodyWithResponse(ctx context.Context, teamName TeamName, contentType string, body io.Reader, ...) (*EmailTeamInvitationResponse, error)
- func (c *ClientWithResponses) EmailTeamInvitationWithResponse(ctx context.Context, teamName TeamName, ...) (*EmailTeamInvitationResponse, error)
- func (c *ClientWithResponses) GetCurrentUserMembershipsWithResponse(ctx context.Context, params *GetCurrentUserMembershipsParams, ...) (*GetCurrentUserMembershipsResponse, error)
- func (c *ClientWithResponses) GetCurrentUserWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetCurrentUserResponse, error)
- func (c *ClientWithResponses) GetPluginVersionTableWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*GetPluginVersionTableResponse, error)
- func (c *ClientWithResponses) GetPluginVersionWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*GetPluginVersionResponse, error)
- func (c *ClientWithResponses) GetPluginWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*GetPluginResponse, error)
- func (c *ClientWithResponses) GetTeamByNameWithResponse(ctx context.Context, teamName TeamName, reqEditors ...RequestEditorFn) (*GetTeamByNameResponse, error)
- func (c *ClientWithResponses) GetTeamMembershipsWithResponse(ctx context.Context, teamName TeamName, params *GetTeamMembershipsParams, ...) (*GetTeamMembershipsResponse, error)
- func (c *ClientWithResponses) HealthCheckWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthCheckResponse, error)
- func (c *ClientWithResponses) ListCurrentUserInvitationsWithResponse(ctx context.Context, params *ListCurrentUserInvitationsParams, ...) (*ListCurrentUserInvitationsResponse, error)
- func (c *ClientWithResponses) ListPluginVersionDocsWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*ListPluginVersionDocsResponse, error)
- func (c *ClientWithResponses) ListPluginVersionTablesWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*ListPluginVersionTablesResponse, error)
- func (c *ClientWithResponses) ListPluginVersionsWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*ListPluginVersionsResponse, error)
- func (c *ClientWithResponses) ListPluginsByTeamWithResponse(ctx context.Context, teamName TeamName, params *ListPluginsByTeamParams, ...) (*ListPluginsByTeamResponse, error)
- func (c *ClientWithResponses) ListPluginsWithResponse(ctx context.Context, params *ListPluginsParams, reqEditors ...RequestEditorFn) (*ListPluginsResponse, error)
- func (c *ClientWithResponses) ListTeamAPIKeysWithResponse(ctx context.Context, teamName TeamName, params *ListTeamAPIKeysParams, ...) (*ListTeamAPIKeysResponse, error)
- func (c *ClientWithResponses) ListTeamInvitationsWithResponse(ctx context.Context, teamName TeamName, params *ListTeamInvitationsParams, ...) (*ListTeamInvitationsResponse, error)
- func (c *ClientWithResponses) ListTeamsWithResponse(ctx context.Context, params *ListTeamsParams, reqEditors ...RequestEditorFn) (*ListTeamsResponse, error)
- func (c *ClientWithResponses) ListUsersByTeamWithResponse(ctx context.Context, teamName TeamName, params *ListUsersByTeamParams, ...) (*ListUsersByTeamResponse, error)
- func (c *ClientWithResponses) UpdateCurrentUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UpdateCurrentUserResponse, error)
- func (c *ClientWithResponses) UpdateCurrentUserWithResponse(ctx context.Context, body UpdateCurrentUserJSONRequestBody, ...) (*UpdateCurrentUserResponse, error)
- func (c *ClientWithResponses) UpdatePluginVersionWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*UpdatePluginVersionResponse, error)
- func (c *ClientWithResponses) UpdatePluginVersionWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*UpdatePluginVersionResponse, error)
- func (c *ClientWithResponses) UpdatePluginWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*UpdatePluginResponse, error)
- func (c *ClientWithResponses) UpdatePluginWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*UpdatePluginResponse, error)
- func (c *ClientWithResponses) UpdateTeamWithBodyWithResponse(ctx context.Context, teamName TeamName, contentType string, body io.Reader, ...) (*UpdateTeamResponse, error)
- func (c *ClientWithResponses) UpdateTeamWithResponse(ctx context.Context, teamName TeamName, body UpdateTeamJSONRequestBody, ...) (*UpdateTeamResponse, error)
- func (c *ClientWithResponses) UploadImageWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*UploadImageResponse, error)
- func (c *ClientWithResponses) UploadPluginAssetWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, ...) (*UploadPluginAssetResponse, error)
- type ClientWithResponsesInterface
- type CreatePluginJSONRequestBody
- type CreatePluginResponse
- type CreatePluginVersionDocsJSONBody
- type CreatePluginVersionDocsJSONRequestBody
- type CreatePluginVersionDocsResponse
- type CreatePluginVersionJSONBody
- type CreatePluginVersionJSONBodyPackageType
- type CreatePluginVersionJSONRequestBody
- type CreatePluginVersionResponse
- type CreatePluginVersionTablesJSONBody
- type CreatePluginVersionTablesJSONRequestBody
- type CreatePluginVersionTablesResponse
- type CreateTeamAPIKeyJSONBody
- type CreateTeamAPIKeyJSONBodyScope
- type CreateTeamAPIKeyJSONRequestBody
- type CreateTeamAPIKeyResponse
- type CreateTeamJSONBody
- type CreateTeamJSONRequestBody
- type CreateTeamResponse
- type DeletePluginByTeamAndPluginNameResponse
- type DeletePluginVersionDocsJSONBody
- type DeletePluginVersionDocsJSONRequestBody
- type DeletePluginVersionDocsResponse
- type DeletePluginVersionTablesJSONBody
- type DeletePluginVersionTablesJSONRequestBody
- type DeletePluginVersionTablesResponse
- type DeletePluginsByTeamResponse
- type DeleteTeamAPIKeyResponse
- type DownloadPluginAssetResponse
- type Email
- type EmailTeamInvitationJSONBody
- type EmailTeamInvitationJSONBodyRole
- type EmailTeamInvitationJSONRequestBody
- type EmailTeamInvitationResponse
- type Forbidden
- type GetCurrentUserMembershipsParams
- type GetCurrentUserMembershipsResponse
- type GetCurrentUserResponse
- type GetPluginResponse
- type GetPluginVersionResponse
- type GetPluginVersionTableResponse
- type GetTeamByNameResponse
- type GetTeamMembershipsParams
- type GetTeamMembershipsResponse
- type HealthCheckResponse
- type HttpRequestDoer
- type ImageURL
- type IncludeDrafts
- type IncludeUnlisted
- type InternalError
- type Invitation
- type ListCurrentUserInvitationsParams
- type ListCurrentUserInvitationsResponse
- type ListMetadata
- type ListPluginVersionDocsParams
- type ListPluginVersionDocsResponse
- type ListPluginVersionTablesParams
- type ListPluginVersionTablesResponse
- type ListPluginVersionsParams
- type ListPluginVersionsParamsSortBy
- type ListPluginVersionsResponse
- type ListPluginsByTeamParams
- type ListPluginsByTeamResponse
- type ListPluginsParams
- type ListPluginsParamsSortBy
- type ListPluginsResponse
- type ListTeamAPIKeysParams
- type ListTeamAPIKeysResponse
- type ListTeamInvitationsParams
- type ListTeamInvitationsResponse
- type ListTeamsParams
- type ListTeamsResponse
- type ListUsersByTeamParams
- type ListUsersByTeamResponse
- type Membership
- type MethodNotAllowed
- type NotFound
- type Page
- type PerPage
- type Plugin
- type PluginCategory
- type PluginCreate
- type PluginDocsPage
- type PluginDocsPageCreate
- type PluginDocsPageName
- type PluginKind
- type PluginName
- type PluginSortBy
- type PluginTable
- type PluginTableColumn
- type PluginTableCreate
- type PluginTableDetails
- type PluginTableName
- type PluginTier
- type PluginUpdate
- type PluginVersion
- type PluginVersionPackageType
- type PluginVersionUpdate
- type ReleaseURL
- type RequestEditorFn
- type RequiresAuthentication
- type TargetName
- type Team
- type TeamName
- type UpdateCurrentUserJSONBody
- type UpdateCurrentUserJSONRequestBody
- type UpdateCurrentUserResponse
- type UpdatePluginJSONRequestBody
- type UpdatePluginResponse
- type UpdatePluginVersionJSONRequestBody
- type UpdatePluginVersionResponse
- type UpdateTeamJSONBody
- type UpdateTeamJSONRequestBody
- type UpdateTeamResponse
- type UploadImageResponse
- type UploadPluginAssetResponse
- type User
- type UserName
- type VersionName
- type VersionSortBy
Constants ¶
const (
BearerAuthScopes = "bearerAuth.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func NewAcceptTeamInvitationRequest ¶
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, pluginKind PluginKind, 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, pluginKind PluginKind, 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, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body CreatePluginVersionJSONRequestBody) (*http.Request, error)
NewCreatePluginVersionRequest calls the generic CreatePluginVersion builder with application/json body
func NewCreatePluginVersionRequestWithBody ¶
func NewCreatePluginVersionRequestWithBody(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, 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, pluginKind PluginKind, 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, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader) (*http.Request, error)
NewCreatePluginVersionTablesRequestWithBody generates requests for CreatePluginVersionTables with any type of body
func NewCreateTeamAPIKeyRequest ¶ added in v1.0.3
func NewCreateTeamAPIKeyRequest(server string, teamName TeamName, body CreateTeamAPIKeyJSONRequestBody) (*http.Request, error)
NewCreateTeamAPIKeyRequest calls the generic CreateTeamAPIKey builder with application/json body
func NewCreateTeamAPIKeyRequestWithBody ¶ added in v1.0.3
func NewCreateTeamAPIKeyRequestWithBody(server string, teamName TeamName, contentType string, body io.Reader) (*http.Request, error)
NewCreateTeamAPIKeyRequestWithBody generates requests for CreateTeamAPIKey with any type of body
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 NewDeletePluginByTeamAndPluginNameRequest ¶ added in v1.0.2
func NewDeletePluginByTeamAndPluginNameRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName) (*http.Request, error)
NewDeletePluginByTeamAndPluginNameRequest generates requests for DeletePluginByTeamAndPluginName
func NewDeletePluginVersionDocsRequest ¶
func NewDeletePluginVersionDocsRequest(server string, teamName TeamName, pluginKind PluginKind, 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, pluginKind PluginKind, 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, pluginKind PluginKind, 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, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader) (*http.Request, error)
NewDeletePluginVersionTablesRequestWithBody generates requests for DeletePluginVersionTables with any type of body
func NewDeletePluginsByTeamRequest ¶ added in v1.0.2
NewDeletePluginsByTeamRequest generates requests for DeletePluginsByTeam
func NewDeleteTeamAPIKeyRequest ¶ added in v1.0.3
func NewDeleteTeamAPIKeyRequest(server string, teamName TeamName, aPIKeyName APIKeyName) (*http.Request, error)
NewDeleteTeamAPIKeyRequest generates requests for DeleteTeamAPIKey
func NewDownloadPluginAssetRequest ¶
func NewDownloadPluginAssetRequest(server string, teamName TeamName, pluginKind PluginKind, 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 ¶
NewGetCurrentUserRequest generates requests for GetCurrentUser
func NewGetPluginRequest ¶
func NewGetPluginRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName) (*http.Request, error)
NewGetPluginRequest generates requests for GetPlugin
func NewGetPluginVersionRequest ¶
func NewGetPluginVersionRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName) (*http.Request, error)
NewGetPluginVersionRequest generates requests for GetPluginVersion
func NewGetPluginVersionTableRequest ¶
func NewGetPluginVersionTableRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, tableName string) (*http.Request, error)
NewGetPluginVersionTableRequest generates requests for GetPluginVersionTable
func NewGetTeamByNameRequest ¶
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 ¶
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, pluginKind PluginKind, pluginName PluginName, versionName VersionName, params *ListPluginVersionDocsParams) (*http.Request, error)
NewListPluginVersionDocsRequest generates requests for ListPluginVersionDocs
func NewListPluginVersionTablesRequest ¶
func NewListPluginVersionTablesRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, params *ListPluginVersionTablesParams) (*http.Request, error)
NewListPluginVersionTablesRequest generates requests for ListPluginVersionTables
func NewListPluginVersionsRequest ¶
func NewListPluginVersionsRequest(server string, teamName TeamName, pluginKind PluginKind, 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 ¶ added in v1.0.3
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 NewUpdateCurrentUserRequest ¶ added in v1.0.3
func NewUpdateCurrentUserRequest(server string, body UpdateCurrentUserJSONRequestBody) (*http.Request, error)
NewUpdateCurrentUserRequest calls the generic UpdateCurrentUser builder with application/json body
func NewUpdateCurrentUserRequestWithBody ¶ added in v1.0.3
func NewUpdateCurrentUserRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateCurrentUserRequestWithBody generates requests for UpdateCurrentUser with any type of body
func NewUpdatePluginRequest ¶
func NewUpdatePluginRequest(server string, teamName TeamName, pluginKind PluginKind, 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, pluginKind PluginKind, 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, pluginKind PluginKind, 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, pluginKind PluginKind, 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 ¶
NewUploadImageRequest generates requests for UploadImage
func NewUploadPluginAssetRequest ¶
func NewUploadPluginAssetRequest(server string, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, targetName TargetName) (*http.Request, error)
NewUploadPluginAssetRequest generates requests for UploadPluginAsset
Types ¶
type APIKey ¶ added in v1.0.3
type APIKey struct { CreatedAt *time.Time `json:"created_at,omitempty"` CreatedBy *Email `json:"created_by,omitempty"` // ExpiresAt Timestamp at which API key will stop working ExpiresAt time.Time `json:"expires_at"` // Key API key. Will be shown only in the response when creating the key. Key *string `json:"key,omitempty"` Name string `json:"name"` // Scope Scope of permissions for the API key. `read-only` API keys are used for downloading a plugin while `read-write` API keys are used for uploading a plugin. Scope APIKeyScope `json:"scope"` }
APIKey API Key to interact with CloudQuery Cloud under specific team
type APIKeyName ¶ added in v1.0.3
type APIKeyName = string
APIKeyName defines model for apikey_name.
type APIKeyScope ¶ added in v1.0.3
type APIKeyScope string
APIKeyScope Scope of permissions for the API key. `read-only` API keys are used for downloading a plugin while `read-write` API keys are used for uploading a plugin.
const ( APIKeyScopeReadAndWrite APIKeyScope = "read-and-write" APIKeyScopeReadOnly APIKeyScope = "read-only" )
Defines values for APIKeyScope.
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 ¶
func (r AcceptTeamInvitationResponse) Status() string
Status returns HTTPResponse.Status
func (AcceptTeamInvitationResponse) StatusCode ¶
func (r AcceptTeamInvitationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BadRequest ¶ added in v1.2.1
type BadRequest = BadRequestError
BadRequest defines model for BadRequest.
type BadRequestError ¶ added in v1.2.1
type BadRequestError struct { Errors *[]string `json:"errors,omitempty"` FieldErrors *map[string]string `json:"field_errors,omitempty"` Message string `json:"message"` Status int `json:"status"` }
BadRequestError defines model for BadRequestError.
type BasicError ¶
BasicError Basic Error
type CancelTeamInvitationResponse ¶
type CancelTeamInvitationResponse struct { Body []byte HTTPResponse *http.Response JSON400 *BadRequest JSON401 *RequiresAuthentication JSON403 *Forbidden JSON404 *NotFound JSON500 *InternalError }
func ParseCancelTeamInvitationResponse ¶
func ParseCancelTeamInvitationResponse(rsp *http.Response) (*CancelTeamInvitationResponse, error)
ParseCancelTeamInvitationResponse parses an HTTP response from a CancelTeamInvitationWithResponse call
func (CancelTeamInvitationResponse) Status ¶
func (r CancelTeamInvitationResponse) Status() string
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 (*Client) CancelTeamInvitation ¶
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, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body CreatePluginVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreatePluginVersionDocs ¶
func (c *Client) CreatePluginVersionDocs(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body CreatePluginVersionDocsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreatePluginVersionDocsWithBody ¶
func (c *Client) CreatePluginVersionDocsWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, 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, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body CreatePluginVersionTablesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreatePluginVersionTablesWithBody ¶
func (c *Client) CreatePluginVersionTablesWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, 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, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreatePluginWithBody ¶
func (*Client) CreateTeam ¶
func (c *Client) CreateTeam(ctx context.Context, body CreateTeamJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateTeamAPIKey ¶ added in v1.0.3
func (c *Client) CreateTeamAPIKey(ctx context.Context, teamName TeamName, body CreateTeamAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateTeamAPIKeyWithBody ¶ added in v1.0.3
func (*Client) CreateTeamWithBody ¶
func (*Client) DeletePluginByTeamAndPluginName ¶ added in v1.0.2
func (c *Client) DeletePluginByTeamAndPluginName(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeletePluginVersionDocs ¶
func (c *Client) DeletePluginVersionDocs(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body DeletePluginVersionDocsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeletePluginVersionDocsWithBody ¶
func (c *Client) DeletePluginVersionDocsWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, 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, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body DeletePluginVersionTablesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeletePluginVersionTablesWithBody ¶
func (c *Client) DeletePluginVersionTablesWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeletePluginsByTeam ¶ added in v1.0.2
func (*Client) DeleteTeamAPIKey ¶ added in v1.0.3
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, pluginKind PluginKind, 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 (*Client) GetCurrentUser ¶
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, pluginKind PluginKind, pluginName PluginName, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetPluginVersion ¶
func (c *Client) GetPluginVersion(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetPluginVersionTable ¶
func (c *Client) GetPluginVersionTable(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, tableName string, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetTeamByName ¶
func (*Client) GetTeamMemberships ¶
func (c *Client) GetTeamMemberships(ctx context.Context, teamName TeamName, params *GetTeamMembershipsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) HealthCheck ¶
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, pluginKind PluginKind, pluginName PluginName, versionName VersionName, params *ListPluginVersionDocsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListPluginVersionTables ¶
func (c *Client) ListPluginVersionTables(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, params *ListPluginVersionTablesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListPluginVersions ¶
func (c *Client) ListPluginVersions(ctx context.Context, teamName TeamName, pluginKind PluginKind, 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 ¶ added in v1.0.3
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) UpdateCurrentUser ¶ added in v1.0.3
func (c *Client) UpdateCurrentUser(ctx context.Context, body UpdateCurrentUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateCurrentUserWithBody ¶ added in v1.0.3
func (*Client) UpdatePlugin ¶
func (c *Client) UpdatePlugin(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, body UpdatePluginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdatePluginVersion ¶
func (c *Client) UpdatePluginVersion(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body UpdatePluginVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdatePluginVersionWithBody ¶
func (c *Client) UpdatePluginVersionWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, 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, pluginKind PluginKind, 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 (*Client) UploadImage ¶
func (*Client) UploadPluginAsset ¶
func (c *Client) UploadPluginAsset(ctx context.Context, teamName TeamName, pluginKind PluginKind, 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) // DeletePluginByTeamAndPluginName request DeletePluginByTeamAndPluginName(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, reqEditors ...RequestEditorFn) (*http.Response, error) // GetPlugin request GetPlugin(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdatePluginWithBody request with any body UpdatePluginWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdatePlugin(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, body UpdatePluginJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ListPluginVersions request ListPluginVersions(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, params *ListPluginVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetPluginVersion request GetPluginVersion(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdatePluginVersionWithBody request with any body UpdatePluginVersionWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdatePluginVersion(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body UpdatePluginVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // CreatePluginVersionWithBody request with any body CreatePluginVersionWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreatePluginVersion(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body CreatePluginVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DownloadPluginAsset request DownloadPluginAsset(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, targetName TargetName, reqEditors ...RequestEditorFn) (*http.Response, error) // UploadPluginAsset request UploadPluginAsset(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, targetName TargetName, reqEditors ...RequestEditorFn) (*http.Response, error) // DeletePluginVersionDocsWithBody request with any body DeletePluginVersionDocsWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) DeletePluginVersionDocs(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body DeletePluginVersionDocsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ListPluginVersionDocs request ListPluginVersionDocs(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, params *ListPluginVersionDocsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // CreatePluginVersionDocsWithBody request with any body CreatePluginVersionDocsWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreatePluginVersionDocs(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body CreatePluginVersionDocsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeletePluginVersionTablesWithBody request with any body DeletePluginVersionTablesWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) DeletePluginVersionTables(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body DeletePluginVersionTablesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ListPluginVersionTables request ListPluginVersionTables(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, params *ListPluginVersionTablesParams, reqEditors ...RequestEditorFn) (*http.Response, error) // CreatePluginVersionTablesWithBody request with any body CreatePluginVersionTablesWithBody(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreatePluginVersionTables(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body CreatePluginVersionTablesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetPluginVersionTable request GetPluginVersionTable(ctx context.Context, teamName TeamName, pluginKind PluginKind, 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) // CreateTeamAPIKeyWithBody request with any body CreateTeamAPIKeyWithBody(ctx context.Context, teamName TeamName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateTeamAPIKey(ctx context.Context, teamName TeamName, body CreateTeamAPIKeyJSONRequestBody, 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) // DeletePluginsByTeam request DeletePluginsByTeam(ctx context.Context, teamName TeamName, 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) // UpdateCurrentUserWithBody request with any body UpdateCurrentUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateCurrentUser(ctx context.Context, body UpdateCurrentUserJSONRequestBody, 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 ¶
ClientOption allows setting custom parameters during construction
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, pluginKind PluginKind, 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, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body CreatePluginVersionDocsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePluginVersionDocsResponse, error)
func (*ClientWithResponses) CreatePluginVersionTablesWithBodyWithResponse ¶
func (c *ClientWithResponses) CreatePluginVersionTablesWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, 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, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body CreatePluginVersionTablesJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePluginVersionTablesResponse, error)
func (*ClientWithResponses) CreatePluginVersionWithBodyWithResponse ¶
func (c *ClientWithResponses) CreatePluginVersionWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, 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, pluginKind PluginKind, pluginName PluginName, versionName VersionName, 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) CreateTeamAPIKeyWithBodyWithResponse ¶ added in v1.0.3
func (c *ClientWithResponses) CreateTeamAPIKeyWithBodyWithResponse(ctx context.Context, teamName TeamName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamAPIKeyResponse, error)
CreateTeamAPIKeyWithBodyWithResponse request with arbitrary body returning *CreateTeamAPIKeyResponse
func (*ClientWithResponses) CreateTeamAPIKeyWithResponse ¶ added in v1.0.3
func (c *ClientWithResponses) CreateTeamAPIKeyWithResponse(ctx context.Context, teamName TeamName, body CreateTeamAPIKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTeamAPIKeyResponse, error)
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) DeletePluginByTeamAndPluginNameWithResponse ¶ added in v1.0.2
func (c *ClientWithResponses) DeletePluginByTeamAndPluginNameWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, reqEditors ...RequestEditorFn) (*DeletePluginByTeamAndPluginNameResponse, error)
DeletePluginByTeamAndPluginNameWithResponse request returning *DeletePluginByTeamAndPluginNameResponse
func (*ClientWithResponses) DeletePluginVersionDocsWithBodyWithResponse ¶
func (c *ClientWithResponses) DeletePluginVersionDocsWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, 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, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body DeletePluginVersionDocsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeletePluginVersionDocsResponse, error)
func (*ClientWithResponses) DeletePluginVersionTablesWithBodyWithResponse ¶
func (c *ClientWithResponses) DeletePluginVersionTablesWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, 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, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body DeletePluginVersionTablesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeletePluginVersionTablesResponse, error)
func (*ClientWithResponses) DeletePluginsByTeamWithResponse ¶ added in v1.0.2
func (c *ClientWithResponses) DeletePluginsByTeamWithResponse(ctx context.Context, teamName TeamName, reqEditors ...RequestEditorFn) (*DeletePluginsByTeamResponse, error)
DeletePluginsByTeamWithResponse request returning *DeletePluginsByTeamResponse
func (*ClientWithResponses) DeleteTeamAPIKeyWithResponse ¶ added in v1.0.3
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, pluginKind PluginKind, 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, pluginKind PluginKind, 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, pluginKind PluginKind, pluginName PluginName, versionName VersionName, reqEditors ...RequestEditorFn) (*GetPluginVersionResponse, error)
GetPluginVersionWithResponse request returning *GetPluginVersionResponse
func (*ClientWithResponses) GetPluginWithResponse ¶
func (c *ClientWithResponses) GetPluginWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, 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, pluginKind PluginKind, 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, pluginKind PluginKind, 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, pluginKind PluginKind, 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 ¶ added in v1.0.3
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) UpdateCurrentUserWithBodyWithResponse ¶ added in v1.0.3
func (c *ClientWithResponses) UpdateCurrentUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCurrentUserResponse, error)
UpdateCurrentUserWithBodyWithResponse request with arbitrary body returning *UpdateCurrentUserResponse
func (*ClientWithResponses) UpdateCurrentUserWithResponse ¶ added in v1.0.3
func (c *ClientWithResponses) UpdateCurrentUserWithResponse(ctx context.Context, body UpdateCurrentUserJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCurrentUserResponse, error)
func (*ClientWithResponses) UpdatePluginVersionWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdatePluginVersionWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, 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, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body UpdatePluginVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePluginVersionResponse, error)
func (*ClientWithResponses) UpdatePluginWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdatePluginWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, 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, pluginKind PluginKind, 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, pluginKind PluginKind, 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) // DeletePluginByTeamAndPluginNameWithResponse request DeletePluginByTeamAndPluginNameWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, reqEditors ...RequestEditorFn) (*DeletePluginByTeamAndPluginNameResponse, error) // GetPluginWithResponse request GetPluginWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, reqEditors ...RequestEditorFn) (*GetPluginResponse, error) // UpdatePluginWithBodyWithResponse request with any body UpdatePluginWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePluginResponse, error) UpdatePluginWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, body UpdatePluginJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePluginResponse, error) // ListPluginVersionsWithResponse request ListPluginVersionsWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, params *ListPluginVersionsParams, reqEditors ...RequestEditorFn) (*ListPluginVersionsResponse, error) // GetPluginVersionWithResponse request GetPluginVersionWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, reqEditors ...RequestEditorFn) (*GetPluginVersionResponse, error) // UpdatePluginVersionWithBodyWithResponse request with any body UpdatePluginVersionWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePluginVersionResponse, error) UpdatePluginVersionWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body UpdatePluginVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePluginVersionResponse, error) // CreatePluginVersionWithBodyWithResponse request with any body CreatePluginVersionWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePluginVersionResponse, error) CreatePluginVersionWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body CreatePluginVersionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePluginVersionResponse, error) // DownloadPluginAssetWithResponse request DownloadPluginAssetWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, targetName TargetName, reqEditors ...RequestEditorFn) (*DownloadPluginAssetResponse, error) // UploadPluginAssetWithResponse request UploadPluginAssetWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, targetName TargetName, reqEditors ...RequestEditorFn) (*UploadPluginAssetResponse, error) // DeletePluginVersionDocsWithBodyWithResponse request with any body DeletePluginVersionDocsWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeletePluginVersionDocsResponse, error) DeletePluginVersionDocsWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body DeletePluginVersionDocsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeletePluginVersionDocsResponse, error) // ListPluginVersionDocsWithResponse request ListPluginVersionDocsWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, params *ListPluginVersionDocsParams, reqEditors ...RequestEditorFn) (*ListPluginVersionDocsResponse, error) // CreatePluginVersionDocsWithBodyWithResponse request with any body CreatePluginVersionDocsWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePluginVersionDocsResponse, error) CreatePluginVersionDocsWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body CreatePluginVersionDocsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePluginVersionDocsResponse, error) // DeletePluginVersionTablesWithBodyWithResponse request with any body DeletePluginVersionTablesWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeletePluginVersionTablesResponse, error) DeletePluginVersionTablesWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body DeletePluginVersionTablesJSONRequestBody, reqEditors ...RequestEditorFn) (*DeletePluginVersionTablesResponse, error) // ListPluginVersionTablesWithResponse request ListPluginVersionTablesWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, params *ListPluginVersionTablesParams, reqEditors ...RequestEditorFn) (*ListPluginVersionTablesResponse, error) // CreatePluginVersionTablesWithBodyWithResponse request with any body CreatePluginVersionTablesWithBodyWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePluginVersionTablesResponse, error) CreatePluginVersionTablesWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, pluginName PluginName, versionName VersionName, body CreatePluginVersionTablesJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePluginVersionTablesResponse, error) // GetPluginVersionTableWithResponse request GetPluginVersionTableWithResponse(ctx context.Context, teamName TeamName, pluginKind PluginKind, 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) // CreateTeamAPIKeyWithBodyWithResponse request with any body CreateTeamAPIKeyWithBodyWithResponse(ctx context.Context, teamName TeamName, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTeamAPIKeyResponse, error) CreateTeamAPIKeyWithResponse(ctx context.Context, teamName TeamName, body CreateTeamAPIKeyJSONRequestBody, 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) // DeletePluginsByTeamWithResponse request DeletePluginsByTeamWithResponse(ctx context.Context, teamName TeamName, reqEditors ...RequestEditorFn) (*DeletePluginsByTeamResponse, 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) // UpdateCurrentUserWithBodyWithResponse request with any body UpdateCurrentUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCurrentUserResponse, error) UpdateCurrentUserWithResponse(ctx context.Context, body UpdateCurrentUserJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCurrentUserResponse, 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 JSON400 *BadRequest JSON403 *Forbidden 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 []PluginDocsPageCreate `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 JSON201 *struct { Names *[]PluginDocsPageName `json:"names,omitempty"` } JSON400 *BadRequest JSON401 *RequiresAuthentication JSON403 *Forbidden JSON404 *NotFound JSON500 *InternalError }
func ParseCreatePluginVersionDocsResponse ¶
func ParseCreatePluginVersionDocsResponse(rsp *http.Response) (*CreatePluginVersionDocsResponse, error)
ParseCreatePluginVersionDocsResponse parses an HTTP response from a CreatePluginVersionDocsWithResponse call
func (CreatePluginVersionDocsResponse) Status ¶
func (r CreatePluginVersionDocsResponse) Status() string
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"` // 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 JSON200 *PluginVersion JSON201 *PluginVersion JSON400 *BadRequest JSON401 *RequiresAuthentication JSON403 *Forbidden JSON500 *InternalError }
func ParseCreatePluginVersionResponse ¶
func ParseCreatePluginVersionResponse(rsp *http.Response) (*CreatePluginVersionResponse, error)
ParseCreatePluginVersionResponse parses an HTTP response from a CreatePluginVersionWithResponse call
func (CreatePluginVersionResponse) Status ¶
func (r CreatePluginVersionResponse) Status() string
Status returns HTTPResponse.Status
func (CreatePluginVersionResponse) StatusCode ¶
func (r CreatePluginVersionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreatePluginVersionTablesJSONBody ¶
type CreatePluginVersionTablesJSONBody struct {
Tables []PluginTableCreate `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 JSON201 *struct { Names *[]PluginTableName `json:"names,omitempty"` } JSON400 *BadRequest JSON401 *RequiresAuthentication JSON403 *Forbidden JSON404 *NotFound JSON500 *InternalError }
func ParseCreatePluginVersionTablesResponse ¶
func ParseCreatePluginVersionTablesResponse(rsp *http.Response) (*CreatePluginVersionTablesResponse, error)
ParseCreatePluginVersionTablesResponse parses an HTTP response from a CreatePluginVersionTablesWithResponse call
func (CreatePluginVersionTablesResponse) Status ¶
func (r CreatePluginVersionTablesResponse) Status() string
Status returns HTTPResponse.Status
func (CreatePluginVersionTablesResponse) StatusCode ¶
func (r CreatePluginVersionTablesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateTeamAPIKeyJSONBody ¶ added in v1.0.3
type CreateTeamAPIKeyJSONBody struct { ExpiresAt time.Time `json:"expires_at"` Name string `json:"name"` Scope *CreateTeamAPIKeyJSONBodyScope `json:"scope,omitempty"` }
CreateTeamAPIKeyJSONBody defines parameters for CreateTeamAPIKey.
type CreateTeamAPIKeyJSONBodyScope ¶ added in v1.0.3
type CreateTeamAPIKeyJSONBodyScope string
CreateTeamAPIKeyJSONBodyScope defines parameters for CreateTeamAPIKey.
const ( CreateTeamAPIKeyJSONBodyScopeReadOnly CreateTeamAPIKeyJSONBodyScope = "read-only" CreateTeamAPIKeyJSONBodyScopeReadWrite CreateTeamAPIKeyJSONBodyScope = "read-write" )
Defines values for CreateTeamAPIKeyJSONBodyScope.
type CreateTeamAPIKeyJSONRequestBody ¶ added in v1.0.3
type CreateTeamAPIKeyJSONRequestBody CreateTeamAPIKeyJSONBody
CreateTeamAPIKeyJSONRequestBody defines body for CreateTeamAPIKey for application/json ContentType.
type CreateTeamAPIKeyResponse ¶ added in v1.0.3
type CreateTeamAPIKeyResponse struct { Body []byte HTTPResponse *http.Response JSON201 *APIKey JSON400 *BadRequest JSON401 *RequiresAuthentication JSON500 *InternalError }
func ParseCreateTeamAPIKeyResponse ¶ added in v1.0.3
func ParseCreateTeamAPIKeyResponse(rsp *http.Response) (*CreateTeamAPIKeyResponse, error)
ParseCreateTeamAPIKeyResponse parses an HTTP response from a CreateTeamAPIKeyWithResponse call
func (CreateTeamAPIKeyResponse) Status ¶ added in v1.0.3
func (r CreateTeamAPIKeyResponse) Status() string
Status returns HTTPResponse.Status
func (CreateTeamAPIKeyResponse) StatusCode ¶ added in v1.0.3
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 JSON400 *BadRequest JSON401 *RequiresAuthentication JSON403 *Forbidden 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 DeletePluginByTeamAndPluginNameResponse ¶ added in v1.0.2
type DeletePluginByTeamAndPluginNameResponse struct { Body []byte HTTPResponse *http.Response JSON400 *BadRequest JSON401 *RequiresAuthentication JSON403 *Forbidden JSON404 *NotFound JSON500 *InternalError }
func ParseDeletePluginByTeamAndPluginNameResponse ¶ added in v1.0.2
func ParseDeletePluginByTeamAndPluginNameResponse(rsp *http.Response) (*DeletePluginByTeamAndPluginNameResponse, error)
ParseDeletePluginByTeamAndPluginNameResponse parses an HTTP response from a DeletePluginByTeamAndPluginNameWithResponse call
func (DeletePluginByTeamAndPluginNameResponse) Status ¶ added in v1.0.2
func (r DeletePluginByTeamAndPluginNameResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePluginByTeamAndPluginNameResponse) StatusCode ¶ added in v1.0.2
func (r DeletePluginByTeamAndPluginNameResponse) 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 JSON400 *BadRequest JSON401 *RequiresAuthentication JSON403 *Forbidden JSON404 *NotFound JSON500 *InternalError }
func ParseDeletePluginVersionDocsResponse ¶
func ParseDeletePluginVersionDocsResponse(rsp *http.Response) (*DeletePluginVersionDocsResponse, error)
ParseDeletePluginVersionDocsResponse parses an HTTP response from a DeletePluginVersionDocsWithResponse call
func (DeletePluginVersionDocsResponse) Status ¶
func (r DeletePluginVersionDocsResponse) Status() string
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 JSON400 *BadRequest JSON401 *RequiresAuthentication JSON403 *Forbidden JSON404 *NotFound JSON500 *InternalError }
func ParseDeletePluginVersionTablesResponse ¶
func ParseDeletePluginVersionTablesResponse(rsp *http.Response) (*DeletePluginVersionTablesResponse, error)
ParseDeletePluginVersionTablesResponse parses an HTTP response from a DeletePluginVersionTablesWithResponse call
func (DeletePluginVersionTablesResponse) Status ¶
func (r DeletePluginVersionTablesResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePluginVersionTablesResponse) StatusCode ¶
func (r DeletePluginVersionTablesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletePluginsByTeamResponse ¶ added in v1.0.2
type DeletePluginsByTeamResponse struct { Body []byte HTTPResponse *http.Response JSON400 *BadRequest JSON401 *RequiresAuthentication JSON403 *Forbidden JSON404 *NotFound JSON500 *InternalError }
func ParseDeletePluginsByTeamResponse ¶ added in v1.0.2
func ParseDeletePluginsByTeamResponse(rsp *http.Response) (*DeletePluginsByTeamResponse, error)
ParseDeletePluginsByTeamResponse parses an HTTP response from a DeletePluginsByTeamWithResponse call
func (DeletePluginsByTeamResponse) Status ¶ added in v1.0.2
func (r DeletePluginsByTeamResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePluginsByTeamResponse) StatusCode ¶ added in v1.0.2
func (r DeletePluginsByTeamResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteTeamAPIKeyResponse ¶ added in v1.0.3
type DeleteTeamAPIKeyResponse struct { Body []byte HTTPResponse *http.Response JSON400 *BadRequest JSON401 *RequiresAuthentication JSON404 *NotFound JSON500 *InternalError }
func ParseDeleteTeamAPIKeyResponse ¶ added in v1.0.3
func ParseDeleteTeamAPIKeyResponse(rsp *http.Response) (*DeleteTeamAPIKeyResponse, error)
ParseDeleteTeamAPIKeyResponse parses an HTTP response from a DeleteTeamAPIKeyWithResponse call
func (DeleteTeamAPIKeyResponse) Status ¶ added in v1.0.3
func (r DeleteTeamAPIKeyResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteTeamAPIKeyResponse) StatusCode ¶ added in v1.0.3
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 ¶
func (r DownloadPluginAssetResponse) Status() string
Status returns HTTPResponse.Status
func (DownloadPluginAssetResponse) StatusCode ¶
func (r DownloadPluginAssetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EmailTeamInvitationJSONBody ¶
type EmailTeamInvitationJSONBody struct { Email openapi_types.Email `json:"email"` Role EmailTeamInvitationJSONBodyRole `json:"role"` }
EmailTeamInvitationJSONBody defines parameters for EmailTeamInvitation.
type EmailTeamInvitationJSONBodyRole ¶ added in v1.2.1
type EmailTeamInvitationJSONBodyRole string
EmailTeamInvitationJSONBodyRole defines parameters for EmailTeamInvitation.
const ( Admin EmailTeamInvitationJSONBodyRole = "admin" Member EmailTeamInvitationJSONBodyRole = "member" )
Defines values for EmailTeamInvitationJSONBodyRole.
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 JSON400 *BadRequest JSON403 *Forbidden JSON500 *InternalError }
func ParseEmailTeamInvitationResponse ¶
func ParseEmailTeamInvitationResponse(rsp *http.Response) (*EmailTeamInvitationResponse, error)
ParseEmailTeamInvitationResponse parses an HTTP response from a EmailTeamInvitationWithResponse call
func (EmailTeamInvitationResponse) Status ¶
func (r EmailTeamInvitationResponse) Status() string
Status returns HTTPResponse.Status
func (EmailTeamInvitationResponse) StatusCode ¶
func (r EmailTeamInvitationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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 ¶
func (r GetCurrentUserMembershipsResponse) Status() string
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 ¶
func (r GetPluginVersionTableResponse) Status() string
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 JSON400 *BadRequest JSON401 *RequiresAuthentication JSON403 *Forbidden JSON404 *NotFound 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"` } JSON400 *BadRequest JSON401 *RequiresAuthentication JSON403 *Forbidden JSON404 *NotFound JSON500 *InternalError }
func ParseGetTeamMembershipsResponse ¶
func ParseGetTeamMembershipsResponse(rsp *http.Response) (*GetTeamMembershipsResponse, error)
ParseGetTeamMembershipsResponse parses an HTTP response from a GetTeamMembershipsWithResponse call
func (GetTeamMembershipsResponse) Status ¶
func (r GetTeamMembershipsResponse) Status() string
Status returns HTTPResponse.Status
func (GetTeamMembershipsResponse) StatusCode ¶
func (r GetTeamMembershipsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HealthCheckResponse ¶
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 ¶
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 IncludeDrafts ¶ added in v1.0.3
type IncludeDrafts = bool
IncludeDrafts defines model for include_drafts.
type IncludeUnlisted ¶ added in v1.0.3
type IncludeUnlisted = bool
IncludeUnlisted defines model for include_unlisted.
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 ¶
func (r ListCurrentUserInvitationsResponse) Status() string
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 JSON404 *NotFound JSON500 *InternalError }
func ParseListPluginVersionDocsResponse ¶
func ParseListPluginVersionDocsResponse(rsp *http.Response) (*ListPluginVersionDocsResponse, error)
ParseListPluginVersionDocsResponse parses an HTTP response from a ListPluginVersionDocsWithResponse call
func (ListPluginVersionDocsResponse) Status ¶
func (r ListPluginVersionDocsResponse) Status() string
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 ¶
func (r ListPluginVersionTablesResponse) Status() string
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"` // IncludeDrafts Whether to include draft plugins IncludeDrafts *IncludeDrafts `form:"include_drafts,omitempty" json:"include_drafts,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 ¶
func (r ListPluginVersionsResponse) Status() string
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"` // IncludeUnlisted Whether to include unlisted plugins IncludeUnlisted *IncludeUnlisted `form:"include_unlisted,omitempty" json:"include_unlisted,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 ¶ added in v1.0.3
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 ¶ added in v1.0.3
type ListTeamAPIKeysResponse struct { Body []byte HTTPResponse *http.Response JSON200 *struct { Items []APIKey `json:"items"` Metadata ListMetadata `json:"metadata"` } JSON401 *RequiresAuthentication JSON500 *InternalError }
func ParseListTeamAPIKeysResponse ¶ added in v1.0.3
func ParseListTeamAPIKeysResponse(rsp *http.Response) (*ListTeamAPIKeysResponse, error)
ParseListTeamAPIKeysResponse parses an HTTP response from a ListTeamAPIKeysWithResponse call
func (ListTeamAPIKeysResponse) Status ¶ added in v1.0.3
func (r ListTeamAPIKeysResponse) Status() string
Status returns HTTPResponse.Status
func (ListTeamAPIKeysResponse) StatusCode ¶ added in v1.0.3
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 ¶
func (r ListTeamInvitationsResponse) Status() string
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 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"` } JSON400 *BadRequest JSON401 *RequiresAuthentication JSON403 *Forbidden JSON404 *NotFound 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 MethodNotAllowed ¶ added in v1.0.3
type MethodNotAllowed = BasicError
MethodNotAllowed Basic Error
type Plugin ¶
type Plugin struct { // Category Supported categories for plugins Category PluginCategory `json:"category"` CreatedAt time.Time `json:"created_at"` // DisplayName The plugin's display name DisplayName string `json:"display_name"` Homepage *string `json:"homepage,omitempty"` // Kind The kind of plugin, ie. source or destination. Kind PluginKind `json:"kind"` // Listed True if the plugin is publicly listed, false otherwise Listed *bool `json:"listed,omitempty"` Logo string `json:"logo"` // Name The unique name for the plugin. Name PluginName `json:"name"` // Official True if the plugin is maintained by CloudQuery, false otherwise Official bool `json:"official"` Repository *string `json:"repository,omitempty"` ShortDescription string `json:"short_description"` // 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,omitempty"` // DisplayName The plugin's display name, as shown in the CloudQuery Hub. DisplayName string `json:"display_name"` Homepage *string `json:"homepage,omitempty"` // Kind The kind of plugin, ie. source or destination. Kind PluginKind `json:"kind"` // Logo URL to the plugin's logo. This will be shown in the CloudQuery Hub. This must point to https://images.cloudquery.io/... 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,omitempty"` // 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"` // OrdinalPosition The position of the page in the documentation OrdinalPosition *int `json:"ordinal_position,omitempty"` // Title The title of the documentation page Title string `json:"title"` }
PluginDocsPage CloudQuery Plugin Documentation Page
type PluginDocsPageCreate ¶ added in v1.0.3
type PluginDocsPageCreate 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"` // OrdinalPosition The position of the page in the documentation OrdinalPosition *int `json:"ordinal_position,omitempty"` // Title The title of the documentation page Title string `json:"title"` }
PluginDocsPageCreate CloudQuery Plugin Documentation Page
type PluginDocsPageName ¶
type PluginDocsPageName = string
PluginDocsPageName The unique name for the plugin documentation page.
type PluginKind ¶ added in v1.0.3
type PluginKind string
PluginKind The kind of plugin, ie. source or destination.
const ( Destination PluginKind = "destination" Source PluginKind = "source" )
Defines values for PluginKind.
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"` // IsIncremental Whether the table is incremental IsIncremental bool `json:"is_incremental"` // Name Name of the table Name PluginTableName `json:"name"` // 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"` // Title Title of the table Title string `json:"title"` }
PluginTable CloudQuery Plugin Table
type PluginTableColumn ¶
type PluginTableColumn struct { // Description Description of the column Description string `json:"description"` // IncrementalKey Whether the column is used as an incremental key IncrementalKey bool `json:"incremental_key"` // IsUnique Whether the column has a unique constraint IsUnique bool `json:"is_unique"` // Name Name of the column Name string `json:"name"` // NotNull Whether the column is nullable NotNull bool `json:"not_null"` // PrimaryKey Whether the column is part of the primary key PrimaryKey bool `json:"primary_key"` // Type Arrow Type of the column Type string `json:"type"` }
PluginTableColumn CloudQuery Plugin Column
type PluginTableCreate ¶ added in v1.0.3
type PluginTableCreate 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"` // 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"` }
PluginTableCreate CloudQuery Plugin Table
type PluginTableDetails ¶
type PluginTableDetails struct { // Columns List of columns Columns []PluginTableColumn `json:"columns"` // Description Description of the table Description string `json:"description"` // IsIncremental Whether the table is incremental IsIncremental bool `json:"is_incremental"` // Name Name of the table Name string `json:"name"` // 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"` // Title Title of the table Title string `json:"title"` }
PluginTableDetails defines model for PluginTableDetails.
type PluginTier ¶
type PluginTier string
PluginTier Supported tiers for plugins
const ( Free PluginTier = "free" Paid PluginTier = "paid" )
Defines values for PluginTier.
type PluginUpdate ¶
type PluginUpdate struct { // Category Supported categories for plugins Category PluginCategory `json:"category"` // 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/... Logo string `json:"logo"` Repository *string `json:"repository,omitempty"` // ShortDescription Short description of the plugin. This will be shown in the CloudQuery Hub. ShortDescription string `json:"short_description"` // 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"` // PublishedAt The date and time the plugin version was set to non-draft (published). PublishedAt *time.Time `json:"published_at,omitempty"` // Retracted If a plugin version is retracted, assets will still be available for download, but 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 still be available for download, but 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"`
}
ReleaseURL defines model for ReleaseURL.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RequiresAuthentication ¶
type RequiresAuthentication = BasicError
RequiresAuthentication Basic Error
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 UpdateCurrentUserJSONBody ¶ added in v1.0.3
type UpdateCurrentUserJSONBody struct { // Name The user's name Name *string `json:"name,omitempty"` }
UpdateCurrentUserJSONBody defines parameters for UpdateCurrentUser.
type UpdateCurrentUserJSONRequestBody ¶ added in v1.0.3
type UpdateCurrentUserJSONRequestBody UpdateCurrentUserJSONBody
UpdateCurrentUserJSONRequestBody defines body for UpdateCurrentUser for application/json ContentType.
type UpdateCurrentUserResponse ¶ added in v1.0.3
type UpdateCurrentUserResponse struct { Body []byte HTTPResponse *http.Response JSON200 *User JSON400 *BadRequest JSON401 *RequiresAuthentication JSON403 *Forbidden JSON405 *MethodNotAllowed JSON500 *InternalError }
func ParseUpdateCurrentUserResponse ¶ added in v1.0.3
func ParseUpdateCurrentUserResponse(rsp *http.Response) (*UpdateCurrentUserResponse, error)
ParseUpdateCurrentUserResponse parses an HTTP response from a UpdateCurrentUserWithResponse call
func (UpdateCurrentUserResponse) Status ¶ added in v1.0.3
func (r UpdateCurrentUserResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateCurrentUserResponse) StatusCode ¶ added in v1.0.3
func (r UpdateCurrentUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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 JSON400 *BadRequest JSON403 *Forbidden 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 JSON400 *BadRequest JSON401 *RequiresAuthentication JSON403 *Forbidden JSON404 *NotFound JSON500 *InternalError }
func ParseUpdatePluginVersionResponse ¶
func ParseUpdatePluginVersionResponse(rsp *http.Response) (*UpdatePluginVersionResponse, error)
ParseUpdatePluginVersionResponse parses an HTTP response from a UpdatePluginVersionWithResponse call
func (UpdatePluginVersionResponse) Status ¶
func (r UpdatePluginVersionResponse) Status() string
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 JSON400 *BadRequest JSON401 *RequiresAuthentication JSON403 *Forbidden JSON404 *NotFound 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 VersionSortBy ¶
type VersionSortBy string
VersionSortBy defines model for version_sort_by.
const (
VersionSortByCreatedAt VersionSortBy = "created_at"
)
Defines values for VersionSortBy.