Documentation ¶
Index ¶
- Variables
- func GetNetID(ctx context.Context) (string, error)
- func NewSSHClient(address string) (*ssh.Client, error)
- func RegisterAvCliServer(s *grpc.Server, srv AvCliServer)
- type Auth
- type AvCliClient
- type AvCliServer
- type AvCli_FixTimeClient
- type AvCli_FixTimeServer
- type AvCli_FloatClient
- type AvCli_FloatServer
- type AvCli_SinkClient
- type AvCli_SinkServer
- type AvCli_SwabClient
- type AvCli_SwabServer
- type Client
- func (c *Client) CloseMonitoringIssue(ctx context.Context, in *ID, opts ...grpc.CallOption) (*empty.Empty, error)
- func (c *Client) DuplicateRoom(ctx context.Context, in *DuplicateRoomRequest, opts ...grpc.CallOption) (*empty.Empty, error)
- func (c *Client) FixTime(ctx context.Context, in *ID, opts ...grpc.CallOption) (AvCli_FixTimeClient, error)
- func (c *Client) Float(ctx context.Context, in *ID, opts ...grpc.CallOption) (AvCli_FloatClient, error)
- func (c *Client) Screenshot(ctx context.Context, in *ID, opts ...grpc.CallOption) (*ScreenshotResult, error)
- func (c *Client) SetLogLevel(ctx context.Context, in *SetLogLevelRequest, opts ...grpc.CallOption) (*empty.Empty, error)
- func (c *Client) Sink(ctx context.Context, in *ID, opts ...grpc.CallOption) (AvCli_SinkClient, error)
- func (c *Client) Swab(ctx context.Context, in *ID, opts ...grpc.CallOption) (AvCli_SwabClient, error)
- type DataService
- type DuplicateRoomRequest
- func (*DuplicateRoomRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DuplicateRoomRequest) GetFromDesignation() string
- func (x *DuplicateRoomRequest) GetFromID() string
- func (x *DuplicateRoomRequest) GetToDesignation() string
- func (x *DuplicateRoomRequest) GetToID() string
- func (*DuplicateRoomRequest) ProtoMessage()
- func (x *DuplicateRoomRequest) ProtoReflect() protoreflect.Message
- func (x *DuplicateRoomRequest) Reset()
- func (x *DuplicateRoomRequest) String() string
- type ID
- type IDResult
- type Pi
- type ScreenshotResult
- type SetLogLevelRequest
- func (*SetLogLevelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetLogLevelRequest) GetId() string
- func (x *SetLogLevelRequest) GetLevel() int32
- func (x *SetLogLevelRequest) GetPort() int32
- func (*SetLogLevelRequest) ProtoMessage()
- func (x *SetLogLevelRequest) ProtoReflect() protoreflect.Message
- func (x *SetLogLevelRequest) Reset()
- func (x *SetLogLevelRequest) String() string
- type UnimplementedAvCliServer
- func (*UnimplementedAvCliServer) CloseMonitoringIssue(context.Context, *ID) (*empty.Empty, error)
- func (*UnimplementedAvCliServer) DuplicateRoom(context.Context, *DuplicateRoomRequest) (*empty.Empty, error)
- func (*UnimplementedAvCliServer) FixTime(*ID, AvCli_FixTimeServer) error
- func (*UnimplementedAvCliServer) Float(*ID, AvCli_FloatServer) error
- func (*UnimplementedAvCliServer) Screenshot(context.Context, *ID) (*ScreenshotResult, error)
- func (*UnimplementedAvCliServer) SetLogLevel(context.Context, *SetLogLevelRequest) (*empty.Empty, error)
- func (*UnimplementedAvCliServer) Sink(*ID, AvCli_SinkServer) error
- func (*UnimplementedAvCliServer) Swab(*ID, AvCli_SwabServer) error
Constants ¶
This section is empty.
Variables ¶
View Source
var File_av_cli_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAvCliServer ¶
func RegisterAvCliServer(s *grpc.Server, srv AvCliServer)
Types ¶
type AvCliClient ¶
type AvCliClient interface { Swab(ctx context.Context, in *ID, opts ...grpc.CallOption) (AvCli_SwabClient, error) Float(ctx context.Context, in *ID, opts ...grpc.CallOption) (AvCli_FloatClient, error) Screenshot(ctx context.Context, in *ID, opts ...grpc.CallOption) (*ScreenshotResult, error) DuplicateRoom(ctx context.Context, in *DuplicateRoomRequest, opts ...grpc.CallOption) (*empty.Empty, error) FixTime(ctx context.Context, in *ID, opts ...grpc.CallOption) (AvCli_FixTimeClient, error) Sink(ctx context.Context, in *ID, opts ...grpc.CallOption) (AvCli_SinkClient, error) CloseMonitoringIssue(ctx context.Context, in *ID, opts ...grpc.CallOption) (*empty.Empty, error) SetLogLevel(ctx context.Context, in *SetLogLevelRequest, opts ...grpc.CallOption) (*empty.Empty, error) }
AvCliClient is the client API for AvCli service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAvCliClient ¶
func NewAvCliClient(cc grpc.ClientConnInterface) AvCliClient
type AvCliServer ¶
type AvCliServer interface { Swab(*ID, AvCli_SwabServer) error Float(*ID, AvCli_FloatServer) error Screenshot(context.Context, *ID) (*ScreenshotResult, error) DuplicateRoom(context.Context, *DuplicateRoomRequest) (*empty.Empty, error) FixTime(*ID, AvCli_FixTimeServer) error Sink(*ID, AvCli_SinkServer) error CloseMonitoringIssue(context.Context, *ID) (*empty.Empty, error) SetLogLevel(context.Context, *SetLogLevelRequest) (*empty.Empty, error) }
AvCliServer is the server API for AvCli service.
type AvCli_FixTimeClient ¶
type AvCli_FixTimeClient interface { Recv() (*IDResult, error) grpc.ClientStream }
type AvCli_FixTimeServer ¶
type AvCli_FixTimeServer interface { Send(*IDResult) error grpc.ServerStream }
type AvCli_FloatClient ¶
type AvCli_FloatClient interface { Recv() (*IDResult, error) grpc.ClientStream }
type AvCli_FloatServer ¶
type AvCli_FloatServer interface { Send(*IDResult) error grpc.ServerStream }
type AvCli_SinkClient ¶
type AvCli_SinkClient interface { Recv() (*IDResult, error) grpc.ClientStream }
type AvCli_SinkServer ¶
type AvCli_SinkServer interface { Send(*IDResult) error grpc.ServerStream }
type AvCli_SwabClient ¶
type AvCli_SwabClient interface { Recv() (*IDResult, error) grpc.ClientStream }
type AvCli_SwabServer ¶
type AvCli_SwabServer interface { Send(*IDResult) error grpc.ServerStream }
type Client ¶
type Client struct { Auth Auth // contains filtered or unexported fields }
func (*Client) CloseMonitoringIssue ¶
func (*Client) DuplicateRoom ¶
func (c *Client) DuplicateRoom(ctx context.Context, in *DuplicateRoomRequest, opts ...grpc.CallOption) (*empty.Empty, error)
func (*Client) FixTime ¶
func (c *Client) FixTime(ctx context.Context, in *ID, opts ...grpc.CallOption) (AvCli_FixTimeClient, error)
func (*Client) Float ¶
func (c *Client) Float(ctx context.Context, in *ID, opts ...grpc.CallOption) (AvCli_FloatClient, error)
func (*Client) Screenshot ¶
func (c *Client) Screenshot(ctx context.Context, in *ID, opts ...grpc.CallOption) (*ScreenshotResult, error)
func (*Client) SetLogLevel ¶
func (c *Client) SetLogLevel(ctx context.Context, in *SetLogLevelRequest, opts ...grpc.CallOption) (*empty.Empty, error)
func (*Client) Sink ¶
func (c *Client) Sink(ctx context.Context, in *ID, opts ...grpc.CallOption) (AvCli_SinkClient, error)
func (*Client) Swab ¶
func (c *Client) Swab(ctx context.Context, in *ID, opts ...grpc.CallOption) (AvCli_SwabClient, error)
type DataService ¶ added in v1.1.0
type DuplicateRoomRequest ¶
type DuplicateRoomRequest struct { FromID string `protobuf:"bytes,1,opt,name=fromID,proto3" json:"fromID,omitempty"` FromDesignation string `protobuf:"bytes,2,opt,name=fromDesignation,proto3" json:"fromDesignation,omitempty"` ToID string `protobuf:"bytes,3,opt,name=toID,proto3" json:"toID,omitempty"` ToDesignation string `protobuf:"bytes,4,opt,name=toDesignation,proto3" json:"toDesignation,omitempty"` // contains filtered or unexported fields }
func (*DuplicateRoomRequest) Descriptor
deprecated
func (*DuplicateRoomRequest) Descriptor() ([]byte, []int)
Deprecated: Use DuplicateRoomRequest.ProtoReflect.Descriptor instead.
func (*DuplicateRoomRequest) GetFromDesignation ¶
func (x *DuplicateRoomRequest) GetFromDesignation() string
func (*DuplicateRoomRequest) GetFromID ¶
func (x *DuplicateRoomRequest) GetFromID() string
func (*DuplicateRoomRequest) GetToDesignation ¶
func (x *DuplicateRoomRequest) GetToDesignation() string
func (*DuplicateRoomRequest) GetToID ¶
func (x *DuplicateRoomRequest) GetToID() string
func (*DuplicateRoomRequest) ProtoMessage ¶
func (*DuplicateRoomRequest) ProtoMessage()
func (*DuplicateRoomRequest) ProtoReflect ¶
func (x *DuplicateRoomRequest) ProtoReflect() protoreflect.Message
func (*DuplicateRoomRequest) Reset ¶
func (x *DuplicateRoomRequest) Reset()
func (*DuplicateRoomRequest) String ¶
func (x *DuplicateRoomRequest) String() string
type ID ¶
type ID struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Designation string `protobuf:"bytes,2,opt,name=designation,proto3" json:"designation,omitempty"` // contains filtered or unexported fields }
func (*ID) Descriptor
deprecated
func (*ID) GetDesignation ¶
func (*ID) ProtoMessage ¶
func (*ID) ProtoMessage()
func (*ID) ProtoReflect ¶
func (x *ID) ProtoReflect() protoreflect.Message
type IDResult ¶
type IDResult struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*IDResult) Descriptor
deprecated
func (*IDResult) ProtoMessage ¶
func (*IDResult) ProtoMessage()
func (*IDResult) ProtoReflect ¶
func (x *IDResult) ProtoReflect() protoreflect.Message
type ScreenshotResult ¶
type ScreenshotResult struct { Photo []byte `protobuf:"bytes,1,opt,name=photo,proto3" json:"photo,omitempty"` // contains filtered or unexported fields }
func (*ScreenshotResult) Descriptor
deprecated
func (*ScreenshotResult) Descriptor() ([]byte, []int)
Deprecated: Use ScreenshotResult.ProtoReflect.Descriptor instead.
func (*ScreenshotResult) GetPhoto ¶
func (x *ScreenshotResult) GetPhoto() []byte
func (*ScreenshotResult) ProtoMessage ¶
func (*ScreenshotResult) ProtoMessage()
func (*ScreenshotResult) ProtoReflect ¶
func (x *ScreenshotResult) ProtoReflect() protoreflect.Message
func (*ScreenshotResult) Reset ¶
func (x *ScreenshotResult) Reset()
func (*ScreenshotResult) String ¶
func (x *ScreenshotResult) String() string
type SetLogLevelRequest ¶
type SetLogLevelRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` Level int32 `protobuf:"varint,3,opt,name=level,proto3" json:"level,omitempty"` // contains filtered or unexported fields }
func (*SetLogLevelRequest) Descriptor
deprecated
func (*SetLogLevelRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetLogLevelRequest.ProtoReflect.Descriptor instead.
func (*SetLogLevelRequest) GetId ¶
func (x *SetLogLevelRequest) GetId() string
func (*SetLogLevelRequest) GetLevel ¶
func (x *SetLogLevelRequest) GetLevel() int32
func (*SetLogLevelRequest) GetPort ¶
func (x *SetLogLevelRequest) GetPort() int32
func (*SetLogLevelRequest) ProtoMessage ¶
func (*SetLogLevelRequest) ProtoMessage()
func (*SetLogLevelRequest) ProtoReflect ¶
func (x *SetLogLevelRequest) ProtoReflect() protoreflect.Message
func (*SetLogLevelRequest) Reset ¶
func (x *SetLogLevelRequest) Reset()
func (*SetLogLevelRequest) String ¶
func (x *SetLogLevelRequest) String() string
type UnimplementedAvCliServer ¶
type UnimplementedAvCliServer struct { }
UnimplementedAvCliServer can be embedded to have forward compatible implementations.
func (*UnimplementedAvCliServer) CloseMonitoringIssue ¶
func (*UnimplementedAvCliServer) DuplicateRoom ¶
func (*UnimplementedAvCliServer) DuplicateRoom(context.Context, *DuplicateRoomRequest) (*empty.Empty, error)
func (*UnimplementedAvCliServer) FixTime ¶
func (*UnimplementedAvCliServer) FixTime(*ID, AvCli_FixTimeServer) error
func (*UnimplementedAvCliServer) Float ¶
func (*UnimplementedAvCliServer) Float(*ID, AvCli_FloatServer) error
func (*UnimplementedAvCliServer) Screenshot ¶
func (*UnimplementedAvCliServer) Screenshot(context.Context, *ID) (*ScreenshotResult, error)
func (*UnimplementedAvCliServer) SetLogLevel ¶
func (*UnimplementedAvCliServer) SetLogLevel(context.Context, *SetLogLevelRequest) (*empty.Empty, error)
func (*UnimplementedAvCliServer) Sink ¶
func (*UnimplementedAvCliServer) Sink(*ID, AvCli_SinkServer) error
func (*UnimplementedAvCliServer) Swab ¶
func (*UnimplementedAvCliServer) Swab(*ID, AvCli_SwabServer) error
Click to show internal directories.
Click to hide internal directories.