Documentation ¶
Overview ¶
Package sdk provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen/v2 version v2.2.0 DO NOT EDIT.
Index ¶
- Constants
- func BlString(s string) *string
- func ClearCredentials(workspaceName string)
- func GetSwagger() (swagger *openapi3.T, err error)
- func ListWorkspaces() []string
- func NewAcceptWorkspaceInvitationRequest(server string, workspaceName string) (*http.Request, error)
- func NewCreateAccountRequest(server string, body CreateAccountJSONRequestBody) (*http.Request, error)
- func NewCreateAccountRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateAgentReleaseRequest(server string, agentName string) (*http.Request, error)
- func NewCreateAgentRequest(server string, body CreateAgentJSONRequestBody) (*http.Request, error)
- func NewCreateAgentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateApiKeyForServiceAccountRequest(server string, clientId string, ...) (*http.Request, error)
- func NewCreateApiKeyForServiceAccountRequestWithBody(server string, clientId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateEnvironmentRequest(server string, body CreateEnvironmentJSONRequestBody) (*http.Request, error)
- func NewCreateEnvironmentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateFunctionReleaseRequest(server string, functionName string) (*http.Request, error)
- func NewCreateFunctionRequest(server string, body CreateFunctionJSONRequestBody) (*http.Request, error)
- func NewCreateFunctionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateIntegrationConnectionRequest(server string, body CreateIntegrationConnectionJSONRequestBody) (*http.Request, error)
- func NewCreateIntegrationConnectionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateModelRequest(server string, body CreateModelJSONRequestBody) (*http.Request, error)
- func NewCreateModelRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreatePolicyRequest(server string, body CreatePolicyJSONRequestBody) (*http.Request, error)
- func NewCreatePolicyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreatePrivateClusterRequest(server string) (*http.Request, error)
- func NewCreateWorkspaceServiceAccountRequest(server string, body CreateWorkspaceServiceAccountJSONRequestBody) (*http.Request, error)
- func NewCreateWorkspaceServiceAccountRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateWorspaceRequest(server string, body CreateWorspaceJSONRequestBody) (*http.Request, error)
- func NewCreateWorspaceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeclineWorkspaceInvitationRequest(server string, workspaceName string) (*http.Request, error)
- func NewDeleteAccountRequest(server string, accountId string) (*http.Request, error)
- func NewDeleteAgentHistoryRequest(server string, agentName string, requestId string) (*http.Request, error)
- func NewDeleteAgentRequest(server string, agentName string, params *DeleteAgentParams) (*http.Request, error)
- func NewDeleteApiKeyForServiceAccountRequest(server string, clientId string, apiKeyId string) (*http.Request, error)
- func NewDeleteEnvironmentRequest(server string, environmentName string) (*http.Request, error)
- func NewDeleteFunctionRequest(server string, functionName string, params *DeleteFunctionParams) (*http.Request, error)
- func NewDeleteIntegrationConnectionRequest(server string, connectionName string) (*http.Request, error)
- func NewDeleteModelRequest(server string, modelName string, params *DeleteModelParams) (*http.Request, error)
- func NewDeletePolicyRequest(server string, policyName string) (*http.Request, error)
- func NewDeletePrivateClusterRequest(server string, privateClusterName string) (*http.Request, error)
- func NewDeleteWorkspaceRequest(server string, workspaceName string) (*http.Request, error)
- func NewDeleteWorkspaceServiceAccountRequest(server string, clientId string) (*http.Request, error)
- func NewGetAccountRequest(server string, accountId string) (*http.Request, error)
- func NewGetAgentEnvironmentLogsRequest(server string, agentName string) (*http.Request, error)
- func NewGetAgentHistoryRequest(server string, agentName string, requestId string) (*http.Request, error)
- func NewGetAgentMetricsRequest(server string, agentName string, params *GetAgentMetricsParams) (*http.Request, error)
- func NewGetAgentRequest(server string, agentName string, params *GetAgentParams) (*http.Request, error)
- func NewGetAgentTraceIdsRequest(server string, agentName string, params *GetAgentTraceIdsParams) (*http.Request, error)
- func NewGetAgentsHistoryRequest(server string, requestId string) (*http.Request, error)
- func NewGetConfigurationRequest(server string) (*http.Request, error)
- func NewGetEnvironmentMetricsRequest(server string, environmentName string) (*http.Request, error)
- func NewGetEnvironmentRequest(server string, environmentName string) (*http.Request, error)
- func NewGetFunctionEnvironmentLogsRequest(server string, functionName string) (*http.Request, error)
- func NewGetFunctionMetricsRequest(server string, functionName string, params *GetFunctionMetricsParams) (*http.Request, error)
- func NewGetFunctionRequest(server string, functionName string, params *GetFunctionParams) (*http.Request, error)
- func NewGetFunctionTraceIdsRequest(server string, functionName string, params *GetFunctionTraceIdsParams) (*http.Request, error)
- func NewGetIntegrationConnectionModelRequest(server string, connectionName string, modelId string) (*http.Request, error)
- func NewGetIntegrationConnectionRequest(server string, connectionName string) (*http.Request, error)
- func NewGetIntegrationModelRequest(server string, integrationName string, modelId string) (*http.Request, error)
- func NewGetIntegrationRequest(server string, integrationName string) (*http.Request, error)
- func NewGetMetricsRequest(server string) (*http.Request, error)
- func NewGetModelEnvironmentLogsRequest(server string, modelName string) (*http.Request, error)
- func NewGetModelMetricsRequest(server string, modelName string, params *GetModelMetricsParams) (*http.Request, error)
- func NewGetModelRequest(server string, modelName string, params *GetModelParams) (*http.Request, error)
- func NewGetModelTraceIdsRequest(server string, modelName string, params *GetModelTraceIdsParams) (*http.Request, error)
- func NewGetPolicyRequest(server string, policyName string) (*http.Request, error)
- func NewGetPrivateClusterHealthRequest(server string, privateClusterName string) (*http.Request, error)
- func NewGetPrivateClusterRequest(server string, privateClusterName string) (*http.Request, error)
- func NewGetStoreAgentRequest(server string, agentName string) (*http.Request, error)
- func NewGetStoreFunctionRequest(server string, functionName string) (*http.Request, error)
- func NewGetTraceIdsRequest(server string, params *GetTraceIdsParams) (*http.Request, error)
- func NewGetTraceLogsRequest(server string, traceId string, params *GetTraceLogsParams) (*http.Request, error)
- func NewGetTraceRequest(server string, traceId string) (*http.Request, error)
- func NewGetWorkspaceRequest(server string, workspaceName string) (*http.Request, error)
- func NewGetWorkspaceServiceAccountsRequest(server string) (*http.Request, error)
- func NewInviteWorkspaceUserRequest(server string, body InviteWorkspaceUserJSONRequestBody) (*http.Request, error)
- func NewInviteWorkspaceUserRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewLeaveWorkspaceRequest(server string, workspaceName string) (*http.Request, error)
- func NewListAccountsRequest(server string) (*http.Request, error)
- func NewListAgentHistoryRequest(server string, agentName string) (*http.Request, error)
- func NewListAgentsHistoryRequest(server string) (*http.Request, error)
- func NewListAgentsRequest(server string, params *ListAgentsParams) (*http.Request, error)
- func NewListAllPendingInvitationsRequest(server string) (*http.Request, error)
- func NewListApiKeysForServiceAccountRequest(server string, clientId string) (*http.Request, error)
- func NewListEnvironmentsRequest(server string) (*http.Request, error)
- func NewListFunctionsRequest(server string, params *ListFunctionsParams) (*http.Request, error)
- func NewListIntegrationConnectionModelsRequest(server string, connectionName string) (*http.Request, error)
- func NewListIntegrationConnectionsRequest(server string) (*http.Request, error)
- func NewListIntegrationModelsRequest(server string, integrationName string) (*http.Request, error)
- func NewListLocationsRequest(server string) (*http.Request, error)
- func NewListModelsRequest(server string, params *ListModelsParams) (*http.Request, error)
- func NewListPoliciesRequest(server string) (*http.Request, error)
- func NewListPrivateClustersRequest(server string) (*http.Request, error)
- func NewListStoreAgentsRequest(server string) (*http.Request, error)
- func NewListStoreFunctionsRequest(server string) (*http.Request, error)
- func NewListWorkspaceUsersRequest(server string) (*http.Request, error)
- func NewListWorkspacesRequest(server string) (*http.Request, error)
- func NewPutAgentHistoryRequest(server string, agentName string, requestId string, ...) (*http.Request, error)
- func NewPutAgentHistoryRequestWithBody(server string, agentName string, requestId string, contentType string, ...) (*http.Request, error)
- func NewReleaseModelRequest(server string, modelName string) (*http.Request, error)
- func NewRemoveWorkspaceUserRequest(server string, subOrEmail string) (*http.Request, error)
- func NewRunRequest(RunServer string, method string, path string, headers map[string]string, ...) (*http.Request, error)
- func NewUpdateAccountRequest(server string, accountId string, body UpdateAccountJSONRequestBody) (*http.Request, error)
- func NewUpdateAccountRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateAgentRequest(server string, agentName string, body UpdateAgentJSONRequestBody) (*http.Request, error)
- func NewUpdateAgentRequestWithBody(server string, agentName string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateEnvironmentRequest(server string, environmentName string, body UpdateEnvironmentJSONRequestBody) (*http.Request, error)
- func NewUpdateEnvironmentRequestWithBody(server string, environmentName string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateFunctionRequest(server string, functionName string, body UpdateFunctionJSONRequestBody) (*http.Request, error)
- func NewUpdateFunctionRequestWithBody(server string, functionName string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateIntegrationConnectionRequest(server string, connectionName string, ...) (*http.Request, error)
- func NewUpdateIntegrationConnectionRequestWithBody(server string, connectionName string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateModelRequest(server string, modelName string, body UpdateModelJSONRequestBody) (*http.Request, error)
- func NewUpdateModelRequestWithBody(server string, modelName string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdatePolicyRequest(server string, policyName string, body UpdatePolicyJSONRequestBody) (*http.Request, error)
- func NewUpdatePolicyRequestWithBody(server string, policyName string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdatePrivateClusterHealthRequest(server string, privateClusterName string) (*http.Request, error)
- func NewUpdatePrivateClusterRequest(server string, privateClusterName string) (*http.Request, error)
- func NewUpdateWorkspaceRequest(server string, workspaceName string, body UpdateWorkspaceJSONRequestBody) (*http.Request, error)
- func NewUpdateWorkspaceRequestWithBody(server string, workspaceName string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateWorkspaceServiceAccountRequest(server string, clientId string, ...) (*http.Request, error)
- func NewUpdateWorkspaceServiceAccountRequestWithBody(server string, clientId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateWorkspaceUserRoleRequest(server string, subOrEmail string, body UpdateWorkspaceUserRoleJSONRequestBody) (*http.Request, error)
- func NewUpdateWorkspaceUserRoleRequestWithBody(server string, subOrEmail string, contentType string, body io.Reader) (*http.Request, error)
- func NewWorkspaceQuotasRequestRequest(server string, workspaceName string) (*http.Request, error)
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- func SaveCredentials(workspaceName string, credentials Credentials)
- func SetCurrentWorkspace(workspaceName string, environment string)
- type AcceptWorkspaceInvitationResponse
- type Account
- type AccountSpec
- type Agent
- type AgentChain
- type AgentChains
- type AgentHistory
- type AgentHistoryEvent
- type AgentRelease
- type AgentSpec
- type ApiKey
- type ApiKeyAuth
- type ArrayMetric
- type AuthProvider
- type BearerToken
- type Client
- func (c *Client) AcceptWorkspaceInvitation(ctx context.Context, workspaceName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) BootChat(ctx context.Context, workspace string, environment string, resourceType string, ...) error
- func (c *Client) Chat(ctx context.Context, workspace string, environment string, resourceType string, ...) error
- func (c *Client) CheckResource(ctx context.Context, workspace string, environment string, resourceType string, ...) error
- func (c *Client) CreateAccount(ctx context.Context, body CreateAccountJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateAccountWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateAgent(ctx context.Context, body CreateAgentJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateAgentRelease(ctx context.Context, agentName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CreateAgentWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateApiKeyForServiceAccount(ctx context.Context, clientId string, ...) (*http.Response, error)
- func (c *Client) CreateApiKeyForServiceAccountWithBody(ctx context.Context, clientId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateEnvironment(ctx context.Context, body CreateEnvironmentJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateEnvironmentWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateFunction(ctx context.Context, body CreateFunctionJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateFunctionRelease(ctx context.Context, functionName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CreateFunctionWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateIntegrationConnection(ctx context.Context, body CreateIntegrationConnectionJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateIntegrationConnectionWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateModel(ctx context.Context, body CreateModelJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateModelWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreatePolicy(ctx context.Context, body CreatePolicyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreatePolicyWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreatePrivateCluster(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CreateWorkspaceServiceAccount(ctx context.Context, body CreateWorkspaceServiceAccountJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateWorkspaceServiceAccountWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateWorspace(ctx context.Context, body CreateWorspaceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateWorspaceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeclineWorkspaceInvitation(ctx context.Context, workspaceName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteAccount(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteAgent(ctx context.Context, agentName string, params *DeleteAgentParams, ...) (*http.Response, error)
- func (c *Client) DeleteAgentHistory(ctx context.Context, agentName string, requestId string, ...) (*http.Response, error)
- func (c *Client) DeleteApiKeyForServiceAccount(ctx context.Context, clientId string, apiKeyId string, ...) (*http.Response, error)
- func (c *Client) DeleteEnvironment(ctx context.Context, environmentName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteFunction(ctx context.Context, functionName string, params *DeleteFunctionParams, ...) (*http.Response, error)
- func (c *Client) DeleteIntegrationConnection(ctx context.Context, connectionName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteModel(ctx context.Context, modelName string, params *DeleteModelParams, ...) (*http.Response, error)
- func (c *Client) DeletePolicy(ctx context.Context, policyName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeletePrivateCluster(ctx context.Context, privateClusterName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteWorkspace(ctx context.Context, workspaceName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteWorkspaceServiceAccount(ctx context.Context, clientId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAccount(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAgent(ctx context.Context, agentName string, params *GetAgentParams, ...) (*http.Response, error)
- func (c *Client) GetAgentEnvironmentLogs(ctx context.Context, agentName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAgentHistory(ctx context.Context, agentName string, requestId string, ...) (*http.Response, error)
- func (c *Client) GetAgentMetrics(ctx context.Context, agentName string, params *GetAgentMetricsParams, ...) (*http.Response, error)
- func (c *Client) GetAgentTraceIds(ctx context.Context, agentName string, params *GetAgentTraceIdsParams, ...) (*http.Response, error)
- func (c *Client) GetAgentsHistory(ctx context.Context, requestId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetConfiguration(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetEnvironment(ctx context.Context, environmentName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetEnvironmentMetrics(ctx context.Context, environmentName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetFunction(ctx context.Context, functionName string, params *GetFunctionParams, ...) (*http.Response, error)
- func (c *Client) GetFunctionEnvironmentLogs(ctx context.Context, functionName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetFunctionMetrics(ctx context.Context, functionName string, params *GetFunctionMetricsParams, ...) (*http.Response, error)
- func (c *Client) GetFunctionTraceIds(ctx context.Context, functionName string, params *GetFunctionTraceIdsParams, ...) (*http.Response, error)
- func (c *Client) GetIntegration(ctx context.Context, integrationName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIntegrationConnection(ctx context.Context, connectionName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIntegrationConnectionModel(ctx context.Context, connectionName string, modelId string, ...) (*http.Response, error)
- func (c *Client) GetIntegrationModel(ctx context.Context, integrationName string, modelId string, ...) (*http.Response, error)
- func (c *Client) GetMetrics(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetModel(ctx context.Context, modelName string, params *GetModelParams, ...) (*http.Response, error)
- func (c *Client) GetModelEnvironmentLogs(ctx context.Context, modelName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetModelMetrics(ctx context.Context, modelName string, params *GetModelMetricsParams, ...) (*http.Response, error)
- func (c *Client) GetModelTraceIds(ctx context.Context, modelName string, params *GetModelTraceIdsParams, ...) (*http.Response, error)
- func (c *Client) GetPolicy(ctx context.Context, policyName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPrivateCluster(ctx context.Context, privateClusterName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPrivateClusterHealth(ctx context.Context, privateClusterName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetStoreAgent(ctx context.Context, agentName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetStoreFunction(ctx context.Context, functionName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTrace(ctx context.Context, traceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTraceIds(ctx context.Context, params *GetTraceIdsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTraceLogs(ctx context.Context, traceId string, params *GetTraceLogsParams, ...) (*http.Response, error)
- func (c *Client) GetWorkspace(ctx context.Context, workspaceName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetWorkspaceServiceAccounts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) InviteWorkspaceUser(ctx context.Context, body InviteWorkspaceUserJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) InviteWorkspaceUserWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) LeaveWorkspace(ctx context.Context, workspaceName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListAccounts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListAgentHistory(ctx context.Context, agentName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListAgents(ctx context.Context, params *ListAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListAgentsHistory(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListAllPendingInvitations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListApiKeysForServiceAccount(ctx context.Context, clientId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListEnvironments(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListFunctions(ctx context.Context, params *ListFunctionsParams, ...) (*http.Response, error)
- func (c *Client) ListIntegrationConnectionModels(ctx context.Context, connectionName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListIntegrationConnections(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListIntegrationModels(ctx context.Context, integrationName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListLocations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListModels(ctx context.Context, params *ListModelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListPolicies(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListPrivateClusters(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListStoreAgents(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListStoreFunctions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListWorkspaceUsers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListWorkspaces(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PutAgentHistory(ctx context.Context, agentName string, requestId string, ...) (*http.Response, error)
- func (c *Client) PutAgentHistoryWithBody(ctx context.Context, agentName string, requestId string, contentType string, ...) (*http.Response, error)
- func (c *Client) ReleaseModel(ctx context.Context, modelName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RemoveWorkspaceUser(ctx context.Context, subOrEmail string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) Run(ctx context.Context, workspaceName string, environment string, ...) (*http.Response, error)
- func (c *Client) SendMessage(ctx context.Context, workspace string, environment string, resourceType string, ...) (string, error)
- func (c *Client) UpdateAccount(ctx context.Context, accountId string, body UpdateAccountJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateAccountWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateAgent(ctx context.Context, agentName string, body UpdateAgentJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateAgentWithBody(ctx context.Context, agentName string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateEnvironment(ctx context.Context, environmentName string, ...) (*http.Response, error)
- func (c *Client) UpdateEnvironmentWithBody(ctx context.Context, environmentName string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateFunction(ctx context.Context, functionName string, body UpdateFunctionJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateFunctionWithBody(ctx context.Context, functionName string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateIntegrationConnection(ctx context.Context, connectionName string, ...) (*http.Response, error)
- func (c *Client) UpdateIntegrationConnectionWithBody(ctx context.Context, connectionName string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateModel(ctx context.Context, modelName string, body UpdateModelJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateModelWithBody(ctx context.Context, modelName string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdatePolicy(ctx context.Context, policyName string, body UpdatePolicyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdatePolicyWithBody(ctx context.Context, policyName string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdatePrivateCluster(ctx context.Context, privateClusterName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UpdatePrivateClusterHealth(ctx context.Context, privateClusterName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UpdateWorkspace(ctx context.Context, workspaceName string, body UpdateWorkspaceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateWorkspaceServiceAccount(ctx context.Context, clientId string, ...) (*http.Response, error)
- func (c *Client) UpdateWorkspaceServiceAccountWithBody(ctx context.Context, clientId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateWorkspaceUserRole(ctx context.Context, subOrEmail string, ...) (*http.Response, error)
- func (c *Client) UpdateWorkspaceUserRoleWithBody(ctx context.Context, subOrEmail string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateWorkspaceWithBody(ctx context.Context, workspaceName string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) WorkspaceQuotasRequest(ctx context.Context, workspaceName string, reqEditors ...RequestEditorFn) (*http.Response, error)
- type ClientCredentials
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) AcceptWorkspaceInvitationWithResponse(ctx context.Context, workspaceName string, reqEditors ...RequestEditorFn) (*AcceptWorkspaceInvitationResponse, error)
- func (c *ClientWithResponses) CreateAccountWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateAccountResponse, error)
- func (c *ClientWithResponses) CreateAccountWithResponse(ctx context.Context, body CreateAccountJSONRequestBody, ...) (*CreateAccountResponse, error)
- func (c *ClientWithResponses) CreateAgentReleaseWithResponse(ctx context.Context, agentName string, reqEditors ...RequestEditorFn) (*CreateAgentReleaseResponse, error)
- func (c *ClientWithResponses) CreateAgentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateAgentResponse, error)
- func (c *ClientWithResponses) CreateAgentWithResponse(ctx context.Context, body CreateAgentJSONRequestBody, ...) (*CreateAgentResponse, error)
- func (c *ClientWithResponses) CreateApiKeyForServiceAccountWithBodyWithResponse(ctx context.Context, clientId string, contentType string, body io.Reader, ...) (*CreateApiKeyForServiceAccountResponse, error)
- func (c *ClientWithResponses) CreateApiKeyForServiceAccountWithResponse(ctx context.Context, clientId string, ...) (*CreateApiKeyForServiceAccountResponse, error)
- func (c *ClientWithResponses) CreateEnvironmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateEnvironmentResponse, error)
- func (c *ClientWithResponses) CreateEnvironmentWithResponse(ctx context.Context, body CreateEnvironmentJSONRequestBody, ...) (*CreateEnvironmentResponse, error)
- func (c *ClientWithResponses) CreateFunctionReleaseWithResponse(ctx context.Context, functionName string, reqEditors ...RequestEditorFn) (*CreateFunctionReleaseResponse, error)
- func (c *ClientWithResponses) CreateFunctionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateFunctionResponse, error)
- func (c *ClientWithResponses) CreateFunctionWithResponse(ctx context.Context, body CreateFunctionJSONRequestBody, ...) (*CreateFunctionResponse, error)
- func (c *ClientWithResponses) CreateIntegrationConnectionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateIntegrationConnectionResponse, error)
- func (c *ClientWithResponses) CreateIntegrationConnectionWithResponse(ctx context.Context, body CreateIntegrationConnectionJSONRequestBody, ...) (*CreateIntegrationConnectionResponse, error)
- func (c *ClientWithResponses) CreateModelWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateModelResponse, error)
- func (c *ClientWithResponses) CreateModelWithResponse(ctx context.Context, body CreateModelJSONRequestBody, ...) (*CreateModelResponse, error)
- func (c *ClientWithResponses) CreatePolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreatePolicyResponse, error)
- func (c *ClientWithResponses) CreatePolicyWithResponse(ctx context.Context, body CreatePolicyJSONRequestBody, ...) (*CreatePolicyResponse, error)
- func (c *ClientWithResponses) CreatePrivateClusterWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*CreatePrivateClusterResponse, error)
- func (c *ClientWithResponses) CreateWorkspaceServiceAccountWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateWorkspaceServiceAccountResponse, error)
- func (c *ClientWithResponses) CreateWorkspaceServiceAccountWithResponse(ctx context.Context, body CreateWorkspaceServiceAccountJSONRequestBody, ...) (*CreateWorkspaceServiceAccountResponse, error)
- func (c *ClientWithResponses) CreateWorspaceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateWorspaceResponse, error)
- func (c *ClientWithResponses) CreateWorspaceWithResponse(ctx context.Context, body CreateWorspaceJSONRequestBody, ...) (*CreateWorspaceResponse, error)
- func (c *ClientWithResponses) DeclineWorkspaceInvitationWithResponse(ctx context.Context, workspaceName string, reqEditors ...RequestEditorFn) (*DeclineWorkspaceInvitationResponse, error)
- func (c *ClientWithResponses) DeleteAccountWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*DeleteAccountResponse, error)
- func (c *ClientWithResponses) DeleteAgentHistoryWithResponse(ctx context.Context, agentName string, requestId string, ...) (*DeleteAgentHistoryResponse, error)
- func (c *ClientWithResponses) DeleteAgentWithResponse(ctx context.Context, agentName string, params *DeleteAgentParams, ...) (*DeleteAgentResponse, error)
- func (c *ClientWithResponses) DeleteApiKeyForServiceAccountWithResponse(ctx context.Context, clientId string, apiKeyId string, ...) (*DeleteApiKeyForServiceAccountResponse, error)
- func (c *ClientWithResponses) DeleteEnvironmentWithResponse(ctx context.Context, environmentName string, reqEditors ...RequestEditorFn) (*DeleteEnvironmentResponse, error)
- func (c *ClientWithResponses) DeleteFunctionWithResponse(ctx context.Context, functionName string, params *DeleteFunctionParams, ...) (*DeleteFunctionResponse, error)
- func (c *ClientWithResponses) DeleteIntegrationConnectionWithResponse(ctx context.Context, connectionName string, reqEditors ...RequestEditorFn) (*DeleteIntegrationConnectionResponse, error)
- func (c *ClientWithResponses) DeleteModelWithResponse(ctx context.Context, modelName string, params *DeleteModelParams, ...) (*DeleteModelResponse, error)
- func (c *ClientWithResponses) DeletePolicyWithResponse(ctx context.Context, policyName string, reqEditors ...RequestEditorFn) (*DeletePolicyResponse, error)
- func (c *ClientWithResponses) DeletePrivateClusterWithResponse(ctx context.Context, privateClusterName string, reqEditors ...RequestEditorFn) (*DeletePrivateClusterResponse, error)
- func (c *ClientWithResponses) DeleteWorkspaceServiceAccountWithResponse(ctx context.Context, clientId string, reqEditors ...RequestEditorFn) (*DeleteWorkspaceServiceAccountResponse, error)
- func (c *ClientWithResponses) DeleteWorkspaceWithResponse(ctx context.Context, workspaceName string, reqEditors ...RequestEditorFn) (*DeleteWorkspaceResponse, error)
- func (c *ClientWithResponses) GetAccountWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetAccountResponse, error)
- func (c *ClientWithResponses) GetAgentEnvironmentLogsWithResponse(ctx context.Context, agentName string, reqEditors ...RequestEditorFn) (*GetAgentEnvironmentLogsResponse, error)
- func (c *ClientWithResponses) GetAgentHistoryWithResponse(ctx context.Context, agentName string, requestId string, ...) (*GetAgentHistoryResponse, error)
- func (c *ClientWithResponses) GetAgentMetricsWithResponse(ctx context.Context, agentName string, params *GetAgentMetricsParams, ...) (*GetAgentMetricsResponse, error)
- func (c *ClientWithResponses) GetAgentTraceIdsWithResponse(ctx context.Context, agentName string, params *GetAgentTraceIdsParams, ...) (*GetAgentTraceIdsResponse, error)
- func (c *ClientWithResponses) GetAgentWithResponse(ctx context.Context, agentName string, params *GetAgentParams, ...) (*GetAgentResponse, error)
- func (c *ClientWithResponses) GetAgentsHistoryWithResponse(ctx context.Context, requestId string, reqEditors ...RequestEditorFn) (*GetAgentsHistoryResponse, error)
- func (c *ClientWithResponses) GetConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetConfigurationResponse, error)
- func (c *ClientWithResponses) GetEnvironmentMetricsWithResponse(ctx context.Context, environmentName string, reqEditors ...RequestEditorFn) (*GetEnvironmentMetricsResponse, error)
- func (c *ClientWithResponses) GetEnvironmentWithResponse(ctx context.Context, environmentName string, reqEditors ...RequestEditorFn) (*GetEnvironmentResponse, error)
- func (c *ClientWithResponses) GetFunctionEnvironmentLogsWithResponse(ctx context.Context, functionName string, reqEditors ...RequestEditorFn) (*GetFunctionEnvironmentLogsResponse, error)
- func (c *ClientWithResponses) GetFunctionMetricsWithResponse(ctx context.Context, functionName string, params *GetFunctionMetricsParams, ...) (*GetFunctionMetricsResponse, error)
- func (c *ClientWithResponses) GetFunctionTraceIdsWithResponse(ctx context.Context, functionName string, params *GetFunctionTraceIdsParams, ...) (*GetFunctionTraceIdsResponse, error)
- func (c *ClientWithResponses) GetFunctionWithResponse(ctx context.Context, functionName string, params *GetFunctionParams, ...) (*GetFunctionResponse, error)
- func (c *ClientWithResponses) GetIntegrationConnectionModelWithResponse(ctx context.Context, connectionName string, modelId string, ...) (*GetIntegrationConnectionModelResponse, error)
- func (c *ClientWithResponses) GetIntegrationConnectionWithResponse(ctx context.Context, connectionName string, reqEditors ...RequestEditorFn) (*GetIntegrationConnectionResponse, error)
- func (c *ClientWithResponses) GetIntegrationModelWithResponse(ctx context.Context, integrationName string, modelId string, ...) (*GetIntegrationModelResponse, error)
- func (c *ClientWithResponses) GetIntegrationWithResponse(ctx context.Context, integrationName string, reqEditors ...RequestEditorFn) (*GetIntegrationResponse, error)
- func (c *ClientWithResponses) GetMetricsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMetricsResponse, error)
- func (c *ClientWithResponses) GetModelEnvironmentLogsWithResponse(ctx context.Context, modelName string, reqEditors ...RequestEditorFn) (*GetModelEnvironmentLogsResponse, error)
- func (c *ClientWithResponses) GetModelMetricsWithResponse(ctx context.Context, modelName string, params *GetModelMetricsParams, ...) (*GetModelMetricsResponse, error)
- func (c *ClientWithResponses) GetModelTraceIdsWithResponse(ctx context.Context, modelName string, params *GetModelTraceIdsParams, ...) (*GetModelTraceIdsResponse, error)
- func (c *ClientWithResponses) GetModelWithResponse(ctx context.Context, modelName string, params *GetModelParams, ...) (*GetModelResponse, error)
- func (c *ClientWithResponses) GetPolicyWithResponse(ctx context.Context, policyName string, reqEditors ...RequestEditorFn) (*GetPolicyResponse, error)
- func (c *ClientWithResponses) GetPrivateClusterHealthWithResponse(ctx context.Context, privateClusterName string, reqEditors ...RequestEditorFn) (*GetPrivateClusterHealthResponse, error)
- func (c *ClientWithResponses) GetPrivateClusterWithResponse(ctx context.Context, privateClusterName string, reqEditors ...RequestEditorFn) (*GetPrivateClusterResponse, error)
- func (c *ClientWithResponses) GetStoreAgentWithResponse(ctx context.Context, agentName string, reqEditors ...RequestEditorFn) (*GetStoreAgentResponse, error)
- func (c *ClientWithResponses) GetStoreFunctionWithResponse(ctx context.Context, functionName string, reqEditors ...RequestEditorFn) (*GetStoreFunctionResponse, error)
- func (c *ClientWithResponses) GetTraceIdsWithResponse(ctx context.Context, params *GetTraceIdsParams, reqEditors ...RequestEditorFn) (*GetTraceIdsResponse, error)
- func (c *ClientWithResponses) GetTraceLogsWithResponse(ctx context.Context, traceId string, params *GetTraceLogsParams, ...) (*GetTraceLogsResponse, error)
- func (c *ClientWithResponses) GetTraceWithResponse(ctx context.Context, traceId string, reqEditors ...RequestEditorFn) (*GetTraceResponse, error)
- func (c *ClientWithResponses) GetWorkspaceServiceAccountsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWorkspaceServiceAccountsResponse, error)
- func (c *ClientWithResponses) GetWorkspaceWithResponse(ctx context.Context, workspaceName string, reqEditors ...RequestEditorFn) (*GetWorkspaceResponse, error)
- func (c *ClientWithResponses) InviteWorkspaceUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*InviteWorkspaceUserResponse, error)
- func (c *ClientWithResponses) InviteWorkspaceUserWithResponse(ctx context.Context, body InviteWorkspaceUserJSONRequestBody, ...) (*InviteWorkspaceUserResponse, error)
- func (c *ClientWithResponses) LeaveWorkspaceWithResponse(ctx context.Context, workspaceName string, reqEditors ...RequestEditorFn) (*LeaveWorkspaceResponse, error)
- func (c *ClientWithResponses) ListAccountsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAccountsResponse, error)
- func (c *ClientWithResponses) ListAgentHistoryWithResponse(ctx context.Context, agentName string, reqEditors ...RequestEditorFn) (*ListAgentHistoryResponse, error)
- func (c *ClientWithResponses) ListAgentsHistoryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAgentsHistoryResponse, error)
- func (c *ClientWithResponses) ListAgentsWithResponse(ctx context.Context, params *ListAgentsParams, reqEditors ...RequestEditorFn) (*ListAgentsResponse, error)
- func (c *ClientWithResponses) ListAllPendingInvitationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAllPendingInvitationsResponse, error)
- func (c *ClientWithResponses) ListApiKeysForServiceAccountWithResponse(ctx context.Context, clientId string, reqEditors ...RequestEditorFn) (*ListApiKeysForServiceAccountResponse, error)
- func (c *ClientWithResponses) ListEnvironmentsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListEnvironmentsResponse, error)
- func (c *ClientWithResponses) ListFunctionsWithResponse(ctx context.Context, params *ListFunctionsParams, ...) (*ListFunctionsResponse, error)
- func (c *ClientWithResponses) ListIntegrationConnectionModelsWithResponse(ctx context.Context, connectionName string, reqEditors ...RequestEditorFn) (*ListIntegrationConnectionModelsResponse, error)
- func (c *ClientWithResponses) ListIntegrationConnectionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListIntegrationConnectionsResponse, error)
- func (c *ClientWithResponses) ListIntegrationModelsWithResponse(ctx context.Context, integrationName string, reqEditors ...RequestEditorFn) (*ListIntegrationModelsResponse, error)
- func (c *ClientWithResponses) ListLocationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListLocationsResponse, error)
- func (c *ClientWithResponses) ListModelsWithResponse(ctx context.Context, params *ListModelsParams, reqEditors ...RequestEditorFn) (*ListModelsResponse, error)
- func (c *ClientWithResponses) ListPoliciesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPoliciesResponse, error)
- func (c *ClientWithResponses) ListPrivateClustersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPrivateClustersResponse, error)
- func (c *ClientWithResponses) ListStoreAgentsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListStoreAgentsResponse, error)
- func (c *ClientWithResponses) ListStoreFunctionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListStoreFunctionsResponse, error)
- func (c *ClientWithResponses) ListWorkspaceUsersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListWorkspaceUsersResponse, error)
- func (c *ClientWithResponses) ListWorkspacesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListWorkspacesResponse, error)
- func (c *ClientWithResponses) PutAgentHistoryWithBodyWithResponse(ctx context.Context, agentName string, requestId string, contentType string, ...) (*PutAgentHistoryResponse, error)
- func (c *ClientWithResponses) PutAgentHistoryWithResponse(ctx context.Context, agentName string, requestId string, ...) (*PutAgentHistoryResponse, error)
- func (c *ClientWithResponses) RegisterCliCommands(reg register.Register, ctx context.Context)
- func (c *ClientWithResponses) ReleaseModelWithResponse(ctx context.Context, modelName string, reqEditors ...RequestEditorFn) (*ReleaseModelResponse, error)
- func (c *ClientWithResponses) RemoveWorkspaceUserWithResponse(ctx context.Context, subOrEmail string, reqEditors ...RequestEditorFn) (*RemoveWorkspaceUserResponse, error)
- func (c *ClientWithResponses) UpdateAccountWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, ...) (*UpdateAccountResponse, error)
- func (c *ClientWithResponses) UpdateAccountWithResponse(ctx context.Context, accountId string, body UpdateAccountJSONRequestBody, ...) (*UpdateAccountResponse, error)
- func (c *ClientWithResponses) UpdateAgentWithBodyWithResponse(ctx context.Context, agentName string, contentType string, body io.Reader, ...) (*UpdateAgentResponse, error)
- func (c *ClientWithResponses) UpdateAgentWithResponse(ctx context.Context, agentName string, body UpdateAgentJSONRequestBody, ...) (*UpdateAgentResponse, error)
- func (c *ClientWithResponses) UpdateEnvironmentWithBodyWithResponse(ctx context.Context, environmentName string, contentType string, ...) (*UpdateEnvironmentResponse, error)
- func (c *ClientWithResponses) UpdateEnvironmentWithResponse(ctx context.Context, environmentName string, ...) (*UpdateEnvironmentResponse, error)
- func (c *ClientWithResponses) UpdateFunctionWithBodyWithResponse(ctx context.Context, functionName string, contentType string, body io.Reader, ...) (*UpdateFunctionResponse, error)
- func (c *ClientWithResponses) UpdateFunctionWithResponse(ctx context.Context, functionName string, body UpdateFunctionJSONRequestBody, ...) (*UpdateFunctionResponse, error)
- func (c *ClientWithResponses) UpdateIntegrationConnectionWithBodyWithResponse(ctx context.Context, connectionName string, contentType string, body io.Reader, ...) (*UpdateIntegrationConnectionResponse, error)
- func (c *ClientWithResponses) UpdateIntegrationConnectionWithResponse(ctx context.Context, connectionName string, ...) (*UpdateIntegrationConnectionResponse, error)
- func (c *ClientWithResponses) UpdateModelWithBodyWithResponse(ctx context.Context, modelName string, contentType string, body io.Reader, ...) (*UpdateModelResponse, error)
- func (c *ClientWithResponses) UpdateModelWithResponse(ctx context.Context, modelName string, body UpdateModelJSONRequestBody, ...) (*UpdateModelResponse, error)
- func (c *ClientWithResponses) UpdatePolicyWithBodyWithResponse(ctx context.Context, policyName string, contentType string, body io.Reader, ...) (*UpdatePolicyResponse, error)
- func (c *ClientWithResponses) UpdatePolicyWithResponse(ctx context.Context, policyName string, body UpdatePolicyJSONRequestBody, ...) (*UpdatePolicyResponse, error)
- func (c *ClientWithResponses) UpdatePrivateClusterHealthWithResponse(ctx context.Context, privateClusterName string, reqEditors ...RequestEditorFn) (*UpdatePrivateClusterHealthResponse, error)
- func (c *ClientWithResponses) UpdatePrivateClusterWithResponse(ctx context.Context, privateClusterName string, reqEditors ...RequestEditorFn) (*UpdatePrivateClusterResponse, error)
- func (c *ClientWithResponses) UpdateWorkspaceServiceAccountWithBodyWithResponse(ctx context.Context, clientId string, contentType string, body io.Reader, ...) (*UpdateWorkspaceServiceAccountResponse, error)
- func (c *ClientWithResponses) UpdateWorkspaceServiceAccountWithResponse(ctx context.Context, clientId string, ...) (*UpdateWorkspaceServiceAccountResponse, error)
- func (c *ClientWithResponses) UpdateWorkspaceUserRoleWithBodyWithResponse(ctx context.Context, subOrEmail string, contentType string, body io.Reader, ...) (*UpdateWorkspaceUserRoleResponse, error)
- func (c *ClientWithResponses) UpdateWorkspaceUserRoleWithResponse(ctx context.Context, subOrEmail string, ...) (*UpdateWorkspaceUserRoleResponse, error)
- func (c *ClientWithResponses) UpdateWorkspaceWithBodyWithResponse(ctx context.Context, workspaceName string, contentType string, body io.Reader, ...) (*UpdateWorkspaceResponse, error)
- func (c *ClientWithResponses) UpdateWorkspaceWithResponse(ctx context.Context, workspaceName string, body UpdateWorkspaceJSONRequestBody, ...) (*UpdateWorkspaceResponse, error)
- func (c *ClientWithResponses) WorkspaceQuotasRequestWithResponse(ctx context.Context, workspaceName string, reqEditors ...RequestEditorFn) (*WorkspaceQuotasRequestResponse, error)
- type ClientWithResponsesInterface
- type Config
- type Configuration
- type ContextConfig
- type CoreEvent
- type CoreEvents
- type CoreSpec
- type CreateAccountJSONRequestBody
- type CreateAccountResponse
- type CreateAgentJSONRequestBody
- type CreateAgentReleaseResponse
- type CreateAgentResponse
- type CreateApiKeyForServiceAccountJSONBody
- type CreateApiKeyForServiceAccountJSONRequestBody
- type CreateApiKeyForServiceAccountResponse
- type CreateEnvironmentJSONRequestBody
- type CreateEnvironmentResponse
- type CreateFunctionJSONRequestBody
- type CreateFunctionReleaseResponse
- type CreateFunctionResponse
- type CreateIntegrationConnectionJSONRequestBody
- type CreateIntegrationConnectionResponse
- type CreateModelJSONRequestBody
- type CreateModelResponse
- type CreatePolicyJSONRequestBody
- type CreatePolicyResponse
- type CreatePrivateClusterResponse
- type CreateWorkspaceServiceAccountJSONBody
- type CreateWorkspaceServiceAccountJSONRequestBody
- type CreateWorkspaceServiceAccountResponse
- type CreateWorspaceJSONRequestBody
- type CreateWorspaceResponse
- type Credentials
- type DeclineWorkspaceInvitationResponse
- type DeleteAccountResponse
- type DeleteAgentHistoryResponse
- type DeleteAgentParams
- type DeleteAgentResponse
- type DeleteApiKeyForServiceAccountResponse
- type DeleteEnvironmentResponse
- type DeleteFunctionParams
- type DeleteFunctionResponse
- type DeleteIntegrationConnectionResponse
- type DeleteModelParams
- type DeleteModelResponse
- type DeletePolicyResponse
- type DeletePrivateClusterResponse
- type DeleteWorkspaceResponse
- type DeleteWorkspaceServiceAccountResponse
- type DeviceLogin
- type DeviceLoginFinalizeRequest
- type DeviceLoginFinalizeResponse
- type DeviceLoginResponse
- type Environment
- type EnvironmentMetadata
- type EnvironmentMetrics
- type EnvironmentSpec
- type Flavor
- type Flavors
- type Function
- type FunctionKit
- type FunctionRelease
- type FunctionSpec
- type FunctionsList
- type GetAccountResponse
- type GetAgentEnvironmentLogsResponse
- type GetAgentHistoryResponse
- type GetAgentMetricsParams
- type GetAgentMetricsResponse
- type GetAgentParams
- type GetAgentResponse
- type GetAgentTraceIdsParams
- type GetAgentTraceIdsResponse
- type GetAgentsHistoryResponse
- type GetConfigurationResponse
- type GetEnvironmentMetricsResponse
- type GetEnvironmentResponse
- type GetFunctionEnvironmentLogsResponse
- type GetFunctionMetricsParams
- type GetFunctionMetricsResponse
- type GetFunctionParams
- type GetFunctionResponse
- type GetFunctionTraceIdsParams
- type GetFunctionTraceIdsResponse
- type GetIntegrationConnectionModelResponse
- type GetIntegrationConnectionResponse
- type GetIntegrationModelResponse
- type GetIntegrationResponse
- type GetMetricsResponse
- type GetModelEnvironmentLogsResponse
- type GetModelMetricsParams
- type GetModelMetricsResponse
- type GetModelParams
- type GetModelResponse
- type GetModelTraceIdsParams
- type GetModelTraceIdsResponse
- type GetPolicyResponse
- type GetPrivateClusterHealthResponse
- type GetPrivateClusterResponse
- type GetStoreAgentResponse
- type GetStoreFunctionResponse
- type GetTraceIdsParams
- type GetTraceIdsResponse
- type GetTraceLogsParams
- type GetTraceLogsResponse
- type GetTraceResponse
- type GetWorkspaceResponse
- type GetWorkspaceServiceAccountsResponse
- type HistogramBucket
- type HistogramStats
- type HttpRequestDoer
- type IntegrationConnection
- type IntegrationConnectionSpec
- type IntegrationConnectionsList
- type InviteWorkspaceUserJSONBody
- type InviteWorkspaceUserJSONRequestBody
- type InviteWorkspaceUserResponse
- type LatencyMetric
- type LeaveWorkspaceResponse
- type ListAccountsResponse
- type ListAgentHistoryResponse
- type ListAgentsHistoryResponse
- type ListAgentsParams
- type ListAgentsResponse
- type ListAllPendingInvitationsResponse
- type ListApiKeysForServiceAccountResponse
- type ListEnvironmentsResponse
- type ListFunctionsParams
- type ListFunctionsResponse
- type ListIntegrationConnectionModelsResponse
- type ListIntegrationConnectionsResponse
- type ListIntegrationModelsResponse
- type ListLocationsResponse
- type ListModelsParams
- type ListModelsResponse
- type ListPoliciesResponse
- type ListPrivateClustersResponse
- type ListStoreAgentsResponse
- type ListStoreFunctionsResponse
- type ListWorkspaceUsersResponse
- type ListWorkspacesResponse
- type LocationResponse
- type Metadata
- type MetadataLabels
- type Metric
- type Metrics
- type Model
- type ModelPrivateCluster
- type ModelRelease
- type ModelSpec
- type OwnerFields
- type PendingInvitation
- type PendingInvitationAccept
- type PendingInvitationRender
- type PendingInvitationRenderInvitedBy
- type PendingInvitationRenderWorkspace
- type PendingInvitationWorkspaceDetails
- type PodTemplateSpec
- type PoliciesList
- type Policy
- type PolicyLocation
- type PolicyLocations
- type PolicyMaxTokens
- type PolicyResourceType
- type PolicyResourceTypes
- type PolicySpec
- type PrivateCluster
- type PublicProvider
- type PutAgentHistoryJSONRequestBody
- type PutAgentHistoryResponse
- type Quotas
- type ReleaseModelResponse
- type RemoveWorkspaceUserResponse
- type Repository
- type RequestDurationOverTimeMetric
- type RequestDurationOverTimeMetrics
- type RequestEditorFn
- type RequestTotalByOriginMetric
- type ResourceEnvironmentMetrics
- type ResourceLog
- type RunClientWithCredentials
- type Runtime
- type ServerlessConfig
- type SpecConfiguration
- type StoreAgent
- type StoreConfiguration
- type StoreConfigurationOption
- type StoreFunction
- type StoreFunctionKit
- type StoreFunctionParameter
- type TimeFields
- type TokenRateMetric
- type TokenRateMetrics
- type TokenTotalMetric
- type TraceIdsResponse
- type UpdateAccountJSONRequestBody
- type UpdateAccountResponse
- type UpdateAgentJSONRequestBody
- type UpdateAgentResponse
- type UpdateEnvironmentJSONRequestBody
- type UpdateEnvironmentResponse
- type UpdateFunctionJSONRequestBody
- type UpdateFunctionResponse
- type UpdateIntegrationConnectionJSONRequestBody
- type UpdateIntegrationConnectionResponse
- type UpdateModelJSONRequestBody
- type UpdateModelResponse
- type UpdatePolicyJSONRequestBody
- type UpdatePolicyResponse
- type UpdatePrivateClusterHealthResponse
- type UpdatePrivateClusterResponse
- type UpdateWorkspaceJSONRequestBody
- type UpdateWorkspaceResponse
- type UpdateWorkspaceServiceAccountJSONBody
- type UpdateWorkspaceServiceAccountJSONRequestBody
- type UpdateWorkspaceServiceAccountResponse
- type UpdateWorkspaceUserRoleJSONBody
- type UpdateWorkspaceUserRoleJSONRequestBody
- type UpdateWorkspaceUserRoleResponse
- type Workspace
- type WorkspaceConfig
- type WorkspaceQuotasRequestResponse
- type WorkspaceUser
Constants ¶
const (
BearerAuthScopes = "BearerAuth.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func ClearCredentials ¶
func ClearCredentials(workspaceName string)
func GetSwagger ¶
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 NewAcceptWorkspaceInvitationRequest ¶
func NewAcceptWorkspaceInvitationRequest(server string, workspaceName string) (*http.Request, error)
NewAcceptWorkspaceInvitationRequest generates requests for AcceptWorkspaceInvitation
func NewCreateAccountRequest ¶ added in v0.0.48
func NewCreateAccountRequest(server string, body CreateAccountJSONRequestBody) (*http.Request, error)
NewCreateAccountRequest calls the generic CreateAccount builder with application/json body
func NewCreateAccountRequestWithBody ¶ added in v0.0.48
func NewCreateAccountRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateAccountRequestWithBody generates requests for CreateAccount with any type of body
func NewCreateAgentReleaseRequest ¶
NewCreateAgentReleaseRequest generates requests for CreateAgentRelease
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 NewCreateEnvironmentRequest ¶
func NewCreateEnvironmentRequest(server string, body CreateEnvironmentJSONRequestBody) (*http.Request, error)
NewCreateEnvironmentRequest calls the generic CreateEnvironment builder with application/json body
func NewCreateEnvironmentRequestWithBody ¶
func NewCreateEnvironmentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateEnvironmentRequestWithBody generates requests for CreateEnvironment with any type of body
func NewCreateFunctionReleaseRequest ¶
NewCreateFunctionReleaseRequest generates requests for CreateFunctionRelease
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 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 ¶
NewCreatePrivateClusterRequest generates requests for CreatePrivateCluster
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 NewDeleteAccountRequest ¶ added in v0.0.48
NewDeleteAccountRequest generates requests for DeleteAccount
func NewDeleteAgentHistoryRequest ¶
func NewDeleteAgentHistoryRequest(server string, agentName string, requestId string) (*http.Request, error)
NewDeleteAgentHistoryRequest generates requests for DeleteAgentHistory
func NewDeleteAgentRequest ¶
func NewDeleteAgentRequest(server string, agentName string, params *DeleteAgentParams) (*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 NewDeleteEnvironmentRequest ¶
NewDeleteEnvironmentRequest generates requests for DeleteEnvironment
func NewDeleteFunctionRequest ¶
func NewDeleteFunctionRequest(server string, functionName string, params *DeleteFunctionParams) (*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 NewDeleteModelRequest ¶
func NewDeleteModelRequest(server string, modelName string, params *DeleteModelParams) (*http.Request, error)
NewDeleteModelRequest generates requests for DeleteModel
func NewDeletePolicyRequest ¶
NewDeletePolicyRequest generates requests for DeletePolicy
func NewDeletePrivateClusterRequest ¶
func NewDeletePrivateClusterRequest(server string, privateClusterName string) (*http.Request, error)
NewDeletePrivateClusterRequest generates requests for DeletePrivateCluster
func NewDeleteWorkspaceRequest ¶
NewDeleteWorkspaceRequest generates requests for DeleteWorkspace
func NewDeleteWorkspaceServiceAccountRequest ¶
NewDeleteWorkspaceServiceAccountRequest generates requests for DeleteWorkspaceServiceAccount
func NewGetAccountRequest ¶ added in v0.0.48
NewGetAccountRequest generates requests for GetAccount
func NewGetAgentEnvironmentLogsRequest ¶
NewGetAgentEnvironmentLogsRequest generates requests for GetAgentEnvironmentLogs
func NewGetAgentHistoryRequest ¶
func NewGetAgentHistoryRequest(server string, agentName string, requestId string) (*http.Request, error)
NewGetAgentHistoryRequest generates requests for GetAgentHistory
func NewGetAgentMetricsRequest ¶
func NewGetAgentMetricsRequest(server string, agentName string, params *GetAgentMetricsParams) (*http.Request, error)
NewGetAgentMetricsRequest generates requests for GetAgentMetrics
func NewGetAgentRequest ¶
func NewGetAgentRequest(server string, agentName string, params *GetAgentParams) (*http.Request, error)
NewGetAgentRequest generates requests for GetAgent
func NewGetAgentTraceIdsRequest ¶
func NewGetAgentTraceIdsRequest(server string, agentName string, params *GetAgentTraceIdsParams) (*http.Request, error)
NewGetAgentTraceIdsRequest generates requests for GetAgentTraceIds
func NewGetAgentsHistoryRequest ¶
NewGetAgentsHistoryRequest generates requests for GetAgentsHistory
func NewGetConfigurationRequest ¶
NewGetConfigurationRequest generates requests for GetConfiguration
func NewGetEnvironmentMetricsRequest ¶
NewGetEnvironmentMetricsRequest generates requests for GetEnvironmentMetrics
func NewGetEnvironmentRequest ¶
NewGetEnvironmentRequest generates requests for GetEnvironment
func NewGetFunctionEnvironmentLogsRequest ¶
func NewGetFunctionEnvironmentLogsRequest(server string, functionName string) (*http.Request, error)
NewGetFunctionEnvironmentLogsRequest generates requests for GetFunctionEnvironmentLogs
func NewGetFunctionMetricsRequest ¶
func NewGetFunctionMetricsRequest(server string, functionName string, params *GetFunctionMetricsParams) (*http.Request, error)
NewGetFunctionMetricsRequest generates requests for GetFunctionMetrics
func NewGetFunctionRequest ¶
func NewGetFunctionRequest(server string, functionName string, params *GetFunctionParams) (*http.Request, error)
NewGetFunctionRequest generates requests for GetFunction
func NewGetFunctionTraceIdsRequest ¶
func NewGetFunctionTraceIdsRequest(server string, functionName string, params *GetFunctionTraceIdsParams) (*http.Request, error)
NewGetFunctionTraceIdsRequest generates requests for GetFunctionTraceIds
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 NewGetIntegrationModelRequest ¶
func NewGetIntegrationModelRequest(server string, integrationName string, modelId string) (*http.Request, error)
NewGetIntegrationModelRequest generates requests for GetIntegrationModel
func NewGetIntegrationRequest ¶
NewGetIntegrationRequest generates requests for GetIntegration
func NewGetMetricsRequest ¶
NewGetMetricsRequest generates requests for GetMetrics
func NewGetModelEnvironmentLogsRequest ¶
NewGetModelEnvironmentLogsRequest generates requests for GetModelEnvironmentLogs
func NewGetModelMetricsRequest ¶
func NewGetModelMetricsRequest(server string, modelName string, params *GetModelMetricsParams) (*http.Request, error)
NewGetModelMetricsRequest generates requests for GetModelMetrics
func NewGetModelRequest ¶
func NewGetModelRequest(server string, modelName string, params *GetModelParams) (*http.Request, error)
NewGetModelRequest generates requests for GetModel
func NewGetModelTraceIdsRequest ¶
func NewGetModelTraceIdsRequest(server string, modelName string, params *GetModelTraceIdsParams) (*http.Request, error)
NewGetModelTraceIdsRequest generates requests for GetModelTraceIds
func NewGetPolicyRequest ¶
NewGetPolicyRequest generates requests for GetPolicy
func NewGetPrivateClusterHealthRequest ¶
func NewGetPrivateClusterHealthRequest(server string, privateClusterName string) (*http.Request, error)
NewGetPrivateClusterHealthRequest generates requests for GetPrivateClusterHealth
func NewGetPrivateClusterRequest ¶
NewGetPrivateClusterRequest generates requests for GetPrivateCluster
func NewGetStoreAgentRequest ¶
NewGetStoreAgentRequest generates requests for GetStoreAgent
func NewGetStoreFunctionRequest ¶
NewGetStoreFunctionRequest generates requests for GetStoreFunction
func NewGetTraceIdsRequest ¶
func NewGetTraceIdsRequest(server string, params *GetTraceIdsParams) (*http.Request, error)
NewGetTraceIdsRequest generates requests for GetTraceIds
func NewGetTraceLogsRequest ¶
func NewGetTraceLogsRequest(server string, traceId string, params *GetTraceLogsParams) (*http.Request, error)
NewGetTraceLogsRequest generates requests for GetTraceLogs
func NewGetTraceRequest ¶
NewGetTraceRequest generates requests for GetTrace
func NewGetWorkspaceRequest ¶
NewGetWorkspaceRequest generates requests for GetWorkspace
func NewGetWorkspaceServiceAccountsRequest ¶
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 ¶
NewLeaveWorkspaceRequest generates requests for LeaveWorkspace
func NewListAccountsRequest ¶ added in v0.0.48
NewListAccountsRequest generates requests for ListAccounts
func NewListAgentHistoryRequest ¶
NewListAgentHistoryRequest generates requests for ListAgentHistory
func NewListAgentsHistoryRequest ¶
NewListAgentsHistoryRequest generates requests for ListAgentsHistory
func NewListAgentsRequest ¶
func NewListAgentsRequest(server string, params *ListAgentsParams) (*http.Request, error)
NewListAgentsRequest generates requests for ListAgents
func NewListAllPendingInvitationsRequest ¶
NewListAllPendingInvitationsRequest generates requests for ListAllPendingInvitations
func NewListApiKeysForServiceAccountRequest ¶
NewListApiKeysForServiceAccountRequest generates requests for ListApiKeysForServiceAccount
func NewListEnvironmentsRequest ¶
NewListEnvironmentsRequest generates requests for ListEnvironments
func NewListFunctionsRequest ¶
func NewListFunctionsRequest(server string, params *ListFunctionsParams) (*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 ¶
NewListIntegrationConnectionsRequest generates requests for ListIntegrationConnections
func NewListIntegrationModelsRequest ¶
NewListIntegrationModelsRequest generates requests for ListIntegrationModels
func NewListLocationsRequest ¶
NewListLocationsRequest generates requests for ListLocations
func NewListModelsRequest ¶
func NewListModelsRequest(server string, params *ListModelsParams) (*http.Request, error)
NewListModelsRequest generates requests for ListModels
func NewListPoliciesRequest ¶
NewListPoliciesRequest generates requests for ListPolicies
func NewListPrivateClustersRequest ¶
NewListPrivateClustersRequest generates requests for ListPrivateClusters
func NewListStoreAgentsRequest ¶
NewListStoreAgentsRequest generates requests for ListStoreAgents
func NewListStoreFunctionsRequest ¶
NewListStoreFunctionsRequest generates requests for ListStoreFunctions
func NewListWorkspaceUsersRequest ¶
NewListWorkspaceUsersRequest generates requests for ListWorkspaceUsers
func NewListWorkspacesRequest ¶
NewListWorkspacesRequest generates requests for ListWorkspaces
func NewPutAgentHistoryRequest ¶
func NewPutAgentHistoryRequest(server string, agentName string, requestId string, body PutAgentHistoryJSONRequestBody) (*http.Request, error)
NewPutAgentHistoryRequest calls the generic PutAgentHistory builder with application/json body
func NewPutAgentHistoryRequestWithBody ¶
func NewPutAgentHistoryRequestWithBody(server string, agentName string, requestId string, contentType string, body io.Reader) (*http.Request, error)
NewPutAgentHistoryRequestWithBody generates requests for PutAgentHistory with any type of body
func NewReleaseModelRequest ¶
NewReleaseModelRequest generates requests for ReleaseModel
func NewRemoveWorkspaceUserRequest ¶
NewRemoveWorkspaceUserRequest generates requests for RemoveWorkspaceUser
func NewRunRequest ¶
func NewUpdateAccountRequest ¶ added in v0.0.48
func NewUpdateAccountRequest(server string, accountId string, body UpdateAccountJSONRequestBody) (*http.Request, error)
NewUpdateAccountRequest calls the generic UpdateAccount builder with application/json body
func NewUpdateAccountRequestWithBody ¶ added in v0.0.48
func NewUpdateAccountRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateAccountRequestWithBody generates requests for UpdateAccount with any type of body
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 NewUpdateEnvironmentRequest ¶
func NewUpdateEnvironmentRequest(server string, environmentName string, body UpdateEnvironmentJSONRequestBody) (*http.Request, error)
NewUpdateEnvironmentRequest calls the generic UpdateEnvironment builder with application/json body
func NewUpdateEnvironmentRequestWithBody ¶
func NewUpdateEnvironmentRequestWithBody(server string, environmentName string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateEnvironmentRequestWithBody generates requests for UpdateEnvironment 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 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 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 NewWorkspaceQuotasRequestRequest ¶
NewWorkspaceQuotasRequestRequest generates requests for WorkspaceQuotasRequest
func PathToRawSpec ¶
Constructs a synthetic filesystem for resolving external references when loading openapi specifications.
func SaveCredentials ¶
func SaveCredentials(workspaceName string, credentials Credentials)
func SetCurrentWorkspace ¶
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 ¶
func (r AcceptWorkspaceInvitationResponse) Status() string
Status returns HTTPResponse.Status
func (AcceptWorkspaceInvitationResponse) StatusCode ¶
func (r AcceptWorkspaceInvitationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Account ¶ added in v0.0.48
type Account struct { // Address Billing address Address *map[string]interface{} `json:"address,omitempty"` // Admins Admins Admins *[]interface{} `json:"admins,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"` // Currency Currency Currency *string `json:"currency,omitempty"` // DisplayName Model display name DisplayName *string `json:"displayName,omitempty"` // Labels Labels Labels *MetadataLabels `json:"labels,omitempty"` Metadata *interface{} `json:"metadata,omitempty"` // Name Model name Name *string `json:"name,omitempty"` // Owner Owner Owner *string `json:"owner,omitempty"` Spec *interface{} `json:"spec,omitempty"` // Status Status Status *string `json:"status,omitempty"` // TaxId Tax ID TaxId *string `json:"tax_id,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"` }
Account defines model for Account.
type AccountSpec ¶ added in v0.0.48
type AccountSpec struct { // Address Billing address Address *map[string]interface{} `json:"address,omitempty"` // Admins Admins Admins *[]interface{} `json:"admins,omitempty"` // Currency Currency Currency *string `json:"currency,omitempty"` // Owner Owner Owner *string `json:"owner,omitempty"` // Status Status Status *string `json:"status,omitempty"` // TaxId Tax ID TaxId *string `json:"tax_id,omitempty"` }
AccountSpec AccountSpec
type Agent ¶
type Agent struct { // Events Core events Events *CoreEvents `json:"events,omitempty"` // Metadata Environment metadata Metadata *EnvironmentMetadata `json:"metadata,omitempty"` // Spec Agent specification Spec *AgentSpec `json:"spec,omitempty"` // Status Agent status Status *string `json:"status,omitempty"` }
Agent Agent
type AgentChain ¶
type AgentChain struct { // Description Description of the agent in case you want to override the default one Description *string `json:"description,omitempty"` // Enabled Whether the agent chain is enabled Enabled *bool `json:"enabled,omitempty"` // Name The name of the agent to chain to Name *string `json:"name,omitempty"` }
AgentChain Agent chain configuration
type AgentHistory ¶
type AgentHistory struct { // Agent Agent name Agent *string `json:"agent,omitempty"` // CreatedAt The date and time when the resource was created CreatedAt *string `json:"createdAt,omitempty"` // End End time End *string `json:"end,omitempty"` // Environment Environment name Environment *string `json:"environment,omitempty"` // Events Events Events *[]AgentHistoryEvent `json:"events,omitempty"` // RequestId Request ID RequestId *string `json:"request_id,omitempty"` // Start Start time Start *string `json:"start,omitempty"` // Status Status, eg: running, success, failed Status *string `json:"status,omitempty"` // Took Number of milliseconds it took to complete the event Took *int `json:"took,omitempty"` // UpdatedAt The date and time when the resource was updated UpdatedAt *string `json:"updatedAt,omitempty"` // Workspace The workspace the agent deployment belongs to Workspace *string `json:"workspace,omitempty"` }
AgentHistory defines model for AgentHistory.
type AgentHistoryEvent ¶
type AgentHistoryEvent struct { // End End time End *string `json:"end,omitempty"` // Error Error message Error *string `json:"error,omitempty"` // Name Name of the function or agent Name *string `json:"name,omitempty"` // Parameters Parameters Parameters *string `json:"parameters,omitempty"` // Start Start time Start *string `json:"start,omitempty"` // Status Status, eg: running, success, failed Status *string `json:"status,omitempty"` // SubFunction Function used in kit if a kit was used SubFunction *string `json:"subFunction,omitempty"` // Took Number of milliseconds it took to complete the event Took *int `json:"took,omitempty"` // Type Type, one of function or agent Type *string `json:"type,omitempty"` }
AgentHistoryEvent Agent deployment history event
type AgentRelease ¶
type AgentRelease struct { // From Origin environment from which the agent is released From *string `json:"from,omitempty"` // To Destination environment to which the agent is released To *string `json:"to,omitempty"` }
AgentRelease Agent release, used to deploy a agent from one environment to another
type AgentSpec ¶
type AgentSpec struct { // AgentChain Agent chain AgentChain *AgentChains `json:"agentChain,omitempty"` // 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 Agent description Description *string `json:"description,omitempty"` // Enabled Enable or disable the agent Enabled *bool `json:"enabled,omitempty"` // Flavors Types of hardware available for deployments Flavors *Flavors `json:"flavors,omitempty"` Functions *FunctionsList `json:"functions,omitempty"` IntegrationConnections *IntegrationConnectionsList `json:"integrationConnections,omitempty"` // Model Model name Model *string `json:"model,omitempty"` // PodTemplate Pod template specification PodTemplate *PodTemplateSpec `json:"podTemplate,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"` // Runtime Set of configurations for a deployment Runtime *Runtime `json:"runtime,omitempty"` // Sandbox Sandbox mode Sandbox *bool `json:"sandbox,omitempty"` // ServerlessConfig Configuration for a serverless deployment ServerlessConfig *ServerlessConfig `json:"serverlessConfig,omitempty"` // StoreId Store id StoreId *string `json:"storeId,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
type AuthProvider ¶
func GetAuthProvider ¶
func GetAuthProvider(credentials Credentials, workspace string, apiUrl string) AuthProvider
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) RefreshIfNeeded ¶
func (s *BearerToken) RefreshIfNeeded() error
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 (*Client) CheckResource ¶ added in v0.0.46
func (*Client) CreateAccount ¶ added in v0.0.48
func (c *Client) CreateAccount(ctx context.Context, body CreateAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateAccountWithBody ¶ added in v0.0.48
func (*Client) CreateAgent ¶
func (c *Client) CreateAgent(ctx context.Context, body CreateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateAgentRelease ¶
func (*Client) CreateAgentWithBody ¶
func (*Client) CreateApiKeyForServiceAccount ¶
func (c *Client) CreateApiKeyForServiceAccount(ctx context.Context, clientId string, body CreateApiKeyForServiceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateApiKeyForServiceAccountWithBody ¶
func (*Client) CreateEnvironment ¶
func (c *Client) CreateEnvironment(ctx context.Context, body CreateEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateEnvironmentWithBody ¶
func (*Client) CreateFunction ¶
func (c *Client) CreateFunction(ctx context.Context, body CreateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateFunctionRelease ¶
func (*Client) CreateFunctionWithBody ¶
func (*Client) CreateIntegrationConnection ¶
func (c *Client) CreateIntegrationConnection(ctx context.Context, body CreateIntegrationConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateIntegrationConnectionWithBody ¶
func (*Client) CreateModel ¶
func (c *Client) CreateModel(ctx context.Context, body CreateModelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateModelWithBody ¶
func (*Client) CreatePolicy ¶
func (c *Client) CreatePolicy(ctx context.Context, body CreatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreatePolicyWithBody ¶
func (*Client) CreatePrivateCluster ¶
func (*Client) CreateWorkspaceServiceAccount ¶
func (c *Client) CreateWorkspaceServiceAccount(ctx context.Context, body CreateWorkspaceServiceAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateWorkspaceServiceAccountWithBody ¶
func (*Client) CreateWorspace ¶
func (c *Client) CreateWorspace(ctx context.Context, body CreateWorspaceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateWorspaceWithBody ¶
func (*Client) DeclineWorkspaceInvitation ¶
func (*Client) DeleteAccount ¶ added in v0.0.48
func (*Client) DeleteAgent ¶
func (c *Client) DeleteAgent(ctx context.Context, agentName string, params *DeleteAgentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteAgentHistory ¶
func (*Client) DeleteApiKeyForServiceAccount ¶
func (*Client) DeleteEnvironment ¶
func (*Client) DeleteFunction ¶
func (c *Client) DeleteFunction(ctx context.Context, functionName string, params *DeleteFunctionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteIntegrationConnection ¶
func (*Client) DeleteModel ¶
func (c *Client) DeleteModel(ctx context.Context, modelName string, params *DeleteModelParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeletePolicy ¶
func (*Client) DeletePrivateCluster ¶
func (*Client) DeleteWorkspace ¶
func (*Client) DeleteWorkspaceServiceAccount ¶
func (*Client) GetAccount ¶ added in v0.0.48
func (*Client) GetAgent ¶
func (c *Client) GetAgent(ctx context.Context, agentName string, params *GetAgentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAgentEnvironmentLogs ¶
func (*Client) GetAgentHistory ¶
func (*Client) GetAgentMetrics ¶
func (c *Client) GetAgentMetrics(ctx context.Context, agentName string, params *GetAgentMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAgentTraceIds ¶
func (c *Client) GetAgentTraceIds(ctx context.Context, agentName string, params *GetAgentTraceIdsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAgentsHistory ¶
func (*Client) GetConfiguration ¶
func (*Client) GetEnvironment ¶
func (*Client) GetEnvironmentMetrics ¶
func (*Client) GetFunction ¶
func (c *Client) GetFunction(ctx context.Context, functionName string, params *GetFunctionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetFunctionEnvironmentLogs ¶
func (*Client) GetFunctionMetrics ¶
func (c *Client) GetFunctionMetrics(ctx context.Context, functionName string, params *GetFunctionMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetFunctionTraceIds ¶
func (c *Client) GetFunctionTraceIds(ctx context.Context, functionName string, params *GetFunctionTraceIdsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetIntegration ¶
func (*Client) GetIntegrationConnection ¶
func (*Client) GetIntegrationConnectionModel ¶
func (*Client) GetIntegrationModel ¶
func (*Client) GetMetrics ¶
func (*Client) GetModel ¶
func (c *Client) GetModel(ctx context.Context, modelName string, params *GetModelParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetModelEnvironmentLogs ¶
func (*Client) GetModelMetrics ¶
func (c *Client) GetModelMetrics(ctx context.Context, modelName string, params *GetModelMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetModelTraceIds ¶
func (c *Client) GetModelTraceIds(ctx context.Context, modelName string, params *GetModelTraceIdsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetPrivateCluster ¶
func (*Client) GetPrivateClusterHealth ¶
func (*Client) GetStoreAgent ¶
func (*Client) GetStoreFunction ¶
func (*Client) GetTraceIds ¶
func (c *Client) GetTraceIds(ctx context.Context, params *GetTraceIdsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetTraceLogs ¶
func (c *Client) GetTraceLogs(ctx context.Context, traceId string, params *GetTraceLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetWorkspace ¶
func (*Client) GetWorkspaceServiceAccounts ¶
func (*Client) InviteWorkspaceUser ¶
func (c *Client) InviteWorkspaceUser(ctx context.Context, body InviteWorkspaceUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) InviteWorkspaceUserWithBody ¶
func (*Client) LeaveWorkspace ¶
func (*Client) ListAccounts ¶ added in v0.0.48
func (*Client) ListAgentHistory ¶
func (*Client) ListAgents ¶
func (c *Client) ListAgents(ctx context.Context, params *ListAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListAgentsHistory ¶
func (*Client) ListAllPendingInvitations ¶
func (*Client) ListApiKeysForServiceAccount ¶
func (*Client) ListEnvironments ¶
func (*Client) ListFunctions ¶
func (c *Client) ListFunctions(ctx context.Context, params *ListFunctionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListIntegrationConnectionModels ¶
func (*Client) ListIntegrationConnections ¶
func (*Client) ListIntegrationModels ¶
func (*Client) ListLocations ¶
func (*Client) ListModels ¶
func (c *Client) ListModels(ctx context.Context, params *ListModelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListPolicies ¶
func (*Client) ListPrivateClusters ¶
func (*Client) ListStoreAgents ¶
func (*Client) ListStoreFunctions ¶
func (*Client) ListWorkspaceUsers ¶
func (*Client) ListWorkspaces ¶
func (*Client) PutAgentHistory ¶
func (c *Client) PutAgentHistory(ctx context.Context, agentName string, requestId string, body PutAgentHistoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutAgentHistoryWithBody ¶
func (*Client) ReleaseModel ¶
func (*Client) RemoveWorkspaceUser ¶
func (*Client) SendMessage ¶ added in v0.0.46
func (*Client) UpdateAccount ¶ added in v0.0.48
func (c *Client) UpdateAccount(ctx context.Context, accountId string, body UpdateAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateAccountWithBody ¶ added in v0.0.48
func (*Client) UpdateAgent ¶
func (c *Client) UpdateAgent(ctx context.Context, agentName string, body UpdateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateAgentWithBody ¶
func (*Client) UpdateEnvironment ¶
func (c *Client) UpdateEnvironment(ctx context.Context, environmentName string, body UpdateEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateEnvironmentWithBody ¶
func (*Client) UpdateFunction ¶
func (c *Client) UpdateFunction(ctx context.Context, functionName string, body UpdateFunctionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateFunctionWithBody ¶
func (*Client) UpdateIntegrationConnection ¶
func (c *Client) UpdateIntegrationConnection(ctx context.Context, connectionName string, body UpdateIntegrationConnectionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateIntegrationConnectionWithBody ¶
func (*Client) UpdateModel ¶
func (c *Client) UpdateModel(ctx context.Context, modelName string, body UpdateModelJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateModelWithBody ¶
func (*Client) UpdatePolicy ¶
func (c *Client) UpdatePolicy(ctx context.Context, policyName string, body UpdatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdatePolicyWithBody ¶
func (*Client) UpdatePrivateCluster ¶
func (*Client) UpdatePrivateClusterHealth ¶
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 (*Client) UpdateWorkspaceUserRole ¶
func (c *Client) UpdateWorkspaceUserRole(ctx context.Context, subOrEmail string, body UpdateWorkspaceUserRoleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateWorkspaceUserRoleWithBody ¶
func (*Client) UpdateWorkspaceWithBody ¶
func (*Client) WorkspaceQuotasRequest ¶
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) RefreshIfNeeded ¶
func (c *ClientCredentials) RefreshIfNeeded() error
type ClientInterface ¶
type ClientInterface interface { Chat( ctx context.Context, workspace string, environment string, resourceType string, resourceName string, ) error Run( ctx context.Context, workspaceName string, environment 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) // ListAccounts request ListAccounts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateAccountWithBody request with any body CreateAccountWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateAccount(ctx context.Context, body CreateAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteAccount request DeleteAccount(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetAccount request GetAccount(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateAccountWithBody request with any body UpdateAccountWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateAccount(ctx context.Context, accountId string, body UpdateAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // ListAgents request ListAgents(ctx context.Context, params *ListAgentsParams, 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, params *DeleteAgentParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetAgent request GetAgent(ctx context.Context, agentName string, params *GetAgentParams, 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) // ListAgentHistory request ListAgentHistory(ctx context.Context, agentName string, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteAgentHistory request DeleteAgentHistory(ctx context.Context, agentName string, requestId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetAgentHistory request GetAgentHistory(ctx context.Context, agentName string, requestId string, reqEditors ...RequestEditorFn) (*http.Response, error) // PutAgentHistoryWithBody request with any body PutAgentHistoryWithBody(ctx context.Context, agentName string, requestId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PutAgentHistory(ctx context.Context, agentName string, requestId string, body PutAgentHistoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetAgentEnvironmentLogs request GetAgentEnvironmentLogs(ctx context.Context, agentName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetAgentMetrics request GetAgentMetrics(ctx context.Context, agentName string, params *GetAgentMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateAgentRelease request CreateAgentRelease(ctx context.Context, agentName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetAgentTraceIds request GetAgentTraceIds(ctx context.Context, agentName string, params *GetAgentTraceIdsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetConfiguration request GetConfiguration(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // ListEnvironments request ListEnvironments(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateEnvironmentWithBody request with any body CreateEnvironmentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) CreateEnvironment(ctx context.Context, body CreateEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteEnvironment request DeleteEnvironment(ctx context.Context, environmentName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetEnvironment request GetEnvironment(ctx context.Context, environmentName string, reqEditors ...RequestEditorFn) (*http.Response, error) // UpdateEnvironmentWithBody request with any body UpdateEnvironmentWithBody(ctx context.Context, environmentName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) UpdateEnvironment(ctx context.Context, environmentName string, body UpdateEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetEnvironmentMetrics request GetEnvironmentMetrics(ctx context.Context, environmentName string, reqEditors ...RequestEditorFn) (*http.Response, error) // ListFunctions request ListFunctions(ctx context.Context, params *ListFunctionsParams, 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, params *DeleteFunctionParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetFunction request GetFunction(ctx context.Context, functionName string, params *GetFunctionParams, 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) // GetFunctionEnvironmentLogs request GetFunctionEnvironmentLogs(ctx context.Context, functionName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetFunctionMetrics request GetFunctionMetrics(ctx context.Context, functionName string, params *GetFunctionMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // CreateFunctionRelease request CreateFunctionRelease(ctx context.Context, functionName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetFunctionTraceIds request GetFunctionTraceIds(ctx context.Context, functionName string, params *GetFunctionTraceIdsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // ListAgentsHistory request ListAgentsHistory(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetAgentsHistory request GetAgentsHistory(ctx context.Context, requestId 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) // 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) // ListIntegrationModels request ListIntegrationModels(ctx context.Context, integrationName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetIntegrationModel request GetIntegrationModel(ctx context.Context, integrationName string, modelId string, reqEditors ...RequestEditorFn) (*http.Response, error) // ListLocations request ListLocations(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetMetrics request GetMetrics(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // ListModels request ListModels(ctx context.Context, params *ListModelsParams, 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, params *DeleteModelParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetModel request GetModel(ctx context.Context, modelName string, params *GetModelParams, 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) // GetModelEnvironmentLogs request GetModelEnvironmentLogs(ctx context.Context, modelName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetModelMetrics request GetModelMetrics(ctx context.Context, modelName string, params *GetModelMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // ReleaseModel request ReleaseModel(ctx context.Context, modelName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetModelTraceIds request GetModelTraceIds(ctx context.Context, modelName string, params *GetModelTraceIdsParams, 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) // 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) // ListStoreAgents request ListStoreAgents(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStoreAgent request GetStoreAgent(ctx context.Context, agentName string, reqEditors ...RequestEditorFn) (*http.Response, error) // ListStoreFunctions request ListStoreFunctions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error) // GetStoreFunction request GetStoreFunction(ctx context.Context, functionName string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetTraceIds request GetTraceIds(ctx context.Context, params *GetTraceIdsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // GetTrace request GetTrace(ctx context.Context, traceId string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetTraceLogs request GetTraceLogs(ctx context.Context, traceId string, params *GetTraceLogsParams, 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) // 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) // 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) // WorkspaceQuotasRequest request WorkspaceQuotasRequest(ctx context.Context, workspaceName string, reqEditors ...RequestEditorFn) (*http.Response, error) }
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func 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) CreateAccountWithBodyWithResponse ¶ added in v0.0.48
func (c *ClientWithResponses) CreateAccountWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAccountResponse, error)
CreateAccountWithBodyWithResponse request with arbitrary body returning *CreateAccountResponse
func (*ClientWithResponses) CreateAccountWithResponse ¶ added in v0.0.48
func (c *ClientWithResponses) CreateAccountWithResponse(ctx context.Context, body CreateAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAccountResponse, error)
func (*ClientWithResponses) CreateAgentReleaseWithResponse ¶
func (c *ClientWithResponses) CreateAgentReleaseWithResponse(ctx context.Context, agentName string, reqEditors ...RequestEditorFn) (*CreateAgentReleaseResponse, error)
CreateAgentReleaseWithResponse request returning *CreateAgentReleaseResponse
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) CreateEnvironmentWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateEnvironmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEnvironmentResponse, error)
CreateEnvironmentWithBodyWithResponse request with arbitrary body returning *CreateEnvironmentResponse
func (*ClientWithResponses) CreateEnvironmentWithResponse ¶
func (c *ClientWithResponses) CreateEnvironmentWithResponse(ctx context.Context, body CreateEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEnvironmentResponse, error)
func (*ClientWithResponses) CreateFunctionReleaseWithResponse ¶
func (c *ClientWithResponses) CreateFunctionReleaseWithResponse(ctx context.Context, functionName string, reqEditors ...RequestEditorFn) (*CreateFunctionReleaseResponse, error)
CreateFunctionReleaseWithResponse request returning *CreateFunctionReleaseResponse
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) 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) 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) DeleteAccountWithResponse ¶ added in v0.0.48
func (c *ClientWithResponses) DeleteAccountWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*DeleteAccountResponse, error)
DeleteAccountWithResponse request returning *DeleteAccountResponse
func (*ClientWithResponses) DeleteAgentHistoryWithResponse ¶
func (c *ClientWithResponses) DeleteAgentHistoryWithResponse(ctx context.Context, agentName string, requestId string, reqEditors ...RequestEditorFn) (*DeleteAgentHistoryResponse, error)
DeleteAgentHistoryWithResponse request returning *DeleteAgentHistoryResponse
func (*ClientWithResponses) DeleteAgentWithResponse ¶
func (c *ClientWithResponses) DeleteAgentWithResponse(ctx context.Context, agentName string, params *DeleteAgentParams, 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) DeleteEnvironmentWithResponse ¶
func (c *ClientWithResponses) DeleteEnvironmentWithResponse(ctx context.Context, environmentName string, reqEditors ...RequestEditorFn) (*DeleteEnvironmentResponse, error)
DeleteEnvironmentWithResponse request returning *DeleteEnvironmentResponse
func (*ClientWithResponses) DeleteFunctionWithResponse ¶
func (c *ClientWithResponses) DeleteFunctionWithResponse(ctx context.Context, functionName string, params *DeleteFunctionParams, 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) DeleteModelWithResponse ¶
func (c *ClientWithResponses) DeleteModelWithResponse(ctx context.Context, modelName string, params *DeleteModelParams, 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) 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) GetAccountWithResponse ¶ added in v0.0.48
func (c *ClientWithResponses) GetAccountWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetAccountResponse, error)
GetAccountWithResponse request returning *GetAccountResponse
func (*ClientWithResponses) GetAgentEnvironmentLogsWithResponse ¶
func (c *ClientWithResponses) GetAgentEnvironmentLogsWithResponse(ctx context.Context, agentName string, reqEditors ...RequestEditorFn) (*GetAgentEnvironmentLogsResponse, error)
GetAgentEnvironmentLogsWithResponse request returning *GetAgentEnvironmentLogsResponse
func (*ClientWithResponses) GetAgentHistoryWithResponse ¶
func (c *ClientWithResponses) GetAgentHistoryWithResponse(ctx context.Context, agentName string, requestId string, reqEditors ...RequestEditorFn) (*GetAgentHistoryResponse, error)
GetAgentHistoryWithResponse request returning *GetAgentHistoryResponse
func (*ClientWithResponses) GetAgentMetricsWithResponse ¶
func (c *ClientWithResponses) GetAgentMetricsWithResponse(ctx context.Context, agentName string, params *GetAgentMetricsParams, reqEditors ...RequestEditorFn) (*GetAgentMetricsResponse, error)
GetAgentMetricsWithResponse request returning *GetAgentMetricsResponse
func (*ClientWithResponses) GetAgentTraceIdsWithResponse ¶
func (c *ClientWithResponses) GetAgentTraceIdsWithResponse(ctx context.Context, agentName string, params *GetAgentTraceIdsParams, reqEditors ...RequestEditorFn) (*GetAgentTraceIdsResponse, error)
GetAgentTraceIdsWithResponse request returning *GetAgentTraceIdsResponse
func (*ClientWithResponses) GetAgentWithResponse ¶
func (c *ClientWithResponses) GetAgentWithResponse(ctx context.Context, agentName string, params *GetAgentParams, reqEditors ...RequestEditorFn) (*GetAgentResponse, error)
GetAgentWithResponse request returning *GetAgentResponse
func (*ClientWithResponses) GetAgentsHistoryWithResponse ¶
func (c *ClientWithResponses) GetAgentsHistoryWithResponse(ctx context.Context, requestId string, reqEditors ...RequestEditorFn) (*GetAgentsHistoryResponse, error)
GetAgentsHistoryWithResponse request returning *GetAgentsHistoryResponse
func (*ClientWithResponses) GetConfigurationWithResponse ¶
func (c *ClientWithResponses) GetConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetConfigurationResponse, error)
GetConfigurationWithResponse request returning *GetConfigurationResponse
func (*ClientWithResponses) GetEnvironmentMetricsWithResponse ¶
func (c *ClientWithResponses) GetEnvironmentMetricsWithResponse(ctx context.Context, environmentName string, reqEditors ...RequestEditorFn) (*GetEnvironmentMetricsResponse, error)
GetEnvironmentMetricsWithResponse request returning *GetEnvironmentMetricsResponse
func (*ClientWithResponses) GetEnvironmentWithResponse ¶
func (c *ClientWithResponses) GetEnvironmentWithResponse(ctx context.Context, environmentName string, reqEditors ...RequestEditorFn) (*GetEnvironmentResponse, error)
GetEnvironmentWithResponse request returning *GetEnvironmentResponse
func (*ClientWithResponses) GetFunctionEnvironmentLogsWithResponse ¶
func (c *ClientWithResponses) GetFunctionEnvironmentLogsWithResponse(ctx context.Context, functionName string, reqEditors ...RequestEditorFn) (*GetFunctionEnvironmentLogsResponse, error)
GetFunctionEnvironmentLogsWithResponse request returning *GetFunctionEnvironmentLogsResponse
func (*ClientWithResponses) GetFunctionMetricsWithResponse ¶
func (c *ClientWithResponses) GetFunctionMetricsWithResponse(ctx context.Context, functionName string, params *GetFunctionMetricsParams, reqEditors ...RequestEditorFn) (*GetFunctionMetricsResponse, error)
GetFunctionMetricsWithResponse request returning *GetFunctionMetricsResponse
func (*ClientWithResponses) GetFunctionTraceIdsWithResponse ¶
func (c *ClientWithResponses) GetFunctionTraceIdsWithResponse(ctx context.Context, functionName string, params *GetFunctionTraceIdsParams, reqEditors ...RequestEditorFn) (*GetFunctionTraceIdsResponse, error)
GetFunctionTraceIdsWithResponse request returning *GetFunctionTraceIdsResponse
func (*ClientWithResponses) GetFunctionWithResponse ¶
func (c *ClientWithResponses) GetFunctionWithResponse(ctx context.Context, functionName string, params *GetFunctionParams, reqEditors ...RequestEditorFn) (*GetFunctionResponse, error)
GetFunctionWithResponse request returning *GetFunctionResponse
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) GetIntegrationModelWithResponse ¶
func (c *ClientWithResponses) GetIntegrationModelWithResponse(ctx context.Context, integrationName string, modelId string, reqEditors ...RequestEditorFn) (*GetIntegrationModelResponse, error)
GetIntegrationModelWithResponse request returning *GetIntegrationModelResponse
func (*ClientWithResponses) GetIntegrationWithResponse ¶
func (c *ClientWithResponses) GetIntegrationWithResponse(ctx context.Context, integrationName string, reqEditors ...RequestEditorFn) (*GetIntegrationResponse, error)
GetIntegrationWithResponse request returning *GetIntegrationResponse
func (*ClientWithResponses) GetMetricsWithResponse ¶
func (c *ClientWithResponses) GetMetricsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMetricsResponse, error)
GetMetricsWithResponse request returning *GetMetricsResponse
func (*ClientWithResponses) GetModelEnvironmentLogsWithResponse ¶
func (c *ClientWithResponses) GetModelEnvironmentLogsWithResponse(ctx context.Context, modelName string, reqEditors ...RequestEditorFn) (*GetModelEnvironmentLogsResponse, error)
GetModelEnvironmentLogsWithResponse request returning *GetModelEnvironmentLogsResponse
func (*ClientWithResponses) GetModelMetricsWithResponse ¶
func (c *ClientWithResponses) GetModelMetricsWithResponse(ctx context.Context, modelName string, params *GetModelMetricsParams, reqEditors ...RequestEditorFn) (*GetModelMetricsResponse, error)
GetModelMetricsWithResponse request returning *GetModelMetricsResponse
func (*ClientWithResponses) GetModelTraceIdsWithResponse ¶
func (c *ClientWithResponses) GetModelTraceIdsWithResponse(ctx context.Context, modelName string, params *GetModelTraceIdsParams, reqEditors ...RequestEditorFn) (*GetModelTraceIdsResponse, error)
GetModelTraceIdsWithResponse request returning *GetModelTraceIdsResponse
func (*ClientWithResponses) GetModelWithResponse ¶
func (c *ClientWithResponses) GetModelWithResponse(ctx context.Context, modelName string, params *GetModelParams, 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) GetStoreAgentWithResponse ¶
func (c *ClientWithResponses) GetStoreAgentWithResponse(ctx context.Context, agentName string, reqEditors ...RequestEditorFn) (*GetStoreAgentResponse, error)
GetStoreAgentWithResponse request returning *GetStoreAgentResponse
func (*ClientWithResponses) GetStoreFunctionWithResponse ¶
func (c *ClientWithResponses) GetStoreFunctionWithResponse(ctx context.Context, functionName string, reqEditors ...RequestEditorFn) (*GetStoreFunctionResponse, error)
GetStoreFunctionWithResponse request returning *GetStoreFunctionResponse
func (*ClientWithResponses) GetTraceIdsWithResponse ¶
func (c *ClientWithResponses) GetTraceIdsWithResponse(ctx context.Context, params *GetTraceIdsParams, reqEditors ...RequestEditorFn) (*GetTraceIdsResponse, error)
GetTraceIdsWithResponse request returning *GetTraceIdsResponse
func (*ClientWithResponses) GetTraceLogsWithResponse ¶
func (c *ClientWithResponses) GetTraceLogsWithResponse(ctx context.Context, traceId string, params *GetTraceLogsParams, reqEditors ...RequestEditorFn) (*GetTraceLogsResponse, error)
GetTraceLogsWithResponse request returning *GetTraceLogsResponse
func (*ClientWithResponses) GetTraceWithResponse ¶
func (c *ClientWithResponses) GetTraceWithResponse(ctx context.Context, traceId string, reqEditors ...RequestEditorFn) (*GetTraceResponse, error)
GetTraceWithResponse request returning *GetTraceResponse
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) ListAccountsWithResponse ¶ added in v0.0.48
func (c *ClientWithResponses) ListAccountsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAccountsResponse, error)
ListAccountsWithResponse request returning *ListAccountsResponse
func (*ClientWithResponses) ListAgentHistoryWithResponse ¶
func (c *ClientWithResponses) ListAgentHistoryWithResponse(ctx context.Context, agentName string, reqEditors ...RequestEditorFn) (*ListAgentHistoryResponse, error)
ListAgentHistoryWithResponse request returning *ListAgentHistoryResponse
func (*ClientWithResponses) ListAgentsHistoryWithResponse ¶
func (c *ClientWithResponses) ListAgentsHistoryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAgentsHistoryResponse, error)
ListAgentsHistoryWithResponse request returning *ListAgentsHistoryResponse
func (*ClientWithResponses) ListAgentsWithResponse ¶
func (c *ClientWithResponses) ListAgentsWithResponse(ctx context.Context, params *ListAgentsParams, 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) ListEnvironmentsWithResponse ¶
func (c *ClientWithResponses) ListEnvironmentsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListEnvironmentsResponse, error)
ListEnvironmentsWithResponse request returning *ListEnvironmentsResponse
func (*ClientWithResponses) ListFunctionsWithResponse ¶
func (c *ClientWithResponses) ListFunctionsWithResponse(ctx context.Context, params *ListFunctionsParams, 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) ListIntegrationModelsWithResponse ¶
func (c *ClientWithResponses) ListIntegrationModelsWithResponse(ctx context.Context, integrationName string, reqEditors ...RequestEditorFn) (*ListIntegrationModelsResponse, error)
ListIntegrationModelsWithResponse request returning *ListIntegrationModelsResponse
func (*ClientWithResponses) ListLocationsWithResponse ¶
func (c *ClientWithResponses) ListLocationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListLocationsResponse, error)
ListLocationsWithResponse request returning *ListLocationsResponse
func (*ClientWithResponses) ListModelsWithResponse ¶
func (c *ClientWithResponses) ListModelsWithResponse(ctx context.Context, params *ListModelsParams, 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) ListStoreAgentsWithResponse ¶
func (c *ClientWithResponses) ListStoreAgentsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListStoreAgentsResponse, error)
ListStoreAgentsWithResponse request returning *ListStoreAgentsResponse
func (*ClientWithResponses) ListStoreFunctionsWithResponse ¶
func (c *ClientWithResponses) ListStoreFunctionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListStoreFunctionsResponse, error)
ListStoreFunctionsWithResponse request returning *ListStoreFunctionsResponse
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) PutAgentHistoryWithBodyWithResponse ¶
func (c *ClientWithResponses) PutAgentHistoryWithBodyWithResponse(ctx context.Context, agentName string, requestId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAgentHistoryResponse, error)
PutAgentHistoryWithBodyWithResponse request with arbitrary body returning *PutAgentHistoryResponse
func (*ClientWithResponses) PutAgentHistoryWithResponse ¶
func (c *ClientWithResponses) PutAgentHistoryWithResponse(ctx context.Context, agentName string, requestId string, body PutAgentHistoryJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAgentHistoryResponse, error)
func (*ClientWithResponses) RegisterCliCommands ¶
func (c *ClientWithResponses) RegisterCliCommands(reg register.Register, ctx context.Context)
RegisterCliCommands registers CLI commands for the client
func (*ClientWithResponses) ReleaseModelWithResponse ¶
func (c *ClientWithResponses) ReleaseModelWithResponse(ctx context.Context, modelName string, reqEditors ...RequestEditorFn) (*ReleaseModelResponse, error)
ReleaseModelWithResponse request returning *ReleaseModelResponse
func (*ClientWithResponses) RemoveWorkspaceUserWithResponse ¶
func (c *ClientWithResponses) RemoveWorkspaceUserWithResponse(ctx context.Context, subOrEmail string, reqEditors ...RequestEditorFn) (*RemoveWorkspaceUserResponse, error)
RemoveWorkspaceUserWithResponse request returning *RemoveWorkspaceUserResponse
func (*ClientWithResponses) UpdateAccountWithBodyWithResponse ¶ added in v0.0.48
func (c *ClientWithResponses) UpdateAccountWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAccountResponse, error)
UpdateAccountWithBodyWithResponse request with arbitrary body returning *UpdateAccountResponse
func (*ClientWithResponses) UpdateAccountWithResponse ¶ added in v0.0.48
func (c *ClientWithResponses) UpdateAccountWithResponse(ctx context.Context, accountId string, body UpdateAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAccountResponse, error)
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) UpdateEnvironmentWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateEnvironmentWithBodyWithResponse(ctx context.Context, environmentName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEnvironmentResponse, error)
UpdateEnvironmentWithBodyWithResponse request with arbitrary body returning *UpdateEnvironmentResponse
func (*ClientWithResponses) UpdateEnvironmentWithResponse ¶
func (c *ClientWithResponses) UpdateEnvironmentWithResponse(ctx context.Context, environmentName string, body UpdateEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEnvironmentResponse, 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) 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) 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) WorkspaceQuotasRequestWithResponse ¶
func (c *ClientWithResponses) WorkspaceQuotasRequestWithResponse(ctx context.Context, workspaceName string, reqEditors ...RequestEditorFn) (*WorkspaceQuotasRequestResponse, error)
WorkspaceQuotasRequestWithResponse request returning *WorkspaceQuotasRequestResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // ListAccountsWithResponse request ListAccountsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAccountsResponse, error) // CreateAccountWithBodyWithResponse request with any body CreateAccountWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAccountResponse, error) CreateAccountWithResponse(ctx context.Context, body CreateAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAccountResponse, error) // DeleteAccountWithResponse request DeleteAccountWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*DeleteAccountResponse, error) // GetAccountWithResponse request GetAccountWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetAccountResponse, error) // UpdateAccountWithBodyWithResponse request with any body UpdateAccountWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAccountResponse, error) UpdateAccountWithResponse(ctx context.Context, accountId string, body UpdateAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAccountResponse, error) // ListAgentsWithResponse request ListAgentsWithResponse(ctx context.Context, params *ListAgentsParams, 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, params *DeleteAgentParams, reqEditors ...RequestEditorFn) (*DeleteAgentResponse, error) // GetAgentWithResponse request GetAgentWithResponse(ctx context.Context, agentName string, params *GetAgentParams, 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) // ListAgentHistoryWithResponse request ListAgentHistoryWithResponse(ctx context.Context, agentName string, reqEditors ...RequestEditorFn) (*ListAgentHistoryResponse, error) // DeleteAgentHistoryWithResponse request DeleteAgentHistoryWithResponse(ctx context.Context, agentName string, requestId string, reqEditors ...RequestEditorFn) (*DeleteAgentHistoryResponse, error) // GetAgentHistoryWithResponse request GetAgentHistoryWithResponse(ctx context.Context, agentName string, requestId string, reqEditors ...RequestEditorFn) (*GetAgentHistoryResponse, error) // PutAgentHistoryWithBodyWithResponse request with any body PutAgentHistoryWithBodyWithResponse(ctx context.Context, agentName string, requestId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutAgentHistoryResponse, error) PutAgentHistoryWithResponse(ctx context.Context, agentName string, requestId string, body PutAgentHistoryJSONRequestBody, reqEditors ...RequestEditorFn) (*PutAgentHistoryResponse, error) // GetAgentEnvironmentLogsWithResponse request GetAgentEnvironmentLogsWithResponse(ctx context.Context, agentName string, reqEditors ...RequestEditorFn) (*GetAgentEnvironmentLogsResponse, error) // GetAgentMetricsWithResponse request GetAgentMetricsWithResponse(ctx context.Context, agentName string, params *GetAgentMetricsParams, reqEditors ...RequestEditorFn) (*GetAgentMetricsResponse, error) // CreateAgentReleaseWithResponse request CreateAgentReleaseWithResponse(ctx context.Context, agentName string, reqEditors ...RequestEditorFn) (*CreateAgentReleaseResponse, error) // GetAgentTraceIdsWithResponse request GetAgentTraceIdsWithResponse(ctx context.Context, agentName string, params *GetAgentTraceIdsParams, reqEditors ...RequestEditorFn) (*GetAgentTraceIdsResponse, error) // GetConfigurationWithResponse request GetConfigurationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetConfigurationResponse, error) // ListEnvironmentsWithResponse request ListEnvironmentsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListEnvironmentsResponse, error) // CreateEnvironmentWithBodyWithResponse request with any body CreateEnvironmentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEnvironmentResponse, error) CreateEnvironmentWithResponse(ctx context.Context, body CreateEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEnvironmentResponse, error) // DeleteEnvironmentWithResponse request DeleteEnvironmentWithResponse(ctx context.Context, environmentName string, reqEditors ...RequestEditorFn) (*DeleteEnvironmentResponse, error) // GetEnvironmentWithResponse request GetEnvironmentWithResponse(ctx context.Context, environmentName string, reqEditors ...RequestEditorFn) (*GetEnvironmentResponse, error) // UpdateEnvironmentWithBodyWithResponse request with any body UpdateEnvironmentWithBodyWithResponse(ctx context.Context, environmentName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEnvironmentResponse, error) UpdateEnvironmentWithResponse(ctx context.Context, environmentName string, body UpdateEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEnvironmentResponse, error) // GetEnvironmentMetricsWithResponse request GetEnvironmentMetricsWithResponse(ctx context.Context, environmentName string, reqEditors ...RequestEditorFn) (*GetEnvironmentMetricsResponse, error) // ListFunctionsWithResponse request ListFunctionsWithResponse(ctx context.Context, params *ListFunctionsParams, 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, params *DeleteFunctionParams, reqEditors ...RequestEditorFn) (*DeleteFunctionResponse, error) // GetFunctionWithResponse request GetFunctionWithResponse(ctx context.Context, functionName string, params *GetFunctionParams, 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) // GetFunctionEnvironmentLogsWithResponse request GetFunctionEnvironmentLogsWithResponse(ctx context.Context, functionName string, reqEditors ...RequestEditorFn) (*GetFunctionEnvironmentLogsResponse, error) // GetFunctionMetricsWithResponse request GetFunctionMetricsWithResponse(ctx context.Context, functionName string, params *GetFunctionMetricsParams, reqEditors ...RequestEditorFn) (*GetFunctionMetricsResponse, error) // CreateFunctionReleaseWithResponse request CreateFunctionReleaseWithResponse(ctx context.Context, functionName string, reqEditors ...RequestEditorFn) (*CreateFunctionReleaseResponse, error) // GetFunctionTraceIdsWithResponse request GetFunctionTraceIdsWithResponse(ctx context.Context, functionName string, params *GetFunctionTraceIdsParams, reqEditors ...RequestEditorFn) (*GetFunctionTraceIdsResponse, error) // ListAgentsHistoryWithResponse request ListAgentsHistoryWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAgentsHistoryResponse, error) // GetAgentsHistoryWithResponse request GetAgentsHistoryWithResponse(ctx context.Context, requestId string, reqEditors ...RequestEditorFn) (*GetAgentsHistoryResponse, 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) // 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) // ListIntegrationModelsWithResponse request ListIntegrationModelsWithResponse(ctx context.Context, integrationName string, reqEditors ...RequestEditorFn) (*ListIntegrationModelsResponse, error) // GetIntegrationModelWithResponse request GetIntegrationModelWithResponse(ctx context.Context, integrationName string, modelId string, reqEditors ...RequestEditorFn) (*GetIntegrationModelResponse, error) // ListLocationsWithResponse request ListLocationsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListLocationsResponse, error) // GetMetricsWithResponse request GetMetricsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMetricsResponse, error) // ListModelsWithResponse request ListModelsWithResponse(ctx context.Context, params *ListModelsParams, 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, params *DeleteModelParams, reqEditors ...RequestEditorFn) (*DeleteModelResponse, error) // GetModelWithResponse request GetModelWithResponse(ctx context.Context, modelName string, params *GetModelParams, 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) // GetModelEnvironmentLogsWithResponse request GetModelEnvironmentLogsWithResponse(ctx context.Context, modelName string, reqEditors ...RequestEditorFn) (*GetModelEnvironmentLogsResponse, error) // GetModelMetricsWithResponse request GetModelMetricsWithResponse(ctx context.Context, modelName string, params *GetModelMetricsParams, reqEditors ...RequestEditorFn) (*GetModelMetricsResponse, error) // ReleaseModelWithResponse request ReleaseModelWithResponse(ctx context.Context, modelName string, reqEditors ...RequestEditorFn) (*ReleaseModelResponse, error) // GetModelTraceIdsWithResponse request GetModelTraceIdsWithResponse(ctx context.Context, modelName string, params *GetModelTraceIdsParams, reqEditors ...RequestEditorFn) (*GetModelTraceIdsResponse, 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) // 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) // ListStoreAgentsWithResponse request ListStoreAgentsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListStoreAgentsResponse, error) // GetStoreAgentWithResponse request GetStoreAgentWithResponse(ctx context.Context, agentName string, reqEditors ...RequestEditorFn) (*GetStoreAgentResponse, error) // ListStoreFunctionsWithResponse request ListStoreFunctionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListStoreFunctionsResponse, error) // GetStoreFunctionWithResponse request GetStoreFunctionWithResponse(ctx context.Context, functionName string, reqEditors ...RequestEditorFn) (*GetStoreFunctionResponse, error) // GetTraceIdsWithResponse request GetTraceIdsWithResponse(ctx context.Context, params *GetTraceIdsParams, reqEditors ...RequestEditorFn) (*GetTraceIdsResponse, error) // GetTraceWithResponse request GetTraceWithResponse(ctx context.Context, traceId string, reqEditors ...RequestEditorFn) (*GetTraceResponse, error) // GetTraceLogsWithResponse request GetTraceLogsWithResponse(ctx context.Context, traceId string, params *GetTraceLogsParams, reqEditors ...RequestEditorFn) (*GetTraceLogsResponse, 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) // 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) // 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) // WorkspaceQuotasRequestWithResponse request WorkspaceQuotasRequestWithResponse(ctx context.Context, workspaceName string, reqEditors ...RequestEditorFn) (*WorkspaceQuotasRequestResponse, 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 beamlit operator PrivateLocations *[]interface{} `json:"privateLocations,omitempty"` }
Configuration Configuration
type ContextConfig ¶
type ContextConfig struct { Workspace string `yaml:"workspace"` Environment string `yaml:"environment"` }
func CurrentContext ¶
func CurrentContext() ContextConfig
type CoreEvent ¶
type CoreEvent struct { // Message Event message Message *string `json:"message,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 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 agent Enabled *bool `json:"enabled,omitempty"` // Flavors Types of hardware available for deployments Flavors *Flavors `json:"flavors,omitempty"` IntegrationConnections *IntegrationConnectionsList `json:"integrationConnections,omitempty"` // PodTemplate Pod template specification PodTemplate *PodTemplateSpec `json:"podTemplate,omitempty"` Policies *PoliciesList `json:"policies,omitempty"` // PrivateClusters Private cluster where the model deployment is deployed PrivateClusters *ModelPrivateCluster `json:"privateClusters,omitempty"` // Runtime Set of configurations for a deployment Runtime *Runtime `json:"runtime,omitempty"` // Sandbox Sandbox mode Sandbox *bool `json:"sandbox,omitempty"` // ServerlessConfig Configuration for a serverless deployment ServerlessConfig *ServerlessConfig `json:"serverlessConfig,omitempty"` }
CoreSpec Core specification
type CreateAccountJSONRequestBody ¶ added in v0.0.48
type CreateAccountJSONRequestBody = Account
CreateAccountJSONRequestBody defines body for CreateAccount for application/json ContentType.
type CreateAccountResponse ¶ added in v0.0.48
func ParseCreateAccountResponse ¶ added in v0.0.48
func ParseCreateAccountResponse(rsp *http.Response) (*CreateAccountResponse, error)
ParseCreateAccountResponse parses an HTTP response from a CreateAccountWithResponse call
func (CreateAccountResponse) Status ¶ added in v0.0.48
func (r CreateAccountResponse) Status() string
Status returns HTTPResponse.Status
func (CreateAccountResponse) StatusCode ¶ added in v0.0.48
func (r CreateAccountResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateAgentJSONRequestBody ¶
type CreateAgentJSONRequestBody = Agent
CreateAgentJSONRequestBody defines body for CreateAgent for application/json ContentType.
type CreateAgentReleaseResponse ¶
type CreateAgentReleaseResponse struct { Body []byte HTTPResponse *http.Response JSON200 *AgentRelease }
func ParseCreateAgentReleaseResponse ¶
func ParseCreateAgentReleaseResponse(rsp *http.Response) (*CreateAgentReleaseResponse, error)
ParseCreateAgentReleaseResponse parses an HTTP response from a CreateAgentReleaseWithResponse call
func (CreateAgentReleaseResponse) Status ¶
func (r CreateAgentReleaseResponse) Status() string
Status returns HTTPResponse.Status
func (CreateAgentReleaseResponse) StatusCode ¶
func (r CreateAgentReleaseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateAgentResponse ¶
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 ¶
func (r CreateApiKeyForServiceAccountResponse) Status() string
Status returns HTTPResponse.Status
func (CreateApiKeyForServiceAccountResponse) StatusCode ¶
func (r CreateApiKeyForServiceAccountResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateEnvironmentJSONRequestBody ¶
type CreateEnvironmentJSONRequestBody = Environment
CreateEnvironmentJSONRequestBody defines body for CreateEnvironment for application/json ContentType.
type CreateEnvironmentResponse ¶
type CreateEnvironmentResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Environment }
func ParseCreateEnvironmentResponse ¶
func ParseCreateEnvironmentResponse(rsp *http.Response) (*CreateEnvironmentResponse, error)
ParseCreateEnvironmentResponse parses an HTTP response from a CreateEnvironmentWithResponse call
func (CreateEnvironmentResponse) Status ¶
func (r CreateEnvironmentResponse) Status() string
Status returns HTTPResponse.Status
func (CreateEnvironmentResponse) StatusCode ¶
func (r CreateEnvironmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateFunctionJSONRequestBody ¶
type CreateFunctionJSONRequestBody = Function
CreateFunctionJSONRequestBody defines body for CreateFunction for application/json ContentType.
type CreateFunctionReleaseResponse ¶
type CreateFunctionReleaseResponse struct { Body []byte HTTPResponse *http.Response JSON200 *FunctionRelease }
func ParseCreateFunctionReleaseResponse ¶
func ParseCreateFunctionReleaseResponse(rsp *http.Response) (*CreateFunctionReleaseResponse, error)
ParseCreateFunctionReleaseResponse parses an HTTP response from a CreateFunctionReleaseWithResponse call
func (CreateFunctionReleaseResponse) Status ¶
func (r CreateFunctionReleaseResponse) Status() string
Status returns HTTPResponse.Status
func (CreateFunctionReleaseResponse) StatusCode ¶
func (r CreateFunctionReleaseResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateFunctionResponse ¶
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 ¶
func (r CreateIntegrationConnectionResponse) Status() string
Status returns HTTPResponse.Status
func (CreateIntegrationConnectionResponse) StatusCode ¶
func (r CreateIntegrationConnectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateModelJSONRequestBody ¶
type CreateModelJSONRequestBody = Model
CreateModelJSONRequestBody defines body for CreateModel for application/json ContentType.
type CreateModelResponse ¶
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 ¶
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 ¶
func (r CreatePrivateClusterResponse) Status() string
Status returns HTTPResponse.Status
func (CreatePrivateClusterResponse) StatusCode ¶
func (r CreatePrivateClusterResponse) 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 ¶
func (r CreateWorkspaceServiceAccountResponse) Status() string
Status returns HTTPResponse.Status
func (CreateWorkspaceServiceAccountResponse) StatusCode ¶
func (r CreateWorkspaceServiceAccountResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateWorspaceJSONRequestBody ¶
type CreateWorspaceJSONRequestBody = Workspace
CreateWorspaceJSONRequestBody defines body for CreateWorspace for application/json ContentType.
type CreateWorspaceResponse ¶
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 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 ¶
func (r DeclineWorkspaceInvitationResponse) Status() string
Status returns HTTPResponse.Status
func (DeclineWorkspaceInvitationResponse) StatusCode ¶
func (r DeclineWorkspaceInvitationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAccountResponse ¶ added in v0.0.48
func ParseDeleteAccountResponse ¶ added in v0.0.48
func ParseDeleteAccountResponse(rsp *http.Response) (*DeleteAccountResponse, error)
ParseDeleteAccountResponse parses an HTTP response from a DeleteAccountWithResponse call
func (DeleteAccountResponse) Status ¶ added in v0.0.48
func (r DeleteAccountResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAccountResponse) StatusCode ¶ added in v0.0.48
func (r DeleteAccountResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAgentHistoryResponse ¶
type DeleteAgentHistoryResponse struct { Body []byte HTTPResponse *http.Response JSON200 *AgentHistory }
func ParseDeleteAgentHistoryResponse ¶
func ParseDeleteAgentHistoryResponse(rsp *http.Response) (*DeleteAgentHistoryResponse, error)
ParseDeleteAgentHistoryResponse parses an HTTP response from a DeleteAgentHistoryWithResponse call
func (DeleteAgentHistoryResponse) Status ¶
func (r DeleteAgentHistoryResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAgentHistoryResponse) StatusCode ¶
func (r DeleteAgentHistoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAgentParams ¶
type DeleteAgentParams struct { // Environment Environment of the model Environment string `form:"environment" json:"environment"` }
DeleteAgentParams defines parameters for DeleteAgent.
type DeleteAgentResponse ¶
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 ¶
func ParseDeleteApiKeyForServiceAccountResponse ¶
func ParseDeleteApiKeyForServiceAccountResponse(rsp *http.Response) (*DeleteApiKeyForServiceAccountResponse, error)
ParseDeleteApiKeyForServiceAccountResponse parses an HTTP response from a DeleteApiKeyForServiceAccountWithResponse call
func (DeleteApiKeyForServiceAccountResponse) Status ¶
func (r DeleteApiKeyForServiceAccountResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteApiKeyForServiceAccountResponse) StatusCode ¶
func (r DeleteApiKeyForServiceAccountResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteEnvironmentResponse ¶
type DeleteEnvironmentResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Environment }
func ParseDeleteEnvironmentResponse ¶
func ParseDeleteEnvironmentResponse(rsp *http.Response) (*DeleteEnvironmentResponse, error)
ParseDeleteEnvironmentResponse parses an HTTP response from a DeleteEnvironmentWithResponse call
func (DeleteEnvironmentResponse) Status ¶
func (r DeleteEnvironmentResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteEnvironmentResponse) StatusCode ¶
func (r DeleteEnvironmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteFunctionParams ¶
type DeleteFunctionParams struct { // Environment Environment of the model Environment string `form:"environment" json:"environment"` }
DeleteFunctionParams defines parameters for DeleteFunction.
type DeleteFunctionResponse ¶
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 ¶
func (r DeleteIntegrationConnectionResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteIntegrationConnectionResponse) StatusCode ¶
func (r DeleteIntegrationConnectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteModelParams ¶
type DeleteModelParams struct { // Environment Environment of the model Environment string `form:"environment" json:"environment"` }
DeleteModelParams defines parameters for DeleteModel.
type DeleteModelResponse ¶
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 ¶
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 ¶
func (r DeletePrivateClusterResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePrivateClusterResponse) StatusCode ¶
func (r DeletePrivateClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteWorkspaceResponse ¶
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 ¶
func (r DeleteWorkspaceServiceAccountResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteWorkspaceServiceAccountResponse) StatusCode ¶
func (r DeleteWorkspaceServiceAccountResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeviceLogin ¶
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 Environment ¶
type Environment struct { // Metadata Metadata Metadata *Metadata `json:"metadata,omitempty"` // Spec Environment specification Spec *EnvironmentSpec `json:"spec,omitempty"` }
Environment Environment on which deployments will be made (e.g. development, production), enforcing multiple policies at once.
type EnvironmentMetadata ¶
type EnvironmentMetadata 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"` // Environment Environment name Environment *string `json:"environment,omitempty"` // Labels Labels Labels *MetadataLabels `json:"labels,omitempty"` // Name Model name 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"` }
EnvironmentMetadata defines model for EnvironmentMetadata.
type EnvironmentMetrics ¶
type EnvironmentMetrics struct { // InferenceGlobal Array of metrics InferenceGlobal *ArrayMetric `json:"inferenceGlobal,omitempty"` }
EnvironmentMetrics Metrics for the environment
type EnvironmentSpec ¶
type EnvironmentSpec struct {
Policies *PoliciesList `json:"policies,omitempty"`
}
EnvironmentSpec Environment specification
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 Function ¶
type Function struct { // Events Core events Events *CoreEvents `json:"events,omitempty"` // Metadata Environment metadata Metadata *EnvironmentMetadata `json:"metadata,omitempty"` // Spec Function specification Spec *FunctionSpec `json:"spec,omitempty"` // Status Function status Status *string `json:"status,omitempty"` }
Function Function
type FunctionKit ¶
type FunctionKit struct { // Description Description of the function kit, very important for the agent to work with your kit Description *string `json:"description,omitempty"` // Name The kit name, very important for the agent to work with your kit Name *string `json:"name,omitempty"` // Parameters Kit parameters, for your kit to be callable with an Agent Parameters *[]StoreFunctionParameter `json:"parameters,omitempty"` }
FunctionKit Function kit
type FunctionRelease ¶
type FunctionRelease struct { // From Origin environment from which the function is released From *string `json:"from,omitempty"` // To Destination environment to which the function is released To *string `json:"to,omitempty"` }
FunctionRelease Function release, used to deploy a function from one environment to another
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 agent Enabled *bool `json:"enabled,omitempty"` // Flavors Types of hardware available for deployments Flavors *Flavors `json:"flavors,omitempty"` IntegrationConnections *IntegrationConnectionsList `json:"integrationConnections,omitempty"` // Kit The kit of the function deployment Kit *[]FunctionKit `json:"kit,omitempty"` // Parameters Function parameters, for your function to be callable with Agent Parameters *[]StoreFunctionParameter `json:"parameters,omitempty"` // PodTemplate Pod template specification PodTemplate *PodTemplateSpec `json:"podTemplate,omitempty"` Policies *PoliciesList `json:"policies,omitempty"` // PrivateClusters Private cluster where the model deployment is deployed PrivateClusters *ModelPrivateCluster `json:"privateClusters,omitempty"` // Runtime Set of configurations for a deployment Runtime *Runtime `json:"runtime,omitempty"` // Sandbox Sandbox mode Sandbox *bool `json:"sandbox,omitempty"` // ServerlessConfig Configuration for a serverless deployment ServerlessConfig *ServerlessConfig `json:"serverlessConfig,omitempty"` // StoreId Store id StoreId *string `json:"storeId,omitempty"` }
FunctionSpec defines model for FunctionSpec.
type GetAccountResponse ¶ added in v0.0.48
func ParseGetAccountResponse ¶ added in v0.0.48
func ParseGetAccountResponse(rsp *http.Response) (*GetAccountResponse, error)
ParseGetAccountResponse parses an HTTP response from a GetAccountWithResponse call
func (GetAccountResponse) Status ¶ added in v0.0.48
func (r GetAccountResponse) Status() string
Status returns HTTPResponse.Status
func (GetAccountResponse) StatusCode ¶ added in v0.0.48
func (r GetAccountResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAgentEnvironmentLogsResponse ¶
type GetAgentEnvironmentLogsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]ResourceLog }
func ParseGetAgentEnvironmentLogsResponse ¶
func ParseGetAgentEnvironmentLogsResponse(rsp *http.Response) (*GetAgentEnvironmentLogsResponse, error)
ParseGetAgentEnvironmentLogsResponse parses an HTTP response from a GetAgentEnvironmentLogsWithResponse call
func (GetAgentEnvironmentLogsResponse) Status ¶
func (r GetAgentEnvironmentLogsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAgentEnvironmentLogsResponse) StatusCode ¶
func (r GetAgentEnvironmentLogsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAgentHistoryResponse ¶
type GetAgentHistoryResponse struct { Body []byte HTTPResponse *http.Response JSON200 *AgentHistory }
func ParseGetAgentHistoryResponse ¶
func ParseGetAgentHistoryResponse(rsp *http.Response) (*GetAgentHistoryResponse, error)
ParseGetAgentHistoryResponse parses an HTTP response from a GetAgentHistoryWithResponse call
func (GetAgentHistoryResponse) Status ¶
func (r GetAgentHistoryResponse) Status() string
Status returns HTTPResponse.Status
func (GetAgentHistoryResponse) StatusCode ¶
func (r GetAgentHistoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAgentMetricsParams ¶
type GetAgentMetricsParams struct { // Environment Environment to filter agents by Environment *string `form:"environment,omitempty" json:"environment,omitempty"` }
GetAgentMetricsParams defines parameters for GetAgentMetrics.
type GetAgentMetricsResponse ¶
type GetAgentMetricsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ResourceEnvironmentMetrics }
func ParseGetAgentMetricsResponse ¶
func ParseGetAgentMetricsResponse(rsp *http.Response) (*GetAgentMetricsResponse, error)
ParseGetAgentMetricsResponse parses an HTTP response from a GetAgentMetricsWithResponse call
func (GetAgentMetricsResponse) Status ¶
func (r GetAgentMetricsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAgentMetricsResponse) StatusCode ¶
func (r GetAgentMetricsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAgentParams ¶
type GetAgentParams struct { // Environment Environment to filter agents by Environment *string `form:"environment,omitempty" json:"environment,omitempty"` }
GetAgentParams defines parameters for GetAgent.
type GetAgentResponse ¶
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 GetAgentTraceIdsParams ¶
type GetAgentTraceIdsParams struct { // Environment Environment to filter agents by Environment *string `form:"environment,omitempty" json:"environment,omitempty"` }
GetAgentTraceIdsParams defines parameters for GetAgentTraceIds.
type GetAgentTraceIdsResponse ¶
type GetAgentTraceIdsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *TraceIdsResponse }
func ParseGetAgentTraceIdsResponse ¶
func ParseGetAgentTraceIdsResponse(rsp *http.Response) (*GetAgentTraceIdsResponse, error)
ParseGetAgentTraceIdsResponse parses an HTTP response from a GetAgentTraceIdsWithResponse call
func (GetAgentTraceIdsResponse) Status ¶
func (r GetAgentTraceIdsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAgentTraceIdsResponse) StatusCode ¶
func (r GetAgentTraceIdsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAgentsHistoryResponse ¶
type GetAgentsHistoryResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]AgentHistory }
func ParseGetAgentsHistoryResponse ¶
func ParseGetAgentsHistoryResponse(rsp *http.Response) (*GetAgentsHistoryResponse, error)
ParseGetAgentsHistoryResponse parses an HTTP response from a GetAgentsHistoryWithResponse call
func (GetAgentsHistoryResponse) Status ¶
func (r GetAgentsHistoryResponse) Status() string
Status returns HTTPResponse.Status
func (GetAgentsHistoryResponse) StatusCode ¶
func (r GetAgentsHistoryResponse) 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 GetEnvironmentMetricsResponse ¶
type GetEnvironmentMetricsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *EnvironmentMetrics }
func ParseGetEnvironmentMetricsResponse ¶
func ParseGetEnvironmentMetricsResponse(rsp *http.Response) (*GetEnvironmentMetricsResponse, error)
ParseGetEnvironmentMetricsResponse parses an HTTP response from a GetEnvironmentMetricsWithResponse call
func (GetEnvironmentMetricsResponse) Status ¶
func (r GetEnvironmentMetricsResponse) Status() string
Status returns HTTPResponse.Status
func (GetEnvironmentMetricsResponse) StatusCode ¶
func (r GetEnvironmentMetricsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetEnvironmentResponse ¶
type GetEnvironmentResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Environment }
func ParseGetEnvironmentResponse ¶
func ParseGetEnvironmentResponse(rsp *http.Response) (*GetEnvironmentResponse, error)
ParseGetEnvironmentResponse parses an HTTP response from a GetEnvironmentWithResponse call
func (GetEnvironmentResponse) Status ¶
func (r GetEnvironmentResponse) Status() string
Status returns HTTPResponse.Status
func (GetEnvironmentResponse) StatusCode ¶
func (r GetEnvironmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFunctionEnvironmentLogsResponse ¶
type GetFunctionEnvironmentLogsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]ResourceLog }
func ParseGetFunctionEnvironmentLogsResponse ¶
func ParseGetFunctionEnvironmentLogsResponse(rsp *http.Response) (*GetFunctionEnvironmentLogsResponse, error)
ParseGetFunctionEnvironmentLogsResponse parses an HTTP response from a GetFunctionEnvironmentLogsWithResponse call
func (GetFunctionEnvironmentLogsResponse) Status ¶
func (r GetFunctionEnvironmentLogsResponse) Status() string
Status returns HTTPResponse.Status
func (GetFunctionEnvironmentLogsResponse) StatusCode ¶
func (r GetFunctionEnvironmentLogsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFunctionMetricsParams ¶
type GetFunctionMetricsParams struct { // Environment Environment to filter functions by Environment *string `form:"environment,omitempty" json:"environment,omitempty"` }
GetFunctionMetricsParams defines parameters for GetFunctionMetrics.
type GetFunctionMetricsResponse ¶
type GetFunctionMetricsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ResourceEnvironmentMetrics }
func ParseGetFunctionMetricsResponse ¶
func ParseGetFunctionMetricsResponse(rsp *http.Response) (*GetFunctionMetricsResponse, error)
ParseGetFunctionMetricsResponse parses an HTTP response from a GetFunctionMetricsWithResponse call
func (GetFunctionMetricsResponse) Status ¶
func (r GetFunctionMetricsResponse) Status() string
Status returns HTTPResponse.Status
func (GetFunctionMetricsResponse) StatusCode ¶
func (r GetFunctionMetricsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFunctionParams ¶
type GetFunctionParams struct { // Environment Environment to filter functions by Environment *string `form:"environment,omitempty" json:"environment,omitempty"` }
GetFunctionParams defines parameters for GetFunction.
type GetFunctionResponse ¶
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 GetFunctionTraceIdsParams ¶
type GetFunctionTraceIdsParams struct { // Environment Environment to filter function by Environment *string `form:"environment,omitempty" json:"environment,omitempty"` }
GetFunctionTraceIdsParams defines parameters for GetFunctionTraceIds.
type GetFunctionTraceIdsResponse ¶
type GetFunctionTraceIdsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *TraceIdsResponse }
func ParseGetFunctionTraceIdsResponse ¶
func ParseGetFunctionTraceIdsResponse(rsp *http.Response) (*GetFunctionTraceIdsResponse, error)
ParseGetFunctionTraceIdsResponse parses an HTTP response from a GetFunctionTraceIdsWithResponse call
func (GetFunctionTraceIdsResponse) Status ¶
func (r GetFunctionTraceIdsResponse) Status() string
Status returns HTTPResponse.Status
func (GetFunctionTraceIdsResponse) StatusCode ¶
func (r GetFunctionTraceIdsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIntegrationConnectionModelResponse ¶
func ParseGetIntegrationConnectionModelResponse ¶
func ParseGetIntegrationConnectionModelResponse(rsp *http.Response) (*GetIntegrationConnectionModelResponse, error)
ParseGetIntegrationConnectionModelResponse parses an HTTP response from a GetIntegrationConnectionModelWithResponse call
func (GetIntegrationConnectionModelResponse) Status ¶
func (r GetIntegrationConnectionModelResponse) Status() string
Status returns HTTPResponse.Status
func (GetIntegrationConnectionModelResponse) StatusCode ¶
func (r GetIntegrationConnectionModelResponse) StatusCode() int
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 ¶
func (r GetIntegrationConnectionResponse) Status() string
Status returns HTTPResponse.Status
func (GetIntegrationConnectionResponse) StatusCode ¶
func (r GetIntegrationConnectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIntegrationModelResponse ¶
func ParseGetIntegrationModelResponse ¶
func ParseGetIntegrationModelResponse(rsp *http.Response) (*GetIntegrationModelResponse, error)
ParseGetIntegrationModelResponse parses an HTTP response from a GetIntegrationModelWithResponse call
func (GetIntegrationModelResponse) Status ¶
func (r GetIntegrationModelResponse) Status() string
Status returns HTTPResponse.Status
func (GetIntegrationModelResponse) StatusCode ¶
func (r GetIntegrationModelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIntegrationResponse ¶
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 GetMetricsResponse ¶
func ParseGetMetricsResponse ¶
func ParseGetMetricsResponse(rsp *http.Response) (*GetMetricsResponse, error)
ParseGetMetricsResponse parses an HTTP response from a GetMetricsWithResponse call
func (GetMetricsResponse) Status ¶
func (r GetMetricsResponse) Status() string
Status returns HTTPResponse.Status
func (GetMetricsResponse) StatusCode ¶
func (r GetMetricsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetModelEnvironmentLogsResponse ¶
type GetModelEnvironmentLogsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]ResourceLog }
func ParseGetModelEnvironmentLogsResponse ¶
func ParseGetModelEnvironmentLogsResponse(rsp *http.Response) (*GetModelEnvironmentLogsResponse, error)
ParseGetModelEnvironmentLogsResponse parses an HTTP response from a GetModelEnvironmentLogsWithResponse call
func (GetModelEnvironmentLogsResponse) Status ¶
func (r GetModelEnvironmentLogsResponse) Status() string
Status returns HTTPResponse.Status
func (GetModelEnvironmentLogsResponse) StatusCode ¶
func (r GetModelEnvironmentLogsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetModelMetricsParams ¶
type GetModelMetricsParams struct { // Environment Environment of the model Environment *string `form:"environment,omitempty" json:"environment,omitempty"` }
GetModelMetricsParams defines parameters for GetModelMetrics.
type GetModelMetricsResponse ¶
type GetModelMetricsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ResourceEnvironmentMetrics }
func ParseGetModelMetricsResponse ¶
func ParseGetModelMetricsResponse(rsp *http.Response) (*GetModelMetricsResponse, error)
ParseGetModelMetricsResponse parses an HTTP response from a GetModelMetricsWithResponse call
func (GetModelMetricsResponse) Status ¶
func (r GetModelMetricsResponse) Status() string
Status returns HTTPResponse.Status
func (GetModelMetricsResponse) StatusCode ¶
func (r GetModelMetricsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetModelParams ¶
type GetModelParams struct { // Environment Environment of the model Environment *string `form:"environment,omitempty" json:"environment,omitempty"` }
GetModelParams defines parameters for GetModel.
type GetModelResponse ¶
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 GetModelTraceIdsParams ¶
type GetModelTraceIdsParams struct { // Environment Environment to filter models by Environment *string `form:"environment,omitempty" json:"environment,omitempty"` }
GetModelTraceIdsParams defines parameters for GetModelTraceIds.
type GetModelTraceIdsResponse ¶
type GetModelTraceIdsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *TraceIdsResponse }
func ParseGetModelTraceIdsResponse ¶
func ParseGetModelTraceIdsResponse(rsp *http.Response) (*GetModelTraceIdsResponse, error)
ParseGetModelTraceIdsResponse parses an HTTP response from a GetModelTraceIdsWithResponse call
func (GetModelTraceIdsResponse) Status ¶
func (r GetModelTraceIdsResponse) Status() string
Status returns HTTPResponse.Status
func (GetModelTraceIdsResponse) StatusCode ¶
func (r GetModelTraceIdsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPolicyResponse ¶
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 ¶
func ParseGetPrivateClusterHealthResponse ¶
func ParseGetPrivateClusterHealthResponse(rsp *http.Response) (*GetPrivateClusterHealthResponse, error)
ParseGetPrivateClusterHealthResponse parses an HTTP response from a GetPrivateClusterHealthWithResponse call
func (GetPrivateClusterHealthResponse) Status ¶
func (r GetPrivateClusterHealthResponse) Status() string
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 GetStoreAgentResponse ¶
type GetStoreAgentResponse struct { Body []byte HTTPResponse *http.Response JSON200 *StoreAgent }
func ParseGetStoreAgentResponse ¶
func ParseGetStoreAgentResponse(rsp *http.Response) (*GetStoreAgentResponse, error)
ParseGetStoreAgentResponse parses an HTTP response from a GetStoreAgentWithResponse call
func (GetStoreAgentResponse) Status ¶
func (r GetStoreAgentResponse) Status() string
Status returns HTTPResponse.Status
func (GetStoreAgentResponse) StatusCode ¶
func (r GetStoreAgentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetStoreFunctionResponse ¶
type GetStoreFunctionResponse struct { Body []byte HTTPResponse *http.Response JSON200 *StoreFunction }
func ParseGetStoreFunctionResponse ¶
func ParseGetStoreFunctionResponse(rsp *http.Response) (*GetStoreFunctionResponse, error)
ParseGetStoreFunctionResponse parses an HTTP response from a GetStoreFunctionWithResponse call
func (GetStoreFunctionResponse) Status ¶
func (r GetStoreFunctionResponse) Status() string
Status returns HTTPResponse.Status
func (GetStoreFunctionResponse) StatusCode ¶
func (r GetStoreFunctionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTraceIdsParams ¶
type GetTraceIdsParams struct { WorkloadId *string `form:"workloadId,omitempty" json:"workloadId,omitempty"` WorkloadType *string `form:"workloadType,omitempty" json:"workloadType,omitempty"` Environment *string `form:"environment,omitempty" json:"environment,omitempty"` Limit *string `form:"limit,omitempty" json:"limit,omitempty"` StartTime *string `form:"startTime,omitempty" json:"startTime,omitempty"` EndTime *string `form:"endTime,omitempty" json:"endTime,omitempty"` }
GetTraceIdsParams defines parameters for GetTraceIds.
type GetTraceIdsResponse ¶
type GetTraceIdsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *map[string]interface{} }
func ParseGetTraceIdsResponse ¶
func ParseGetTraceIdsResponse(rsp *http.Response) (*GetTraceIdsResponse, error)
ParseGetTraceIdsResponse parses an HTTP response from a GetTraceIdsWithResponse call
func (GetTraceIdsResponse) Status ¶
func (r GetTraceIdsResponse) Status() string
Status returns HTTPResponse.Status
func (GetTraceIdsResponse) StatusCode ¶
func (r GetTraceIdsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTraceLogsParams ¶
type GetTraceLogsParams struct { SpanId *string `form:"spanId,omitempty" json:"spanId,omitempty"` Limit *string `form:"limit,omitempty" json:"limit,omitempty"` }
GetTraceLogsParams defines parameters for GetTraceLogs.
type GetTraceLogsResponse ¶
type GetTraceLogsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *map[string]interface{} }
func ParseGetTraceLogsResponse ¶
func ParseGetTraceLogsResponse(rsp *http.Response) (*GetTraceLogsResponse, error)
ParseGetTraceLogsResponse parses an HTTP response from a GetTraceLogsWithResponse call
func (GetTraceLogsResponse) Status ¶
func (r GetTraceLogsResponse) Status() string
Status returns HTTPResponse.Status
func (GetTraceLogsResponse) StatusCode ¶
func (r GetTraceLogsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTraceResponse ¶
type GetTraceResponse struct { Body []byte HTTPResponse *http.Response JSON200 *map[string]interface{} }
func ParseGetTraceResponse ¶
func ParseGetTraceResponse(rsp *http.Response) (*GetTraceResponse, error)
ParseGetTraceResponse parses an HTTP response from a GetTraceWithResponse call
func (GetTraceResponse) Status ¶
func (r GetTraceResponse) Status() string
Status returns HTTPResponse.Status
func (GetTraceResponse) StatusCode ¶
func (r GetTraceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWorkspaceResponse ¶
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 ¶
func (r GetWorkspaceServiceAccountsResponse) Status() string
Status returns HTTPResponse.Status
func (GetWorkspaceServiceAccountsResponse) StatusCode ¶
func (r GetWorkspaceServiceAccountsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HistogramBucket ¶ added in v0.0.47
type HistogramBucket struct { // Count Count Count *int `json:"count,omitempty"` // End End End *float32 `json:"end,omitempty"` // Start Start Start *float32 `json:"start,omitempty"` }
HistogramBucket Histogram bucket
type HistogramStats ¶ added in v0.0.47
type HistogramStats struct { // Average Average request duration Average *float32 `json:"average,omitempty"` // P50 P50 request duration P50 *float32 `json:"p50,omitempty"` // P90 P90 request duration P90 *float32 `json:"p90,omitempty"` // P99 P99 request duration P99 *float32 `json:"p99,omitempty"` }
HistogramStats Histogram stats
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
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]interface{} `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]interface{} `json:"secret,omitempty"` }
IntegrationConnectionSpec Integration connection specification
type IntegrationConnectionsList ¶
type IntegrationConnectionsList = []string
IntegrationConnectionsList defines model for IntegrationConnectionsList.
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 ¶
func (r InviteWorkspaceUserResponse) Status() string
Status returns HTTPResponse.Status
func (InviteWorkspaceUserResponse) StatusCode ¶
func (r InviteWorkspaceUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LatencyMetric ¶ added in v0.0.47
type LatencyMetric struct { // GlobalHistogram Histogram bucket GlobalHistogram *HistogramBucket `json:"globalHistogram,omitempty"` // GlobalStats Histogram stats GlobalStats *HistogramStats `json:"globalStats,omitempty"` // HistogramPerCode Histogram bucket HistogramPerCode *HistogramBucket `json:"histogramPerCode,omitempty"` // StatsPerCode Histogram stats StatsPerCode *HistogramStats `json:"statsPerCode,omitempty"` }
LatencyMetric Latency metrics
type LeaveWorkspaceResponse ¶
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 ListAccountsResponse ¶ added in v0.0.48
func ParseListAccountsResponse ¶ added in v0.0.48
func ParseListAccountsResponse(rsp *http.Response) (*ListAccountsResponse, error)
ParseListAccountsResponse parses an HTTP response from a ListAccountsWithResponse call
func (ListAccountsResponse) Status ¶ added in v0.0.48
func (r ListAccountsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAccountsResponse) StatusCode ¶ added in v0.0.48
func (r ListAccountsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAgentHistoryResponse ¶
type ListAgentHistoryResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]AgentHistory }
func ParseListAgentHistoryResponse ¶
func ParseListAgentHistoryResponse(rsp *http.Response) (*ListAgentHistoryResponse, error)
ParseListAgentHistoryResponse parses an HTTP response from a ListAgentHistoryWithResponse call
func (ListAgentHistoryResponse) Status ¶
func (r ListAgentHistoryResponse) Status() string
Status returns HTTPResponse.Status
func (ListAgentHistoryResponse) StatusCode ¶
func (r ListAgentHistoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAgentsHistoryResponse ¶
type ListAgentsHistoryResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]AgentHistory }
func ParseListAgentsHistoryResponse ¶
func ParseListAgentsHistoryResponse(rsp *http.Response) (*ListAgentsHistoryResponse, error)
ParseListAgentsHistoryResponse parses an HTTP response from a ListAgentsHistoryWithResponse call
func (ListAgentsHistoryResponse) Status ¶
func (r ListAgentsHistoryResponse) Status() string
Status returns HTTPResponse.Status
func (ListAgentsHistoryResponse) StatusCode ¶
func (r ListAgentsHistoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAgentsParams ¶
type ListAgentsParams struct { // Environment Environment to filter agents by Environment *string `form:"environment,omitempty" json:"environment,omitempty"` }
ListAgentsParams defines parameters for ListAgents.
type ListAgentsResponse ¶
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 ¶
func (r ListAllPendingInvitationsResponse) Status() string
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 ¶
func (r ListApiKeysForServiceAccountResponse) Status() string
Status returns HTTPResponse.Status
func (ListApiKeysForServiceAccountResponse) StatusCode ¶
func (r ListApiKeysForServiceAccountResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListEnvironmentsResponse ¶
type ListEnvironmentsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]Environment }
func ParseListEnvironmentsResponse ¶
func ParseListEnvironmentsResponse(rsp *http.Response) (*ListEnvironmentsResponse, error)
ParseListEnvironmentsResponse parses an HTTP response from a ListEnvironmentsWithResponse call
func (ListEnvironmentsResponse) Status ¶
func (r ListEnvironmentsResponse) Status() string
Status returns HTTPResponse.Status
func (ListEnvironmentsResponse) StatusCode ¶
func (r ListEnvironmentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListFunctionsParams ¶
type ListFunctionsParams struct { // Environment Environment to filter functions by Environment *string `form:"environment,omitempty" json:"environment,omitempty"` }
ListFunctionsParams defines parameters for ListFunctions.
type ListFunctionsResponse ¶
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 ¶
func ParseListIntegrationConnectionModelsResponse ¶
func ParseListIntegrationConnectionModelsResponse(rsp *http.Response) (*ListIntegrationConnectionModelsResponse, error)
ParseListIntegrationConnectionModelsResponse parses an HTTP response from a ListIntegrationConnectionModelsWithResponse call
func (ListIntegrationConnectionModelsResponse) Status ¶
func (r ListIntegrationConnectionModelsResponse) Status() string
Status returns HTTPResponse.Status
func (ListIntegrationConnectionModelsResponse) StatusCode ¶
func (r ListIntegrationConnectionModelsResponse) StatusCode() int
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 ¶
func (r ListIntegrationConnectionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListIntegrationConnectionsResponse) StatusCode ¶
func (r ListIntegrationConnectionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListIntegrationModelsResponse ¶
func ParseListIntegrationModelsResponse ¶
func ParseListIntegrationModelsResponse(rsp *http.Response) (*ListIntegrationModelsResponse, error)
ParseListIntegrationModelsResponse parses an HTTP response from a ListIntegrationModelsWithResponse call
func (ListIntegrationModelsResponse) Status ¶
func (r ListIntegrationModelsResponse) Status() string
Status returns HTTPResponse.Status
func (ListIntegrationModelsResponse) StatusCode ¶
func (r ListIntegrationModelsResponse) 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 ListModelsParams ¶
type ListModelsParams struct { // Environment Environment of the model Environment *string `form:"environment,omitempty" json:"environment,omitempty"` }
ListModelsParams defines parameters for ListModels.
type ListModelsResponse ¶
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 ¶
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 ¶
func (r ListPrivateClustersResponse) Status() string
Status returns HTTPResponse.Status
func (ListPrivateClustersResponse) StatusCode ¶
func (r ListPrivateClustersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListStoreAgentsResponse ¶
type ListStoreAgentsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]StoreAgent }
func ParseListStoreAgentsResponse ¶
func ParseListStoreAgentsResponse(rsp *http.Response) (*ListStoreAgentsResponse, error)
ParseListStoreAgentsResponse parses an HTTP response from a ListStoreAgentsWithResponse call
func (ListStoreAgentsResponse) Status ¶
func (r ListStoreAgentsResponse) Status() string
Status returns HTTPResponse.Status
func (ListStoreAgentsResponse) StatusCode ¶
func (r ListStoreAgentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListStoreFunctionsResponse ¶
type ListStoreFunctionsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *[]StoreFunction }
func ParseListStoreFunctionsResponse ¶
func ParseListStoreFunctionsResponse(rsp *http.Response) (*ListStoreFunctionsResponse, error)
ParseListStoreFunctionsResponse parses an HTTP response from a ListStoreFunctionsWithResponse call
func (ListStoreFunctionsResponse) Status ¶
func (r ListStoreFunctionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListStoreFunctionsResponse) StatusCode ¶
func (r ListStoreFunctionsResponse) 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 ¶
func (r ListWorkspaceUsersResponse) Status() string
Status returns HTTPResponse.Status
func (ListWorkspaceUsersResponse) StatusCode ¶
func (r ListWorkspaceUsersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListWorkspacesResponse ¶
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 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"` // 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 Metric ¶
type Metric struct { // Rate Metric value Rate *int `json:"rate,omitempty"` // RequestTotal Metric value RequestTotal *int `json:"requestTotal,omitempty"` // Timestamp Metric timestamp Timestamp *string `json:"timestamp,omitempty"` }
Metric Metric
type Metrics ¶
type Metrics struct { // Agents Metrics for agents Agents *interface{} `json:"agents,omitempty"` // Functions Metrics for functions Functions *interface{} `json:"functions,omitempty"` // InferenceGlobal Historical requests for all resources globally InferenceGlobal *[]interface{} `json:"inferenceGlobal,omitempty"` // Models Metrics for models Models *map[string]interface{} `json:"models,omitempty"` // RequestTotal Number of requests for all resources globally RequestTotal *float32 `json:"requestTotal,omitempty"` // RequestTotalPerCode Number of requests for all resources globally per code RequestTotalPerCode *map[string]interface{} `json:"requestTotalPerCode,omitempty"` // Rps Number of requests per second for all resources globally Rps *float32 `json:"rps,omitempty"` // RpsPerCode Number of requests per second for all resources globally per code RpsPerCode *map[string]interface{} `json:"rpsPerCode,omitempty"` }
Metrics Metrics for resources
type Model ¶
type Model struct { // Events Core events Events *CoreEvents `json:"events,omitempty"` // Metadata Environment metadata Metadata *EnvironmentMetadata `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, that can be instantiated in multiple environments as model deployments
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 ModelRelease ¶
type ModelRelease struct { // From Origin environment from which the model is released From *string `json:"from,omitempty"` // To Destination environment to which the model is released To *string `json:"to,omitempty"` }
ModelRelease Model release, used to deploy a model from one environment to another
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 agent Enabled *bool `json:"enabled,omitempty"` // Flavors Types of hardware available for deployments Flavors *Flavors `json:"flavors,omitempty"` IntegrationConnections *IntegrationConnectionsList `json:"integrationConnections,omitempty"` // PodTemplate Pod template specification PodTemplate *PodTemplateSpec `json:"podTemplate,omitempty"` Policies *PoliciesList `json:"policies,omitempty"` // PrivateClusters Private cluster where the model deployment is deployed PrivateClusters *ModelPrivateCluster `json:"privateClusters,omitempty"` // Runtime Set of configurations for a deployment Runtime *Runtime `json:"runtime,omitempty"` // Sandbox Sandbox mode Sandbox *bool `json:"sandbox,omitempty"` // ServerlessConfig Configuration for a serverless deployment ServerlessConfig *ServerlessConfig `json:"serverlessConfig,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 PodTemplateSpec ¶
type PodTemplateSpec = map[string]interface{}
PodTemplateSpec Pod template specification
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 ¶ added in v0.0.46
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 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 PublicProvider ¶
type PublicProvider struct{}
func NewPublicProvider ¶
func NewPublicProvider() *PublicProvider
type PutAgentHistoryJSONRequestBody ¶
type PutAgentHistoryJSONRequestBody = AgentHistory
PutAgentHistoryJSONRequestBody defines body for PutAgentHistory for application/json ContentType.
type PutAgentHistoryResponse ¶
type PutAgentHistoryResponse struct { Body []byte HTTPResponse *http.Response JSON200 *AgentHistory }
func ParsePutAgentHistoryResponse ¶
func ParsePutAgentHistoryResponse(rsp *http.Response) (*PutAgentHistoryResponse, error)
ParsePutAgentHistoryResponse parses an HTTP response from a PutAgentHistoryWithResponse call
func (PutAgentHistoryResponse) Status ¶
func (r PutAgentHistoryResponse) Status() string
Status returns HTTPResponse.Status
func (PutAgentHistoryResponse) StatusCode ¶
func (r PutAgentHistoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReleaseModelResponse ¶
type ReleaseModelResponse struct { Body []byte HTTPResponse *http.Response JSON200 *ModelRelease }
func ParseReleaseModelResponse ¶
func ParseReleaseModelResponse(rsp *http.Response) (*ReleaseModelResponse, error)
ParseReleaseModelResponse parses an HTTP response from a ReleaseModelWithResponse call
func (ReleaseModelResponse) Status ¶
func (r ReleaseModelResponse) Status() string
Status returns HTTPResponse.Status
func (ReleaseModelResponse) StatusCode ¶
func (r ReleaseModelResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveWorkspaceUserResponse ¶
func ParseRemoveWorkspaceUserResponse ¶
func ParseRemoveWorkspaceUserResponse(rsp *http.Response) (*RemoveWorkspaceUserResponse, error)
ParseRemoveWorkspaceUserResponse parses an HTTP response from a RemoveWorkspaceUserWithResponse call
func (RemoveWorkspaceUserResponse) Status ¶
func (r RemoveWorkspaceUserResponse) Status() string
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 RequestDurationOverTimeMetric ¶ added in v0.0.47
type RequestDurationOverTimeMetric struct { // Average Average request duration Average *float32 `json:"average,omitempty"` // P50 P50 request duration P50 *float32 `json:"p50,omitempty"` // P90 P90 request duration P90 *float32 `json:"p90,omitempty"` // P99 P99 request duration P99 *float32 `json:"p99,omitempty"` // Timestamp Timestamp Timestamp *string `json:"timestamp,omitempty"` }
RequestDurationOverTimeMetric Request duration over time metric
type RequestDurationOverTimeMetrics ¶ added in v0.0.47
type RequestDurationOverTimeMetrics struct { // RequestDurationOverTime Request duration over time metric RequestDurationOverTime *RequestDurationOverTimeMetric `json:"requestDurationOverTime,omitempty"` }
RequestDurationOverTimeMetrics Request duration over time metrics
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RequestTotalByOriginMetric ¶ added in v0.0.47
type RequestTotalByOriginMetric struct { // RequestTotalByOrigin Request total by origin RequestTotalByOrigin *map[string]interface{} `json:"requestTotalByOrigin,omitempty"` // RequestTotalByOriginAndCode Request total by origin and code RequestTotalByOriginAndCode *map[string]interface{} `json:"requestTotalByOriginAndCode,omitempty"` }
RequestTotalByOriginMetric Request total by origin metric
type ResourceEnvironmentMetrics ¶ added in v0.0.47
type ResourceEnvironmentMetrics struct { // InferenceGlobal Array of metrics InferenceGlobal *ArrayMetric `json:"inferenceGlobal,omitempty"` // LastNRequests Array of metrics LastNRequests *ArrayMetric `json:"lastNRequests,omitempty"` // Latency Latency metrics Latency *LatencyMetric `json:"latency,omitempty"` // RequestDurationOverTime Request duration over time metrics RequestDurationOverTime *RequestDurationOverTimeMetrics `json:"requestDurationOverTime,omitempty"` // RequestTotal Number of requests for the resource globally RequestTotal *float32 `json:"requestTotal,omitempty"` // RequestTotalByOrigin Request total by origin metric RequestTotalByOrigin *RequestTotalByOriginMetric `json:"requestTotalByOrigin,omitempty"` // RequestTotalPerCode Number of requests for the resource globally per code RequestTotalPerCode *map[string]interface{} `json:"requestTotalPerCode,omitempty"` // Rps Number of requests per second for the resource globally Rps *float32 `json:"rps,omitempty"` // RpsPerCode Number of requests per second for the resource globally per code RpsPerCode *map[string]interface{} `json:"rpsPerCode,omitempty"` // TokenRate Token rate metrics TokenRate *TokenRateMetrics `json:"tokenRate,omitempty"` // TokenTotal Token total metric TokenTotal *TokenTotalMetric `json:"tokenTotal,omitempty"` }
ResourceEnvironmentMetrics Metrics for a single resource deployment (eg. model deployment, function deployment)
type ResourceLog ¶
type ResourceLog struct { // Message Content of the log Message *string `json:"message,omitempty"` // Severity Severity of the log Severity *int `json:"severity,omitempty"` // Timestamp The timestamp of the log Timestamp *string `json:"timestamp,omitempty"` }
ResourceLog Log for a resource deployment (eg. model deployment, function deployment)
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"` // Envs The environment variables to set in the deployment. Should be a list of Kubernetes EnvVar types Envs *[]interface{} `json:"envs,omitempty"` // Image The Docker image for the deployment Image *string `json:"image,omitempty"` // MetricPort The port to serve the metrics on MetricPort *int `json:"metricPort,omitempty"` // Model The slug name of the origin model. Only used if the deployment is a Deployment Model *string `json:"model,omitempty"` // ReadinessProbe The readiness probe. Should be a Kubernetes Probe type ReadinessProbe *map[string]interface{} `json:"readinessProbe,omitempty"` // Resources The resources for the deployment. Should be a Kubernetes ResourceRequirements type Resources *map[string]interface{} `json:"resources,omitempty"` // ServingPort The port to serve the model on ServingPort *int `json:"servingPort,omitempty"` // Type The type of origin for the deployment Type *string `json:"type,omitempty"` }
Runtime Set of configurations for a deployment
type ServerlessConfig ¶
type ServerlessConfig struct { // LastPodRetentionPeriod The minimum amount of time that the last replica will remain active AFTER a scale-to-zero decision is made LastPodRetentionPeriod *string `json:"lastPodRetentionPeriod,omitempty"` // MaxNumReplicas The maximum number of replicas for the deployment. MaxNumReplicas *int `json:"maxNumReplicas,omitempty"` // Metric Metric watched to make scaling decisions. Can be "cpu" or "memory" or "rps" or "concurrency" Metric *string `json:"metric,omitempty"` // MinNumReplicas 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). MinNumReplicas *int `json:"minNumReplicas,omitempty"` // ScaleDownDelay The time window which must pass at reduced concurrency before a scale-down decision is applied. This can be useful, for example, to keep containers around for a configurable duration to avoid a cold start penalty if new requests come in. ScaleDownDelay *string `json:"scaleDownDelay,omitempty"` // ScaleUpMinimum The minimum number of replicas that will be created when the deployment scales up from zero. ScaleUpMinimum *int `json:"scaleUpMinimum,omitempty"` // StableWindow The sliding time window over which metrics are averaged to provide the input for scaling decisions StableWindow *string `json:"stableWindow,omitempty"` // Target Target value for the watched metric Target *string `json:"target,omitempty"` }
ServerlessConfig Configuration for a serverless deployment
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 StoreAgent ¶
type StoreAgent struct { // Configuration Store agent configuration Configuration *[]StoreConfiguration `json:"configuration,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"` // Description Store agent description Description *string `json:"description,omitempty"` // DisplayName Store agent display name DisplayName *string `json:"displayName,omitempty"` // Image Store agent image Image *string `json:"image,omitempty"` // Labels Store agent labels Labels *map[string]interface{} `json:"labels,omitempty"` // Name Store agent name 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"` }
StoreAgent defines model for StoreAgent.
type StoreConfiguration ¶
type StoreConfiguration struct { // AvailableModels Available models for the configuration AvailableModels *[]string `json:"availableModels,omitempty"` // Description Store configuration description Description *string `json:"description,omitempty"` // DisplayName Store configuration display name DisplayName *string `json:"displayName,omitempty"` // If Conditional rendering for the configuration, example: provider === 'openai' If *string `json:"if,omitempty"` // Name Store configuration name Name *string `json:"name,omitempty"` Options *[]StoreConfigurationOption `json:"options,omitempty"` // Required Store configuration required Required *bool `json:"required,omitempty"` // Secret Store configuration secret Secret *bool `json:"secret,omitempty"` // Type Store configuration type Type *string `json:"type,omitempty"` }
StoreConfiguration Store configuration for resources (eg: agent, function, etc)
type StoreConfigurationOption ¶
type StoreConfigurationOption struct { // If Conditional rendering for the configuration option, example: provider === 'openai' If *string `json:"if,omitempty"` // Label Store configuration option label Label *string `json:"label,omitempty"` // Value Store configuration option value Value *string `json:"value,omitempty"` }
StoreConfigurationOption Store configuration options for a select type configuration
type StoreFunction ¶
type StoreFunction struct { // Configuration Store function configuration Configuration *[]StoreConfiguration `json:"configuration,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"` // Description Store function description Description *string `json:"description,omitempty"` // DisplayName Store function display name DisplayName *string `json:"displayName,omitempty"` // Image Store function image Image *string `json:"image,omitempty"` // Kit Store function kit Kit *[]StoreFunctionKit `json:"kit,omitempty"` // Labels Store function labels Labels *map[string]interface{} `json:"labels,omitempty"` // Name Store function name Name *string `json:"name,omitempty"` // Parameters Store function parameters Parameters *[]StoreFunctionParameter `json:"parameters,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"` }
StoreFunction defines model for StoreFunction.
type StoreFunctionKit ¶
type StoreFunctionKit struct { // Description Description of the function kit, very important for the agent to work with your kit Description *string `json:"description,omitempty"` // Name The kit name, very important for the agent to work with your kit Name *string `json:"name,omitempty"` // Parameters Kit parameters, for your kit to be callable with an Agent Parameters *[]StoreFunctionParameter `json:"parameters,omitempty"` }
StoreFunctionKit Store function kit
type StoreFunctionParameter ¶
type StoreFunctionParameter struct { // Description Store function parameter description Description *string `json:"description,omitempty"` // Name Store function parameter name Name *string `json:"name,omitempty"` // Required Store function parameter required Required *bool `json:"required,omitempty"` // Type Store function parameter type Type *string `json:"type,omitempty"` }
StoreFunctionParameter Store function parameter
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 TokenRateMetric ¶ added in v0.0.47
type TokenRateMetric struct { // Model Model ID Model *string `json:"model,omitempty"` // Timestamp Timestamp Timestamp *string `json:"timestamp,omitempty"` // TokenTotal Total tokens TokenTotal *float32 `json:"tokenTotal,omitempty"` // Trend Trend Trend *float32 `json:"trend,omitempty"` }
TokenRateMetric Token rate metric
type TokenRateMetrics ¶ added in v0.0.47
type TokenRateMetrics struct { // TokenRate Token rate metric TokenRate *TokenRateMetric `json:"tokenRate,omitempty"` // TokenRateInput Token rate metric TokenRateInput *TokenRateMetric `json:"tokenRateInput,omitempty"` // TokenRateOutput Token rate metric TokenRateOutput *TokenRateMetric `json:"tokenRateOutput,omitempty"` }
TokenRateMetrics Token rate metrics
type TokenTotalMetric ¶ added in v0.0.47
type TokenTotalMetric struct { // AverageTokenInputPerRequest Average input token per request AverageTokenInputPerRequest *float32 `json:"averageTokenInputPerRequest,omitempty"` // AverageTokenOutputPerRequest Average output token per request AverageTokenOutputPerRequest *float32 `json:"averageTokenOutputPerRequest,omitempty"` // AverageTokenPerRequest Average token per request AverageTokenPerRequest *float32 `json:"averageTokenPerRequest,omitempty"` // TokenInput Total input tokens TokenInput *float32 `json:"tokenInput,omitempty"` // TokenOutput Total output tokens TokenOutput *float32 `json:"tokenOutput,omitempty"` // TokenTotal Total tokens TokenTotal *float32 `json:"tokenTotal,omitempty"` }
TokenTotalMetric Token total metric
type TraceIdsResponse ¶
type TraceIdsResponse = map[string]interface{}
TraceIdsResponse Trace IDs response
type UpdateAccountJSONRequestBody ¶ added in v0.0.48
type UpdateAccountJSONRequestBody = Account
UpdateAccountJSONRequestBody defines body for UpdateAccount for application/json ContentType.
type UpdateAccountResponse ¶ added in v0.0.48
func ParseUpdateAccountResponse ¶ added in v0.0.48
func ParseUpdateAccountResponse(rsp *http.Response) (*UpdateAccountResponse, error)
ParseUpdateAccountResponse parses an HTTP response from a UpdateAccountWithResponse call
func (UpdateAccountResponse) Status ¶ added in v0.0.48
func (r UpdateAccountResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateAccountResponse) StatusCode ¶ added in v0.0.48
func (r UpdateAccountResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateAgentJSONRequestBody ¶
type UpdateAgentJSONRequestBody = Agent
UpdateAgentJSONRequestBody defines body for UpdateAgent for application/json ContentType.
type UpdateAgentResponse ¶
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 UpdateEnvironmentJSONRequestBody ¶
type UpdateEnvironmentJSONRequestBody = Environment
UpdateEnvironmentJSONRequestBody defines body for UpdateEnvironment for application/json ContentType.
type UpdateEnvironmentResponse ¶
type UpdateEnvironmentResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Environment }
func ParseUpdateEnvironmentResponse ¶
func ParseUpdateEnvironmentResponse(rsp *http.Response) (*UpdateEnvironmentResponse, error)
ParseUpdateEnvironmentResponse parses an HTTP response from a UpdateEnvironmentWithResponse call
func (UpdateEnvironmentResponse) Status ¶
func (r UpdateEnvironmentResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateEnvironmentResponse) StatusCode ¶
func (r UpdateEnvironmentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateFunctionJSONRequestBody ¶
type UpdateFunctionJSONRequestBody = Function
UpdateFunctionJSONRequestBody defines body for UpdateFunction for application/json ContentType.
type UpdateFunctionResponse ¶
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 ¶
func (r UpdateIntegrationConnectionResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateIntegrationConnectionResponse) StatusCode ¶
func (r UpdateIntegrationConnectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateModelJSONRequestBody ¶
type UpdateModelJSONRequestBody = Model
UpdateModelJSONRequestBody defines body for UpdateModel for application/json ContentType.
type UpdateModelResponse ¶
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 ¶
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 ¶
func ParseUpdatePrivateClusterHealthResponse ¶
func ParseUpdatePrivateClusterHealthResponse(rsp *http.Response) (*UpdatePrivateClusterHealthResponse, error)
ParseUpdatePrivateClusterHealthResponse parses an HTTP response from a UpdatePrivateClusterHealthWithResponse call
func (UpdatePrivateClusterHealthResponse) Status ¶
func (r UpdatePrivateClusterHealthResponse) Status() string
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 ¶
func (r UpdatePrivateClusterResponse) Status() string
Status returns HTTPResponse.Status
func (UpdatePrivateClusterResponse) StatusCode ¶
func (r UpdatePrivateClusterResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateWorkspaceJSONRequestBody ¶
type UpdateWorkspaceJSONRequestBody = Workspace
UpdateWorkspaceJSONRequestBody defines body for UpdateWorkspace for application/json ContentType.
type UpdateWorkspaceResponse ¶
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 ¶
func (r UpdateWorkspaceServiceAccountResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateWorkspaceServiceAccountResponse) StatusCode ¶
func (r UpdateWorkspaceServiceAccountResponse) StatusCode() int
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 ¶
func (r UpdateWorkspaceUserRoleResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateWorkspaceUserRoleResponse) StatusCode ¶
func (r UpdateWorkspaceUserRoleResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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"` // Labels Workspace labels Labels *map[string]interface{} `json:"labels,omitempty"` // Name Workspace name Name *string `json:"name,omitempty"` // Quotasomitempty Workspace quotas Quotasomitempty *Quotas `json:"quotas,omitempty,omitempty"` // Region Workspace write region Region *string `json:"region,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"` }
type WorkspaceQuotasRequestResponse ¶
type WorkspaceQuotasRequestResponse struct { Body []byte HTTPResponse *http.Response JSON200 *Quotas }
func ParseWorkspaceQuotasRequestResponse ¶
func ParseWorkspaceQuotasRequestResponse(rsp *http.Response) (*WorkspaceQuotasRequestResponse, error)
ParseWorkspaceQuotasRequestResponse parses an HTTP response from a WorkspaceQuotasRequestWithResponse call
func (WorkspaceQuotasRequestResponse) Status ¶
func (r WorkspaceQuotasRequestResponse) Status() string
Status returns HTTPResponse.Status
func (WorkspaceQuotasRequestResponse) StatusCode ¶
func (r WorkspaceQuotasRequestResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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