pb

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_fleet_pb_fleet_proto protoreflect.FileDescriptor
View Source
var FleetService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "fleet.FleetService",
	HandlerType: (*FleetServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RetrieveAgent",
			Handler:    _FleetService_RetrieveAgent_Handler,
		},
		{
			MethodName: "RetrieveAgentGroup",
			Handler:    _FleetService_RetrieveAgentGroup_Handler,
		},
		{
			MethodName: "RetrieveOwnerByChannelID",
			Handler:    _FleetService_RetrieveOwnerByChannelID_Handler,
		},
		{
			MethodName: "RetrieveAgentInfoByChannelID",
			Handler:    _FleetService_RetrieveAgentInfoByChannelID_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "fleet/pb/fleet.proto",
}

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

Functions

func RegisterFleetServiceServer

func RegisterFleetServiceServer(s grpc.ServiceRegistrar, srv FleetServiceServer)

Types

type AgentByIDReq

type AgentByIDReq struct {
	AgentID string `protobuf:"bytes,1,opt,name=agentID,proto3" json:"agentID,omitempty"`
	OwnerID string `protobuf:"bytes,2,opt,name=ownerID,proto3" json:"ownerID,omitempty"`
	// contains filtered or unexported fields
}

func (*AgentByIDReq) Descriptor deprecated

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

Deprecated: Use AgentByIDReq.ProtoReflect.Descriptor instead.

func (*AgentByIDReq) GetAgentID

func (x *AgentByIDReq) GetAgentID() string

func (*AgentByIDReq) GetOwnerID

func (x *AgentByIDReq) GetOwnerID() string

func (*AgentByIDReq) ProtoMessage

func (*AgentByIDReq) ProtoMessage()

func (*AgentByIDReq) ProtoReflect

func (x *AgentByIDReq) ProtoReflect() protoreflect.Message

func (*AgentByIDReq) Reset

func (x *AgentByIDReq) Reset()

func (*AgentByIDReq) String

func (x *AgentByIDReq) String() string

type AgentGroupByIDReq

type AgentGroupByIDReq struct {
	AgentGroupID string `protobuf:"bytes,1,opt,name=agentGroupID,proto3" json:"agentGroupID,omitempty"`
	OwnerID      string `protobuf:"bytes,2,opt,name=ownerID,proto3" json:"ownerID,omitempty"`
	// contains filtered or unexported fields
}

func (*AgentGroupByIDReq) Descriptor deprecated

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

Deprecated: Use AgentGroupByIDReq.ProtoReflect.Descriptor instead.

func (*AgentGroupByIDReq) GetAgentGroupID

func (x *AgentGroupByIDReq) GetAgentGroupID() string

func (*AgentGroupByIDReq) GetOwnerID

func (x *AgentGroupByIDReq) GetOwnerID() string

func (*AgentGroupByIDReq) ProtoMessage

func (*AgentGroupByIDReq) ProtoMessage()

func (*AgentGroupByIDReq) ProtoReflect

func (x *AgentGroupByIDReq) ProtoReflect() protoreflect.Message

func (*AgentGroupByIDReq) Reset

func (x *AgentGroupByIDReq) Reset()

func (*AgentGroupByIDReq) String

func (x *AgentGroupByIDReq) String() string

type AgentGroupRes

type AgentGroupRes struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Channel string `protobuf:"bytes,3,opt,name=channel,proto3" json:"channel,omitempty"`
	// contains filtered or unexported fields
}

func (*AgentGroupRes) Descriptor deprecated

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

Deprecated: Use AgentGroupRes.ProtoReflect.Descriptor instead.

func (*AgentGroupRes) GetChannel

func (x *AgentGroupRes) GetChannel() string

func (*AgentGroupRes) GetId

func (x *AgentGroupRes) GetId() string

func (*AgentGroupRes) GetName

func (x *AgentGroupRes) GetName() string

func (*AgentGroupRes) ProtoMessage

func (*AgentGroupRes) ProtoMessage()

func (*AgentGroupRes) ProtoReflect

func (x *AgentGroupRes) ProtoReflect() protoreflect.Message

func (*AgentGroupRes) Reset

func (x *AgentGroupRes) Reset()

func (*AgentGroupRes) String

func (x *AgentGroupRes) String() string

type AgentInfoByChannelIDReq

type AgentInfoByChannelIDReq struct {
	Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
	// contains filtered or unexported fields
}

func (*AgentInfoByChannelIDReq) Descriptor deprecated

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

Deprecated: Use AgentInfoByChannelIDReq.ProtoReflect.Descriptor instead.

func (*AgentInfoByChannelIDReq) GetChannel

func (x *AgentInfoByChannelIDReq) GetChannel() string

func (*AgentInfoByChannelIDReq) ProtoMessage

func (*AgentInfoByChannelIDReq) ProtoMessage()

func (*AgentInfoByChannelIDReq) ProtoReflect

func (x *AgentInfoByChannelIDReq) ProtoReflect() protoreflect.Message

func (*AgentInfoByChannelIDReq) Reset

func (x *AgentInfoByChannelIDReq) Reset()

func (*AgentInfoByChannelIDReq) String

func (x *AgentInfoByChannelIDReq) String() string

type AgentInfoRes

type AgentInfoRes struct {
	OwnerID       string            `protobuf:"bytes,1,opt,name=ownerID,proto3" json:"ownerID,omitempty"`
	AgentName     string            `protobuf:"bytes,2,opt,name=agentName,proto3" json:"agentName,omitempty"`
	AgentTags     map[string]string `` /* 159-byte string literal not displayed */
	OrbTags       map[string]string `` /* 155-byte string literal not displayed */
	AgentGroupIDs []string          `protobuf:"bytes,5,rep,name=agentGroupIDs,proto3" json:"agentGroupIDs,omitempty"`
	// contains filtered or unexported fields
}

func (*AgentInfoRes) Descriptor deprecated

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

Deprecated: Use AgentInfoRes.ProtoReflect.Descriptor instead.

func (*AgentInfoRes) GetAgentGroupIDs

func (x *AgentInfoRes) GetAgentGroupIDs() []string

func (*AgentInfoRes) GetAgentName

func (x *AgentInfoRes) GetAgentName() string

func (*AgentInfoRes) GetAgentTags

func (x *AgentInfoRes) GetAgentTags() map[string]string

func (*AgentInfoRes) GetOrbTags

func (x *AgentInfoRes) GetOrbTags() map[string]string

func (*AgentInfoRes) GetOwnerID

func (x *AgentInfoRes) GetOwnerID() string

func (*AgentInfoRes) ProtoMessage

func (*AgentInfoRes) ProtoMessage()

func (*AgentInfoRes) ProtoReflect

func (x *AgentInfoRes) ProtoReflect() protoreflect.Message

func (*AgentInfoRes) Reset

func (x *AgentInfoRes) Reset()

func (*AgentInfoRes) String

func (x *AgentInfoRes) String() string

type AgentRes

type AgentRes struct {
	Id      string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Channel string `protobuf:"bytes,3,opt,name=channel,proto3" json:"channel,omitempty"`
	// contains filtered or unexported fields
}

func (*AgentRes) Descriptor deprecated

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

Deprecated: Use AgentRes.ProtoReflect.Descriptor instead.

func (*AgentRes) GetChannel

func (x *AgentRes) GetChannel() string

func (*AgentRes) GetId

func (x *AgentRes) GetId() string

func (*AgentRes) GetName

func (x *AgentRes) GetName() string

func (*AgentRes) ProtoMessage

func (*AgentRes) ProtoMessage()

func (*AgentRes) ProtoReflect

func (x *AgentRes) ProtoReflect() protoreflect.Message

func (*AgentRes) Reset

func (x *AgentRes) Reset()

func (*AgentRes) String

func (x *AgentRes) String() string

type FleetServiceClient

type FleetServiceClient interface {
	RetrieveAgent(ctx context.Context, in *AgentByIDReq, opts ...grpc.CallOption) (*AgentRes, error)
	RetrieveAgentGroup(ctx context.Context, in *AgentGroupByIDReq, opts ...grpc.CallOption) (*AgentGroupRes, error)
	RetrieveOwnerByChannelID(ctx context.Context, in *OwnerByChannelIDReq, opts ...grpc.CallOption) (*OwnerRes, error)
	RetrieveAgentInfoByChannelID(ctx context.Context, in *AgentInfoByChannelIDReq, opts ...grpc.CallOption) (*AgentInfoRes, error)
}

FleetServiceClient is the client API for FleetService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.golang.ir/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type FleetServiceServer

type FleetServiceServer interface {
	RetrieveAgent(context.Context, *AgentByIDReq) (*AgentRes, error)
	RetrieveAgentGroup(context.Context, *AgentGroupByIDReq) (*AgentGroupRes, error)
	RetrieveOwnerByChannelID(context.Context, *OwnerByChannelIDReq) (*OwnerRes, error)
	RetrieveAgentInfoByChannelID(context.Context, *AgentInfoByChannelIDReq) (*AgentInfoRes, error)
	// contains filtered or unexported methods
}

FleetServiceServer is the server API for FleetService service. All implementations must embed UnimplementedFleetServiceServer for forward compatibility

type OwnerByChannelIDReq

type OwnerByChannelIDReq struct {
	Channel string `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
	// contains filtered or unexported fields
}

func (*OwnerByChannelIDReq) Descriptor deprecated

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

Deprecated: Use OwnerByChannelIDReq.ProtoReflect.Descriptor instead.

func (*OwnerByChannelIDReq) GetChannel

func (x *OwnerByChannelIDReq) GetChannel() string

func (*OwnerByChannelIDReq) ProtoMessage

func (*OwnerByChannelIDReq) ProtoMessage()

func (*OwnerByChannelIDReq) ProtoReflect

func (x *OwnerByChannelIDReq) ProtoReflect() protoreflect.Message

func (*OwnerByChannelIDReq) Reset

func (x *OwnerByChannelIDReq) Reset()

func (*OwnerByChannelIDReq) String

func (x *OwnerByChannelIDReq) String() string

type OwnerRes

type OwnerRes struct {
	OwnerID   string `protobuf:"bytes,1,opt,name=ownerID,proto3" json:"ownerID,omitempty"`
	AgentName string `protobuf:"bytes,2,opt,name=agentName,proto3" json:"agentName,omitempty"`
	// contains filtered or unexported fields
}

func (*OwnerRes) Descriptor deprecated

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

Deprecated: Use OwnerRes.ProtoReflect.Descriptor instead.

func (*OwnerRes) GetAgentName

func (x *OwnerRes) GetAgentName() string

func (*OwnerRes) GetOwnerID

func (x *OwnerRes) GetOwnerID() string

func (*OwnerRes) ProtoMessage

func (*OwnerRes) ProtoMessage()

func (*OwnerRes) ProtoReflect

func (x *OwnerRes) ProtoReflect() protoreflect.Message

func (*OwnerRes) Reset

func (x *OwnerRes) Reset()

func (*OwnerRes) String

func (x *OwnerRes) String() string

type UnimplementedFleetServiceServer

type UnimplementedFleetServiceServer struct {
}

UnimplementedFleetServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedFleetServiceServer) RetrieveAgent

func (UnimplementedFleetServiceServer) RetrieveAgentGroup

func (UnimplementedFleetServiceServer) RetrieveAgentInfoByChannelID

func (UnimplementedFleetServiceServer) RetrieveOwnerByChannelID

type UnsafeFleetServiceServer

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

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

Jump to

Keyboard shortcuts

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