sdk

package
v0.0.61 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: MIT, MIT Imports: 19 Imported by: 0

Documentation

Overview

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

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 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 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 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 NewCreateKnowledgebaseRequest added in v0.0.55

func NewCreateKnowledgebaseRequest(server string, body CreateKnowledgebaseJSONRequestBody) (*http.Request, error)

NewCreateKnowledgebaseRequest calls the generic CreateKnowledgebase builder with application/json body

func NewCreateKnowledgebaseRequestWithBody added in v0.0.55

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

NewCreateKnowledgebaseRequestWithBody generates requests for CreateKnowledgebase 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 NewDeleteAgentRequest

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

NewDeleteAgentRequest generates requests for DeleteAgent

func NewDeleteApiKeyForServiceAccountRequest

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

NewDeleteApiKeyForServiceAccountRequest generates requests for DeleteApiKeyForServiceAccount

func NewDeleteFunctionRequest

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

NewDeleteFunctionRequest generates requests for DeleteFunction

func NewDeleteIntegrationConnectionRequest

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

NewDeleteIntegrationConnectionRequest generates requests for DeleteIntegrationConnection

func NewDeleteKnowledgebaseRequest added in v0.0.55

func NewDeleteKnowledgebaseRequest(server string, knowledgebaseName string) (*http.Request, error)

NewDeleteKnowledgebaseRequest generates requests for DeleteKnowledgebase

func NewDeleteModelRequest

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

NewDeleteModelRequest generates requests for DeleteModel

func NewDeletePolicyRequest

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

NewDeletePolicyRequest generates requests for DeletePolicy

func NewDeletePrivateClusterRequest

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

NewDeletePrivateClusterRequest generates requests for DeletePrivateCluster

func 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 NewGetAgentLogsRequest added in v0.0.57

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

NewGetAgentLogsRequest generates requests for GetAgentLogs

func NewGetAgentMetricsRequest

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

NewGetAgentMetricsRequest generates requests for GetAgentMetrics

func NewGetAgentRequest

func NewGetAgentRequest(server string, agentName string) (*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 NewGetConfigurationRequest

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

NewGetConfigurationRequest generates requests for GetConfiguration

func NewGetFunctionLogsRequest added in v0.0.57

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

NewGetFunctionLogsRequest generates requests for GetFunctionLogs

func NewGetFunctionMetricsRequest

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

NewGetFunctionMetricsRequest generates requests for GetFunctionMetrics

func NewGetFunctionRequest

func NewGetFunctionRequest(server string, functionName string) (*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 NewGetIntegrationConnectionModelEndpointConfigurationsRequest added in v0.0.54

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

NewGetIntegrationConnectionModelEndpointConfigurationsRequest generates requests for GetIntegrationConnectionModelEndpointConfigurations

func NewGetIntegrationConnectionModelRequest

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

NewGetIntegrationConnectionModelRequest generates requests for GetIntegrationConnectionModel

func NewGetIntegrationConnectionRequest

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

NewGetIntegrationConnectionRequest generates requests for GetIntegrationConnection

func NewGetIntegrationRequest

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

NewGetIntegrationRequest generates requests for GetIntegration

func NewGetKnowledgebaseRequest added in v0.0.55

func NewGetKnowledgebaseRequest(server string, knowledgebaseName string) (*http.Request, error)

NewGetKnowledgebaseRequest generates requests for GetKnowledgebase

func NewGetMetricsRequest

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

NewGetMetricsRequest generates requests for GetMetrics

func NewGetModelLogsRequest added in v0.0.57

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

NewGetModelLogsRequest generates requests for GetModelLogs

func NewGetModelMetricsRequest

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

NewGetModelMetricsRequest generates requests for GetModelMetrics

func NewGetModelRequest

func NewGetModelRequest(server string, modelName string) (*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 NewListAgentRevisionsRequest added in v0.0.57

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

NewListAgentRevisionsRequest generates requests for ListAgentRevisions

func NewListAgentsRequest

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

NewListAgentsRequest generates requests for ListAgents

func NewListAllPendingInvitationsRequest

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

NewListAllPendingInvitationsRequest generates requests for ListAllPendingInvitations

func NewListApiKeysForServiceAccountRequest

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

NewListApiKeysForServiceAccountRequest generates requests for ListApiKeysForServiceAccount

func NewListFunctionRevisionsRequest added in v0.0.57

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

NewListFunctionRevisionsRequest generates requests for ListFunctionRevisions

func NewListFunctionsRequest

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

NewListFunctionsRequest generates requests for ListFunctions

func NewListIntegrationConnectionModelsRequest

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

NewListIntegrationConnectionModelsRequest generates requests for ListIntegrationConnectionModels

func NewListIntegrationConnectionsRequest

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

NewListIntegrationConnectionsRequest generates requests for ListIntegrationConnections

func NewListKnowledgebaseRevisionsRequest added in v0.0.57

func NewListKnowledgebaseRevisionsRequest(server string, knowledgebaseName string) (*http.Request, error)

NewListKnowledgebaseRevisionsRequest generates requests for ListKnowledgebaseRevisions

func NewListKnowledgebasesRequest added in v0.0.55

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

NewListKnowledgebasesRequest generates requests for ListKnowledgebases

func NewListLocationsRequest

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

NewListLocationsRequest generates requests for ListLocations

func NewListMCPHubDefinitionsRequest added in v0.0.57

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

NewListMCPHubDefinitionsRequest generates requests for ListMCPHubDefinitions

func NewListModelRevisionsRequest added in v0.0.57

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

NewListModelRevisionsRequest generates requests for ListModelRevisions

func NewListModelsRequest

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

NewListModelsRequest generates requests for ListModels

func NewListPoliciesRequest

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

NewListPoliciesRequest generates requests for ListPolicies

func NewListPrivateClustersRequest

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

NewListPrivateClustersRequest generates requests for ListPrivateClusters

func 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 NewRemoveWorkspaceUserRequest

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

NewRemoveWorkspaceUserRequest generates requests for RemoveWorkspaceUser

func NewRunRequest

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

func 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 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 NewUpdateKnowledgebaseRequest added in v0.0.55

func NewUpdateKnowledgebaseRequest(server string, knowledgebaseName string, body UpdateKnowledgebaseJSONRequestBody) (*http.Request, error)

NewUpdateKnowledgebaseRequest calls the generic UpdateKnowledgebase builder with application/json body

func NewUpdateKnowledgebaseRequestWithBody added in v0.0.55

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

NewUpdateKnowledgebaseRequestWithBody generates requests for UpdateKnowledgebase 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 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)

Types

type AcceptWorkspaceInvitationResponse

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

func ParseAcceptWorkspaceInvitationResponse

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

ParseAcceptWorkspaceInvitationResponse parses an HTTP response from a AcceptWorkspaceInvitationWithResponse call

func (AcceptWorkspaceInvitationResponse) Status

Status returns HTTPResponse.Status

func (AcceptWorkspaceInvitationResponse) StatusCode

func (r AcceptWorkspaceInvitationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Agent

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

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

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

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

Agent Agent

type 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"`

	// Prompt Prompt of the agent in case you want to override the default one
	Prompt *string `json:"prompt,omitempty"`
}

AgentChain Agent chain configuration

type AgentChains

type AgentChains = []AgentChain

AgentChains Agent chain

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 Description, small description computed from the prompt
	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"`

	// Knowledgebase Knowledgebase Name
	Knowledgebase *string `json:"knowledgebase,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"`

	// Prompt Prompt, describe what your agent does
	Prompt *string `json:"prompt,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) CreateAgent

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

func (*Client) CreateAgentWithBody

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

func (*Client) CreateApiKeyForServiceAccount

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

func (*Client) CreateApiKeyForServiceAccountWithBody

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

func (*Client) CreateFunction

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

func (*Client) CreateFunctionWithBody

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

func (*Client) CreateIntegrationConnection

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

func (*Client) CreateIntegrationConnectionWithBody

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

func (*Client) CreateKnowledgebase added in v0.0.55

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

func (*Client) CreateKnowledgebaseWithBody added in v0.0.55

func (c *Client) CreateKnowledgebaseWithBody(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) DeleteAgent

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

func (*Client) DeleteApiKeyForServiceAccount

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

func (*Client) DeleteFunction

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

func (*Client) DeleteIntegrationConnection

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

func (*Client) DeleteKnowledgebase added in v0.0.55

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

func (*Client) DeleteModel

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

func (*Client) DeletePolicy

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

func (*Client) DeletePrivateCluster

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

func (*Client) DeleteWorkspace

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

func (*Client) DeleteWorkspaceServiceAccount

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

func (*Client) GetAgent

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

func (*Client) GetAgentLogs added in v0.0.57

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

func (*Client) GetAgentMetrics

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

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

func (*Client) GetFunction

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

func (*Client) GetFunctionLogs added in v0.0.57

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

func (*Client) GetFunctionMetrics

func (c *Client) GetFunctionMetrics(ctx context.Context, functionName string, 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) GetIntegrationConnectionModelEndpointConfigurations added in v0.0.54

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

func (*Client) GetKnowledgebase added in v0.0.55

func (c *Client) GetKnowledgebase(ctx context.Context, knowledgebaseName 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, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetModelLogs added in v0.0.57

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

func (*Client) GetModelMetrics

func (c *Client) GetModelMetrics(ctx context.Context, modelName string, 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) ListAgentRevisions added in v0.0.57

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

func (*Client) ListAgents

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

func (*Client) ListAllPendingInvitations

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

func (*Client) ListApiKeysForServiceAccount

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

func (*Client) ListFunctionRevisions added in v0.0.57

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

func (*Client) ListFunctions

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

func (*Client) ListIntegrationConnectionModels

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

func (*Client) ListIntegrationConnections

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

func (*Client) ListKnowledgebaseRevisions added in v0.0.57

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

func (*Client) ListKnowledgebases added in v0.0.55

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

func (*Client) ListLocations

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

func (*Client) ListMCPHubDefinitions added in v0.0.57

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

func (*Client) ListModelRevisions added in v0.0.57

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

func (*Client) ListModels

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

func (*Client) ListPolicies

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

func (*Client) ListPrivateClusters

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

func (*Client) 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) RemoveWorkspaceUser

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

func (*Client) Run

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

func (*Client) 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) 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) UpdateKnowledgebase added in v0.0.55

func (c *Client) UpdateKnowledgebase(ctx context.Context, knowledgebaseName string, body UpdateKnowledgebaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateKnowledgebaseWithBody added in v0.0.55

func (c *Client) UpdateKnowledgebaseWithBody(ctx context.Context, knowledgebaseName 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)

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 {
	Run(
		ctx context.Context,
		workspaceName string,
		resourceType string,
		resourceName string,
		method string,
		path string,
		headers map[string]string,
		params []string,
		body string,
		debug bool,
		local bool,
		reqEditors ...RequestEditorFn,
	) (*http.Response, error)

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

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

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

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

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

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

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

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

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

	// ListAgentRevisions request
	ListAgentRevisions(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)

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

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

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

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

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

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

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

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

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

	// ListFunctionRevisions request
	ListFunctionRevisions(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)

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

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

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

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

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

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

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

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

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

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

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

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

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

	CreateKnowledgebase(ctx context.Context, body CreateKnowledgebaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

	UpdateKnowledgebase(ctx context.Context, knowledgebaseName string, body UpdateKnowledgebaseJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

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

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

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

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

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

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

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

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

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

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

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

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

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

	// ListModelRevisions request
	ListModelRevisions(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)
}

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) 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) 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) CreateKnowledgebaseWithBodyWithResponse added in v0.0.55

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

CreateKnowledgebaseWithBodyWithResponse request with arbitrary body returning *CreateKnowledgebaseResponse

func (*ClientWithResponses) CreateKnowledgebaseWithResponse added in v0.0.55

func (c *ClientWithResponses) CreateKnowledgebaseWithResponse(ctx context.Context, body CreateKnowledgebaseJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateKnowledgebaseResponse, 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) DeleteAgentWithResponse

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

DeleteAgentWithResponse request returning *DeleteAgentResponse

func (*ClientWithResponses) DeleteApiKeyForServiceAccountWithResponse

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

DeleteApiKeyForServiceAccountWithResponse request returning *DeleteApiKeyForServiceAccountResponse

func (*ClientWithResponses) DeleteFunctionWithResponse

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

DeleteFunctionWithResponse request returning *DeleteFunctionResponse

func (*ClientWithResponses) DeleteIntegrationConnectionWithResponse

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

DeleteIntegrationConnectionWithResponse request returning *DeleteIntegrationConnectionResponse

func (*ClientWithResponses) DeleteKnowledgebaseWithResponse added in v0.0.55

func (c *ClientWithResponses) DeleteKnowledgebaseWithResponse(ctx context.Context, knowledgebaseName string, reqEditors ...RequestEditorFn) (*DeleteKnowledgebaseResponse, error)

DeleteKnowledgebaseWithResponse request returning *DeleteKnowledgebaseResponse

func (*ClientWithResponses) DeleteModelWithResponse

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

DeleteModelWithResponse request returning *DeleteModelResponse

func (*ClientWithResponses) DeletePolicyWithResponse

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

DeletePolicyWithResponse request returning *DeletePolicyResponse

func (*ClientWithResponses) DeletePrivateClusterWithResponse

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

DeletePrivateClusterWithResponse request returning *DeletePrivateClusterResponse

func (*ClientWithResponses) 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) GetAgentLogsWithResponse added in v0.0.57

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

GetAgentLogsWithResponse request returning *GetAgentLogsResponse

func (*ClientWithResponses) GetAgentMetricsWithResponse

func (c *ClientWithResponses) GetAgentMetricsWithResponse(ctx context.Context, agentName string, 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, reqEditors ...RequestEditorFn) (*GetAgentResponse, error)

GetAgentWithResponse request returning *GetAgentResponse

func (*ClientWithResponses) GetConfigurationWithResponse

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

GetConfigurationWithResponse request returning *GetConfigurationResponse

func (*ClientWithResponses) GetFunctionLogsWithResponse added in v0.0.57

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

GetFunctionLogsWithResponse request returning *GetFunctionLogsResponse

func (*ClientWithResponses) GetFunctionMetricsWithResponse

func (c *ClientWithResponses) GetFunctionMetricsWithResponse(ctx context.Context, functionName string, 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, reqEditors ...RequestEditorFn) (*GetFunctionResponse, error)

GetFunctionWithResponse request returning *GetFunctionResponse

func (*ClientWithResponses) GetIntegrationConnectionModelEndpointConfigurationsWithResponse added in v0.0.54

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

GetIntegrationConnectionModelEndpointConfigurationsWithResponse request returning *GetIntegrationConnectionModelEndpointConfigurationsResponse

func (*ClientWithResponses) GetIntegrationConnectionModelWithResponse

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

GetIntegrationConnectionModelWithResponse request returning *GetIntegrationConnectionModelResponse

func (*ClientWithResponses) GetIntegrationConnectionWithResponse

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

GetIntegrationConnectionWithResponse request returning *GetIntegrationConnectionResponse

func (*ClientWithResponses) GetIntegrationWithResponse

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

GetIntegrationWithResponse request returning *GetIntegrationResponse

func (*ClientWithResponses) GetKnowledgebaseWithResponse added in v0.0.55

func (c *ClientWithResponses) GetKnowledgebaseWithResponse(ctx context.Context, knowledgebaseName string, reqEditors ...RequestEditorFn) (*GetKnowledgebaseResponse, error)

GetKnowledgebaseWithResponse request returning *GetKnowledgebaseResponse

func (*ClientWithResponses) GetMetricsWithResponse

func (c *ClientWithResponses) GetMetricsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMetricsResponse, error)

GetMetricsWithResponse request returning *GetMetricsResponse

func (*ClientWithResponses) GetModelLogsWithResponse added in v0.0.57

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

GetModelLogsWithResponse request returning *GetModelLogsResponse

func (*ClientWithResponses) GetModelMetricsWithResponse

func (c *ClientWithResponses) GetModelMetricsWithResponse(ctx context.Context, modelName string, 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, 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) ListAgentRevisionsWithResponse added in v0.0.57

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

ListAgentRevisionsWithResponse request returning *ListAgentRevisionsResponse

func (*ClientWithResponses) ListAgentsWithResponse

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

ListAgentsWithResponse request returning *ListAgentsResponse

func (*ClientWithResponses) ListAllPendingInvitationsWithResponse

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

ListAllPendingInvitationsWithResponse request returning *ListAllPendingInvitationsResponse

func (*ClientWithResponses) ListApiKeysForServiceAccountWithResponse

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

ListApiKeysForServiceAccountWithResponse request returning *ListApiKeysForServiceAccountResponse

func (*ClientWithResponses) ListFunctionRevisionsWithResponse added in v0.0.57

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

ListFunctionRevisionsWithResponse request returning *ListFunctionRevisionsResponse

func (*ClientWithResponses) ListFunctionsWithResponse

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

ListFunctionsWithResponse request returning *ListFunctionsResponse

func (*ClientWithResponses) ListIntegrationConnectionModelsWithResponse

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

ListIntegrationConnectionModelsWithResponse request returning *ListIntegrationConnectionModelsResponse

func (*ClientWithResponses) ListIntegrationConnectionsWithResponse

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

ListIntegrationConnectionsWithResponse request returning *ListIntegrationConnectionsResponse

func (*ClientWithResponses) ListKnowledgebaseRevisionsWithResponse added in v0.0.57

func (c *ClientWithResponses) ListKnowledgebaseRevisionsWithResponse(ctx context.Context, knowledgebaseName string, reqEditors ...RequestEditorFn) (*ListKnowledgebaseRevisionsResponse, error)

ListKnowledgebaseRevisionsWithResponse request returning *ListKnowledgebaseRevisionsResponse

func (*ClientWithResponses) ListKnowledgebasesWithResponse added in v0.0.55

func (c *ClientWithResponses) ListKnowledgebasesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListKnowledgebasesResponse, error)

ListKnowledgebasesWithResponse request returning *ListKnowledgebasesResponse

func (*ClientWithResponses) ListLocationsWithResponse

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

ListLocationsWithResponse request returning *ListLocationsResponse

func (*ClientWithResponses) ListMCPHubDefinitionsWithResponse added in v0.0.57

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

ListMCPHubDefinitionsWithResponse request returning *ListMCPHubDefinitionsResponse

func (*ClientWithResponses) ListModelRevisionsWithResponse added in v0.0.57

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

ListModelRevisionsWithResponse request returning *ListModelRevisionsResponse

func (*ClientWithResponses) ListModelsWithResponse

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

ListModelsWithResponse request returning *ListModelsResponse

func (*ClientWithResponses) ListPoliciesWithResponse

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

ListPoliciesWithResponse request returning *ListPoliciesResponse

func (*ClientWithResponses) ListPrivateClustersWithResponse

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

ListPrivateClustersWithResponse request returning *ListPrivateClustersResponse

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

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

RegisterCliCommands registers CLI commands for the client

func (*ClientWithResponses) RemoveWorkspaceUserWithResponse

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

RemoveWorkspaceUserWithResponse request returning *RemoveWorkspaceUserResponse

func (*ClientWithResponses) 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) 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) UpdateKnowledgebaseWithBodyWithResponse added in v0.0.55

func (c *ClientWithResponses) UpdateKnowledgebaseWithBodyWithResponse(ctx context.Context, knowledgebaseName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateKnowledgebaseResponse, error)

UpdateKnowledgebaseWithBodyWithResponse request with arbitrary body returning *UpdateKnowledgebaseResponse

func (*ClientWithResponses) UpdateKnowledgebaseWithResponse added in v0.0.55

func (c *ClientWithResponses) UpdateKnowledgebaseWithResponse(ctx context.Context, knowledgebaseName string, body UpdateKnowledgebaseJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateKnowledgebaseResponse, 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)

type ClientWithResponsesInterface

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

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

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

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

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

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

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

	// GetAgentLogsWithResponse request
	GetAgentLogsWithResponse(ctx context.Context, agentName string, reqEditors ...RequestEditorFn) (*GetAgentLogsResponse, error)

	// GetAgentMetricsWithResponse request
	GetAgentMetricsWithResponse(ctx context.Context, agentName string, reqEditors ...RequestEditorFn) (*GetAgentMetricsResponse, error)

	// ListAgentRevisionsWithResponse request
	ListAgentRevisionsWithResponse(ctx context.Context, agentName string, reqEditors ...RequestEditorFn) (*ListAgentRevisionsResponse, 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)

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

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

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

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

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

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

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

	// GetFunctionLogsWithResponse request
	GetFunctionLogsWithResponse(ctx context.Context, functionName string, reqEditors ...RequestEditorFn) (*GetFunctionLogsResponse, error)

	// GetFunctionMetricsWithResponse request
	GetFunctionMetricsWithResponse(ctx context.Context, functionName string, reqEditors ...RequestEditorFn) (*GetFunctionMetricsResponse, error)

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

	// GetFunctionTraceIdsWithResponse request
	GetFunctionTraceIdsWithResponse(ctx context.Context, functionName string, params *GetFunctionTraceIdsParams, reqEditors ...RequestEditorFn) (*GetFunctionTraceIdsResponse, error)

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

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

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

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

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

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

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

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

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

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

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

	// ListKnowledgebasesWithResponse request
	ListKnowledgebasesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListKnowledgebasesResponse, error)

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

	CreateKnowledgebaseWithResponse(ctx context.Context, body CreateKnowledgebaseJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateKnowledgebaseResponse, error)

	// DeleteKnowledgebaseWithResponse request
	DeleteKnowledgebaseWithResponse(ctx context.Context, knowledgebaseName string, reqEditors ...RequestEditorFn) (*DeleteKnowledgebaseResponse, error)

	// GetKnowledgebaseWithResponse request
	GetKnowledgebaseWithResponse(ctx context.Context, knowledgebaseName string, reqEditors ...RequestEditorFn) (*GetKnowledgebaseResponse, error)

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

	UpdateKnowledgebaseWithResponse(ctx context.Context, knowledgebaseName string, body UpdateKnowledgebaseJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateKnowledgebaseResponse, error)

	// ListKnowledgebaseRevisionsWithResponse request
	ListKnowledgebaseRevisionsWithResponse(ctx context.Context, knowledgebaseName string, reqEditors ...RequestEditorFn) (*ListKnowledgebaseRevisionsResponse, error)

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

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

	// GetMetricsWithResponse request
	GetMetricsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMetricsResponse, error)

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

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

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

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

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

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

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

	// GetModelLogsWithResponse request
	GetModelLogsWithResponse(ctx context.Context, modelName string, reqEditors ...RequestEditorFn) (*GetModelLogsResponse, error)

	// GetModelMetricsWithResponse request
	GetModelMetricsWithResponse(ctx context.Context, modelName string, reqEditors ...RequestEditorFn) (*GetModelMetricsResponse, error)

	// ListModelRevisionsWithResponse request
	ListModelRevisionsWithResponse(ctx context.Context, modelName string, reqEditors ...RequestEditorFn) (*ListModelRevisionsResponse, 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)
}

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"`
}

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 CreateAgentJSONRequestBody

type CreateAgentJSONRequestBody = Agent

CreateAgentJSONRequestBody defines body for CreateAgent for application/json ContentType.

type CreateAgentResponse

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

func ParseCreateAgentResponse

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

ParseCreateAgentResponse parses an HTTP response from a CreateAgentWithResponse call

func (CreateAgentResponse) Status

func (r CreateAgentResponse) Status() string

Status returns HTTPResponse.Status

func (CreateAgentResponse) StatusCode

func (r CreateAgentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateApiKeyForServiceAccountJSONBody

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

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

CreateApiKeyForServiceAccountJSONBody defines parameters for CreateApiKeyForServiceAccount.

type CreateApiKeyForServiceAccountJSONRequestBody

type CreateApiKeyForServiceAccountJSONRequestBody CreateApiKeyForServiceAccountJSONBody

CreateApiKeyForServiceAccountJSONRequestBody defines body for CreateApiKeyForServiceAccount for application/json ContentType.

type CreateApiKeyForServiceAccountResponse

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

func ParseCreateApiKeyForServiceAccountResponse

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

ParseCreateApiKeyForServiceAccountResponse parses an HTTP response from a CreateApiKeyForServiceAccountWithResponse call

func (CreateApiKeyForServiceAccountResponse) Status

Status returns HTTPResponse.Status

func (CreateApiKeyForServiceAccountResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateFunctionJSONRequestBody

type CreateFunctionJSONRequestBody = Function

CreateFunctionJSONRequestBody defines body for CreateFunction for application/json ContentType.

type CreateFunctionResponse

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

func ParseCreateFunctionResponse

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

ParseCreateFunctionResponse parses an HTTP response from a CreateFunctionWithResponse call

func (CreateFunctionResponse) Status

func (r CreateFunctionResponse) Status() string

Status returns HTTPResponse.Status

func (CreateFunctionResponse) StatusCode

func (r CreateFunctionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateIntegrationConnectionJSONRequestBody

type CreateIntegrationConnectionJSONRequestBody = IntegrationConnection

CreateIntegrationConnectionJSONRequestBody defines body for CreateIntegrationConnection for application/json ContentType.

type CreateIntegrationConnectionResponse

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

func ParseCreateIntegrationConnectionResponse

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

ParseCreateIntegrationConnectionResponse parses an HTTP response from a CreateIntegrationConnectionWithResponse call

func (CreateIntegrationConnectionResponse) Status

Status returns HTTPResponse.Status

func (CreateIntegrationConnectionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type CreateKnowledgebaseJSONRequestBody added in v0.0.55

type CreateKnowledgebaseJSONRequestBody = Knowledgebase

CreateKnowledgebaseJSONRequestBody defines body for CreateKnowledgebase for application/json ContentType.

type CreateKnowledgebaseResponse added in v0.0.55

type CreateKnowledgebaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Knowledgebase
}

func ParseCreateKnowledgebaseResponse added in v0.0.55

func ParseCreateKnowledgebaseResponse(rsp *http.Response) (*CreateKnowledgebaseResponse, error)

ParseCreateKnowledgebaseResponse parses an HTTP response from a CreateKnowledgebaseWithResponse call

func (CreateKnowledgebaseResponse) Status added in v0.0.55

Status returns HTTPResponse.Status

func (CreateKnowledgebaseResponse) StatusCode added in v0.0.55

func (r CreateKnowledgebaseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateModelJSONRequestBody

type CreateModelJSONRequestBody = Model

CreateModelJSONRequestBody defines body for CreateModel for application/json ContentType.

type CreateModelResponse

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

func ParseCreateModelResponse

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

ParseCreateModelResponse parses an HTTP response from a CreateModelWithResponse call

func (CreateModelResponse) Status

func (r CreateModelResponse) Status() string

Status returns HTTPResponse.Status

func (CreateModelResponse) StatusCode

func (r CreateModelResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreatePolicyJSONRequestBody

type CreatePolicyJSONRequestBody = Policy

CreatePolicyJSONRequestBody defines body for CreatePolicy for application/json ContentType.

type CreatePolicyResponse

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

func ParseCreatePolicyResponse

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

ParseCreatePolicyResponse parses an HTTP response from a CreatePolicyWithResponse call

func (CreatePolicyResponse) Status

func (r CreatePolicyResponse) Status() string

Status returns HTTPResponse.Status

func (CreatePolicyResponse) StatusCode

func (r CreatePolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreatePrivateClusterResponse

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

func ParseCreatePrivateClusterResponse

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

ParseCreatePrivateClusterResponse parses an HTTP response from a CreatePrivateClusterWithResponse call

func (CreatePrivateClusterResponse) Status

Status returns HTTPResponse.Status

func (CreatePrivateClusterResponse) StatusCode

func (r CreatePrivateClusterResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type 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 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 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 DeleteKnowledgebaseResponse added in v0.0.55

type DeleteKnowledgebaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Knowledgebase
}

func ParseDeleteKnowledgebaseResponse added in v0.0.55

func ParseDeleteKnowledgebaseResponse(rsp *http.Response) (*DeleteKnowledgebaseResponse, error)

ParseDeleteKnowledgebaseResponse parses an HTTP response from a DeleteKnowledgebaseWithResponse call

func (DeleteKnowledgebaseResponse) Status added in v0.0.55

Status returns HTTPResponse.Status

func (DeleteKnowledgebaseResponse) StatusCode added in v0.0.55

func (r DeleteKnowledgebaseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteModelResponse

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

func ParseDeleteModelResponse

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

ParseDeleteModelResponse parses an HTTP response from a DeleteModelWithResponse call

func (DeleteModelResponse) Status

func (r DeleteModelResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteModelResponse) StatusCode

func (r DeleteModelResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeletePolicyResponse

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

func ParseDeletePolicyResponse

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

ParseDeletePolicyResponse parses an HTTP response from a DeletePolicyWithResponse call

func (DeletePolicyResponse) Status

func (r DeletePolicyResponse) Status() string

Status returns HTTPResponse.Status

func (DeletePolicyResponse) StatusCode

func (r DeletePolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeletePrivateClusterResponse

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

func ParseDeletePrivateClusterResponse

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

ParseDeletePrivateClusterResponse parses an HTTP response from a DeletePrivateClusterWithResponse call

func (DeletePrivateClusterResponse) Status

Status returns HTTPResponse.Status

func (DeletePrivateClusterResponse) StatusCode

func (r DeletePrivateClusterResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteWorkspaceResponse

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

func ParseDeleteWorkspaceResponse

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

ParseDeleteWorkspaceResponse parses an HTTP response from a DeleteWorkspaceWithResponse call

func (DeleteWorkspaceResponse) Status

func (r DeleteWorkspaceResponse) Status() string

Status returns HTTPResponse.Status

func (DeleteWorkspaceResponse) StatusCode

func (r DeleteWorkspaceResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteWorkspaceServiceAccountResponse

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

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

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

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

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

func ParseDeleteWorkspaceServiceAccountResponse

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

ParseDeleteWorkspaceServiceAccountResponse parses an HTTP response from a DeleteWorkspaceServiceAccountWithResponse call

func (DeleteWorkspaceServiceAccountResponse) Status

Status returns HTTPResponse.Status

func (DeleteWorkspaceServiceAccountResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type DeviceLogin

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

type DeviceLoginFinalizeRequest

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

type DeviceLoginFinalizeResponse

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

type DeviceLoginResponse

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

type Flavor

type Flavor struct {
	// Name Flavor name (e.g. t4)
	Name *string `json:"name,omitempty"`

	// Type Flavor type (e.g. cpu, gpu)
	Type *string `json:"type,omitempty"`
}

Flavor A type of hardware available for deployments

type Flavors

type Flavors = []Flavor

Flavors Types of hardware available for deployments

type Function

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

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

	// Spec Function specification
	Spec *FunctionSpec `json:"spec,omitempty"`

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

Function Function

type 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 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 GetAgentLogsResponse added in v0.0.57

type GetAgentLogsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]ResourceLog
}

func ParseGetAgentLogsResponse added in v0.0.57

func ParseGetAgentLogsResponse(rsp *http.Response) (*GetAgentLogsResponse, error)

ParseGetAgentLogsResponse parses an HTTP response from a GetAgentLogsWithResponse call

func (GetAgentLogsResponse) Status added in v0.0.57

func (r GetAgentLogsResponse) Status() string

Status returns HTTPResponse.Status

func (GetAgentLogsResponse) StatusCode added in v0.0.57

func (r GetAgentLogsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAgentMetricsResponse

type GetAgentMetricsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ResourceMetrics
}

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 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 {
	// Limit Limit
	Limit *string `form:"limit,omitempty" json:"limit,omitempty"`

	// StartTime Start time
	StartTime *string `form:"startTime,omitempty" json:"startTime,omitempty"`

	// EndTime End time
	EndTime *string `form:"endTime,omitempty" json:"endTime,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 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 GetFunctionLogsResponse added in v0.0.57

type GetFunctionLogsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]ResourceLog
}

func ParseGetFunctionLogsResponse added in v0.0.57

func ParseGetFunctionLogsResponse(rsp *http.Response) (*GetFunctionLogsResponse, error)

ParseGetFunctionLogsResponse parses an HTTP response from a GetFunctionLogsWithResponse call

func (GetFunctionLogsResponse) Status added in v0.0.57

func (r GetFunctionLogsResponse) Status() string

Status returns HTTPResponse.Status

func (GetFunctionLogsResponse) StatusCode added in v0.0.57

func (r GetFunctionLogsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetFunctionMetricsResponse

type GetFunctionMetricsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ResourceMetrics
}

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 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 {
	// Limit Limit
	Limit *string `form:"limit,omitempty" json:"limit,omitempty"`

	// StartTime Start time
	StartTime *string `form:"startTime,omitempty" json:"startTime,omitempty"`

	// EndTime End time
	EndTime *string `form:"endTime,omitempty" json:"endTime,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 GetIntegrationConnectionModelEndpointConfigurationsResponse added in v0.0.54

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

func ParseGetIntegrationConnectionModelEndpointConfigurationsResponse added in v0.0.54

func ParseGetIntegrationConnectionModelEndpointConfigurationsResponse(rsp *http.Response) (*GetIntegrationConnectionModelEndpointConfigurationsResponse, error)

ParseGetIntegrationConnectionModelEndpointConfigurationsResponse parses an HTTP response from a GetIntegrationConnectionModelEndpointConfigurationsWithResponse call

func (GetIntegrationConnectionModelEndpointConfigurationsResponse) Status added in v0.0.54

Status returns HTTPResponse.Status

func (GetIntegrationConnectionModelEndpointConfigurationsResponse) StatusCode added in v0.0.54

StatusCode returns HTTPResponse.StatusCode

type GetIntegrationConnectionModelResponse

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

func ParseGetIntegrationConnectionModelResponse

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

ParseGetIntegrationConnectionModelResponse parses an HTTP response from a GetIntegrationConnectionModelWithResponse call

func (GetIntegrationConnectionModelResponse) Status

Status returns HTTPResponse.Status

func (GetIntegrationConnectionModelResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetIntegrationConnectionResponse

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

func ParseGetIntegrationConnectionResponse

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

ParseGetIntegrationConnectionResponse parses an HTTP response from a GetIntegrationConnectionWithResponse call

func (GetIntegrationConnectionResponse) Status

Status returns HTTPResponse.Status

func (GetIntegrationConnectionResponse) StatusCode

func (r GetIntegrationConnectionResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetIntegrationResponse

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

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 GetKnowledgebaseResponse added in v0.0.55

type GetKnowledgebaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Knowledgebase
}

func ParseGetKnowledgebaseResponse added in v0.0.55

func ParseGetKnowledgebaseResponse(rsp *http.Response) (*GetKnowledgebaseResponse, error)

ParseGetKnowledgebaseResponse parses an HTTP response from a GetKnowledgebaseWithResponse call

func (GetKnowledgebaseResponse) Status added in v0.0.55

func (r GetKnowledgebaseResponse) Status() string

Status returns HTTPResponse.Status

func (GetKnowledgebaseResponse) StatusCode added in v0.0.55

func (r GetKnowledgebaseResponse) 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 GetModelLogsResponse added in v0.0.57

type GetModelLogsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]ResourceLog
}

func ParseGetModelLogsResponse added in v0.0.57

func ParseGetModelLogsResponse(rsp *http.Response) (*GetModelLogsResponse, error)

ParseGetModelLogsResponse parses an HTTP response from a GetModelLogsWithResponse call

func (GetModelLogsResponse) Status added in v0.0.57

func (r GetModelLogsResponse) Status() string

Status returns HTTPResponse.Status

func (GetModelLogsResponse) StatusCode added in v0.0.57

func (r GetModelLogsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetModelMetricsResponse

type GetModelMetricsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ResourceMetrics
}

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 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 {
	// Limit Limit
	Limit *string `form:"limit,omitempty" json:"limit,omitempty"`

	// StartTime Start time
	StartTime *string `form:"startTime,omitempty" json:"startTime,omitempty"`

	// EndTime End time
	EndTime *string `form:"endTime,omitempty" json:"endTime,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"`
	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 Knowledgebase added in v0.0.55

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

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

	// Spec Knowledgebase specification
	Spec *KnowledgebaseSpec `json:"spec,omitempty"`

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

Knowledgebase Knowledgebase

type KnowledgebaseSpec added in v0.0.55

type KnowledgebaseSpec struct {
	// CollectionName Collection name
	CollectionName *string `json:"collectionName,omitempty"`

	// EmbeddingModel Embedding model
	EmbeddingModel *string `json:"embeddingModel,omitempty"`

	// EmbeddingModelType Embedding model type
	EmbeddingModelType *string `json:"embeddingModelType,omitempty"`

	// Enabled Enable or disable the agent
	Enabled                *bool                       `json:"enabled,omitempty"`
	IntegrationConnections *IntegrationConnectionsList `json:"integrationConnections,omitempty"`

	// Options Options specific to the knowledge base
	Options  *map[string]interface{} `json:"options,omitempty"`
	Policies *PoliciesList           `json:"policies,omitempty"`

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

KnowledgebaseSpec Knowledgebase specification

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 ListAgentRevisionsResponse added in v0.0.57

type ListAgentRevisionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]RevisionMetadata
}

func ParseListAgentRevisionsResponse added in v0.0.57

func ParseListAgentRevisionsResponse(rsp *http.Response) (*ListAgentRevisionsResponse, error)

ParseListAgentRevisionsResponse parses an HTTP response from a ListAgentRevisionsWithResponse call

func (ListAgentRevisionsResponse) Status added in v0.0.57

Status returns HTTPResponse.Status

func (ListAgentRevisionsResponse) StatusCode added in v0.0.57

func (r ListAgentRevisionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListAgentsResponse

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

func ParseListAgentsResponse

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

ParseListAgentsResponse parses an HTTP response from a ListAgentsWithResponse call

func (ListAgentsResponse) Status

func (r ListAgentsResponse) Status() string

Status returns HTTPResponse.Status

func (ListAgentsResponse) StatusCode

func (r ListAgentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListAllPendingInvitationsResponse

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

func ParseListAllPendingInvitationsResponse

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

ParseListAllPendingInvitationsResponse parses an HTTP response from a ListAllPendingInvitationsWithResponse call

func (ListAllPendingInvitationsResponse) Status

Status returns HTTPResponse.Status

func (ListAllPendingInvitationsResponse) StatusCode

func (r ListAllPendingInvitationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListApiKeysForServiceAccountResponse

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

func ParseListApiKeysForServiceAccountResponse

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

ParseListApiKeysForServiceAccountResponse parses an HTTP response from a ListApiKeysForServiceAccountWithResponse call

func (ListApiKeysForServiceAccountResponse) Status

Status returns HTTPResponse.Status

func (ListApiKeysForServiceAccountResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListFunctionRevisionsResponse added in v0.0.57

type ListFunctionRevisionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *RevisionMetadata
}

func ParseListFunctionRevisionsResponse added in v0.0.57

func ParseListFunctionRevisionsResponse(rsp *http.Response) (*ListFunctionRevisionsResponse, error)

ParseListFunctionRevisionsResponse parses an HTTP response from a ListFunctionRevisionsWithResponse call

func (ListFunctionRevisionsResponse) Status added in v0.0.57

Status returns HTTPResponse.Status

func (ListFunctionRevisionsResponse) StatusCode added in v0.0.57

func (r ListFunctionRevisionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListFunctionsResponse

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

func ParseListFunctionsResponse

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

ParseListFunctionsResponse parses an HTTP response from a ListFunctionsWithResponse call

func (ListFunctionsResponse) Status

func (r ListFunctionsResponse) Status() string

Status returns HTTPResponse.Status

func (ListFunctionsResponse) StatusCode

func (r ListFunctionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListIntegrationConnectionModelsResponse

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

func ParseListIntegrationConnectionModelsResponse

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

ParseListIntegrationConnectionModelsResponse parses an HTTP response from a ListIntegrationConnectionModelsWithResponse call

func (ListIntegrationConnectionModelsResponse) Status

Status returns HTTPResponse.Status

func (ListIntegrationConnectionModelsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListIntegrationConnectionsResponse

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

func ParseListIntegrationConnectionsResponse

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

ParseListIntegrationConnectionsResponse parses an HTTP response from a ListIntegrationConnectionsWithResponse call

func (ListIntegrationConnectionsResponse) Status

Status returns HTTPResponse.Status

func (ListIntegrationConnectionsResponse) StatusCode

func (r ListIntegrationConnectionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListKnowledgebaseRevisionsResponse added in v0.0.57

type ListKnowledgebaseRevisionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *RevisionMetadata
}

func ParseListKnowledgebaseRevisionsResponse added in v0.0.57

func ParseListKnowledgebaseRevisionsResponse(rsp *http.Response) (*ListKnowledgebaseRevisionsResponse, error)

ParseListKnowledgebaseRevisionsResponse parses an HTTP response from a ListKnowledgebaseRevisionsWithResponse call

func (ListKnowledgebaseRevisionsResponse) Status added in v0.0.57

Status returns HTTPResponse.Status

func (ListKnowledgebaseRevisionsResponse) StatusCode added in v0.0.57

func (r ListKnowledgebaseRevisionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListKnowledgebasesResponse added in v0.0.55

type ListKnowledgebasesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]Knowledgebase
}

func ParseListKnowledgebasesResponse added in v0.0.55

func ParseListKnowledgebasesResponse(rsp *http.Response) (*ListKnowledgebasesResponse, error)

ParseListKnowledgebasesResponse parses an HTTP response from a ListKnowledgebasesWithResponse call

func (ListKnowledgebasesResponse) Status added in v0.0.55

Status returns HTTPResponse.Status

func (ListKnowledgebasesResponse) StatusCode added in v0.0.55

func (r ListKnowledgebasesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListLocationsResponse

type ListLocationsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]LocationResponse
}

func ParseListLocationsResponse

func ParseListLocationsResponse(rsp *http.Response) (*ListLocationsResponse, error)

ParseListLocationsResponse parses an HTTP response from a ListLocationsWithResponse call

func (ListLocationsResponse) Status

func (r ListLocationsResponse) Status() string

Status returns HTTPResponse.Status

func (ListLocationsResponse) StatusCode

func (r ListLocationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListMCPHubDefinitionsResponse added in v0.0.57

type ListMCPHubDefinitionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]MCPDefinition
}

func ParseListMCPHubDefinitionsResponse added in v0.0.57

func ParseListMCPHubDefinitionsResponse(rsp *http.Response) (*ListMCPHubDefinitionsResponse, error)

ParseListMCPHubDefinitionsResponse parses an HTTP response from a ListMCPHubDefinitionsWithResponse call

func (ListMCPHubDefinitionsResponse) Status added in v0.0.57

Status returns HTTPResponse.Status

func (ListMCPHubDefinitionsResponse) StatusCode added in v0.0.57

func (r ListMCPHubDefinitionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListModelRevisionsResponse added in v0.0.57

type ListModelRevisionsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *RevisionMetadata
}

func ParseListModelRevisionsResponse added in v0.0.57

func ParseListModelRevisionsResponse(rsp *http.Response) (*ListModelRevisionsResponse, error)

ParseListModelRevisionsResponse parses an HTTP response from a ListModelRevisionsWithResponse call

func (ListModelRevisionsResponse) Status added in v0.0.57

Status returns HTTPResponse.Status

func (ListModelRevisionsResponse) StatusCode added in v0.0.57

func (r ListModelRevisionsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListModelsResponse

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

func ParseListModelsResponse

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

ParseListModelsResponse parses an HTTP response from a ListModelsWithResponse call

func (ListModelsResponse) Status

func (r ListModelsResponse) Status() string

Status returns HTTPResponse.Status

func (ListModelsResponse) StatusCode

func (r ListModelsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPoliciesResponse

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

func ParseListPoliciesResponse

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

ParseListPoliciesResponse parses an HTTP response from a ListPoliciesWithResponse call

func (ListPoliciesResponse) Status

func (r ListPoliciesResponse) Status() string

Status returns HTTPResponse.Status

func (ListPoliciesResponse) StatusCode

func (r ListPoliciesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPrivateClustersResponse

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

func ParseListPrivateClustersResponse

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

ParseListPrivateClustersResponse parses an HTTP response from a ListPrivateClustersWithResponse call

func (ListPrivateClustersResponse) Status

Status returns HTTPResponse.Status

func (ListPrivateClustersResponse) StatusCode

func (r ListPrivateClustersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type 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 MCPDefinition added in v0.0.57

type MCPDefinition struct {
	// Categories Categories of the artifact
	Categories *[]interface{} `json:"categories,omitempty"`

	// ComingSoon If the artifact is coming soon
	ComingSoon *bool `json:"coming_soon,omitempty"`

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

	// DisplayName Display name of the artifact
	DisplayName *string `json:"displayName,omitempty"`

	// Enterprise If the artifact is enterprise
	Enterprise *bool `json:"enterprise,omitempty"`

	// Entrypoint Entrypoint of the artifact
	Entrypoint *map[string]interface{} `json:"entrypoint,omitempty"`

	// Form Form of the artifact
	Form *map[string]interface{} `json:"form,omitempty"`

	// Icon Icon of the artifact
	Icon *string `json:"icon,omitempty"`

	// Integration Integration of the artifact
	Integration *string `json:"integration,omitempty"`

	// LongDescription Long description of the artifact
	LongDescription *string `json:"longDescription,omitempty"`

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

	// Url URL of the artifact
	Url *string `json:"url,omitempty"`
}

MCPDefinition Definition of an MCP from the MCP Hub

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 Metadata
	Metadata *Metadata `json:"metadata,omitempty"`

	// Spec Model specification
	Spec *ModelSpec `json:"spec,omitempty"`

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

Model Logical object representing a model

type ModelPrivateCluster

type ModelPrivateCluster struct {
	// BaseUrl The base url of the model in the private cluster
	BaseUrl *string `json:"baseUrl,omitempty"`

	// Enabled If true, the private cluster is available
	Enabled *bool `json:"enabled,omitempty"`

	// Name The name of the private cluster
	Name *string `json:"name,omitempty"`
}

ModelPrivateCluster Private cluster where the model deployment is deployed

type ModelSpec

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

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

type ResourceMetrics 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"`
}

ResourceMetrics Metrics for a single resource deployment (eg. model deployment, function deployment)

type RevisionMetadata added in v0.0.57

type RevisionMetadata struct {
	// CreatedAt Revision created at
	CreatedAt *string `json:"createdAt,omitempty"`

	// Id Revision ID
	Id *string `json:"id,omitempty"`
}

RevisionMetadata Revision metadata

type RunClientWithCredentials

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

type Runtime

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

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

	// EndpointName Endpoint Name of the model. In case of hf_private_endpoint, it is the endpoint name. In case of hf_public_endpoint, it is not used.
	EndpointName *string `json:"endpointName,omitempty"`

	// Envs The env variables to set in the deployment. Should be a list of Kubernetes EnvVar types
	Envs *[]interface{} `json:"envs,omitempty"`

	// 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 at HuggingFace.
	Model *string `json:"model,omitempty"`

	// Organization The organization of the model
	Organization *string `json:"organization,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 (hf_private_endpoint, hf_public_endpoint)
	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"`

	// Prompt Store agent prompt, this is to define what the agent does
	Prompt *string `json:"prompt,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 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 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 UpdateKnowledgebaseJSONRequestBody added in v0.0.55

type UpdateKnowledgebaseJSONRequestBody = Knowledgebase

UpdateKnowledgebaseJSONRequestBody defines body for UpdateKnowledgebase for application/json ContentType.

type UpdateKnowledgebaseResponse added in v0.0.55

type UpdateKnowledgebaseResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Knowledgebase
}

func ParseUpdateKnowledgebaseResponse added in v0.0.55

func ParseUpdateKnowledgebaseResponse(rsp *http.Response) (*UpdateKnowledgebaseResponse, error)

ParseUpdateKnowledgebaseResponse parses an HTTP response from a UpdateKnowledgebaseWithResponse call

func (UpdateKnowledgebaseResponse) Status added in v0.0.55

Status returns HTTPResponse.Status

func (UpdateKnowledgebaseResponse) StatusCode added in v0.0.55

func (r UpdateKnowledgebaseResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateModelJSONRequestBody

type UpdateModelJSONRequestBody = Model

UpdateModelJSONRequestBody defines body for UpdateModel for application/json ContentType.

type UpdateModelResponse

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

func ParseUpdateModelResponse

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

ParseUpdateModelResponse parses an HTTP response from a UpdateModelWithResponse call

func (UpdateModelResponse) Status

func (r UpdateModelResponse) Status() string

Status returns HTTPResponse.Status

func (UpdateModelResponse) StatusCode

func (r UpdateModelResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdatePolicyJSONRequestBody

type UpdatePolicyJSONRequestBody = Policy

UpdatePolicyJSONRequestBody defines body for UpdatePolicy for application/json ContentType.

type UpdatePolicyResponse

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

func ParseUpdatePolicyResponse

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

ParseUpdatePolicyResponse parses an HTTP response from a UpdatePolicyWithResponse call

func (UpdatePolicyResponse) Status

func (r UpdatePolicyResponse) Status() string

Status returns HTTPResponse.Status

func (UpdatePolicyResponse) StatusCode

func (r UpdatePolicyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdatePrivateClusterHealthResponse

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

func ParseUpdatePrivateClusterHealthResponse

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

ParseUpdatePrivateClusterHealthResponse parses an HTTP response from a UpdatePrivateClusterHealthWithResponse call

func (UpdatePrivateClusterHealthResponse) Status

Status returns HTTPResponse.Status

func (UpdatePrivateClusterHealthResponse) StatusCode

func (r UpdatePrivateClusterHealthResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdatePrivateClusterResponse

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

func ParseUpdatePrivateClusterResponse

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

ParseUpdatePrivateClusterResponse parses an HTTP response from a UpdatePrivateClusterWithResponse call

func (UpdatePrivateClusterResponse) Status

Status returns HTTPResponse.Status

func (UpdatePrivateClusterResponse) StatusCode

func (r UpdatePrivateClusterResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type 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"`

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

Jump to

Keyboard shortcuts

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