Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterAgentTrackerServer(s grpc.ServiceRegistrar, srv AgentTrackerServer)
- type AgentTrackerClient
- type AgentTrackerServer
- type CountAgentsByAgentVersionsRequest
- func (*CountAgentsByAgentVersionsRequest) Descriptor() ([]byte, []int)deprecated
- func (*CountAgentsByAgentVersionsRequest) ProtoMessage()
- func (x *CountAgentsByAgentVersionsRequest) ProtoReflect() protoreflect.Message
- func (x *CountAgentsByAgentVersionsRequest) Reset()
- func (x *CountAgentsByAgentVersionsRequest) String() string
- func (m *CountAgentsByAgentVersionsRequest) Validate() error
- func (m *CountAgentsByAgentVersionsRequest) ValidateAll() error
- type CountAgentsByAgentVersionsRequestMultiError
- type CountAgentsByAgentVersionsRequestValidationError
- func (e CountAgentsByAgentVersionsRequestValidationError) Cause() error
- func (e CountAgentsByAgentVersionsRequestValidationError) Error() string
- func (e CountAgentsByAgentVersionsRequestValidationError) ErrorName() string
- func (e CountAgentsByAgentVersionsRequestValidationError) Field() string
- func (e CountAgentsByAgentVersionsRequestValidationError) Key() bool
- func (e CountAgentsByAgentVersionsRequestValidationError) Reason() string
- type CountAgentsByAgentVersionsResponse
- func (*CountAgentsByAgentVersionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CountAgentsByAgentVersionsResponse) GetAgentVersions() map[string]int64
- func (*CountAgentsByAgentVersionsResponse) ProtoMessage()
- func (x *CountAgentsByAgentVersionsResponse) ProtoReflect() protoreflect.Message
- func (x *CountAgentsByAgentVersionsResponse) Reset()
- func (x *CountAgentsByAgentVersionsResponse) String() string
- func (m *CountAgentsByAgentVersionsResponse) Validate() error
- func (m *CountAgentsByAgentVersionsResponse) ValidateAll() error
- type CountAgentsByAgentVersionsResponseMultiError
- type CountAgentsByAgentVersionsResponseValidationError
- func (e CountAgentsByAgentVersionsResponseValidationError) Cause() error
- func (e CountAgentsByAgentVersionsResponseValidationError) Error() string
- func (e CountAgentsByAgentVersionsResponseValidationError) ErrorName() string
- func (e CountAgentsByAgentVersionsResponseValidationError) Field() string
- func (e CountAgentsByAgentVersionsResponseValidationError) Key() bool
- func (e CountAgentsByAgentVersionsResponseValidationError) Reason() string
- 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 UnimplementedAgentTrackerServer
- func (UnimplementedAgentTrackerServer) CountAgentsByAgentVersions(context.Context, *CountAgentsByAgentVersionsRequest) (*CountAgentsByAgentVersionsResponse, error)
- func (UnimplementedAgentTrackerServer) GetConnectedAgentsByAgentIDs(context.Context, *GetConnectedAgentsByAgentIDsRequest) (*GetConnectedAgentsByAgentIDsResponse, error)
- func (UnimplementedAgentTrackerServer) GetConnectedAgentsByProjectIDs(context.Context, *GetConnectedAgentsByProjectIDsRequest) (*GetConnectedAgentsByProjectIDsResponse, error)
- type UnsafeAgentTrackerServer
Constants ¶
const ( AgentTracker_GetConnectedAgentsByProjectIDs_FullMethodName = "/gitlab.agent.agent_tracker.rpc.AgentTracker/GetConnectedAgentsByProjectIDs" AgentTracker_GetConnectedAgentsByAgentIDs_FullMethodName = "/gitlab.agent.agent_tracker.rpc.AgentTracker/GetConnectedAgentsByAgentIDs" AgentTracker_CountAgentsByAgentVersions_FullMethodName = "/gitlab.agent.agent_tracker.rpc.AgentTracker/CountAgentsByAgentVersions" )
Variables ¶
var AgentTracker_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gitlab.agent.agent_tracker.rpc.AgentTracker", HandlerType: (*AgentTrackerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetConnectedAgentsByProjectIDs", Handler: _AgentTracker_GetConnectedAgentsByProjectIDs_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)
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 { GetConnectedAgentsByProjectIDs(ctx context.Context, in *GetConnectedAgentsByProjectIDsRequest, opts ...grpc.CallOption) (*GetConnectedAgentsByProjectIDsResponse, error) GetConnectedAgentsByAgentIDs(ctx context.Context, in *GetConnectedAgentsByAgentIDsRequest, opts ...grpc.CallOption) (*GetConnectedAgentsByAgentIDsResponse, error) CountAgentsByAgentVersions(ctx context.Context, in *CountAgentsByAgentVersionsRequest, opts ...grpc.CallOption) (*CountAgentsByAgentVersionsResponse, 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 { GetConnectedAgentsByProjectIDs(context.Context, *GetConnectedAgentsByProjectIDsRequest) (*GetConnectedAgentsByProjectIDsResponse, error) GetConnectedAgentsByAgentIDs(context.Context, *GetConnectedAgentsByAgentIDsRequest) (*GetConnectedAgentsByAgentIDsResponse, error) CountAgentsByAgentVersions(context.Context, *CountAgentsByAgentVersionsRequest) (*CountAgentsByAgentVersionsResponse, error) // contains filtered or unexported methods }
AgentTrackerServer is the server API for AgentTracker service. All implementations must embed UnimplementedAgentTrackerServer for forward compatibility
type CountAgentsByAgentVersionsRequest ¶
type CountAgentsByAgentVersionsRequest struct {
// contains filtered or unexported fields
}
func (*CountAgentsByAgentVersionsRequest) Descriptor
deprecated
func (*CountAgentsByAgentVersionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CountAgentsByAgentVersionsRequest.ProtoReflect.Descriptor instead.
func (*CountAgentsByAgentVersionsRequest) ProtoMessage ¶
func (*CountAgentsByAgentVersionsRequest) ProtoMessage()
func (*CountAgentsByAgentVersionsRequest) ProtoReflect ¶
func (x *CountAgentsByAgentVersionsRequest) ProtoReflect() protoreflect.Message
func (*CountAgentsByAgentVersionsRequest) Reset ¶
func (x *CountAgentsByAgentVersionsRequest) Reset()
func (*CountAgentsByAgentVersionsRequest) String ¶
func (x *CountAgentsByAgentVersionsRequest) String() string
func (*CountAgentsByAgentVersionsRequest) Validate ¶
func (m *CountAgentsByAgentVersionsRequest) Validate() error
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 ¶
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 ¶
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 ¶
func (m CountAgentsByAgentVersionsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CountAgentsByAgentVersionsRequestMultiError) Error ¶
func (m CountAgentsByAgentVersionsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CountAgentsByAgentVersionsRequestValidationError ¶
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 ¶
func (e CountAgentsByAgentVersionsRequestValidationError) Cause() error
Cause function returns cause value.
func (CountAgentsByAgentVersionsRequestValidationError) Error ¶
func (e CountAgentsByAgentVersionsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CountAgentsByAgentVersionsRequestValidationError) ErrorName ¶
func (e CountAgentsByAgentVersionsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CountAgentsByAgentVersionsRequestValidationError) Field ¶
func (e CountAgentsByAgentVersionsRequestValidationError) Field() string
Field function returns field value.
func (CountAgentsByAgentVersionsRequestValidationError) Key ¶
func (e CountAgentsByAgentVersionsRequestValidationError) Key() bool
Key function returns key value.
func (CountAgentsByAgentVersionsRequestValidationError) Reason ¶
func (e CountAgentsByAgentVersionsRequestValidationError) Reason() string
Reason function returns reason value.
type CountAgentsByAgentVersionsResponse ¶
type CountAgentsByAgentVersionsResponse struct { AgentVersions map[string]int64 `` /* 189-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CountAgentsByAgentVersionsResponse) Descriptor
deprecated
func (*CountAgentsByAgentVersionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CountAgentsByAgentVersionsResponse.ProtoReflect.Descriptor instead.
func (*CountAgentsByAgentVersionsResponse) GetAgentVersions ¶
func (x *CountAgentsByAgentVersionsResponse) GetAgentVersions() map[string]int64
func (*CountAgentsByAgentVersionsResponse) ProtoMessage ¶
func (*CountAgentsByAgentVersionsResponse) ProtoMessage()
func (*CountAgentsByAgentVersionsResponse) ProtoReflect ¶
func (x *CountAgentsByAgentVersionsResponse) ProtoReflect() protoreflect.Message
func (*CountAgentsByAgentVersionsResponse) Reset ¶
func (x *CountAgentsByAgentVersionsResponse) Reset()
func (*CountAgentsByAgentVersionsResponse) String ¶
func (x *CountAgentsByAgentVersionsResponse) String() string
func (*CountAgentsByAgentVersionsResponse) Validate ¶
func (m *CountAgentsByAgentVersionsResponse) Validate() error
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 ¶
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 ¶
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 ¶
func (m CountAgentsByAgentVersionsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CountAgentsByAgentVersionsResponseMultiError) Error ¶
func (m CountAgentsByAgentVersionsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CountAgentsByAgentVersionsResponseValidationError ¶
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 ¶
func (e CountAgentsByAgentVersionsResponseValidationError) Cause() error
Cause function returns cause value.
func (CountAgentsByAgentVersionsResponseValidationError) Error ¶
func (e CountAgentsByAgentVersionsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CountAgentsByAgentVersionsResponseValidationError) ErrorName ¶
func (e CountAgentsByAgentVersionsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CountAgentsByAgentVersionsResponseValidationError) Field ¶
func (e CountAgentsByAgentVersionsResponseValidationError) Field() string
Field function returns field value.
func (CountAgentsByAgentVersionsResponseValidationError) Key ¶
func (e CountAgentsByAgentVersionsResponseValidationError) Key() bool
Key function returns key value.
func (CountAgentsByAgentVersionsResponseValidationError) Reason ¶
func (e CountAgentsByAgentVersionsResponseValidationError) Reason() string
Reason function returns reason value.
type GetConnectedAgentsByAgentIDsRequest ¶
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
func (*GetConnectedAgentsByAgentIDsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConnectedAgentsByAgentIDsRequest.ProtoReflect.Descriptor instead.
func (*GetConnectedAgentsByAgentIDsRequest) GetAgentIds ¶
func (x *GetConnectedAgentsByAgentIDsRequest) GetAgentIds() []int64
func (*GetConnectedAgentsByAgentIDsRequest) ProtoMessage ¶
func (*GetConnectedAgentsByAgentIDsRequest) ProtoMessage()
func (*GetConnectedAgentsByAgentIDsRequest) ProtoReflect ¶
func (x *GetConnectedAgentsByAgentIDsRequest) ProtoReflect() protoreflect.Message
func (*GetConnectedAgentsByAgentIDsRequest) Reset ¶
func (x *GetConnectedAgentsByAgentIDsRequest) Reset()
func (*GetConnectedAgentsByAgentIDsRequest) String ¶
func (x *GetConnectedAgentsByAgentIDsRequest) String() string
func (*GetConnectedAgentsByAgentIDsRequest) Validate ¶
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 ¶
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 ¶
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 ¶
func (m GetConnectedAgentsByAgentIDsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetConnectedAgentsByAgentIDsRequestMultiError) Error ¶
func (m GetConnectedAgentsByAgentIDsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetConnectedAgentsByAgentIDsRequestValidationError ¶
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 ¶
func (e GetConnectedAgentsByAgentIDsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetConnectedAgentsByAgentIDsRequestValidationError) Error ¶
func (e GetConnectedAgentsByAgentIDsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetConnectedAgentsByAgentIDsRequestValidationError) ErrorName ¶
func (e GetConnectedAgentsByAgentIDsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetConnectedAgentsByAgentIDsRequestValidationError) Field ¶
func (e GetConnectedAgentsByAgentIDsRequestValidationError) Field() string
Field function returns field value.
func (GetConnectedAgentsByAgentIDsRequestValidationError) Key ¶
func (e GetConnectedAgentsByAgentIDsRequestValidationError) Key() bool
Key function returns key value.
func (GetConnectedAgentsByAgentIDsRequestValidationError) Reason ¶
func (e GetConnectedAgentsByAgentIDsRequestValidationError) Reason() string
Reason function returns reason value.
type GetConnectedAgentsByAgentIDsResponse ¶
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
func (*GetConnectedAgentsByAgentIDsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetConnectedAgentsByAgentIDsResponse.ProtoReflect.Descriptor instead.
func (*GetConnectedAgentsByAgentIDsResponse) GetAgents ¶
func (x *GetConnectedAgentsByAgentIDsResponse) GetAgents() []*agent_tracker.ConnectedAgentInfo
func (*GetConnectedAgentsByAgentIDsResponse) ProtoMessage ¶
func (*GetConnectedAgentsByAgentIDsResponse) ProtoMessage()
func (*GetConnectedAgentsByAgentIDsResponse) ProtoReflect ¶
func (x *GetConnectedAgentsByAgentIDsResponse) ProtoReflect() protoreflect.Message
func (*GetConnectedAgentsByAgentIDsResponse) Reset ¶
func (x *GetConnectedAgentsByAgentIDsResponse) Reset()
func (*GetConnectedAgentsByAgentIDsResponse) String ¶
func (x *GetConnectedAgentsByAgentIDsResponse) String() string
func (*GetConnectedAgentsByAgentIDsResponse) Validate ¶
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 ¶
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 ¶
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 ¶
func (m GetConnectedAgentsByAgentIDsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetConnectedAgentsByAgentIDsResponseMultiError) Error ¶
func (m GetConnectedAgentsByAgentIDsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetConnectedAgentsByAgentIDsResponseValidationError ¶
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 ¶
func (e GetConnectedAgentsByAgentIDsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetConnectedAgentsByAgentIDsResponseValidationError) Error ¶
func (e GetConnectedAgentsByAgentIDsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetConnectedAgentsByAgentIDsResponseValidationError) ErrorName ¶
func (e GetConnectedAgentsByAgentIDsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetConnectedAgentsByAgentIDsResponseValidationError) Field ¶
func (e GetConnectedAgentsByAgentIDsResponseValidationError) Field() string
Field function returns field value.
func (GetConnectedAgentsByAgentIDsResponseValidationError) Key ¶
func (e GetConnectedAgentsByAgentIDsResponseValidationError) Key() bool
Key function returns key value.
func (GetConnectedAgentsByAgentIDsResponseValidationError) Reason ¶
func (e GetConnectedAgentsByAgentIDsResponseValidationError) Reason() string
Reason function returns reason value.
type GetConnectedAgentsByProjectIDsRequest ¶
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
func (*GetConnectedAgentsByProjectIDsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConnectedAgentsByProjectIDsRequest.ProtoReflect.Descriptor instead.
func (*GetConnectedAgentsByProjectIDsRequest) GetProjectIds ¶
func (x *GetConnectedAgentsByProjectIDsRequest) GetProjectIds() []int64
func (*GetConnectedAgentsByProjectIDsRequest) ProtoMessage ¶
func (*GetConnectedAgentsByProjectIDsRequest) ProtoMessage()
func (*GetConnectedAgentsByProjectIDsRequest) ProtoReflect ¶
func (x *GetConnectedAgentsByProjectIDsRequest) ProtoReflect() protoreflect.Message
func (*GetConnectedAgentsByProjectIDsRequest) Reset ¶
func (x *GetConnectedAgentsByProjectIDsRequest) Reset()
func (*GetConnectedAgentsByProjectIDsRequest) String ¶
func (x *GetConnectedAgentsByProjectIDsRequest) String() string
func (*GetConnectedAgentsByProjectIDsRequest) Validate ¶
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 ¶
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 ¶
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 ¶
func (m GetConnectedAgentsByProjectIDsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetConnectedAgentsByProjectIDsRequestMultiError) Error ¶
func (m GetConnectedAgentsByProjectIDsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetConnectedAgentsByProjectIDsRequestValidationError ¶
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 ¶
func (e GetConnectedAgentsByProjectIDsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetConnectedAgentsByProjectIDsRequestValidationError) Error ¶
func (e GetConnectedAgentsByProjectIDsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetConnectedAgentsByProjectIDsRequestValidationError) ErrorName ¶
func (e GetConnectedAgentsByProjectIDsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetConnectedAgentsByProjectIDsRequestValidationError) Field ¶
func (e GetConnectedAgentsByProjectIDsRequestValidationError) Field() string
Field function returns field value.
func (GetConnectedAgentsByProjectIDsRequestValidationError) Key ¶
func (e GetConnectedAgentsByProjectIDsRequestValidationError) Key() bool
Key function returns key value.
func (GetConnectedAgentsByProjectIDsRequestValidationError) Reason ¶
func (e GetConnectedAgentsByProjectIDsRequestValidationError) Reason() string
Reason function returns reason value.
type GetConnectedAgentsByProjectIDsResponse ¶
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
func (*GetConnectedAgentsByProjectIDsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetConnectedAgentsByProjectIDsResponse.ProtoReflect.Descriptor instead.
func (*GetConnectedAgentsByProjectIDsResponse) GetAgents ¶
func (x *GetConnectedAgentsByProjectIDsResponse) GetAgents() []*agent_tracker.ConnectedAgentInfo
func (*GetConnectedAgentsByProjectIDsResponse) ProtoMessage ¶
func (*GetConnectedAgentsByProjectIDsResponse) ProtoMessage()
func (*GetConnectedAgentsByProjectIDsResponse) ProtoReflect ¶
func (x *GetConnectedAgentsByProjectIDsResponse) ProtoReflect() protoreflect.Message
func (*GetConnectedAgentsByProjectIDsResponse) Reset ¶
func (x *GetConnectedAgentsByProjectIDsResponse) Reset()
func (*GetConnectedAgentsByProjectIDsResponse) String ¶
func (x *GetConnectedAgentsByProjectIDsResponse) String() string
func (*GetConnectedAgentsByProjectIDsResponse) Validate ¶
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 ¶
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 ¶
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 ¶
func (m GetConnectedAgentsByProjectIDsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetConnectedAgentsByProjectIDsResponseMultiError) Error ¶
func (m GetConnectedAgentsByProjectIDsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetConnectedAgentsByProjectIDsResponseValidationError ¶
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 ¶
func (e GetConnectedAgentsByProjectIDsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetConnectedAgentsByProjectIDsResponseValidationError) Error ¶
func (e GetConnectedAgentsByProjectIDsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetConnectedAgentsByProjectIDsResponseValidationError) ErrorName ¶
func (e GetConnectedAgentsByProjectIDsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetConnectedAgentsByProjectIDsResponseValidationError) Field ¶
func (e GetConnectedAgentsByProjectIDsResponseValidationError) Field() string
Field function returns field value.
func (GetConnectedAgentsByProjectIDsResponseValidationError) Key ¶
func (e GetConnectedAgentsByProjectIDsResponseValidationError) Key() bool
Key function returns key value.
func (GetConnectedAgentsByProjectIDsResponseValidationError) Reason ¶
func (e GetConnectedAgentsByProjectIDsResponseValidationError) Reason() string
Reason function returns reason value.
type UnimplementedAgentTrackerServer ¶
type UnimplementedAgentTrackerServer struct { }
UnimplementedAgentTrackerServer must be embedded to have forward compatible implementations.
func (UnimplementedAgentTrackerServer) CountAgentsByAgentVersions ¶
func (UnimplementedAgentTrackerServer) CountAgentsByAgentVersions(context.Context, *CountAgentsByAgentVersionsRequest) (*CountAgentsByAgentVersionsResponse, error)
func (UnimplementedAgentTrackerServer) GetConnectedAgentsByAgentIDs ¶
func (UnimplementedAgentTrackerServer) GetConnectedAgentsByAgentIDs(context.Context, *GetConnectedAgentsByAgentIDsRequest) (*GetConnectedAgentsByAgentIDsResponse, error)
func (UnimplementedAgentTrackerServer) GetConnectedAgentsByProjectIDs ¶
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.