Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterAgentTrackerServer(s grpc.ServiceRegistrar, srv AgentTrackerServer)
- type AgentTrackerClient
- type AgentTrackerServer
- type GetConnectedAgentsByAgentIdsRequest
- func (*GetConnectedAgentsByAgentIdsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetConnectedAgentsByAgentIdsRequest) GetAgentIds() []int64
- func (*GetConnectedAgentsByAgentIdsRequest) ProtoMessage()
- func (x *GetConnectedAgentsByAgentIdsRequest) ProtoReflect() protoreflect.Message
- func (x *GetConnectedAgentsByAgentIdsRequest) Reset()
- func (x *GetConnectedAgentsByAgentIdsRequest) String() string
- func (m *GetConnectedAgentsByAgentIdsRequest) Validate() error
- func (m *GetConnectedAgentsByAgentIdsRequest) ValidateAll() error
- type GetConnectedAgentsByAgentIdsRequestMultiError
- type GetConnectedAgentsByAgentIdsRequestValidationError
- func (e GetConnectedAgentsByAgentIdsRequestValidationError) Cause() error
- func (e GetConnectedAgentsByAgentIdsRequestValidationError) Error() string
- func (e GetConnectedAgentsByAgentIdsRequestValidationError) ErrorName() string
- func (e GetConnectedAgentsByAgentIdsRequestValidationError) Field() string
- func (e GetConnectedAgentsByAgentIdsRequestValidationError) Key() bool
- func (e GetConnectedAgentsByAgentIdsRequestValidationError) Reason() string
- type GetConnectedAgentsByAgentIdsResponse
- func (*GetConnectedAgentsByAgentIdsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetConnectedAgentsByAgentIdsResponse) GetAgents() []*agent_tracker.ConnectedAgentInfo
- func (*GetConnectedAgentsByAgentIdsResponse) ProtoMessage()
- func (x *GetConnectedAgentsByAgentIdsResponse) ProtoReflect() protoreflect.Message
- func (x *GetConnectedAgentsByAgentIdsResponse) Reset()
- func (x *GetConnectedAgentsByAgentIdsResponse) String() string
- func (m *GetConnectedAgentsByAgentIdsResponse) Validate() error
- func (m *GetConnectedAgentsByAgentIdsResponse) ValidateAll() error
- type GetConnectedAgentsByAgentIdsResponseMultiError
- type GetConnectedAgentsByAgentIdsResponseValidationError
- func (e GetConnectedAgentsByAgentIdsResponseValidationError) Cause() error
- func (e GetConnectedAgentsByAgentIdsResponseValidationError) Error() string
- func (e GetConnectedAgentsByAgentIdsResponseValidationError) ErrorName() string
- func (e GetConnectedAgentsByAgentIdsResponseValidationError) Field() string
- func (e GetConnectedAgentsByAgentIdsResponseValidationError) Key() bool
- func (e GetConnectedAgentsByAgentIdsResponseValidationError) Reason() string
- type GetConnectedAgentsByProjectIDsRequest
- func (*GetConnectedAgentsByProjectIDsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetConnectedAgentsByProjectIDsRequest) GetProjectIds() []int64
- func (*GetConnectedAgentsByProjectIDsRequest) ProtoMessage()
- func (x *GetConnectedAgentsByProjectIDsRequest) ProtoReflect() protoreflect.Message
- func (x *GetConnectedAgentsByProjectIDsRequest) Reset()
- func (x *GetConnectedAgentsByProjectIDsRequest) String() string
- func (m *GetConnectedAgentsByProjectIDsRequest) Validate() error
- func (m *GetConnectedAgentsByProjectIDsRequest) ValidateAll() error
- type GetConnectedAgentsByProjectIDsRequestMultiError
- type GetConnectedAgentsByProjectIDsRequestValidationError
- func (e GetConnectedAgentsByProjectIDsRequestValidationError) Cause() error
- func (e GetConnectedAgentsByProjectIDsRequestValidationError) Error() string
- func (e GetConnectedAgentsByProjectIDsRequestValidationError) ErrorName() string
- func (e GetConnectedAgentsByProjectIDsRequestValidationError) Field() string
- func (e GetConnectedAgentsByProjectIDsRequestValidationError) Key() bool
- func (e GetConnectedAgentsByProjectIDsRequestValidationError) Reason() string
- type GetConnectedAgentsByProjectIDsResponse
- func (*GetConnectedAgentsByProjectIDsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetConnectedAgentsByProjectIDsResponse) GetAgents() []*agent_tracker.ConnectedAgentInfo
- func (*GetConnectedAgentsByProjectIDsResponse) ProtoMessage()
- func (x *GetConnectedAgentsByProjectIDsResponse) ProtoReflect() protoreflect.Message
- func (x *GetConnectedAgentsByProjectIDsResponse) Reset()
- func (x *GetConnectedAgentsByProjectIDsResponse) String() string
- func (m *GetConnectedAgentsByProjectIDsResponse) Validate() error
- func (m *GetConnectedAgentsByProjectIDsResponse) ValidateAll() error
- type GetConnectedAgentsByProjectIDsResponseMultiError
- type GetConnectedAgentsByProjectIDsResponseValidationError
- func (e GetConnectedAgentsByProjectIDsResponseValidationError) Cause() error
- func (e GetConnectedAgentsByProjectIDsResponseValidationError) Error() string
- func (e GetConnectedAgentsByProjectIDsResponseValidationError) ErrorName() string
- func (e GetConnectedAgentsByProjectIDsResponseValidationError) Field() string
- func (e GetConnectedAgentsByProjectIDsResponseValidationError) Key() bool
- func (e GetConnectedAgentsByProjectIDsResponseValidationError) Reason() string
- type GetConnectedAgentsRequest
- func (*GetConnectedAgentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetConnectedAgentsRequest) GetAgentId() int64
- func (x *GetConnectedAgentsRequest) GetProjectId() int64
- func (m *GetConnectedAgentsRequest) GetRequest() isGetConnectedAgentsRequest_Request
- func (*GetConnectedAgentsRequest) ProtoMessage()
- func (x *GetConnectedAgentsRequest) ProtoReflect() protoreflect.Message
- func (x *GetConnectedAgentsRequest) Reset()
- func (x *GetConnectedAgentsRequest) String() string
- func (m *GetConnectedAgentsRequest) Validate() error
- func (m *GetConnectedAgentsRequest) ValidateAll() error
- type GetConnectedAgentsRequestMultiError
- type GetConnectedAgentsRequestValidationError
- func (e GetConnectedAgentsRequestValidationError) Cause() error
- func (e GetConnectedAgentsRequestValidationError) Error() string
- func (e GetConnectedAgentsRequestValidationError) ErrorName() string
- func (e GetConnectedAgentsRequestValidationError) Field() string
- func (e GetConnectedAgentsRequestValidationError) Key() bool
- func (e GetConnectedAgentsRequestValidationError) Reason() string
- type GetConnectedAgentsRequest_AgentId
- type GetConnectedAgentsRequest_ProjectId
- type GetConnectedAgentsResponse
- func (*GetConnectedAgentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetConnectedAgentsResponse) GetAgents() []*agent_tracker.ConnectedAgentInfo
- func (*GetConnectedAgentsResponse) ProtoMessage()
- func (x *GetConnectedAgentsResponse) ProtoReflect() protoreflect.Message
- func (x *GetConnectedAgentsResponse) Reset()
- func (x *GetConnectedAgentsResponse) String() string
- func (m *GetConnectedAgentsResponse) Validate() error
- func (m *GetConnectedAgentsResponse) ValidateAll() error
- type GetConnectedAgentsResponseMultiError
- type GetConnectedAgentsResponseValidationError
- func (e GetConnectedAgentsResponseValidationError) Cause() error
- func (e GetConnectedAgentsResponseValidationError) Error() string
- func (e GetConnectedAgentsResponseValidationError) ErrorName() string
- func (e GetConnectedAgentsResponseValidationError) Field() string
- func (e GetConnectedAgentsResponseValidationError) Key() bool
- func (e GetConnectedAgentsResponseValidationError) Reason() string
- type UnimplementedAgentTrackerServer
- func (UnimplementedAgentTrackerServer) GetConnectedAgents(context.Context, *GetConnectedAgentsRequest) (*GetConnectedAgentsResponse, error)
- func (UnimplementedAgentTrackerServer) GetConnectedAgentsByAgentIds(context.Context, *GetConnectedAgentsByAgentIdsRequest) (*GetConnectedAgentsByAgentIdsResponse, error)
- func (UnimplementedAgentTrackerServer) GetConnectedAgentsByProjectIds(context.Context, *GetConnectedAgentsByProjectIDsRequest) (*GetConnectedAgentsByProjectIDsResponse, error)
- type UnsafeAgentTrackerServer
Constants ¶
const ( AgentTracker_GetConnectedAgents_FullMethodName = "/gitlab.agent.agent_tracker.rpc.AgentTracker/GetConnectedAgents" AgentTracker_GetConnectedAgentsByProjectIds_FullMethodName = "/gitlab.agent.agent_tracker.rpc.AgentTracker/GetConnectedAgentsByProjectIds" AgentTracker_GetConnectedAgentsByAgentIds_FullMethodName = "/gitlab.agent.agent_tracker.rpc.AgentTracker/GetConnectedAgentsByAgentIds" )
Variables ¶
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: "GetConnectedAgentsByAgentIds", Handler: _AgentTracker_GetConnectedAgentsByAgentIds_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)
var File_internal_module_agent_tracker_rpc_rpc_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAgentTrackerServer ¶
func RegisterAgentTrackerServer(s grpc.ServiceRegistrar, srv AgentTrackerServer)
Types ¶
type AgentTrackerClient ¶
type AgentTrackerClient interface { GetConnectedAgents(ctx context.Context, in *GetConnectedAgentsRequest, opts ...grpc.CallOption) (*GetConnectedAgentsResponse, error) GetConnectedAgentsByProjectIds(ctx context.Context, in *GetConnectedAgentsByProjectIDsRequest, opts ...grpc.CallOption) (*GetConnectedAgentsByProjectIDsResponse, error) GetConnectedAgentsByAgentIds(ctx context.Context, in *GetConnectedAgentsByAgentIdsRequest, opts ...grpc.CallOption) (*GetConnectedAgentsByAgentIdsResponse, error) }
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.
func NewAgentTrackerClient ¶
func NewAgentTrackerClient(cc grpc.ClientConnInterface) AgentTrackerClient
type AgentTrackerServer ¶
type AgentTrackerServer interface { GetConnectedAgents(context.Context, *GetConnectedAgentsRequest) (*GetConnectedAgentsResponse, error) GetConnectedAgentsByProjectIds(context.Context, *GetConnectedAgentsByProjectIDsRequest) (*GetConnectedAgentsByProjectIDsResponse, error) GetConnectedAgentsByAgentIds(context.Context, *GetConnectedAgentsByAgentIdsRequest) (*GetConnectedAgentsByAgentIdsResponse, error) // contains filtered or unexported methods }
AgentTrackerServer is the server API for AgentTracker service. All implementations must embed UnimplementedAgentTrackerServer for forward compatibility
type GetConnectedAgentsByAgentIdsRequest ¶ added in v16.6.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.6.0
func (*GetConnectedAgentsByAgentIdsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConnectedAgentsByAgentIdsRequest.ProtoReflect.Descriptor instead.
func (*GetConnectedAgentsByAgentIdsRequest) GetAgentIds ¶ added in v16.6.0
func (x *GetConnectedAgentsByAgentIdsRequest) GetAgentIds() []int64
func (*GetConnectedAgentsByAgentIdsRequest) ProtoMessage ¶ added in v16.6.0
func (*GetConnectedAgentsByAgentIdsRequest) ProtoMessage()
func (*GetConnectedAgentsByAgentIdsRequest) ProtoReflect ¶ added in v16.6.0
func (x *GetConnectedAgentsByAgentIdsRequest) ProtoReflect() protoreflect.Message
func (*GetConnectedAgentsByAgentIdsRequest) Reset ¶ added in v16.6.0
func (x *GetConnectedAgentsByAgentIdsRequest) Reset()
func (*GetConnectedAgentsByAgentIdsRequest) String ¶ added in v16.6.0
func (x *GetConnectedAgentsByAgentIdsRequest) String() string
func (*GetConnectedAgentsByAgentIdsRequest) Validate ¶ added in v16.6.0
func (m *GetConnectedAgentsByAgentIdsRequest) Validate() error
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.6.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.6.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.6.0
func (m GetConnectedAgentsByAgentIdsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetConnectedAgentsByAgentIdsRequestMultiError) Error ¶ added in v16.6.0
func (m GetConnectedAgentsByAgentIdsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetConnectedAgentsByAgentIdsRequestValidationError ¶ added in v16.6.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.6.0
func (e GetConnectedAgentsByAgentIdsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetConnectedAgentsByAgentIdsRequestValidationError) Error ¶ added in v16.6.0
func (e GetConnectedAgentsByAgentIdsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetConnectedAgentsByAgentIdsRequestValidationError) ErrorName ¶ added in v16.6.0
func (e GetConnectedAgentsByAgentIdsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetConnectedAgentsByAgentIdsRequestValidationError) Field ¶ added in v16.6.0
func (e GetConnectedAgentsByAgentIdsRequestValidationError) Field() string
Field function returns field value.
func (GetConnectedAgentsByAgentIdsRequestValidationError) Key ¶ added in v16.6.0
func (e GetConnectedAgentsByAgentIdsRequestValidationError) Key() bool
Key function returns key value.
func (GetConnectedAgentsByAgentIdsRequestValidationError) Reason ¶ added in v16.6.0
func (e GetConnectedAgentsByAgentIdsRequestValidationError) Reason() string
Reason function returns reason value.
type GetConnectedAgentsByAgentIdsResponse ¶ added in v16.6.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.6.0
func (*GetConnectedAgentsByAgentIdsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetConnectedAgentsByAgentIdsResponse.ProtoReflect.Descriptor instead.
func (*GetConnectedAgentsByAgentIdsResponse) GetAgents ¶ added in v16.6.0
func (x *GetConnectedAgentsByAgentIdsResponse) GetAgents() []*agent_tracker.ConnectedAgentInfo
func (*GetConnectedAgentsByAgentIdsResponse) ProtoMessage ¶ added in v16.6.0
func (*GetConnectedAgentsByAgentIdsResponse) ProtoMessage()
func (*GetConnectedAgentsByAgentIdsResponse) ProtoReflect ¶ added in v16.6.0
func (x *GetConnectedAgentsByAgentIdsResponse) ProtoReflect() protoreflect.Message
func (*GetConnectedAgentsByAgentIdsResponse) Reset ¶ added in v16.6.0
func (x *GetConnectedAgentsByAgentIdsResponse) Reset()
func (*GetConnectedAgentsByAgentIdsResponse) String ¶ added in v16.6.0
func (x *GetConnectedAgentsByAgentIdsResponse) String() string
func (*GetConnectedAgentsByAgentIdsResponse) Validate ¶ added in v16.6.0
func (m *GetConnectedAgentsByAgentIdsResponse) Validate() error
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.6.0
func (m *GetConnectedAgentsByAgentIdsResponse) ValidateAll() error
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.6.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.6.0
func (m GetConnectedAgentsByAgentIdsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetConnectedAgentsByAgentIdsResponseMultiError) Error ¶ added in v16.6.0
func (m GetConnectedAgentsByAgentIdsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetConnectedAgentsByAgentIdsResponseValidationError ¶ added in v16.6.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.6.0
func (e GetConnectedAgentsByAgentIdsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetConnectedAgentsByAgentIdsResponseValidationError) Error ¶ added in v16.6.0
func (e GetConnectedAgentsByAgentIdsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetConnectedAgentsByAgentIdsResponseValidationError) ErrorName ¶ added in v16.6.0
func (e GetConnectedAgentsByAgentIdsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetConnectedAgentsByAgentIdsResponseValidationError) Field ¶ added in v16.6.0
func (e GetConnectedAgentsByAgentIdsResponseValidationError) Field() string
Field function returns field value.
func (GetConnectedAgentsByAgentIdsResponseValidationError) Key ¶ added in v16.6.0
func (e GetConnectedAgentsByAgentIdsResponseValidationError) Key() bool
Key function returns key value.
func (GetConnectedAgentsByAgentIdsResponseValidationError) Reason ¶ added in v16.6.0
func (e GetConnectedAgentsByAgentIdsResponseValidationError) Reason() string
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 (x *GetConnectedAgentsByProjectIDsRequest) ProtoReflect() protoreflect.Message
func (*GetConnectedAgentsByProjectIDsRequest) Reset ¶ added in v16.8.0
func (x *GetConnectedAgentsByProjectIDsRequest) Reset()
func (*GetConnectedAgentsByProjectIDsRequest) String ¶ added in v16.8.0
func (x *GetConnectedAgentsByProjectIDsRequest) String() string
func (*GetConnectedAgentsByProjectIDsRequest) Validate ¶ added in v16.8.0
func (m *GetConnectedAgentsByProjectIDsRequest) Validate() error
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
func (m *GetConnectedAgentsByProjectIDsRequest) ValidateAll() error
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
func (m GetConnectedAgentsByProjectIDsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetConnectedAgentsByProjectIDsRequestMultiError) Error ¶ added in v16.8.0
func (m GetConnectedAgentsByProjectIDsRequestMultiError) Error() string
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
func (e GetConnectedAgentsByProjectIDsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetConnectedAgentsByProjectIDsRequestValidationError) Error ¶ added in v16.8.0
func (e GetConnectedAgentsByProjectIDsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetConnectedAgentsByProjectIDsRequestValidationError) ErrorName ¶ added in v16.8.0
func (e GetConnectedAgentsByProjectIDsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetConnectedAgentsByProjectIDsRequestValidationError) Field ¶ added in v16.8.0
func (e GetConnectedAgentsByProjectIDsRequestValidationError) Field() string
Field function returns field value.
func (GetConnectedAgentsByProjectIDsRequestValidationError) Key ¶ added in v16.8.0
func (e GetConnectedAgentsByProjectIDsRequestValidationError) Key() bool
Key function returns key value.
func (GetConnectedAgentsByProjectIDsRequestValidationError) Reason ¶ added in v16.8.0
func (e GetConnectedAgentsByProjectIDsRequestValidationError) Reason() string
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 (x *GetConnectedAgentsByProjectIDsResponse) GetAgents() []*agent_tracker.ConnectedAgentInfo
func (*GetConnectedAgentsByProjectIDsResponse) ProtoMessage ¶ added in v16.8.0
func (*GetConnectedAgentsByProjectIDsResponse) ProtoMessage()
func (*GetConnectedAgentsByProjectIDsResponse) ProtoReflect ¶ added in v16.8.0
func (x *GetConnectedAgentsByProjectIDsResponse) ProtoReflect() protoreflect.Message
func (*GetConnectedAgentsByProjectIDsResponse) Reset ¶ added in v16.8.0
func (x *GetConnectedAgentsByProjectIDsResponse) Reset()
func (*GetConnectedAgentsByProjectIDsResponse) String ¶ added in v16.8.0
func (x *GetConnectedAgentsByProjectIDsResponse) String() string
func (*GetConnectedAgentsByProjectIDsResponse) Validate ¶ added in v16.8.0
func (m *GetConnectedAgentsByProjectIDsResponse) Validate() error
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
func (m *GetConnectedAgentsByProjectIDsResponse) ValidateAll() error
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
func (m GetConnectedAgentsByProjectIDsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetConnectedAgentsByProjectIDsResponseMultiError) Error ¶ added in v16.8.0
func (m GetConnectedAgentsByProjectIDsResponseMultiError) Error() string
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
func (e GetConnectedAgentsByProjectIDsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetConnectedAgentsByProjectIDsResponseValidationError) Error ¶ added in v16.8.0
func (e GetConnectedAgentsByProjectIDsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetConnectedAgentsByProjectIDsResponseValidationError) ErrorName ¶ added in v16.8.0
func (e GetConnectedAgentsByProjectIDsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetConnectedAgentsByProjectIDsResponseValidationError) Field ¶ added in v16.8.0
func (e GetConnectedAgentsByProjectIDsResponseValidationError) Field() string
Field function returns field value.
func (GetConnectedAgentsByProjectIDsResponseValidationError) Key ¶ added in v16.8.0
func (e GetConnectedAgentsByProjectIDsResponseValidationError) Key() bool
Key function returns key value.
func (GetConnectedAgentsByProjectIDsResponseValidationError) Reason ¶ added in v16.8.0
func (e GetConnectedAgentsByProjectIDsResponseValidationError) Reason() string
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 (x *GetConnectedAgentsRequest) ProtoReflect() protoreflect.Message
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 ¶
func (m GetConnectedAgentsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetConnectedAgentsRequestMultiError) Error ¶
func (m GetConnectedAgentsRequestMultiError) Error() string
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 ¶
func (e GetConnectedAgentsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetConnectedAgentsRequestValidationError) Error ¶
func (e GetConnectedAgentsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetConnectedAgentsRequestValidationError) ErrorName ¶
func (e GetConnectedAgentsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetConnectedAgentsRequestValidationError) Field ¶
func (e GetConnectedAgentsRequestValidationError) Field() string
Field function returns field value.
func (GetConnectedAgentsRequestValidationError) Key ¶
func (e GetConnectedAgentsRequestValidationError) Key() bool
Key function returns key value.
func (GetConnectedAgentsRequestValidationError) Reason ¶
func (e GetConnectedAgentsRequestValidationError) Reason() string
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 (x *GetConnectedAgentsResponse) GetAgents() []*agent_tracker.ConnectedAgentInfo
func (*GetConnectedAgentsResponse) ProtoMessage ¶
func (*GetConnectedAgentsResponse) ProtoMessage()
func (*GetConnectedAgentsResponse) ProtoReflect ¶
func (x *GetConnectedAgentsResponse) ProtoReflect() protoreflect.Message
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 ¶
func (m GetConnectedAgentsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetConnectedAgentsResponseMultiError) Error ¶
func (m GetConnectedAgentsResponseMultiError) Error() string
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 ¶
func (e GetConnectedAgentsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetConnectedAgentsResponseValidationError) Error ¶
func (e GetConnectedAgentsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetConnectedAgentsResponseValidationError) ErrorName ¶
func (e GetConnectedAgentsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetConnectedAgentsResponseValidationError) Field ¶
func (e GetConnectedAgentsResponseValidationError) Field() string
Field function returns field value.
func (GetConnectedAgentsResponseValidationError) Key ¶
func (e GetConnectedAgentsResponseValidationError) Key() bool
Key function returns key value.
func (GetConnectedAgentsResponseValidationError) Reason ¶
func (e GetConnectedAgentsResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedAgentTrackerServer ¶
type UnimplementedAgentTrackerServer struct { }
UnimplementedAgentTrackerServer must be embedded to have forward compatible implementations.
func (UnimplementedAgentTrackerServer) GetConnectedAgents ¶
func (UnimplementedAgentTrackerServer) GetConnectedAgents(context.Context, *GetConnectedAgentsRequest) (*GetConnectedAgentsResponse, error)
func (UnimplementedAgentTrackerServer) GetConnectedAgentsByAgentIds ¶ added in v16.6.0
func (UnimplementedAgentTrackerServer) GetConnectedAgentsByAgentIds(context.Context, *GetConnectedAgentsByAgentIdsRequest) (*GetConnectedAgentsByAgentIdsResponse, error)
func (UnimplementedAgentTrackerServer) GetConnectedAgentsByProjectIds ¶ added in v16.6.0
func (UnimplementedAgentTrackerServer) GetConnectedAgentsByProjectIds(context.Context, *GetConnectedAgentsByProjectIDsRequest) (*GetConnectedAgentsByProjectIDsResponse, error)
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.