Versions in this module Expand all Collapse all v1 v1.3.0 May 5, 2026 Changes in this version + const DiscoveryService_GetWorkload_FullMethodName + const DiscoveryService_ListWorkloads_FullMethodName + var DiscoveryService_ServiceDesc = grpc.ServiceDesc + var File_agntcy_dir_runtime_v1_discovery_service_proto protoreflect.FileDescriptor + var File_agntcy_dir_runtime_v1_workload_proto protoreflect.FileDescriptor + var RuntimeType_name = map[int32]string + var RuntimeType_value = map[string]int32 + var WorkloadType_name = map[int32]string + var WorkloadType_value = map[string]int32 + func RegisterDiscoveryServiceServer(s grpc.ServiceRegistrar, srv DiscoveryServiceServer) + type DiscoveryServiceClient interface + GetWorkload func(ctx context.Context, in *GetWorkloadRequest, opts ...grpc.CallOption) (*Workload, error) + ListWorkloads func(ctx context.Context, in *ListWorkloadsRequest, opts ...grpc.CallOption) (DiscoveryService_ListWorkloadsClient, error) + func NewDiscoveryServiceClient(cc grpc.ClientConnInterface) DiscoveryServiceClient + type DiscoveryServiceServer interface + GetWorkload func(context.Context, *GetWorkloadRequest) (*Workload, error) + ListWorkloads func(*ListWorkloadsRequest, DiscoveryService_ListWorkloadsServer) error + type DiscoveryService_ListWorkloadsClient interface + Recv func() (*Workload, error) + type DiscoveryService_ListWorkloadsServer interface + Send func(*Workload) error + type GetWorkloadRequest struct + Id string + func (*GetWorkloadRequest) Descriptor() ([]byte, []int) + func (*GetWorkloadRequest) ProtoMessage() + func (x *GetWorkloadRequest) GetId() string + func (x *GetWorkloadRequest) ProtoReflect() protoreflect.Message + func (x *GetWorkloadRequest) Reset() + func (x *GetWorkloadRequest) String() string + type ListWorkloadsRequest struct + Labels map[string]string + func (*ListWorkloadsRequest) Descriptor() ([]byte, []int) + func (*ListWorkloadsRequest) ProtoMessage() + func (x *ListWorkloadsRequest) GetLabels() map[string]string + func (x *ListWorkloadsRequest) ProtoReflect() protoreflect.Message + func (x *ListWorkloadsRequest) Reset() + func (x *ListWorkloadsRequest) String() string + type RuntimeType int32 + const RuntimeType_RUNTIME_TYPE_DOCKER + const RuntimeType_RUNTIME_TYPE_KUBERNETES + const RuntimeType_RUNTIME_TYPE_UNSPECIFIED + func (RuntimeType) Descriptor() protoreflect.EnumDescriptor + func (RuntimeType) EnumDescriptor() ([]byte, []int) + func (RuntimeType) Type() protoreflect.EnumType + func (x RuntimeType) Enum() *RuntimeType + func (x RuntimeType) GetName() string + func (x RuntimeType) Number() protoreflect.EnumNumber + func (x RuntimeType) String() string + type UnimplementedDiscoveryServiceServer struct + func (UnimplementedDiscoveryServiceServer) GetWorkload(context.Context, *GetWorkloadRequest) (*Workload, error) + func (UnimplementedDiscoveryServiceServer) ListWorkloads(*ListWorkloadsRequest, DiscoveryService_ListWorkloadsServer) error + type UnsafeDiscoveryServiceServer interface + type Workload struct + Addresses []string + Annotations map[string]string + Hostname string + Id string + IsolationGroups []string + Labels map[string]string + Name string + Ports []string + Runtime string + Services *WorkloadServices + Type string + func (*Workload) Descriptor() ([]byte, []int) + func (*Workload) ProtoMessage() + func (x *Workload) DeepCopy() *Workload + func (x *Workload) GetAddresses() []string + func (x *Workload) GetAnnotations() map[string]string + func (x *Workload) GetHostname() string + func (x *Workload) GetId() string + func (x *Workload) GetIsolationGroups() []string + func (x *Workload) GetLabels() map[string]string + func (x *Workload) GetName() string + func (x *Workload) GetPorts() []string + func (x *Workload) GetRuntime() string + func (x *Workload) GetServices() *WorkloadServices + func (x *Workload) GetType() string + func (x *Workload) ProtoReflect() protoreflect.Message + func (x *Workload) Reset() + func (x *Workload) String() string + type WorkloadServices struct + A2A *structpb.Struct + Oasf *structpb.Struct + func (*WorkloadServices) Descriptor() ([]byte, []int) + func (*WorkloadServices) ProtoMessage() + func (x *WorkloadServices) GetA2A() *structpb.Struct + func (x *WorkloadServices) GetOasf() *structpb.Struct + func (x *WorkloadServices) ProtoReflect() protoreflect.Message + func (x *WorkloadServices) Reset() + func (x *WorkloadServices) String() string + type WorkloadType int32 + const WorkloadType_WORKLOAD_TYPE_CONTAINER + const WorkloadType_WORKLOAD_TYPE_POD + const WorkloadType_WORKLOAD_TYPE_PROCESS + const WorkloadType_WORKLOAD_TYPE_UNSPECIFIED + func (WorkloadType) Descriptor() protoreflect.EnumDescriptor + func (WorkloadType) EnumDescriptor() ([]byte, []int) + func (WorkloadType) Type() protoreflect.EnumType + func (x WorkloadType) Enum() *WorkloadType + func (x WorkloadType) GetName() string + func (x WorkloadType) Number() protoreflect.EnumNumber + func (x WorkloadType) String() string