self_hosted

package
v0.0.0-...-fd9b893 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SelfHostedAgents_Create_FullMethodName           = "/InternalApi.SelfHosted.SelfHostedAgents/Create"
	SelfHostedAgents_Update_FullMethodName           = "/InternalApi.SelfHosted.SelfHostedAgents/Update"
	SelfHostedAgents_Describe_FullMethodName         = "/InternalApi.SelfHosted.SelfHostedAgents/Describe"
	SelfHostedAgents_DescribeAgent_FullMethodName    = "/InternalApi.SelfHosted.SelfHostedAgents/DescribeAgent"
	SelfHostedAgents_List_FullMethodName             = "/InternalApi.SelfHosted.SelfHostedAgents/List"
	SelfHostedAgents_ListKeyset_FullMethodName       = "/InternalApi.SelfHosted.SelfHostedAgents/ListKeyset"
	SelfHostedAgents_ListAgents_FullMethodName       = "/InternalApi.SelfHosted.SelfHostedAgents/ListAgents"
	SelfHostedAgents_OccupyAgent_FullMethodName      = "/InternalApi.SelfHosted.SelfHostedAgents/OccupyAgent"
	SelfHostedAgents_ReleaseAgent_FullMethodName     = "/InternalApi.SelfHosted.SelfHostedAgents/ReleaseAgent"
	SelfHostedAgents_DisableAgent_FullMethodName     = "/InternalApi.SelfHosted.SelfHostedAgents/DisableAgent"
	SelfHostedAgents_DisableAllAgents_FullMethodName = "/InternalApi.SelfHosted.SelfHostedAgents/DisableAllAgents"
	SelfHostedAgents_DeleteAgentType_FullMethodName  = "/InternalApi.SelfHosted.SelfHostedAgents/DeleteAgentType"
	SelfHostedAgents_StopJob_FullMethodName          = "/InternalApi.SelfHosted.SelfHostedAgents/StopJob"
	SelfHostedAgents_ResetToken_FullMethodName       = "/InternalApi.SelfHosted.SelfHostedAgents/ResetToken"
)

Variables

View Source
var (
	Agent_State_name = map[int32]string{
		0: "WAITING_FOR_JOB",
		1: "RUNNING_JOB",
	}
	Agent_State_value = map[string]int32{
		"WAITING_FOR_JOB": 0,
		"RUNNING_JOB":     1,
	}
)

Enum value maps for Agent_State.

View Source
var (
	AgentNameSettings_AssignmentOrigin_name = map[int32]string{
		0: "ASSIGNMENT_ORIGIN_UNSPECIFIED",
		1: "ASSIGNMENT_ORIGIN_AGENT",
		2: "ASSIGNMENT_ORIGIN_AWS_STS",
	}
	AgentNameSettings_AssignmentOrigin_value = map[string]int32{
		"ASSIGNMENT_ORIGIN_UNSPECIFIED": 0,
		"ASSIGNMENT_ORIGIN_AGENT":       1,
		"ASSIGNMENT_ORIGIN_AWS_STS":     2,
	}
)

Enum value maps for AgentNameSettings_AssignmentOrigin.

View Source
var File_self_hosted_proto protoreflect.FileDescriptor
View Source
var SelfHostedAgents_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "InternalApi.SelfHosted.SelfHostedAgents",
	HandlerType: (*SelfHostedAgentsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _SelfHostedAgents_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _SelfHostedAgents_Update_Handler,
		},
		{
			MethodName: "Describe",
			Handler:    _SelfHostedAgents_Describe_Handler,
		},
		{
			MethodName: "DescribeAgent",
			Handler:    _SelfHostedAgents_DescribeAgent_Handler,
		},
		{
			MethodName: "List",
			Handler:    _SelfHostedAgents_List_Handler,
		},
		{
			MethodName: "ListKeyset",
			Handler:    _SelfHostedAgents_ListKeyset_Handler,
		},
		{
			MethodName: "ListAgents",
			Handler:    _SelfHostedAgents_ListAgents_Handler,
		},
		{
			MethodName: "OccupyAgent",
			Handler:    _SelfHostedAgents_OccupyAgent_Handler,
		},
		{
			MethodName: "ReleaseAgent",
			Handler:    _SelfHostedAgents_ReleaseAgent_Handler,
		},
		{
			MethodName: "DisableAgent",
			Handler:    _SelfHostedAgents_DisableAgent_Handler,
		},
		{
			MethodName: "DisableAllAgents",
			Handler:    _SelfHostedAgents_DisableAllAgents_Handler,
		},
		{
			MethodName: "DeleteAgentType",
			Handler:    _SelfHostedAgents_DeleteAgentType_Handler,
		},
		{
			MethodName: "StopJob",
			Handler:    _SelfHostedAgents_StopJob_Handler,
		},
		{
			MethodName: "ResetToken",
			Handler:    _SelfHostedAgents_ResetToken_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "self_hosted.proto",
}

SelfHostedAgents_ServiceDesc is the grpc.ServiceDesc for SelfHostedAgents service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterSelfHostedAgentsServer

func RegisterSelfHostedAgentsServer(s grpc.ServiceRegistrar, srv SelfHostedAgentsServer)

Types

type Agent

type Agent struct {
	Name           string               `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Version        string               `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Os             string               `protobuf:"bytes,3,opt,name=os,proto3" json:"os,omitempty"`
	State          Agent_State          `protobuf:"varint,4,opt,name=state,proto3,enum=InternalApi.SelfHosted.Agent_State" json:"state,omitempty"`
	ConnectedAt    *timestamp.Timestamp `protobuf:"bytes,5,opt,name=connected_at,json=connectedAt,proto3" json:"connected_at,omitempty"`
	Pid            int32                `protobuf:"varint,6,opt,name=pid,proto3" json:"pid,omitempty"`
	UserAgent      string               `protobuf:"bytes,7,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
	Hostname       string               `protobuf:"bytes,8,opt,name=hostname,proto3" json:"hostname,omitempty"`
	IpAddress      string               `protobuf:"bytes,9,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
	Arch           string               `protobuf:"bytes,10,opt,name=arch,proto3" json:"arch,omitempty"`
	DisabledAt     *timestamp.Timestamp `protobuf:"bytes,11,opt,name=disabled_at,json=disabledAt,proto3" json:"disabled_at,omitempty"`
	Disabled       bool                 `protobuf:"varint,12,opt,name=disabled,proto3" json:"disabled,omitempty"`
	TypeName       string               `protobuf:"bytes,13,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"`
	OrganizationId string               `protobuf:"bytes,14,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Agent) Descriptor deprecated

func (*Agent) Descriptor() ([]byte, []int)

Deprecated: Use Agent.ProtoReflect.Descriptor instead.

func (*Agent) GetArch

func (x *Agent) GetArch() string

func (*Agent) GetConnectedAt

func (x *Agent) GetConnectedAt() *timestamp.Timestamp

func (*Agent) GetDisabled

func (x *Agent) GetDisabled() bool

func (*Agent) GetDisabledAt

func (x *Agent) GetDisabledAt() *timestamp.Timestamp

func (*Agent) GetHostname

func (x *Agent) GetHostname() string

func (*Agent) GetIpAddress

func (x *Agent) GetIpAddress() string

func (*Agent) GetName

func (x *Agent) GetName() string

func (*Agent) GetOrganizationId

func (x *Agent) GetOrganizationId() string

func (*Agent) GetOs

func (x *Agent) GetOs() string

func (*Agent) GetPid

func (x *Agent) GetPid() int32

func (*Agent) GetState

func (x *Agent) GetState() Agent_State

func (*Agent) GetTypeName

func (x *Agent) GetTypeName() string

func (*Agent) GetUserAgent

func (x *Agent) GetUserAgent() string

func (*Agent) GetVersion

func (x *Agent) GetVersion() string

func (*Agent) ProtoMessage

func (*Agent) ProtoMessage()

func (*Agent) ProtoReflect

func (x *Agent) ProtoReflect() protoreflect.Message

func (*Agent) Reset

func (x *Agent) Reset()

func (*Agent) String

func (x *Agent) String() string

type AgentNameSettings

type AgentNameSettings struct {
	AssignmentOrigin AgentNameSettings_AssignmentOrigin `` /* 173-byte string literal not displayed */
	Aws              *AgentNameSettings_AWS             `protobuf:"bytes,2,opt,name=aws,proto3" json:"aws,omitempty"`
	// How long to keep the agent name after the agent disconnects, in seconds.
	// This is an additional security measure to reject new agents
	// registering with the same name.
	ReleaseAfter int64 `protobuf:"varint,3,opt,name=release_after,json=releaseAfter,proto3" json:"release_after,omitempty"`
	// contains filtered or unexported fields
}

func (*AgentNameSettings) Descriptor deprecated

func (*AgentNameSettings) Descriptor() ([]byte, []int)

Deprecated: Use AgentNameSettings.ProtoReflect.Descriptor instead.

func (*AgentNameSettings) GetAssignmentOrigin

func (x *AgentNameSettings) GetAssignmentOrigin() AgentNameSettings_AssignmentOrigin

func (*AgentNameSettings) GetAws

func (*AgentNameSettings) GetReleaseAfter

func (x *AgentNameSettings) GetReleaseAfter() int64

func (*AgentNameSettings) ProtoMessage

func (*AgentNameSettings) ProtoMessage()

func (*AgentNameSettings) ProtoReflect

func (x *AgentNameSettings) ProtoReflect() protoreflect.Message

func (*AgentNameSettings) Reset

func (x *AgentNameSettings) Reset()

func (*AgentNameSettings) String

func (x *AgentNameSettings) String() string

type AgentNameSettings_AWS

type AgentNameSettings_AWS struct {
	AccountId        string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	RoleNamePatterns string `protobuf:"bytes,3,opt,name=role_name_patterns,json=roleNamePatterns,proto3" json:"role_name_patterns,omitempty"`
	// contains filtered or unexported fields
}

func (*AgentNameSettings_AWS) Descriptor deprecated

func (*AgentNameSettings_AWS) Descriptor() ([]byte, []int)

Deprecated: Use AgentNameSettings_AWS.ProtoReflect.Descriptor instead.

func (*AgentNameSettings_AWS) GetAccountId

func (x *AgentNameSettings_AWS) GetAccountId() string

func (*AgentNameSettings_AWS) GetRoleNamePatterns

func (x *AgentNameSettings_AWS) GetRoleNamePatterns() string

func (*AgentNameSettings_AWS) ProtoMessage

func (*AgentNameSettings_AWS) ProtoMessage()

func (*AgentNameSettings_AWS) ProtoReflect

func (x *AgentNameSettings_AWS) ProtoReflect() protoreflect.Message

func (*AgentNameSettings_AWS) Reset

func (x *AgentNameSettings_AWS) Reset()

func (*AgentNameSettings_AWS) String

func (x *AgentNameSettings_AWS) String() string

type AgentNameSettings_AssignmentOrigin

type AgentNameSettings_AssignmentOrigin int32

Two ways for an agent name to be assigned: - AGENT: The agent itself chooses the name - AWS_STS: The name is assigned from a pre-signed AWS STS get-caller-identity URL

const (
	AgentNameSettings_ASSIGNMENT_ORIGIN_UNSPECIFIED AgentNameSettings_AssignmentOrigin = 0
	AgentNameSettings_ASSIGNMENT_ORIGIN_AGENT       AgentNameSettings_AssignmentOrigin = 1
	AgentNameSettings_ASSIGNMENT_ORIGIN_AWS_STS     AgentNameSettings_AssignmentOrigin = 2
)

func (AgentNameSettings_AssignmentOrigin) Descriptor

func (AgentNameSettings_AssignmentOrigin) Enum

func (AgentNameSettings_AssignmentOrigin) EnumDescriptor deprecated

func (AgentNameSettings_AssignmentOrigin) EnumDescriptor() ([]byte, []int)

Deprecated: Use AgentNameSettings_AssignmentOrigin.Descriptor instead.

func (AgentNameSettings_AssignmentOrigin) Number

func (AgentNameSettings_AssignmentOrigin) String

func (AgentNameSettings_AssignmentOrigin) Type

type AgentType

type AgentType struct {
	OrganizationId    string               `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	Name              string               `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	TotalAgentCount   int32                `protobuf:"varint,3,opt,name=total_agent_count,json=totalAgentCount,proto3" json:"total_agent_count,omitempty"`
	RequesterId       string               `protobuf:"bytes,4,opt,name=requester_id,json=requesterId,proto3" json:"requester_id,omitempty"`
	CreatedAt         *timestamp.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt         *timestamp.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	AgentNameSettings *AgentNameSettings   `protobuf:"bytes,7,opt,name=agent_name_settings,json=agentNameSettings,proto3" json:"agent_name_settings,omitempty"`
	// contains filtered or unexported fields
}

func (*AgentType) Descriptor deprecated

func (*AgentType) Descriptor() ([]byte, []int)

Deprecated: Use AgentType.ProtoReflect.Descriptor instead.

func (*AgentType) GetAgentNameSettings

func (x *AgentType) GetAgentNameSettings() *AgentNameSettings

func (*AgentType) GetCreatedAt

func (x *AgentType) GetCreatedAt() *timestamp.Timestamp

func (*AgentType) GetName

func (x *AgentType) GetName() string

func (*AgentType) GetOrganizationId

func (x *AgentType) GetOrganizationId() string

func (*AgentType) GetRequesterId

func (x *AgentType) GetRequesterId() string

func (*AgentType) GetTotalAgentCount

func (x *AgentType) GetTotalAgentCount() int32

func (*AgentType) GetUpdatedAt

func (x *AgentType) GetUpdatedAt() *timestamp.Timestamp

func (*AgentType) ProtoMessage

func (*AgentType) ProtoMessage()

func (*AgentType) ProtoReflect

func (x *AgentType) ProtoReflect() protoreflect.Message

func (*AgentType) Reset

func (x *AgentType) Reset()

func (*AgentType) String

func (x *AgentType) String() string

type Agent_State

type Agent_State int32
const (
	Agent_WAITING_FOR_JOB Agent_State = 0
	Agent_RUNNING_JOB     Agent_State = 1
)

func (Agent_State) Descriptor

func (Agent_State) Enum

func (x Agent_State) Enum() *Agent_State

func (Agent_State) EnumDescriptor deprecated

func (Agent_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Agent_State.Descriptor instead.

func (Agent_State) Number

func (x Agent_State) Number() protoreflect.EnumNumber

func (Agent_State) String

func (x Agent_State) String() string

func (Agent_State) Type

type CreateRequest

type CreateRequest struct {
	OrganizationId    string             `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	Name              string             `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	RequesterId       string             `protobuf:"bytes,3,opt,name=requester_id,json=requesterId,proto3" json:"requester_id,omitempty"`
	AgentNameSettings *AgentNameSettings `protobuf:"bytes,4,opt,name=agent_name_settings,json=agentNameSettings,proto3" json:"agent_name_settings,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRequest) Descriptor deprecated

func (*CreateRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.

func (*CreateRequest) GetAgentNameSettings

func (x *CreateRequest) GetAgentNameSettings() *AgentNameSettings

func (*CreateRequest) GetName

func (x *CreateRequest) GetName() string

func (*CreateRequest) GetOrganizationId

func (x *CreateRequest) GetOrganizationId() string

func (*CreateRequest) GetRequesterId

func (x *CreateRequest) GetRequesterId() string

func (*CreateRequest) ProtoMessage

func (*CreateRequest) ProtoMessage()

func (*CreateRequest) ProtoReflect

func (x *CreateRequest) ProtoReflect() protoreflect.Message

func (*CreateRequest) Reset

func (x *CreateRequest) Reset()

func (*CreateRequest) String

func (x *CreateRequest) String() string

type CreateResponse

type CreateResponse struct {
	AgentType *AgentType `protobuf:"bytes,1,opt,name=agent_type,json=agentType,proto3" json:"agent_type,omitempty"`
	// The agent registration token is generated during the AgentType creation process.
	// The value is returned in the response, but IT IS NOT STORRED in the database.
	AgentRegistrationToken string `` /* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CreateResponse) Descriptor deprecated

func (*CreateResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.

func (*CreateResponse) GetAgentRegistrationToken

func (x *CreateResponse) GetAgentRegistrationToken() string

func (*CreateResponse) GetAgentType

func (x *CreateResponse) GetAgentType() *AgentType

func (*CreateResponse) ProtoMessage

func (*CreateResponse) ProtoMessage()

func (*CreateResponse) ProtoReflect

func (x *CreateResponse) ProtoReflect() protoreflect.Message

func (*CreateResponse) Reset

func (x *CreateResponse) Reset()

func (*CreateResponse) String

func (x *CreateResponse) String() string

type DeleteAgentTypeRequest

type DeleteAgentTypeRequest struct {
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	Name           string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteAgentTypeRequest) Descriptor deprecated

func (*DeleteAgentTypeRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteAgentTypeRequest.ProtoReflect.Descriptor instead.

func (*DeleteAgentTypeRequest) GetName

func (x *DeleteAgentTypeRequest) GetName() string

func (*DeleteAgentTypeRequest) GetOrganizationId

func (x *DeleteAgentTypeRequest) GetOrganizationId() string

func (*DeleteAgentTypeRequest) ProtoMessage

func (*DeleteAgentTypeRequest) ProtoMessage()

func (*DeleteAgentTypeRequest) ProtoReflect

func (x *DeleteAgentTypeRequest) ProtoReflect() protoreflect.Message

func (*DeleteAgentTypeRequest) Reset

func (x *DeleteAgentTypeRequest) Reset()

func (*DeleteAgentTypeRequest) String

func (x *DeleteAgentTypeRequest) String() string

type DeleteAgentTypeResponse

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

func (*DeleteAgentTypeResponse) Descriptor deprecated

func (*DeleteAgentTypeResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteAgentTypeResponse.ProtoReflect.Descriptor instead.

func (*DeleteAgentTypeResponse) ProtoMessage

func (*DeleteAgentTypeResponse) ProtoMessage()

func (*DeleteAgentTypeResponse) ProtoReflect

func (x *DeleteAgentTypeResponse) ProtoReflect() protoreflect.Message

func (*DeleteAgentTypeResponse) Reset

func (x *DeleteAgentTypeResponse) Reset()

func (*DeleteAgentTypeResponse) String

func (x *DeleteAgentTypeResponse) String() string

type DescribeAgentRequest

type DescribeAgentRequest struct {
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	Name           string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeAgentRequest) Descriptor deprecated

func (*DescribeAgentRequest) Descriptor() ([]byte, []int)

Deprecated: Use DescribeAgentRequest.ProtoReflect.Descriptor instead.

func (*DescribeAgentRequest) GetName

func (x *DescribeAgentRequest) GetName() string

func (*DescribeAgentRequest) GetOrganizationId

func (x *DescribeAgentRequest) GetOrganizationId() string

func (*DescribeAgentRequest) ProtoMessage

func (*DescribeAgentRequest) ProtoMessage()

func (*DescribeAgentRequest) ProtoReflect

func (x *DescribeAgentRequest) ProtoReflect() protoreflect.Message

func (*DescribeAgentRequest) Reset

func (x *DescribeAgentRequest) Reset()

func (*DescribeAgentRequest) String

func (x *DescribeAgentRequest) String() string

type DescribeAgentResponse

type DescribeAgentResponse struct {
	Agent *Agent `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeAgentResponse) Descriptor deprecated

func (*DescribeAgentResponse) Descriptor() ([]byte, []int)

Deprecated: Use DescribeAgentResponse.ProtoReflect.Descriptor instead.

func (*DescribeAgentResponse) GetAgent

func (x *DescribeAgentResponse) GetAgent() *Agent

func (*DescribeAgentResponse) ProtoMessage

func (*DescribeAgentResponse) ProtoMessage()

func (*DescribeAgentResponse) ProtoReflect

func (x *DescribeAgentResponse) ProtoReflect() protoreflect.Message

func (*DescribeAgentResponse) Reset

func (x *DescribeAgentResponse) Reset()

func (*DescribeAgentResponse) String

func (x *DescribeAgentResponse) String() string

type DescribeRequest

type DescribeRequest struct {
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	Name           string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeRequest) Descriptor deprecated

func (*DescribeRequest) Descriptor() ([]byte, []int)

Deprecated: Use DescribeRequest.ProtoReflect.Descriptor instead.

func (*DescribeRequest) GetName

func (x *DescribeRequest) GetName() string

func (*DescribeRequest) GetOrganizationId

func (x *DescribeRequest) GetOrganizationId() string

func (*DescribeRequest) ProtoMessage

func (*DescribeRequest) ProtoMessage()

func (*DescribeRequest) ProtoReflect

func (x *DescribeRequest) ProtoReflect() protoreflect.Message

func (*DescribeRequest) Reset

func (x *DescribeRequest) Reset()

func (*DescribeRequest) String

func (x *DescribeRequest) String() string

type DescribeResponse

type DescribeResponse struct {
	AgentType *AgentType `protobuf:"bytes,1,opt,name=agent_type,json=agentType,proto3" json:"agent_type,omitempty"`
	// contains filtered or unexported fields
}

func (*DescribeResponse) Descriptor deprecated

func (*DescribeResponse) Descriptor() ([]byte, []int)

Deprecated: Use DescribeResponse.ProtoReflect.Descriptor instead.

func (*DescribeResponse) GetAgentType

func (x *DescribeResponse) GetAgentType() *AgentType

func (*DescribeResponse) ProtoMessage

func (*DescribeResponse) ProtoMessage()

func (*DescribeResponse) ProtoReflect

func (x *DescribeResponse) ProtoReflect() protoreflect.Message

func (*DescribeResponse) Reset

func (x *DescribeResponse) Reset()

func (*DescribeResponse) String

func (x *DescribeResponse) String() string

type DisableAgentRequest

type DisableAgentRequest struct {
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	AgentType      string `protobuf:"bytes,2,opt,name=agent_type,json=agentType,proto3" json:"agent_type,omitempty"`
	AgentName      string `protobuf:"bytes,3,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
	// contains filtered or unexported fields
}

func (*DisableAgentRequest) Descriptor deprecated

func (*DisableAgentRequest) Descriptor() ([]byte, []int)

Deprecated: Use DisableAgentRequest.ProtoReflect.Descriptor instead.

func (*DisableAgentRequest) GetAgentName

func (x *DisableAgentRequest) GetAgentName() string

func (*DisableAgentRequest) GetAgentType

func (x *DisableAgentRequest) GetAgentType() string

func (*DisableAgentRequest) GetOrganizationId

func (x *DisableAgentRequest) GetOrganizationId() string

func (*DisableAgentRequest) ProtoMessage

func (*DisableAgentRequest) ProtoMessage()

func (*DisableAgentRequest) ProtoReflect

func (x *DisableAgentRequest) ProtoReflect() protoreflect.Message

func (*DisableAgentRequest) Reset

func (x *DisableAgentRequest) Reset()

func (*DisableAgentRequest) String

func (x *DisableAgentRequest) String() string

type DisableAgentResponse

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

func (*DisableAgentResponse) Descriptor deprecated

func (*DisableAgentResponse) Descriptor() ([]byte, []int)

Deprecated: Use DisableAgentResponse.ProtoReflect.Descriptor instead.

func (*DisableAgentResponse) ProtoMessage

func (*DisableAgentResponse) ProtoMessage()

func (*DisableAgentResponse) ProtoReflect

func (x *DisableAgentResponse) ProtoReflect() protoreflect.Message

func (*DisableAgentResponse) Reset

func (x *DisableAgentResponse) Reset()

func (*DisableAgentResponse) String

func (x *DisableAgentResponse) String() string

type DisableAllAgentsRequest

type DisableAllAgentsRequest struct {
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	AgentType      string `protobuf:"bytes,2,opt,name=agent_type,json=agentType,proto3" json:"agent_type,omitempty"`
	OnlyIdle       bool   `protobuf:"varint,3,opt,name=only_idle,json=onlyIdle,proto3" json:"only_idle,omitempty"`
	// contains filtered or unexported fields
}

func (*DisableAllAgentsRequest) Descriptor deprecated

func (*DisableAllAgentsRequest) Descriptor() ([]byte, []int)

Deprecated: Use DisableAllAgentsRequest.ProtoReflect.Descriptor instead.

func (*DisableAllAgentsRequest) GetAgentType

func (x *DisableAllAgentsRequest) GetAgentType() string

func (*DisableAllAgentsRequest) GetOnlyIdle

func (x *DisableAllAgentsRequest) GetOnlyIdle() bool

func (*DisableAllAgentsRequest) GetOrganizationId

func (x *DisableAllAgentsRequest) GetOrganizationId() string

func (*DisableAllAgentsRequest) ProtoMessage

func (*DisableAllAgentsRequest) ProtoMessage()

func (*DisableAllAgentsRequest) ProtoReflect

func (x *DisableAllAgentsRequest) ProtoReflect() protoreflect.Message

func (*DisableAllAgentsRequest) Reset

func (x *DisableAllAgentsRequest) Reset()

func (*DisableAllAgentsRequest) String

func (x *DisableAllAgentsRequest) String() string

type DisableAllAgentsResponse

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

func (*DisableAllAgentsResponse) Descriptor deprecated

func (*DisableAllAgentsResponse) Descriptor() ([]byte, []int)

Deprecated: Use DisableAllAgentsResponse.ProtoReflect.Descriptor instead.

func (*DisableAllAgentsResponse) ProtoMessage

func (*DisableAllAgentsResponse) ProtoMessage()

func (*DisableAllAgentsResponse) ProtoReflect

func (x *DisableAllAgentsResponse) ProtoReflect() protoreflect.Message

func (*DisableAllAgentsResponse) Reset

func (x *DisableAllAgentsResponse) Reset()

func (*DisableAllAgentsResponse) String

func (x *DisableAllAgentsResponse) String() string

type ListAgentsRequest

type ListAgentsRequest struct {
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	AgentTypeName  string `protobuf:"bytes,2,opt,name=agent_type_name,json=agentTypeName,proto3" json:"agent_type_name,omitempty"`
	// DEPRECATED
	// Using offset-based pagination for lists that mutate often
	// can lead to missing or duplicate elements.
	// We should use cursor-based pagination instead.
	Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
	// Cursor-based pagination fields.
	PageSize int32  `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	Cursor   string `protobuf:"bytes,5,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAgentsRequest) Descriptor deprecated

func (*ListAgentsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListAgentsRequest.ProtoReflect.Descriptor instead.

func (*ListAgentsRequest) GetAgentTypeName

func (x *ListAgentsRequest) GetAgentTypeName() string

func (*ListAgentsRequest) GetCursor

func (x *ListAgentsRequest) GetCursor() string

func (*ListAgentsRequest) GetOrganizationId

func (x *ListAgentsRequest) GetOrganizationId() string

func (*ListAgentsRequest) GetPage

func (x *ListAgentsRequest) GetPage() int32

func (*ListAgentsRequest) GetPageSize

func (x *ListAgentsRequest) GetPageSize() int32

func (*ListAgentsRequest) ProtoMessage

func (*ListAgentsRequest) ProtoMessage()

func (*ListAgentsRequest) ProtoReflect

func (x *ListAgentsRequest) ProtoReflect() protoreflect.Message

func (*ListAgentsRequest) Reset

func (x *ListAgentsRequest) Reset()

func (*ListAgentsRequest) String

func (x *ListAgentsRequest) String() string

type ListAgentsResponse

type ListAgentsResponse struct {
	Agents []*Agent `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"`
	// DEPRECATED
	// Using offset-based pagination for lists that mutate often
	// can lead to missing or duplicate elements.
	// We should use cursor-based pagination instead.
	TotalCount int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	TotalPages int32 `protobuf:"varint,3,opt,name=total_pages,json=totalPages,proto3" json:"total_pages,omitempty"`
	Page       int32 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"`
	// Cursor-based pagination fields.
	Cursor string `protobuf:"bytes,5,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAgentsResponse) Descriptor deprecated

func (*ListAgentsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListAgentsResponse.ProtoReflect.Descriptor instead.

func (*ListAgentsResponse) GetAgents

func (x *ListAgentsResponse) GetAgents() []*Agent

func (*ListAgentsResponse) GetCursor

func (x *ListAgentsResponse) GetCursor() string

func (*ListAgentsResponse) GetPage

func (x *ListAgentsResponse) GetPage() int32

func (*ListAgentsResponse) GetTotalCount

func (x *ListAgentsResponse) GetTotalCount() int32

func (*ListAgentsResponse) GetTotalPages

func (x *ListAgentsResponse) GetTotalPages() int32

func (*ListAgentsResponse) ProtoMessage

func (*ListAgentsResponse) ProtoMessage()

func (*ListAgentsResponse) ProtoReflect

func (x *ListAgentsResponse) ProtoReflect() protoreflect.Message

func (*ListAgentsResponse) Reset

func (x *ListAgentsResponse) Reset()

func (*ListAgentsResponse) String

func (x *ListAgentsResponse) String() string

type ListKeysetRequest

type ListKeysetRequest struct {
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	Cursor         string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
	PageSize       int32  `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*ListKeysetRequest) Descriptor deprecated

func (*ListKeysetRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListKeysetRequest.ProtoReflect.Descriptor instead.

func (*ListKeysetRequest) GetCursor

func (x *ListKeysetRequest) GetCursor() string

func (*ListKeysetRequest) GetOrganizationId

func (x *ListKeysetRequest) GetOrganizationId() string

func (*ListKeysetRequest) GetPageSize

func (x *ListKeysetRequest) GetPageSize() int32

func (*ListKeysetRequest) ProtoMessage

func (*ListKeysetRequest) ProtoMessage()

func (*ListKeysetRequest) ProtoReflect

func (x *ListKeysetRequest) ProtoReflect() protoreflect.Message

func (*ListKeysetRequest) Reset

func (x *ListKeysetRequest) Reset()

func (*ListKeysetRequest) String

func (x *ListKeysetRequest) String() string

type ListKeysetResponse

type ListKeysetResponse struct {
	AgentTypes     []*AgentType `protobuf:"bytes,1,rep,name=agent_types,json=agentTypes,proto3" json:"agent_types,omitempty"`
	NextPageCursor string       `protobuf:"bytes,2,opt,name=next_page_cursor,json=nextPageCursor,proto3" json:"next_page_cursor,omitempty"`
	// contains filtered or unexported fields
}

func (*ListKeysetResponse) Descriptor deprecated

func (*ListKeysetResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListKeysetResponse.ProtoReflect.Descriptor instead.

func (*ListKeysetResponse) GetAgentTypes

func (x *ListKeysetResponse) GetAgentTypes() []*AgentType

func (*ListKeysetResponse) GetNextPageCursor

func (x *ListKeysetResponse) GetNextPageCursor() string

func (*ListKeysetResponse) ProtoMessage

func (*ListKeysetResponse) ProtoMessage()

func (*ListKeysetResponse) ProtoReflect

func (x *ListKeysetResponse) ProtoReflect() protoreflect.Message

func (*ListKeysetResponse) Reset

func (x *ListKeysetResponse) Reset()

func (*ListKeysetResponse) String

func (x *ListKeysetResponse) String() string

type ListRequest

type ListRequest struct {
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	Page           int32  `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRequest) Descriptor deprecated

func (*ListRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.

func (*ListRequest) GetOrganizationId

func (x *ListRequest) GetOrganizationId() string

func (*ListRequest) GetPage

func (x *ListRequest) GetPage() int32

func (*ListRequest) ProtoMessage

func (*ListRequest) ProtoMessage()

func (*ListRequest) ProtoReflect

func (x *ListRequest) ProtoReflect() protoreflect.Message

func (*ListRequest) Reset

func (x *ListRequest) Reset()

func (*ListRequest) String

func (x *ListRequest) String() string

type ListResponse

type ListResponse struct {
	AgentTypes []*AgentType `protobuf:"bytes,1,rep,name=agent_types,json=agentTypes,proto3" json:"agent_types,omitempty"`
	TotalCount int32        `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	TotalPages int32        `protobuf:"varint,3,opt,name=total_pages,json=totalPages,proto3" json:"total_pages,omitempty"`
	Page       int32        `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResponse) Descriptor deprecated

func (*ListResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.

func (*ListResponse) GetAgentTypes

func (x *ListResponse) GetAgentTypes() []*AgentType

func (*ListResponse) GetPage

func (x *ListResponse) GetPage() int32

func (*ListResponse) GetTotalCount

func (x *ListResponse) GetTotalCount() int32

func (*ListResponse) GetTotalPages

func (x *ListResponse) GetTotalPages() int32

func (*ListResponse) ProtoMessage

func (*ListResponse) ProtoMessage()

func (*ListResponse) ProtoReflect

func (x *ListResponse) ProtoReflect() protoreflect.Message

func (*ListResponse) Reset

func (x *ListResponse) Reset()

func (*ListResponse) String

func (x *ListResponse) String() string

type OccupyAgentRequest

type OccupyAgentRequest struct {
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	JobId          string `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	AgentType      string `protobuf:"bytes,3,opt,name=agent_type,json=agentType,proto3" json:"agent_type,omitempty"`
	// contains filtered or unexported fields
}

func (*OccupyAgentRequest) Descriptor deprecated

func (*OccupyAgentRequest) Descriptor() ([]byte, []int)

Deprecated: Use OccupyAgentRequest.ProtoReflect.Descriptor instead.

func (*OccupyAgentRequest) GetAgentType

func (x *OccupyAgentRequest) GetAgentType() string

func (*OccupyAgentRequest) GetJobId

func (x *OccupyAgentRequest) GetJobId() string

func (*OccupyAgentRequest) GetOrganizationId

func (x *OccupyAgentRequest) GetOrganizationId() string

func (*OccupyAgentRequest) ProtoMessage

func (*OccupyAgentRequest) ProtoMessage()

func (*OccupyAgentRequest) ProtoReflect

func (x *OccupyAgentRequest) ProtoReflect() protoreflect.Message

func (*OccupyAgentRequest) Reset

func (x *OccupyAgentRequest) Reset()

func (*OccupyAgentRequest) String

func (x *OccupyAgentRequest) String() string

type OccupyAgentResponse

type OccupyAgentResponse struct {
	AgentId   string `protobuf:"bytes,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
	AgentName string `protobuf:"bytes,2,opt,name=agent_name,json=agentName,proto3" json:"agent_name,omitempty"`
	// contains filtered or unexported fields
}

func (*OccupyAgentResponse) Descriptor deprecated

func (*OccupyAgentResponse) Descriptor() ([]byte, []int)

Deprecated: Use OccupyAgentResponse.ProtoReflect.Descriptor instead.

func (*OccupyAgentResponse) GetAgentId

func (x *OccupyAgentResponse) GetAgentId() string

func (*OccupyAgentResponse) GetAgentName

func (x *OccupyAgentResponse) GetAgentName() string

func (*OccupyAgentResponse) ProtoMessage

func (*OccupyAgentResponse) ProtoMessage()

func (*OccupyAgentResponse) ProtoReflect

func (x *OccupyAgentResponse) ProtoReflect() protoreflect.Message

func (*OccupyAgentResponse) Reset

func (x *OccupyAgentResponse) Reset()

func (*OccupyAgentResponse) String

func (x *OccupyAgentResponse) String() string

type ReleaseAgentRequest

type ReleaseAgentRequest struct {
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	AgentType      string `protobuf:"bytes,2,opt,name=agent_type,json=agentType,proto3" json:"agent_type,omitempty"`
	JobId          string `protobuf:"bytes,3,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ReleaseAgentRequest) Descriptor deprecated

func (*ReleaseAgentRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReleaseAgentRequest.ProtoReflect.Descriptor instead.

func (*ReleaseAgentRequest) GetAgentType

func (x *ReleaseAgentRequest) GetAgentType() string

func (*ReleaseAgentRequest) GetJobId

func (x *ReleaseAgentRequest) GetJobId() string

func (*ReleaseAgentRequest) GetOrganizationId

func (x *ReleaseAgentRequest) GetOrganizationId() string

func (*ReleaseAgentRequest) ProtoMessage

func (*ReleaseAgentRequest) ProtoMessage()

func (*ReleaseAgentRequest) ProtoReflect

func (x *ReleaseAgentRequest) ProtoReflect() protoreflect.Message

func (*ReleaseAgentRequest) Reset

func (x *ReleaseAgentRequest) Reset()

func (*ReleaseAgentRequest) String

func (x *ReleaseAgentRequest) String() string

type ReleaseAgentResponse

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

func (*ReleaseAgentResponse) Descriptor deprecated

func (*ReleaseAgentResponse) Descriptor() ([]byte, []int)

Deprecated: Use ReleaseAgentResponse.ProtoReflect.Descriptor instead.

func (*ReleaseAgentResponse) ProtoMessage

func (*ReleaseAgentResponse) ProtoMessage()

func (*ReleaseAgentResponse) ProtoReflect

func (x *ReleaseAgentResponse) ProtoReflect() protoreflect.Message

func (*ReleaseAgentResponse) Reset

func (x *ReleaseAgentResponse) Reset()

func (*ReleaseAgentResponse) String

func (x *ReleaseAgentResponse) String() string

type ResetTokenRequest

type ResetTokenRequest struct {
	OrganizationId          string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	AgentType               string `protobuf:"bytes,2,opt,name=agent_type,json=agentType,proto3" json:"agent_type,omitempty"`
	DisconnectRunningAgents bool   `` /* 133-byte string literal not displayed */
	RequesterId             string `protobuf:"bytes,4,opt,name=requester_id,json=requesterId,proto3" json:"requester_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ResetTokenRequest) Descriptor deprecated

func (*ResetTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResetTokenRequest.ProtoReflect.Descriptor instead.

func (*ResetTokenRequest) GetAgentType

func (x *ResetTokenRequest) GetAgentType() string

func (*ResetTokenRequest) GetDisconnectRunningAgents

func (x *ResetTokenRequest) GetDisconnectRunningAgents() bool

func (*ResetTokenRequest) GetOrganizationId

func (x *ResetTokenRequest) GetOrganizationId() string

func (*ResetTokenRequest) GetRequesterId

func (x *ResetTokenRequest) GetRequesterId() string

func (*ResetTokenRequest) ProtoMessage

func (*ResetTokenRequest) ProtoMessage()

func (*ResetTokenRequest) ProtoReflect

func (x *ResetTokenRequest) ProtoReflect() protoreflect.Message

func (*ResetTokenRequest) Reset

func (x *ResetTokenRequest) Reset()

func (*ResetTokenRequest) String

func (x *ResetTokenRequest) String() string

type ResetTokenResponse

type ResetTokenResponse struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*ResetTokenResponse) Descriptor deprecated

func (*ResetTokenResponse) Descriptor() ([]byte, []int)

Deprecated: Use ResetTokenResponse.ProtoReflect.Descriptor instead.

func (*ResetTokenResponse) GetToken

func (x *ResetTokenResponse) GetToken() string

func (*ResetTokenResponse) ProtoMessage

func (*ResetTokenResponse) ProtoMessage()

func (*ResetTokenResponse) ProtoReflect

func (x *ResetTokenResponse) ProtoReflect() protoreflect.Message

func (*ResetTokenResponse) Reset

func (x *ResetTokenResponse) Reset()

func (*ResetTokenResponse) String

func (x *ResetTokenResponse) String() string

type SelfHostedAgentsClient

type SelfHostedAgentsClient interface {
	Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error)
	Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error)
	Describe(ctx context.Context, in *DescribeRequest, opts ...grpc.CallOption) (*DescribeResponse, error)
	DescribeAgent(ctx context.Context, in *DescribeAgentRequest, opts ...grpc.CallOption) (*DescribeAgentResponse, error)
	List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error)
	ListKeyset(ctx context.Context, in *ListKeysetRequest, opts ...grpc.CallOption) (*ListKeysetResponse, error)
	ListAgents(ctx context.Context, in *ListAgentsRequest, opts ...grpc.CallOption) (*ListAgentsResponse, error)
	OccupyAgent(ctx context.Context, in *OccupyAgentRequest, opts ...grpc.CallOption) (*OccupyAgentResponse, error)
	ReleaseAgent(ctx context.Context, in *ReleaseAgentRequest, opts ...grpc.CallOption) (*ReleaseAgentResponse, error)
	DisableAgent(ctx context.Context, in *DisableAgentRequest, opts ...grpc.CallOption) (*DisableAgentResponse, error)
	DisableAllAgents(ctx context.Context, in *DisableAllAgentsRequest, opts ...grpc.CallOption) (*DisableAllAgentsResponse, error)
	DeleteAgentType(ctx context.Context, in *DeleteAgentTypeRequest, opts ...grpc.CallOption) (*DeleteAgentTypeResponse, error)
	StopJob(ctx context.Context, in *StopJobRequest, opts ...grpc.CallOption) (*StopJobResponse, error)
	ResetToken(ctx context.Context, in *ResetTokenRequest, opts ...grpc.CallOption) (*ResetTokenResponse, error)
}

SelfHostedAgentsClient is the client API for SelfHostedAgents 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.

type SelfHostedAgentsServer

SelfHostedAgentsServer is the server API for SelfHostedAgents service. All implementations should embed UnimplementedSelfHostedAgentsServer for forward compatibility.

type StopJobRequest

type StopJobRequest struct {
	OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	AgentType      string `protobuf:"bytes,2,opt,name=agent_type,json=agentType,proto3" json:"agent_type,omitempty"`
	JobId          string `protobuf:"bytes,3,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StopJobRequest) Descriptor deprecated

func (*StopJobRequest) Descriptor() ([]byte, []int)

Deprecated: Use StopJobRequest.ProtoReflect.Descriptor instead.

func (*StopJobRequest) GetAgentType

func (x *StopJobRequest) GetAgentType() string

func (*StopJobRequest) GetJobId

func (x *StopJobRequest) GetJobId() string

func (*StopJobRequest) GetOrganizationId

func (x *StopJobRequest) GetOrganizationId() string

func (*StopJobRequest) ProtoMessage

func (*StopJobRequest) ProtoMessage()

func (*StopJobRequest) ProtoReflect

func (x *StopJobRequest) ProtoReflect() protoreflect.Message

func (*StopJobRequest) Reset

func (x *StopJobRequest) Reset()

func (*StopJobRequest) String

func (x *StopJobRequest) String() string

type StopJobResponse

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

func (*StopJobResponse) Descriptor deprecated

func (*StopJobResponse) Descriptor() ([]byte, []int)

Deprecated: Use StopJobResponse.ProtoReflect.Descriptor instead.

func (*StopJobResponse) ProtoMessage

func (*StopJobResponse) ProtoMessage()

func (*StopJobResponse) ProtoReflect

func (x *StopJobResponse) ProtoReflect() protoreflect.Message

func (*StopJobResponse) Reset

func (x *StopJobResponse) Reset()

func (*StopJobResponse) String

func (x *StopJobResponse) String() string

type UnimplementedSelfHostedAgentsServer

type UnimplementedSelfHostedAgentsServer struct{}

UnimplementedSelfHostedAgentsServer should 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 (UnimplementedSelfHostedAgentsServer) Create

func (UnimplementedSelfHostedAgentsServer) DeleteAgentType

func (UnimplementedSelfHostedAgentsServer) Describe

func (UnimplementedSelfHostedAgentsServer) DescribeAgent

func (UnimplementedSelfHostedAgentsServer) DisableAgent

func (UnimplementedSelfHostedAgentsServer) DisableAllAgents

func (UnimplementedSelfHostedAgentsServer) List

func (UnimplementedSelfHostedAgentsServer) ListAgents

func (UnimplementedSelfHostedAgentsServer) ListKeyset

func (UnimplementedSelfHostedAgentsServer) OccupyAgent

func (UnimplementedSelfHostedAgentsServer) ReleaseAgent

func (UnimplementedSelfHostedAgentsServer) ResetToken

func (UnimplementedSelfHostedAgentsServer) StopJob

func (UnimplementedSelfHostedAgentsServer) Update

type UnsafeSelfHostedAgentsServer

type UnsafeSelfHostedAgentsServer interface {
	// contains filtered or unexported methods
}

UnsafeSelfHostedAgentsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SelfHostedAgentsServer will result in compilation errors.

type UpdateRequest

type UpdateRequest struct {
	OrganizationId string     `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	Name           string     `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	RequesterId    string     `protobuf:"bytes,3,opt,name=requester_id,json=requesterId,proto3" json:"requester_id,omitempty"`
	AgentType      *AgentType `protobuf:"bytes,4,opt,name=agent_type,json=agentType,proto3" json:"agent_type,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRequest) Descriptor deprecated

func (*UpdateRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.

func (*UpdateRequest) GetAgentType

func (x *UpdateRequest) GetAgentType() *AgentType

func (*UpdateRequest) GetName

func (x *UpdateRequest) GetName() string

func (*UpdateRequest) GetOrganizationId

func (x *UpdateRequest) GetOrganizationId() string

func (*UpdateRequest) GetRequesterId

func (x *UpdateRequest) GetRequesterId() string

func (*UpdateRequest) ProtoMessage

func (*UpdateRequest) ProtoMessage()

func (*UpdateRequest) ProtoReflect

func (x *UpdateRequest) ProtoReflect() protoreflect.Message

func (*UpdateRequest) Reset

func (x *UpdateRequest) Reset()

func (*UpdateRequest) String

func (x *UpdateRequest) String() string

type UpdateResponse

type UpdateResponse struct {
	AgentType *AgentType `protobuf:"bytes,1,opt,name=agent_type,json=agentType,proto3" json:"agent_type,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateResponse) Descriptor deprecated

func (*UpdateResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.

func (*UpdateResponse) GetAgentType

func (x *UpdateResponse) GetAgentType() *AgentType

func (*UpdateResponse) ProtoMessage

func (*UpdateResponse) ProtoMessage()

func (*UpdateResponse) ProtoReflect

func (x *UpdateResponse) ProtoReflect() protoreflect.Message

func (*UpdateResponse) Reset

func (x *UpdateResponse) Reset()

func (*UpdateResponse) String

func (x *UpdateResponse) String() string

Jump to

Keyboard shortcuts

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