Documentation ¶
Index ¶
- func RegisterDroneServiceServer(s *grpc.Server, srv DroneServiceServer)
- type DroneServiceClient
- type DroneServiceServer
- type UnimplementedDroneServiceServer
- func (*UnimplementedDroneServiceServer) DistributeDrone(ctx context.Context, req *types.DistributeDroneRequest) (*types.Empty, error)
- func (*UnimplementedDroneServiceServer) GetConfdConfig(ctx context.Context, req *types.Empty) (*types.ConfdConfig, error)
- func (*UnimplementedDroneServiceServer) GetDroneConfig(ctx context.Context, req *types.Empty) (*types.DroneConfig, error)
- func (*UnimplementedDroneServiceServer) GetDroneVersion(ctx context.Context, req *types.DroneEndpoint) (*types.Version, error)
- func (*UnimplementedDroneServiceServer) GetFrontgateConfig(ctx context.Context, req *types.Empty) (*types.FrontgateConfig, error)
- func (*UnimplementedDroneServiceServer) GetFrontgateVersion(ctx context.Context, req *types.Empty) (*types.Version, error)
- func (*UnimplementedDroneServiceServer) GetPilotVersion(ctx context.Context, req *types.Empty) (*types.Version, error)
- func (*UnimplementedDroneServiceServer) GetTemplateFiles(ctx context.Context, req *types.Empty) (*types.StringList, error)
- func (*UnimplementedDroneServiceServer) GetValues(ctx context.Context, req *types.StringList) (*types.StringMap, error)
- func (*UnimplementedDroneServiceServer) IsConfdRunning(ctx context.Context, req *types.Empty) (*types.Bool, error)
- func (*UnimplementedDroneServiceServer) PingDrone(ctx context.Context, req *types.Empty) (*types.Empty, error)
- func (*UnimplementedDroneServiceServer) PingFrontgate(ctx context.Context, req *types.FrontgateEndpoint) (*types.Empty, error)
- func (*UnimplementedDroneServiceServer) PingMetadataBackend(ctx context.Context, req *types.FrontgateEndpoint) (*types.Empty, error)
- func (*UnimplementedDroneServiceServer) PingPilot(ctx context.Context, req *types.FrontgateEndpoint) (*types.Empty, error)
- func (*UnimplementedDroneServiceServer) RunCommand(ctx context.Context, req *types.RunCommandOnDroneRequest) (*types.String, error)
- func (*UnimplementedDroneServiceServer) SetConfdConfig(ctx context.Context, req *types.ConfdConfig) (*types.Empty, error)
- func (*UnimplementedDroneServiceServer) SetDroneConfig(ctx context.Context, req *types.DroneConfig) (*types.Empty, error)
- func (*UnimplementedDroneServiceServer) SetFrontgateConfig(ctx context.Context, req *types.FrontgateConfig) (*types.Empty, error)
- func (*UnimplementedDroneServiceServer) StartConfd(ctx context.Context, req *types.Empty) (*types.Empty, error)
- func (*UnimplementedDroneServiceServer) StopConfd(ctx context.Context, req *types.Empty) (*types.Empty, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterDroneServiceServer ¶
func RegisterDroneServiceServer(s *grpc.Server, srv DroneServiceServer)
Types ¶
type DroneServiceClient ¶
type DroneServiceClient interface { DistributeDrone(ctx context.Context, in *types.DistributeDroneRequest, opts ...grpc.CallOption) (*types.Empty, error) GetPilotVersion(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*types.Version, error) GetFrontgateVersion(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*types.Version, error) GetDroneVersion(ctx context.Context, in *types.DroneEndpoint, opts ...grpc.CallOption) (*types.Version, error) GetDroneConfig(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*types.DroneConfig, error) SetDroneConfig(ctx context.Context, in *types.DroneConfig, opts ...grpc.CallOption) (*types.Empty, error) GetConfdConfig(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*types.ConfdConfig, error) SetConfdConfig(ctx context.Context, in *types.ConfdConfig, opts ...grpc.CallOption) (*types.Empty, error) GetFrontgateConfig(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*types.FrontgateConfig, error) SetFrontgateConfig(ctx context.Context, in *types.FrontgateConfig, opts ...grpc.CallOption) (*types.Empty, error) IsConfdRunning(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*types.Bool, error) StartConfd(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*types.Empty, error) StopConfd(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*types.Empty, error) GetTemplateFiles(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*types.StringList, error) GetValues(ctx context.Context, in *types.StringList, opts ...grpc.CallOption) (*types.StringMap, error) PingPilot(ctx context.Context, in *types.FrontgateEndpoint, opts ...grpc.CallOption) (*types.Empty, error) PingFrontgate(ctx context.Context, in *types.FrontgateEndpoint, opts ...grpc.CallOption) (*types.Empty, error) PingDrone(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*types.Empty, error) PingMetadataBackend(ctx context.Context, in *types.FrontgateEndpoint, opts ...grpc.CallOption) (*types.Empty, error) RunCommand(ctx context.Context, in *types.RunCommandOnDroneRequest, opts ...grpc.CallOption) (*types.String, error) }
DroneServiceClient is the client API for DroneService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDroneServiceClient ¶
func NewDroneServiceClient(cc *grpc.ClientConn) DroneServiceClient
type DroneServiceServer ¶
type DroneServiceServer interface { DistributeDrone(context.Context, *types.DistributeDroneRequest) (*types.Empty, error) GetPilotVersion(context.Context, *types.Empty) (*types.Version, error) GetFrontgateVersion(context.Context, *types.Empty) (*types.Version, error) GetDroneVersion(context.Context, *types.DroneEndpoint) (*types.Version, error) GetDroneConfig(context.Context, *types.Empty) (*types.DroneConfig, error) SetDroneConfig(context.Context, *types.DroneConfig) (*types.Empty, error) GetConfdConfig(context.Context, *types.Empty) (*types.ConfdConfig, error) SetConfdConfig(context.Context, *types.ConfdConfig) (*types.Empty, error) GetFrontgateConfig(context.Context, *types.Empty) (*types.FrontgateConfig, error) SetFrontgateConfig(context.Context, *types.FrontgateConfig) (*types.Empty, error) IsConfdRunning(context.Context, *types.Empty) (*types.Bool, error) StartConfd(context.Context, *types.Empty) (*types.Empty, error) StopConfd(context.Context, *types.Empty) (*types.Empty, error) GetTemplateFiles(context.Context, *types.Empty) (*types.StringList, error) GetValues(context.Context, *types.StringList) (*types.StringMap, error) PingPilot(context.Context, *types.FrontgateEndpoint) (*types.Empty, error) PingFrontgate(context.Context, *types.FrontgateEndpoint) (*types.Empty, error) PingDrone(context.Context, *types.Empty) (*types.Empty, error) PingMetadataBackend(context.Context, *types.FrontgateEndpoint) (*types.Empty, error) RunCommand(context.Context, *types.RunCommandOnDroneRequest) (*types.String, error) }
DroneServiceServer is the server API for DroneService service.
type UnimplementedDroneServiceServer ¶ added in v0.4.6
type UnimplementedDroneServiceServer struct { }
UnimplementedDroneServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedDroneServiceServer) DistributeDrone ¶ added in v0.4.6
func (*UnimplementedDroneServiceServer) DistributeDrone(ctx context.Context, req *types.DistributeDroneRequest) (*types.Empty, error)
func (*UnimplementedDroneServiceServer) GetConfdConfig ¶ added in v0.4.6
func (*UnimplementedDroneServiceServer) GetConfdConfig(ctx context.Context, req *types.Empty) (*types.ConfdConfig, error)
func (*UnimplementedDroneServiceServer) GetDroneConfig ¶ added in v0.4.6
func (*UnimplementedDroneServiceServer) GetDroneConfig(ctx context.Context, req *types.Empty) (*types.DroneConfig, error)
func (*UnimplementedDroneServiceServer) GetDroneVersion ¶ added in v0.4.6
func (*UnimplementedDroneServiceServer) GetDroneVersion(ctx context.Context, req *types.DroneEndpoint) (*types.Version, error)
func (*UnimplementedDroneServiceServer) GetFrontgateConfig ¶ added in v0.4.6
func (*UnimplementedDroneServiceServer) GetFrontgateConfig(ctx context.Context, req *types.Empty) (*types.FrontgateConfig, error)
func (*UnimplementedDroneServiceServer) GetFrontgateVersion ¶ added in v0.4.6
func (*UnimplementedDroneServiceServer) GetPilotVersion ¶ added in v0.4.6
func (*UnimplementedDroneServiceServer) GetTemplateFiles ¶ added in v0.4.6
func (*UnimplementedDroneServiceServer) GetTemplateFiles(ctx context.Context, req *types.Empty) (*types.StringList, error)
func (*UnimplementedDroneServiceServer) GetValues ¶ added in v0.4.6
func (*UnimplementedDroneServiceServer) GetValues(ctx context.Context, req *types.StringList) (*types.StringMap, error)
func (*UnimplementedDroneServiceServer) IsConfdRunning ¶ added in v0.4.6
func (*UnimplementedDroneServiceServer) PingFrontgate ¶ added in v0.4.6
func (*UnimplementedDroneServiceServer) PingFrontgate(ctx context.Context, req *types.FrontgateEndpoint) (*types.Empty, error)
func (*UnimplementedDroneServiceServer) PingMetadataBackend ¶ added in v0.4.6
func (*UnimplementedDroneServiceServer) PingMetadataBackend(ctx context.Context, req *types.FrontgateEndpoint) (*types.Empty, error)
func (*UnimplementedDroneServiceServer) PingPilot ¶ added in v0.4.6
func (*UnimplementedDroneServiceServer) PingPilot(ctx context.Context, req *types.FrontgateEndpoint) (*types.Empty, error)
func (*UnimplementedDroneServiceServer) RunCommand ¶ added in v0.4.6
func (*UnimplementedDroneServiceServer) RunCommand(ctx context.Context, req *types.RunCommandOnDroneRequest) (*types.String, error)
func (*UnimplementedDroneServiceServer) SetConfdConfig ¶ added in v0.4.6
func (*UnimplementedDroneServiceServer) SetConfdConfig(ctx context.Context, req *types.ConfdConfig) (*types.Empty, error)
func (*UnimplementedDroneServiceServer) SetDroneConfig ¶ added in v0.4.6
func (*UnimplementedDroneServiceServer) SetDroneConfig(ctx context.Context, req *types.DroneConfig) (*types.Empty, error)
func (*UnimplementedDroneServiceServer) SetFrontgateConfig ¶ added in v0.4.6
func (*UnimplementedDroneServiceServer) SetFrontgateConfig(ctx context.Context, req *types.FrontgateConfig) (*types.Empty, error)
func (*UnimplementedDroneServiceServer) StartConfd ¶ added in v0.4.6
Click to show internal directories.
Click to hide internal directories.