sdk

package
v0.1.39 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2025 License: MIT, MIT Imports: 19 Imported by: 13

Documentation

Overview

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

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.0 DO NOT EDIT.

Index

Constants

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

Variables

This section is empty.

Functions

func BlString

func BlString(s string) *string

func ClearCredentials

func ClearCredentials(workspaceName string)

func GetSwagger

func GetSwagger() (swagger *openapi3.T, err error)

GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.

func ListWorkspaces

func ListWorkspaces() []string

func LoadEnv added in v0.1.34

func LoadEnv(workspaceName string) string

func NewAcceptWorkspaceInvitationRequest

func NewAcceptWorkspaceInvitationRequest(server string, workspaceName string) (*http.Request, error)

NewAcceptWorkspaceInvitationRequest generates requests for AcceptWorkspaceInvitation

func NewCheckWorkspaceAvailabilityRequest

func NewCheckWorkspaceAvailabilityRequest(server string, body CheckWorkspaceAvailabilityJSONRequestBody) (*http.Request, error)

NewCheckWorkspaceAvailabilityRequest calls the generic CheckWorkspaceAvailability builder with application/json body

func NewCheckWorkspaceAvailabilityRequestWithBody

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

NewCheckWorkspaceAvailabilityRequestWithBody generates requests for CheckWorkspaceAvailability with any type of body

func NewCreateAgentRequest

func NewCreateAgentRequest(server string, body CreateAgentJSONRequestBody) (*http.Request, error)

NewCreateAgentRequest calls the generic CreateAgent builder with application/json body

func NewCreateAgentRequestWithBody

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

NewCreateAgentRequestWithBody generates requests for CreateAgent with any type of body

func NewCreateApiKeyForServiceAccountRequest

func NewCreateApiKeyForServiceAccountRequest(server string, clientId string, body CreateApiKeyForServiceAccountJSONRequestBody) (*http.Request, error)

NewCreateApiKeyForServiceAccountRequest calls the generic CreateApiKeyForServiceAccount builder with application/json body

func NewCreateApiKeyForServiceAccountRequestWithBody

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

NewCreateApiKeyForServiceAccountRequestWithBody generates requests for CreateApiKeyForServiceAccount with any type of body

func NewCreateCustomDomainRequest added in v0.1.39

func NewCreateCustomDomainRequest(server string, body CreateCustomDomainJSONRequestBody) (*http.Request, error)

NewCreateCustomDomainRequest calls the generic CreateCustomDomain builder with application/json body

func NewCreateCustomDomainRequestWithBody added in v0.1.39

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

NewCreateCustomDomainRequestWithBody generates requests for CreateCustomDomain with any type of body

func NewCreateFunctionRequest

func NewCreateFunctionRequest(server string, body CreateFunctionJSONRequestBody) (*http.Request, error)

NewCreateFunctionRequest calls the generic CreateFunction builder with application/json body

func NewCreateFunctionRequestWithBody

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

NewCreateFunctionRequestWithBody generates requests for CreateFunction with any type of body

func NewCreateIntegrationConnectionRequest

func NewCreateIntegrationConnectionRequest(server string, body CreateIntegrationConnectionJSONRequestBody) (*http.Request, error)

NewCreateIntegrationConnectionRequest calls the generic CreateIntegrationConnection builder with application/json body

func NewCreateIntegrationConnectionRequestWithBody

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

NewCreateIntegrationConnectionRequestWithBody generates requests for CreateIntegrationConnection with any type of body

func NewCreateJobRequest added in v0.1.15

func NewCreateJobRequest(server string, body CreateJobJSONRequestBody) (*http.Request, error)

NewCreateJobRequest calls the generic CreateJob builder with application/json body

func NewCreateJobRequestWithBody added in v0.1.15

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

NewCreateJobRequestWithBody generates requests for CreateJob with any type of body

func NewCreateModelRequest

func NewCreateModelRequest(server string, body CreateModelJSONRequestBody) (*http.Request, error)

NewCreateModelRequest calls the generic CreateModel builder with application/json body

func NewCreateModelRequestWithBody

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

NewCreateModelRequestWithBody generates requests for CreateModel with any type of body

func NewCreatePolicyRequest

func NewCreatePolicyRequest(server string, body CreatePolicyJSONRequestBody) (*http.Request, error)

NewCreatePolicyRequest calls the generic CreatePolicy builder with application/json body

func NewCreatePolicyRequestWithBody

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

NewCreatePolicyRequestWithBody generates requests for CreatePolicy with any type of body

func NewCreatePrivateClusterRequest

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

NewCreatePrivateClusterRequest generates requests for CreatePrivateCluster

func NewCreateSandboxPreviewRequest

func NewCreateSandboxPreviewRequest(server string, sandboxName string, body CreateSandboxPreviewJSONRequestBody) (*http.Request, error)

NewCreateSandboxPreviewRequest calls the generic CreateSandboxPreview builder with application/json body

func NewCreateSandboxPreviewRequestWithBody

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

NewCreateSandboxPreviewRequestWithBody generates requests for CreateSandboxPreview with any type of body

func NewCreateSandboxPreviewTokenRequest

func NewCreateSandboxPreviewTokenRequest(server string, sandboxName string, previewName string, body CreateSandboxPreviewTokenJSONRequestBody) (*http.Request, error)

NewCreateSandboxPreviewTokenRequest calls the generic CreateSandboxPreviewToken builder with application/json body

func NewCreateSandboxPreviewTokenRequestWithBody

func NewCreateSandboxPreviewTokenRequestWithBody(server string, sandboxName string, previewName string, contentType string, body io.Reader) (*http.Request, error)

NewCreateSandboxPreviewTokenRequestWithBody generates requests for CreateSandboxPreviewToken with any type of body

func NewCreateSandboxRequest

func NewCreateSandboxRequest(server string, body CreateSandboxJSONRequestBody) (*http.Request, error)

NewCreateSandboxRequest calls the generic CreateSandbox builder with application/json body

func NewCreateSandboxRequestWithBody

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

NewCreateSandboxRequestWithBody generates requests for CreateSandbox with any type of body

func NewCreateVolumeRequest added in v0.1.39

func NewCreateVolumeRequest(server string, body CreateVolumeJSONRequestBody) (*http.Request, error)

NewCreateVolumeRequest calls the generic CreateVolume builder with application/json body

func NewCreateVolumeRequestWithBody added in v0.1.39

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

NewCreateVolumeRequestWithBody generates requests for CreateVolume with any type of body

func NewCreateWorkspaceServiceAccountRequest

func NewCreateWorkspaceServiceAccountRequest(server string, body CreateWorkspaceServiceAccountJSONRequestBody) (*http.Request, error)

NewCreateWorkspaceServiceAccountRequest calls the generic CreateWorkspaceServiceAccount builder with application/json body

func NewCreateWorkspaceServiceAccountRequestWithBody

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

NewCreateWorkspaceServiceAccountRequestWithBody generates requests for CreateWorkspaceServiceAccount with any type of body

func NewCreateWorspaceRequest

func NewCreateWorspaceRequest(server string, body CreateWorspaceJSONRequestBody) (*http.Request, error)

NewCreateWorspaceRequest calls the generic CreateWorspace builder with application/json body

func NewCreateWorspaceRequestWithBody

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

NewCreateWorspaceRequestWithBody generates requests for CreateWorspace with any type of body

func NewDeclineWorkspaceInvitationRequest

func NewDeclineWorkspaceInvitationRequest(server string, workspaceName string) (*http.Request, error)

NewDeclineWorkspaceInvitationRequest generates requests for DeclineWorkspaceInvitation

func NewDeleteAgentRequest

func NewDeleteAgentRequest(server string, agentName string) (*http.Request, error)

NewDeleteAgentRequest generates requests for DeleteAgent

func NewDeleteApiKeyForServiceAccountRequest

func NewDeleteApiKeyForServiceAccountRequest(server string, clientId string, apiKeyId string) (*http.Request, error)

NewDeleteApiKeyForServiceAccountRequest generates requests for DeleteApiKeyForServiceAccount

func NewDeleteCustomDomainRequest added in v0.1.39

func NewDeleteCustomDomainRequest(server string, domainName string) (*http.Request, error)

NewDeleteCustomDomainRequest generates requests for DeleteCustomDomain

func NewDeleteFunctionRequest

func NewDeleteFunctionRequest(server string, functionName string) (*http.Request, error)

NewDeleteFunctionRequest generates requests for DeleteFunction

func NewDeleteIntegrationConnectionRequest

func NewDeleteIntegrationConnectionRequest(server string, connectionName string) (*http.Request, error)

NewDeleteIntegrationConnectionRequest generates requests for DeleteIntegrationConnection

func NewDeleteJobRequest added in v0.1.15

func NewDeleteJobRequest(server string, jobId string) (*http.Request, error)

NewDeleteJobRequest generates requests for DeleteJob

func NewDeleteModelRequest

func NewDeleteModelRequest(server string, modelName string) (*http.Request, error)

NewDeleteModelRequest generates requests for DeleteModel

func NewDeletePolicyRequest

func NewDeletePolicyRequest(server string, policyName string) (*http.Request, error)

NewDeletePolicyRequest generates requests for DeletePolicy

func NewDeletePrivateClusterRequest

func NewDeletePrivateClusterRequest(server string, privateClusterName string) (*http.Request, error)

NewDeletePrivateClusterRequest generates requests for DeletePrivateCluster

func NewDeleteSandboxPreviewRequest

func NewDeleteSandboxPreviewRequest(server string, sandboxName string, previewName string) (*http.Request, error)

NewDeleteSandboxPreviewRequest generates requests for DeleteSandboxPreview

func NewDeleteSandboxPreviewTokenRequest

func NewDeleteSandboxPreviewTokenRequest(server string, sandboxName string, previewName string, tokenName string) (*http.Request, error)

NewDeleteSandboxPreviewTokenRequest generates requests for DeleteSandboxPreviewToken

func NewDeleteSandboxRequest

func NewDeleteSandboxRequest(server string, sandboxName string) (*http.Request, error)

NewDeleteSandboxRequest generates requests for DeleteSandbox

func NewDeleteVolumeRequest added in v0.1.39

func NewDeleteVolumeRequest(server string, volumeName string) (*http.Request, error)

NewDeleteVolumeRequest generates requests for DeleteVolume

func NewDeleteWorkspaceRequest

func NewDeleteWorkspaceRequest(server string, workspaceName string) (*http.Request, error)

NewDeleteWorkspaceRequest generates requests for DeleteWorkspace

func NewDeleteWorkspaceServiceAccountRequest

func NewDeleteWorkspaceServiceAccountRequest(server string, clientId string) (*http.Request, error)

NewDeleteWorkspaceServiceAccountRequest generates requests for DeleteWorkspaceServiceAccount

func NewGetAgentRequest

func NewGetAgentRequest(server string, agentName string) (*http.Request, error)

NewGetAgentRequest generates requests for GetAgent

func NewGetConfigurationRequest

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

NewGetConfigurationRequest generates requests for GetConfiguration

func NewGetCustomDomainRequest added in v0.1.39

func NewGetCustomDomainRequest(server string, domainName string) (*http.Request, error)

NewGetCustomDomainRequest generates requests for GetCustomDomain

func NewGetFunctionRequest

func NewGetFunctionRequest(server string, functionName string) (*http.Request, error)

NewGetFunctionRequest generates requests for GetFunction

func NewGetIntegrationConnectionModelEndpointConfigurationsRequest

func NewGetIntegrationConnectionModelEndpointConfigurationsRequest(server string, connectionName string) (*http.Request, error)

NewGetIntegrationConnectionModelEndpointConfigurationsRequest generates requests for GetIntegrationConnectionModelEndpointConfigurations

func NewGetIntegrationConnectionModelRequest

func NewGetIntegrationConnectionModelRequest(server string, connectionName string, modelId string) (*http.Request, error)

NewGetIntegrationConnectionModelRequest generates requests for GetIntegrationConnectionModel

func NewGetIntegrationConnectionRequest

func NewGetIntegrationConnectionRequest(server string, connectionName string) (*http.Request, error)

NewGetIntegrationConnectionRequest generates requests for GetIntegrationConnection

func NewGetIntegrationRequest

func NewGetIntegrationRequest(server string, integrationName string) (*http.Request, error)

NewGetIntegrationRequest generates requests for GetIntegration

func NewGetJobRequest added in v0.1.15

func NewGetJobRequest(server string, jobId string) (*http.Request, error)

NewGetJobRequest generates requests for GetJob

func NewGetModelRequest

func NewGetModelRequest(server string, modelName string) (*http.Request, error)

NewGetModelRequest generates requests for GetModel

func NewGetPolicyRequest

func NewGetPolicyRequest(server string, policyName string) (*http.Request, error)

NewGetPolicyRequest generates requests for GetPolicy

func NewGetPrivateClusterHealthRequest

func NewGetPrivateClusterHealthRequest(server string, privateClusterName string) (*http.Request, error)

NewGetPrivateClusterHealthRequest generates requests for GetPrivateClusterHealth

func NewGetPrivateClusterRequest

func NewGetPrivateClusterRequest(server string, privateClusterName string) (*http.Request, error)

NewGetPrivateClusterRequest generates requests for GetPrivateCluster

func NewGetSandboxPreviewRequest

func NewGetSandboxPreviewRequest(server string, sandboxName string, previewName string) (*http.Request, error)

NewGetSandboxPreviewRequest generates requests for GetSandboxPreview

func NewGetSandboxRequest

func NewGetSandboxRequest(server string, sandboxName string) (*http.Request, error)

NewGetSandboxRequest generates requests for GetSandbox

func NewGetTemplateRequest

func NewGetTemplateRequest(server string, templateName string) (*http.Request, error)

NewGetTemplateRequest generates requests for GetTemplate

func NewGetVolumeRequest added in v0.1.39

func NewGetVolumeRequest(server string, volumeName string) (*http.Request, error)

NewGetVolumeRequest generates requests for GetVolume

func NewGetWorkspaceRequest

func NewGetWorkspaceRequest(server string, workspaceName string) (*http.Request, error)

NewGetWorkspaceRequest generates requests for GetWorkspace

func NewGetWorkspaceServiceAccountsRequest

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

NewGetWorkspaceServiceAccountsRequest generates requests for GetWorkspaceServiceAccounts

func NewInviteWorkspaceUserRequest

func NewInviteWorkspaceUserRequest(server string, body InviteWorkspaceUserJSONRequestBody) (*http.Request, error)

NewInviteWorkspaceUserRequest calls the generic InviteWorkspaceUser builder with application/json body

func NewInviteWorkspaceUserRequestWithBody

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

NewInviteWorkspaceUserRequestWithBody generates requests for InviteWorkspaceUser with any type of body

func NewLeaveWorkspaceRequest

func NewLeaveWorkspaceRequest(server string, workspaceName string) (*http.Request, error)

NewLeaveWorkspaceRequest generates requests for LeaveWorkspace

func NewListAgentRevisionsRequest

func NewListAgentRevisionsRequest(server string, agentName string) (*http.Request, error)

NewListAgentRevisionsRequest generates requests for ListAgentRevisions

func NewListAgentsRequest

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

NewListAgentsRequest generates requests for ListAgents

func NewListAllPendingInvitationsRequest

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

NewListAllPendingInvitationsRequest generates requests for ListAllPendingInvitations

func NewListApiKeysForServiceAccountRequest

func NewListApiKeysForServiceAccountRequest(server string, clientId string) (*http.Request, error)

NewListApiKeysForServiceAccountRequest generates requests for ListApiKeysForServiceAccount

func NewListCustomDomainsRequest added in v0.1.39

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

NewListCustomDomainsRequest generates requests for ListCustomDomains

func NewListFunctionRevisionsRequest

func NewListFunctionRevisionsRequest(server string, functionName string) (*http.Request, error)

NewListFunctionRevisionsRequest generates requests for ListFunctionRevisions

func NewListFunctionsRequest

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

NewListFunctionsRequest generates requests for ListFunctions

func NewListIntegrationConnectionModelsRequest

func NewListIntegrationConnectionModelsRequest(server string, connectionName string) (*http.Request, error)

NewListIntegrationConnectionModelsRequest generates requests for ListIntegrationConnectionModels

func NewListIntegrationConnectionsRequest

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

NewListIntegrationConnectionsRequest generates requests for ListIntegrationConnections

func NewListJobRevisionsRequest added in v0.1.15

func NewListJobRevisionsRequest(server string, jobId string) (*http.Request, error)

NewListJobRevisionsRequest generates requests for ListJobRevisions

func NewListJobsRequest added in v0.1.15

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

NewListJobsRequest generates requests for ListJobs

func NewListLocationsRequest

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

NewListLocationsRequest generates requests for ListLocations

func NewListMCPHubDefinitionsRequest

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

NewListMCPHubDefinitionsRequest generates requests for ListMCPHubDefinitions

func NewListModelRevisionsRequest

func NewListModelRevisionsRequest(server string, modelName string) (*http.Request, error)

NewListModelRevisionsRequest generates requests for ListModelRevisions

func NewListModelsRequest

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

NewListModelsRequest generates requests for ListModels

func NewListPoliciesRequest

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

NewListPoliciesRequest generates requests for ListPolicies

func NewListPrivateClustersRequest

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

NewListPrivateClustersRequest generates requests for ListPrivateClusters

func NewListPublicIpsRequest added in v0.1.35

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

NewListPublicIpsRequest generates requests for ListPublicIps

func NewListSandboxHubDefinitionsRequest

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

NewListSandboxHubDefinitionsRequest generates requests for ListSandboxHubDefinitions

func NewListSandboxPreviewTokensRequest

func NewListSandboxPreviewTokensRequest(server string, sandboxName string, previewName string) (*http.Request, error)

NewListSandboxPreviewTokensRequest generates requests for ListSandboxPreviewTokens

func NewListSandboxPreviewsRequest

func NewListSandboxPreviewsRequest(server string, sandboxName string) (*http.Request, error)

NewListSandboxPreviewsRequest generates requests for ListSandboxPreviews

func NewListSandboxesRequest

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

NewListSandboxesRequest generates requests for ListSandboxes

func NewListTemplatesRequest

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

NewListTemplatesRequest generates requests for ListTemplates

func NewListVolumesRequest added in v0.1.39

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

NewListVolumesRequest generates requests for ListVolumes

func NewListWorkspaceUsersRequest

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

NewListWorkspaceUsersRequest generates requests for ListWorkspaceUsers

func NewListWorkspacesRequest

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

NewListWorkspacesRequest generates requests for ListWorkspaces

func NewRemoveWorkspaceUserRequest

func NewRemoveWorkspaceUserRequest(server string, subOrEmail string) (*http.Request, error)

NewRemoveWorkspaceUserRequest generates requests for RemoveWorkspaceUser

func NewRunRequest

func NewRunRequest(
	RunServer string,
	method string,
	path string,
	headers map[string]string,
	params []string,
	local bool,
	debug bool,
	workspaceName string,
	resourceType string,
	resourceName string,
	body io.Reader,
) (*http.Request, error)

func NewStartSandboxRequest

func NewStartSandboxRequest(server string, sandboxName string) (*http.Request, error)

NewStartSandboxRequest generates requests for StartSandbox

func NewStopSandboxRequest

func NewStopSandboxRequest(server string, sandboxName string) (*http.Request, error)

NewStopSandboxRequest generates requests for StopSandbox

func NewUpdateAgentRequest

func NewUpdateAgentRequest(server string, agentName string, body UpdateAgentJSONRequestBody) (*http.Request, error)

NewUpdateAgentRequest calls the generic UpdateAgent builder with application/json body

func NewUpdateAgentRequestWithBody

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

NewUpdateAgentRequestWithBody generates requests for UpdateAgent with any type of body

func NewUpdateCustomDomainRequest added in v0.1.39

func NewUpdateCustomDomainRequest(server string, domainName string, body UpdateCustomDomainJSONRequestBody) (*http.Request, error)

NewUpdateCustomDomainRequest calls the generic UpdateCustomDomain builder with application/json body

func NewUpdateCustomDomainRequestWithBody added in v0.1.39

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

NewUpdateCustomDomainRequestWithBody generates requests for UpdateCustomDomain with any type of body

func NewUpdateFunctionRequest

func NewUpdateFunctionRequest(server string, functionName string, body UpdateFunctionJSONRequestBody) (*http.Request, error)

NewUpdateFunctionRequest calls the generic UpdateFunction builder with application/json body

func NewUpdateFunctionRequestWithBody

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

NewUpdateFunctionRequestWithBody generates requests for UpdateFunction with any type of body

func NewUpdateIntegrationConnectionRequest

func NewUpdateIntegrationConnectionRequest(server string, connectionName string, body UpdateIntegrationConnectionJSONRequestBody) (*http.Request, error)

NewUpdateIntegrationConnectionRequest calls the generic UpdateIntegrationConnection builder with application/json body

func NewUpdateIntegrationConnectionRequestWithBody

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

NewUpdateIntegrationConnectionRequestWithBody generates requests for UpdateIntegrationConnection with any type of body

func NewUpdateJobRequest added in v0.1.15

func NewUpdateJobRequest(server string, jobId string, body UpdateJobJSONRequestBody) (*http.Request, error)

NewUpdateJobRequest calls the generic UpdateJob builder with application/json body

func NewUpdateJobRequestWithBody added in v0.1.15

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

NewUpdateJobRequestWithBody generates requests for UpdateJob with any type of body

func NewUpdateModelRequest

func NewUpdateModelRequest(server string, modelName string, body UpdateModelJSONRequestBody) (*http.Request, error)

NewUpdateModelRequest calls the generic UpdateModel builder with application/json body

func NewUpdateModelRequestWithBody

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

NewUpdateModelRequestWithBody generates requests for UpdateModel with any type of body

func NewUpdatePolicyRequest

func NewUpdatePolicyRequest(server string, policyName string, body UpdatePolicyJSONRequestBody) (*http.Request, error)

NewUpdatePolicyRequest calls the generic UpdatePolicy builder with application/json body

func NewUpdatePolicyRequestWithBody

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

NewUpdatePolicyRequestWithBody generates requests for UpdatePolicy with any type of body

func NewUpdatePrivateClusterHealthRequest

func NewUpdatePrivateClusterHealthRequest(server string, privateClusterName string) (*http.Request, error)

NewUpdatePrivateClusterHealthRequest generates requests for UpdatePrivateClusterHealth

func NewUpdatePrivateClusterRequest

func NewUpdatePrivateClusterRequest(server string, privateClusterName string) (*http.Request, error)

NewUpdatePrivateClusterRequest generates requests for UpdatePrivateCluster

func NewUpdateSandboxPreviewRequest

func NewUpdateSandboxPreviewRequest(server string, sandboxName string, previewName string, body UpdateSandboxPreviewJSONRequestBody) (*http.Request, error)

NewUpdateSandboxPreviewRequest calls the generic UpdateSandboxPreview builder with application/json body

func NewUpdateSandboxPreviewRequestWithBody

func NewUpdateSandboxPreviewRequestWithBody(server string, sandboxName string, previewName string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateSandboxPreviewRequestWithBody generates requests for UpdateSandboxPreview with any type of body

func NewUpdateSandboxRequest

func NewUpdateSandboxRequest(server string, sandboxName string, body UpdateSandboxJSONRequestBody) (*http.Request, error)

NewUpdateSandboxRequest calls the generic UpdateSandbox builder with application/json body

func NewUpdateSandboxRequestWithBody

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

NewUpdateSandboxRequestWithBody generates requests for UpdateSandbox with any type of body

func NewUpdateVolumeRequest added in v0.1.39

func NewUpdateVolumeRequest(server string, volumeName string, body UpdateVolumeJSONRequestBody) (*http.Request, error)

NewUpdateVolumeRequest calls the generic UpdateVolume builder with application/json body

func NewUpdateVolumeRequestWithBody added in v0.1.39

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

NewUpdateVolumeRequestWithBody generates requests for UpdateVolume with any type of body

func NewUpdateWorkspaceRequest

func NewUpdateWorkspaceRequest(server string, workspaceName string, body UpdateWorkspaceJSONRequestBody) (*http.Request, error)

NewUpdateWorkspaceRequest calls the generic UpdateWorkspace builder with application/json body

func NewUpdateWorkspaceRequestWithBody

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

NewUpdateWorkspaceRequestWithBody generates requests for UpdateWorkspace with any type of body

func NewUpdateWorkspaceServiceAccountRequest

func NewUpdateWorkspaceServiceAccountRequest(server string, clientId string, body UpdateWorkspaceServiceAccountJSONRequestBody) (*http.Request, error)

NewUpdateWorkspaceServiceAccountRequest calls the generic UpdateWorkspaceServiceAccount builder with application/json body

func NewUpdateWorkspaceServiceAccountRequestWithBody

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

NewUpdateWorkspaceServiceAccountRequestWithBody generates requests for UpdateWorkspaceServiceAccount with any type of body

func NewUpdateWorkspaceUserRoleRequest

func NewUpdateWorkspaceUserRoleRequest(server string, subOrEmail string, body UpdateWorkspaceUserRoleJSONRequestBody) (*http.Request, error)

NewUpdateWorkspaceUserRoleRequest calls the generic UpdateWorkspaceUserRole builder with application/json body

func NewUpdateWorkspaceUserRoleRequestWithBody

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

NewUpdateWorkspaceUserRoleRequestWithBody generates requests for UpdateWorkspaceUserRole with any type of body

func NewVerifyCustomDomainRequest added in v0.1.39

func NewVerifyCustomDomainRequest(server string, domainName string) (*http.Request, error)

NewVerifyCustomDomainRequest generates requests for VerifyCustomDomain

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

func Pluralize added in v0.1.27

func Pluralize(word string) string

func SaveCredentials

func SaveCredentials(workspaceName string, credentials Credentials)

func SetCurrentWorkspace

func SetCurrentWorkspace(workspaceName string)

Types

type AcceptWorkspaceInvitationResponse

type AcceptWorkspaceInvitationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PendingInvitationAccept
}

func ParseAcceptWorkspaceInvitationResponse

func ParseAcceptWorkspaceInvitationResponse(rsp *http.Response) (*AcceptWorkspaceInvitationResponse, error)

ParseAcceptWorkspaceInvitationResponse parses an HTTP response from a AcceptWorkspaceInvitationWithResponse call

func (AcceptWorkspaceInvitationResponse) Status

Status returns HTTPResponse.Status

func (AcceptWorkspaceInvitationResponse) StatusCode

func (r AcceptWorkspaceInvitationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Agent

type Agent struct {
	// Events Core events
	Events *CoreEvents `json:"events,omitempty"`

	// Metadata Metadata
	Metadata *Metadata `json:"metadata,omitempty"`

	// Spec Agent specification
	Spec *AgentSpec `json:"spec,omitempty"`

	// Status Agent status
	Status *string `json:"status,omitempty"`
}

Agent Agent

type AgentSpec

type AgentSpec struct {
	// Configurations Optional configurations for the object
	Configurations *struct {
		// Key Configuration, this is a key value storage. In your object you can retrieve the value with config[key]
		Key *SpecConfiguration `json:"key,omitempty"`
	} `json:"configurations,omitempty"`

	// Description Description, small description computed from the prompt
	Description *string `json:"description,omitempty"`

	// Enabled Enable or disable the resource
	Enabled *bool `json:"enabled,omitempty"`

	// Flavors Types of hardware available for deployments
	Flavors                *Flavors                    `json:"flavors,omitempty"`
	IntegrationConnections *IntegrationConnectionsList `json:"integrationConnections,omitempty"`
	Policies               *PoliciesList               `json:"policies,omitempty"`

	// PrivateClusters Private cluster where the model deployment is deployed
	PrivateClusters *ModelPrivateCluster `json:"privateClusters,omitempty"`

	// Repository Repository
	Repository *Repository `json:"repository,omitempty"`

	// Revision Revision configuration
	Revision *RevisionConfiguration `json:"revision,omitempty"`

	// Runtime Set of configurations for a deployment
	Runtime *Runtime `json:"runtime,omitempty"`

	// Sandbox Sandbox mode
	Sandbox *bool `json:"sandbox,omitempty"`

	// Triggers Triggers to use your agent
	Triggers *Triggers `json:"triggers,omitempty"`
}

AgentSpec defines model for AgentSpec.

type ApiKey

type ApiKey struct {
	// ApiKey Api key
	ApiKey *string `json:"apiKey,omitempty"`

	// CreatedAt The date and time when the resource was created
	CreatedAt *string `json:"createdAt,omitempty"`

	// CreatedBy The user or service account who created the resource
	CreatedBy *string `json:"createdBy,omitempty"`

	// ExpiresIn Duration until expiration (in seconds)
	ExpiresIn *string `json:"expires_in,omitempty"`

	// Id Api key id, to retrieve it from the API
	Id *string `json:"id,omitempty"`

	// Name Name for the API key
	Name *string `json:"name,omitempty"`

	// Sub User subject identifier
	Sub *string `json:"sub,omitempty"`

	// SubType Subject type
	SubType *string `json:"sub_type,omitempty"`

	// UpdatedAt The date and time when the resource was updated
	UpdatedAt *string `json:"updatedAt,omitempty"`

	// UpdatedBy The user or service account who updated the resource
	UpdatedBy *string `json:"updatedBy,omitempty"`
}

ApiKey defines model for ApiKey.

type ApiKeyAuth

type ApiKeyAuth struct {
	// contains filtered or unexported fields
}

func NewApiKeyProvider

func NewApiKeyProvider(credentials Credentials, workspaceName string) *ApiKeyAuth

func (*ApiKeyAuth) GetHeaders added in v0.1.27

func (s *ApiKeyAuth) GetHeaders() (map[string]string, error)

func (*ApiKeyAuth) Intercept

func (s *ApiKeyAuth) Intercept(ctx context.Context, req *http.Request) error

type AuthErrorResponse added in v0.1.34

type AuthErrorResponse struct {
	Error string `json:"error"`
	Code  int    `json:"code"`
}

type AuthProvider

type AuthProvider interface {
	Intercept(ctx context.Context, req *http.Request) error
	GetHeaders() (map[string]string, error)
}

func GetAuthProvider

func GetAuthProvider(credentials Credentials, workspace string, apiUrl string) AuthProvider

type Batch added in v0.1.15

type Batch struct {
	Tasks []map[string]interface{} `json:"tasks"`
}

type BearerToken

type BearerToken struct {
	// contains filtered or unexported fields
}

func NewBearerTokenProvider

func NewBearerTokenProvider(credentials Credentials, workspaceName string, baseUrl string) *BearerToken

func (*BearerToken) DoRefresh

func (s *BearerToken) DoRefresh() error

func (*BearerToken) GetCredentials

func (s *BearerToken) GetCredentials() Credentials

func (*BearerToken) GetHeaders added in v0.1.27

func (s *BearerToken) GetHeaders() (map[string]string, error)

func (*BearerToken) Intercept

func (s *BearerToken) Intercept(ctx context.Context, req *http.Request) error

func (*BearerToken) RefreshIfNeeded

func (s *BearerToken) RefreshIfNeeded() error

type CheckWorkspaceAvailabilityJSONBody

type CheckWorkspaceAvailabilityJSONBody struct {
	Name string `json:"name"`
}

CheckWorkspaceAvailabilityJSONBody defines parameters for CheckWorkspaceAvailability.

type CheckWorkspaceAvailabilityJSONRequestBody

type CheckWorkspaceAvailabilityJSONRequestBody CheckWorkspaceAvailabilityJSONBody

CheckWorkspaceAvailabilityJSONRequestBody defines body for CheckWorkspaceAvailability for application/json ContentType.

type CheckWorkspaceAvailabilityResponse

type CheckWorkspaceAvailabilityResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *bool
}

func ParseCheckWorkspaceAvailabilityResponse

func ParseCheckWorkspaceAvailabilityResponse(rsp *http.Response) (*CheckWorkspaceAvailabilityResponse, error)

ParseCheckWorkspaceAvailabilityResponse parses an HTTP response from a CheckWorkspaceAvailabilityWithResponse call

func (CheckWorkspaceAvailabilityResponse) Status

Status returns HTTPResponse.Status

func (CheckWorkspaceAvailabilityResponse) StatusCode

func (r CheckWorkspaceAvailabilityResponse) 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

	RunServer 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, runServer string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) AcceptWorkspaceInvitation

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

func (*Client) CheckWorkspaceAvailability

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

func (*Client) CheckWorkspaceAvailabilityWithBody

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

func (*Client) CreateAgent

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

func (*Client) CreateAgentWithBody

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

func (*Client) CreateApiKeyForServiceAccount

func (c *Client) CreateApiKeyForServiceAccount(ctx context.Context, clientId string, body CreateApiKeyForServiceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateApiKeyForServiceAccountWithBody

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

func (*Client) CreateCustomDomain added in v0.1.39

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

func (*Client) CreateCustomDomainWithBody added in v0.1.39

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

func (*Client) CreateFunction

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

func (*Client) CreateFunctionWithBody

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

func (*Client) CreateIntegrationConnection

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

func (*Client) CreateIntegrationConnectionWithBody

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

func (*Client) CreateJob added in v0.1.15

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

func (*Client) CreateJobWithBody added in v0.1.15

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

func (*Client) CreateModel

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

func (*Client) CreateModelWithBody

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

func (*Client) CreatePolicy

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

func (*Client) CreatePolicyWithBody

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

func (*Client) CreatePrivateCluster

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

func (*Client) CreateSandbox

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

func (*Client) CreateSandboxPreview

func (c *Client) CreateSandboxPreview(ctx context.Context, sandboxName string, body CreateSandboxPreviewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateSandboxPreviewToken

func (c *Client) CreateSandboxPreviewToken(ctx context.Context, sandboxName string, previewName string, body CreateSandboxPreviewTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateSandboxPreviewTokenWithBody

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

func (*Client) CreateSandboxPreviewWithBody

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

func (*Client) CreateSandboxWithBody

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

func (*Client) CreateVolume added in v0.1.39

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

func (*Client) CreateVolumeWithBody added in v0.1.39

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

func (*Client) CreateWorkspaceServiceAccount

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

func (*Client) CreateWorkspaceServiceAccountWithBody

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

func (*Client) CreateWorspace

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

func (*Client) CreateWorspaceWithBody

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

func (*Client) DeclineWorkspaceInvitation

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

func (*Client) DeleteAgent

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

func (*Client) DeleteApiKeyForServiceAccount

func (c *Client) DeleteApiKeyForServiceAccount(ctx context.Context, clientId string, apiKeyId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteCustomDomain added in v0.1.39

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

func (*Client) DeleteFunction

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

func (*Client) DeleteIntegrationConnection

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

func (*Client) DeleteJob added in v0.1.15

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

func (*Client) DeleteModel

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

func (*Client) DeletePolicy

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

func (*Client) DeletePrivateCluster

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

func (*Client) DeleteSandbox

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

func (*Client) DeleteSandboxPreview

func (c *Client) DeleteSandboxPreview(ctx context.Context, sandboxName string, previewName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteSandboxPreviewToken

func (c *Client) DeleteSandboxPreviewToken(ctx context.Context, sandboxName string, previewName string, tokenName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteVolume added in v0.1.39

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

func (*Client) DeleteWorkspace

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

func (*Client) DeleteWorkspaceServiceAccount

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

func (*Client) GetAgent

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

func (*Client) GetConfiguration

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

func (*Client) GetCustomDomain added in v0.1.39

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

func (*Client) GetFunction

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

func (*Client) GetIntegration

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

func (*Client) GetIntegrationConnection

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

func (*Client) GetIntegrationConnectionModel

func (c *Client) GetIntegrationConnectionModel(ctx context.Context, connectionName string, modelId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetIntegrationConnectionModelEndpointConfigurations

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

func (*Client) GetJob added in v0.1.15

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

func (*Client) GetModel

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

func (*Client) GetPolicy

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

func (*Client) GetPrivateCluster

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

func (*Client) GetPrivateClusterHealth

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

func (*Client) GetSandbox

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

func (*Client) GetSandboxPreview

func (c *Client) GetSandboxPreview(ctx context.Context, sandboxName string, previewName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTemplate

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

func (*Client) GetVolume added in v0.1.39

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

func (*Client) GetWorkspace

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

func (*Client) GetWorkspaceServiceAccounts

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

func (*Client) InviteWorkspaceUser

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

func (*Client) InviteWorkspaceUserWithBody

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

func (*Client) LeaveWorkspace

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

func (*Client) ListAgentRevisions

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

func (*Client) ListAgents

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

func (*Client) ListAllPendingInvitations

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

func (*Client) ListApiKeysForServiceAccount

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

func (*Client) ListCustomDomains added in v0.1.39

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

func (*Client) ListFunctionRevisions

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

func (*Client) ListFunctions

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

func (*Client) ListIntegrationConnectionModels

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

func (*Client) ListIntegrationConnections

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

func (*Client) ListJobRevisions added in v0.1.15

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

func (*Client) ListJobs added in v0.1.15

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

func (*Client) ListLocations

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

func (*Client) ListMCPHubDefinitions

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

func (*Client) ListModelRevisions

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

func (*Client) ListModels

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

func (*Client) ListPolicies

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

func (*Client) ListPrivateClusters

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

func (*Client) ListPublicIps added in v0.1.35

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

func (*Client) ListSandboxHubDefinitions

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

func (*Client) ListSandboxPreviewTokens

func (c *Client) ListSandboxPreviewTokens(ctx context.Context, sandboxName string, previewName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListSandboxPreviews

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

func (*Client) ListSandboxes

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

func (*Client) ListTemplates

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

func (*Client) ListVolumes added in v0.1.39

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

func (*Client) ListWorkspaceUsers

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

func (*Client) ListWorkspaces

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

func (*Client) RemoveWorkspaceUser

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

func (*Client) Run

func (c *Client) Run(
	ctx context.Context,
	workspaceName string,
	resourceType string,
	resourceName string,
	method string,
	path string,
	headers map[string]string,
	params []string,
	body string,
	debug bool,
	local bool,
	reqEditors ...RequestEditorFn,
) (*http.Response, error)

func (*Client) StartSandbox

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

func (*Client) StopSandbox

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

func (*Client) UpdateAgent

func (c *Client) UpdateAgent(ctx context.Context, agentName string, body UpdateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateAgentWithBody

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

func (*Client) UpdateCustomDomain added in v0.1.39

func (c *Client) UpdateCustomDomain(ctx context.Context, domainName string, body UpdateCustomDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateCustomDomainWithBody added in v0.1.39

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

func (*Client) UpdateFunction

func (c *Client) UpdateFunction(ctx context.Context, functionName string, body UpdateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateFunctionWithBody

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

func (*Client) UpdateIntegrationConnection

func (c *Client) UpdateIntegrationConnection(ctx context.Context, connectionName string, body UpdateIntegrationConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateIntegrationConnectionWithBody

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

func (*Client) UpdateJob added in v0.1.15

func (c *Client) UpdateJob(ctx context.Context, jobId string, body UpdateJobJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateJobWithBody added in v0.1.15

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

func (*Client) UpdateModel

func (c *Client) UpdateModel(ctx context.Context, modelName string, body UpdateModelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateModelWithBody

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

func (*Client) UpdatePolicy

func (c *Client) UpdatePolicy(ctx context.Context, policyName string, body UpdatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdatePolicyWithBody

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

func (*Client) UpdatePrivateCluster

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

func (*Client) UpdatePrivateClusterHealth

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

func (*Client) UpdateSandbox

func (c *Client) UpdateSandbox(ctx context.Context, sandboxName string, body UpdateSandboxJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateSandboxPreview

func (c *Client) UpdateSandboxPreview(ctx context.Context, sandboxName string, previewName string, body UpdateSandboxPreviewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateSandboxPreviewWithBody

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

func (*Client) UpdateSandboxWithBody

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

func (*Client) UpdateVolume added in v0.1.39

func (c *Client) UpdateVolume(ctx context.Context, volumeName string, body UpdateVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateVolumeWithBody added in v0.1.39

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

func (*Client) UpdateWorkspace

func (c *Client) UpdateWorkspace(ctx context.Context, workspaceName string, body UpdateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateWorkspaceServiceAccount

func (c *Client) UpdateWorkspaceServiceAccount(ctx context.Context, clientId string, body UpdateWorkspaceServiceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateWorkspaceServiceAccountWithBody

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

func (*Client) UpdateWorkspaceUserRole

func (c *Client) UpdateWorkspaceUserRole(ctx context.Context, subOrEmail string, body UpdateWorkspaceUserRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateWorkspaceUserRoleWithBody

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

func (*Client) UpdateWorkspaceWithBody

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

func (*Client) VerifyCustomDomain added in v0.1.39

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

type ClientCredentials

type ClientCredentials struct {
	// contains filtered or unexported fields
}

func NewClientCredentialsProvider

func NewClientCredentialsProvider(credentials Credentials, workspaceName string, baseUrl string) *ClientCredentials

func (*ClientCredentials) DoRefresh

func (c *ClientCredentials) DoRefresh() error

func (*ClientCredentials) GetCredentials

func (c *ClientCredentials) GetCredentials() Credentials

func (*ClientCredentials) GetHeaders added in v0.1.27

func (c *ClientCredentials) GetHeaders() (map[string]string, error)

func (*ClientCredentials) Intercept

func (c *ClientCredentials) Intercept(ctx context.Context, req *http.Request) error

func (*ClientCredentials) RefreshIfNeeded

func (c *ClientCredentials) RefreshIfNeeded() error

type ClientInterface

type ClientInterface interface {
	Run(
		ctx context.Context,
		workspaceName string,
		resourceType string,
		resourceName string,
		method string,
		path string,
		headers map[string]string,
		params []string,
		body string,
		debug bool,
		local bool,
		reqEditors ...RequestEditorFn,
	) (*http.Response, error)

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

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

	CreateAgent(ctx context.Context, body CreateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteAgent request
	DeleteAgent(ctx context.Context, agentName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAgent request
	GetAgent(ctx context.Context, agentName string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	UpdateAgent(ctx context.Context, agentName string, body UpdateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListAgentRevisions request
	ListAgentRevisions(ctx context.Context, agentName string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

	CreateCustomDomain(ctx context.Context, body CreateCustomDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteCustomDomain request
	DeleteCustomDomain(ctx context.Context, domainName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetCustomDomain request
	GetCustomDomain(ctx context.Context, domainName string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	UpdateCustomDomain(ctx context.Context, domainName string, body UpdateCustomDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// VerifyCustomDomain request
	VerifyCustomDomain(ctx context.Context, domainName string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	CreateFunction(ctx context.Context, body CreateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteFunction request
	DeleteFunction(ctx context.Context, functionName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetFunction request
	GetFunction(ctx context.Context, functionName string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	UpdateFunction(ctx context.Context, functionName string, body UpdateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListFunctionRevisions request
	ListFunctionRevisions(ctx context.Context, functionName string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	CreateIntegrationConnection(ctx context.Context, body CreateIntegrationConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteIntegrationConnection request
	DeleteIntegrationConnection(ctx context.Context, connectionName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetIntegrationConnection request
	GetIntegrationConnection(ctx context.Context, connectionName string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	UpdateIntegrationConnection(ctx context.Context, connectionName string, body UpdateIntegrationConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetIntegrationConnectionModelEndpointConfigurations request
	GetIntegrationConnectionModelEndpointConfigurations(ctx context.Context, connectionName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListIntegrationConnectionModels request
	ListIntegrationConnectionModels(ctx context.Context, connectionName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetIntegrationConnectionModel request
	GetIntegrationConnectionModel(ctx context.Context, connectionName string, modelId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetIntegration request
	GetIntegration(ctx context.Context, integrationName string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	CreateJob(ctx context.Context, body CreateJobJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteJob request
	DeleteJob(ctx context.Context, jobId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetJob request
	GetJob(ctx context.Context, jobId string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	UpdateJob(ctx context.Context, jobId string, body UpdateJobJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListJobRevisions request
	ListJobRevisions(ctx context.Context, jobId string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

	CreateModel(ctx context.Context, body CreateModelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteModel request
	DeleteModel(ctx context.Context, modelName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetModel request
	GetModel(ctx context.Context, modelName string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	UpdateModel(ctx context.Context, modelName string, body UpdateModelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListModelRevisions request
	ListModelRevisions(ctx context.Context, modelName string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	CreatePolicy(ctx context.Context, body CreatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeletePolicy request
	DeletePolicy(ctx context.Context, policyName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPolicy request
	GetPolicy(ctx context.Context, policyName string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	UpdatePolicy(ctx context.Context, policyName string, body UpdatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	// DeletePrivateCluster request
	DeletePrivateCluster(ctx context.Context, privateClusterName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPrivateCluster request
	GetPrivateCluster(ctx context.Context, privateClusterName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdatePrivateCluster request
	UpdatePrivateCluster(ctx context.Context, privateClusterName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetPrivateClusterHealth request
	GetPrivateClusterHealth(ctx context.Context, privateClusterName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdatePrivateClusterHealth request
	UpdatePrivateClusterHealth(ctx context.Context, privateClusterName string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

	CreateSandbox(ctx context.Context, body CreateSandboxJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteSandbox request
	DeleteSandbox(ctx context.Context, sandboxName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSandbox request
	GetSandbox(ctx context.Context, sandboxName string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	UpdateSandbox(ctx context.Context, sandboxName string, body UpdateSandboxJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSandboxPreviews request
	ListSandboxPreviews(ctx context.Context, sandboxName string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	CreateSandboxPreview(ctx context.Context, sandboxName string, body CreateSandboxPreviewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteSandboxPreview request
	DeleteSandboxPreview(ctx context.Context, sandboxName string, previewName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetSandboxPreview request
	GetSandboxPreview(ctx context.Context, sandboxName string, previewName string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	UpdateSandboxPreview(ctx context.Context, sandboxName string, previewName string, body UpdateSandboxPreviewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListSandboxPreviewTokens request
	ListSandboxPreviewTokens(ctx context.Context, sandboxName string, previewName string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	CreateSandboxPreviewToken(ctx context.Context, sandboxName string, previewName string, body CreateSandboxPreviewTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteSandboxPreviewToken request
	DeleteSandboxPreviewToken(ctx context.Context, sandboxName string, previewName string, tokenName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StartSandbox request
	StartSandbox(ctx context.Context, sandboxName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StopSandbox request
	StopSandbox(ctx context.Context, sandboxName string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	CreateWorkspaceServiceAccount(ctx context.Context, body CreateWorkspaceServiceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteWorkspaceServiceAccount request
	DeleteWorkspaceServiceAccount(ctx context.Context, clientId string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	UpdateWorkspaceServiceAccount(ctx context.Context, clientId string, body UpdateWorkspaceServiceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListApiKeysForServiceAccount request
	ListApiKeysForServiceAccount(ctx context.Context, clientId string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	CreateApiKeyForServiceAccount(ctx context.Context, clientId string, body CreateApiKeyForServiceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteApiKeyForServiceAccount request
	DeleteApiKeyForServiceAccount(ctx context.Context, clientId string, apiKeyId string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	// GetTemplate request
	GetTemplate(ctx context.Context, templateName string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	InviteWorkspaceUser(ctx context.Context, body InviteWorkspaceUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RemoveWorkspaceUser request
	RemoveWorkspaceUser(ctx context.Context, subOrEmail string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	UpdateWorkspaceUserRole(ctx context.Context, subOrEmail string, body UpdateWorkspaceUserRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	CreateVolume(ctx context.Context, body CreateVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteVolume request
	DeleteVolume(ctx context.Context, volumeName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetVolume request
	GetVolume(ctx context.Context, volumeName string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	UpdateVolume(ctx context.Context, volumeName string, body UpdateVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

	CreateWorspace(ctx context.Context, body CreateWorspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	CheckWorkspaceAvailability(ctx context.Context, body CheckWorkspaceAvailabilityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteWorkspace request
	DeleteWorkspace(ctx context.Context, workspaceName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWorkspace request
	GetWorkspace(ctx context.Context, workspaceName string, reqEditors ...RequestEditorFn) (*http.Response, error)

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

	UpdateWorkspace(ctx context.Context, workspaceName string, body UpdateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeclineWorkspaceInvitation request
	DeclineWorkspaceInvitation(ctx context.Context, workspaceName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// AcceptWorkspaceInvitation request
	AcceptWorkspaceInvitation(ctx context.Context, workspaceName string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// LeaveWorkspace request
	LeaveWorkspace(ctx context.Context, workspaceName string, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

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

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

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

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithCredentials

func NewClientWithCredentials(config RunClientWithCredentials) (*ClientWithResponses, error)

func NewClientWithResponses

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

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

func (*ClientWithResponses) AcceptWorkspaceInvitationWithResponse

func (c *ClientWithResponses) AcceptWorkspaceInvitationWithResponse(ctx context.Context, workspaceName string, reqEditors ...RequestEditorFn) (*AcceptWorkspaceInvitationResponse, error)

AcceptWorkspaceInvitationWithResponse request returning *AcceptWorkspaceInvitationResponse

func (*ClientWithResponses) CheckWorkspaceAvailabilityWithBodyWithResponse

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

CheckWorkspaceAvailabilityWithBodyWithResponse request with arbitrary body returning *CheckWorkspaceAvailabilityResponse

func (*ClientWithResponses) CheckWorkspaceAvailabilityWithResponse

func (c *ClientWithResponses) CheckWorkspaceAvailabilityWithResponse(ctx context.Context, body CheckWorkspaceAvailabilityJSONRequestBody, reqEditors ...RequestEditorFn) (*CheckWorkspaceAvailabilityResponse, error)

func (*ClientWithResponses) CreateAgentWithBodyWithResponse

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

CreateAgentWithBodyWithResponse request with arbitrary body returning *CreateAgentResponse

func (*ClientWithResponses) CreateAgentWithResponse

func (c *ClientWithResponses) CreateAgentWithResponse(ctx context.Context, body CreateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAgentResponse, error)

func (*ClientWithResponses) CreateApiKeyForServiceAccountWithBodyWithResponse

func (c *ClientWithResponses) CreateApiKeyForServiceAccountWithBodyWithResponse(ctx context.Context, clientId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateApiKeyForServiceAccountResponse, error)

CreateApiKeyForServiceAccountWithBodyWithResponse request with arbitrary body returning *CreateApiKeyForServiceAccountResponse

func (*ClientWithResponses) CreateApiKeyForServiceAccountWithResponse

func (c *ClientWithResponses) CreateApiKeyForServiceAccountWithResponse(ctx context.Context, clientId string, body CreateApiKeyForServiceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateApiKeyForServiceAccountResponse, error)

func (*ClientWithResponses) CreateCustomDomainWithBodyWithResponse added in v0.1.39

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

CreateCustomDomainWithBodyWithResponse request with arbitrary body returning *CreateCustomDomainResponse

func (*ClientWithResponses) CreateCustomDomainWithResponse added in v0.1.39

func (c *ClientWithResponses) CreateCustomDomainWithResponse(ctx context.Context, body CreateCustomDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCustomDomainResponse, error)

func (*ClientWithResponses) CreateFunctionWithBodyWithResponse

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

CreateFunctionWithBodyWithResponse request with arbitrary body returning *CreateFunctionResponse

func (*ClientWithResponses) CreateFunctionWithResponse

func (c *ClientWithResponses) CreateFunctionWithResponse(ctx context.Context, body CreateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFunctionResponse, error)

func (*ClientWithResponses) CreateIntegrationConnectionWithBodyWithResponse

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

CreateIntegrationConnectionWithBodyWithResponse request with arbitrary body returning *CreateIntegrationConnectionResponse

func (*ClientWithResponses) CreateIntegrationConnectionWithResponse

func (c *ClientWithResponses) CreateIntegrationConnectionWithResponse(ctx context.Context, body CreateIntegrationConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateIntegrationConnectionResponse, error)

func (*ClientWithResponses) CreateJobWithBodyWithResponse added in v0.1.15

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

CreateJobWithBodyWithResponse request with arbitrary body returning *CreateJobResponse

func (*ClientWithResponses) CreateJobWithResponse added in v0.1.15

func (c *ClientWithResponses) CreateJobWithResponse(ctx context.Context, body CreateJobJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateJobResponse, error)

func (*ClientWithResponses) CreateModelWithBodyWithResponse

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

CreateModelWithBodyWithResponse request with arbitrary body returning *CreateModelResponse

func (*ClientWithResponses) CreateModelWithResponse

func (c *ClientWithResponses) CreateModelWithResponse(ctx context.Context, body CreateModelJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateModelResponse, error)

func (*ClientWithResponses) CreatePolicyWithBodyWithResponse

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

CreatePolicyWithBodyWithResponse request with arbitrary body returning *CreatePolicyResponse

func (*ClientWithResponses) CreatePolicyWithResponse

func (c *ClientWithResponses) CreatePolicyWithResponse(ctx context.Context, body CreatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePolicyResponse, error)

func (*ClientWithResponses) CreatePrivateClusterWithResponse

func (c *ClientWithResponses) CreatePrivateClusterWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CreatePrivateClusterResponse, error)

CreatePrivateClusterWithResponse request returning *CreatePrivateClusterResponse

func (*ClientWithResponses) CreateSandboxPreviewTokenWithBodyWithResponse

func (c *ClientWithResponses) CreateSandboxPreviewTokenWithBodyWithResponse(ctx context.Context, sandboxName string, previewName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSandboxPreviewTokenResponse, error)

CreateSandboxPreviewTokenWithBodyWithResponse request with arbitrary body returning *CreateSandboxPreviewTokenResponse

func (*ClientWithResponses) CreateSandboxPreviewTokenWithResponse

func (c *ClientWithResponses) CreateSandboxPreviewTokenWithResponse(ctx context.Context, sandboxName string, previewName string, body CreateSandboxPreviewTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSandboxPreviewTokenResponse, error)

func (*ClientWithResponses) CreateSandboxPreviewWithBodyWithResponse

func (c *ClientWithResponses) CreateSandboxPreviewWithBodyWithResponse(ctx context.Context, sandboxName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSandboxPreviewResponse, error)

CreateSandboxPreviewWithBodyWithResponse request with arbitrary body returning *CreateSandboxPreviewResponse

func (*ClientWithResponses) CreateSandboxPreviewWithResponse

func (c *ClientWithResponses) CreateSandboxPreviewWithResponse(ctx context.Context, sandboxName string, body CreateSandboxPreviewJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSandboxPreviewResponse, error)

func (*ClientWithResponses) CreateSandboxWithBodyWithResponse

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

CreateSandboxWithBodyWithResponse request with arbitrary body returning *CreateSandboxResponse

func (*ClientWithResponses) CreateSandboxWithResponse

func (c *ClientWithResponses) CreateSandboxWithResponse(ctx context.Context, body CreateSandboxJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSandboxResponse, error)

func (*ClientWithResponses) CreateVolumeWithBodyWithResponse added in v0.1.39

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

CreateVolumeWithBodyWithResponse request with arbitrary body returning *CreateVolumeResponse

func (*ClientWithResponses) CreateVolumeWithResponse added in v0.1.39

func (c *ClientWithResponses) CreateVolumeWithResponse(ctx context.Context, body CreateVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVolumeResponse, error)

func (*ClientWithResponses) CreateWorkspaceServiceAccountWithBodyWithResponse

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

CreateWorkspaceServiceAccountWithBodyWithResponse request with arbitrary body returning *CreateWorkspaceServiceAccountResponse

func (*ClientWithResponses) CreateWorkspaceServiceAccountWithResponse

func (c *ClientWithResponses) CreateWorkspaceServiceAccountWithResponse(ctx context.Context, body CreateWorkspaceServiceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWorkspaceServiceAccountResponse, error)

func (*ClientWithResponses) CreateWorspaceWithBodyWithResponse

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

CreateWorspaceWithBodyWithResponse request with arbitrary body returning *CreateWorspaceResponse

func (*ClientWithResponses) CreateWorspaceWithResponse

func (c *ClientWithResponses) CreateWorspaceWithResponse(ctx context.Context, body CreateWorspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWorspaceResponse, error)

func (*ClientWithResponses) DeclineWorkspaceInvitationWithResponse

func (c *ClientWithResponses) DeclineWorkspaceInvitationWithResponse(ctx context.Context, workspaceName string, reqEditors ...RequestEditorFn) (*DeclineWorkspaceInvitationResponse, error)

DeclineWorkspaceInvitationWithResponse request returning *DeclineWorkspaceInvitationResponse

func (*ClientWithResponses) DeleteAgentWithResponse

func (c *ClientWithResponses) DeleteAgentWithResponse(ctx context.Context, agentName string, reqEditors ...RequestEditorFn) (*DeleteAgentResponse, error)

DeleteAgentWithResponse request returning *DeleteAgentResponse

func (*ClientWithResponses) DeleteApiKeyForServiceAccountWithResponse

func (c *ClientWithResponses) DeleteApiKeyForServiceAccountWithResponse(ctx context.Context, clientId string, apiKeyId string, reqEditors ...RequestEditorFn) (*DeleteApiKeyForServiceAccountResponse, error)

DeleteApiKeyForServiceAccountWithResponse request returning *DeleteApiKeyForServiceAccountResponse

func (*ClientWithResponses) DeleteCustomDomainWithResponse added in v0.1.39

func (c *ClientWithResponses) DeleteCustomDomainWithResponse(ctx context.Context, domainName string, reqEditors ...RequestEditorFn) (*DeleteCustomDomainResponse, error)

DeleteCustomDomainWithResponse request returning *DeleteCustomDomainResponse

func (*ClientWithResponses) DeleteFunctionWithResponse

func (c *ClientWithResponses) DeleteFunctionWithResponse(ctx context.Context, functionName string, reqEditors ...RequestEditorFn) (*DeleteFunctionResponse, error)

DeleteFunctionWithResponse request returning *DeleteFunctionResponse

func (*ClientWithResponses) DeleteIntegrationConnectionWithResponse

func (c *ClientWithResponses) DeleteIntegrationConnectionWithResponse(ctx context.Context, connectionName string, reqEditors ...RequestEditorFn) (*DeleteIntegrationConnectionResponse, error)

DeleteIntegrationConnectionWithResponse request returning *DeleteIntegrationConnectionResponse

func (*ClientWithResponses) DeleteJobWithResponse added in v0.1.15

func (c *ClientWithResponses) DeleteJobWithResponse(ctx context.Context, jobId string, reqEditors ...RequestEditorFn) (*DeleteJobResponse, error)

DeleteJobWithResponse request returning *DeleteJobResponse

func (*ClientWithResponses) DeleteModelWithResponse

func (c *ClientWithResponses) DeleteModelWithResponse(ctx context.Context, modelName string, reqEditors ...RequestEditorFn) (*DeleteModelResponse, error)

DeleteModelWithResponse request returning *DeleteModelResponse

func (*ClientWithResponses) DeletePolicyWithResponse

func (c *ClientWithResponses) DeletePolicyWithResponse(ctx context.Context, policyName string, reqEditors ...RequestEditorFn) (*DeletePolicyResponse, error)

DeletePolicyWithResponse request returning *DeletePolicyResponse

func (*ClientWithResponses) DeletePrivateClusterWithResponse

func (c *ClientWithResponses) DeletePrivateClusterWithResponse(ctx context.Context, privateClusterName string, reqEditors ...RequestEditorFn) (*DeletePrivateClusterResponse, error)

DeletePrivateClusterWithResponse request returning *DeletePrivateClusterResponse

func (*ClientWithResponses) DeleteSandboxPreviewTokenWithResponse

func (c *ClientWithResponses) DeleteSandboxPreviewTokenWithResponse(ctx context.Context, sandboxName string, previewName string, tokenName string, reqEditors ...RequestEditorFn) (*DeleteSandboxPreviewTokenResponse, error)

DeleteSandboxPreviewTokenWithResponse request returning *DeleteSandboxPreviewTokenResponse

func (*ClientWithResponses) DeleteSandboxPreviewWithResponse

func (c *ClientWithResponses) DeleteSandboxPreviewWithResponse(ctx context.Context, sandboxName string, previewName string, reqEditors ...RequestEditorFn) (*DeleteSandboxPreviewResponse, error)

DeleteSandboxPreviewWithResponse request returning *DeleteSandboxPreviewResponse

func (*ClientWithResponses) DeleteSandboxWithResponse

func (c *ClientWithResponses) DeleteSandboxWithResponse(ctx context.Context, sandboxName string, reqEditors ...RequestEditorFn) (*DeleteSandboxResponse, error)

DeleteSandboxWithResponse request returning *DeleteSandboxResponse

func (*ClientWithResponses) DeleteVolumeWithResponse added in v0.1.39

func (c *ClientWithResponses) DeleteVolumeWithResponse(ctx context.Context, volumeName string, reqEditors ...RequestEditorFn) (*DeleteVolumeResponse, error)

DeleteVolumeWithResponse request returning *DeleteVolumeResponse

func (*ClientWithResponses) DeleteWorkspaceServiceAccountWithResponse

func (c *ClientWithResponses) DeleteWorkspaceServiceAccountWithResponse(ctx context.Context, clientId string, reqEditors ...RequestEditorFn) (*DeleteWorkspaceServiceAccountResponse, error)

DeleteWorkspaceServiceAccountWithResponse request returning *DeleteWorkspaceServiceAccountResponse

func (*ClientWithResponses) DeleteWorkspaceWithResponse

func (c *ClientWithResponses) DeleteWorkspaceWithResponse(ctx context.Context, workspaceName string, reqEditors ...RequestEditorFn) (*DeleteWorkspaceResponse, error)

DeleteWorkspaceWithResponse request returning *DeleteWorkspaceResponse

func (*ClientWithResponses) GetAgentWithResponse

func (c *ClientWithResponses) GetAgentWithResponse(ctx context.Context, agentName string, reqEditors ...RequestEditorFn) (*GetAgentResponse, error)

GetAgentWithResponse request returning *GetAgentResponse

func (*ClientWithResponses) GetConfigurationWithResponse

func (c *ClientWithResponses) GetConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetConfigurationResponse, error)

GetConfigurationWithResponse request returning *GetConfigurationResponse

func (*ClientWithResponses) GetCustomDomainWithResponse added in v0.1.39

func (c *ClientWithResponses) GetCustomDomainWithResponse(ctx context.Context, domainName string, reqEditors ...RequestEditorFn) (*GetCustomDomainResponse, error)

GetCustomDomainWithResponse request returning *GetCustomDomainResponse

func (*ClientWithResponses) GetFunctionWithResponse

func (c *ClientWithResponses) GetFunctionWithResponse(ctx context.Context, functionName string, reqEditors ...RequestEditorFn) (*GetFunctionResponse, error)

GetFunctionWithResponse request returning *GetFunctionResponse

func (*ClientWithResponses) GetIntegrationConnectionModelEndpointConfigurationsWithResponse

func (c *ClientWithResponses) GetIntegrationConnectionModelEndpointConfigurationsWithResponse(ctx context.Context, connectionName string, reqEditors ...RequestEditorFn) (*GetIntegrationConnectionModelEndpointConfigurationsResponse, error)

GetIntegrationConnectionModelEndpointConfigurationsWithResponse request returning *GetIntegrationConnectionModelEndpointConfigurationsResponse

func (*ClientWithResponses) GetIntegrationConnectionModelWithResponse

func (c *ClientWithResponses) GetIntegrationConnectionModelWithResponse(ctx context.Context, connectionName string, modelId string, reqEditors ...RequestEditorFn) (*GetIntegrationConnectionModelResponse, error)

GetIntegrationConnectionModelWithResponse request returning *GetIntegrationConnectionModelResponse

func (*ClientWithResponses) GetIntegrationConnectionWithResponse

func (c *ClientWithResponses) GetIntegrationConnectionWithResponse(ctx context.Context, connectionName string, reqEditors ...RequestEditorFn) (*GetIntegrationConnectionResponse, error)

GetIntegrationConnectionWithResponse request returning *GetIntegrationConnectionResponse

func (*ClientWithResponses) GetIntegrationWithResponse

func (c *ClientWithResponses) GetIntegrationWithResponse(ctx context.Context, integrationName string, reqEditors ...RequestEditorFn) (*GetIntegrationResponse, error)

GetIntegrationWithResponse request returning *GetIntegrationResponse

func (*ClientWithResponses) GetJobWithResponse added in v0.1.15

func (c *ClientWithResponses) GetJobWithResponse(ctx context.Context, jobId string, reqEditors ...RequestEditorFn) (*GetJobResponse, error)

GetJobWithResponse request returning *GetJobResponse

func (*ClientWithResponses) GetModelWithResponse

func (c *ClientWithResponses) GetModelWithResponse(ctx context.Context, modelName string, reqEditors ...RequestEditorFn) (*GetModelResponse, error)

GetModelWithResponse request returning *GetModelResponse

func (*ClientWithResponses) GetPolicyWithResponse

func (c *ClientWithResponses) GetPolicyWithResponse(ctx context.Context, policyName string, reqEditors ...RequestEditorFn) (*GetPolicyResponse, error)

GetPolicyWithResponse request returning *GetPolicyResponse

func (*ClientWithResponses) GetPrivateClusterHealthWithResponse

func (c *ClientWithResponses) GetPrivateClusterHealthWithResponse(ctx context.Context, privateClusterName string, reqEditors ...RequestEditorFn) (*GetPrivateClusterHealthResponse, error)

GetPrivateClusterHealthWithResponse request returning *GetPrivateClusterHealthResponse

func (*ClientWithResponses) GetPrivateClusterWithResponse

func (c *ClientWithResponses) GetPrivateClusterWithResponse(ctx context.Context, privateClusterName string, reqEditors ...RequestEditorFn) (*GetPrivateClusterResponse, error)

GetPrivateClusterWithResponse request returning *GetPrivateClusterResponse

func (*ClientWithResponses) GetSandboxPreviewWithResponse

func (c *ClientWithResponses) GetSandboxPreviewWithResponse(ctx context.Context, sandboxName string, previewName string, reqEditors ...RequestEditorFn) (*GetSandboxPreviewResponse, error)

GetSandboxPreviewWithResponse request returning *GetSandboxPreviewResponse

func (*ClientWithResponses) GetSandboxWithResponse

func (c *ClientWithResponses) GetSandboxWithResponse(ctx context.Context, sandboxName string, reqEditors ...RequestEditorFn) (*GetSandboxResponse, error)

GetSandboxWithResponse request returning *GetSandboxResponse

func (*ClientWithResponses) GetTemplateWithResponse

func (c *ClientWithResponses) GetTemplateWithResponse(ctx context.Context, templateName string, reqEditors ...RequestEditorFn) (*GetTemplateResponse, error)

GetTemplateWithResponse request returning *GetTemplateResponse

func (*ClientWithResponses) GetVolumeWithResponse added in v0.1.39

func (c *ClientWithResponses) GetVolumeWithResponse(ctx context.Context, volumeName string, reqEditors ...RequestEditorFn) (*GetVolumeResponse, error)

GetVolumeWithResponse request returning *GetVolumeResponse

func (*ClientWithResponses) GetWorkspaceServiceAccountsWithResponse

func (c *ClientWithResponses) GetWorkspaceServiceAccountsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWorkspaceServiceAccountsResponse, error)

GetWorkspaceServiceAccountsWithResponse request returning *GetWorkspaceServiceAccountsResponse

func (*ClientWithResponses) GetWorkspaceWithResponse

func (c *ClientWithResponses) GetWorkspaceWithResponse(ctx context.Context, workspaceName string, reqEditors ...RequestEditorFn) (*GetWorkspaceResponse, error)

GetWorkspaceWithResponse request returning *GetWorkspaceResponse

func (*ClientWithResponses) InviteWorkspaceUserWithBodyWithResponse

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

InviteWorkspaceUserWithBodyWithResponse request with arbitrary body returning *InviteWorkspaceUserResponse

func (*ClientWithResponses) InviteWorkspaceUserWithResponse

func (c *ClientWithResponses) InviteWorkspaceUserWithResponse(ctx context.Context, body InviteWorkspaceUserJSONRequestBody, reqEditors ...RequestEditorFn) (*InviteWorkspaceUserResponse, error)

func (*ClientWithResponses) LeaveWorkspaceWithResponse

func (c *ClientWithResponses) LeaveWorkspaceWithResponse(ctx context.Context, workspaceName string, reqEditors ...RequestEditorFn) (*LeaveWorkspaceResponse, error)

LeaveWorkspaceWithResponse request returning *LeaveWorkspaceResponse

func (*ClientWithResponses) ListAgentRevisionsWithResponse

func (c *ClientWithResponses) ListAgentRevisionsWithResponse(ctx context.Context, agentName string, reqEditors ...RequestEditorFn) (*ListAgentRevisionsResponse, error)

ListAgentRevisionsWithResponse request returning *ListAgentRevisionsResponse

func (*ClientWithResponses) ListAgentsWithResponse

func (c *ClientWithResponses) ListAgentsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAgentsResponse, error)

ListAgentsWithResponse request returning *ListAgentsResponse

func (*ClientWithResponses) ListAllPendingInvitationsWithResponse

func (c *ClientWithResponses) ListAllPendingInvitationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAllPendingInvitationsResponse, error)

ListAllPendingInvitationsWithResponse request returning *ListAllPendingInvitationsResponse

func (*ClientWithResponses) ListApiKeysForServiceAccountWithResponse

func (c *ClientWithResponses) ListApiKeysForServiceAccountWithResponse(ctx context.Context, clientId string, reqEditors ...RequestEditorFn) (*ListApiKeysForServiceAccountResponse, error)

ListApiKeysForServiceAccountWithResponse request returning *ListApiKeysForServiceAccountResponse

func (*ClientWithResponses) ListCustomDomainsWithResponse added in v0.1.39

func (c *ClientWithResponses) ListCustomDomainsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListCustomDomainsResponse, error)

ListCustomDomainsWithResponse request returning *ListCustomDomainsResponse

func (*ClientWithResponses) ListFunctionRevisionsWithResponse

func (c *ClientWithResponses) ListFunctionRevisionsWithResponse(ctx context.Context, functionName string, reqEditors ...RequestEditorFn) (*ListFunctionRevisionsResponse, error)

ListFunctionRevisionsWithResponse request returning *ListFunctionRevisionsResponse

func (*ClientWithResponses) ListFunctionsWithResponse

func (c *ClientWithResponses) ListFunctionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListFunctionsResponse, error)

ListFunctionsWithResponse request returning *ListFunctionsResponse

func (*ClientWithResponses) ListIntegrationConnectionModelsWithResponse

func (c *ClientWithResponses) ListIntegrationConnectionModelsWithResponse(ctx context.Context, connectionName string, reqEditors ...RequestEditorFn) (*ListIntegrationConnectionModelsResponse, error)

ListIntegrationConnectionModelsWithResponse request returning *ListIntegrationConnectionModelsResponse

func (*ClientWithResponses) ListIntegrationConnectionsWithResponse

func (c *ClientWithResponses) ListIntegrationConnectionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListIntegrationConnectionsResponse, error)

ListIntegrationConnectionsWithResponse request returning *ListIntegrationConnectionsResponse

func (*ClientWithResponses) ListJobRevisionsWithResponse added in v0.1.15

func (c *ClientWithResponses) ListJobRevisionsWithResponse(ctx context.Context, jobId string, reqEditors ...RequestEditorFn) (*ListJobRevisionsResponse, error)

ListJobRevisionsWithResponse request returning *ListJobRevisionsResponse

func (*ClientWithResponses) ListJobsWithResponse added in v0.1.15

func (c *ClientWithResponses) ListJobsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListJobsResponse, error)

ListJobsWithResponse request returning *ListJobsResponse

func (*ClientWithResponses) ListLocationsWithResponse

func (c *ClientWithResponses) ListLocationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListLocationsResponse, error)

ListLocationsWithResponse request returning *ListLocationsResponse

func (*ClientWithResponses) ListMCPHubDefinitionsWithResponse

func (c *ClientWithResponses) ListMCPHubDefinitionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListMCPHubDefinitionsResponse, error)

ListMCPHubDefinitionsWithResponse request returning *ListMCPHubDefinitionsResponse

func (*ClientWithResponses) ListModelRevisionsWithResponse

func (c *ClientWithResponses) ListModelRevisionsWithResponse(ctx context.Context, modelName string, reqEditors ...RequestEditorFn) (*ListModelRevisionsResponse, error)

ListModelRevisionsWithResponse request returning *ListModelRevisionsResponse

func (*ClientWithResponses) ListModelsWithResponse

func (c *ClientWithResponses) ListModelsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListModelsResponse, error)

ListModelsWithResponse request returning *ListModelsResponse

func (*ClientWithResponses) ListPoliciesWithResponse

func (c *ClientWithResponses) ListPoliciesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPoliciesResponse, error)

ListPoliciesWithResponse request returning *ListPoliciesResponse

func (*ClientWithResponses) ListPrivateClustersWithResponse

func (c *ClientWithResponses) ListPrivateClustersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPrivateClustersResponse, error)

ListPrivateClustersWithResponse request returning *ListPrivateClustersResponse

func (*ClientWithResponses) ListPublicIpsWithResponse added in v0.1.35

func (c *ClientWithResponses) ListPublicIpsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPublicIpsResponse, error)

ListPublicIpsWithResponse request returning *ListPublicIpsResponse

func (*ClientWithResponses) ListSandboxHubDefinitionsWithResponse

func (c *ClientWithResponses) ListSandboxHubDefinitionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSandboxHubDefinitionsResponse, error)

ListSandboxHubDefinitionsWithResponse request returning *ListSandboxHubDefinitionsResponse

func (*ClientWithResponses) ListSandboxPreviewTokensWithResponse

func (c *ClientWithResponses) ListSandboxPreviewTokensWithResponse(ctx context.Context, sandboxName string, previewName string, reqEditors ...RequestEditorFn) (*ListSandboxPreviewTokensResponse, error)

ListSandboxPreviewTokensWithResponse request returning *ListSandboxPreviewTokensResponse

func (*ClientWithResponses) ListSandboxPreviewsWithResponse

func (c *ClientWithResponses) ListSandboxPreviewsWithResponse(ctx context.Context, sandboxName string, reqEditors ...RequestEditorFn) (*ListSandboxPreviewsResponse, error)

ListSandboxPreviewsWithResponse request returning *ListSandboxPreviewsResponse

func (*ClientWithResponses) ListSandboxesWithResponse

func (c *ClientWithResponses) ListSandboxesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSandboxesResponse, error)

ListSandboxesWithResponse request returning *ListSandboxesResponse

func (*ClientWithResponses) ListTemplatesWithResponse

func (c *ClientWithResponses) ListTemplatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListTemplatesResponse, error)

ListTemplatesWithResponse request returning *ListTemplatesResponse

func (*ClientWithResponses) ListVolumesWithResponse added in v0.1.39

func (c *ClientWithResponses) ListVolumesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListVolumesResponse, error)

ListVolumesWithResponse request returning *ListVolumesResponse

func (*ClientWithResponses) ListWorkspaceUsersWithResponse

func (c *ClientWithResponses) ListWorkspaceUsersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListWorkspaceUsersResponse, error)

ListWorkspaceUsersWithResponse request returning *ListWorkspaceUsersResponse

func (*ClientWithResponses) ListWorkspacesWithResponse

func (c *ClientWithResponses) ListWorkspacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListWorkspacesResponse, error)

ListWorkspacesWithResponse request returning *ListWorkspacesResponse

func (*ClientWithResponses) RegisterCliCommands

func (c *ClientWithResponses) RegisterCliCommands(reg register.Register, ctx context.Context)

RegisterCliCommands registers CLI commands for the client

func (*ClientWithResponses) RemoveWorkspaceUserWithResponse

func (c *ClientWithResponses) RemoveWorkspaceUserWithResponse(ctx context.Context, subOrEmail string, reqEditors ...RequestEditorFn) (*RemoveWorkspaceUserResponse, error)

RemoveWorkspaceUserWithResponse request returning *RemoveWorkspaceUserResponse

func (*ClientWithResponses) StartSandboxWithResponse

func (c *ClientWithResponses) StartSandboxWithResponse(ctx context.Context, sandboxName string, reqEditors ...RequestEditorFn) (*StartSandboxResponse, error)

StartSandboxWithResponse request returning *StartSandboxResponse

func (*ClientWithResponses) StopSandboxWithResponse

func (c *ClientWithResponses) StopSandboxWithResponse(ctx context.Context, sandboxName string, reqEditors ...RequestEditorFn) (*StopSandboxResponse, error)

StopSandboxWithResponse request returning *StopSandboxResponse

func (*ClientWithResponses) UpdateAgentWithBodyWithResponse

func (c *ClientWithResponses) UpdateAgentWithBodyWithResponse(ctx context.Context, agentName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAgentResponse, error)

UpdateAgentWithBodyWithResponse request with arbitrary body returning *UpdateAgentResponse

func (*ClientWithResponses) UpdateAgentWithResponse

func (c *ClientWithResponses) UpdateAgentWithResponse(ctx context.Context, agentName string, body UpdateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAgentResponse, error)

func (*ClientWithResponses) UpdateCustomDomainWithBodyWithResponse added in v0.1.39

func (c *ClientWithResponses) UpdateCustomDomainWithBodyWithResponse(ctx context.Context, domainName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCustomDomainResponse, error)

UpdateCustomDomainWithBodyWithResponse request with arbitrary body returning *UpdateCustomDomainResponse

func (*ClientWithResponses) UpdateCustomDomainWithResponse added in v0.1.39

func (c *ClientWithResponses) UpdateCustomDomainWithResponse(ctx context.Context, domainName string, body UpdateCustomDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCustomDomainResponse, error)

func (*ClientWithResponses) UpdateFunctionWithBodyWithResponse

func (c *ClientWithResponses) UpdateFunctionWithBodyWithResponse(ctx context.Context, functionName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFunctionResponse, error)

UpdateFunctionWithBodyWithResponse request with arbitrary body returning *UpdateFunctionResponse

func (*ClientWithResponses) UpdateFunctionWithResponse

func (c *ClientWithResponses) UpdateFunctionWithResponse(ctx context.Context, functionName string, body UpdateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateFunctionResponse, error)

func (*ClientWithResponses) UpdateIntegrationConnectionWithBodyWithResponse

func (c *ClientWithResponses) UpdateIntegrationConnectionWithBodyWithResponse(ctx context.Context, connectionName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIntegrationConnectionResponse, error)

UpdateIntegrationConnectionWithBodyWithResponse request with arbitrary body returning *UpdateIntegrationConnectionResponse

func (*ClientWithResponses) UpdateIntegrationConnectionWithResponse

func (c *ClientWithResponses) UpdateIntegrationConnectionWithResponse(ctx context.Context, connectionName string, body UpdateIntegrationConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateIntegrationConnectionResponse, error)

func (*ClientWithResponses) UpdateJobWithBodyWithResponse added in v0.1.15

func (c *ClientWithResponses) UpdateJobWithBodyWithResponse(ctx context.Context, jobId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateJobResponse, error)

UpdateJobWithBodyWithResponse request with arbitrary body returning *UpdateJobResponse

func (*ClientWithResponses) UpdateJobWithResponse added in v0.1.15

func (c *ClientWithResponses) UpdateJobWithResponse(ctx context.Context, jobId string, body UpdateJobJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateJobResponse, error)

func (*ClientWithResponses) UpdateModelWithBodyWithResponse

func (c *ClientWithResponses) UpdateModelWithBodyWithResponse(ctx context.Context, modelName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateModelResponse, error)

UpdateModelWithBodyWithResponse request with arbitrary body returning *UpdateModelResponse

func (*ClientWithResponses) UpdateModelWithResponse

func (c *ClientWithResponses) UpdateModelWithResponse(ctx context.Context, modelName string, body UpdateModelJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateModelResponse, error)

func (*ClientWithResponses) UpdatePolicyWithBodyWithResponse

func (c *ClientWithResponses) UpdatePolicyWithBodyWithResponse(ctx context.Context, policyName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePolicyResponse, error)

UpdatePolicyWithBodyWithResponse request with arbitrary body returning *UpdatePolicyResponse

func (*ClientWithResponses) UpdatePolicyWithResponse

func (c *ClientWithResponses) UpdatePolicyWithResponse(ctx context.Context, policyName string, body UpdatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePolicyResponse, error)

func (*ClientWithResponses) UpdatePrivateClusterHealthWithResponse

func (c *ClientWithResponses) UpdatePrivateClusterHealthWithResponse(ctx context.Context, privateClusterName string, reqEditors ...RequestEditorFn) (*UpdatePrivateClusterHealthResponse, error)

UpdatePrivateClusterHealthWithResponse request returning *UpdatePrivateClusterHealthResponse

func (*ClientWithResponses) UpdatePrivateClusterWithResponse

func (c *ClientWithResponses) UpdatePrivateClusterWithResponse(ctx context.Context, privateClusterName string, reqEditors ...RequestEditorFn) (*UpdatePrivateClusterResponse, error)

UpdatePrivateClusterWithResponse request returning *UpdatePrivateClusterResponse

func (*ClientWithResponses) UpdateSandboxPreviewWithBodyWithResponse

func (c *ClientWithResponses) UpdateSandboxPreviewWithBodyWithResponse(ctx context.Context, sandboxName string, previewName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSandboxPreviewResponse, error)

UpdateSandboxPreviewWithBodyWithResponse request with arbitrary body returning *UpdateSandboxPreviewResponse

func (*ClientWithResponses) UpdateSandboxPreviewWithResponse

func (c *ClientWithResponses) UpdateSandboxPreviewWithResponse(ctx context.Context, sandboxName string, previewName string, body UpdateSandboxPreviewJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSandboxPreviewResponse, error)

func (*ClientWithResponses) UpdateSandboxWithBodyWithResponse

func (c *ClientWithResponses) UpdateSandboxWithBodyWithResponse(ctx context.Context, sandboxName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSandboxResponse, error)

UpdateSandboxWithBodyWithResponse request with arbitrary body returning *UpdateSandboxResponse

func (*ClientWithResponses) UpdateSandboxWithResponse

func (c *ClientWithResponses) UpdateSandboxWithResponse(ctx context.Context, sandboxName string, body UpdateSandboxJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSandboxResponse, error)

func (*ClientWithResponses) UpdateVolumeWithBodyWithResponse added in v0.1.39

func (c *ClientWithResponses) UpdateVolumeWithBodyWithResponse(ctx context.Context, volumeName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateVolumeResponse, error)

UpdateVolumeWithBodyWithResponse request with arbitrary body returning *UpdateVolumeResponse

func (*ClientWithResponses) UpdateVolumeWithResponse added in v0.1.39

func (c *ClientWithResponses) UpdateVolumeWithResponse(ctx context.Context, volumeName string, body UpdateVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateVolumeResponse, error)

func (*ClientWithResponses) UpdateWorkspaceServiceAccountWithBodyWithResponse

func (c *ClientWithResponses) UpdateWorkspaceServiceAccountWithBodyWithResponse(ctx context.Context, clientId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkspaceServiceAccountResponse, error)

UpdateWorkspaceServiceAccountWithBodyWithResponse request with arbitrary body returning *UpdateWorkspaceServiceAccountResponse

func (*ClientWithResponses) UpdateWorkspaceServiceAccountWithResponse

func (c *ClientWithResponses) UpdateWorkspaceServiceAccountWithResponse(ctx context.Context, clientId string, body UpdateWorkspaceServiceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWorkspaceServiceAccountResponse, error)

func (*ClientWithResponses) UpdateWorkspaceUserRoleWithBodyWithResponse

func (c *ClientWithResponses) UpdateWorkspaceUserRoleWithBodyWithResponse(ctx context.Context, subOrEmail string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkspaceUserRoleResponse, error)

UpdateWorkspaceUserRoleWithBodyWithResponse request with arbitrary body returning *UpdateWorkspaceUserRoleResponse

func (*ClientWithResponses) UpdateWorkspaceUserRoleWithResponse

func (c *ClientWithResponses) UpdateWorkspaceUserRoleWithResponse(ctx context.Context, subOrEmail string, body UpdateWorkspaceUserRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWorkspaceUserRoleResponse, error)

func (*ClientWithResponses) UpdateWorkspaceWithBodyWithResponse

func (c *ClientWithResponses) UpdateWorkspaceWithBodyWithResponse(ctx context.Context, workspaceName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkspaceResponse, error)

UpdateWorkspaceWithBodyWithResponse request with arbitrary body returning *UpdateWorkspaceResponse

func (*ClientWithResponses) UpdateWorkspaceWithResponse

func (c *ClientWithResponses) UpdateWorkspaceWithResponse(ctx context.Context, workspaceName string, body UpdateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWorkspaceResponse, error)

func (*ClientWithResponses) VerifyCustomDomainWithResponse added in v0.1.39

func (c *ClientWithResponses) VerifyCustomDomainWithResponse(ctx context.Context, domainName string, reqEditors ...RequestEditorFn) (*VerifyCustomDomainResponse, error)

VerifyCustomDomainWithResponse request returning *VerifyCustomDomainResponse

type ClientWithResponsesInterface

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

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

	CreateAgentWithResponse(ctx context.Context, body CreateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAgentResponse, error)

	// DeleteAgentWithResponse request
	DeleteAgentWithResponse(ctx context.Context, agentName string, reqEditors ...RequestEditorFn) (*DeleteAgentResponse, error)

	// GetAgentWithResponse request
	GetAgentWithResponse(ctx context.Context, agentName string, reqEditors ...RequestEditorFn) (*GetAgentResponse, error)

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

	UpdateAgentWithResponse(ctx context.Context, agentName string, body UpdateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAgentResponse, error)

	// ListAgentRevisionsWithResponse request
	ListAgentRevisionsWithResponse(ctx context.Context, agentName string, reqEditors ...RequestEditorFn) (*ListAgentRevisionsResponse, error)

	// GetConfigurationWithResponse request
	GetConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetConfigurationResponse, error)

	// ListCustomDomainsWithResponse request
	ListCustomDomainsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListCustomDomainsResponse, error)

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

	CreateCustomDomainWithResponse(ctx context.Context, body CreateCustomDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCustomDomainResponse, error)

	// DeleteCustomDomainWithResponse request
	DeleteCustomDomainWithResponse(ctx context.Context, domainName string, reqEditors ...RequestEditorFn) (*DeleteCustomDomainResponse, error)

	// GetCustomDomainWithResponse request
	GetCustomDomainWithResponse(ctx context.Context, domainName string, reqEditors ...RequestEditorFn) (*GetCustomDomainResponse, error)

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

	UpdateCustomDomainWithResponse(ctx context.Context, domainName string, body UpdateCustomDomainJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCustomDomainResponse, error)

	// VerifyCustomDomainWithResponse request
	VerifyCustomDomainWithResponse(ctx context.Context, domainName string, reqEditors ...RequestEditorFn) (*VerifyCustomDomainResponse, error)

	// ListFunctionsWithResponse request
	ListFunctionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListFunctionsResponse, error)

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

	CreateFunctionWithResponse(ctx context.Context, body CreateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFunctionResponse, error)

	// DeleteFunctionWithResponse request
	DeleteFunctionWithResponse(ctx context.Context, functionName string, reqEditors ...RequestEditorFn) (*DeleteFunctionResponse, error)

	// GetFunctionWithResponse request
	GetFunctionWithResponse(ctx context.Context, functionName string, reqEditors ...RequestEditorFn) (*GetFunctionResponse, error)

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

	UpdateFunctionWithResponse(ctx context.Context, functionName string, body UpdateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateFunctionResponse, error)

	// ListFunctionRevisionsWithResponse request
	ListFunctionRevisionsWithResponse(ctx context.Context, functionName string, reqEditors ...RequestEditorFn) (*ListFunctionRevisionsResponse, error)

	// ListIntegrationConnectionsWithResponse request
	ListIntegrationConnectionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListIntegrationConnectionsResponse, error)

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

	CreateIntegrationConnectionWithResponse(ctx context.Context, body CreateIntegrationConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateIntegrationConnectionResponse, error)

	// DeleteIntegrationConnectionWithResponse request
	DeleteIntegrationConnectionWithResponse(ctx context.Context, connectionName string, reqEditors ...RequestEditorFn) (*DeleteIntegrationConnectionResponse, error)

	// GetIntegrationConnectionWithResponse request
	GetIntegrationConnectionWithResponse(ctx context.Context, connectionName string, reqEditors ...RequestEditorFn) (*GetIntegrationConnectionResponse, error)

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

	UpdateIntegrationConnectionWithResponse(ctx context.Context, connectionName string, body UpdateIntegrationConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateIntegrationConnectionResponse, error)

	// GetIntegrationConnectionModelEndpointConfigurationsWithResponse request
	GetIntegrationConnectionModelEndpointConfigurationsWithResponse(ctx context.Context, connectionName string, reqEditors ...RequestEditorFn) (*GetIntegrationConnectionModelEndpointConfigurationsResponse, error)

	// ListIntegrationConnectionModelsWithResponse request
	ListIntegrationConnectionModelsWithResponse(ctx context.Context, connectionName string, reqEditors ...RequestEditorFn) (*ListIntegrationConnectionModelsResponse, error)

	// GetIntegrationConnectionModelWithResponse request
	GetIntegrationConnectionModelWithResponse(ctx context.Context, connectionName string, modelId string, reqEditors ...RequestEditorFn) (*GetIntegrationConnectionModelResponse, error)

	// GetIntegrationWithResponse request
	GetIntegrationWithResponse(ctx context.Context, integrationName string, reqEditors ...RequestEditorFn) (*GetIntegrationResponse, error)

	// ListJobsWithResponse request
	ListJobsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListJobsResponse, error)

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

	CreateJobWithResponse(ctx context.Context, body CreateJobJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateJobResponse, error)

	// DeleteJobWithResponse request
	DeleteJobWithResponse(ctx context.Context, jobId string, reqEditors ...RequestEditorFn) (*DeleteJobResponse, error)

	// GetJobWithResponse request
	GetJobWithResponse(ctx context.Context, jobId string, reqEditors ...RequestEditorFn) (*GetJobResponse, error)

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

	UpdateJobWithResponse(ctx context.Context, jobId string, body UpdateJobJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateJobResponse, error)

	// ListJobRevisionsWithResponse request
	ListJobRevisionsWithResponse(ctx context.Context, jobId string, reqEditors ...RequestEditorFn) (*ListJobRevisionsResponse, error)

	// ListLocationsWithResponse request
	ListLocationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListLocationsResponse, error)

	// ListMCPHubDefinitionsWithResponse request
	ListMCPHubDefinitionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListMCPHubDefinitionsResponse, error)

	// ListModelsWithResponse request
	ListModelsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListModelsResponse, error)

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

	CreateModelWithResponse(ctx context.Context, body CreateModelJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateModelResponse, error)

	// DeleteModelWithResponse request
	DeleteModelWithResponse(ctx context.Context, modelName string, reqEditors ...RequestEditorFn) (*DeleteModelResponse, error)

	// GetModelWithResponse request
	GetModelWithResponse(ctx context.Context, modelName string, reqEditors ...RequestEditorFn) (*GetModelResponse, error)

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

	UpdateModelWithResponse(ctx context.Context, modelName string, body UpdateModelJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateModelResponse, error)

	// ListModelRevisionsWithResponse request
	ListModelRevisionsWithResponse(ctx context.Context, modelName string, reqEditors ...RequestEditorFn) (*ListModelRevisionsResponse, error)

	// ListPoliciesWithResponse request
	ListPoliciesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPoliciesResponse, error)

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

	CreatePolicyWithResponse(ctx context.Context, body CreatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePolicyResponse, error)

	// DeletePolicyWithResponse request
	DeletePolicyWithResponse(ctx context.Context, policyName string, reqEditors ...RequestEditorFn) (*DeletePolicyResponse, error)

	// GetPolicyWithResponse request
	GetPolicyWithResponse(ctx context.Context, policyName string, reqEditors ...RequestEditorFn) (*GetPolicyResponse, error)

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

	UpdatePolicyWithResponse(ctx context.Context, policyName string, body UpdatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePolicyResponse, error)

	// ListPrivateClustersWithResponse request
	ListPrivateClustersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPrivateClustersResponse, error)

	// CreatePrivateClusterWithResponse request
	CreatePrivateClusterWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CreatePrivateClusterResponse, error)

	// DeletePrivateClusterWithResponse request
	DeletePrivateClusterWithResponse(ctx context.Context, privateClusterName string, reqEditors ...RequestEditorFn) (*DeletePrivateClusterResponse, error)

	// GetPrivateClusterWithResponse request
	GetPrivateClusterWithResponse(ctx context.Context, privateClusterName string, reqEditors ...RequestEditorFn) (*GetPrivateClusterResponse, error)

	// UpdatePrivateClusterWithResponse request
	UpdatePrivateClusterWithResponse(ctx context.Context, privateClusterName string, reqEditors ...RequestEditorFn) (*UpdatePrivateClusterResponse, error)

	// GetPrivateClusterHealthWithResponse request
	GetPrivateClusterHealthWithResponse(ctx context.Context, privateClusterName string, reqEditors ...RequestEditorFn) (*GetPrivateClusterHealthResponse, error)

	// UpdatePrivateClusterHealthWithResponse request
	UpdatePrivateClusterHealthWithResponse(ctx context.Context, privateClusterName string, reqEditors ...RequestEditorFn) (*UpdatePrivateClusterHealthResponse, error)

	// ListAllPendingInvitationsWithResponse request
	ListAllPendingInvitationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAllPendingInvitationsResponse, error)

	// ListPublicIpsWithResponse request
	ListPublicIpsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPublicIpsResponse, error)

	// ListSandboxHubDefinitionsWithResponse request
	ListSandboxHubDefinitionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSandboxHubDefinitionsResponse, error)

	// ListSandboxesWithResponse request
	ListSandboxesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListSandboxesResponse, error)

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

	CreateSandboxWithResponse(ctx context.Context, body CreateSandboxJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSandboxResponse, error)

	// DeleteSandboxWithResponse request
	DeleteSandboxWithResponse(ctx context.Context, sandboxName string, reqEditors ...RequestEditorFn) (*DeleteSandboxResponse, error)

	// GetSandboxWithResponse request
	GetSandboxWithResponse(ctx context.Context, sandboxName string, reqEditors ...RequestEditorFn) (*GetSandboxResponse, error)

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

	UpdateSandboxWithResponse(ctx context.Context, sandboxName string, body UpdateSandboxJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSandboxResponse, error)

	// ListSandboxPreviewsWithResponse request
	ListSandboxPreviewsWithResponse(ctx context.Context, sandboxName string, reqEditors ...RequestEditorFn) (*ListSandboxPreviewsResponse, error)

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

	CreateSandboxPreviewWithResponse(ctx context.Context, sandboxName string, body CreateSandboxPreviewJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSandboxPreviewResponse, error)

	// DeleteSandboxPreviewWithResponse request
	DeleteSandboxPreviewWithResponse(ctx context.Context, sandboxName string, previewName string, reqEditors ...RequestEditorFn) (*DeleteSandboxPreviewResponse, error)

	// GetSandboxPreviewWithResponse request
	GetSandboxPreviewWithResponse(ctx context.Context, sandboxName string, previewName string, reqEditors ...RequestEditorFn) (*GetSandboxPreviewResponse, error)

	// UpdateSandboxPreviewWithBodyWithResponse request with any body
	UpdateSandboxPreviewWithBodyWithResponse(ctx context.Context, sandboxName string, previewName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSandboxPreviewResponse, error)

	UpdateSandboxPreviewWithResponse(ctx context.Context, sandboxName string, previewName string, body UpdateSandboxPreviewJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSandboxPreviewResponse, error)

	// ListSandboxPreviewTokensWithResponse request
	ListSandboxPreviewTokensWithResponse(ctx context.Context, sandboxName string, previewName string, reqEditors ...RequestEditorFn) (*ListSandboxPreviewTokensResponse, error)

	// CreateSandboxPreviewTokenWithBodyWithResponse request with any body
	CreateSandboxPreviewTokenWithBodyWithResponse(ctx context.Context, sandboxName string, previewName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSandboxPreviewTokenResponse, error)

	CreateSandboxPreviewTokenWithResponse(ctx context.Context, sandboxName string, previewName string, body CreateSandboxPreviewTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSandboxPreviewTokenResponse, error)

	// DeleteSandboxPreviewTokenWithResponse request
	DeleteSandboxPreviewTokenWithResponse(ctx context.Context, sandboxName string, previewName string, tokenName string, reqEditors ...RequestEditorFn) (*DeleteSandboxPreviewTokenResponse, error)

	// StartSandboxWithResponse request
	StartSandboxWithResponse(ctx context.Context, sandboxName string, reqEditors ...RequestEditorFn) (*StartSandboxResponse, error)

	// StopSandboxWithResponse request
	StopSandboxWithResponse(ctx context.Context, sandboxName string, reqEditors ...RequestEditorFn) (*StopSandboxResponse, error)

	// GetWorkspaceServiceAccountsWithResponse request
	GetWorkspaceServiceAccountsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWorkspaceServiceAccountsResponse, error)

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

	CreateWorkspaceServiceAccountWithResponse(ctx context.Context, body CreateWorkspaceServiceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWorkspaceServiceAccountResponse, error)

	// DeleteWorkspaceServiceAccountWithResponse request
	DeleteWorkspaceServiceAccountWithResponse(ctx context.Context, clientId string, reqEditors ...RequestEditorFn) (*DeleteWorkspaceServiceAccountResponse, error)

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

	UpdateWorkspaceServiceAccountWithResponse(ctx context.Context, clientId string, body UpdateWorkspaceServiceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWorkspaceServiceAccountResponse, error)

	// ListApiKeysForServiceAccountWithResponse request
	ListApiKeysForServiceAccountWithResponse(ctx context.Context, clientId string, reqEditors ...RequestEditorFn) (*ListApiKeysForServiceAccountResponse, error)

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

	CreateApiKeyForServiceAccountWithResponse(ctx context.Context, clientId string, body CreateApiKeyForServiceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateApiKeyForServiceAccountResponse, error)

	// DeleteApiKeyForServiceAccountWithResponse request
	DeleteApiKeyForServiceAccountWithResponse(ctx context.Context, clientId string, apiKeyId string, reqEditors ...RequestEditorFn) (*DeleteApiKeyForServiceAccountResponse, error)

	// ListTemplatesWithResponse request
	ListTemplatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListTemplatesResponse, error)

	// GetTemplateWithResponse request
	GetTemplateWithResponse(ctx context.Context, templateName string, reqEditors ...RequestEditorFn) (*GetTemplateResponse, error)

	// ListWorkspaceUsersWithResponse request
	ListWorkspaceUsersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListWorkspaceUsersResponse, error)

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

	InviteWorkspaceUserWithResponse(ctx context.Context, body InviteWorkspaceUserJSONRequestBody, reqEditors ...RequestEditorFn) (*InviteWorkspaceUserResponse, error)

	// RemoveWorkspaceUserWithResponse request
	RemoveWorkspaceUserWithResponse(ctx context.Context, subOrEmail string, reqEditors ...RequestEditorFn) (*RemoveWorkspaceUserResponse, error)

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

	UpdateWorkspaceUserRoleWithResponse(ctx context.Context, subOrEmail string, body UpdateWorkspaceUserRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWorkspaceUserRoleResponse, error)

	// ListVolumesWithResponse request
	ListVolumesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListVolumesResponse, error)

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

	CreateVolumeWithResponse(ctx context.Context, body CreateVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateVolumeResponse, error)

	// DeleteVolumeWithResponse request
	DeleteVolumeWithResponse(ctx context.Context, volumeName string, reqEditors ...RequestEditorFn) (*DeleteVolumeResponse, error)

	// GetVolumeWithResponse request
	GetVolumeWithResponse(ctx context.Context, volumeName string, reqEditors ...RequestEditorFn) (*GetVolumeResponse, error)

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

	UpdateVolumeWithResponse(ctx context.Context, volumeName string, body UpdateVolumeJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateVolumeResponse, error)

	// ListWorkspacesWithResponse request
	ListWorkspacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListWorkspacesResponse, error)

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

	CreateWorspaceWithResponse(ctx context.Context, body CreateWorspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWorspaceResponse, error)

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

	CheckWorkspaceAvailabilityWithResponse(ctx context.Context, body CheckWorkspaceAvailabilityJSONRequestBody, reqEditors ...RequestEditorFn) (*CheckWorkspaceAvailabilityResponse, error)

	// DeleteWorkspaceWithResponse request
	DeleteWorkspaceWithResponse(ctx context.Context, workspaceName string, reqEditors ...RequestEditorFn) (*DeleteWorkspaceResponse, error)

	// GetWorkspaceWithResponse request
	GetWorkspaceWithResponse(ctx context.Context, workspaceName string, reqEditors ...RequestEditorFn) (*GetWorkspaceResponse, error)

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

	UpdateWorkspaceWithResponse(ctx context.Context, workspaceName string, body UpdateWorkspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWorkspaceResponse, error)

	// DeclineWorkspaceInvitationWithResponse request
	DeclineWorkspaceInvitationWithResponse(ctx context.Context, workspaceName string, reqEditors ...RequestEditorFn) (*DeclineWorkspaceInvitationResponse, error)

	// AcceptWorkspaceInvitationWithResponse request
	AcceptWorkspaceInvitationWithResponse(ctx context.Context, workspaceName string, reqEditors ...RequestEditorFn) (*AcceptWorkspaceInvitationResponse, error)

	// LeaveWorkspaceWithResponse request
	LeaveWorkspaceWithResponse(ctx context.Context, workspaceName string, reqEditors ...RequestEditorFn) (*LeaveWorkspaceResponse, error)
}

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

type Config

type Config struct {
	Context    ContextConfig     `yaml:"context"`
	Workspaces []WorkspaceConfig `yaml:"workspaces"`
}

type Configuration

type Configuration struct {
	// Continents Continents
	Continents *[]interface{} `json:"continents,omitempty"`

	// Countries Countries
	Countries *[]interface{} `json:"countries,omitempty"`

	// PrivateLocations Private locations managed with blaxel operator
	PrivateLocations *[]interface{} `json:"privateLocations,omitempty"`
}

Configuration Configuration

type ContextConfig

type ContextConfig struct {
	Workspace string `yaml:"workspace"`
}

func CurrentContext

func CurrentContext() ContextConfig

type CoreEvent

type CoreEvent struct {
	// Message Event message
	Message *string `json:"message,omitempty"`

	// Revision RevisionID link to the event
	Revision *string `json:"revision,omitempty"`

	// Status Event status
	Status *string `json:"status,omitempty"`

	// Time Event time
	Time *string `json:"time,omitempty"`

	// Type Event type
	Type *string `json:"type,omitempty"`
}

CoreEvent Core event

type CoreEvents

type CoreEvents = []CoreEvent

CoreEvents Core events

type CoreSpec

type CoreSpec struct {
	// Configurations Optional configurations for the object
	Configurations *struct {
		// Key Configuration, this is a key value storage. In your object you can retrieve the value with config[key]
		Key *SpecConfiguration `json:"key,omitempty"`
	} `json:"configurations,omitempty"`

	// Enabled Enable or disable the resource
	Enabled *bool `json:"enabled,omitempty"`

	// Flavors Types of hardware available for deployments
	Flavors                *Flavors                    `json:"flavors,omitempty"`
	IntegrationConnections *IntegrationConnectionsList `json:"integrationConnections,omitempty"`
	Policies               *PoliciesList               `json:"policies,omitempty"`

	// PrivateClusters Private cluster where the model deployment is deployed
	PrivateClusters *ModelPrivateCluster `json:"privateClusters,omitempty"`

	// Revision Revision configuration
	Revision *RevisionConfiguration `json:"revision,omitempty"`

	// Runtime Set of configurations for a deployment
	Runtime *Runtime `json:"runtime,omitempty"`

	// Sandbox Sandbox mode
	Sandbox *bool `json:"sandbox,omitempty"`
}

CoreSpec Core specification

type CreateAgentJSONRequestBody

type CreateAgentJSONRequestBody = Agent

CreateAgentJSONRequestBody defines body for CreateAgent for application/json ContentType.

type CreateAgentResponse

type CreateAgentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Agent
}

func ParseCreateAgentResponse

func ParseCreateAgentResponse(rsp *http.Response) (*CreateAgentResponse, error)

ParseCreateAgentResponse parses an HTTP response from a CreateAgentWithResponse call

func (CreateAgentResponse) Status

func (r CreateAgentResponse) Status() string

Status returns HTTPResponse.Status

func (CreateAgentResponse) StatusCode

func (r CreateAgentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateApiKeyForServiceAccountJSONBody

type CreateApiKeyForServiceAccountJSONBody struct {
	// ExpiresIn Expiration period for the API key
	ExpiresIn *string `json:"expires_in,omitempty"`

	// Name Name for the API key
	Name *string `json:"name,omitempty"`
}

CreateApiKeyForServiceAccountJSONBody defines parameters for CreateApiKeyForServiceAccount.

type CreateApiKeyForServiceAccountJSONRequestBody

type CreateApiKeyForServiceAccountJSONRequestBody CreateApiKeyForServiceAccountJSONBody

CreateApiKeyForServiceAccountJSONRequestBody defines body for CreateApiKeyForServiceAccount for application/json ContentType.

type CreateApiKeyForServiceAccountResponse

type CreateApiKeyForServiceAccountResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ApiKey
}

func ParseCreateApiKeyForServiceAccountResponse

func ParseCreateApiKeyForServiceAccountResponse(rsp *http.Response) (*CreateApiKeyForServiceAccountResponse, error)

ParseCreateApiKeyForServiceAccountResponse parses an HTTP response from a CreateApiKeyForServiceAccountWithResponse call

func (CreateApiKeyForServiceAccountResponse) Status

Status returns HTTPResponse.Status

func (CreateApiKeyForServiceAccountResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateCustomDomainJSONRequestBody added in v0.1.39

type CreateCustomDomainJSONRequestBody = CustomDomain

CreateCustomDomainJSONRequestBody defines body for CreateCustomDomain for application/json ContentType.

type CreateCustomDomainResponse added in v0.1.39

type CreateCustomDomainResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CustomDomain
}

func ParseCreateCustomDomainResponse added in v0.1.39

func ParseCreateCustomDomainResponse(rsp *http.Response) (*CreateCustomDomainResponse, error)

ParseCreateCustomDomainResponse parses an HTTP response from a CreateCustomDomainWithResponse call

func (CreateCustomDomainResponse) Status added in v0.1.39

Status returns HTTPResponse.Status

func (CreateCustomDomainResponse) StatusCode added in v0.1.39

func (r CreateCustomDomainResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateFunctionJSONRequestBody

type CreateFunctionJSONRequestBody = Function

CreateFunctionJSONRequestBody defines body for CreateFunction for application/json ContentType.

type CreateFunctionResponse

type CreateFunctionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Function
}

func ParseCreateFunctionResponse

func ParseCreateFunctionResponse(rsp *http.Response) (*CreateFunctionResponse, error)

ParseCreateFunctionResponse parses an HTTP response from a CreateFunctionWithResponse call

func (CreateFunctionResponse) Status

func (r CreateFunctionResponse) Status() string

Status returns HTTPResponse.Status

func (CreateFunctionResponse) StatusCode

func (r CreateFunctionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateIntegrationConnectionJSONRequestBody

type CreateIntegrationConnectionJSONRequestBody = IntegrationConnection

CreateIntegrationConnectionJSONRequestBody defines body for CreateIntegrationConnection for application/json ContentType.

type CreateIntegrationConnectionResponse

type CreateIntegrationConnectionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IntegrationConnection
}

func ParseCreateIntegrationConnectionResponse

func ParseCreateIntegrationConnectionResponse(rsp *http.Response) (*CreateIntegrationConnectionResponse, error)

ParseCreateIntegrationConnectionResponse parses an HTTP response from a CreateIntegrationConnectionWithResponse call

func (CreateIntegrationConnectionResponse) Status

Status returns HTTPResponse.Status

func (CreateIntegrationConnectionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateJobJSONRequestBody added in v0.1.15

type CreateJobJSONRequestBody = Job

CreateJobJSONRequestBody defines body for CreateJob for application/json ContentType.

type CreateJobResponse added in v0.1.15

type CreateJobResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Job
}

func ParseCreateJobResponse added in v0.1.15

func ParseCreateJobResponse(rsp *http.Response) (*CreateJobResponse, error)

ParseCreateJobResponse parses an HTTP response from a CreateJobWithResponse call

func (CreateJobResponse) Status added in v0.1.15

func (r CreateJobResponse) Status() string

Status returns HTTPResponse.Status

func (CreateJobResponse) StatusCode added in v0.1.15

func (r CreateJobResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateModelJSONRequestBody

type CreateModelJSONRequestBody = Model

CreateModelJSONRequestBody defines body for CreateModel for application/json ContentType.

type CreateModelResponse

type CreateModelResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Model
}

func ParseCreateModelResponse

func ParseCreateModelResponse(rsp *http.Response) (*CreateModelResponse, error)

ParseCreateModelResponse parses an HTTP response from a CreateModelWithResponse call

func (CreateModelResponse) Status

func (r CreateModelResponse) Status() string

Status returns HTTPResponse.Status

func (CreateModelResponse) StatusCode

func (r CreateModelResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreatePolicyJSONRequestBody

type CreatePolicyJSONRequestBody = Policy

CreatePolicyJSONRequestBody defines body for CreatePolicy for application/json ContentType.

type CreatePolicyResponse

type CreatePolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Policy
}

func ParseCreatePolicyResponse

func ParseCreatePolicyResponse(rsp *http.Response) (*CreatePolicyResponse, error)

ParseCreatePolicyResponse parses an HTTP response from a CreatePolicyWithResponse call

func (CreatePolicyResponse) Status

func (r CreatePolicyResponse) Status() string

Status returns HTTPResponse.Status

func (CreatePolicyResponse) StatusCode

func (r CreatePolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreatePrivateClusterResponse

type CreatePrivateClusterResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PrivateCluster
}

func ParseCreatePrivateClusterResponse

func ParseCreatePrivateClusterResponse(rsp *http.Response) (*CreatePrivateClusterResponse, error)

ParseCreatePrivateClusterResponse parses an HTTP response from a CreatePrivateClusterWithResponse call

func (CreatePrivateClusterResponse) Status

Status returns HTTPResponse.Status

func (CreatePrivateClusterResponse) StatusCode

func (r CreatePrivateClusterResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateSandboxJSONRequestBody

type CreateSandboxJSONRequestBody = Sandbox

CreateSandboxJSONRequestBody defines body for CreateSandbox for application/json ContentType.

type CreateSandboxPreviewJSONRequestBody

type CreateSandboxPreviewJSONRequestBody = Preview

CreateSandboxPreviewJSONRequestBody defines body for CreateSandboxPreview for application/json ContentType.

type CreateSandboxPreviewResponse

type CreateSandboxPreviewResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Preview
}

func ParseCreateSandboxPreviewResponse

func ParseCreateSandboxPreviewResponse(rsp *http.Response) (*CreateSandboxPreviewResponse, error)

ParseCreateSandboxPreviewResponse parses an HTTP response from a CreateSandboxPreviewWithResponse call

func (CreateSandboxPreviewResponse) Status

Status returns HTTPResponse.Status

func (CreateSandboxPreviewResponse) StatusCode

func (r CreateSandboxPreviewResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateSandboxPreviewTokenJSONRequestBody

type CreateSandboxPreviewTokenJSONRequestBody = PreviewToken

CreateSandboxPreviewTokenJSONRequestBody defines body for CreateSandboxPreviewToken for application/json ContentType.

type CreateSandboxPreviewTokenResponse

type CreateSandboxPreviewTokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PreviewToken
}

func ParseCreateSandboxPreviewTokenResponse

func ParseCreateSandboxPreviewTokenResponse(rsp *http.Response) (*CreateSandboxPreviewTokenResponse, error)

ParseCreateSandboxPreviewTokenResponse parses an HTTP response from a CreateSandboxPreviewTokenWithResponse call

func (CreateSandboxPreviewTokenResponse) Status

Status returns HTTPResponse.Status

func (CreateSandboxPreviewTokenResponse) StatusCode

func (r CreateSandboxPreviewTokenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateSandboxResponse

type CreateSandboxResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Sandbox
}

func ParseCreateSandboxResponse

func ParseCreateSandboxResponse(rsp *http.Response) (*CreateSandboxResponse, error)

ParseCreateSandboxResponse parses an HTTP response from a CreateSandboxWithResponse call

func (CreateSandboxResponse) Status

func (r CreateSandboxResponse) Status() string

Status returns HTTPResponse.Status

func (CreateSandboxResponse) StatusCode

func (r CreateSandboxResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateVolumeJSONRequestBody added in v0.1.39

type CreateVolumeJSONRequestBody = Volume

CreateVolumeJSONRequestBody defines body for CreateVolume for application/json ContentType.

type CreateVolumeResponse added in v0.1.39

type CreateVolumeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Volume
}

func ParseCreateVolumeResponse added in v0.1.39

func ParseCreateVolumeResponse(rsp *http.Response) (*CreateVolumeResponse, error)

ParseCreateVolumeResponse parses an HTTP response from a CreateVolumeWithResponse call

func (CreateVolumeResponse) Status added in v0.1.39

func (r CreateVolumeResponse) Status() string

Status returns HTTPResponse.Status

func (CreateVolumeResponse) StatusCode added in v0.1.39

func (r CreateVolumeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateWorkspaceServiceAccountJSONBody

type CreateWorkspaceServiceAccountJSONBody struct {
	// Description Service account description
	Description *string `json:"description,omitempty"`

	// Name Service account name
	Name string `json:"name"`
}

CreateWorkspaceServiceAccountJSONBody defines parameters for CreateWorkspaceServiceAccount.

type CreateWorkspaceServiceAccountJSONRequestBody

type CreateWorkspaceServiceAccountJSONRequestBody CreateWorkspaceServiceAccountJSONBody

CreateWorkspaceServiceAccountJSONRequestBody defines body for CreateWorkspaceServiceAccount for application/json ContentType.

type CreateWorkspaceServiceAccountResponse

type CreateWorkspaceServiceAccountResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// ClientId Service account client ID
		ClientId *string `json:"client_id,omitempty"`

		// ClientSecret Service account client secret (only returned on creation)
		ClientSecret *string `json:"client_secret,omitempty"`

		// CreatedAt Creation timestamp
		CreatedAt *string `json:"created_at,omitempty"`

		// Description Service account description
		Description *string `json:"description,omitempty"`

		// Name Service account name
		Name *string `json:"name,omitempty"`

		// UpdatedAt Last update timestamp
		UpdatedAt *string `json:"updated_at,omitempty"`
	}
}

func ParseCreateWorkspaceServiceAccountResponse

func ParseCreateWorkspaceServiceAccountResponse(rsp *http.Response) (*CreateWorkspaceServiceAccountResponse, error)

ParseCreateWorkspaceServiceAccountResponse parses an HTTP response from a CreateWorkspaceServiceAccountWithResponse call

func (CreateWorkspaceServiceAccountResponse) Status

Status returns HTTPResponse.Status

func (CreateWorkspaceServiceAccountResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateWorspaceJSONRequestBody

type CreateWorspaceJSONRequestBody = Workspace

CreateWorspaceJSONRequestBody defines body for CreateWorspace for application/json ContentType.

type CreateWorspaceResponse

type CreateWorspaceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Workspace
}

func ParseCreateWorspaceResponse

func ParseCreateWorspaceResponse(rsp *http.Response) (*CreateWorspaceResponse, error)

ParseCreateWorspaceResponse parses an HTTP response from a CreateWorspaceWithResponse call

func (CreateWorspaceResponse) Status

func (r CreateWorspaceResponse) Status() string

Status returns HTTPResponse.Status

func (CreateWorspaceResponse) StatusCode

func (r CreateWorspaceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Credentials

type Credentials struct {
	APIKey            string `yaml:"apiKey"`
	AccessToken       string `yaml:"access_token"`
	RefreshToken      string `yaml:"refresh_token"`
	ExpiresIn         int    `yaml:"expires_in"`
	DeviceCode        string `yaml:"device_code"`
	ClientCredentials string `yaml:"client_credentials"`
}

func LoadCredentials

func LoadCredentials(workspaceName string) Credentials

func (Credentials) IsValid

func (c Credentials) IsValid() bool

type CustomDomain added in v0.1.39

type CustomDomain struct {
	// Metadata Custom domain metadata
	Metadata *CustomDomainMetadata `json:"metadata,omitempty"`

	// Spec Custom domain specification
	Spec *CustomDomainSpec `json:"spec,omitempty"`
}

CustomDomain Custom domain for preview deployments The custom domain represents a base domain (e.g., example.com) that will be used to serve preview deployments. Each preview will be accessible at a subdomain: <preview-id>.preview.<base-domain> (e.g., abc123.preview.example.com)

type CustomDomainMetadata added in v0.1.39

type CustomDomainMetadata struct {
	// CreatedAt The date and time when the resource was created
	CreatedAt *string `json:"createdAt,omitempty"`

	// CreatedBy The user or service account who created the resource
	CreatedBy *string `json:"createdBy,omitempty"`

	// DisplayName Display name for the custom domain
	DisplayName *string `json:"displayName,omitempty"`

	// Labels Labels
	Labels *MetadataLabels `json:"labels,omitempty"`

	// Name Domain name (e.g., "example.com")
	Name *string `json:"name,omitempty"`

	// UpdatedAt The date and time when the resource was updated
	UpdatedAt *string `json:"updatedAt,omitempty"`

	// UpdatedBy The user or service account who updated the resource
	UpdatedBy *string `json:"updatedBy,omitempty"`

	// Workspace Workspace name
	Workspace *string `json:"workspace,omitempty"`
}

CustomDomainMetadata defines model for CustomDomainMetadata.

type CustomDomainSpec added in v0.1.39

type CustomDomainSpec struct {
	// CnameRecords CNAME target for the domain
	CnameRecords *string `json:"cnameRecords,omitempty"`

	// LastVerifiedAt Last verification attempt timestamp
	LastVerifiedAt *string `json:"lastVerifiedAt,omitempty"`

	// Status Current status of the domain (pending, verified, failed)
	Status *string `json:"status,omitempty"`

	// TxtRecords Map of TXT record names to values for domain verification
	TxtRecords *map[string]string `json:"txtRecords,omitempty"`

	// VerificationError Error message if verification failed
	VerificationError *string `json:"verificationError,omitempty"`
}

CustomDomainSpec Custom domain specification

type DeclineWorkspaceInvitationResponse

type DeclineWorkspaceInvitationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PendingInvitation
}

func ParseDeclineWorkspaceInvitationResponse

func ParseDeclineWorkspaceInvitationResponse(rsp *http.Response) (*DeclineWorkspaceInvitationResponse, error)

ParseDeclineWorkspaceInvitationResponse parses an HTTP response from a DeclineWorkspaceInvitationWithResponse call

func (DeclineWorkspaceInvitationResponse) Status

Status returns HTTPResponse.Status

func (DeclineWorkspaceInvitationResponse) StatusCode

func (r DeclineWorkspaceInvitationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteAgentResponse

type DeleteAgentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Agent
}

func ParseDeleteAgentResponse

func ParseDeleteAgentResponse(rsp *http.Response) (*DeleteAgentResponse, error)

ParseDeleteAgentResponse parses an HTTP response from a DeleteAgentWithResponse call

func (DeleteAgentResponse) Status

func (r DeleteAgentResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteAgentResponse) StatusCode

func (r DeleteAgentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteApiKeyForServiceAccountResponse

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

func ParseDeleteApiKeyForServiceAccountResponse

func ParseDeleteApiKeyForServiceAccountResponse(rsp *http.Response) (*DeleteApiKeyForServiceAccountResponse, error)

ParseDeleteApiKeyForServiceAccountResponse parses an HTTP response from a DeleteApiKeyForServiceAccountWithResponse call

func (DeleteApiKeyForServiceAccountResponse) Status

Status returns HTTPResponse.Status

func (DeleteApiKeyForServiceAccountResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteCustomDomainResponse added in v0.1.39

type DeleteCustomDomainResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CustomDomain
}

func ParseDeleteCustomDomainResponse added in v0.1.39

func ParseDeleteCustomDomainResponse(rsp *http.Response) (*DeleteCustomDomainResponse, error)

ParseDeleteCustomDomainResponse parses an HTTP response from a DeleteCustomDomainWithResponse call

func (DeleteCustomDomainResponse) Status added in v0.1.39

Status returns HTTPResponse.Status

func (DeleteCustomDomainResponse) StatusCode added in v0.1.39

func (r DeleteCustomDomainResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteFunctionResponse

type DeleteFunctionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Function
}

func ParseDeleteFunctionResponse

func ParseDeleteFunctionResponse(rsp *http.Response) (*DeleteFunctionResponse, error)

ParseDeleteFunctionResponse parses an HTTP response from a DeleteFunctionWithResponse call

func (DeleteFunctionResponse) Status

func (r DeleteFunctionResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteFunctionResponse) StatusCode

func (r DeleteFunctionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteIntegrationConnectionResponse

type DeleteIntegrationConnectionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IntegrationConnection
}

func ParseDeleteIntegrationConnectionResponse

func ParseDeleteIntegrationConnectionResponse(rsp *http.Response) (*DeleteIntegrationConnectionResponse, error)

ParseDeleteIntegrationConnectionResponse parses an HTTP response from a DeleteIntegrationConnectionWithResponse call

func (DeleteIntegrationConnectionResponse) Status

Status returns HTTPResponse.Status

func (DeleteIntegrationConnectionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteJobResponse added in v0.1.15

type DeleteJobResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Job
}

func ParseDeleteJobResponse added in v0.1.15

func ParseDeleteJobResponse(rsp *http.Response) (*DeleteJobResponse, error)

ParseDeleteJobResponse parses an HTTP response from a DeleteJobWithResponse call

func (DeleteJobResponse) Status added in v0.1.15

func (r DeleteJobResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteJobResponse) StatusCode added in v0.1.15

func (r DeleteJobResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteModelResponse

type DeleteModelResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Model
}

func ParseDeleteModelResponse

func ParseDeleteModelResponse(rsp *http.Response) (*DeleteModelResponse, error)

ParseDeleteModelResponse parses an HTTP response from a DeleteModelWithResponse call

func (DeleteModelResponse) Status

func (r DeleteModelResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteModelResponse) StatusCode

func (r DeleteModelResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeletePolicyResponse

type DeletePolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Policy
}

func ParseDeletePolicyResponse

func ParseDeletePolicyResponse(rsp *http.Response) (*DeletePolicyResponse, error)

ParseDeletePolicyResponse parses an HTTP response from a DeletePolicyWithResponse call

func (DeletePolicyResponse) Status

func (r DeletePolicyResponse) Status() string

Status returns HTTPResponse.Status

func (DeletePolicyResponse) StatusCode

func (r DeletePolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeletePrivateClusterResponse

type DeletePrivateClusterResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PrivateCluster
}

func ParseDeletePrivateClusterResponse

func ParseDeletePrivateClusterResponse(rsp *http.Response) (*DeletePrivateClusterResponse, error)

ParseDeletePrivateClusterResponse parses an HTTP response from a DeletePrivateClusterWithResponse call

func (DeletePrivateClusterResponse) Status

Status returns HTTPResponse.Status

func (DeletePrivateClusterResponse) StatusCode

func (r DeletePrivateClusterResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteSandboxPreviewResponse

type DeleteSandboxPreviewResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Preview
}

func ParseDeleteSandboxPreviewResponse

func ParseDeleteSandboxPreviewResponse(rsp *http.Response) (*DeleteSandboxPreviewResponse, error)

ParseDeleteSandboxPreviewResponse parses an HTTP response from a DeleteSandboxPreviewWithResponse call

func (DeleteSandboxPreviewResponse) Status

Status returns HTTPResponse.Status

func (DeleteSandboxPreviewResponse) StatusCode

func (r DeleteSandboxPreviewResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteSandboxPreviewTokenResponse

type DeleteSandboxPreviewTokenResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// Message Success message
		Message *string `json:"message,omitempty"`
	}
}

func ParseDeleteSandboxPreviewTokenResponse

func ParseDeleteSandboxPreviewTokenResponse(rsp *http.Response) (*DeleteSandboxPreviewTokenResponse, error)

ParseDeleteSandboxPreviewTokenResponse parses an HTTP response from a DeleteSandboxPreviewTokenWithResponse call

func (DeleteSandboxPreviewTokenResponse) Status

Status returns HTTPResponse.Status

func (DeleteSandboxPreviewTokenResponse) StatusCode

func (r DeleteSandboxPreviewTokenResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteSandboxResponse

type DeleteSandboxResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Sandbox
}

func ParseDeleteSandboxResponse

func ParseDeleteSandboxResponse(rsp *http.Response) (*DeleteSandboxResponse, error)

ParseDeleteSandboxResponse parses an HTTP response from a DeleteSandboxWithResponse call

func (DeleteSandboxResponse) Status

func (r DeleteSandboxResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteSandboxResponse) StatusCode

func (r DeleteSandboxResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteVolumeResponse added in v0.1.39

type DeleteVolumeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Volume
}

func ParseDeleteVolumeResponse added in v0.1.39

func ParseDeleteVolumeResponse(rsp *http.Response) (*DeleteVolumeResponse, error)

ParseDeleteVolumeResponse parses an HTTP response from a DeleteVolumeWithResponse call

func (DeleteVolumeResponse) Status added in v0.1.39

func (r DeleteVolumeResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteVolumeResponse) StatusCode added in v0.1.39

func (r DeleteVolumeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteWorkspaceResponse

type DeleteWorkspaceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Workspace
}

func ParseDeleteWorkspaceResponse

func ParseDeleteWorkspaceResponse(rsp *http.Response) (*DeleteWorkspaceResponse, error)

ParseDeleteWorkspaceResponse parses an HTTP response from a DeleteWorkspaceWithResponse call

func (DeleteWorkspaceResponse) Status

func (r DeleteWorkspaceResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteWorkspaceResponse) StatusCode

func (r DeleteWorkspaceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteWorkspaceServiceAccountResponse

type DeleteWorkspaceServiceAccountResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// ClientId Service account client ID
		ClientId *string `json:"client_id,omitempty"`

		// CreatedAt Creation timestamp
		CreatedAt *string `json:"created_at,omitempty"`

		// Description Service account description
		Description *string `json:"description,omitempty"`

		// Name Service account name
		Name *string `json:"name,omitempty"`

		// UpdatedAt Last update timestamp
		UpdatedAt *string `json:"updated_at,omitempty"`
	}
}

func ParseDeleteWorkspaceServiceAccountResponse

func ParseDeleteWorkspaceServiceAccountResponse(rsp *http.Response) (*DeleteWorkspaceServiceAccountResponse, error)

ParseDeleteWorkspaceServiceAccountResponse parses an HTTP response from a DeleteWorkspaceServiceAccountWithResponse call

func (DeleteWorkspaceServiceAccountResponse) Status

Status returns HTTPResponse.Status

func (DeleteWorkspaceServiceAccountResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeviceLogin

type DeviceLogin struct {
	ClientID string `json:"client_id"`
	Scope    string `json:"scope"`
}

type DeviceLoginFinalizeRequest

type DeviceLoginFinalizeRequest struct {
	GrantType  string `json:"grant_type"`
	ClientID   string `json:"client_id"`
	DeviceCode string `json:"device_code"`
}

type DeviceLoginFinalizeResponse

type DeviceLoginFinalizeResponse struct {
	AccessToken  string `json:"access_token"`
	ExpiresIn    int    `json:"expires_in"`
	RefreshToken string `json:"refresh_token"`
	TokenType    string `json:"token_type"`
}

type DeviceLoginResponse

type DeviceLoginResponse struct {
	ClientID                string `json:"client_id"`
	DeviceCode              string `json:"device_code"`
	UserCode                string `json:"user_code"`
	ExpiresIn               int    `json:"expires_in"`
	Interval                int    `json:"interval"`
	VerificationURI         string `json:"verification_uri"`
	VerificationURIComplete string `json:"verification_uri_complete"`
}

type Flavor

type Flavor struct {
	// Name Flavor name (e.g. t4)
	Name *string `json:"name,omitempty"`

	// Type Flavor type (e.g. cpu, gpu)
	Type *string `json:"type,omitempty"`
}

Flavor A type of hardware available for deployments

type Flavors

type Flavors = []Flavor

Flavors Types of hardware available for deployments

type Function

type Function struct {
	// Events Core events
	Events *CoreEvents `json:"events,omitempty"`

	// Metadata Metadata
	Metadata *Metadata `json:"metadata,omitempty"`

	// Spec Function specification
	Spec *FunctionSpec `json:"spec,omitempty"`

	// Status Function status
	Status *string `json:"status,omitempty"`
}

Function Function

type FunctionSchema

type FunctionSchema struct {
	// AllOf List of schemas that this schema extends
	AllOf *[]interface{} `json:"allOf,omitempty"`

	// AnyOf List of possible schemas, any of which this schema could be
	AnyOf *[]interface{} `json:"anyOf,omitempty"`

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

	// Enum Enum values
	Enum *[]string `json:"enum,omitempty"`

	// Format Format of the schema
	Format *string `json:"format,omitempty"`

	// Items Function schema
	Items *FunctionSchema `json:"items,omitempty"`

	// MaxLength Maximum length for string types
	MaxLength *float32 `json:"maxLength,omitempty"`

	// Maximum Maximum value for number types
	Maximum *float32 `json:"maximum,omitempty"`

	// MinLength Minimum length for string types
	MinLength *float32 `json:"minLength,omitempty"`

	// Minimum Minimum value for number types
	Minimum *float32 `json:"minimum,omitempty"`

	// Not Schema that this schema must not be
	Not *map[string]interface{} `json:"not,omitempty"`

	// OneOf List of schemas, one of which this schema must be
	OneOf *[]interface{} `json:"oneOf,omitempty"`

	// Pattern Pattern for string types
	Pattern *string `json:"pattern,omitempty"`

	// Properties Properties of the schema
	Properties *map[string]FunctionSchema `json:"properties,omitempty"`

	// Required Required properties of the schema
	Required *[]string `json:"required,omitempty"`

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

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

FunctionSchema Function schema

type FunctionSpec

type FunctionSpec struct {
	// Configurations Optional configurations for the object
	Configurations *struct {
		// Key Configuration, this is a key value storage. In your object you can retrieve the value with config[key]
		Key *SpecConfiguration `json:"key,omitempty"`
	} `json:"configurations,omitempty"`

	// Description Function description, very important for the agent function to work with an LLM
	Description *string `json:"description,omitempty"`

	// Enabled Enable or disable the resource
	Enabled *bool `json:"enabled,omitempty"`

	// Flavors Types of hardware available for deployments
	Flavors                *Flavors                    `json:"flavors,omitempty"`
	IntegrationConnections *IntegrationConnectionsList `json:"integrationConnections,omitempty"`
	Policies               *PoliciesList               `json:"policies,omitempty"`

	// PrivateClusters Private cluster where the model deployment is deployed
	PrivateClusters *ModelPrivateCluster `json:"privateClusters,omitempty"`

	// Revision Revision configuration
	Revision *RevisionConfiguration `json:"revision,omitempty"`

	// Runtime Set of configurations for a deployment
	Runtime *Runtime `json:"runtime,omitempty"`

	// Sandbox Sandbox mode
	Sandbox *bool `json:"sandbox,omitempty"`

	// Schema Function schema
	Schema *FunctionSchema `json:"schema,omitempty"`

	// Triggers Triggers to use your agent
	Triggers *Triggers `json:"triggers,omitempty"`
}

FunctionSpec defines model for FunctionSpec.

type GetAgentResponse

type GetAgentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Agent
}

func ParseGetAgentResponse

func ParseGetAgentResponse(rsp *http.Response) (*GetAgentResponse, error)

ParseGetAgentResponse parses an HTTP response from a GetAgentWithResponse call

func (GetAgentResponse) Status

func (r GetAgentResponse) Status() string

Status returns HTTPResponse.Status

func (GetAgentResponse) StatusCode

func (r GetAgentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetConfigurationResponse

type GetConfigurationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Configuration
}

func ParseGetConfigurationResponse

func ParseGetConfigurationResponse(rsp *http.Response) (*GetConfigurationResponse, error)

ParseGetConfigurationResponse parses an HTTP response from a GetConfigurationWithResponse call

func (GetConfigurationResponse) Status

func (r GetConfigurationResponse) Status() string

Status returns HTTPResponse.Status

func (GetConfigurationResponse) StatusCode

func (r GetConfigurationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetCustomDomainResponse added in v0.1.39

type GetCustomDomainResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CustomDomain
}

func ParseGetCustomDomainResponse added in v0.1.39

func ParseGetCustomDomainResponse(rsp *http.Response) (*GetCustomDomainResponse, error)

ParseGetCustomDomainResponse parses an HTTP response from a GetCustomDomainWithResponse call

func (GetCustomDomainResponse) Status added in v0.1.39

func (r GetCustomDomainResponse) Status() string

Status returns HTTPResponse.Status

func (GetCustomDomainResponse) StatusCode added in v0.1.39

func (r GetCustomDomainResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetFunctionResponse

type GetFunctionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Function
}

func ParseGetFunctionResponse

func ParseGetFunctionResponse(rsp *http.Response) (*GetFunctionResponse, error)

ParseGetFunctionResponse parses an HTTP response from a GetFunctionWithResponse call

func (GetFunctionResponse) Status

func (r GetFunctionResponse) Status() string

Status returns HTTPResponse.Status

func (GetFunctionResponse) StatusCode

func (r GetFunctionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetIntegrationConnectionModelEndpointConfigurationsResponse

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

func ParseGetIntegrationConnectionModelEndpointConfigurationsResponse

func ParseGetIntegrationConnectionModelEndpointConfigurationsResponse(rsp *http.Response) (*GetIntegrationConnectionModelEndpointConfigurationsResponse, error)

ParseGetIntegrationConnectionModelEndpointConfigurationsResponse parses an HTTP response from a GetIntegrationConnectionModelEndpointConfigurationsWithResponse call

func (GetIntegrationConnectionModelEndpointConfigurationsResponse) Status

Status returns HTTPResponse.Status

func (GetIntegrationConnectionModelEndpointConfigurationsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetIntegrationConnectionModelResponse

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

func ParseGetIntegrationConnectionModelResponse

func ParseGetIntegrationConnectionModelResponse(rsp *http.Response) (*GetIntegrationConnectionModelResponse, error)

ParseGetIntegrationConnectionModelResponse parses an HTTP response from a GetIntegrationConnectionModelWithResponse call

func (GetIntegrationConnectionModelResponse) Status

Status returns HTTPResponse.Status

func (GetIntegrationConnectionModelResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetIntegrationConnectionResponse

type GetIntegrationConnectionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IntegrationConnection
}

func ParseGetIntegrationConnectionResponse

func ParseGetIntegrationConnectionResponse(rsp *http.Response) (*GetIntegrationConnectionResponse, error)

ParseGetIntegrationConnectionResponse parses an HTTP response from a GetIntegrationConnectionWithResponse call

func (GetIntegrationConnectionResponse) Status

Status returns HTTPResponse.Status

func (GetIntegrationConnectionResponse) StatusCode

func (r GetIntegrationConnectionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetIntegrationResponse

type GetIntegrationResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Integration
}

func ParseGetIntegrationResponse

func ParseGetIntegrationResponse(rsp *http.Response) (*GetIntegrationResponse, error)

ParseGetIntegrationResponse parses an HTTP response from a GetIntegrationWithResponse call

func (GetIntegrationResponse) Status

func (r GetIntegrationResponse) Status() string

Status returns HTTPResponse.Status

func (GetIntegrationResponse) StatusCode

func (r GetIntegrationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetJobResponse added in v0.1.15

type GetJobResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Model
}

func ParseGetJobResponse added in v0.1.15

func ParseGetJobResponse(rsp *http.Response) (*GetJobResponse, error)

ParseGetJobResponse parses an HTTP response from a GetJobWithResponse call

func (GetJobResponse) Status added in v0.1.15

func (r GetJobResponse) Status() string

Status returns HTTPResponse.Status

func (GetJobResponse) StatusCode added in v0.1.15

func (r GetJobResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetModelResponse

type GetModelResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Model
}

func ParseGetModelResponse

func ParseGetModelResponse(rsp *http.Response) (*GetModelResponse, error)

ParseGetModelResponse parses an HTTP response from a GetModelWithResponse call

func (GetModelResponse) Status

func (r GetModelResponse) Status() string

Status returns HTTPResponse.Status

func (GetModelResponse) StatusCode

func (r GetModelResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPolicyResponse

type GetPolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Policy
}

func ParseGetPolicyResponse

func ParseGetPolicyResponse(rsp *http.Response) (*GetPolicyResponse, error)

ParseGetPolicyResponse parses an HTTP response from a GetPolicyWithResponse call

func (GetPolicyResponse) Status

func (r GetPolicyResponse) Status() string

Status returns HTTPResponse.Status

func (GetPolicyResponse) StatusCode

func (r GetPolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPrivateClusterHealthResponse

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

func ParseGetPrivateClusterHealthResponse

func ParseGetPrivateClusterHealthResponse(rsp *http.Response) (*GetPrivateClusterHealthResponse, error)

ParseGetPrivateClusterHealthResponse parses an HTTP response from a GetPrivateClusterHealthWithResponse call

func (GetPrivateClusterHealthResponse) Status

Status returns HTTPResponse.Status

func (GetPrivateClusterHealthResponse) StatusCode

func (r GetPrivateClusterHealthResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPrivateClusterResponse

type GetPrivateClusterResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PrivateCluster
}

func ParseGetPrivateClusterResponse

func ParseGetPrivateClusterResponse(rsp *http.Response) (*GetPrivateClusterResponse, error)

ParseGetPrivateClusterResponse parses an HTTP response from a GetPrivateClusterWithResponse call

func (GetPrivateClusterResponse) Status

func (r GetPrivateClusterResponse) Status() string

Status returns HTTPResponse.Status

func (GetPrivateClusterResponse) StatusCode

func (r GetPrivateClusterResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSandboxPreviewResponse

type GetSandboxPreviewResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Preview
}

func ParseGetSandboxPreviewResponse

func ParseGetSandboxPreviewResponse(rsp *http.Response) (*GetSandboxPreviewResponse, error)

ParseGetSandboxPreviewResponse parses an HTTP response from a GetSandboxPreviewWithResponse call

func (GetSandboxPreviewResponse) Status

func (r GetSandboxPreviewResponse) Status() string

Status returns HTTPResponse.Status

func (GetSandboxPreviewResponse) StatusCode

func (r GetSandboxPreviewResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetSandboxResponse

type GetSandboxResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Sandbox
}

func ParseGetSandboxResponse

func ParseGetSandboxResponse(rsp *http.Response) (*GetSandboxResponse, error)

ParseGetSandboxResponse parses an HTTP response from a GetSandboxWithResponse call

func (GetSandboxResponse) Status

func (r GetSandboxResponse) Status() string

Status returns HTTPResponse.Status

func (GetSandboxResponse) StatusCode

func (r GetSandboxResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTemplateResponse

type GetTemplateResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Template
}

func ParseGetTemplateResponse

func ParseGetTemplateResponse(rsp *http.Response) (*GetTemplateResponse, error)

ParseGetTemplateResponse parses an HTTP response from a GetTemplateWithResponse call

func (GetTemplateResponse) Status

func (r GetTemplateResponse) Status() string

Status returns HTTPResponse.Status

func (GetTemplateResponse) StatusCode

func (r GetTemplateResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetVolumeResponse added in v0.1.39

type GetVolumeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Volume
}

func ParseGetVolumeResponse added in v0.1.39

func ParseGetVolumeResponse(rsp *http.Response) (*GetVolumeResponse, error)

ParseGetVolumeResponse parses an HTTP response from a GetVolumeWithResponse call

func (GetVolumeResponse) Status added in v0.1.39

func (r GetVolumeResponse) Status() string

Status returns HTTPResponse.Status

func (GetVolumeResponse) StatusCode added in v0.1.39

func (r GetVolumeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWorkspaceResponse

type GetWorkspaceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Workspace
}

func ParseGetWorkspaceResponse

func ParseGetWorkspaceResponse(rsp *http.Response) (*GetWorkspaceResponse, error)

ParseGetWorkspaceResponse parses an HTTP response from a GetWorkspaceWithResponse call

func (GetWorkspaceResponse) Status

func (r GetWorkspaceResponse) Status() string

Status returns HTTPResponse.Status

func (GetWorkspaceResponse) StatusCode

func (r GetWorkspaceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWorkspaceServiceAccountsResponse

type GetWorkspaceServiceAccountsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]struct {
		// ClientId Service account client ID
		ClientId *string `json:"client_id,omitempty"`

		// CreatedAt Creation timestamp
		CreatedAt *string `json:"created_at,omitempty"`

		// Description Service account description
		Description *string `json:"description,omitempty"`

		// Name Service account name
		Name *string `json:"name,omitempty"`

		// UpdatedAt Last update timestamp
		UpdatedAt *string `json:"updated_at,omitempty"`
	}
}

func ParseGetWorkspaceServiceAccountsResponse

func ParseGetWorkspaceServiceAccountsResponse(rsp *http.Response) (*GetWorkspaceServiceAccountsResponse, error)

ParseGetWorkspaceServiceAccountsResponse parses an HTTP response from a GetWorkspaceServiceAccountsWithResponse call

func (GetWorkspaceServiceAccountsResponse) Status

Status returns HTTPResponse.Status

func (GetWorkspaceServiceAccountsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type HttpRequestDoer

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

Doer performs HTTP requests.

The standard http.Client implements this interface.

type Integration

type Integration struct {
	// AdditionalInfos Integration additional infos
	AdditionalInfos *map[string]string `json:"additionalInfos,omitempty"`

	// Endpoints Integration endpoints
	Endpoints *IntegrationEndpoints `json:"endpoints,omitempty"`

	// Headers Integration headers
	Headers *IntegrationHeaders `json:"headers,omitempty"`

	// Name Integration name
	Name *string `json:"name,omitempty"`

	// Organizations Integration organizations
	Organizations *[]IntegrationOrganization `json:"organizations,omitempty"`

	// Params Integration query params
	Params *IntegrationQueryParams `json:"params,omitempty"`

	// Repositories Integration repositories
	Repositories *[]IntegrationRepository `json:"repositories,omitempty"`
}

Integration Integration

type IntegrationConnection

type IntegrationConnection struct {
	// Metadata Metadata
	Metadata *Metadata `json:"metadata,omitempty"`

	// Spec Integration connection specification
	Spec *IntegrationConnectionSpec `json:"spec,omitempty"`
}

IntegrationConnection Integration Connection

type IntegrationConnectionSpec

type IntegrationConnectionSpec struct {
	// Config Additional configuration for the integration
	Config *map[string]string `json:"config,omitempty"`

	// Integration Integration type
	Integration *string `json:"integration,omitempty"`

	// Sandbox Sandbox mode
	Sandbox *bool `json:"sandbox,omitempty"`

	// Secret Integration secret
	Secret *map[string]string `json:"secret,omitempty"`
}

IntegrationConnectionSpec Integration connection specification

type IntegrationConnectionsList

type IntegrationConnectionsList = []string

IntegrationConnectionsList defines model for IntegrationConnectionsList.

type IntegrationEndpoint

type IntegrationEndpoint struct {
	// Body Integration endpoint body
	Body *string `json:"body,omitempty"`

	// IgnoreModels Integration endpoint ignore models
	IgnoreModels *[]interface{} `json:"ignoreModels,omitempty"`

	// Method Integration endpoint method
	Method *string `json:"method,omitempty"`

	// Models Integration endpoint models
	Models *[]interface{} `json:"models,omitempty"`

	// StreamKey Integration endpoint stream key
	StreamKey *string `json:"streamKey,omitempty"`

	// StreamToken Integration endpoint token
	StreamToken *IntegrationEndpointToken `json:"streamToken,omitempty"`

	// Token Integration endpoint token
	Token *IntegrationEndpointToken `json:"token,omitempty"`
}

IntegrationEndpoint Integration endpoint

type IntegrationEndpointToken

type IntegrationEndpointToken struct {
	// Received Integration endpoint token received
	Received *string `json:"received,omitempty"`

	// Sent Integration endpoint token sent
	Sent *string `json:"sent,omitempty"`

	// Total Integration endpoint token total
	Total *string `json:"total,omitempty"`
}

IntegrationEndpointToken Integration endpoint token

type IntegrationEndpoints

type IntegrationEndpoints map[string]IntegrationEndpoint

IntegrationEndpoints Integration endpoints

type IntegrationHeaders

type IntegrationHeaders map[string]string

IntegrationHeaders Integration headers

type IntegrationOrganization

type IntegrationOrganization struct {
	// AvatarUrl Provider organization avatar URL
	AvatarUrl *string `json:"avatar_url,omitempty"`

	// DisplayName Provider organization display name
	DisplayName *string `json:"displayName,omitempty"`

	// Id Provider organization ID
	Id *string `json:"id,omitempty"`

	// Name Provider organization name
	Name *string `json:"name,omitempty"`
}

IntegrationOrganization Integration organization

type IntegrationQueryParams

type IntegrationQueryParams map[string]string

IntegrationQueryParams Integration query params

type IntegrationRepository

type IntegrationRepository struct {
	// Id Repository ID
	Id *string `json:"id,omitempty"`

	// IsBl Whether the repository has Blaxel imports
	IsBl *bool `json:"isBl,omitempty"`

	// Name Repository name
	Name *string `json:"name,omitempty"`

	// Organization Repository owner
	Organization *string `json:"organization,omitempty"`

	// Url Repository URL
	Url *string `json:"url,omitempty"`
}

IntegrationRepository Integration repository

type InviteWorkspaceUserJSONBody

type InviteWorkspaceUserJSONBody struct {
	Email *openapi_types.Email `json:"email,omitempty"`
}

InviteWorkspaceUserJSONBody defines parameters for InviteWorkspaceUser.

type InviteWorkspaceUserJSONRequestBody

type InviteWorkspaceUserJSONRequestBody InviteWorkspaceUserJSONBody

InviteWorkspaceUserJSONRequestBody defines body for InviteWorkspaceUser for application/json ContentType.

type InviteWorkspaceUserResponse

type InviteWorkspaceUserResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PendingInvitation
}

func ParseInviteWorkspaceUserResponse

func ParseInviteWorkspaceUserResponse(rsp *http.Response) (*InviteWorkspaceUserResponse, error)

ParseInviteWorkspaceUserResponse parses an HTTP response from a InviteWorkspaceUserWithResponse call

func (InviteWorkspaceUserResponse) Status

Status returns HTTPResponse.Status

func (InviteWorkspaceUserResponse) StatusCode

func (r InviteWorkspaceUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Job added in v0.1.15

type Job struct {
	// Events Core events
	Events *CoreEvents `json:"events,omitempty"`

	// Metadata Metadata
	Metadata *Metadata `json:"metadata,omitempty"`

	// Spec Job specification
	Spec *JobSpec `json:"spec,omitempty"`

	// Status Job status
	Status *string `json:"status,omitempty"`
}

Job Job

type JobSpec added in v0.1.15

type JobSpec struct {
	// Configurations Optional configurations for the object
	Configurations *struct {
		// Key Configuration, this is a key value storage. In your object you can retrieve the value with config[key]
		Key *SpecConfiguration `json:"key,omitempty"`
	} `json:"configurations,omitempty"`

	// Enabled Enable or disable the resource
	Enabled *bool `json:"enabled,omitempty"`

	// Flavors Types of hardware available for deployments
	Flavors                *Flavors                    `json:"flavors,omitempty"`
	IntegrationConnections *IntegrationConnectionsList `json:"integrationConnections,omitempty"`
	Policies               *PoliciesList               `json:"policies,omitempty"`

	// PrivateClusters Private cluster where the model deployment is deployed
	PrivateClusters *ModelPrivateCluster `json:"privateClusters,omitempty"`

	// Revision Revision configuration
	Revision *RevisionConfiguration `json:"revision,omitempty"`

	// Runtime Set of configurations for a deployment
	Runtime *Runtime `json:"runtime,omitempty"`

	// Sandbox Sandbox mode
	Sandbox *bool `json:"sandbox,omitempty"`

	// Triggers Triggers to use your agent
	Triggers *Triggers `json:"triggers,omitempty"`
}

JobSpec defines model for JobSpec.

type LeaveWorkspaceResponse

type LeaveWorkspaceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Workspace
}

func ParseLeaveWorkspaceResponse

func ParseLeaveWorkspaceResponse(rsp *http.Response) (*LeaveWorkspaceResponse, error)

ParseLeaveWorkspaceResponse parses an HTTP response from a LeaveWorkspaceWithResponse call

func (LeaveWorkspaceResponse) Status

func (r LeaveWorkspaceResponse) Status() string

Status returns HTTPResponse.Status

func (LeaveWorkspaceResponse) StatusCode

func (r LeaveWorkspaceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListAgentRevisionsResponse

type ListAgentRevisionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]RevisionMetadata
}

func ParseListAgentRevisionsResponse

func ParseListAgentRevisionsResponse(rsp *http.Response) (*ListAgentRevisionsResponse, error)

ParseListAgentRevisionsResponse parses an HTTP response from a ListAgentRevisionsWithResponse call

func (ListAgentRevisionsResponse) Status

Status returns HTTPResponse.Status

func (ListAgentRevisionsResponse) StatusCode

func (r ListAgentRevisionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListAgentsResponse

type ListAgentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Agent
}

func ParseListAgentsResponse

func ParseListAgentsResponse(rsp *http.Response) (*ListAgentsResponse, error)

ParseListAgentsResponse parses an HTTP response from a ListAgentsWithResponse call

func (ListAgentsResponse) Status

func (r ListAgentsResponse) Status() string

Status returns HTTPResponse.Status

func (ListAgentsResponse) StatusCode

func (r ListAgentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListAllPendingInvitationsResponse

type ListAllPendingInvitationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]PendingInvitationRender
}

func ParseListAllPendingInvitationsResponse

func ParseListAllPendingInvitationsResponse(rsp *http.Response) (*ListAllPendingInvitationsResponse, error)

ParseListAllPendingInvitationsResponse parses an HTTP response from a ListAllPendingInvitationsWithResponse call

func (ListAllPendingInvitationsResponse) Status

Status returns HTTPResponse.Status

func (ListAllPendingInvitationsResponse) StatusCode

func (r ListAllPendingInvitationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListApiKeysForServiceAccountResponse

type ListApiKeysForServiceAccountResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]ApiKey
}

func ParseListApiKeysForServiceAccountResponse

func ParseListApiKeysForServiceAccountResponse(rsp *http.Response) (*ListApiKeysForServiceAccountResponse, error)

ParseListApiKeysForServiceAccountResponse parses an HTTP response from a ListApiKeysForServiceAccountWithResponse call

func (ListApiKeysForServiceAccountResponse) Status

Status returns HTTPResponse.Status

func (ListApiKeysForServiceAccountResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListCustomDomainsResponse added in v0.1.39

type ListCustomDomainsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]CustomDomain
}

func ParseListCustomDomainsResponse added in v0.1.39

func ParseListCustomDomainsResponse(rsp *http.Response) (*ListCustomDomainsResponse, error)

ParseListCustomDomainsResponse parses an HTTP response from a ListCustomDomainsWithResponse call

func (ListCustomDomainsResponse) Status added in v0.1.39

func (r ListCustomDomainsResponse) Status() string

Status returns HTTPResponse.Status

func (ListCustomDomainsResponse) StatusCode added in v0.1.39

func (r ListCustomDomainsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListFunctionRevisionsResponse

type ListFunctionRevisionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]RevisionMetadata
}

func ParseListFunctionRevisionsResponse

func ParseListFunctionRevisionsResponse(rsp *http.Response) (*ListFunctionRevisionsResponse, error)

ParseListFunctionRevisionsResponse parses an HTTP response from a ListFunctionRevisionsWithResponse call

func (ListFunctionRevisionsResponse) Status

Status returns HTTPResponse.Status

func (ListFunctionRevisionsResponse) StatusCode

func (r ListFunctionRevisionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListFunctionsResponse

type ListFunctionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Function
}

func ParseListFunctionsResponse

func ParseListFunctionsResponse(rsp *http.Response) (*ListFunctionsResponse, error)

ParseListFunctionsResponse parses an HTTP response from a ListFunctionsWithResponse call

func (ListFunctionsResponse) Status

func (r ListFunctionsResponse) Status() string

Status returns HTTPResponse.Status

func (ListFunctionsResponse) StatusCode

func (r ListFunctionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListIntegrationConnectionModelsResponse

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

func ParseListIntegrationConnectionModelsResponse

func ParseListIntegrationConnectionModelsResponse(rsp *http.Response) (*ListIntegrationConnectionModelsResponse, error)

ParseListIntegrationConnectionModelsResponse parses an HTTP response from a ListIntegrationConnectionModelsWithResponse call

func (ListIntegrationConnectionModelsResponse) Status

Status returns HTTPResponse.Status

func (ListIntegrationConnectionModelsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListIntegrationConnectionsResponse

type ListIntegrationConnectionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]IntegrationConnection
}

func ParseListIntegrationConnectionsResponse

func ParseListIntegrationConnectionsResponse(rsp *http.Response) (*ListIntegrationConnectionsResponse, error)

ParseListIntegrationConnectionsResponse parses an HTTP response from a ListIntegrationConnectionsWithResponse call

func (ListIntegrationConnectionsResponse) Status

Status returns HTTPResponse.Status

func (ListIntegrationConnectionsResponse) StatusCode

func (r ListIntegrationConnectionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListJobRevisionsResponse added in v0.1.15

type ListJobRevisionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]RevisionMetadata
}

func ParseListJobRevisionsResponse added in v0.1.15

func ParseListJobRevisionsResponse(rsp *http.Response) (*ListJobRevisionsResponse, error)

ParseListJobRevisionsResponse parses an HTTP response from a ListJobRevisionsWithResponse call

func (ListJobRevisionsResponse) Status added in v0.1.15

func (r ListJobRevisionsResponse) Status() string

Status returns HTTPResponse.Status

func (ListJobRevisionsResponse) StatusCode added in v0.1.15

func (r ListJobRevisionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListJobsResponse added in v0.1.15

type ListJobsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Job
}

func ParseListJobsResponse added in v0.1.15

func ParseListJobsResponse(rsp *http.Response) (*ListJobsResponse, error)

ParseListJobsResponse parses an HTTP response from a ListJobsWithResponse call

func (ListJobsResponse) Status added in v0.1.15

func (r ListJobsResponse) Status() string

Status returns HTTPResponse.Status

func (ListJobsResponse) StatusCode added in v0.1.15

func (r ListJobsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListLocationsResponse

type ListLocationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]LocationResponse
}

func ParseListLocationsResponse

func ParseListLocationsResponse(rsp *http.Response) (*ListLocationsResponse, error)

ParseListLocationsResponse parses an HTTP response from a ListLocationsWithResponse call

func (ListLocationsResponse) Status

func (r ListLocationsResponse) Status() string

Status returns HTTPResponse.Status

func (ListLocationsResponse) StatusCode

func (r ListLocationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListMCPHubDefinitionsResponse

type ListMCPHubDefinitionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]MCPDefinition
}

func ParseListMCPHubDefinitionsResponse

func ParseListMCPHubDefinitionsResponse(rsp *http.Response) (*ListMCPHubDefinitionsResponse, error)

ParseListMCPHubDefinitionsResponse parses an HTTP response from a ListMCPHubDefinitionsWithResponse call

func (ListMCPHubDefinitionsResponse) Status

Status returns HTTPResponse.Status

func (ListMCPHubDefinitionsResponse) StatusCode

func (r ListMCPHubDefinitionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListModelRevisionsResponse

type ListModelRevisionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]RevisionMetadata
}

func ParseListModelRevisionsResponse

func ParseListModelRevisionsResponse(rsp *http.Response) (*ListModelRevisionsResponse, error)

ParseListModelRevisionsResponse parses an HTTP response from a ListModelRevisionsWithResponse call

func (ListModelRevisionsResponse) Status

Status returns HTTPResponse.Status

func (ListModelRevisionsResponse) StatusCode

func (r ListModelRevisionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListModelsResponse

type ListModelsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Model
}

func ParseListModelsResponse

func ParseListModelsResponse(rsp *http.Response) (*ListModelsResponse, error)

ParseListModelsResponse parses an HTTP response from a ListModelsWithResponse call

func (ListModelsResponse) Status

func (r ListModelsResponse) Status() string

Status returns HTTPResponse.Status

func (ListModelsResponse) StatusCode

func (r ListModelsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPoliciesResponse

type ListPoliciesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Policy
}

func ParseListPoliciesResponse

func ParseListPoliciesResponse(rsp *http.Response) (*ListPoliciesResponse, error)

ParseListPoliciesResponse parses an HTTP response from a ListPoliciesWithResponse call

func (ListPoliciesResponse) Status

func (r ListPoliciesResponse) Status() string

Status returns HTTPResponse.Status

func (ListPoliciesResponse) StatusCode

func (r ListPoliciesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPrivateClustersResponse

type ListPrivateClustersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]PrivateCluster
}

func ParseListPrivateClustersResponse

func ParseListPrivateClustersResponse(rsp *http.Response) (*ListPrivateClustersResponse, error)

ParseListPrivateClustersResponse parses an HTTP response from a ListPrivateClustersWithResponse call

func (ListPrivateClustersResponse) Status

Status returns HTTPResponse.Status

func (ListPrivateClustersResponse) StatusCode

func (r ListPrivateClustersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPublicIpsResponse added in v0.1.35

type ListPublicIpsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PublicIps
}

func ParseListPublicIpsResponse added in v0.1.35

func ParseListPublicIpsResponse(rsp *http.Response) (*ListPublicIpsResponse, error)

ParseListPublicIpsResponse parses an HTTP response from a ListPublicIpsWithResponse call

func (ListPublicIpsResponse) Status added in v0.1.35

func (r ListPublicIpsResponse) Status() string

Status returns HTTPResponse.Status

func (ListPublicIpsResponse) StatusCode added in v0.1.35

func (r ListPublicIpsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSandboxHubDefinitionsResponse

type ListSandboxHubDefinitionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]SandboxDefinition
}

func ParseListSandboxHubDefinitionsResponse

func ParseListSandboxHubDefinitionsResponse(rsp *http.Response) (*ListSandboxHubDefinitionsResponse, error)

ParseListSandboxHubDefinitionsResponse parses an HTTP response from a ListSandboxHubDefinitionsWithResponse call

func (ListSandboxHubDefinitionsResponse) Status

Status returns HTTPResponse.Status

func (ListSandboxHubDefinitionsResponse) StatusCode

func (r ListSandboxHubDefinitionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSandboxPreviewTokensResponse

type ListSandboxPreviewTokensResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]PreviewToken
}

func ParseListSandboxPreviewTokensResponse

func ParseListSandboxPreviewTokensResponse(rsp *http.Response) (*ListSandboxPreviewTokensResponse, error)

ParseListSandboxPreviewTokensResponse parses an HTTP response from a ListSandboxPreviewTokensWithResponse call

func (ListSandboxPreviewTokensResponse) Status

Status returns HTTPResponse.Status

func (ListSandboxPreviewTokensResponse) StatusCode

func (r ListSandboxPreviewTokensResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSandboxPreviewsResponse

type ListSandboxPreviewsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Preview
}

func ParseListSandboxPreviewsResponse

func ParseListSandboxPreviewsResponse(rsp *http.Response) (*ListSandboxPreviewsResponse, error)

ParseListSandboxPreviewsResponse parses an HTTP response from a ListSandboxPreviewsWithResponse call

func (ListSandboxPreviewsResponse) Status

Status returns HTTPResponse.Status

func (ListSandboxPreviewsResponse) StatusCode

func (r ListSandboxPreviewsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListSandboxesResponse

type ListSandboxesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Sandbox
}

func ParseListSandboxesResponse

func ParseListSandboxesResponse(rsp *http.Response) (*ListSandboxesResponse, error)

ParseListSandboxesResponse parses an HTTP response from a ListSandboxesWithResponse call

func (ListSandboxesResponse) Status

func (r ListSandboxesResponse) Status() string

Status returns HTTPResponse.Status

func (ListSandboxesResponse) StatusCode

func (r ListSandboxesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListTemplatesResponse

type ListTemplatesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Template
}

func ParseListTemplatesResponse

func ParseListTemplatesResponse(rsp *http.Response) (*ListTemplatesResponse, error)

ParseListTemplatesResponse parses an HTTP response from a ListTemplatesWithResponse call

func (ListTemplatesResponse) Status

func (r ListTemplatesResponse) Status() string

Status returns HTTPResponse.Status

func (ListTemplatesResponse) StatusCode

func (r ListTemplatesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListVolumesResponse added in v0.1.39

type ListVolumesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Volume
}

func ParseListVolumesResponse added in v0.1.39

func ParseListVolumesResponse(rsp *http.Response) (*ListVolumesResponse, error)

ParseListVolumesResponse parses an HTTP response from a ListVolumesWithResponse call

func (ListVolumesResponse) Status added in v0.1.39

func (r ListVolumesResponse) Status() string

Status returns HTTPResponse.Status

func (ListVolumesResponse) StatusCode added in v0.1.39

func (r ListVolumesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListWorkspaceUsersResponse

type ListWorkspaceUsersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]WorkspaceUser
}

func ParseListWorkspaceUsersResponse

func ParseListWorkspaceUsersResponse(rsp *http.Response) (*ListWorkspaceUsersResponse, error)

ParseListWorkspaceUsersResponse parses an HTTP response from a ListWorkspaceUsersWithResponse call

func (ListWorkspaceUsersResponse) Status

Status returns HTTPResponse.Status

func (ListWorkspaceUsersResponse) StatusCode

func (r ListWorkspaceUsersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListWorkspacesResponse

type ListWorkspacesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Workspace
}

func ParseListWorkspacesResponse

func ParseListWorkspacesResponse(rsp *http.Response) (*ListWorkspacesResponse, error)

ParseListWorkspacesResponse parses an HTTP response from a ListWorkspacesWithResponse call

func (ListWorkspacesResponse) Status

func (r ListWorkspacesResponse) Status() string

Status returns HTTPResponse.Status

func (ListWorkspacesResponse) StatusCode

func (r ListWorkspacesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LocationResponse

type LocationResponse struct {
	// Continent Continent of the location
	Continent *string `json:"continent,omitempty"`

	// Country Country of the location
	Country *string `json:"country,omitempty"`

	// Flavors Hardware flavors available in the location
	Flavors *[]Flavor `json:"flavors,omitempty"`

	// Location Name of the location
	Location *string `json:"location,omitempty"`

	// Status Status of the location
	Status *string `json:"status,omitempty"`
}

LocationResponse Location availability for policies

type MCPDefinition

type MCPDefinition struct {
	// Categories Categories of the artifact
	Categories *[]interface{} `json:"categories,omitempty"`

	// ComingSoon If the artifact is coming soon
	ComingSoon *bool `json:"coming_soon,omitempty"`

	// CreatedAt The date and time when the resource was created
	CreatedAt *string `json:"createdAt,omitempty"`

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

	// DisplayName Display name of the artifact
	DisplayName *string `json:"displayName,omitempty"`

	// Enterprise If the artifact is enterprise
	Enterprise *bool `json:"enterprise,omitempty"`

	// Entrypoint Entrypoint of the artifact
	Entrypoint *map[string]interface{} `json:"entrypoint,omitempty"`

	// Form Form of the artifact
	Form *map[string]interface{} `json:"form,omitempty"`

	// HiddenSecrets Hidden secrets of the artifact
	HiddenSecrets *[]string `json:"hiddenSecrets,omitempty"`

	// Icon Icon of the artifact
	Icon *string `json:"icon,omitempty"`

	// Image Image of the artifact
	Image *string `json:"image,omitempty"`

	// Integration Integration of the artifact
	Integration *string `json:"integration,omitempty"`

	// LongDescription Long description of the artifact
	LongDescription *string `json:"longDescription,omitempty"`

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

	// UpdatedAt The date and time when the resource was updated
	UpdatedAt *string `json:"updatedAt,omitempty"`

	// Url URL of the artifact
	Url *string `json:"url,omitempty"`
}

MCPDefinition defines model for MCPDefinition.

type Metadata

type Metadata struct {
	// CreatedAt The date and time when the resource was created
	CreatedAt *string `json:"createdAt,omitempty"`

	// CreatedBy The user or service account who created the resource
	CreatedBy *string `json:"createdBy,omitempty"`

	// DisplayName Model display name
	DisplayName *string `json:"displayName,omitempty"`

	// Labels Labels
	Labels *MetadataLabels `json:"labels,omitempty"`

	// Name Model name
	Name *string `json:"name,omitempty"`

	// Plan Plan
	Plan interface{} `json:"plan,omitempty"`

	// UpdatedAt The date and time when the resource was updated
	UpdatedAt *string `json:"updatedAt,omitempty"`

	// UpdatedBy The user or service account who updated the resource
	UpdatedBy *string `json:"updatedBy,omitempty"`

	// Workspace Workspace name
	Workspace *string `json:"workspace,omitempty"`
}

Metadata defines model for Metadata.

type MetadataLabels

type MetadataLabels map[string]string

MetadataLabels Labels

type Model

type Model struct {
	// Events Core events
	Events *CoreEvents `json:"events,omitempty"`

	// Metadata Metadata
	Metadata *Metadata `json:"metadata,omitempty"`

	// Spec Model specification
	Spec *ModelSpec `json:"spec,omitempty"`

	// Status Model status
	Status *string `json:"status,omitempty"`
}

Model Logical object representing a model

type ModelPrivateCluster

type ModelPrivateCluster struct {
	// BaseUrl The base url of the model in the private cluster
	BaseUrl *string `json:"baseUrl,omitempty"`

	// Enabled If true, the private cluster is available
	Enabled *bool `json:"enabled,omitempty"`

	// Name The name of the private cluster
	Name *string `json:"name,omitempty"`
}

ModelPrivateCluster Private cluster where the model deployment is deployed

type ModelSpec

type ModelSpec struct {
	// Configurations Optional configurations for the object
	Configurations *struct {
		// Key Configuration, this is a key value storage. In your object you can retrieve the value with config[key]
		Key *SpecConfiguration `json:"key,omitempty"`
	} `json:"configurations,omitempty"`

	// Enabled Enable or disable the resource
	Enabled *bool `json:"enabled,omitempty"`

	// Flavors Types of hardware available for deployments
	Flavors                *Flavors                    `json:"flavors,omitempty"`
	IntegrationConnections *IntegrationConnectionsList `json:"integrationConnections,omitempty"`
	Policies               *PoliciesList               `json:"policies,omitempty"`

	// PrivateClusters Private cluster where the model deployment is deployed
	PrivateClusters *ModelPrivateCluster `json:"privateClusters,omitempty"`

	// Revision Revision configuration
	Revision *RevisionConfiguration `json:"revision,omitempty"`

	// Runtime Set of configurations for a deployment
	Runtime *Runtime `json:"runtime,omitempty"`

	// Sandbox Sandbox mode
	Sandbox *bool `json:"sandbox,omitempty"`
}

ModelSpec defines model for ModelSpec.

type OwnerFields

type OwnerFields struct {
	// CreatedBy The user or service account who created the resource
	CreatedBy *string `json:"createdBy,omitempty"`

	// UpdatedBy The user or service account who updated the resource
	UpdatedBy *string `json:"updatedBy,omitempty"`
}

OwnerFields Owner fields for Persistance

type PendingInvitation

type PendingInvitation struct {
	// CreatedAt The date and time when the resource was created
	CreatedAt *string `json:"createdAt,omitempty"`

	// CreatedBy The user or service account who created the resource
	CreatedBy *string `json:"createdBy,omitempty"`

	// Email User email
	Email *string `json:"email,omitempty"`

	// InvitedBy User sub
	InvitedBy *string `json:"invitedBy,omitempty"`

	// Role ACL role
	Role *string `json:"role,omitempty"`

	// UpdatedAt The date and time when the resource was updated
	UpdatedAt *string `json:"updatedAt,omitempty"`

	// UpdatedBy The user or service account who updated the resource
	UpdatedBy *string `json:"updatedBy,omitempty"`

	// Workspace Workspace name
	Workspace *string `json:"workspace,omitempty"`
}

PendingInvitation defines model for PendingInvitation.

type PendingInvitationAccept

type PendingInvitationAccept struct {
	// Email User email
	Email *string `json:"email,omitempty"`

	// Workspace Workspace
	Workspace *Workspace `json:"workspace,omitempty"`
}

PendingInvitationAccept Pending invitation accept

type PendingInvitationRender

type PendingInvitationRender struct {
	// Email User email
	Email *string `json:"email,omitempty"`

	// InvitedAt Invitation date
	InvitedAt *string `json:"invitedAt,omitempty"`

	// InvitedBy Invited by
	InvitedBy *PendingInvitationRenderInvitedBy `json:"invitedBy,omitempty"`

	// Role ACL role
	Role *string `json:"role,omitempty"`

	// Workspace Workspace
	Workspace *PendingInvitationRenderWorkspace `json:"workspace,omitempty"`

	// WorkspaceDetails Workspace details
	WorkspaceDetails *PendingInvitationWorkspaceDetails `json:"workspaceDetails,omitempty"`
}

PendingInvitationRender Pending invitation in workspace

type PendingInvitationRenderInvitedBy

type PendingInvitationRenderInvitedBy struct {
	// Email User email
	Email *string `json:"email,omitempty"`

	// FamilyName User family name
	FamilyName *string `json:"family_name,omitempty"`

	// GivenName User given name
	GivenName *string `json:"given_name,omitempty"`

	// Sub User sub
	Sub *string `json:"sub,omitempty"`
}

PendingInvitationRenderInvitedBy Invited by

type PendingInvitationRenderWorkspace

type PendingInvitationRenderWorkspace struct {
	// DisplayName Workspace display name
	DisplayName *string `json:"displayName,omitempty"`

	// Name Workspace name
	Name *string `json:"name,omitempty"`
}

PendingInvitationRenderWorkspace Workspace

type PendingInvitationWorkspaceDetails

type PendingInvitationWorkspaceDetails struct {
	// Emails List of user emails in the workspace
	Emails *[]interface{} `json:"emails,omitempty"`

	// UserNumber Number of users in the workspace
	UserNumber *float32 `json:"user_number,omitempty"`
}

PendingInvitationWorkspaceDetails Workspace details

type PoliciesList

type PoliciesList = []string

PoliciesList defines model for PoliciesList.

type Policy

type Policy struct {
	// Metadata Metadata
	Metadata *Metadata `json:"metadata,omitempty"`

	// Spec Policy specification
	Spec *PolicySpec `json:"spec,omitempty"`
}

Policy Rule that controls how a deployment is made and served (e.g. location restrictions)

type PolicyLocation

type PolicyLocation struct {
	// Name Policy location name
	Name *string `json:"name,omitempty"`

	// Type Policy location type
	Type *string `json:"type,omitempty"`
}

PolicyLocation Policy location

type PolicyLocations

type PolicyLocations = []PolicyLocation

PolicyLocations PolicyLocations is a local type that wraps a slice of Location

type PolicyMaxTokens

type PolicyMaxTokens struct {
	// Granularity Granularity
	Granularity *string `json:"granularity,omitempty"`

	// Input Input
	Input *int `json:"input,omitempty"`

	// Output Output
	Output *int `json:"output,omitempty"`

	// RatioInputOverOutput RatioInputOverOutput
	RatioInputOverOutput *int `json:"ratioInputOverOutput,omitempty"`

	// Step Step
	Step *int `json:"step,omitempty"`

	// Total Total
	Total *int `json:"total,omitempty"`
}

PolicyMaxTokens PolicyMaxTokens is a local type that wraps a slice of PolicyMaxTokens

type PolicyResourceType

type PolicyResourceType = string

PolicyResourceType PolicyResourceType is a type of resource, e.g. model, function, etc.

type PolicyResourceTypes

type PolicyResourceTypes = []PolicyResourceType

PolicyResourceTypes PolicyResourceTypes is a local type that wraps a slice of PolicyResourceType

type PolicySpec

type PolicySpec struct {
	// Flavors Types of hardware available for deployments
	Flavors *Flavors `json:"flavors,omitempty"`

	// Locations PolicyLocations is a local type that wraps a slice of Location
	Locations *PolicyLocations `json:"locations,omitempty"`

	// MaxTokens PolicyMaxTokens is a local type that wraps a slice of PolicyMaxTokens
	MaxTokens *PolicyMaxTokens `json:"maxTokens,omitempty"`

	// ResourceTypes PolicyResourceTypes is a local type that wraps a slice of PolicyResourceType
	ResourceTypes *PolicyResourceTypes `json:"resourceTypes,omitempty"`

	// Sandbox Sandbox mode
	Sandbox *bool `json:"sandbox,omitempty"`

	// Type Policy type, can be location or flavor
	Type *string `json:"type,omitempty"`
}

PolicySpec Policy specification

type Port

type Port struct {
	// Name The name of the port
	Name *string `json:"name,omitempty"`

	// Protocol The protocol of the port
	Protocol *string `json:"protocol,omitempty"`

	// Target The target port of the port
	Target *int `json:"target,omitempty"`
}

Port A port for a resource

type Ports

type Ports = []Port

Ports Set of ports for a resource

type Preview

type Preview struct {
	// Metadata PreviewMetadata
	Metadata *PreviewMetadata `json:"metadata,omitempty"`

	// Spec Preview of a Resource
	Spec *PreviewSpec `json:"spec,omitempty"`
}

Preview Preview of a Resource

type PreviewMetadata

type PreviewMetadata struct {
	// CreatedAt The date and time when the resource was created
	CreatedAt *string `json:"createdAt,omitempty"`

	// CreatedBy The user or service account who created the resource
	CreatedBy *string `json:"createdBy,omitempty"`

	// DisplayName Model display name
	DisplayName *string `json:"displayName,omitempty"`

	// Name Preview name
	Name *string `json:"name,omitempty"`

	// ResourceName Resource name
	ResourceName *string `json:"resourceName,omitempty"`

	// ResourceType Resource type
	ResourceType *string `json:"resourceType,omitempty"`

	// UpdatedAt The date and time when the resource was updated
	UpdatedAt *string `json:"updatedAt,omitempty"`

	// UpdatedBy The user or service account who updated the resource
	UpdatedBy *string `json:"updatedBy,omitempty"`

	// Workspace Workspace name
	Workspace *string `json:"workspace,omitempty"`
}

PreviewMetadata defines model for PreviewMetadata.

type PreviewSpec

type PreviewSpec struct {
	// CustomDomain Custom domain bound to this preview
	CustomDomain *string `json:"customDomain,omitempty"`

	// Expires The expiration date for the preview in ISO 8601 format - 2024-12-31T23:59:59Z
	Expires *string `json:"expires,omitempty"`

	// Port Port of the preview
	Port *int `json:"port,omitempty"`

	// PrefixUrl Prefix URL
	PrefixUrl *string `json:"prefixUrl,omitempty"`

	// Public Whether the preview is public
	Public *bool `json:"public,omitempty"`

	// RequestHeaders Those headers will be set in all requests to your preview. This is especially useful to set the Authorization header.
	RequestHeaders *map[string]string `json:"requestHeaders,omitempty"`

	// ResponseHeaders Those headers will be set in all responses of your preview. This is especially useful to set the CORS headers.
	ResponseHeaders *map[string]string `json:"responseHeaders,omitempty"`

	// Ttl Time to live for the preview (e.g., "1h", "24h", "7d"). After this duration, the preview will be automatically deleted.
	Ttl *string `json:"ttl,omitempty"`

	// Url URL of the preview
	Url *string `json:"url,omitempty"`
}

PreviewSpec Preview of a Resource

type PreviewToken

type PreviewToken struct {
	// Metadata PreviewTokenMetadata
	Metadata *PreviewTokenMetadata `json:"metadata,omitempty"`

	// Spec Spec for a Preview Token
	Spec *PreviewTokenSpec `json:"spec,omitempty"`
}

PreviewToken Token for a Preview

type PreviewTokenMetadata

type PreviewTokenMetadata struct {
	// Name Token name
	Name *string `json:"name,omitempty"`

	// PreviewName Preview name
	PreviewName *string `json:"previewName,omitempty"`

	// ResourceName Resource name
	ResourceName *string `json:"resourceName,omitempty"`

	// ResourceType Resource type
	ResourceType *string `json:"resourceType,omitempty"`

	// Workspace Workspace name
	Workspace *string `json:"workspace,omitempty"`
}

PreviewTokenMetadata PreviewTokenMetadata

type PreviewTokenSpec

type PreviewTokenSpec struct {
	// Expired Whether the token is expired
	Expired *bool `json:"expired,omitempty"`

	// ExpiresAt Expiration time of the token
	ExpiresAt *string `json:"expiresAt,omitempty"`

	// Token Token
	Token *string `json:"token,omitempty"`
}

PreviewTokenSpec Spec for a Preview Token

type PrivateCluster

type PrivateCluster struct {
	// Continent The private cluster's continent, used to determine the closest private cluster to serve inference requests based on the user's location
	Continent *string `json:"continent,omitempty"`

	// Country The country where the private cluster is located, used to determine the closest private cluster to serve inference requests based on the user's location
	Country *string `json:"country,omitempty"`

	// CreatedAt The date and time when the resource was created
	CreatedAt *string `json:"createdAt,omitempty"`

	// CreatedBy The user or service account who created the resource
	CreatedBy *string `json:"createdBy,omitempty"`

	// DisplayName The private cluster's display Name
	DisplayName *string `json:"displayName,omitempty"`

	// Healthy Whether the private cluster is healthy or not, used to determine if the private cluster is ready to run inference
	Healthy *bool `json:"healthy,omitempty"`

	// LastHealthCheckTime The private cluster's unique name
	LastHealthCheckTime *string `json:"lastHealthCheckTime,omitempty"`

	// Latitude The private cluster's latitude, used to determine the closest private cluster to serve inference requests based on the user's location
	Latitude *string `json:"latitude,omitempty"`

	// Longitude The private cluster's longitude, used to determine the closest private cluster to serve inference requests based on the user's location
	Longitude *string `json:"longitude,omitempty"`

	// Name The name of the private cluster, it must be unique
	Name *string `json:"name,omitempty"`

	// OwnedBy The service account (operator) that owns the cluster
	OwnedBy *string `json:"ownedBy,omitempty"`

	// UpdatedAt The date and time when the resource was updated
	UpdatedAt *string `json:"updatedAt,omitempty"`

	// UpdatedBy The user or service account who updated the resource
	UpdatedBy *string `json:"updatedBy,omitempty"`

	// Workspace The workspace the private cluster belongs to
	Workspace *string `json:"workspace,omitempty"`
}

PrivateCluster defines model for PrivateCluster.

type PublicIp added in v0.1.35

type PublicIp struct {
	// Description Description of the region/location
	Description *string `json:"description,omitempty"`

	// Ipv4Cidrs List of public ipv4 addresses
	Ipv4Cidrs *[]string `json:"ipv4Cidrs,omitempty"`

	// Ipv6Cidrs List of public ipv6 addresses
	Ipv6Cidrs *[]string `json:"ipv6Cidrs,omitempty"`
}

PublicIp defines model for PublicIp.

type PublicIps added in v0.1.35

type PublicIps map[string]PublicIp

PublicIps defines model for PublicIps.

type PublicProvider

type PublicProvider struct{}

func NewPublicProvider

func NewPublicProvider() *PublicProvider

func (*PublicProvider) GetHeaders added in v0.1.27

func (s *PublicProvider) GetHeaders() (map[string]string, error)

func (*PublicProvider) Intercept

func (s *PublicProvider) Intercept(ctx context.Context, req *http.Request) error

type RemoveWorkspaceUserResponse

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

func ParseRemoveWorkspaceUserResponse

func ParseRemoveWorkspaceUserResponse(rsp *http.Response) (*RemoveWorkspaceUserResponse, error)

ParseRemoveWorkspaceUserResponse parses an HTTP response from a RemoveWorkspaceUserWithResponse call

func (RemoveWorkspaceUserResponse) Status

Status returns HTTPResponse.Status

func (RemoveWorkspaceUserResponse) StatusCode

func (r RemoveWorkspaceUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Repository

type Repository struct {
	// Type Repository type
	Type *string `json:"type,omitempty"`

	// Url Repository URL
	Url *string `json:"url,omitempty"`
}

Repository Repository

type RequestEditorFn

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

RequestEditorFn is the function signature for the RequestEditor callback function

type RevisionConfiguration

type RevisionConfiguration struct {
	// Active Active revision id
	Active *string `json:"active,omitempty"`

	// Canary Canary revision id
	Canary *string `json:"canary,omitempty"`

	// CanaryPercent Canary revision percent
	CanaryPercent *int `json:"canaryPercent,omitempty"`

	// Traffic Traffic percentage
	Traffic *int `json:"traffic,omitempty"`
}

RevisionConfiguration Revision configuration

type RevisionMetadata

type RevisionMetadata struct {
	// Active Is the revision active
	Active *bool `json:"active,omitempty"`

	// Canary Is the revision canary
	Canary *bool `json:"canary,omitempty"`

	// CreatedAt Revision created at
	CreatedAt *string `json:"createdAt,omitempty"`

	// CreatedBy Revision created by
	CreatedBy *string `json:"createdBy,omitempty"`

	// Id Revision ID
	Id *string `json:"id,omitempty"`

	// PreviousActive Is the revision previous active
	PreviousActive *bool `json:"previousActive,omitempty"`

	// Status Status of the revision
	Status *string `json:"status,omitempty"`

	// TrafficPercent Percent of traffic to the revision
	TrafficPercent *int `json:"trafficPercent,omitempty"`
}

RevisionMetadata Revision metadata

type RunClientWithCredentials

type RunClientWithCredentials struct {
	ApiURL      string
	RunURL      string
	Credentials Credentials
	Workspace   string
	Headers     map[string]string
}

type Runtime

type Runtime struct {
	// Args The arguments to pass to the deployment runtime
	Args *[]interface{} `json:"args,omitempty"`

	// Command The command to run the deployment
	Command *[]interface{} `json:"command,omitempty"`

	// Configuration The configuration for the deployment
	Configuration *map[string]interface{} `json:"configuration,omitempty"`

	// Cpu The CPU for the deployment in cores, only available for private cluster
	Cpu *int `json:"cpu,omitempty"`

	// EndpointName Endpoint Name of the model. In case of hf_private_endpoint, it is the endpoint name. In case of hf_public_endpoint, it is not used.
	EndpointName *string `json:"endpointName,omitempty"`

	// Envs The env variables to set in the deployment. Should be a list of Kubernetes EnvVar types
	Envs *[]interface{} `json:"envs,omitempty"`

	// Expires The expiration date for the deployment in ISO 8601 format - 2024-12-31T23:59:59Z
	Expires *string `json:"expires,omitempty"`

	// Generation The generation of the deployment
	Generation *string `json:"generation,omitempty"`

	// Image The Docker image for the deployment
	Image *string `json:"image,omitempty"`

	// MaxConcurrentTasks The maximum number of concurrent task for an execution
	MaxConcurrentTasks *int `json:"maxConcurrentTasks,omitempty"`

	// MaxRetries The maximum number of retries for the deployment
	MaxRetries *int `json:"maxRetries,omitempty"`

	// MaxScale The minimum number of replicas for the deployment. Can be 0 or 1 (in which case the deployment is always running in at least one location).
	MaxScale *int `json:"maxScale,omitempty"`

	// Memory The memory for the deployment in MB
	Memory *int `json:"memory,omitempty"`

	// MetricPort The port to serve the metrics on
	MetricPort *int `json:"metricPort,omitempty"`

	// MinScale The maximum number of replicas for the deployment.
	MinScale *int `json:"minScale,omitempty"`

	// Model The slug name of the origin model at HuggingFace.
	Model *string `json:"model,omitempty"`

	// Organization The organization of the model
	Organization *string `json:"organization,omitempty"`

	// Ports Set of ports for a resource
	Ports *Ports `json:"ports,omitempty"`

	// StartupProbe The readiness probe. Should be a Kubernetes Probe type
	StartupProbe *map[string]interface{} `json:"startupProbe,omitempty"`

	// Timeout The timeout for the deployment in seconds
	Timeout *int `json:"timeout,omitempty"`

	// Ttl The TTL for the deployment in seconds - 30m, 24h, 7d
	Ttl *string `json:"ttl,omitempty"`

	// Type The type of origin for the deployment (hf_private_endpoint, hf_public_endpoint)
	Type *string `json:"type,omitempty"`
}

Runtime Set of configurations for a deployment

type Sandbox

type Sandbox struct {
	// Events Core events
	Events *CoreEvents `json:"events,omitempty"`

	// LastUsedAt Last time the sandbox was used (read-only, managed by the system)
	LastUsedAt *string `json:"lastUsedAt,omitempty"`

	// Metadata Metadata
	Metadata *Metadata `json:"metadata,omitempty"`

	// Spec Sandbox specification
	Spec *SandboxSpec `json:"spec,omitempty"`

	// Status Sandbox status
	Status *string `json:"status,omitempty"`

	// Ttl TTL timestamp for automatic deletion (optional, nil means no auto-deletion)
	Ttl *int `json:"ttl,omitempty"`
}

Sandbox Micro VM for running agentic tasks

type SandboxDefinition

type SandboxDefinition struct {
	// Categories Categories of the defintion
	Categories *[]interface{} `json:"categories,omitempty"`

	// ComingSoon If the definition is coming soon
	ComingSoon *bool `json:"coming_soon,omitempty"`

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

	// DisplayName Display name of the definition
	DisplayName *string `json:"displayName,omitempty"`

	// Enterprise If the definition is enterprise
	Enterprise *bool `json:"enterprise,omitempty"`

	// Icon Icon of the definition
	Icon *string `json:"icon,omitempty"`

	// Image Image of the Sandbox definition
	Image *string `json:"image,omitempty"`

	// LongDescription Long description of the defintion
	LongDescription *string `json:"longDescription,omitempty"`

	// Memory Memory of the Sandbox definition in MB
	Memory *int `json:"memory,omitempty"`

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

	// Ports Set of ports for a resource
	Ports *Ports `json:"ports,omitempty"`

	// Url URL of the definition
	Url *string `json:"url,omitempty"`
}

SandboxDefinition Sandbox definition for admin store operations

type SandboxSpec

type SandboxSpec struct {
	// Configurations Optional configurations for the object
	Configurations *struct {
		// Key Configuration, this is a key value storage. In your object you can retrieve the value with config[key]
		Key *SpecConfiguration `json:"key,omitempty"`
	} `json:"configurations,omitempty"`

	// Enabled Enable or disable the resource
	Enabled *bool `json:"enabled,omitempty"`

	// Flavors Types of hardware available for deployments
	Flavors                *Flavors                    `json:"flavors,omitempty"`
	IntegrationConnections *IntegrationConnectionsList `json:"integrationConnections,omitempty"`
	Policies               *PoliciesList               `json:"policies,omitempty"`

	// PrivateClusters Private cluster where the model deployment is deployed
	PrivateClusters *ModelPrivateCluster `json:"privateClusters,omitempty"`

	// Revision Revision configuration
	Revision *RevisionConfiguration `json:"revision,omitempty"`

	// Runtime Set of configurations for a deployment
	Runtime *Runtime `json:"runtime,omitempty"`

	// Sandbox Sandbox mode
	Sandbox *bool              `json:"sandbox,omitempty"`
	Volumes *VolumeAttachments `json:"volumes,omitempty"`
}

SandboxSpec defines model for SandboxSpec.

type SpecConfiguration

type SpecConfiguration struct {
	// Secret ACconfiguration secret
	Secret *bool `json:"secret,omitempty"`

	// Value Configuration value
	Value *string `json:"value,omitempty"`
}

SpecConfiguration Configuration, this is a key value storage. In your object you can retrieve the value with config[key]

type StartSandbox

type StartSandbox struct {
	// Message Human readable message about the start operation
	Message *string `json:"message,omitempty"`

	// Metadata Metadata
	Metadata *Metadata `json:"metadata,omitempty"`

	// Status Status of the Sandbox start operation
	Status *string `json:"status,omitempty"`
}

StartSandbox Response when starting a Sandbox

type StartSandboxResponse

type StartSandboxResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *StartSandbox
}

func ParseStartSandboxResponse

func ParseStartSandboxResponse(rsp *http.Response) (*StartSandboxResponse, error)

ParseStartSandboxResponse parses an HTTP response from a StartSandboxWithResponse call

func (StartSandboxResponse) Status

func (r StartSandboxResponse) Status() string

Status returns HTTPResponse.Status

func (StartSandboxResponse) StatusCode

func (r StartSandboxResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type StopSandbox

type StopSandbox struct {
	// Message Human readable message about the stop operation
	Message *string `json:"message,omitempty"`

	// Metadata Metadata
	Metadata *Metadata `json:"metadata,omitempty"`

	// Status Status of the Sandbox stop operation
	Status *string `json:"status,omitempty"`
}

StopSandbox Response when stopping a Sandbox

type StopSandboxResponse

type StopSandboxResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *StopSandbox
}

func ParseStopSandboxResponse

func ParseStopSandboxResponse(rsp *http.Response) (*StopSandboxResponse, error)

ParseStopSandboxResponse parses an HTTP response from a StopSandboxWithResponse call

func (StopSandboxResponse) Status

func (r StopSandboxResponse) Status() string

Status returns HTTPResponse.Status

func (StopSandboxResponse) StatusCode

func (r StopSandboxResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Template

type Template struct {
	// DefaultBranch Default branch of the template
	DefaultBranch *string `json:"defaultBranch,omitempty"`

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

	// DownloadCount Number of downloads/clones of the repository
	DownloadCount *int `json:"downloadCount,omitempty"`

	// ForksCount Number of forks the repository has
	ForksCount *int `json:"forksCount,omitempty"`

	// Icon URL to the template's icon
	Icon *string `json:"icon,omitempty"`

	// IconDark URL to the template's icon in dark mode
	IconDark *string `json:"iconDark,omitempty"`

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

	// Sha SHA of the variable
	Sha *string `json:"sha,omitempty"`

	// StarCount Number of stars the repository has
	StarCount *int `json:"starCount,omitempty"`

	// Topics Topic of the template
	Topics *[]string `json:"topics,omitempty"`

	// Url URL of the template
	Url *string `json:"url,omitempty"`

	// Variables Variables of the template
	Variables *[]TemplateVariable `json:"variables,omitempty"`
}

Template Blaxel template

type TemplateVariable

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

	// Integration Integration of the variable
	Integration *string `json:"integration,omitempty"`

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

	// Path Path of the variable
	Path *string `json:"path,omitempty"`

	// Secret Whether the variable is secret
	Secret *bool `json:"secret,omitempty"`
}

TemplateVariable Blaxel template variable

type TimeFields

type TimeFields struct {
	// CreatedAt The date and time when the resource was created
	CreatedAt *string `json:"createdAt,omitempty"`

	// UpdatedAt The date and time when the resource was updated
	UpdatedAt *string `json:"updatedAt,omitempty"`
}

TimeFields Time fields for Persistance

type Trigger

type Trigger struct {
	// Configuration Trigger configuration
	Configuration *TriggerConfiguration `json:"configuration,omitempty"`

	// Id The id of the trigger
	Id *string `json:"id,omitempty"`

	// Type The type of trigger, can be http or http-async
	Type *string `json:"type,omitempty"`
}

Trigger Trigger configuration

type TriggerConfiguration added in v0.1.33

type TriggerConfiguration struct {
	// AuthenticationType The authentication type of the trigger
	AuthenticationType *string `json:"authenticationType,omitempty"`

	// Path The path of the trigger
	Path *string `json:"path,omitempty"`

	// Retry The retry of the trigger
	Retry *int `json:"retry,omitempty"`

	// Schedule The schedule of the trigger, cron expression * * * * *
	Schedule *string `json:"schedule,omitempty"`

	// Tasks The tasks configuration of the cronjob
	Tasks *[]TriggerConfigurationTask `json:"tasks,omitempty"`
}

TriggerConfiguration Trigger configuration

type TriggerConfigurationTask added in v0.1.35

type TriggerConfigurationTask = map[string]interface{}

TriggerConfigurationTask The tasks configuration of the cronjob

type Triggers

type Triggers = []Trigger

Triggers Triggers to use your agent

type UpdateAgentJSONRequestBody

type UpdateAgentJSONRequestBody = Agent

UpdateAgentJSONRequestBody defines body for UpdateAgent for application/json ContentType.

type UpdateAgentResponse

type UpdateAgentResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Agent
}

func ParseUpdateAgentResponse

func ParseUpdateAgentResponse(rsp *http.Response) (*UpdateAgentResponse, error)

ParseUpdateAgentResponse parses an HTTP response from a UpdateAgentWithResponse call

func (UpdateAgentResponse) Status

func (r UpdateAgentResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateAgentResponse) StatusCode

func (r UpdateAgentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateCustomDomainJSONRequestBody added in v0.1.39

type UpdateCustomDomainJSONRequestBody = CustomDomain

UpdateCustomDomainJSONRequestBody defines body for UpdateCustomDomain for application/json ContentType.

type UpdateCustomDomainResponse added in v0.1.39

type UpdateCustomDomainResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CustomDomain
}

func ParseUpdateCustomDomainResponse added in v0.1.39

func ParseUpdateCustomDomainResponse(rsp *http.Response) (*UpdateCustomDomainResponse, error)

ParseUpdateCustomDomainResponse parses an HTTP response from a UpdateCustomDomainWithResponse call

func (UpdateCustomDomainResponse) Status added in v0.1.39

Status returns HTTPResponse.Status

func (UpdateCustomDomainResponse) StatusCode added in v0.1.39

func (r UpdateCustomDomainResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateFunctionJSONRequestBody

type UpdateFunctionJSONRequestBody = Function

UpdateFunctionJSONRequestBody defines body for UpdateFunction for application/json ContentType.

type UpdateFunctionResponse

type UpdateFunctionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Function
}

func ParseUpdateFunctionResponse

func ParseUpdateFunctionResponse(rsp *http.Response) (*UpdateFunctionResponse, error)

ParseUpdateFunctionResponse parses an HTTP response from a UpdateFunctionWithResponse call

func (UpdateFunctionResponse) Status

func (r UpdateFunctionResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateFunctionResponse) StatusCode

func (r UpdateFunctionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateIntegrationConnectionJSONRequestBody

type UpdateIntegrationConnectionJSONRequestBody = IntegrationConnection

UpdateIntegrationConnectionJSONRequestBody defines body for UpdateIntegrationConnection for application/json ContentType.

type UpdateIntegrationConnectionResponse

type UpdateIntegrationConnectionResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *IntegrationConnection
}

func ParseUpdateIntegrationConnectionResponse

func ParseUpdateIntegrationConnectionResponse(rsp *http.Response) (*UpdateIntegrationConnectionResponse, error)

ParseUpdateIntegrationConnectionResponse parses an HTTP response from a UpdateIntegrationConnectionWithResponse call

func (UpdateIntegrationConnectionResponse) Status

Status returns HTTPResponse.Status

func (UpdateIntegrationConnectionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateJobJSONRequestBody added in v0.1.15

type UpdateJobJSONRequestBody = Job

UpdateJobJSONRequestBody defines body for UpdateJob for application/json ContentType.

type UpdateJobResponse added in v0.1.15

type UpdateJobResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Job
}

func ParseUpdateJobResponse added in v0.1.15

func ParseUpdateJobResponse(rsp *http.Response) (*UpdateJobResponse, error)

ParseUpdateJobResponse parses an HTTP response from a UpdateJobWithResponse call

func (UpdateJobResponse) Status added in v0.1.15

func (r UpdateJobResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateJobResponse) StatusCode added in v0.1.15

func (r UpdateJobResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateModelJSONRequestBody

type UpdateModelJSONRequestBody = Model

UpdateModelJSONRequestBody defines body for UpdateModel for application/json ContentType.

type UpdateModelResponse

type UpdateModelResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Model
}

func ParseUpdateModelResponse

func ParseUpdateModelResponse(rsp *http.Response) (*UpdateModelResponse, error)

ParseUpdateModelResponse parses an HTTP response from a UpdateModelWithResponse call

func (UpdateModelResponse) Status

func (r UpdateModelResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateModelResponse) StatusCode

func (r UpdateModelResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdatePolicyJSONRequestBody

type UpdatePolicyJSONRequestBody = Policy

UpdatePolicyJSONRequestBody defines body for UpdatePolicy for application/json ContentType.

type UpdatePolicyResponse

type UpdatePolicyResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Policy
}

func ParseUpdatePolicyResponse

func ParseUpdatePolicyResponse(rsp *http.Response) (*UpdatePolicyResponse, error)

ParseUpdatePolicyResponse parses an HTTP response from a UpdatePolicyWithResponse call

func (UpdatePolicyResponse) Status

func (r UpdatePolicyResponse) Status() string

Status returns HTTPResponse.Status

func (UpdatePolicyResponse) StatusCode

func (r UpdatePolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdatePrivateClusterHealthResponse

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

func ParseUpdatePrivateClusterHealthResponse

func ParseUpdatePrivateClusterHealthResponse(rsp *http.Response) (*UpdatePrivateClusterHealthResponse, error)

ParseUpdatePrivateClusterHealthResponse parses an HTTP response from a UpdatePrivateClusterHealthWithResponse call

func (UpdatePrivateClusterHealthResponse) Status

Status returns HTTPResponse.Status

func (UpdatePrivateClusterHealthResponse) StatusCode

func (r UpdatePrivateClusterHealthResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdatePrivateClusterResponse

type UpdatePrivateClusterResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *PrivateCluster
}

func ParseUpdatePrivateClusterResponse

func ParseUpdatePrivateClusterResponse(rsp *http.Response) (*UpdatePrivateClusterResponse, error)

ParseUpdatePrivateClusterResponse parses an HTTP response from a UpdatePrivateClusterWithResponse call

func (UpdatePrivateClusterResponse) Status

Status returns HTTPResponse.Status

func (UpdatePrivateClusterResponse) StatusCode

func (r UpdatePrivateClusterResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateSandboxJSONRequestBody

type UpdateSandboxJSONRequestBody = Sandbox

UpdateSandboxJSONRequestBody defines body for UpdateSandbox for application/json ContentType.

type UpdateSandboxPreviewJSONRequestBody

type UpdateSandboxPreviewJSONRequestBody = Preview

UpdateSandboxPreviewJSONRequestBody defines body for UpdateSandboxPreview for application/json ContentType.

type UpdateSandboxPreviewResponse

type UpdateSandboxPreviewResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Preview
}

func ParseUpdateSandboxPreviewResponse

func ParseUpdateSandboxPreviewResponse(rsp *http.Response) (*UpdateSandboxPreviewResponse, error)

ParseUpdateSandboxPreviewResponse parses an HTTP response from a UpdateSandboxPreviewWithResponse call

func (UpdateSandboxPreviewResponse) Status

Status returns HTTPResponse.Status

func (UpdateSandboxPreviewResponse) StatusCode

func (r UpdateSandboxPreviewResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateSandboxResponse

type UpdateSandboxResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Sandbox
}

func ParseUpdateSandboxResponse

func ParseUpdateSandboxResponse(rsp *http.Response) (*UpdateSandboxResponse, error)

ParseUpdateSandboxResponse parses an HTTP response from a UpdateSandboxWithResponse call

func (UpdateSandboxResponse) Status

func (r UpdateSandboxResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateSandboxResponse) StatusCode

func (r UpdateSandboxResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateVolumeJSONRequestBody added in v0.1.39

type UpdateVolumeJSONRequestBody = Volume

UpdateVolumeJSONRequestBody defines body for UpdateVolume for application/json ContentType.

type UpdateVolumeResponse added in v0.1.39

type UpdateVolumeResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Volume
}

func ParseUpdateVolumeResponse added in v0.1.39

func ParseUpdateVolumeResponse(rsp *http.Response) (*UpdateVolumeResponse, error)

ParseUpdateVolumeResponse parses an HTTP response from a UpdateVolumeWithResponse call

func (UpdateVolumeResponse) Status added in v0.1.39

func (r UpdateVolumeResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateVolumeResponse) StatusCode added in v0.1.39

func (r UpdateVolumeResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateWorkspaceJSONRequestBody

type UpdateWorkspaceJSONRequestBody = Workspace

UpdateWorkspaceJSONRequestBody defines body for UpdateWorkspace for application/json ContentType.

type UpdateWorkspaceResponse

type UpdateWorkspaceResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Workspace
}

func ParseUpdateWorkspaceResponse

func ParseUpdateWorkspaceResponse(rsp *http.Response) (*UpdateWorkspaceResponse, error)

ParseUpdateWorkspaceResponse parses an HTTP response from a UpdateWorkspaceWithResponse call

func (UpdateWorkspaceResponse) Status

func (r UpdateWorkspaceResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateWorkspaceResponse) StatusCode

func (r UpdateWorkspaceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateWorkspaceServiceAccountJSONBody

type UpdateWorkspaceServiceAccountJSONBody struct {
	// Description Service account description
	Description *string `json:"description,omitempty"`

	// Name Service account name
	Name *string `json:"name,omitempty"`
}

UpdateWorkspaceServiceAccountJSONBody defines parameters for UpdateWorkspaceServiceAccount.

type UpdateWorkspaceServiceAccountJSONRequestBody

type UpdateWorkspaceServiceAccountJSONRequestBody UpdateWorkspaceServiceAccountJSONBody

UpdateWorkspaceServiceAccountJSONRequestBody defines body for UpdateWorkspaceServiceAccount for application/json ContentType.

type UpdateWorkspaceServiceAccountResponse

type UpdateWorkspaceServiceAccountResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// ClientId Service account client ID
		ClientId *string `json:"client_id,omitempty"`

		// CreatedAt Creation timestamp
		CreatedAt *string `json:"created_at,omitempty"`

		// Description Service account description
		Description *string `json:"description,omitempty"`

		// Name Service account name
		Name *string `json:"name,omitempty"`

		// UpdatedAt Last update timestamp
		UpdatedAt *string `json:"updated_at,omitempty"`
	}
}

func ParseUpdateWorkspaceServiceAccountResponse

func ParseUpdateWorkspaceServiceAccountResponse(rsp *http.Response) (*UpdateWorkspaceServiceAccountResponse, error)

ParseUpdateWorkspaceServiceAccountResponse parses an HTTP response from a UpdateWorkspaceServiceAccountWithResponse call

func (UpdateWorkspaceServiceAccountResponse) Status

Status returns HTTPResponse.Status

func (UpdateWorkspaceServiceAccountResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateWorkspaceUserRoleJSONBody

type UpdateWorkspaceUserRoleJSONBody struct {
	// Role The new role to assign to the user
	Role string `json:"role"`
}

UpdateWorkspaceUserRoleJSONBody defines parameters for UpdateWorkspaceUserRole.

type UpdateWorkspaceUserRoleJSONRequestBody

type UpdateWorkspaceUserRoleJSONRequestBody UpdateWorkspaceUserRoleJSONBody

UpdateWorkspaceUserRoleJSONRequestBody defines body for UpdateWorkspaceUserRole for application/json ContentType.

type UpdateWorkspaceUserRoleResponse

type UpdateWorkspaceUserRoleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WorkspaceUser
}

func ParseUpdateWorkspaceUserRoleResponse

func ParseUpdateWorkspaceUserRoleResponse(rsp *http.Response) (*UpdateWorkspaceUserRoleResponse, error)

ParseUpdateWorkspaceUserRoleResponse parses an HTTP response from a UpdateWorkspaceUserRoleWithResponse call

func (UpdateWorkspaceUserRoleResponse) Status

Status returns HTTPResponse.Status

func (UpdateWorkspaceUserRoleResponse) StatusCode

func (r UpdateWorkspaceUserRoleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type VerifyCustomDomainResponse added in v0.1.39

type VerifyCustomDomainResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *CustomDomain
}

func ParseVerifyCustomDomainResponse added in v0.1.39

func ParseVerifyCustomDomainResponse(rsp *http.Response) (*VerifyCustomDomainResponse, error)

ParseVerifyCustomDomainResponse parses an HTTP response from a VerifyCustomDomainWithResponse call

func (VerifyCustomDomainResponse) Status added in v0.1.39

Status returns HTTPResponse.Status

func (VerifyCustomDomainResponse) StatusCode added in v0.1.39

func (r VerifyCustomDomainResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Volume added in v0.1.39

type Volume struct {
	// Events Core events
	Events *CoreEvents `json:"events,omitempty"`

	// Metadata Metadata
	Metadata *Metadata `json:"metadata,omitempty"`

	// Spec Volume specification - immutable configuration
	Spec *VolumeSpec `json:"spec,omitempty"`

	// State Volume state - mutable runtime state
	State *VolumeState `json:"state,omitempty"`

	// Status Volume status computed from events
	Status *string `json:"status,omitempty"`

	// TerminatedAt Timestamp when the volume was marked for termination
	TerminatedAt *string `json:"terminatedAt,omitempty"`
}

Volume Volume resource for persistent storage

type VolumeAttachment added in v0.1.39

type VolumeAttachment struct {
	// MountPath Mount path in the container
	MountPath *string `json:"mountPath,omitempty"`

	// Name Name of the volume to attach
	Name *string `json:"name,omitempty"`

	// ReadOnly Whether the volume is mounted as read-only
	ReadOnly *bool `json:"readOnly,omitempty"`
}

VolumeAttachment Volume attachment configuration for sandbox

type VolumeAttachments added in v0.1.39

type VolumeAttachments = []VolumeAttachment

VolumeAttachments defines model for VolumeAttachments.

type VolumeSpec added in v0.1.39

type VolumeSpec struct {
	// Region AWS region where the volume should be created (e.g. us-west-2, eu-west-1)
	Region *string `json:"region,omitempty"`

	// Size Size of the volume in MB
	Size *int `json:"size,omitempty"`
}

VolumeSpec Volume specification - immutable configuration

type VolumeState added in v0.1.39

type VolumeState struct {
	// AttachedTo Resource this volume is attached to (e.g. "sandbox:my-sandbox", "model:my-model")
	AttachedTo *string `json:"attachedTo,omitempty"`
}

VolumeState Volume state - mutable runtime state

type Workspace

type Workspace struct {
	// AccountId Workspace account id
	AccountId *string `json:"accountId,omitempty"`

	// CreatedAt The date and time when the resource was created
	CreatedAt *string `json:"createdAt,omitempty"`

	// CreatedBy The user or service account who created the resource
	CreatedBy *string `json:"createdBy,omitempty"`

	// DisplayName Workspace display name
	DisplayName *string `json:"displayName,omitempty"`

	// Id Autogenerated unique workspace id
	Id *string `json:"id,omitempty"`

	// Labels Workspace labels
	Labels *map[string]interface{} `json:"labels,omitempty"`

	// Name Workspace name
	Name *string `json:"name,omitempty"`

	// Region Workspace write region
	Region *string `json:"region,omitempty"`

	// Runtime Workspace runtime
	Runtime *WorkspaceRuntime `json:"runtime,omitempty"`

	// UpdatedAt The date and time when the resource was updated
	UpdatedAt *string `json:"updatedAt,omitempty"`

	// UpdatedBy The user or service account who updated the resource
	UpdatedBy *string `json:"updatedBy,omitempty"`
}

Workspace defines model for Workspace.

type WorkspaceConfig

type WorkspaceConfig struct {
	Name        string      `yaml:"name"`
	Credentials Credentials `yaml:"credentials"`
	Env         string      `yaml:"env"`
}

type WorkspaceRuntime

type WorkspaceRuntime struct {
	// Generation Workspace generation
	Generation *string `json:"generation,omitempty"`
}

WorkspaceRuntime Workspace runtime

type WorkspaceUser

type WorkspaceUser struct {
	// Accepted Whether the user has accepted the workspace invitation
	Accepted *bool `json:"accepted,omitempty"`

	// Email Workspace user email
	Email *string `json:"email,omitempty"`

	// EmailVerified Whether the user's email has been verified
	EmailVerified *bool `json:"email_verified,omitempty"`

	// FamilyName Workspace user family name
	FamilyName *string `json:"family_name,omitempty"`

	// GivenName Workspace user given name
	GivenName *string `json:"given_name,omitempty"`

	// Role Workspace user role
	Role *string `json:"role,omitempty"`

	// Sub Workspace user identifier
	Sub *string `json:"sub,omitempty"`
}

WorkspaceUser Workspace user

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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