rpc

package
v16.10.9 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AgentTracker_GetConnectedAgents_FullMethodName             = "/gitlab.agent.agent_tracker.rpc.AgentTracker/GetConnectedAgents"
	AgentTracker_GetConnectedAgentsByProjectIds_FullMethodName = "/gitlab.agent.agent_tracker.rpc.AgentTracker/GetConnectedAgentsByProjectIds"
	AgentTracker_GetConnectedAgentsByProjectIDs_FullMethodName = "/gitlab.agent.agent_tracker.rpc.AgentTracker/GetConnectedAgentsByProjectIDs"
	AgentTracker_GetConnectedAgentsByAgentIds_FullMethodName   = "/gitlab.agent.agent_tracker.rpc.AgentTracker/GetConnectedAgentsByAgentIds"
	AgentTracker_GetConnectedAgentsByAgentIDs_FullMethodName   = "/gitlab.agent.agent_tracker.rpc.AgentTracker/GetConnectedAgentsByAgentIDs"
	AgentTracker_CountAgentsByAgentVersions_FullMethodName     = "/gitlab.agent.agent_tracker.rpc.AgentTracker/CountAgentsByAgentVersions"
)

Variables

View Source
var AgentTracker_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "gitlab.agent.agent_tracker.rpc.AgentTracker",
	HandlerType: (*AgentTrackerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetConnectedAgents",
			Handler:    _AgentTracker_GetConnectedAgents_Handler,
		},
		{
			MethodName: "GetConnectedAgentsByProjectIds",
			Handler:    _AgentTracker_GetConnectedAgentsByProjectIds_Handler,
		},
		{
			MethodName: "GetConnectedAgentsByProjectIDs",
			Handler:    _AgentTracker_GetConnectedAgentsByProjectIDs_Handler,
		},
		{
			MethodName: "GetConnectedAgentsByAgentIds",
			Handler:    _AgentTracker_GetConnectedAgentsByAgentIds_Handler,
		},
		{
			MethodName: "GetConnectedAgentsByAgentIDs",
			Handler:    _AgentTracker_GetConnectedAgentsByAgentIDs_Handler,
		},
		{
			MethodName: "CountAgentsByAgentVersions",
			Handler:    _AgentTracker_CountAgentsByAgentVersions_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "internal/module/agent_tracker/rpc/rpc.proto",
}

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

View Source
var File_internal_module_agent_tracker_rpc_rpc_proto protoreflect.FileDescriptor

Functions

func RegisterAgentTrackerServer

func RegisterAgentTrackerServer(s grpc.ServiceRegistrar, srv AgentTrackerServer)

Types

type AgentTrackerClient

AgentTrackerClient is the client API for AgentTracker 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 AgentTrackerServer

AgentTrackerServer is the server API for AgentTracker service. All implementations must embed UnimplementedAgentTrackerServer for forward compatibility

type CountAgentsByAgentVersionsRequest added in v16.10.0

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

func (*CountAgentsByAgentVersionsRequest) Descriptor deprecated added in v16.10.0

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

Deprecated: Use CountAgentsByAgentVersionsRequest.ProtoReflect.Descriptor instead.

func (*CountAgentsByAgentVersionsRequest) ProtoMessage added in v16.10.0

func (*CountAgentsByAgentVersionsRequest) ProtoMessage()

func (*CountAgentsByAgentVersionsRequest) ProtoReflect added in v16.10.0

func (*CountAgentsByAgentVersionsRequest) Reset added in v16.10.0

func (*CountAgentsByAgentVersionsRequest) String added in v16.10.0

func (*CountAgentsByAgentVersionsRequest) Validate added in v16.10.0

Validate checks the field values on CountAgentsByAgentVersionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CountAgentsByAgentVersionsRequest) ValidateAll added in v16.10.0

func (m *CountAgentsByAgentVersionsRequest) ValidateAll() error

ValidateAll checks the field values on CountAgentsByAgentVersionsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CountAgentsByAgentVersionsRequestMultiError, or nil if none found.

type CountAgentsByAgentVersionsRequestMultiError added in v16.10.0

type CountAgentsByAgentVersionsRequestMultiError []error

CountAgentsByAgentVersionsRequestMultiError is an error wrapping multiple validation errors returned by CountAgentsByAgentVersionsRequest.ValidateAll() if the designated constraints aren't met.

func (CountAgentsByAgentVersionsRequestMultiError) AllErrors added in v16.10.0

AllErrors returns a list of validation violation errors.

func (CountAgentsByAgentVersionsRequestMultiError) Error added in v16.10.0

Error returns a concatenation of all the error messages it wraps.

type CountAgentsByAgentVersionsRequestValidationError added in v16.10.0

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

CountAgentsByAgentVersionsRequestValidationError is the validation error returned by CountAgentsByAgentVersionsRequest.Validate if the designated constraints aren't met.

func (CountAgentsByAgentVersionsRequestValidationError) Cause added in v16.10.0

Cause function returns cause value.

func (CountAgentsByAgentVersionsRequestValidationError) Error added in v16.10.0

Error satisfies the builtin error interface

func (CountAgentsByAgentVersionsRequestValidationError) ErrorName added in v16.10.0

ErrorName returns error name.

func (CountAgentsByAgentVersionsRequestValidationError) Field added in v16.10.0

Field function returns field value.

func (CountAgentsByAgentVersionsRequestValidationError) Key added in v16.10.0

Key function returns key value.

func (CountAgentsByAgentVersionsRequestValidationError) Reason added in v16.10.0

Reason function returns reason value.

type CountAgentsByAgentVersionsResponse added in v16.10.0

type CountAgentsByAgentVersionsResponse struct {
	AgentVersions map[string]int64 `` /* 189-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CountAgentsByAgentVersionsResponse) Descriptor deprecated added in v16.10.0

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

Deprecated: Use CountAgentsByAgentVersionsResponse.ProtoReflect.Descriptor instead.

func (*CountAgentsByAgentVersionsResponse) GetAgentVersions added in v16.10.0

func (x *CountAgentsByAgentVersionsResponse) GetAgentVersions() map[string]int64

func (*CountAgentsByAgentVersionsResponse) ProtoMessage added in v16.10.0

func (*CountAgentsByAgentVersionsResponse) ProtoMessage()

func (*CountAgentsByAgentVersionsResponse) ProtoReflect added in v16.10.0

func (*CountAgentsByAgentVersionsResponse) Reset added in v16.10.0

func (*CountAgentsByAgentVersionsResponse) String added in v16.10.0

func (*CountAgentsByAgentVersionsResponse) Validate added in v16.10.0

Validate checks the field values on CountAgentsByAgentVersionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CountAgentsByAgentVersionsResponse) ValidateAll added in v16.10.0

func (m *CountAgentsByAgentVersionsResponse) ValidateAll() error

ValidateAll checks the field values on CountAgentsByAgentVersionsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CountAgentsByAgentVersionsResponseMultiError, or nil if none found.

type CountAgentsByAgentVersionsResponseMultiError added in v16.10.0

type CountAgentsByAgentVersionsResponseMultiError []error

CountAgentsByAgentVersionsResponseMultiError is an error wrapping multiple validation errors returned by CountAgentsByAgentVersionsResponse.ValidateAll() if the designated constraints aren't met.

func (CountAgentsByAgentVersionsResponseMultiError) AllErrors added in v16.10.0

AllErrors returns a list of validation violation errors.

func (CountAgentsByAgentVersionsResponseMultiError) Error added in v16.10.0

Error returns a concatenation of all the error messages it wraps.

type CountAgentsByAgentVersionsResponseValidationError added in v16.10.0

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

CountAgentsByAgentVersionsResponseValidationError is the validation error returned by CountAgentsByAgentVersionsResponse.Validate if the designated constraints aren't met.

func (CountAgentsByAgentVersionsResponseValidationError) Cause added in v16.10.0

Cause function returns cause value.

func (CountAgentsByAgentVersionsResponseValidationError) Error added in v16.10.0

Error satisfies the builtin error interface

func (CountAgentsByAgentVersionsResponseValidationError) ErrorName added in v16.10.0

ErrorName returns error name.

func (CountAgentsByAgentVersionsResponseValidationError) Field added in v16.10.0

Field function returns field value.

func (CountAgentsByAgentVersionsResponseValidationError) Key added in v16.10.0

Key function returns key value.

func (CountAgentsByAgentVersionsResponseValidationError) Reason added in v16.10.0

Reason function returns reason value.

type GetConnectedAgentsByAgentIDsRequest added in v16.8.0

type GetConnectedAgentsByAgentIDsRequest struct {
	AgentIds []int64 `protobuf:"varint,1,rep,packed,name=agent_ids,json=agentIds,proto3" json:"agent_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConnectedAgentsByAgentIDsRequest) Descriptor deprecated added in v16.8.0

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

Deprecated: Use GetConnectedAgentsByAgentIDsRequest.ProtoReflect.Descriptor instead.

func (*GetConnectedAgentsByAgentIDsRequest) GetAgentIds added in v16.8.0

func (x *GetConnectedAgentsByAgentIDsRequest) GetAgentIds() []int64

func (*GetConnectedAgentsByAgentIDsRequest) ProtoMessage added in v16.8.0

func (*GetConnectedAgentsByAgentIDsRequest) ProtoMessage()

func (*GetConnectedAgentsByAgentIDsRequest) ProtoReflect added in v16.8.0

func (*GetConnectedAgentsByAgentIDsRequest) Reset added in v16.8.0

func (*GetConnectedAgentsByAgentIDsRequest) String added in v16.8.0

func (*GetConnectedAgentsByAgentIDsRequest) Validate added in v16.8.0

Validate checks the field values on GetConnectedAgentsByAgentIDsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetConnectedAgentsByAgentIDsRequest) ValidateAll added in v16.8.0

func (m *GetConnectedAgentsByAgentIDsRequest) ValidateAll() error

ValidateAll checks the field values on GetConnectedAgentsByAgentIDsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetConnectedAgentsByAgentIDsRequestMultiError, or nil if none found.

type GetConnectedAgentsByAgentIDsRequestMultiError added in v16.8.0

type GetConnectedAgentsByAgentIDsRequestMultiError []error

GetConnectedAgentsByAgentIDsRequestMultiError is an error wrapping multiple validation errors returned by GetConnectedAgentsByAgentIDsRequest.ValidateAll() if the designated constraints aren't met.

func (GetConnectedAgentsByAgentIDsRequestMultiError) AllErrors added in v16.8.0

AllErrors returns a list of validation violation errors.

func (GetConnectedAgentsByAgentIDsRequestMultiError) Error added in v16.8.0

Error returns a concatenation of all the error messages it wraps.

type GetConnectedAgentsByAgentIDsRequestValidationError added in v16.8.0

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

GetConnectedAgentsByAgentIDsRequestValidationError is the validation error returned by GetConnectedAgentsByAgentIDsRequest.Validate if the designated constraints aren't met.

func (GetConnectedAgentsByAgentIDsRequestValidationError) Cause added in v16.8.0

Cause function returns cause value.

func (GetConnectedAgentsByAgentIDsRequestValidationError) Error added in v16.8.0

Error satisfies the builtin error interface

func (GetConnectedAgentsByAgentIDsRequestValidationError) ErrorName added in v16.8.0

ErrorName returns error name.

func (GetConnectedAgentsByAgentIDsRequestValidationError) Field added in v16.8.0

Field function returns field value.

func (GetConnectedAgentsByAgentIDsRequestValidationError) Key added in v16.8.0

Key function returns key value.

func (GetConnectedAgentsByAgentIDsRequestValidationError) Reason added in v16.8.0

Reason function returns reason value.

type GetConnectedAgentsByAgentIDsResponse added in v16.8.0

type GetConnectedAgentsByAgentIDsResponse struct {
	Agents []*agent_tracker.ConnectedAgentInfo `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConnectedAgentsByAgentIDsResponse) Descriptor deprecated added in v16.8.0

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

Deprecated: Use GetConnectedAgentsByAgentIDsResponse.ProtoReflect.Descriptor instead.

func (*GetConnectedAgentsByAgentIDsResponse) GetAgents added in v16.8.0

func (*GetConnectedAgentsByAgentIDsResponse) ProtoMessage added in v16.8.0

func (*GetConnectedAgentsByAgentIDsResponse) ProtoMessage()

func (*GetConnectedAgentsByAgentIDsResponse) ProtoReflect added in v16.8.0

func (*GetConnectedAgentsByAgentIDsResponse) Reset added in v16.8.0

func (*GetConnectedAgentsByAgentIDsResponse) String added in v16.8.0

func (*GetConnectedAgentsByAgentIDsResponse) Validate added in v16.8.0

Validate checks the field values on GetConnectedAgentsByAgentIDsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetConnectedAgentsByAgentIDsResponse) ValidateAll added in v16.8.0

ValidateAll checks the field values on GetConnectedAgentsByAgentIDsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetConnectedAgentsByAgentIDsResponseMultiError, or nil if none found.

type GetConnectedAgentsByAgentIDsResponseMultiError added in v16.8.0

type GetConnectedAgentsByAgentIDsResponseMultiError []error

GetConnectedAgentsByAgentIDsResponseMultiError is an error wrapping multiple validation errors returned by GetConnectedAgentsByAgentIDsResponse.ValidateAll() if the designated constraints aren't met.

func (GetConnectedAgentsByAgentIDsResponseMultiError) AllErrors added in v16.8.0

AllErrors returns a list of validation violation errors.

func (GetConnectedAgentsByAgentIDsResponseMultiError) Error added in v16.8.0

Error returns a concatenation of all the error messages it wraps.

type GetConnectedAgentsByAgentIDsResponseValidationError added in v16.8.0

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

GetConnectedAgentsByAgentIDsResponseValidationError is the validation error returned by GetConnectedAgentsByAgentIDsResponse.Validate if the designated constraints aren't met.

func (GetConnectedAgentsByAgentIDsResponseValidationError) Cause added in v16.8.0

Cause function returns cause value.

func (GetConnectedAgentsByAgentIDsResponseValidationError) Error added in v16.8.0

Error satisfies the builtin error interface

func (GetConnectedAgentsByAgentIDsResponseValidationError) ErrorName added in v16.8.0

ErrorName returns error name.

func (GetConnectedAgentsByAgentIDsResponseValidationError) Field added in v16.8.0

Field function returns field value.

func (GetConnectedAgentsByAgentIDsResponseValidationError) Key added in v16.8.0

Key function returns key value.

func (GetConnectedAgentsByAgentIDsResponseValidationError) Reason added in v16.8.0

Reason function returns reason value.

type GetConnectedAgentsByProjectIDsRequest added in v16.8.0

type GetConnectedAgentsByProjectIDsRequest struct {
	ProjectIds []int64 `protobuf:"varint,1,rep,packed,name=project_ids,json=projectIds,proto3" json:"project_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConnectedAgentsByProjectIDsRequest) Descriptor deprecated added in v16.8.0

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

Deprecated: Use GetConnectedAgentsByProjectIDsRequest.ProtoReflect.Descriptor instead.

func (*GetConnectedAgentsByProjectIDsRequest) GetProjectIds added in v16.8.0

func (x *GetConnectedAgentsByProjectIDsRequest) GetProjectIds() []int64

func (*GetConnectedAgentsByProjectIDsRequest) ProtoMessage added in v16.8.0

func (*GetConnectedAgentsByProjectIDsRequest) ProtoMessage()

func (*GetConnectedAgentsByProjectIDsRequest) ProtoReflect added in v16.8.0

func (*GetConnectedAgentsByProjectIDsRequest) Reset added in v16.8.0

func (*GetConnectedAgentsByProjectIDsRequest) String added in v16.8.0

func (*GetConnectedAgentsByProjectIDsRequest) Validate added in v16.8.0

Validate checks the field values on GetConnectedAgentsByProjectIDsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetConnectedAgentsByProjectIDsRequest) ValidateAll added in v16.8.0

ValidateAll checks the field values on GetConnectedAgentsByProjectIDsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetConnectedAgentsByProjectIDsRequestMultiError, or nil if none found.

type GetConnectedAgentsByProjectIDsRequestMultiError added in v16.8.0

type GetConnectedAgentsByProjectIDsRequestMultiError []error

GetConnectedAgentsByProjectIDsRequestMultiError is an error wrapping multiple validation errors returned by GetConnectedAgentsByProjectIDsRequest.ValidateAll() if the designated constraints aren't met.

func (GetConnectedAgentsByProjectIDsRequestMultiError) AllErrors added in v16.8.0

AllErrors returns a list of validation violation errors.

func (GetConnectedAgentsByProjectIDsRequestMultiError) Error added in v16.8.0

Error returns a concatenation of all the error messages it wraps.

type GetConnectedAgentsByProjectIDsRequestValidationError added in v16.8.0

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

GetConnectedAgentsByProjectIDsRequestValidationError is the validation error returned by GetConnectedAgentsByProjectIDsRequest.Validate if the designated constraints aren't met.

func (GetConnectedAgentsByProjectIDsRequestValidationError) Cause added in v16.8.0

Cause function returns cause value.

func (GetConnectedAgentsByProjectIDsRequestValidationError) Error added in v16.8.0

Error satisfies the builtin error interface

func (GetConnectedAgentsByProjectIDsRequestValidationError) ErrorName added in v16.8.0

ErrorName returns error name.

func (GetConnectedAgentsByProjectIDsRequestValidationError) Field added in v16.8.0

Field function returns field value.

func (GetConnectedAgentsByProjectIDsRequestValidationError) Key added in v16.8.0

Key function returns key value.

func (GetConnectedAgentsByProjectIDsRequestValidationError) Reason added in v16.8.0

Reason function returns reason value.

type GetConnectedAgentsByProjectIDsResponse added in v16.8.0

type GetConnectedAgentsByProjectIDsResponse struct {
	Agents []*agent_tracker.ConnectedAgentInfo `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConnectedAgentsByProjectIDsResponse) Descriptor deprecated added in v16.8.0

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

Deprecated: Use GetConnectedAgentsByProjectIDsResponse.ProtoReflect.Descriptor instead.

func (*GetConnectedAgentsByProjectIDsResponse) GetAgents added in v16.8.0

func (*GetConnectedAgentsByProjectIDsResponse) ProtoMessage added in v16.8.0

func (*GetConnectedAgentsByProjectIDsResponse) ProtoReflect added in v16.8.0

func (*GetConnectedAgentsByProjectIDsResponse) Reset added in v16.8.0

func (*GetConnectedAgentsByProjectIDsResponse) String added in v16.8.0

func (*GetConnectedAgentsByProjectIDsResponse) Validate added in v16.8.0

Validate checks the field values on GetConnectedAgentsByProjectIDsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetConnectedAgentsByProjectIDsResponse) ValidateAll added in v16.8.0

ValidateAll checks the field values on GetConnectedAgentsByProjectIDsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetConnectedAgentsByProjectIDsResponseMultiError, or nil if none found.

type GetConnectedAgentsByProjectIDsResponseMultiError added in v16.8.0

type GetConnectedAgentsByProjectIDsResponseMultiError []error

GetConnectedAgentsByProjectIDsResponseMultiError is an error wrapping multiple validation errors returned by GetConnectedAgentsByProjectIDsResponse.ValidateAll() if the designated constraints aren't met.

func (GetConnectedAgentsByProjectIDsResponseMultiError) AllErrors added in v16.8.0

AllErrors returns a list of validation violation errors.

func (GetConnectedAgentsByProjectIDsResponseMultiError) Error added in v16.8.0

Error returns a concatenation of all the error messages it wraps.

type GetConnectedAgentsByProjectIDsResponseValidationError added in v16.8.0

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

GetConnectedAgentsByProjectIDsResponseValidationError is the validation error returned by GetConnectedAgentsByProjectIDsResponse.Validate if the designated constraints aren't met.

func (GetConnectedAgentsByProjectIDsResponseValidationError) Cause added in v16.8.0

Cause function returns cause value.

func (GetConnectedAgentsByProjectIDsResponseValidationError) Error added in v16.8.0

Error satisfies the builtin error interface

func (GetConnectedAgentsByProjectIDsResponseValidationError) ErrorName added in v16.8.0

ErrorName returns error name.

func (GetConnectedAgentsByProjectIDsResponseValidationError) Field added in v16.8.0

Field function returns field value.

func (GetConnectedAgentsByProjectIDsResponseValidationError) Key added in v16.8.0

Key function returns key value.

func (GetConnectedAgentsByProjectIDsResponseValidationError) Reason added in v16.8.0

Reason function returns reason value.

type GetConnectedAgentsRequest

type GetConnectedAgentsRequest struct {

	// Types that are assignable to Request:
	//
	//	*GetConnectedAgentsRequest_ProjectId
	//	*GetConnectedAgentsRequest_AgentId
	Request isGetConnectedAgentsRequest_Request `protobuf_oneof:"request"`
	// contains filtered or unexported fields
}

func (*GetConnectedAgentsRequest) Descriptor deprecated

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

Deprecated: Use GetConnectedAgentsRequest.ProtoReflect.Descriptor instead.

func (*GetConnectedAgentsRequest) GetAgentId

func (x *GetConnectedAgentsRequest) GetAgentId() int64

func (*GetConnectedAgentsRequest) GetProjectId

func (x *GetConnectedAgentsRequest) GetProjectId() int64

func (*GetConnectedAgentsRequest) GetRequest

func (m *GetConnectedAgentsRequest) GetRequest() isGetConnectedAgentsRequest_Request

func (*GetConnectedAgentsRequest) ProtoMessage

func (*GetConnectedAgentsRequest) ProtoMessage()

func (*GetConnectedAgentsRequest) ProtoReflect

func (*GetConnectedAgentsRequest) Reset

func (x *GetConnectedAgentsRequest) Reset()

func (*GetConnectedAgentsRequest) String

func (x *GetConnectedAgentsRequest) String() string

func (*GetConnectedAgentsRequest) Validate

func (m *GetConnectedAgentsRequest) Validate() error

Validate checks the field values on GetConnectedAgentsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetConnectedAgentsRequest) ValidateAll

func (m *GetConnectedAgentsRequest) ValidateAll() error

ValidateAll checks the field values on GetConnectedAgentsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetConnectedAgentsRequestMultiError, or nil if none found.

type GetConnectedAgentsRequestMultiError

type GetConnectedAgentsRequestMultiError []error

GetConnectedAgentsRequestMultiError is an error wrapping multiple validation errors returned by GetConnectedAgentsRequest.ValidateAll() if the designated constraints aren't met.

func (GetConnectedAgentsRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetConnectedAgentsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetConnectedAgentsRequestValidationError

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

GetConnectedAgentsRequestValidationError is the validation error returned by GetConnectedAgentsRequest.Validate if the designated constraints aren't met.

func (GetConnectedAgentsRequestValidationError) Cause

Cause function returns cause value.

func (GetConnectedAgentsRequestValidationError) Error

Error satisfies the builtin error interface

func (GetConnectedAgentsRequestValidationError) ErrorName

ErrorName returns error name.

func (GetConnectedAgentsRequestValidationError) Field

Field function returns field value.

func (GetConnectedAgentsRequestValidationError) Key

Key function returns key value.

func (GetConnectedAgentsRequestValidationError) Reason

Reason function returns reason value.

type GetConnectedAgentsRequest_AgentId

type GetConnectedAgentsRequest_AgentId struct {
	AgentId int64 `protobuf:"varint,2,opt,name=agent_id,json=agentId,proto3,oneof"`
}

type GetConnectedAgentsRequest_ProjectId

type GetConnectedAgentsRequest_ProjectId struct {
	ProjectId int64 `protobuf:"varint,1,opt,name=project_id,json=projectId,proto3,oneof"`
}

type GetConnectedAgentsResponse

type GetConnectedAgentsResponse struct {
	Agents []*agent_tracker.ConnectedAgentInfo `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConnectedAgentsResponse) Descriptor deprecated

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

Deprecated: Use GetConnectedAgentsResponse.ProtoReflect.Descriptor instead.

func (*GetConnectedAgentsResponse) GetAgents

func (*GetConnectedAgentsResponse) ProtoMessage

func (*GetConnectedAgentsResponse) ProtoMessage()

func (*GetConnectedAgentsResponse) ProtoReflect

func (*GetConnectedAgentsResponse) Reset

func (x *GetConnectedAgentsResponse) Reset()

func (*GetConnectedAgentsResponse) String

func (x *GetConnectedAgentsResponse) String() string

func (*GetConnectedAgentsResponse) Validate

func (m *GetConnectedAgentsResponse) Validate() error

Validate checks the field values on GetConnectedAgentsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetConnectedAgentsResponse) ValidateAll

func (m *GetConnectedAgentsResponse) ValidateAll() error

ValidateAll checks the field values on GetConnectedAgentsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetConnectedAgentsResponseMultiError, or nil if none found.

type GetConnectedAgentsResponseMultiError

type GetConnectedAgentsResponseMultiError []error

GetConnectedAgentsResponseMultiError is an error wrapping multiple validation errors returned by GetConnectedAgentsResponse.ValidateAll() if the designated constraints aren't met.

func (GetConnectedAgentsResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (GetConnectedAgentsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetConnectedAgentsResponseValidationError

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

GetConnectedAgentsResponseValidationError is the validation error returned by GetConnectedAgentsResponse.Validate if the designated constraints aren't met.

func (GetConnectedAgentsResponseValidationError) Cause

Cause function returns cause value.

func (GetConnectedAgentsResponseValidationError) Error

Error satisfies the builtin error interface

func (GetConnectedAgentsResponseValidationError) ErrorName

ErrorName returns error name.

func (GetConnectedAgentsResponseValidationError) Field

Field function returns field value.

func (GetConnectedAgentsResponseValidationError) Key

Key function returns key value.

func (GetConnectedAgentsResponseValidationError) Reason

Reason function returns reason value.

type UnimplementedAgentTrackerServer

type UnimplementedAgentTrackerServer struct {
}

UnimplementedAgentTrackerServer must be embedded to have forward compatible implementations.

func (UnimplementedAgentTrackerServer) CountAgentsByAgentVersions added in v16.10.0

func (UnimplementedAgentTrackerServer) GetConnectedAgents

func (UnimplementedAgentTrackerServer) GetConnectedAgentsByAgentIDs added in v16.8.0

func (UnimplementedAgentTrackerServer) GetConnectedAgentsByAgentIds added in v16.6.0

func (UnimplementedAgentTrackerServer) GetConnectedAgentsByProjectIDs added in v16.8.0

func (UnimplementedAgentTrackerServer) GetConnectedAgentsByProjectIds added in v16.6.0

type UnsafeAgentTrackerServer

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

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

Jump to

Keyboard shortcuts

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