Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterAgentInstanceServiceServer(s grpc.ServiceRegistrar, srv AgentInstanceServiceServer)
- type AgentInstance
- func (*AgentInstance) Descriptor() ([]byte, []int)deprecated
- func (x *AgentInstance) GetA2AAuthority() string
- func (x *AgentInstance) GetAgentTemplate() *ResourceReference
- func (x *AgentInstance) GetCreatedAt() *timestamppb.Timestamp
- func (x *AgentInstance) GetCreator() string
- func (x *AgentInstance) GetFailure() *Failure
- func (x *AgentInstance) GetHarness() *ResourceReference
- func (x *AgentInstance) GetId() string
- func (x *AgentInstance) GetLabels() map[string]string
- func (x *AgentInstance) GetName() string
- func (x *AgentInstance) GetNamespace() string
- func (x *AgentInstance) GetOperation() AgentInstanceOperation
- func (x *AgentInstance) GetPreparedRevision() string
- func (x *AgentInstance) GetState() AgentInstanceState
- func (x *AgentInstance) GetUpdatedAt() *timestamppb.Timestamp
- func (*AgentInstance) ProtoMessage()
- func (x *AgentInstance) ProtoReflect() protoreflect.Message
- func (x *AgentInstance) Reset()
- func (x *AgentInstance) String() string
- type AgentInstanceOperation
- func (AgentInstanceOperation) Descriptor() protoreflect.EnumDescriptor
- func (x AgentInstanceOperation) Enum() *AgentInstanceOperation
- func (AgentInstanceOperation) EnumDescriptor() ([]byte, []int)deprecated
- func (x AgentInstanceOperation) Number() protoreflect.EnumNumber
- func (x AgentInstanceOperation) String() string
- func (AgentInstanceOperation) Type() protoreflect.EnumType
- type AgentInstanceServiceClient
- type AgentInstanceServiceServer
- type AgentInstanceShare
- func (*AgentInstanceShare) Descriptor() ([]byte, []int)deprecated
- func (x *AgentInstanceShare) GetAgentInstanceId() string
- func (x *AgentInstanceShare) GetCreatedAt() *timestamppb.Timestamp
- func (x *AgentInstanceShare) GetId() string
- func (x *AgentInstanceShare) GetNamespace() string
- func (x *AgentInstanceShare) GetPermission() AgentInstanceSharePermission
- func (*AgentInstanceShare) ProtoMessage()
- func (x *AgentInstanceShare) ProtoReflect() protoreflect.Message
- func (x *AgentInstanceShare) Reset()
- func (x *AgentInstanceShare) String() string
- type AgentInstanceSharePermission
- func (AgentInstanceSharePermission) Descriptor() protoreflect.EnumDescriptor
- func (x AgentInstanceSharePermission) Enum() *AgentInstanceSharePermission
- func (AgentInstanceSharePermission) EnumDescriptor() ([]byte, []int)deprecated
- func (x AgentInstanceSharePermission) Number() protoreflect.EnumNumber
- func (x AgentInstanceSharePermission) String() string
- func (AgentInstanceSharePermission) Type() protoreflect.EnumType
- type AgentInstanceState
- func (AgentInstanceState) Descriptor() protoreflect.EnumDescriptor
- func (x AgentInstanceState) Enum() *AgentInstanceState
- func (AgentInstanceState) EnumDescriptor() ([]byte, []int)deprecated
- func (x AgentInstanceState) Number() protoreflect.EnumNumber
- func (x AgentInstanceState) String() string
- func (AgentInstanceState) Type() protoreflect.EnumType
- type CreateAgentInstanceRequest
- func (*CreateAgentInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAgentInstanceRequest) GetAgentTemplate() string
- func (x *CreateAgentInstanceRequest) GetHarness() string
- func (x *CreateAgentInstanceRequest) GetName() string
- func (x *CreateAgentInstanceRequest) GetNamespace() string
- func (x *CreateAgentInstanceRequest) GetRequestId() string
- func (*CreateAgentInstanceRequest) ProtoMessage()
- func (x *CreateAgentInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAgentInstanceRequest) Reset()
- func (x *CreateAgentInstanceRequest) String() string
- type CreateAgentInstanceResponse
- func (*CreateAgentInstanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAgentInstanceResponse) GetAgentInstance() *AgentInstance
- func (*CreateAgentInstanceResponse) ProtoMessage()
- func (x *CreateAgentInstanceResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAgentInstanceResponse) Reset()
- func (x *CreateAgentInstanceResponse) String() string
- type CreateAgentInstanceShareRequest
- func (*CreateAgentInstanceShareRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAgentInstanceShareRequest) GetAgentInstanceId() string
- func (x *CreateAgentInstanceShareRequest) GetNamespace() string
- func (x *CreateAgentInstanceShareRequest) GetPermission() AgentInstanceSharePermission
- func (*CreateAgentInstanceShareRequest) ProtoMessage()
- func (x *CreateAgentInstanceShareRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAgentInstanceShareRequest) Reset()
- func (x *CreateAgentInstanceShareRequest) String() string
- type CreateAgentInstanceShareResponse
- func (*CreateAgentInstanceShareResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAgentInstanceShareResponse) GetShare() *AgentInstanceShare
- func (x *CreateAgentInstanceShareResponse) GetToken() string
- func (*CreateAgentInstanceShareResponse) ProtoMessage()
- func (x *CreateAgentInstanceShareResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAgentInstanceShareResponse) Reset()
- func (x *CreateAgentInstanceShareResponse) String() string
- type DeleteAgentInstanceRequest
- func (*DeleteAgentInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAgentInstanceRequest) GetAgentInstanceId() string
- func (x *DeleteAgentInstanceRequest) GetNamespace() string
- func (*DeleteAgentInstanceRequest) ProtoMessage()
- func (x *DeleteAgentInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAgentInstanceRequest) Reset()
- func (x *DeleteAgentInstanceRequest) String() string
- type DeleteAgentInstanceResponse
- func (*DeleteAgentInstanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAgentInstanceResponse) GetAgentInstance() *AgentInstance
- func (*DeleteAgentInstanceResponse) ProtoMessage()
- func (x *DeleteAgentInstanceResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteAgentInstanceResponse) Reset()
- func (x *DeleteAgentInstanceResponse) String() string
- type Failure
- type GetAgentInstanceRequest
- func (*GetAgentInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAgentInstanceRequest) GetAgentInstanceId() string
- func (x *GetAgentInstanceRequest) GetNamespace() string
- func (*GetAgentInstanceRequest) ProtoMessage()
- func (x *GetAgentInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *GetAgentInstanceRequest) Reset()
- func (x *GetAgentInstanceRequest) String() string
- type GetAgentInstanceResponse
- func (*GetAgentInstanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAgentInstanceResponse) GetAgentInstance() *AgentInstance
- func (*GetAgentInstanceResponse) ProtoMessage()
- func (x *GetAgentInstanceResponse) ProtoReflect() protoreflect.Message
- func (x *GetAgentInstanceResponse) Reset()
- func (x *GetAgentInstanceResponse) String() string
- type ListAgentInstanceSharesRequest
- func (*ListAgentInstanceSharesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAgentInstanceSharesRequest) GetAgentInstanceId() string
- func (x *ListAgentInstanceSharesRequest) GetNamespace() string
- func (x *ListAgentInstanceSharesRequest) GetPage() *PageRequest
- func (*ListAgentInstanceSharesRequest) ProtoMessage()
- func (x *ListAgentInstanceSharesRequest) ProtoReflect() protoreflect.Message
- func (x *ListAgentInstanceSharesRequest) Reset()
- func (x *ListAgentInstanceSharesRequest) String() string
- type ListAgentInstanceSharesResponse
- func (*ListAgentInstanceSharesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAgentInstanceSharesResponse) GetPage() *PageResponse
- func (x *ListAgentInstanceSharesResponse) GetShares() []*AgentInstanceShare
- func (*ListAgentInstanceSharesResponse) ProtoMessage()
- func (x *ListAgentInstanceSharesResponse) ProtoReflect() protoreflect.Message
- func (x *ListAgentInstanceSharesResponse) Reset()
- func (x *ListAgentInstanceSharesResponse) String() string
- type ListAgentInstancesRequest
- func (*ListAgentInstancesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAgentInstancesRequest) GetAgentTemplate() string
- func (x *ListAgentInstancesRequest) GetAllCreators() bool
- func (x *ListAgentInstancesRequest) GetHarness() string
- func (x *ListAgentInstancesRequest) GetMatchLabels() map[string]string
- func (x *ListAgentInstancesRequest) GetNamespace() string
- func (x *ListAgentInstancesRequest) GetPage() *PageRequest
- func (*ListAgentInstancesRequest) ProtoMessage()
- func (x *ListAgentInstancesRequest) ProtoReflect() protoreflect.Message
- func (x *ListAgentInstancesRequest) Reset()
- func (x *ListAgentInstancesRequest) String() string
- type ListAgentInstancesResponse
- func (*ListAgentInstancesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAgentInstancesResponse) GetAgentInstances() []*AgentInstance
- func (x *ListAgentInstancesResponse) GetPage() *PageResponse
- func (*ListAgentInstancesResponse) ProtoMessage()
- func (x *ListAgentInstancesResponse) ProtoReflect() protoreflect.Message
- func (x *ListAgentInstancesResponse) Reset()
- func (x *ListAgentInstancesResponse) String() string
- type PageRequest
- func (*PageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PageRequest) GetLimit() int32
- func (x *PageRequest) GetPageToken() string
- func (*PageRequest) ProtoMessage()
- func (x *PageRequest) ProtoReflect() protoreflect.Message
- func (x *PageRequest) Reset()
- func (x *PageRequest) String() string
- type PageResponse
- type ResourceReference
- func (*ResourceReference) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceReference) GetName() string
- func (x *ResourceReference) GetNamespace() string
- func (*ResourceReference) ProtoMessage()
- func (x *ResourceReference) ProtoReflect() protoreflect.Message
- func (x *ResourceReference) Reset()
- func (x *ResourceReference) String() string
- type ResumeAgentInstanceRequest
- func (*ResumeAgentInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResumeAgentInstanceRequest) GetAgentInstanceId() string
- func (x *ResumeAgentInstanceRequest) GetNamespace() string
- func (*ResumeAgentInstanceRequest) ProtoMessage()
- func (x *ResumeAgentInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *ResumeAgentInstanceRequest) Reset()
- func (x *ResumeAgentInstanceRequest) String() string
- type ResumeAgentInstanceResponse
- func (*ResumeAgentInstanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResumeAgentInstanceResponse) GetAgentInstance() *AgentInstance
- func (*ResumeAgentInstanceResponse) ProtoMessage()
- func (x *ResumeAgentInstanceResponse) ProtoReflect() protoreflect.Message
- func (x *ResumeAgentInstanceResponse) Reset()
- func (x *ResumeAgentInstanceResponse) String() string
- type RevokeAgentInstanceShareRequest
- func (*RevokeAgentInstanceShareRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeAgentInstanceShareRequest) GetNamespace() string
- func (x *RevokeAgentInstanceShareRequest) GetShareId() string
- func (*RevokeAgentInstanceShareRequest) ProtoMessage()
- func (x *RevokeAgentInstanceShareRequest) ProtoReflect() protoreflect.Message
- func (x *RevokeAgentInstanceShareRequest) Reset()
- func (x *RevokeAgentInstanceShareRequest) String() string
- type RevokeAgentInstanceShareResponse
- func (*RevokeAgentInstanceShareResponse) Descriptor() ([]byte, []int)deprecated
- func (*RevokeAgentInstanceShareResponse) ProtoMessage()
- func (x *RevokeAgentInstanceShareResponse) ProtoReflect() protoreflect.Message
- func (x *RevokeAgentInstanceShareResponse) Reset()
- func (x *RevokeAgentInstanceShareResponse) String() string
- type StructuredObject
- func (*StructuredObject) Descriptor() ([]byte, []int)deprecated
- func (x *StructuredObject) GetApiVersion() string
- func (x *StructuredObject) GetKind() string
- func (x *StructuredObject) GetValue() *structpb.Struct
- func (*StructuredObject) ProtoMessage()
- func (x *StructuredObject) ProtoReflect() protoreflect.Message
- func (x *StructuredObject) Reset()
- func (x *StructuredObject) String() string
- type SuspendAgentInstanceRequest
- func (*SuspendAgentInstanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SuspendAgentInstanceRequest) GetAgentInstanceId() string
- func (x *SuspendAgentInstanceRequest) GetNamespace() string
- func (*SuspendAgentInstanceRequest) ProtoMessage()
- func (x *SuspendAgentInstanceRequest) ProtoReflect() protoreflect.Message
- func (x *SuspendAgentInstanceRequest) Reset()
- func (x *SuspendAgentInstanceRequest) String() string
- type SuspendAgentInstanceResponse
- func (*SuspendAgentInstanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SuspendAgentInstanceResponse) GetAgentInstance() *AgentInstance
- func (*SuspendAgentInstanceResponse) ProtoMessage()
- func (x *SuspendAgentInstanceResponse) ProtoReflect() protoreflect.Message
- func (x *SuspendAgentInstanceResponse) Reset()
- func (x *SuspendAgentInstanceResponse) String() string
- type UnimplementedAgentInstanceServiceServer
- func (UnimplementedAgentInstanceServiceServer) CreateAgentInstance(context.Context, *CreateAgentInstanceRequest) (*CreateAgentInstanceResponse, error)
- func (UnimplementedAgentInstanceServiceServer) CreateAgentInstanceShare(context.Context, *CreateAgentInstanceShareRequest) (*CreateAgentInstanceShareResponse, error)
- func (UnimplementedAgentInstanceServiceServer) DeleteAgentInstance(context.Context, *DeleteAgentInstanceRequest) (*DeleteAgentInstanceResponse, error)
- func (UnimplementedAgentInstanceServiceServer) GetAgentInstance(context.Context, *GetAgentInstanceRequest) (*GetAgentInstanceResponse, error)
- func (UnimplementedAgentInstanceServiceServer) ListAgentInstanceShares(context.Context, *ListAgentInstanceSharesRequest) (*ListAgentInstanceSharesResponse, error)
- func (UnimplementedAgentInstanceServiceServer) ListAgentInstances(context.Context, *ListAgentInstancesRequest) (*ListAgentInstancesResponse, error)
- func (UnimplementedAgentInstanceServiceServer) ResumeAgentInstance(context.Context, *ResumeAgentInstanceRequest) (*ResumeAgentInstanceResponse, error)
- func (UnimplementedAgentInstanceServiceServer) RevokeAgentInstanceShare(context.Context, *RevokeAgentInstanceShareRequest) (*RevokeAgentInstanceShareResponse, error)
- func (UnimplementedAgentInstanceServiceServer) SuspendAgentInstance(context.Context, *SuspendAgentInstanceRequest) (*SuspendAgentInstanceResponse, error)
- func (UnimplementedAgentInstanceServiceServer) UpdateAgentInstanceName(context.Context, *UpdateAgentInstanceNameRequest) (*UpdateAgentInstanceNameResponse, error)
- type UnsafeAgentInstanceServiceServer
- type UpdateAgentInstanceNameRequest
- func (*UpdateAgentInstanceNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAgentInstanceNameRequest) GetAgentInstanceId() string
- func (x *UpdateAgentInstanceNameRequest) GetName() string
- func (x *UpdateAgentInstanceNameRequest) GetNamespace() string
- func (*UpdateAgentInstanceNameRequest) ProtoMessage()
- func (x *UpdateAgentInstanceNameRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAgentInstanceNameRequest) Reset()
- func (x *UpdateAgentInstanceNameRequest) String() string
- type UpdateAgentInstanceNameResponse
- func (*UpdateAgentInstanceNameResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAgentInstanceNameResponse) GetAgentInstance() *AgentInstance
- func (*UpdateAgentInstanceNameResponse) ProtoMessage()
- func (x *UpdateAgentInstanceNameResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateAgentInstanceNameResponse) Reset()
- func (x *UpdateAgentInstanceNameResponse) String() string
Constants ¶
const ( AgentInstanceService_CreateAgentInstance_FullMethodName = "/kagent.api.v1alpha1.AgentInstanceService/CreateAgentInstance" AgentInstanceService_GetAgentInstance_FullMethodName = "/kagent.api.v1alpha1.AgentInstanceService/GetAgentInstance" AgentInstanceService_ListAgentInstances_FullMethodName = "/kagent.api.v1alpha1.AgentInstanceService/ListAgentInstances" AgentInstanceService_UpdateAgentInstanceName_FullMethodName = "/kagent.api.v1alpha1.AgentInstanceService/UpdateAgentInstanceName" AgentInstanceService_SuspendAgentInstance_FullMethodName = "/kagent.api.v1alpha1.AgentInstanceService/SuspendAgentInstance" AgentInstanceService_ResumeAgentInstance_FullMethodName = "/kagent.api.v1alpha1.AgentInstanceService/ResumeAgentInstance" AgentInstanceService_DeleteAgentInstance_FullMethodName = "/kagent.api.v1alpha1.AgentInstanceService/DeleteAgentInstance" )
Variables ¶
var ( AgentInstanceState_name = map[int32]string{ 0: "AGENT_INSTANCE_STATE_UNSPECIFIED", 1: "AGENT_INSTANCE_STATE_CREATING", 2: "AGENT_INSTANCE_STATE_READY", 3: "AGENT_INSTANCE_STATE_SUSPENDED", 4: "AGENT_INSTANCE_STATE_FAILED", 5: "AGENT_INSTANCE_STATE_DELETING", 6: "AGENT_INSTANCE_STATE_DELETED", } AgentInstanceState_value = map[string]int32{ "AGENT_INSTANCE_STATE_UNSPECIFIED": 0, "AGENT_INSTANCE_STATE_CREATING": 1, "AGENT_INSTANCE_STATE_READY": 2, "AGENT_INSTANCE_STATE_SUSPENDED": 3, "AGENT_INSTANCE_STATE_FAILED": 4, "AGENT_INSTANCE_STATE_DELETING": 5, "AGENT_INSTANCE_STATE_DELETED": 6, } )
Enum value maps for AgentInstanceState.
var ( AgentInstanceOperation_name = map[int32]string{ 0: "AGENT_INSTANCE_OPERATION_UNSPECIFIED", 1: "AGENT_INSTANCE_OPERATION_CREATE", 2: "AGENT_INSTANCE_OPERATION_SUSPEND", 3: "AGENT_INSTANCE_OPERATION_RESUME", 4: "AGENT_INSTANCE_OPERATION_DELETE", } AgentInstanceOperation_value = map[string]int32{ "AGENT_INSTANCE_OPERATION_UNSPECIFIED": 0, "AGENT_INSTANCE_OPERATION_CREATE": 1, "AGENT_INSTANCE_OPERATION_SUSPEND": 2, "AGENT_INSTANCE_OPERATION_RESUME": 3, "AGENT_INSTANCE_OPERATION_DELETE": 4, } )
Enum value maps for AgentInstanceOperation.
var ( 0: "AGENT_INSTANCE_SHARE_PERMISSION_UNSPECIFIED", 1: "AGENT_INSTANCE_SHARE_PERMISSION_READ_ONLY", 2: "AGENT_INSTANCE_SHARE_PERMISSION_READ_WRITE", } "AGENT_INSTANCE_SHARE_PERMISSION_UNSPECIFIED": 0, "AGENT_INSTANCE_SHARE_PERMISSION_READ_ONLY": 1, "AGENT_INSTANCE_SHARE_PERMISSION_READ_WRITE": 2, } )
Enum value maps for AgentInstanceSharePermission.
var AgentInstanceService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "kagent.api.v1alpha1.AgentInstanceService", HandlerType: (*AgentInstanceServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateAgentInstance", Handler: _AgentInstanceService_CreateAgentInstance_Handler, }, { MethodName: "GetAgentInstance", Handler: _AgentInstanceService_GetAgentInstance_Handler, }, { MethodName: "ListAgentInstances", Handler: _AgentInstanceService_ListAgentInstances_Handler, }, { MethodName: "UpdateAgentInstanceName", Handler: _AgentInstanceService_UpdateAgentInstanceName_Handler, }, { MethodName: "SuspendAgentInstance", Handler: _AgentInstanceService_SuspendAgentInstance_Handler, }, { MethodName: "ResumeAgentInstance", Handler: _AgentInstanceService_ResumeAgentInstance_Handler, }, { MethodName: "DeleteAgentInstance", Handler: _AgentInstanceService_DeleteAgentInstance_Handler, }, { MethodName: "CreateAgentInstanceShare", Handler: _AgentInstanceService_CreateAgentInstanceShare_Handler, }, { MethodName: "ListAgentInstanceShares", Handler: _AgentInstanceService_ListAgentInstanceShares_Handler, }, { MethodName: "RevokeAgentInstanceShare", Handler: _AgentInstanceService_RevokeAgentInstanceShare_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "kagent/api/v1alpha1/agent_instances.proto", }
AgentInstanceService_ServiceDesc is the grpc.ServiceDesc for AgentInstanceService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_kagent_api_v1alpha1_agent_instances_proto protoreflect.FileDescriptor
var File_kagent_api_v1alpha1_common_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAgentInstanceServiceServer ¶
func RegisterAgentInstanceServiceServer(s grpc.ServiceRegistrar, srv AgentInstanceServiceServer)
Types ¶
type AgentInstance ¶
type AgentInstance struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
Creator string `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"`
Harness *ResourceReference `protobuf:"bytes,4,opt,name=harness,proto3" json:"harness,omitempty"`
AgentTemplate *ResourceReference `protobuf:"bytes,5,opt,name=agent_template,json=agentTemplate,proto3" json:"agent_template,omitempty"`
PreparedRevision string `protobuf:"bytes,6,opt,name=prepared_revision,json=preparedRevision,proto3" json:"prepared_revision,omitempty"`
A2AAuthority string `protobuf:"bytes,7,opt,name=a2a_authority,json=a2aAuthority,proto3" json:"a2a_authority,omitempty"`
State AgentInstanceState `protobuf:"varint,8,opt,name=state,proto3,enum=kagent.api.v1alpha1.AgentInstanceState" json:"state,omitempty"`
Operation AgentInstanceOperation `protobuf:"varint,9,opt,name=operation,proto3,enum=kagent.api.v1alpha1.AgentInstanceOperation" json:"operation,omitempty"`
Failure *Failure `protobuf:"bytes,10,opt,name=failure,proto3" json:"failure,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
Labels map[string]string `` /* 140-byte string literal not displayed */
// Reader-supplied display name for the conversation. Empty means unnamed,
// which is the state every instance created before this field existed is in.
Name string `protobuf:"bytes,14,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*AgentInstance) Descriptor
deprecated
func (*AgentInstance) Descriptor() ([]byte, []int)
Deprecated: Use AgentInstance.ProtoReflect.Descriptor instead.
func (*AgentInstance) GetA2AAuthority ¶
func (x *AgentInstance) GetA2AAuthority() string
func (*AgentInstance) GetAgentTemplate ¶
func (x *AgentInstance) GetAgentTemplate() *ResourceReference
func (*AgentInstance) GetCreatedAt ¶
func (x *AgentInstance) GetCreatedAt() *timestamppb.Timestamp
func (*AgentInstance) GetCreator ¶
func (x *AgentInstance) GetCreator() string
func (*AgentInstance) GetFailure ¶
func (x *AgentInstance) GetFailure() *Failure
func (*AgentInstance) GetHarness ¶
func (x *AgentInstance) GetHarness() *ResourceReference
func (*AgentInstance) GetId ¶
func (x *AgentInstance) GetId() string
func (*AgentInstance) GetLabels ¶
func (x *AgentInstance) GetLabels() map[string]string
func (*AgentInstance) GetName ¶
func (x *AgentInstance) GetName() string
func (*AgentInstance) GetNamespace ¶
func (x *AgentInstance) GetNamespace() string
func (*AgentInstance) GetOperation ¶
func (x *AgentInstance) GetOperation() AgentInstanceOperation
func (*AgentInstance) GetPreparedRevision ¶
func (x *AgentInstance) GetPreparedRevision() string
func (*AgentInstance) GetState ¶
func (x *AgentInstance) GetState() AgentInstanceState
func (*AgentInstance) GetUpdatedAt ¶
func (x *AgentInstance) GetUpdatedAt() *timestamppb.Timestamp
func (*AgentInstance) ProtoMessage ¶
func (*AgentInstance) ProtoMessage()
func (*AgentInstance) ProtoReflect ¶
func (x *AgentInstance) ProtoReflect() protoreflect.Message
func (*AgentInstance) Reset ¶
func (x *AgentInstance) Reset()
func (*AgentInstance) String ¶
func (x *AgentInstance) String() string
type AgentInstanceOperation ¶
type AgentInstanceOperation int32
const ( AgentInstanceOperation_AGENT_INSTANCE_OPERATION_UNSPECIFIED AgentInstanceOperation = 0 AgentInstanceOperation_AGENT_INSTANCE_OPERATION_CREATE AgentInstanceOperation = 1 AgentInstanceOperation_AGENT_INSTANCE_OPERATION_SUSPEND AgentInstanceOperation = 2 AgentInstanceOperation_AGENT_INSTANCE_OPERATION_RESUME AgentInstanceOperation = 3 AgentInstanceOperation_AGENT_INSTANCE_OPERATION_DELETE AgentInstanceOperation = 4 )
func (AgentInstanceOperation) Descriptor ¶
func (AgentInstanceOperation) Descriptor() protoreflect.EnumDescriptor
func (AgentInstanceOperation) Enum ¶
func (x AgentInstanceOperation) Enum() *AgentInstanceOperation
func (AgentInstanceOperation) EnumDescriptor
deprecated
func (AgentInstanceOperation) EnumDescriptor() ([]byte, []int)
Deprecated: Use AgentInstanceOperation.Descriptor instead.
func (AgentInstanceOperation) Number ¶
func (x AgentInstanceOperation) Number() protoreflect.EnumNumber
func (AgentInstanceOperation) String ¶
func (x AgentInstanceOperation) String() string
func (AgentInstanceOperation) Type ¶
func (AgentInstanceOperation) Type() protoreflect.EnumType
type AgentInstanceServiceClient ¶
type AgentInstanceServiceClient interface {
CreateAgentInstance(ctx context.Context, in *CreateAgentInstanceRequest, opts ...grpc.CallOption) (*CreateAgentInstanceResponse, error)
GetAgentInstance(ctx context.Context, in *GetAgentInstanceRequest, opts ...grpc.CallOption) (*GetAgentInstanceResponse, error)
ListAgentInstances(ctx context.Context, in *ListAgentInstancesRequest, opts ...grpc.CallOption) (*ListAgentInstancesResponse, error)
UpdateAgentInstanceName(ctx context.Context, in *UpdateAgentInstanceNameRequest, opts ...grpc.CallOption) (*UpdateAgentInstanceNameResponse, error)
SuspendAgentInstance(ctx context.Context, in *SuspendAgentInstanceRequest, opts ...grpc.CallOption) (*SuspendAgentInstanceResponse, error)
ResumeAgentInstance(ctx context.Context, in *ResumeAgentInstanceRequest, opts ...grpc.CallOption) (*ResumeAgentInstanceResponse, error)
DeleteAgentInstance(ctx context.Context, in *DeleteAgentInstanceRequest, opts ...grpc.CallOption) (*DeleteAgentInstanceResponse, error)
}
AgentInstanceServiceClient is the client API for AgentInstanceService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAgentInstanceServiceClient ¶
func NewAgentInstanceServiceClient(cc grpc.ClientConnInterface) AgentInstanceServiceClient
type AgentInstanceServiceServer ¶
type AgentInstanceServiceServer interface {
CreateAgentInstance(context.Context, *CreateAgentInstanceRequest) (*CreateAgentInstanceResponse, error)
GetAgentInstance(context.Context, *GetAgentInstanceRequest) (*GetAgentInstanceResponse, error)
ListAgentInstances(context.Context, *ListAgentInstancesRequest) (*ListAgentInstancesResponse, error)
UpdateAgentInstanceName(context.Context, *UpdateAgentInstanceNameRequest) (*UpdateAgentInstanceNameResponse, error)
SuspendAgentInstance(context.Context, *SuspendAgentInstanceRequest) (*SuspendAgentInstanceResponse, error)
ResumeAgentInstance(context.Context, *ResumeAgentInstanceRequest) (*ResumeAgentInstanceResponse, error)
DeleteAgentInstance(context.Context, *DeleteAgentInstanceRequest) (*DeleteAgentInstanceResponse, error)
// contains filtered or unexported methods
}
AgentInstanceServiceServer is the server API for AgentInstanceService service. All implementations must embed UnimplementedAgentInstanceServiceServer for forward compatibility.
type AgentInstanceShare ¶
type AgentInstanceShare struct {
// contains filtered or unexported fields
}
func (*AgentInstanceShare) Descriptor
deprecated
func (*AgentInstanceShare) Descriptor() ([]byte, []int)
Deprecated: Use AgentInstanceShare.ProtoReflect.Descriptor instead.
func (*AgentInstanceShare) GetAgentInstanceId ¶
func (x *AgentInstanceShare) GetAgentInstanceId() string
func (*AgentInstanceShare) GetCreatedAt ¶
func (x *AgentInstanceShare) GetCreatedAt() *timestamppb.Timestamp
func (*AgentInstanceShare) GetId ¶
func (x *AgentInstanceShare) GetId() string
func (*AgentInstanceShare) GetNamespace ¶
func (x *AgentInstanceShare) GetNamespace() string
func (*AgentInstanceShare) GetPermission ¶
func (x *AgentInstanceShare) GetPermission() AgentInstanceSharePermission
func (*AgentInstanceShare) ProtoMessage ¶
func (*AgentInstanceShare) ProtoMessage()
func (*AgentInstanceShare) ProtoReflect ¶
func (x *AgentInstanceShare) ProtoReflect() protoreflect.Message
func (*AgentInstanceShare) Reset ¶
func (x *AgentInstanceShare) Reset()
func (*AgentInstanceShare) String ¶
func (x *AgentInstanceShare) String() string
type AgentInstanceSharePermission ¶
type AgentInstanceSharePermission int32
const ( AgentInstanceSharePermission_AGENT_INSTANCE_SHARE_PERMISSION_READ_ONLY AgentInstanceSharePermission = 1 AgentInstanceSharePermission_AGENT_INSTANCE_SHARE_PERMISSION_READ_WRITE AgentInstanceSharePermission = 2 )
func (AgentInstanceSharePermission) Descriptor ¶
func (AgentInstanceSharePermission) Descriptor() protoreflect.EnumDescriptor
func (AgentInstanceSharePermission) Enum ¶
func (x AgentInstanceSharePermission) Enum() *AgentInstanceSharePermission
func (AgentInstanceSharePermission) EnumDescriptor
deprecated
func (AgentInstanceSharePermission) EnumDescriptor() ([]byte, []int)
Deprecated: Use AgentInstanceSharePermission.Descriptor instead.
func (AgentInstanceSharePermission) Number ¶
func (x AgentInstanceSharePermission) Number() protoreflect.EnumNumber
func (AgentInstanceSharePermission) String ¶
func (x AgentInstanceSharePermission) String() string
func (AgentInstanceSharePermission) Type ¶
func (AgentInstanceSharePermission) Type() protoreflect.EnumType
type AgentInstanceState ¶
type AgentInstanceState int32
const ( AgentInstanceState_AGENT_INSTANCE_STATE_UNSPECIFIED AgentInstanceState = 0 AgentInstanceState_AGENT_INSTANCE_STATE_CREATING AgentInstanceState = 1 AgentInstanceState_AGENT_INSTANCE_STATE_READY AgentInstanceState = 2 AgentInstanceState_AGENT_INSTANCE_STATE_SUSPENDED AgentInstanceState = 3 AgentInstanceState_AGENT_INSTANCE_STATE_FAILED AgentInstanceState = 4 AgentInstanceState_AGENT_INSTANCE_STATE_DELETING AgentInstanceState = 5 AgentInstanceState_AGENT_INSTANCE_STATE_DELETED AgentInstanceState = 6 )
func (AgentInstanceState) Descriptor ¶
func (AgentInstanceState) Descriptor() protoreflect.EnumDescriptor
func (AgentInstanceState) Enum ¶
func (x AgentInstanceState) Enum() *AgentInstanceState
func (AgentInstanceState) EnumDescriptor
deprecated
func (AgentInstanceState) EnumDescriptor() ([]byte, []int)
Deprecated: Use AgentInstanceState.Descriptor instead.
func (AgentInstanceState) Number ¶
func (x AgentInstanceState) Number() protoreflect.EnumNumber
func (AgentInstanceState) String ¶
func (x AgentInstanceState) String() string
func (AgentInstanceState) Type ¶
func (AgentInstanceState) Type() protoreflect.EnumType
type CreateAgentInstanceRequest ¶
type CreateAgentInstanceRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
Harness string `protobuf:"bytes,2,opt,name=harness,proto3" json:"harness,omitempty"`
AgentTemplate string `protobuf:"bytes,3,opt,name=agent_template,json=agentTemplate,proto3" json:"agent_template,omitempty"`
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// Optional display name. Empty means unnamed.
Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*CreateAgentInstanceRequest) Descriptor
deprecated
func (*CreateAgentInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAgentInstanceRequest.ProtoReflect.Descriptor instead.
func (*CreateAgentInstanceRequest) GetAgentTemplate ¶
func (x *CreateAgentInstanceRequest) GetAgentTemplate() string
func (*CreateAgentInstanceRequest) GetHarness ¶
func (x *CreateAgentInstanceRequest) GetHarness() string
func (*CreateAgentInstanceRequest) GetName ¶
func (x *CreateAgentInstanceRequest) GetName() string
func (*CreateAgentInstanceRequest) GetNamespace ¶
func (x *CreateAgentInstanceRequest) GetNamespace() string
func (*CreateAgentInstanceRequest) GetRequestId ¶
func (x *CreateAgentInstanceRequest) GetRequestId() string
func (*CreateAgentInstanceRequest) ProtoMessage ¶
func (*CreateAgentInstanceRequest) ProtoMessage()
func (*CreateAgentInstanceRequest) ProtoReflect ¶
func (x *CreateAgentInstanceRequest) ProtoReflect() protoreflect.Message
func (*CreateAgentInstanceRequest) Reset ¶
func (x *CreateAgentInstanceRequest) Reset()
func (*CreateAgentInstanceRequest) String ¶
func (x *CreateAgentInstanceRequest) String() string
type CreateAgentInstanceResponse ¶
type CreateAgentInstanceResponse struct {
AgentInstance *AgentInstance `protobuf:"bytes,1,opt,name=agent_instance,json=agentInstance,proto3" json:"agent_instance,omitempty"`
// contains filtered or unexported fields
}
func (*CreateAgentInstanceResponse) Descriptor
deprecated
func (*CreateAgentInstanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAgentInstanceResponse.ProtoReflect.Descriptor instead.
func (*CreateAgentInstanceResponse) GetAgentInstance ¶
func (x *CreateAgentInstanceResponse) GetAgentInstance() *AgentInstance
func (*CreateAgentInstanceResponse) ProtoMessage ¶
func (*CreateAgentInstanceResponse) ProtoMessage()
func (*CreateAgentInstanceResponse) ProtoReflect ¶
func (x *CreateAgentInstanceResponse) ProtoReflect() protoreflect.Message
func (*CreateAgentInstanceResponse) Reset ¶
func (x *CreateAgentInstanceResponse) Reset()
func (*CreateAgentInstanceResponse) String ¶
func (x *CreateAgentInstanceResponse) String() string
type CreateAgentInstanceShareRequest ¶
type CreateAgentInstanceShareRequest struct {
// contains filtered or unexported fields
}
func (*CreateAgentInstanceShareRequest) Descriptor
deprecated
func (*CreateAgentInstanceShareRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAgentInstanceShareRequest.ProtoReflect.Descriptor instead.
func (*CreateAgentInstanceShareRequest) GetAgentInstanceId ¶
func (x *CreateAgentInstanceShareRequest) GetAgentInstanceId() string
func (*CreateAgentInstanceShareRequest) GetNamespace ¶
func (x *CreateAgentInstanceShareRequest) GetNamespace() string
func (*CreateAgentInstanceShareRequest) GetPermission ¶
func (x *CreateAgentInstanceShareRequest) GetPermission() AgentInstanceSharePermission
func (*CreateAgentInstanceShareRequest) ProtoMessage ¶
func (*CreateAgentInstanceShareRequest) ProtoMessage()
func (*CreateAgentInstanceShareRequest) ProtoReflect ¶
func (x *CreateAgentInstanceShareRequest) ProtoReflect() protoreflect.Message
func (*CreateAgentInstanceShareRequest) Reset ¶
func (x *CreateAgentInstanceShareRequest) Reset()
func (*CreateAgentInstanceShareRequest) String ¶
func (x *CreateAgentInstanceShareRequest) String() string
type CreateAgentInstanceShareResponse ¶
type CreateAgentInstanceShareResponse struct {
Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
// contains filtered or unexported fields
}
func (*CreateAgentInstanceShareResponse) Descriptor
deprecated
func (*CreateAgentInstanceShareResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAgentInstanceShareResponse.ProtoReflect.Descriptor instead.
func (*CreateAgentInstanceShareResponse) GetShare ¶
func (x *CreateAgentInstanceShareResponse) GetShare() *AgentInstanceShare
func (*CreateAgentInstanceShareResponse) GetToken ¶
func (x *CreateAgentInstanceShareResponse) GetToken() string
func (*CreateAgentInstanceShareResponse) ProtoMessage ¶
func (*CreateAgentInstanceShareResponse) ProtoMessage()
func (*CreateAgentInstanceShareResponse) ProtoReflect ¶
func (x *CreateAgentInstanceShareResponse) ProtoReflect() protoreflect.Message
func (*CreateAgentInstanceShareResponse) Reset ¶
func (x *CreateAgentInstanceShareResponse) Reset()
func (*CreateAgentInstanceShareResponse) String ¶
func (x *CreateAgentInstanceShareResponse) String() string
type DeleteAgentInstanceRequest ¶
type DeleteAgentInstanceRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
AgentInstanceId string `protobuf:"bytes,2,opt,name=agent_instance_id,json=agentInstanceId,proto3" json:"agent_instance_id,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteAgentInstanceRequest) Descriptor
deprecated
func (*DeleteAgentInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAgentInstanceRequest.ProtoReflect.Descriptor instead.
func (*DeleteAgentInstanceRequest) GetAgentInstanceId ¶
func (x *DeleteAgentInstanceRequest) GetAgentInstanceId() string
func (*DeleteAgentInstanceRequest) GetNamespace ¶
func (x *DeleteAgentInstanceRequest) GetNamespace() string
func (*DeleteAgentInstanceRequest) ProtoMessage ¶
func (*DeleteAgentInstanceRequest) ProtoMessage()
func (*DeleteAgentInstanceRequest) ProtoReflect ¶
func (x *DeleteAgentInstanceRequest) ProtoReflect() protoreflect.Message
func (*DeleteAgentInstanceRequest) Reset ¶
func (x *DeleteAgentInstanceRequest) Reset()
func (*DeleteAgentInstanceRequest) String ¶
func (x *DeleteAgentInstanceRequest) String() string
type DeleteAgentInstanceResponse ¶
type DeleteAgentInstanceResponse struct {
AgentInstance *AgentInstance `protobuf:"bytes,1,opt,name=agent_instance,json=agentInstance,proto3" json:"agent_instance,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteAgentInstanceResponse) Descriptor
deprecated
func (*DeleteAgentInstanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAgentInstanceResponse.ProtoReflect.Descriptor instead.
func (*DeleteAgentInstanceResponse) GetAgentInstance ¶
func (x *DeleteAgentInstanceResponse) GetAgentInstance() *AgentInstance
func (*DeleteAgentInstanceResponse) ProtoMessage ¶
func (*DeleteAgentInstanceResponse) ProtoMessage()
func (*DeleteAgentInstanceResponse) ProtoReflect ¶
func (x *DeleteAgentInstanceResponse) ProtoReflect() protoreflect.Message
func (*DeleteAgentInstanceResponse) Reset ¶
func (x *DeleteAgentInstanceResponse) Reset()
func (*DeleteAgentInstanceResponse) String ¶
func (x *DeleteAgentInstanceResponse) String() string
type Failure ¶
type Failure struct {
Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*Failure) Descriptor
deprecated
func (*Failure) GetMessage ¶
func (*Failure) ProtoMessage ¶
func (*Failure) ProtoMessage()
func (*Failure) ProtoReflect ¶
func (x *Failure) ProtoReflect() protoreflect.Message
type GetAgentInstanceRequest ¶
type GetAgentInstanceRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
AgentInstanceId string `protobuf:"bytes,2,opt,name=agent_instance_id,json=agentInstanceId,proto3" json:"agent_instance_id,omitempty"`
// contains filtered or unexported fields
}
func (*GetAgentInstanceRequest) Descriptor
deprecated
func (*GetAgentInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAgentInstanceRequest.ProtoReflect.Descriptor instead.
func (*GetAgentInstanceRequest) GetAgentInstanceId ¶
func (x *GetAgentInstanceRequest) GetAgentInstanceId() string
func (*GetAgentInstanceRequest) GetNamespace ¶
func (x *GetAgentInstanceRequest) GetNamespace() string
func (*GetAgentInstanceRequest) ProtoMessage ¶
func (*GetAgentInstanceRequest) ProtoMessage()
func (*GetAgentInstanceRequest) ProtoReflect ¶
func (x *GetAgentInstanceRequest) ProtoReflect() protoreflect.Message
func (*GetAgentInstanceRequest) Reset ¶
func (x *GetAgentInstanceRequest) Reset()
func (*GetAgentInstanceRequest) String ¶
func (x *GetAgentInstanceRequest) String() string
type GetAgentInstanceResponse ¶
type GetAgentInstanceResponse struct {
AgentInstance *AgentInstance `protobuf:"bytes,1,opt,name=agent_instance,json=agentInstance,proto3" json:"agent_instance,omitempty"`
// contains filtered or unexported fields
}
func (*GetAgentInstanceResponse) Descriptor
deprecated
func (*GetAgentInstanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAgentInstanceResponse.ProtoReflect.Descriptor instead.
func (*GetAgentInstanceResponse) GetAgentInstance ¶
func (x *GetAgentInstanceResponse) GetAgentInstance() *AgentInstance
func (*GetAgentInstanceResponse) ProtoMessage ¶
func (*GetAgentInstanceResponse) ProtoMessage()
func (*GetAgentInstanceResponse) ProtoReflect ¶
func (x *GetAgentInstanceResponse) ProtoReflect() protoreflect.Message
func (*GetAgentInstanceResponse) Reset ¶
func (x *GetAgentInstanceResponse) Reset()
func (*GetAgentInstanceResponse) String ¶
func (x *GetAgentInstanceResponse) String() string
type ListAgentInstanceSharesRequest ¶
type ListAgentInstanceSharesRequest struct {
// contains filtered or unexported fields
}
func (*ListAgentInstanceSharesRequest) Descriptor
deprecated
func (*ListAgentInstanceSharesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAgentInstanceSharesRequest.ProtoReflect.Descriptor instead.
func (*ListAgentInstanceSharesRequest) GetAgentInstanceId ¶
func (x *ListAgentInstanceSharesRequest) GetAgentInstanceId() string
func (*ListAgentInstanceSharesRequest) GetNamespace ¶
func (x *ListAgentInstanceSharesRequest) GetNamespace() string
func (*ListAgentInstanceSharesRequest) GetPage ¶
func (x *ListAgentInstanceSharesRequest) GetPage() *PageRequest
func (*ListAgentInstanceSharesRequest) ProtoMessage ¶
func (*ListAgentInstanceSharesRequest) ProtoMessage()
func (*ListAgentInstanceSharesRequest) ProtoReflect ¶
func (x *ListAgentInstanceSharesRequest) ProtoReflect() protoreflect.Message
func (*ListAgentInstanceSharesRequest) Reset ¶
func (x *ListAgentInstanceSharesRequest) Reset()
func (*ListAgentInstanceSharesRequest) String ¶
func (x *ListAgentInstanceSharesRequest) String() string
type ListAgentInstanceSharesResponse ¶
type ListAgentInstanceSharesResponse struct {
// contains filtered or unexported fields
}
func (*ListAgentInstanceSharesResponse) Descriptor
deprecated
func (*ListAgentInstanceSharesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAgentInstanceSharesResponse.ProtoReflect.Descriptor instead.
func (*ListAgentInstanceSharesResponse) GetPage ¶
func (x *ListAgentInstanceSharesResponse) GetPage() *PageResponse
func (*ListAgentInstanceSharesResponse) GetShares ¶
func (x *ListAgentInstanceSharesResponse) GetShares() []*AgentInstanceShare
func (*ListAgentInstanceSharesResponse) ProtoMessage ¶
func (*ListAgentInstanceSharesResponse) ProtoMessage()
func (*ListAgentInstanceSharesResponse) ProtoReflect ¶
func (x *ListAgentInstanceSharesResponse) ProtoReflect() protoreflect.Message
func (*ListAgentInstanceSharesResponse) Reset ¶
func (x *ListAgentInstanceSharesResponse) Reset()
func (*ListAgentInstanceSharesResponse) String ¶
func (x *ListAgentInstanceSharesResponse) String() string
type ListAgentInstancesRequest ¶
type ListAgentInstancesRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
MatchLabels map[string]string `` /* 168-byte string literal not displayed */
// Includes instances created by other users when authorized.
AllCreators bool `protobuf:"varint,3,opt,name=all_creators,json=allCreators,proto3" json:"all_creators,omitempty"`
Page *PageRequest `protobuf:"bytes,4,opt,name=page,proto3" json:"page,omitempty"`
// Narrows the list to the conversations of one agent, an agent being an
// (AgentTemplate, Harness) pair. Either may be given alone. Both are matched
// against the pair the instance's prepared revision was built from, so they
// also select instances created before these fields existed.
AgentTemplate string `protobuf:"bytes,5,opt,name=agent_template,json=agentTemplate,proto3" json:"agent_template,omitempty"`
Harness string `protobuf:"bytes,6,opt,name=harness,proto3" json:"harness,omitempty"`
// contains filtered or unexported fields
}
func (*ListAgentInstancesRequest) Descriptor
deprecated
func (*ListAgentInstancesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAgentInstancesRequest.ProtoReflect.Descriptor instead.
func (*ListAgentInstancesRequest) GetAgentTemplate ¶
func (x *ListAgentInstancesRequest) GetAgentTemplate() string
func (*ListAgentInstancesRequest) GetAllCreators ¶
func (x *ListAgentInstancesRequest) GetAllCreators() bool
func (*ListAgentInstancesRequest) GetHarness ¶
func (x *ListAgentInstancesRequest) GetHarness() string
func (*ListAgentInstancesRequest) GetMatchLabels ¶
func (x *ListAgentInstancesRequest) GetMatchLabels() map[string]string
func (*ListAgentInstancesRequest) GetNamespace ¶
func (x *ListAgentInstancesRequest) GetNamespace() string
func (*ListAgentInstancesRequest) GetPage ¶
func (x *ListAgentInstancesRequest) GetPage() *PageRequest
func (*ListAgentInstancesRequest) ProtoMessage ¶
func (*ListAgentInstancesRequest) ProtoMessage()
func (*ListAgentInstancesRequest) ProtoReflect ¶
func (x *ListAgentInstancesRequest) ProtoReflect() protoreflect.Message
func (*ListAgentInstancesRequest) Reset ¶
func (x *ListAgentInstancesRequest) Reset()
func (*ListAgentInstancesRequest) String ¶
func (x *ListAgentInstancesRequest) String() string
type ListAgentInstancesResponse ¶
type ListAgentInstancesResponse struct {
AgentInstances []*AgentInstance `protobuf:"bytes,1,rep,name=agent_instances,json=agentInstances,proto3" json:"agent_instances,omitempty"`
Page *PageResponse `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
// contains filtered or unexported fields
}
func (*ListAgentInstancesResponse) Descriptor
deprecated
func (*ListAgentInstancesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAgentInstancesResponse.ProtoReflect.Descriptor instead.
func (*ListAgentInstancesResponse) GetAgentInstances ¶
func (x *ListAgentInstancesResponse) GetAgentInstances() []*AgentInstance
func (*ListAgentInstancesResponse) GetPage ¶
func (x *ListAgentInstancesResponse) GetPage() *PageResponse
func (*ListAgentInstancesResponse) ProtoMessage ¶
func (*ListAgentInstancesResponse) ProtoMessage()
func (*ListAgentInstancesResponse) ProtoReflect ¶
func (x *ListAgentInstancesResponse) ProtoReflect() protoreflect.Message
func (*ListAgentInstancesResponse) Reset ¶
func (x *ListAgentInstancesResponse) Reset()
func (*ListAgentInstancesResponse) String ¶
func (x *ListAgentInstancesResponse) String() string
type PageRequest ¶
type PageRequest struct {
Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
func (*PageRequest) Descriptor
deprecated
func (*PageRequest) Descriptor() ([]byte, []int)
Deprecated: Use PageRequest.ProtoReflect.Descriptor instead.
func (*PageRequest) GetLimit ¶
func (x *PageRequest) GetLimit() int32
func (*PageRequest) GetPageToken ¶
func (x *PageRequest) GetPageToken() string
func (*PageRequest) ProtoMessage ¶
func (*PageRequest) ProtoMessage()
func (*PageRequest) ProtoReflect ¶
func (x *PageRequest) ProtoReflect() protoreflect.Message
func (*PageRequest) Reset ¶
func (x *PageRequest) Reset()
func (*PageRequest) String ¶
func (x *PageRequest) String() string
type PageResponse ¶
type PageResponse struct {
NextPageToken string `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
func (*PageResponse) Descriptor
deprecated
func (*PageResponse) Descriptor() ([]byte, []int)
Deprecated: Use PageResponse.ProtoReflect.Descriptor instead.
func (*PageResponse) GetNextPageToken ¶
func (x *PageResponse) GetNextPageToken() string
func (*PageResponse) ProtoMessage ¶
func (*PageResponse) ProtoMessage()
func (*PageResponse) ProtoReflect ¶
func (x *PageResponse) ProtoReflect() protoreflect.Message
func (*PageResponse) Reset ¶
func (x *PageResponse) Reset()
func (*PageResponse) String ¶
func (x *PageResponse) String() string
type ResourceReference ¶
type ResourceReference struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*ResourceReference) Descriptor
deprecated
func (*ResourceReference) Descriptor() ([]byte, []int)
Deprecated: Use ResourceReference.ProtoReflect.Descriptor instead.
func (*ResourceReference) GetName ¶
func (x *ResourceReference) GetName() string
func (*ResourceReference) GetNamespace ¶
func (x *ResourceReference) GetNamespace() string
func (*ResourceReference) ProtoMessage ¶
func (*ResourceReference) ProtoMessage()
func (*ResourceReference) ProtoReflect ¶
func (x *ResourceReference) ProtoReflect() protoreflect.Message
func (*ResourceReference) Reset ¶
func (x *ResourceReference) Reset()
func (*ResourceReference) String ¶
func (x *ResourceReference) String() string
type ResumeAgentInstanceRequest ¶
type ResumeAgentInstanceRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
AgentInstanceId string `protobuf:"bytes,2,opt,name=agent_instance_id,json=agentInstanceId,proto3" json:"agent_instance_id,omitempty"`
// contains filtered or unexported fields
}
func (*ResumeAgentInstanceRequest) Descriptor
deprecated
func (*ResumeAgentInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResumeAgentInstanceRequest.ProtoReflect.Descriptor instead.
func (*ResumeAgentInstanceRequest) GetAgentInstanceId ¶
func (x *ResumeAgentInstanceRequest) GetAgentInstanceId() string
func (*ResumeAgentInstanceRequest) GetNamespace ¶
func (x *ResumeAgentInstanceRequest) GetNamespace() string
func (*ResumeAgentInstanceRequest) ProtoMessage ¶
func (*ResumeAgentInstanceRequest) ProtoMessage()
func (*ResumeAgentInstanceRequest) ProtoReflect ¶
func (x *ResumeAgentInstanceRequest) ProtoReflect() protoreflect.Message
func (*ResumeAgentInstanceRequest) Reset ¶
func (x *ResumeAgentInstanceRequest) Reset()
func (*ResumeAgentInstanceRequest) String ¶
func (x *ResumeAgentInstanceRequest) String() string
type ResumeAgentInstanceResponse ¶
type ResumeAgentInstanceResponse struct {
AgentInstance *AgentInstance `protobuf:"bytes,1,opt,name=agent_instance,json=agentInstance,proto3" json:"agent_instance,omitempty"`
// contains filtered or unexported fields
}
func (*ResumeAgentInstanceResponse) Descriptor
deprecated
func (*ResumeAgentInstanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResumeAgentInstanceResponse.ProtoReflect.Descriptor instead.
func (*ResumeAgentInstanceResponse) GetAgentInstance ¶
func (x *ResumeAgentInstanceResponse) GetAgentInstance() *AgentInstance
func (*ResumeAgentInstanceResponse) ProtoMessage ¶
func (*ResumeAgentInstanceResponse) ProtoMessage()
func (*ResumeAgentInstanceResponse) ProtoReflect ¶
func (x *ResumeAgentInstanceResponse) ProtoReflect() protoreflect.Message
func (*ResumeAgentInstanceResponse) Reset ¶
func (x *ResumeAgentInstanceResponse) Reset()
func (*ResumeAgentInstanceResponse) String ¶
func (x *ResumeAgentInstanceResponse) String() string
type RevokeAgentInstanceShareRequest ¶
type RevokeAgentInstanceShareRequest struct {
// contains filtered or unexported fields
}
func (*RevokeAgentInstanceShareRequest) Descriptor
deprecated
func (*RevokeAgentInstanceShareRequest) Descriptor() ([]byte, []int)
Deprecated: Use RevokeAgentInstanceShareRequest.ProtoReflect.Descriptor instead.
func (*RevokeAgentInstanceShareRequest) GetNamespace ¶
func (x *RevokeAgentInstanceShareRequest) GetNamespace() string
func (*RevokeAgentInstanceShareRequest) GetShareId ¶
func (x *RevokeAgentInstanceShareRequest) GetShareId() string
func (*RevokeAgentInstanceShareRequest) ProtoMessage ¶
func (*RevokeAgentInstanceShareRequest) ProtoMessage()
func (*RevokeAgentInstanceShareRequest) ProtoReflect ¶
func (x *RevokeAgentInstanceShareRequest) ProtoReflect() protoreflect.Message
func (*RevokeAgentInstanceShareRequest) Reset ¶
func (x *RevokeAgentInstanceShareRequest) Reset()
func (*RevokeAgentInstanceShareRequest) String ¶
func (x *RevokeAgentInstanceShareRequest) String() string
type RevokeAgentInstanceShareResponse ¶
type RevokeAgentInstanceShareResponse struct {
// contains filtered or unexported fields
}
func (*RevokeAgentInstanceShareResponse) Descriptor
deprecated
func (*RevokeAgentInstanceShareResponse) Descriptor() ([]byte, []int)
Deprecated: Use RevokeAgentInstanceShareResponse.ProtoReflect.Descriptor instead.
func (*RevokeAgentInstanceShareResponse) ProtoMessage ¶
func (*RevokeAgentInstanceShareResponse) ProtoMessage()
func (*RevokeAgentInstanceShareResponse) ProtoReflect ¶
func (x *RevokeAgentInstanceShareResponse) ProtoReflect() protoreflect.Message
func (*RevokeAgentInstanceShareResponse) Reset ¶
func (x *RevokeAgentInstanceShareResponse) Reset()
func (*RevokeAgentInstanceShareResponse) String ¶
func (x *RevokeAgentInstanceShareResponse) String() string
type StructuredObject ¶
type StructuredObject struct {
ApiVersion string `protobuf:"bytes,1,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
Value *structpb.Struct `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*StructuredObject) Descriptor
deprecated
func (*StructuredObject) Descriptor() ([]byte, []int)
Deprecated: Use StructuredObject.ProtoReflect.Descriptor instead.
func (*StructuredObject) GetApiVersion ¶
func (x *StructuredObject) GetApiVersion() string
func (*StructuredObject) GetKind ¶
func (x *StructuredObject) GetKind() string
func (*StructuredObject) GetValue ¶
func (x *StructuredObject) GetValue() *structpb.Struct
func (*StructuredObject) ProtoMessage ¶
func (*StructuredObject) ProtoMessage()
func (*StructuredObject) ProtoReflect ¶
func (x *StructuredObject) ProtoReflect() protoreflect.Message
func (*StructuredObject) Reset ¶
func (x *StructuredObject) Reset()
func (*StructuredObject) String ¶
func (x *StructuredObject) String() string
type SuspendAgentInstanceRequest ¶
type SuspendAgentInstanceRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
AgentInstanceId string `protobuf:"bytes,2,opt,name=agent_instance_id,json=agentInstanceId,proto3" json:"agent_instance_id,omitempty"`
// contains filtered or unexported fields
}
func (*SuspendAgentInstanceRequest) Descriptor
deprecated
func (*SuspendAgentInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use SuspendAgentInstanceRequest.ProtoReflect.Descriptor instead.
func (*SuspendAgentInstanceRequest) GetAgentInstanceId ¶
func (x *SuspendAgentInstanceRequest) GetAgentInstanceId() string
func (*SuspendAgentInstanceRequest) GetNamespace ¶
func (x *SuspendAgentInstanceRequest) GetNamespace() string
func (*SuspendAgentInstanceRequest) ProtoMessage ¶
func (*SuspendAgentInstanceRequest) ProtoMessage()
func (*SuspendAgentInstanceRequest) ProtoReflect ¶
func (x *SuspendAgentInstanceRequest) ProtoReflect() protoreflect.Message
func (*SuspendAgentInstanceRequest) Reset ¶
func (x *SuspendAgentInstanceRequest) Reset()
func (*SuspendAgentInstanceRequest) String ¶
func (x *SuspendAgentInstanceRequest) String() string
type SuspendAgentInstanceResponse ¶
type SuspendAgentInstanceResponse struct {
AgentInstance *AgentInstance `protobuf:"bytes,1,opt,name=agent_instance,json=agentInstance,proto3" json:"agent_instance,omitempty"`
// contains filtered or unexported fields
}
func (*SuspendAgentInstanceResponse) Descriptor
deprecated
func (*SuspendAgentInstanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use SuspendAgentInstanceResponse.ProtoReflect.Descriptor instead.
func (*SuspendAgentInstanceResponse) GetAgentInstance ¶
func (x *SuspendAgentInstanceResponse) GetAgentInstance() *AgentInstance
func (*SuspendAgentInstanceResponse) ProtoMessage ¶
func (*SuspendAgentInstanceResponse) ProtoMessage()
func (*SuspendAgentInstanceResponse) ProtoReflect ¶
func (x *SuspendAgentInstanceResponse) ProtoReflect() protoreflect.Message
func (*SuspendAgentInstanceResponse) Reset ¶
func (x *SuspendAgentInstanceResponse) Reset()
func (*SuspendAgentInstanceResponse) String ¶
func (x *SuspendAgentInstanceResponse) String() string
type UnimplementedAgentInstanceServiceServer ¶
type UnimplementedAgentInstanceServiceServer struct{}
UnimplementedAgentInstanceServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedAgentInstanceServiceServer) CreateAgentInstance ¶
func (UnimplementedAgentInstanceServiceServer) CreateAgentInstance(context.Context, *CreateAgentInstanceRequest) (*CreateAgentInstanceResponse, error)
func (UnimplementedAgentInstanceServiceServer) CreateAgentInstanceShare ¶
func (UnimplementedAgentInstanceServiceServer) CreateAgentInstanceShare(context.Context, *CreateAgentInstanceShareRequest) (*CreateAgentInstanceShareResponse, error)
func (UnimplementedAgentInstanceServiceServer) DeleteAgentInstance ¶
func (UnimplementedAgentInstanceServiceServer) DeleteAgentInstance(context.Context, *DeleteAgentInstanceRequest) (*DeleteAgentInstanceResponse, error)
func (UnimplementedAgentInstanceServiceServer) GetAgentInstance ¶
func (UnimplementedAgentInstanceServiceServer) GetAgentInstance(context.Context, *GetAgentInstanceRequest) (*GetAgentInstanceResponse, error)
func (UnimplementedAgentInstanceServiceServer) ListAgentInstanceShares ¶
func (UnimplementedAgentInstanceServiceServer) ListAgentInstanceShares(context.Context, *ListAgentInstanceSharesRequest) (*ListAgentInstanceSharesResponse, error)
func (UnimplementedAgentInstanceServiceServer) ListAgentInstances ¶
func (UnimplementedAgentInstanceServiceServer) ListAgentInstances(context.Context, *ListAgentInstancesRequest) (*ListAgentInstancesResponse, error)
func (UnimplementedAgentInstanceServiceServer) ResumeAgentInstance ¶
func (UnimplementedAgentInstanceServiceServer) ResumeAgentInstance(context.Context, *ResumeAgentInstanceRequest) (*ResumeAgentInstanceResponse, error)
func (UnimplementedAgentInstanceServiceServer) RevokeAgentInstanceShare ¶
func (UnimplementedAgentInstanceServiceServer) RevokeAgentInstanceShare(context.Context, *RevokeAgentInstanceShareRequest) (*RevokeAgentInstanceShareResponse, error)
func (UnimplementedAgentInstanceServiceServer) SuspendAgentInstance ¶
func (UnimplementedAgentInstanceServiceServer) SuspendAgentInstance(context.Context, *SuspendAgentInstanceRequest) (*SuspendAgentInstanceResponse, error)
func (UnimplementedAgentInstanceServiceServer) UpdateAgentInstanceName ¶
func (UnimplementedAgentInstanceServiceServer) UpdateAgentInstanceName(context.Context, *UpdateAgentInstanceNameRequest) (*UpdateAgentInstanceNameResponse, error)
type UnsafeAgentInstanceServiceServer ¶
type UnsafeAgentInstanceServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAgentInstanceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AgentInstanceServiceServer will result in compilation errors.
type UpdateAgentInstanceNameRequest ¶
type UpdateAgentInstanceNameRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
AgentInstanceId string `protobuf:"bytes,2,opt,name=agent_instance_id,json=agentInstanceId,proto3" json:"agent_instance_id,omitempty"`
// The new display name. Empty clears the name, returning the conversation to
// being identified by its id.
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateAgentInstanceNameRequest) Descriptor
deprecated
func (*UpdateAgentInstanceNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAgentInstanceNameRequest.ProtoReflect.Descriptor instead.
func (*UpdateAgentInstanceNameRequest) GetAgentInstanceId ¶
func (x *UpdateAgentInstanceNameRequest) GetAgentInstanceId() string
func (*UpdateAgentInstanceNameRequest) GetName ¶
func (x *UpdateAgentInstanceNameRequest) GetName() string
func (*UpdateAgentInstanceNameRequest) GetNamespace ¶
func (x *UpdateAgentInstanceNameRequest) GetNamespace() string
func (*UpdateAgentInstanceNameRequest) ProtoMessage ¶
func (*UpdateAgentInstanceNameRequest) ProtoMessage()
func (*UpdateAgentInstanceNameRequest) ProtoReflect ¶
func (x *UpdateAgentInstanceNameRequest) ProtoReflect() protoreflect.Message
func (*UpdateAgentInstanceNameRequest) Reset ¶
func (x *UpdateAgentInstanceNameRequest) Reset()
func (*UpdateAgentInstanceNameRequest) String ¶
func (x *UpdateAgentInstanceNameRequest) String() string
type UpdateAgentInstanceNameResponse ¶
type UpdateAgentInstanceNameResponse struct {
AgentInstance *AgentInstance `protobuf:"bytes,1,opt,name=agent_instance,json=agentInstance,proto3" json:"agent_instance,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateAgentInstanceNameResponse) Descriptor
deprecated
func (*UpdateAgentInstanceNameResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAgentInstanceNameResponse.ProtoReflect.Descriptor instead.
func (*UpdateAgentInstanceNameResponse) GetAgentInstance ¶
func (x *UpdateAgentInstanceNameResponse) GetAgentInstance() *AgentInstance
func (*UpdateAgentInstanceNameResponse) ProtoMessage ¶
func (*UpdateAgentInstanceNameResponse) ProtoMessage()
func (*UpdateAgentInstanceNameResponse) ProtoReflect ¶
func (x *UpdateAgentInstanceNameResponse) ProtoReflect() protoreflect.Message
func (*UpdateAgentInstanceNameResponse) Reset ¶
func (x *UpdateAgentInstanceNameResponse) Reset()
func (*UpdateAgentInstanceNameResponse) String ¶
func (x *UpdateAgentInstanceNameResponse) String() string