pbdrone

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: Apache-2.0 Imports: 8 Imported by: 3

Documentation

Index

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) GetConfdConfig added in v0.4.6

func (*UnimplementedDroneServiceServer) GetDroneConfig added in v0.4.6

func (*UnimplementedDroneServiceServer) GetDroneVersion added in v0.4.6

func (*UnimplementedDroneServiceServer) GetFrontgateConfig added in v0.4.6

func (*UnimplementedDroneServiceServer) GetFrontgateVersion added in v0.4.6

func (*UnimplementedDroneServiceServer) GetFrontgateVersion(ctx context.Context, req *types.Empty) (*types.Version, error)

func (*UnimplementedDroneServiceServer) GetPilotVersion added in v0.4.6

func (*UnimplementedDroneServiceServer) GetPilotVersion(ctx context.Context, req *types.Empty) (*types.Version, error)

func (*UnimplementedDroneServiceServer) GetTemplateFiles added in v0.4.6

func (*UnimplementedDroneServiceServer) GetValues added in v0.4.6

func (*UnimplementedDroneServiceServer) IsConfdRunning added in v0.4.6

func (*UnimplementedDroneServiceServer) IsConfdRunning(ctx context.Context, req *types.Empty) (*types.Bool, error)

func (*UnimplementedDroneServiceServer) PingDrone added in v0.4.6

func (*UnimplementedDroneServiceServer) PingFrontgate added in v0.4.6

func (*UnimplementedDroneServiceServer) PingMetadataBackend added in v0.4.6

func (*UnimplementedDroneServiceServer) PingPilot added in v0.4.6

func (*UnimplementedDroneServiceServer) RunCommand added in v0.4.6

func (*UnimplementedDroneServiceServer) SetConfdConfig added in v0.4.6

func (*UnimplementedDroneServiceServer) SetDroneConfig added in v0.4.6

func (*UnimplementedDroneServiceServer) SetFrontgateConfig added in v0.4.6

func (*UnimplementedDroneServiceServer) StartConfd added in v0.4.6

func (*UnimplementedDroneServiceServer) StopConfd added in v0.4.6

Jump to

Keyboard shortcuts

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