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 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) CountAgentsByAgentVersions(context.Context, *CountAgentsByAgentVersionsRequest) (*CountAgentsByAgentVersionsResponse, error)
- func (UnimplementedAgentTrackerServer) GetConnectedAgents(context.Context, *GetConnectedAgentsRequest) (*GetConnectedAgentsResponse, error)
- func (UnimplementedAgentTrackerServer) GetConnectedAgentsByAgentIDs(context.Context, *GetConnectedAgentsByAgentIDsRequest) (*GetConnectedAgentsByAgentIDsResponse, error)
- func (UnimplementedAgentTrackerServer) GetConnectedAgentsByAgentIds(context.Context, *GetConnectedAgentsByAgentIDsRequest) (*GetConnectedAgentsByAgentIDsResponse, error)
- func (UnimplementedAgentTrackerServer) GetConnectedAgentsByProjectIDs(context.Context, *GetConnectedAgentsByProjectIDsRequest) (*GetConnectedAgentsByProjectIDsResponse, 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_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 ¶
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)
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) GetConnectedAgentsByProjectIDs(ctx context.Context, in *GetConnectedAgentsByProjectIDsRequest, opts ...grpc.CallOption) (*GetConnectedAgentsByProjectIDsResponse, error) GetConnectedAgentsByAgentIds(ctx context.Context, in *GetConnectedAgentsByAgentIDsRequest, opts ...grpc.CallOption) (*GetConnectedAgentsByAgentIDsResponse, 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 { GetConnectedAgents(context.Context, *GetConnectedAgentsRequest) (*GetConnectedAgentsResponse, error) GetConnectedAgentsByProjectIds(context.Context, *GetConnectedAgentsByProjectIDsRequest) (*GetConnectedAgentsByProjectIDsResponse, error) GetConnectedAgentsByProjectIDs(context.Context, *GetConnectedAgentsByProjectIDsRequest) (*GetConnectedAgentsByProjectIDsResponse, error) GetConnectedAgentsByAgentIds(context.Context, *GetConnectedAgentsByAgentIDsRequest) (*GetConnectedAgentsByAgentIDsResponse, 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 ¶ 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 (x *CountAgentsByAgentVersionsRequest) ProtoReflect() protoreflect.Message
func (*CountAgentsByAgentVersionsRequest) Reset ¶ added in v16.10.0
func (x *CountAgentsByAgentVersionsRequest) Reset()
func (*CountAgentsByAgentVersionsRequest) String ¶ added in v16.10.0
func (x *CountAgentsByAgentVersionsRequest) String() string
func (*CountAgentsByAgentVersionsRequest) Validate ¶ added in v16.10.0
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 ¶ 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
func (m CountAgentsByAgentVersionsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CountAgentsByAgentVersionsRequestMultiError) Error ¶ added in v16.10.0
func (m CountAgentsByAgentVersionsRequestMultiError) Error() string
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
func (e CountAgentsByAgentVersionsRequestValidationError) Cause() error
Cause function returns cause value.
func (CountAgentsByAgentVersionsRequestValidationError) Error ¶ added in v16.10.0
func (e CountAgentsByAgentVersionsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CountAgentsByAgentVersionsRequestValidationError) ErrorName ¶ added in v16.10.0
func (e CountAgentsByAgentVersionsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CountAgentsByAgentVersionsRequestValidationError) Field ¶ added in v16.10.0
func (e CountAgentsByAgentVersionsRequestValidationError) Field() string
Field function returns field value.
func (CountAgentsByAgentVersionsRequestValidationError) Key ¶ added in v16.10.0
func (e CountAgentsByAgentVersionsRequestValidationError) Key() bool
Key function returns key value.
func (CountAgentsByAgentVersionsRequestValidationError) Reason ¶ added in v16.10.0
func (e CountAgentsByAgentVersionsRequestValidationError) Reason() string
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 (x *CountAgentsByAgentVersionsResponse) ProtoReflect() protoreflect.Message
func (*CountAgentsByAgentVersionsResponse) Reset ¶ added in v16.10.0
func (x *CountAgentsByAgentVersionsResponse) Reset()
func (*CountAgentsByAgentVersionsResponse) String ¶ added in v16.10.0
func (x *CountAgentsByAgentVersionsResponse) String() string
func (*CountAgentsByAgentVersionsResponse) Validate ¶ added in v16.10.0
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 ¶ 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
func (m CountAgentsByAgentVersionsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CountAgentsByAgentVersionsResponseMultiError) Error ¶ added in v16.10.0
func (m CountAgentsByAgentVersionsResponseMultiError) Error() string
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
func (e CountAgentsByAgentVersionsResponseValidationError) Cause() error
Cause function returns cause value.
func (CountAgentsByAgentVersionsResponseValidationError) Error ¶ added in v16.10.0
func (e CountAgentsByAgentVersionsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CountAgentsByAgentVersionsResponseValidationError) ErrorName ¶ added in v16.10.0
func (e CountAgentsByAgentVersionsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CountAgentsByAgentVersionsResponseValidationError) Field ¶ added in v16.10.0
func (e CountAgentsByAgentVersionsResponseValidationError) Field() string
Field function returns field value.
func (CountAgentsByAgentVersionsResponseValidationError) Key ¶ added in v16.10.0
func (e CountAgentsByAgentVersionsResponseValidationError) Key() bool
Key function returns key value.
func (CountAgentsByAgentVersionsResponseValidationError) Reason ¶ added in v16.10.0
func (e CountAgentsByAgentVersionsResponseValidationError) Reason() string
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 (x *GetConnectedAgentsByAgentIDsRequest) ProtoReflect() protoreflect.Message
func (*GetConnectedAgentsByAgentIDsRequest) Reset ¶ added in v16.8.0
func (x *GetConnectedAgentsByAgentIDsRequest) Reset()
func (*GetConnectedAgentsByAgentIDsRequest) String ¶ added in v16.8.0
func (x *GetConnectedAgentsByAgentIDsRequest) String() string
func (*GetConnectedAgentsByAgentIDsRequest) Validate ¶ added in v16.8.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.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
func (m GetConnectedAgentsByAgentIDsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetConnectedAgentsByAgentIDsRequestMultiError) Error ¶ added in v16.8.0
func (m GetConnectedAgentsByAgentIDsRequestMultiError) Error() string
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
func (e GetConnectedAgentsByAgentIDsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetConnectedAgentsByAgentIDsRequestValidationError) Error ¶ added in v16.8.0
func (e GetConnectedAgentsByAgentIDsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetConnectedAgentsByAgentIDsRequestValidationError) ErrorName ¶ added in v16.8.0
func (e GetConnectedAgentsByAgentIDsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetConnectedAgentsByAgentIDsRequestValidationError) Field ¶ added in v16.8.0
func (e GetConnectedAgentsByAgentIDsRequestValidationError) Field() string
Field function returns field value.
func (GetConnectedAgentsByAgentIDsRequestValidationError) Key ¶ added in v16.8.0
func (e GetConnectedAgentsByAgentIDsRequestValidationError) Key() bool
Key function returns key value.
func (GetConnectedAgentsByAgentIDsRequestValidationError) Reason ¶ added in v16.8.0
func (e GetConnectedAgentsByAgentIDsRequestValidationError) Reason() string
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 (x *GetConnectedAgentsByAgentIDsResponse) GetAgents() []*agent_tracker.ConnectedAgentInfo
func (*GetConnectedAgentsByAgentIDsResponse) ProtoMessage ¶ added in v16.8.0
func (*GetConnectedAgentsByAgentIDsResponse) ProtoMessage()
func (*GetConnectedAgentsByAgentIDsResponse) ProtoReflect ¶ added in v16.8.0
func (x *GetConnectedAgentsByAgentIDsResponse) ProtoReflect() protoreflect.Message
func (*GetConnectedAgentsByAgentIDsResponse) Reset ¶ added in v16.8.0
func (x *GetConnectedAgentsByAgentIDsResponse) Reset()
func (*GetConnectedAgentsByAgentIDsResponse) String ¶ added in v16.8.0
func (x *GetConnectedAgentsByAgentIDsResponse) String() string
func (*GetConnectedAgentsByAgentIDsResponse) Validate ¶ added in v16.8.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.8.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.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
func (m GetConnectedAgentsByAgentIDsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetConnectedAgentsByAgentIDsResponseMultiError) Error ¶ added in v16.8.0
func (m GetConnectedAgentsByAgentIDsResponseMultiError) Error() string
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
func (e GetConnectedAgentsByAgentIDsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetConnectedAgentsByAgentIDsResponseValidationError) Error ¶ added in v16.8.0
func (e GetConnectedAgentsByAgentIDsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetConnectedAgentsByAgentIDsResponseValidationError) ErrorName ¶ added in v16.8.0
func (e GetConnectedAgentsByAgentIDsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetConnectedAgentsByAgentIDsResponseValidationError) Field ¶ added in v16.8.0
func (e GetConnectedAgentsByAgentIDsResponseValidationError) Field() string
Field function returns field value.
func (GetConnectedAgentsByAgentIDsResponseValidationError) Key ¶ added in v16.8.0
func (e GetConnectedAgentsByAgentIDsResponseValidationError) Key() bool
Key function returns key value.
func (GetConnectedAgentsByAgentIDsResponseValidationError) Reason ¶ added in v16.8.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) CountAgentsByAgentVersions ¶ added in v16.10.0
func (UnimplementedAgentTrackerServer) CountAgentsByAgentVersions(context.Context, *CountAgentsByAgentVersionsRequest) (*CountAgentsByAgentVersionsResponse, error)
func (UnimplementedAgentTrackerServer) GetConnectedAgents ¶
func (UnimplementedAgentTrackerServer) GetConnectedAgents(context.Context, *GetConnectedAgentsRequest) (*GetConnectedAgentsResponse, error)
func (UnimplementedAgentTrackerServer) GetConnectedAgentsByAgentIDs ¶ added in v16.8.0
func (UnimplementedAgentTrackerServer) GetConnectedAgentsByAgentIDs(context.Context, *GetConnectedAgentsByAgentIDsRequest) (*GetConnectedAgentsByAgentIDsResponse, error)
func (UnimplementedAgentTrackerServer) GetConnectedAgentsByAgentIds ¶ added in v16.6.0
func (UnimplementedAgentTrackerServer) GetConnectedAgentsByAgentIds(context.Context, *GetConnectedAgentsByAgentIDsRequest) (*GetConnectedAgentsByAgentIDsResponse, error)
func (UnimplementedAgentTrackerServer) GetConnectedAgentsByProjectIDs ¶ added in v16.8.0
func (UnimplementedAgentTrackerServer) GetConnectedAgentsByProjectIDs(context.Context, *GetConnectedAgentsByProjectIDsRequest) (*GetConnectedAgentsByProjectIDsResponse, 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.