Documentation ¶
Index ¶
- type Client
- func (c *Client) HandleSubtaskWithTimeout(ctx context.Context, in *pbtypes.SubTaskMessage, opts ...grpc.CallOption) (*pbtypes.Empty, error)
- func (c *Client) PingDroneWithTimeout(ctx context.Context, in *pbtypes.DroneEndpoint, opts ...grpc.CallOption) (*pbtypes.Empty, error)
- func (c *Client) PingFrontgateWithTimeout(ctx context.Context, in *pbtypes.FrontgateId, opts ...grpc.CallOption) (*pbtypes.Empty, error)
- func (c *Client) PingMetadataBackendWithTimeout(ctx context.Context, in *pbtypes.FrontgateId, opts ...grpc.CallOption) (*pbtypes.Empty, error)
- func (c *Client) RunCommandOnDroneWithTimeout(ctx context.Context, in *pbtypes.RunCommandOnDroneRequest, ...) (*pbtypes.String, error)
- func (c *Client) RunCommandOnFrontgateNodeWithTimeout(ctx context.Context, in *pbtypes.RunCommandOnFrontgateRequest, ...) (*pbtypes.String, error)
- func (c *Client) SetDroneConfigWithTimeout(ctx context.Context, in *pbtypes.SetDroneConfigRequest, ...) (*pbtypes.Empty, error)
- func (c *Client) SetFrontgateConfigWithTimeout(ctx context.Context, in *pbtypes.FrontgateConfig, opts ...grpc.CallOption) (*pbtypes.Empty, error)
- func (c *Client) WaitSubtask(ctx context.Context, taskId string, timeout time.Duration, ...) error
- type TLSClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
pbpilot.PilotServiceClient
}
func (*Client) HandleSubtaskWithTimeout ¶ added in v0.4.0
func (c *Client) HandleSubtaskWithTimeout(ctx context.Context, in *pbtypes.SubTaskMessage, opts ...grpc.CallOption) (*pbtypes.Empty, error)
func (*Client) PingDroneWithTimeout ¶ added in v0.4.0
func (c *Client) PingDroneWithTimeout(ctx context.Context, in *pbtypes.DroneEndpoint, opts ...grpc.CallOption) (*pbtypes.Empty, error)
func (*Client) PingFrontgateWithTimeout ¶ added in v0.4.0
func (c *Client) PingFrontgateWithTimeout(ctx context.Context, in *pbtypes.FrontgateId, opts ...grpc.CallOption) (*pbtypes.Empty, error)
func (*Client) PingMetadataBackendWithTimeout ¶ added in v0.4.0
func (c *Client) PingMetadataBackendWithTimeout(ctx context.Context, in *pbtypes.FrontgateId, opts ...grpc.CallOption) (*pbtypes.Empty, error)
func (*Client) RunCommandOnDroneWithTimeout ¶ added in v0.4.0
func (c *Client) RunCommandOnDroneWithTimeout(ctx context.Context, in *pbtypes.RunCommandOnDroneRequest, opts ...grpc.CallOption) (*pbtypes.String, error)
func (*Client) RunCommandOnFrontgateNodeWithTimeout ¶ added in v0.4.0
func (c *Client) RunCommandOnFrontgateNodeWithTimeout(ctx context.Context, in *pbtypes.RunCommandOnFrontgateRequest, opts ...grpc.CallOption) (*pbtypes.String, error)
func (*Client) SetDroneConfigWithTimeout ¶ added in v0.4.0
func (c *Client) SetDroneConfigWithTimeout(ctx context.Context, in *pbtypes.SetDroneConfigRequest, opts ...grpc.CallOption) (*pbtypes.Empty, error)
func (*Client) SetFrontgateConfigWithTimeout ¶ added in v0.4.0
func (c *Client) SetFrontgateConfigWithTimeout(ctx context.Context, in *pbtypes.FrontgateConfig, opts ...grpc.CallOption) (*pbtypes.Empty, error)
type TLSClient ¶ added in v0.2.1
type TLSClient struct {
pbpilot.PilotServiceForFrontgateClient
}
Click to show internal directories.
Click to hide internal directories.