sdk

package
v0.0.53 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2025 License: MIT, MIT Imports: 21 Imported by: 0

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

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

Variables

This section is empty.

Functions

func BlString

func BlString(s string) *string

func ClearCredentials

func ClearCredentials(workspaceName string)

func GetSwagger

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

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

func ListWorkspaces

func ListWorkspaces() []string

func 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

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

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

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

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

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

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

func NewDeleteAccountRequest(server string, accountId string) (*http.Request, error)

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

func NewDeleteEnvironmentRequest(server string, environmentName string) (*http.Request, error)

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

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

NewDeletePolicyRequest generates requests for DeletePolicy

func NewDeletePrivateClusterRequest

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

NewDeletePrivateClusterRequest generates requests for DeletePrivateCluster

func NewDeleteWorkspaceRequest

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

NewDeleteWorkspaceRequest generates requests for DeleteWorkspace

func NewDeleteWorkspaceServiceAccountRequest

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

NewDeleteWorkspaceServiceAccountRequest generates requests for DeleteWorkspaceServiceAccount

func NewGetAccountRequest added in v0.0.48

func NewGetAccountRequest(server string, accountId string) (*http.Request, error)

NewGetAccountRequest generates requests for GetAccount

func NewGetAgentEnvironmentLogsRequest

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

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

func NewGetAgentsHistoryRequest(server string, requestId string) (*http.Request, error)

NewGetAgentsHistoryRequest generates requests for GetAgentsHistory

func NewGetConfigurationRequest

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

NewGetConfigurationRequest generates requests for GetConfiguration

func NewGetEnvironmentMetricsRequest

func NewGetEnvironmentMetricsRequest(server string, environmentName string) (*http.Request, error)

NewGetEnvironmentMetricsRequest generates requests for GetEnvironmentMetrics

func NewGetEnvironmentRequest

func NewGetEnvironmentRequest(server string, environmentName string) (*http.Request, error)

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

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

NewGetIntegrationRequest generates requests for GetIntegration

func NewGetMetricsRequest

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

NewGetMetricsRequest generates requests for GetMetrics

func NewGetModelEnvironmentLogsRequest

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

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

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

NewGetPolicyRequest generates requests for GetPolicy

func NewGetPrivateClusterHealthRequest

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

NewGetPrivateClusterHealthRequest generates requests for GetPrivateClusterHealth

func NewGetPrivateClusterRequest

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

NewGetPrivateClusterRequest generates requests for GetPrivateCluster

func NewGetStoreAgentRequest

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

NewGetStoreAgentRequest generates requests for GetStoreAgent

func NewGetStoreFunctionRequest

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

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

func NewGetTraceRequest(server string, traceId string) (*http.Request, error)

NewGetTraceRequest generates requests for GetTrace

func NewGetWorkspaceRequest

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

NewGetWorkspaceRequest generates requests for GetWorkspace

func NewGetWorkspaceServiceAccountsRequest

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

NewGetWorkspaceServiceAccountsRequest generates requests for GetWorkspaceServiceAccounts

func NewInviteWorkspaceUserRequest

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

NewInviteWorkspaceUserRequest calls the generic InviteWorkspaceUser builder with application/json body

func NewInviteWorkspaceUserRequestWithBody

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

NewInviteWorkspaceUserRequestWithBody generates requests for InviteWorkspaceUser with any type of body

func NewLeaveWorkspaceRequest

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

NewLeaveWorkspaceRequest generates requests for LeaveWorkspace

func NewListAccountsRequest added in v0.0.48

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

NewListAccountsRequest generates requests for ListAccounts

func NewListAgentHistoryRequest

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

NewListAgentHistoryRequest generates requests for ListAgentHistory

func NewListAgentsHistoryRequest

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

NewListAgentsHistoryRequest generates requests for ListAgentsHistory

func NewListAgentsRequest

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

NewListAgentsRequest generates requests for ListAgents

func NewListAllPendingInvitationsRequest

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

NewListAllPendingInvitationsRequest generates requests for ListAllPendingInvitations

func NewListApiKeysForServiceAccountRequest

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

NewListApiKeysForServiceAccountRequest generates requests for ListApiKeysForServiceAccount

func NewListEnvironmentsRequest

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

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

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

NewListIntegrationConnectionsRequest generates requests for ListIntegrationConnections

func NewListIntegrationModelsRequest

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

NewListIntegrationModelsRequest generates requests for ListIntegrationModels

func NewListLocationsRequest

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

NewListLocationsRequest generates requests for ListLocations

func NewListModelsRequest

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

NewListModelsRequest generates requests for ListModels

func NewListPoliciesRequest

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

NewListPoliciesRequest generates requests for ListPolicies

func NewListPrivateClustersRequest

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

NewListPrivateClustersRequest generates requests for ListPrivateClusters

func NewListStoreAgentsRequest

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

NewListStoreAgentsRequest generates requests for ListStoreAgents

func NewListStoreFunctionsRequest

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

NewListStoreFunctionsRequest generates requests for ListStoreFunctions

func NewListWorkspaceUsersRequest

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

NewListWorkspaceUsersRequest generates requests for ListWorkspaceUsers

func NewListWorkspacesRequest

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

NewListWorkspacesRequest generates requests for ListWorkspaces

func 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

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

NewReleaseModelRequest generates requests for ReleaseModel

func NewRemoveWorkspaceUserRequest

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

NewRemoveWorkspaceUserRequest generates requests for RemoveWorkspaceUser

func NewRunRequest

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

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

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

NewWorkspaceQuotasRequestRequest generates requests for WorkspaceQuotasRequest

func PathToRawSpec

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

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

func SaveCredentials

func SaveCredentials(workspaceName string, credentials Credentials)

func SetCurrentWorkspace

func SetCurrentWorkspace(workspaceName string, environment string)

Types

type AcceptWorkspaceInvitationResponse

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

func ParseAcceptWorkspaceInvitationResponse

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

ParseAcceptWorkspaceInvitationResponse parses an HTTP response from a AcceptWorkspaceInvitationWithResponse call

func (AcceptWorkspaceInvitationResponse) Status

Status returns HTTPResponse.Status

func (AcceptWorkspaceInvitationResponse) StatusCode

func (r AcceptWorkspaceInvitationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type 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 AgentChains

type AgentChains = []AgentChain

AgentChains Agent chain

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

func (*ApiKeyAuth) Intercept

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

type ArrayMetric

type ArrayMetric = []Metric

ArrayMetric Array of metrics

type AuthProvider

type AuthProvider interface {
	Intercept(ctx context.Context, req *http.Request) error
}

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) Intercept

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

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 (c *Client) AcceptWorkspaceInvitation(ctx context.Context, workspaceName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) BootChat added in v0.0.46

func (c *Client) BootChat(
	ctx context.Context,
	workspace string,
	environment string,
	resourceType string,
	resourceName string,
) error

func (*Client) Chat added in v0.0.46

func (c *Client) Chat(
	ctx context.Context,
	workspace string,
	environment string,
	resourceType string,
	resourceName string,
) error

func (*Client) CheckResource added in v0.0.46

func (c *Client) CheckResource(
	ctx context.Context,
	workspace string,
	environment string,
	resourceType string,
	resourceName string,
) error

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 (c *Client) CreateAccountWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateAgent

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

func (*Client) CreateAgentRelease

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

func (*Client) CreateAgentWithBody

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

func (*Client) CreateApiKeyForServiceAccount

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

func (*Client) CreateApiKeyForServiceAccountWithBody

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

func (*Client) CreateEnvironment

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

func (*Client) CreateEnvironmentWithBody

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

func (*Client) CreateFunction

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

func (*Client) CreateFunctionRelease

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

func (*Client) CreateFunctionWithBody

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

func (*Client) CreateIntegrationConnection

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

func (*Client) CreateIntegrationConnectionWithBody

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

func (*Client) CreateModel

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

func (*Client) CreateModelWithBody

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

func (*Client) CreatePolicy

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

func (*Client) CreatePolicyWithBody

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

func (*Client) CreatePrivateCluster

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

func (*Client) CreateWorkspaceServiceAccount

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

func (*Client) CreateWorkspaceServiceAccountWithBody

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

func (*Client) CreateWorspace

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

func (*Client) CreateWorspaceWithBody

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

func (*Client) DeclineWorkspaceInvitation

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

func (*Client) DeleteAccount added in v0.0.48

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

func (*Client) DeleteAgent

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

func (*Client) DeleteAgentHistory

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

func (*Client) DeleteApiKeyForServiceAccount

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

func (*Client) DeleteEnvironment

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

func (*Client) DeleteFunction

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

func (*Client) DeleteIntegrationConnection

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

func (*Client) DeleteModel

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

func (*Client) DeletePolicy

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

func (*Client) DeletePrivateCluster

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

func (*Client) DeleteWorkspace

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

func (*Client) DeleteWorkspaceServiceAccount

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

func (*Client) GetAccount added in v0.0.48

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

func (*Client) GetAgent

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

func (*Client) GetAgentEnvironmentLogs

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

func (*Client) GetAgentHistory

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

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 (c *Client) GetAgentsHistory(ctx context.Context, requestId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetConfiguration

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

func (*Client) GetEnvironment

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

func (*Client) GetEnvironmentMetrics

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

func (*Client) GetFunction

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

func (*Client) GetFunctionEnvironmentLogs

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

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 (c *Client) GetIntegration(ctx context.Context, integrationName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetIntegrationConnection

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

func (*Client) GetIntegrationConnectionModel

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

func (*Client) GetIntegrationModel

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

func (*Client) GetMetrics

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

func (*Client) GetModel

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

func (*Client) GetModelEnvironmentLogs

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

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) GetPolicy

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

func (*Client) GetPrivateCluster

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

func (*Client) GetPrivateClusterHealth

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

func (*Client) GetStoreAgent

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

func (*Client) GetStoreFunction

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

func (*Client) GetTrace

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

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 (c *Client) GetWorkspace(ctx context.Context, workspaceName string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetWorkspaceServiceAccounts

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

func (*Client) InviteWorkspaceUser

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

func (*Client) InviteWorkspaceUserWithBody

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

func (*Client) LeaveWorkspace

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

func (*Client) ListAccounts added in v0.0.48

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

func (*Client) ListAgentHistory

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

func (*Client) ListAgents

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

func (*Client) ListAgentsHistory

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

func (*Client) ListAllPendingInvitations

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

func (*Client) ListApiKeysForServiceAccount

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

func (*Client) ListEnvironments

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

func (*Client) ListFunctions

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

func (*Client) ListIntegrationConnectionModels

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

func (*Client) ListIntegrationConnections

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

func (*Client) ListIntegrationModels

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

func (*Client) ListLocations

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

func (*Client) ListModels

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

func (*Client) ListPolicies

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

func (*Client) ListPrivateClusters

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

func (*Client) ListStoreAgents

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

func (*Client) ListStoreFunctions

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

func (*Client) ListWorkspaceUsers

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

func (*Client) ListWorkspaces

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

func (*Client) PutAgentHistory

func (c *Client) PutAgentHistory(ctx context.Context, agentName string, requestId string, body PutAgentHistoryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PutAgentHistoryWithBody

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

func (*Client) ReleaseModel

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

func (*Client) RemoveWorkspaceUser

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

func (*Client) Run

func (c *Client) Run(
	ctx context.Context,
	workspaceName string,
	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)

func (*Client) SendMessage added in v0.0.46

func (c *Client) SendMessage(
	ctx context.Context,
	workspace string,
	environment string,
	resourceType string,
	resourceName string,
	message string,
) (string, error)

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 (c *Client) UpdateAccountWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateAgent

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

func (*Client) UpdateAgentWithBody

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

func (*Client) UpdateEnvironment

func (c *Client) UpdateEnvironment(ctx context.Context, environmentName string, body UpdateEnvironmentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateEnvironmentWithBody

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

func (*Client) UpdateFunction

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

func (*Client) UpdateFunctionWithBody

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

func (*Client) UpdateIntegrationConnection

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

func (*Client) UpdateIntegrationConnectionWithBody

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

func (*Client) UpdateModel

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

func (*Client) UpdateModelWithBody

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

func (*Client) UpdatePolicy

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

func (*Client) UpdatePolicyWithBody

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

func (*Client) UpdatePrivateCluster

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

func (*Client) UpdatePrivateClusterHealth

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

func (*Client) UpdateWorkspace

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

func (*Client) UpdateWorkspaceServiceAccount

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

func (*Client) UpdateWorkspaceServiceAccountWithBody

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

func (*Client) UpdateWorkspaceUserRole

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

func (*Client) UpdateWorkspaceUserRoleWithBody

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

func (*Client) UpdateWorkspaceWithBody

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

func (*Client) WorkspaceQuotasRequest

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

type ClientCredentials

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

func NewClientCredentialsProvider

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

func (*ClientCredentials) DoRefresh

func (c *ClientCredentials) DoRefresh() error

func (*ClientCredentials) GetCredentials

func (c *ClientCredentials) GetCredentials() Credentials

func (*ClientCredentials) Intercept

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

func (*ClientCredentials) RefreshIfNeeded

func (c *ClientCredentials) RefreshIfNeeded() error

type ClientInterface

type ClientInterface interface {
	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

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

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

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

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

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithCredentials

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

func NewClientWithResponses

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

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

func (*ClientWithResponses) AcceptWorkspaceInvitationWithResponse

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

AcceptWorkspaceInvitationWithResponse request returning *AcceptWorkspaceInvitationResponse

func (*ClientWithResponses) 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 CoreEvents

type CoreEvents = []CoreEvent

CoreEvents Core events

type CoreSpec

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

	// Enabled Enable or disable the 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

type CreateAccountResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Account
}

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

Status returns HTTPResponse.Status

func (CreateAgentReleaseResponse) StatusCode

func (r CreateAgentReleaseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateAgentResponse

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

func ParseCreateAgentResponse

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

ParseCreateAgentResponse parses an HTTP response from a CreateAgentWithResponse call

func (CreateAgentResponse) Status

func (r CreateAgentResponse) Status() string

Status returns HTTPResponse.Status

func (CreateAgentResponse) StatusCode

func (r CreateAgentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateApiKeyForServiceAccountJSONBody

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

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

CreateApiKeyForServiceAccountJSONBody defines parameters for CreateApiKeyForServiceAccount.

type CreateApiKeyForServiceAccountJSONRequestBody

type CreateApiKeyForServiceAccountJSONRequestBody CreateApiKeyForServiceAccountJSONBody

CreateApiKeyForServiceAccountJSONRequestBody defines body for CreateApiKeyForServiceAccount for application/json ContentType.

type CreateApiKeyForServiceAccountResponse

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

func ParseCreateApiKeyForServiceAccountResponse

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

ParseCreateApiKeyForServiceAccountResponse parses an HTTP response from a CreateApiKeyForServiceAccountWithResponse call

func (CreateApiKeyForServiceAccountResponse) Status

Status returns HTTPResponse.Status

func (CreateApiKeyForServiceAccountResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type 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

Status returns HTTPResponse.Status

func (CreateFunctionReleaseResponse) StatusCode

func (r CreateFunctionReleaseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateFunctionResponse

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

func ParseCreateFunctionResponse

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

ParseCreateFunctionResponse parses an HTTP response from a CreateFunctionWithResponse call

func (CreateFunctionResponse) Status

func (r CreateFunctionResponse) Status() string

Status returns HTTPResponse.Status

func (CreateFunctionResponse) StatusCode

func (r CreateFunctionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateIntegrationConnectionJSONRequestBody

type CreateIntegrationConnectionJSONRequestBody = IntegrationConnection

CreateIntegrationConnectionJSONRequestBody defines body for CreateIntegrationConnection for application/json ContentType.

type CreateIntegrationConnectionResponse

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

func ParseCreateIntegrationConnectionResponse

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

ParseCreateIntegrationConnectionResponse parses an HTTP response from a CreateIntegrationConnectionWithResponse call

func (CreateIntegrationConnectionResponse) Status

Status returns HTTPResponse.Status

func (CreateIntegrationConnectionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateModelJSONRequestBody

type CreateModelJSONRequestBody = Model

CreateModelJSONRequestBody defines body for CreateModel for application/json ContentType.

type CreateModelResponse

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

func ParseCreateModelResponse

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

ParseCreateModelResponse parses an HTTP response from a CreateModelWithResponse call

func (CreateModelResponse) Status

func (r CreateModelResponse) Status() string

Status returns HTTPResponse.Status

func (CreateModelResponse) StatusCode

func (r CreateModelResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreatePolicyJSONRequestBody

type CreatePolicyJSONRequestBody = Policy

CreatePolicyJSONRequestBody defines body for CreatePolicy for application/json ContentType.

type CreatePolicyResponse

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

func ParseCreatePolicyResponse

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

ParseCreatePolicyResponse parses an HTTP response from a CreatePolicyWithResponse call

func (CreatePolicyResponse) Status

func (r CreatePolicyResponse) Status() string

Status returns HTTPResponse.Status

func (CreatePolicyResponse) StatusCode

func (r CreatePolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreatePrivateClusterResponse

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

func ParseCreatePrivateClusterResponse

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

ParseCreatePrivateClusterResponse parses an HTTP response from a CreatePrivateClusterWithResponse call

func (CreatePrivateClusterResponse) Status

Status returns HTTPResponse.Status

func (CreatePrivateClusterResponse) StatusCode

func (r CreatePrivateClusterResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateWorkspaceServiceAccountJSONBody

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

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

CreateWorkspaceServiceAccountJSONBody defines parameters for CreateWorkspaceServiceAccount.

type CreateWorkspaceServiceAccountJSONRequestBody

type CreateWorkspaceServiceAccountJSONRequestBody CreateWorkspaceServiceAccountJSONBody

CreateWorkspaceServiceAccountJSONRequestBody defines body for CreateWorkspaceServiceAccount for application/json ContentType.

type CreateWorkspaceServiceAccountResponse

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

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

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

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

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

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

func ParseCreateWorkspaceServiceAccountResponse

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

ParseCreateWorkspaceServiceAccountResponse parses an HTTP response from a CreateWorkspaceServiceAccountWithResponse call

func (CreateWorkspaceServiceAccountResponse) Status

Status returns HTTPResponse.Status

func (CreateWorkspaceServiceAccountResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateWorspaceJSONRequestBody

type CreateWorspaceJSONRequestBody = Workspace

CreateWorspaceJSONRequestBody defines body for CreateWorspace for application/json ContentType.

type CreateWorspaceResponse

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

func ParseCreateWorspaceResponse

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

ParseCreateWorspaceResponse parses an HTTP response from a CreateWorspaceWithResponse call

func (CreateWorspaceResponse) Status

func (r CreateWorspaceResponse) Status() string

Status returns HTTPResponse.Status

func (CreateWorspaceResponse) StatusCode

func (r CreateWorspaceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Credentials

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

func LoadCredentials

func LoadCredentials(workspaceName string) Credentials

func (Credentials) IsValid

func (c Credentials) IsValid() bool

type DeclineWorkspaceInvitationResponse

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

func ParseDeclineWorkspaceInvitationResponse

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

ParseDeclineWorkspaceInvitationResponse parses an HTTP response from a DeclineWorkspaceInvitationWithResponse call

func (DeclineWorkspaceInvitationResponse) Status

Status returns HTTPResponse.Status

func (DeclineWorkspaceInvitationResponse) StatusCode

func (r DeclineWorkspaceInvitationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteAccountResponse added in v0.0.48

type DeleteAccountResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Account
}

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

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

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

func ParseDeleteAgentResponse

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

ParseDeleteAgentResponse parses an HTTP response from a DeleteAgentWithResponse call

func (DeleteAgentResponse) Status

func (r DeleteAgentResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteAgentResponse) StatusCode

func (r DeleteAgentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteApiKeyForServiceAccountResponse

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

func ParseDeleteApiKeyForServiceAccountResponse

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

ParseDeleteApiKeyForServiceAccountResponse parses an HTTP response from a DeleteApiKeyForServiceAccountWithResponse call

func (DeleteApiKeyForServiceAccountResponse) Status

Status returns HTTPResponse.Status

func (DeleteApiKeyForServiceAccountResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type 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

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

func ParseDeleteFunctionResponse

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

ParseDeleteFunctionResponse parses an HTTP response from a DeleteFunctionWithResponse call

func (DeleteFunctionResponse) Status

func (r DeleteFunctionResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteFunctionResponse) StatusCode

func (r DeleteFunctionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteIntegrationConnectionResponse

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

func ParseDeleteIntegrationConnectionResponse

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

ParseDeleteIntegrationConnectionResponse parses an HTTP response from a DeleteIntegrationConnectionWithResponse call

func (DeleteIntegrationConnectionResponse) Status

Status returns HTTPResponse.Status

func (DeleteIntegrationConnectionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeleteModelParams

type DeleteModelParams struct {
	// Environment Environment of the model
	Environment string `form:"environment" json:"environment"`
}

DeleteModelParams defines parameters for DeleteModel.

type DeleteModelResponse

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

func ParseDeleteModelResponse

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

ParseDeleteModelResponse parses an HTTP response from a DeleteModelWithResponse call

func (DeleteModelResponse) Status

func (r DeleteModelResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteModelResponse) StatusCode

func (r DeleteModelResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeletePolicyResponse

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

func ParseDeletePolicyResponse

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

ParseDeletePolicyResponse parses an HTTP response from a DeletePolicyWithResponse call

func (DeletePolicyResponse) Status

func (r DeletePolicyResponse) Status() string

Status returns HTTPResponse.Status

func (DeletePolicyResponse) StatusCode

func (r DeletePolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeletePrivateClusterResponse

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

func ParseDeletePrivateClusterResponse

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

ParseDeletePrivateClusterResponse parses an HTTP response from a DeletePrivateClusterWithResponse call

func (DeletePrivateClusterResponse) Status

Status returns HTTPResponse.Status

func (DeletePrivateClusterResponse) StatusCode

func (r DeletePrivateClusterResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteWorkspaceResponse

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

func ParseDeleteWorkspaceResponse

func ParseDeleteWorkspaceResponse(rsp *http.Response) (*DeleteWorkspaceResponse, error)

ParseDeleteWorkspaceResponse parses an HTTP response from a DeleteWorkspaceWithResponse call

func (DeleteWorkspaceResponse) Status

func (r DeleteWorkspaceResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteWorkspaceResponse) StatusCode

func (r DeleteWorkspaceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteWorkspaceServiceAccountResponse

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

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

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

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

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

func ParseDeleteWorkspaceServiceAccountResponse

func ParseDeleteWorkspaceServiceAccountResponse(rsp *http.Response) (*DeleteWorkspaceServiceAccountResponse, error)

ParseDeleteWorkspaceServiceAccountResponse parses an HTTP response from a DeleteWorkspaceServiceAccountWithResponse call

func (DeleteWorkspaceServiceAccountResponse) Status

Status returns HTTPResponse.Status

func (DeleteWorkspaceServiceAccountResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeviceLogin

type DeviceLogin struct {
	ClientID string `json:"client_id"`
	Scope    string `json:"scope"`
}

type DeviceLoginFinalizeRequest

type DeviceLoginFinalizeRequest struct {
	GrantType  string `json:"grant_type"`
	ClientID   string `json:"client_id"`
	DeviceCode string `json:"device_code"`
}

type DeviceLoginFinalizeResponse

type DeviceLoginFinalizeResponse struct {
	AccessToken  string `json:"access_token"`
	ExpiresIn    int    `json:"expires_in"`
	RefreshToken string `json:"refresh_token"`
	TokenType    string `json:"token_type"`
}

type DeviceLoginResponse

type DeviceLoginResponse struct {
	ClientID                string `json:"client_id"`
	DeviceCode              string `json:"device_code"`
	UserCode                string `json:"user_code"`
	ExpiresIn               int    `json:"expires_in"`
	Interval                int    `json:"interval"`
	VerificationURI         string `json:"verification_uri"`
	VerificationURIComplete string `json:"verification_uri_complete"`
}

type 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 Flavors

type Flavors = []Flavor

Flavors Types of hardware available for deployments

type Function

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

	// Metadata 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 FunctionsList

type FunctionsList = []string

FunctionsList defines model for FunctionsList.

type GetAccountResponse added in v0.0.48

type GetAccountResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Account
}

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

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

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

func ParseGetAgentResponse

func ParseGetAgentResponse(rsp *http.Response) (*GetAgentResponse, error)

ParseGetAgentResponse parses an HTTP response from a GetAgentWithResponse call

func (GetAgentResponse) Status

func (r GetAgentResponse) Status() string

Status returns HTTPResponse.Status

func (GetAgentResponse) StatusCode

func (r GetAgentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type 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

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

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

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

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

func ParseGetFunctionResponse

func ParseGetFunctionResponse(rsp *http.Response) (*GetFunctionResponse, error)

ParseGetFunctionResponse parses an HTTP response from a GetFunctionWithResponse call

func (GetFunctionResponse) Status

func (r GetFunctionResponse) Status() string

Status returns HTTPResponse.Status

func (GetFunctionResponse) StatusCode

func (r GetFunctionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type 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

Status returns HTTPResponse.Status

func (GetFunctionTraceIdsResponse) StatusCode

func (r GetFunctionTraceIdsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetIntegrationConnectionModelResponse

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

func ParseGetIntegrationConnectionModelResponse

func ParseGetIntegrationConnectionModelResponse(rsp *http.Response) (*GetIntegrationConnectionModelResponse, error)

ParseGetIntegrationConnectionModelResponse parses an HTTP response from a GetIntegrationConnectionModelWithResponse call

func (GetIntegrationConnectionModelResponse) Status

Status returns HTTPResponse.Status

func (GetIntegrationConnectionModelResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetIntegrationConnectionResponse

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

func ParseGetIntegrationConnectionResponse

func ParseGetIntegrationConnectionResponse(rsp *http.Response) (*GetIntegrationConnectionResponse, error)

ParseGetIntegrationConnectionResponse parses an HTTP response from a GetIntegrationConnectionWithResponse call

func (GetIntegrationConnectionResponse) Status

Status returns HTTPResponse.Status

func (GetIntegrationConnectionResponse) StatusCode

func (r GetIntegrationConnectionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetIntegrationModelResponse

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

func ParseGetIntegrationModelResponse

func ParseGetIntegrationModelResponse(rsp *http.Response) (*GetIntegrationModelResponse, error)

ParseGetIntegrationModelResponse parses an HTTP response from a GetIntegrationModelWithResponse call

func (GetIntegrationModelResponse) Status

Status returns HTTPResponse.Status

func (GetIntegrationModelResponse) StatusCode

func (r GetIntegrationModelResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetIntegrationResponse

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

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

type GetMetricsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Metrics
}

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

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

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

func ParseGetModelResponse

func ParseGetModelResponse(rsp *http.Response) (*GetModelResponse, error)

ParseGetModelResponse parses an HTTP response from a GetModelWithResponse call

func (GetModelResponse) Status

func (r GetModelResponse) Status() string

Status returns HTTPResponse.Status

func (GetModelResponse) StatusCode

func (r GetModelResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type 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

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

func ParseGetPolicyResponse

func ParseGetPolicyResponse(rsp *http.Response) (*GetPolicyResponse, error)

ParseGetPolicyResponse parses an HTTP response from a GetPolicyWithResponse call

func (GetPolicyResponse) Status

func (r GetPolicyResponse) Status() string

Status returns HTTPResponse.Status

func (GetPolicyResponse) StatusCode

func (r GetPolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPrivateClusterHealthResponse

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

func ParseGetPrivateClusterHealthResponse

func ParseGetPrivateClusterHealthResponse(rsp *http.Response) (*GetPrivateClusterHealthResponse, error)

ParseGetPrivateClusterHealthResponse parses an HTTP response from a GetPrivateClusterHealthWithResponse call

func (GetPrivateClusterHealthResponse) Status

Status returns HTTPResponse.Status

func (GetPrivateClusterHealthResponse) StatusCode

func (r GetPrivateClusterHealthResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPrivateClusterResponse

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

func ParseGetPrivateClusterResponse

func ParseGetPrivateClusterResponse(rsp *http.Response) (*GetPrivateClusterResponse, error)

ParseGetPrivateClusterResponse parses an HTTP response from a GetPrivateClusterWithResponse call

func (GetPrivateClusterResponse) Status

func (r GetPrivateClusterResponse) Status() string

Status returns HTTPResponse.Status

func (GetPrivateClusterResponse) StatusCode

func (r GetPrivateClusterResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type 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

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

func ParseGetWorkspaceResponse

func ParseGetWorkspaceResponse(rsp *http.Response) (*GetWorkspaceResponse, error)

ParseGetWorkspaceResponse parses an HTTP response from a GetWorkspaceWithResponse call

func (GetWorkspaceResponse) Status

func (r GetWorkspaceResponse) Status() string

Status returns HTTPResponse.Status

func (GetWorkspaceResponse) StatusCode

func (r GetWorkspaceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWorkspaceServiceAccountsResponse

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

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

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

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

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

func ParseGetWorkspaceServiceAccountsResponse

func ParseGetWorkspaceServiceAccountsResponse(rsp *http.Response) (*GetWorkspaceServiceAccountsResponse, error)

ParseGetWorkspaceServiceAccountsResponse parses an HTTP response from a GetWorkspaceServiceAccountsWithResponse call

func (GetWorkspaceServiceAccountsResponse) Status

Status returns HTTPResponse.Status

func (GetWorkspaceServiceAccountsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type 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

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

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

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

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

func ParseLeaveWorkspaceResponse

func ParseLeaveWorkspaceResponse(rsp *http.Response) (*LeaveWorkspaceResponse, error)

ParseLeaveWorkspaceResponse parses an HTTP response from a LeaveWorkspaceWithResponse call

func (LeaveWorkspaceResponse) Status

func (r LeaveWorkspaceResponse) Status() string

Status returns HTTPResponse.Status

func (LeaveWorkspaceResponse) StatusCode

func (r LeaveWorkspaceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListAccountsResponse added in v0.0.48

type ListAccountsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Account
}

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

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

func ParseListAgentsResponse

func ParseListAgentsResponse(rsp *http.Response) (*ListAgentsResponse, error)

ParseListAgentsResponse parses an HTTP response from a ListAgentsWithResponse call

func (ListAgentsResponse) Status

func (r ListAgentsResponse) Status() string

Status returns HTTPResponse.Status

func (ListAgentsResponse) StatusCode

func (r ListAgentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListAllPendingInvitationsResponse

type ListAllPendingInvitationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]PendingInvitationRender
}

func ParseListAllPendingInvitationsResponse

func ParseListAllPendingInvitationsResponse(rsp *http.Response) (*ListAllPendingInvitationsResponse, error)

ParseListAllPendingInvitationsResponse parses an HTTP response from a ListAllPendingInvitationsWithResponse call

func (ListAllPendingInvitationsResponse) Status

Status returns HTTPResponse.Status

func (ListAllPendingInvitationsResponse) StatusCode

func (r ListAllPendingInvitationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListApiKeysForServiceAccountResponse

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

func ParseListApiKeysForServiceAccountResponse

func ParseListApiKeysForServiceAccountResponse(rsp *http.Response) (*ListApiKeysForServiceAccountResponse, error)

ParseListApiKeysForServiceAccountResponse parses an HTTP response from a ListApiKeysForServiceAccountWithResponse call

func (ListApiKeysForServiceAccountResponse) Status

Status returns HTTPResponse.Status

func (ListApiKeysForServiceAccountResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type 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

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

func ParseListFunctionsResponse

func ParseListFunctionsResponse(rsp *http.Response) (*ListFunctionsResponse, error)

ParseListFunctionsResponse parses an HTTP response from a ListFunctionsWithResponse call

func (ListFunctionsResponse) Status

func (r ListFunctionsResponse) Status() string

Status returns HTTPResponse.Status

func (ListFunctionsResponse) StatusCode

func (r ListFunctionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListIntegrationConnectionModelsResponse

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

func ParseListIntegrationConnectionModelsResponse

func ParseListIntegrationConnectionModelsResponse(rsp *http.Response) (*ListIntegrationConnectionModelsResponse, error)

ParseListIntegrationConnectionModelsResponse parses an HTTP response from a ListIntegrationConnectionModelsWithResponse call

func (ListIntegrationConnectionModelsResponse) Status

Status returns HTTPResponse.Status

func (ListIntegrationConnectionModelsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListIntegrationConnectionsResponse

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

func ParseListIntegrationConnectionsResponse

func ParseListIntegrationConnectionsResponse(rsp *http.Response) (*ListIntegrationConnectionsResponse, error)

ParseListIntegrationConnectionsResponse parses an HTTP response from a ListIntegrationConnectionsWithResponse call

func (ListIntegrationConnectionsResponse) Status

Status returns HTTPResponse.Status

func (ListIntegrationConnectionsResponse) StatusCode

func (r ListIntegrationConnectionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListIntegrationModelsResponse

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

func ParseListIntegrationModelsResponse

func ParseListIntegrationModelsResponse(rsp *http.Response) (*ListIntegrationModelsResponse, error)

ParseListIntegrationModelsResponse parses an HTTP response from a ListIntegrationModelsWithResponse call

func (ListIntegrationModelsResponse) Status

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

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

func ParseListModelsResponse

func ParseListModelsResponse(rsp *http.Response) (*ListModelsResponse, error)

ParseListModelsResponse parses an HTTP response from a ListModelsWithResponse call

func (ListModelsResponse) Status

func (r ListModelsResponse) Status() string

Status returns HTTPResponse.Status

func (ListModelsResponse) StatusCode

func (r ListModelsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPoliciesResponse

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

func ParseListPoliciesResponse

func ParseListPoliciesResponse(rsp *http.Response) (*ListPoliciesResponse, error)

ParseListPoliciesResponse parses an HTTP response from a ListPoliciesWithResponse call

func (ListPoliciesResponse) Status

func (r ListPoliciesResponse) Status() string

Status returns HTTPResponse.Status

func (ListPoliciesResponse) StatusCode

func (r ListPoliciesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPrivateClustersResponse

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

func ParseListPrivateClustersResponse

func ParseListPrivateClustersResponse(rsp *http.Response) (*ListPrivateClustersResponse, error)

ParseListPrivateClustersResponse parses an HTTP response from a ListPrivateClustersWithResponse call

func (ListPrivateClustersResponse) Status

Status returns HTTPResponse.Status

func (ListPrivateClustersResponse) StatusCode

func (r ListPrivateClustersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type 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

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

Status returns HTTPResponse.Status

func (ListWorkspaceUsersResponse) StatusCode

func (r ListWorkspaceUsersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListWorkspacesResponse

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

func ParseListWorkspacesResponse

func ParseListWorkspacesResponse(rsp *http.Response) (*ListWorkspacesResponse, error)

ParseListWorkspacesResponse parses an HTTP response from a ListWorkspacesWithResponse call

func (ListWorkspacesResponse) Status

func (r ListWorkspacesResponse) Status() string

Status returns HTTPResponse.Status

func (ListWorkspacesResponse) StatusCode

func (r ListWorkspacesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type LocationResponse

type LocationResponse struct {
	// Continent Continent of the location
	Continent *string `json:"continent,omitempty"`

	// Country Country of the location
	Country *string `json:"country,omitempty"`

	// Flavors Hardware flavors available in the location
	Flavors *[]Flavor `json:"flavors,omitempty"`

	// Location Name of the location
	Location *string `json:"location,omitempty"`

	// Status Status of the location
	Status *string `json:"status,omitempty"`
}

LocationResponse Location availability for policies

type 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 MetadataLabels

type MetadataLabels map[string]string

MetadataLabels Labels

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 PoliciesList

type PoliciesList = []string

PoliciesList defines model for PoliciesList.

type Policy

type Policy struct {
	// Metadata Metadata
	Metadata *Metadata `json:"metadata,omitempty"`

	// Spec Policy specification
	Spec *PolicySpec `json:"spec,omitempty"`
}

Policy Rule that controls how a deployment is made and served (e.g. location restrictions)

type PolicyLocation

type PolicyLocation struct {
	// Name Policy location name
	Name *string `json:"name,omitempty"`

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

PolicyLocation Policy location

type PolicyLocations

type PolicyLocations = []PolicyLocation

PolicyLocations PolicyLocations is a local type that wraps a slice of Location

type PolicyMaxTokens 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

func (*PublicProvider) Intercept

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

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 Quotas

type Quotas = interface{}

Quotas Workspace quotas

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

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

func ParseRemoveWorkspaceUserResponse

func ParseRemoveWorkspaceUserResponse(rsp *http.Response) (*RemoveWorkspaceUserResponse, error)

ParseRemoveWorkspaceUserResponse parses an HTTP response from a RemoveWorkspaceUserWithResponse call

func (RemoveWorkspaceUserResponse) Status

Status returns HTTPResponse.Status

func (RemoveWorkspaceUserResponse) StatusCode

func (r RemoveWorkspaceUserResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Repository

type Repository struct {
	// Type Repository type
	Type *string `json:"type,omitempty"`

	// Url Repository URL
	Url *string `json:"url,omitempty"`
}

Repository Repository

type 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

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

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 RunClientWithCredentials

type RunClientWithCredentials struct {
	ApiURL      string
	RunURL      string
	Credentials Credentials
	Workspace   string
	Headers     map[string]string
}

type Runtime

type Runtime struct {
	// Args The arguments to pass to the deployment runtime
	Args *[]interface{} `json:"args,omitempty"`

	// Command The command to run the deployment
	Command *[]interface{} `json:"command,omitempty"`

	// 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

type UpdateAccountResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Account
}

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

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

func ParseUpdateAgentResponse

func ParseUpdateAgentResponse(rsp *http.Response) (*UpdateAgentResponse, error)

ParseUpdateAgentResponse parses an HTTP response from a UpdateAgentWithResponse call

func (UpdateAgentResponse) Status

func (r UpdateAgentResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateAgentResponse) StatusCode

func (r UpdateAgentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type 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

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

func ParseUpdateFunctionResponse

func ParseUpdateFunctionResponse(rsp *http.Response) (*UpdateFunctionResponse, error)

ParseUpdateFunctionResponse parses an HTTP response from a UpdateFunctionWithResponse call

func (UpdateFunctionResponse) Status

func (r UpdateFunctionResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateFunctionResponse) StatusCode

func (r UpdateFunctionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateIntegrationConnectionJSONRequestBody

type UpdateIntegrationConnectionJSONRequestBody = IntegrationConnection

UpdateIntegrationConnectionJSONRequestBody defines body for UpdateIntegrationConnection for application/json ContentType.

type UpdateIntegrationConnectionResponse

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

func ParseUpdateIntegrationConnectionResponse

func ParseUpdateIntegrationConnectionResponse(rsp *http.Response) (*UpdateIntegrationConnectionResponse, error)

ParseUpdateIntegrationConnectionResponse parses an HTTP response from a UpdateIntegrationConnectionWithResponse call

func (UpdateIntegrationConnectionResponse) Status

Status returns HTTPResponse.Status

func (UpdateIntegrationConnectionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateModelJSONRequestBody

type UpdateModelJSONRequestBody = Model

UpdateModelJSONRequestBody defines body for UpdateModel for application/json ContentType.

type UpdateModelResponse

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

func ParseUpdateModelResponse

func ParseUpdateModelResponse(rsp *http.Response) (*UpdateModelResponse, error)

ParseUpdateModelResponse parses an HTTP response from a UpdateModelWithResponse call

func (UpdateModelResponse) Status

func (r UpdateModelResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateModelResponse) StatusCode

func (r UpdateModelResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdatePolicyJSONRequestBody

type UpdatePolicyJSONRequestBody = Policy

UpdatePolicyJSONRequestBody defines body for UpdatePolicy for application/json ContentType.

type UpdatePolicyResponse

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

func ParseUpdatePolicyResponse

func ParseUpdatePolicyResponse(rsp *http.Response) (*UpdatePolicyResponse, error)

ParseUpdatePolicyResponse parses an HTTP response from a UpdatePolicyWithResponse call

func (UpdatePolicyResponse) Status

func (r UpdatePolicyResponse) Status() string

Status returns HTTPResponse.Status

func (UpdatePolicyResponse) StatusCode

func (r UpdatePolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdatePrivateClusterHealthResponse

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

func ParseUpdatePrivateClusterHealthResponse

func ParseUpdatePrivateClusterHealthResponse(rsp *http.Response) (*UpdatePrivateClusterHealthResponse, error)

ParseUpdatePrivateClusterHealthResponse parses an HTTP response from a UpdatePrivateClusterHealthWithResponse call

func (UpdatePrivateClusterHealthResponse) Status

Status returns HTTPResponse.Status

func (UpdatePrivateClusterHealthResponse) StatusCode

func (r UpdatePrivateClusterHealthResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdatePrivateClusterResponse

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

func ParseUpdatePrivateClusterResponse

func ParseUpdatePrivateClusterResponse(rsp *http.Response) (*UpdatePrivateClusterResponse, error)

ParseUpdatePrivateClusterResponse parses an HTTP response from a UpdatePrivateClusterWithResponse call

func (UpdatePrivateClusterResponse) Status

Status returns HTTPResponse.Status

func (UpdatePrivateClusterResponse) StatusCode

func (r UpdatePrivateClusterResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateWorkspaceJSONRequestBody

type UpdateWorkspaceJSONRequestBody = Workspace

UpdateWorkspaceJSONRequestBody defines body for UpdateWorkspace for application/json ContentType.

type UpdateWorkspaceResponse

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

func ParseUpdateWorkspaceResponse

func ParseUpdateWorkspaceResponse(rsp *http.Response) (*UpdateWorkspaceResponse, error)

ParseUpdateWorkspaceResponse parses an HTTP response from a UpdateWorkspaceWithResponse call

func (UpdateWorkspaceResponse) Status

func (r UpdateWorkspaceResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateWorkspaceResponse) StatusCode

func (r UpdateWorkspaceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateWorkspaceServiceAccountJSONBody

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

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

UpdateWorkspaceServiceAccountJSONBody defines parameters for UpdateWorkspaceServiceAccount.

type UpdateWorkspaceServiceAccountJSONRequestBody

type UpdateWorkspaceServiceAccountJSONRequestBody UpdateWorkspaceServiceAccountJSONBody

UpdateWorkspaceServiceAccountJSONRequestBody defines body for UpdateWorkspaceServiceAccount for application/json ContentType.

type UpdateWorkspaceServiceAccountResponse

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

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

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

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

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

func ParseUpdateWorkspaceServiceAccountResponse

func ParseUpdateWorkspaceServiceAccountResponse(rsp *http.Response) (*UpdateWorkspaceServiceAccountResponse, error)

ParseUpdateWorkspaceServiceAccountResponse parses an HTTP response from a UpdateWorkspaceServiceAccountWithResponse call

func (UpdateWorkspaceServiceAccountResponse) Status

Status returns HTTPResponse.Status

func (UpdateWorkspaceServiceAccountResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type UpdateWorkspaceUserRoleJSONBody

type UpdateWorkspaceUserRoleJSONBody struct {
	// Role The new role to assign to the user
	Role string `json:"role"`
}

UpdateWorkspaceUserRoleJSONBody defines parameters for UpdateWorkspaceUserRole.

type UpdateWorkspaceUserRoleJSONRequestBody

type UpdateWorkspaceUserRoleJSONRequestBody UpdateWorkspaceUserRoleJSONBody

UpdateWorkspaceUserRoleJSONRequestBody defines body for UpdateWorkspaceUserRole for application/json ContentType.

type UpdateWorkspaceUserRoleResponse

type UpdateWorkspaceUserRoleResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WorkspaceUser
}

func ParseUpdateWorkspaceUserRoleResponse

func ParseUpdateWorkspaceUserRoleResponse(rsp *http.Response) (*UpdateWorkspaceUserRoleResponse, error)

ParseUpdateWorkspaceUserRoleResponse parses an HTTP response from a UpdateWorkspaceUserRoleWithResponse call

func (UpdateWorkspaceUserRoleResponse) Status

Status returns HTTPResponse.Status

func (UpdateWorkspaceUserRoleResponse) StatusCode

func (r UpdateWorkspaceUserRoleResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type 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

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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