Versions in this module Expand all Collapse all v1 v1.0.0 Oct 13, 2022 Changes in this version + const HeaderWebSocketProtocol + const MethodOverrideParam + const PingContent + const WebSocketProtocolDelimiter + var File_health_proto protoreflect.FileDescriptor + var File_lani_proto protoreflect.FileDescriptor + var File_pluginapi_proto protoreflect.FileDescriptor + var File_unlocker_proto protoreflect.FileDescriptor + var HealthUpdate_HealthState_name = map[int32]string + var HealthUpdate_HealthState_value = map[string]int32 + var Health_ServiceDesc = grpc.ServiceDesc + var LaniCLientStreamingURIs = []*regexp.Regexp + var Lani_ServiceDesc = grpc.ServiceDesc + var PluginAPI_ServiceDesc = grpc.ServiceDesc + var PluginState_name = map[int32]string + var PluginState_value = map[string]int32 + var Plugin_PluginType_name = map[int32]string + var Plugin_PluginType_value = map[string]int32 + var TimeoutType_name = map[int32]string + var TimeoutType_value = map[string]int32 + var Unlocker_ServiceDesc = grpc.ServiceDesc + func IsClosedConnError(err error) bool + func NewWebSocketProxy(h http.Handler, logger *zerolog.Logger, pingInterval, pongWait time.Duration) http.Handler + func RegisterHealthHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterHealthHandlerClient(ctx context.Context, mux *runtime.ServeMux, client HealthClient) error + func RegisterHealthHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterHealthHandlerServer(ctx context.Context, mux *runtime.ServeMux, server HealthServer) error + func RegisterHealthServer(s grpc.ServiceRegistrar, srv HealthServer) + func RegisterLaniHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterLaniHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LaniClient) error + func RegisterLaniHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterLaniHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LaniServer) error + func RegisterLaniServer(s grpc.ServiceRegistrar, srv LaniServer) + func RegisterPluginAPIHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterPluginAPIHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PluginAPIClient) error + func RegisterPluginAPIHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterPluginAPIHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PluginAPIServer) error + func RegisterPluginAPIServer(s grpc.ServiceRegistrar, srv PluginAPIServer) + func RegisterUnlockerHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterUnlockerHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UnlockerClient) error + func RegisterUnlockerHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterUnlockerHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UnlockerServer) error + func RegisterUnlockerServer(s grpc.ServiceRegistrar, srv UnlockerServer) + type AdminTestRequest struct + func (*AdminTestRequest) Descriptor() ([]byte, []int) + func (*AdminTestRequest) ProtoMessage() + func (x *AdminTestRequest) ProtoReflect() protoreflect.Message + func (x *AdminTestRequest) Reset() + func (x *AdminTestRequest) String() string + type AdminTestResponse struct + Msg string + func (*AdminTestResponse) Descriptor() ([]byte, []int) + func (*AdminTestResponse) ProtoMessage() + func (x *AdminTestResponse) GetMsg() string + func (x *AdminTestResponse) ProtoReflect() protoreflect.Message + func (x *AdminTestResponse) Reset() + func (x *AdminTestResponse) String() string + type BakeMacaroonRequest struct + Permissions []*MacaroonPermission + Plugins []string + Timeout int64 + TimeoutType TimeoutType + func (*BakeMacaroonRequest) Descriptor() ([]byte, []int) + func (*BakeMacaroonRequest) ProtoMessage() + func (x *BakeMacaroonRequest) GetPermissions() []*MacaroonPermission + func (x *BakeMacaroonRequest) GetPlugins() []string + func (x *BakeMacaroonRequest) GetTimeout() int64 + func (x *BakeMacaroonRequest) GetTimeoutType() TimeoutType + func (x *BakeMacaroonRequest) ProtoReflect() protoreflect.Message + func (x *BakeMacaroonRequest) Reset() + func (x *BakeMacaroonRequest) String() string + type BakeMacaroonResponse struct + Macaroon string + func (*BakeMacaroonResponse) Descriptor() ([]byte, []int) + func (*BakeMacaroonResponse) ProtoMessage() + func (x *BakeMacaroonResponse) GetMacaroon() string + func (x *BakeMacaroonResponse) ProtoReflect() protoreflect.Message + func (x *BakeMacaroonResponse) Reset() + func (x *BakeMacaroonResponse) String() string + type ChangePwdRequest struct + CurrentPassword []byte + NewMacaroonRootKey bool + NewPassword []byte + func (*ChangePwdRequest) Descriptor() ([]byte, []int) + func (*ChangePwdRequest) ProtoMessage() + func (x *ChangePwdRequest) GetCurrentPassword() []byte + func (x *ChangePwdRequest) GetNewMacaroonRootKey() bool + func (x *ChangePwdRequest) GetNewPassword() []byte + func (x *ChangePwdRequest) ProtoReflect() protoreflect.Message + func (x *ChangePwdRequest) Reset() + func (x *ChangePwdRequest) String() string + type ChangePwdResponse struct + func (*ChangePwdResponse) Descriptor() ([]byte, []int) + func (*ChangePwdResponse) ProtoMessage() + func (x *ChangePwdResponse) ProtoReflect() protoreflect.Message + func (x *ChangePwdResponse) Reset() + func (x *ChangePwdResponse) String() string + type ControllerPluginRequest struct + Frame *proto.Frame + Name string + func (*ControllerPluginRequest) Descriptor() ([]byte, []int) + func (*ControllerPluginRequest) ProtoMessage() + func (x *ControllerPluginRequest) GetFrame() *proto.Frame + func (x *ControllerPluginRequest) GetName() string + func (x *ControllerPluginRequest) ProtoReflect() protoreflect.Message + func (x *ControllerPluginRequest) Reset() + func (x *ControllerPluginRequest) String() string + type HealthClient interface + Check func(ctx context.Context, in *HealthRequest, opts ...grpc.CallOption) (*HealthResponse, error) + func NewHealthClient(cc grpc.ClientConnInterface) HealthClient + type HealthRequest struct + Service string + func (*HealthRequest) Descriptor() ([]byte, []int) + func (*HealthRequest) ProtoMessage() + func (x *HealthRequest) GetService() string + func (x *HealthRequest) ProtoReflect() protoreflect.Message + func (x *HealthRequest) Reset() + func (x *HealthRequest) String() string + type HealthResponse struct + Status []*HealthUpdate + func (*HealthResponse) Descriptor() ([]byte, []int) + func (*HealthResponse) ProtoMessage() + func (x *HealthResponse) GetStatus() []*HealthUpdate + func (x *HealthResponse) ProtoReflect() protoreflect.Message + func (x *HealthResponse) Reset() + func (x *HealthResponse) String() string + type HealthServer interface + Check func(context.Context, *HealthRequest) (*HealthResponse, error) + type HealthUpdate struct + Name string + State HealthUpdate_HealthState + func (*HealthUpdate) Descriptor() ([]byte, []int) + func (*HealthUpdate) ProtoMessage() + func (x *HealthUpdate) GetName() string + func (x *HealthUpdate) GetState() HealthUpdate_HealthState + func (x *HealthUpdate) ProtoReflect() protoreflect.Message + func (x *HealthUpdate) Reset() + func (x *HealthUpdate) String() string + type HealthUpdate_HealthState int32 + const HealthUpdate_NOT_SERVING + const HealthUpdate_SERVICE_UNKNOWN + const HealthUpdate_SERVING + const HealthUpdate_UNKNOWN + func (HealthUpdate_HealthState) Descriptor() protoreflect.EnumDescriptor + func (HealthUpdate_HealthState) EnumDescriptor() ([]byte, []int) + func (HealthUpdate_HealthState) Type() protoreflect.EnumType + func (x HealthUpdate_HealthState) Enum() *HealthUpdate_HealthState + func (x HealthUpdate_HealthState) Number() protoreflect.EnumNumber + func (x HealthUpdate_HealthState) String() string + type LaniClient interface + AdminTest func(ctx context.Context, in *AdminTestRequest, opts ...grpc.CallOption) (*AdminTestResponse, error) + BakeMacaroon func(ctx context.Context, in *BakeMacaroonRequest, opts ...grpc.CallOption) (*BakeMacaroonResponse, error) + InsertROIMarker func(ctx context.Context, in *proto.Empty, opts ...grpc.CallOption) (*proto.Empty, error) + LoadTestPlan func(ctx context.Context, in *proto.Empty, opts ...grpc.CallOption) (*proto.Empty, error) + SetPressure func(ctx context.Context, in *proto.Empty, opts ...grpc.CallOption) (*proto.Empty, error) + SetTemperature func(ctx context.Context, in *proto.Empty, opts ...grpc.CallOption) (*proto.Empty, error) + StartRecording func(ctx context.Context, in *proto.Empty, opts ...grpc.CallOption) (*proto.Empty, error) + StartTestPlan func(ctx context.Context, in *proto.Empty, opts ...grpc.CallOption) (*proto.Empty, error) + StopDaemon func(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StopResponse, error) + StopRecording func(ctx context.Context, in *proto.Empty, opts ...grpc.CallOption) (*proto.Empty, error) + StopTestPlan func(ctx context.Context, in *proto.Empty, opts ...grpc.CallOption) (*proto.Empty, error) + SubscribeDataStream func(ctx context.Context, in *proto.Empty, opts ...grpc.CallOption) (*proto.Empty, error) + TestCommand func(ctx context.Context, in *TestRequest, opts ...grpc.CallOption) (*TestResponse, error) + func NewLaniClient(cc grpc.ClientConnInterface) LaniClient + type LaniServer interface + AdminTest func(context.Context, *AdminTestRequest) (*AdminTestResponse, error) + BakeMacaroon func(context.Context, *BakeMacaroonRequest) (*BakeMacaroonResponse, error) + InsertROIMarker func(context.Context, *proto.Empty) (*proto.Empty, error) + LoadTestPlan func(context.Context, *proto.Empty) (*proto.Empty, error) + SetPressure func(context.Context, *proto.Empty) (*proto.Empty, error) + SetTemperature func(context.Context, *proto.Empty) (*proto.Empty, error) + StartRecording func(context.Context, *proto.Empty) (*proto.Empty, error) + StartTestPlan func(context.Context, *proto.Empty) (*proto.Empty, error) + StopDaemon func(context.Context, *StopRequest) (*StopResponse, error) + StopRecording func(context.Context, *proto.Empty) (*proto.Empty, error) + StopTestPlan func(context.Context, *proto.Empty) (*proto.Empty, error) + SubscribeDataStream func(context.Context, *proto.Empty) (*proto.Empty, error) + TestCommand func(context.Context, *TestRequest) (*TestResponse, error) + type LoginRequest struct + Password []byte + func (*LoginRequest) Descriptor() ([]byte, []int) + func (*LoginRequest) ProtoMessage() + func (x *LoginRequest) GetPassword() []byte + func (x *LoginRequest) ProtoReflect() protoreflect.Message + func (x *LoginRequest) Reset() + func (x *LoginRequest) String() string + type LoginResponse struct + func (*LoginResponse) Descriptor() ([]byte, []int) + func (*LoginResponse) ProtoMessage() + func (x *LoginResponse) ProtoReflect() protoreflect.Message + func (x *LoginResponse) Reset() + func (x *LoginResponse) String() string + type MacaroonPermission struct + Action string + Entity string + func (*MacaroonPermission) Descriptor() ([]byte, []int) + func (*MacaroonPermission) ProtoMessage() + func (x *MacaroonPermission) GetAction() string + func (x *MacaroonPermission) GetEntity() string + func (x *MacaroonPermission) ProtoReflect() protoreflect.Message + func (x *MacaroonPermission) Reset() + func (x *MacaroonPermission) String() string + type Plugin struct + Name string + StartedAt int64 + State PluginState + StoppedAt int64 + Type Plugin_PluginType + Version string + func (*Plugin) Descriptor() ([]byte, []int) + func (*Plugin) ProtoMessage() + func (x *Plugin) GetName() string + func (x *Plugin) GetStartedAt() int64 + func (x *Plugin) GetState() PluginState + func (x *Plugin) GetStoppedAt() int64 + func (x *Plugin) GetType() Plugin_PluginType + func (x *Plugin) GetVersion() string + func (x *Plugin) ProtoReflect() protoreflect.Message + func (x *Plugin) Reset() + func (x *Plugin) String() string + type PluginAPIClient interface + AddPlugin func(ctx context.Context, in *PluginConfig, opts ...grpc.CallOption) (*Plugin, error) + Command func(ctx context.Context, in *ControllerPluginRequest, opts ...grpc.CallOption) (PluginAPI_CommandClient, error) + GetPlugin func(ctx context.Context, in *PluginRequest, opts ...grpc.CallOption) (*Plugin, error) + ListPlugins func(ctx context.Context, in *proto.Empty, opts ...grpc.CallOption) (*PluginsList, error) + StartPlugin func(ctx context.Context, in *PluginRequest, opts ...grpc.CallOption) (*proto.Empty, error) + StartRecord func(ctx context.Context, in *PluginRequest, opts ...grpc.CallOption) (*proto.Empty, error) + StopPlugin func(ctx context.Context, in *PluginRequest, opts ...grpc.CallOption) (*proto.Empty, error) + StopRecord func(ctx context.Context, in *PluginRequest, opts ...grpc.CallOption) (*proto.Empty, error) + Subscribe func(ctx context.Context, in *PluginRequest, opts ...grpc.CallOption) (PluginAPI_SubscribeClient, error) + SubscribePluginState func(ctx context.Context, in *PluginRequest, opts ...grpc.CallOption) (PluginAPI_SubscribePluginStateClient, error) + func NewPluginAPIClient(cc grpc.ClientConnInterface) PluginAPIClient + type PluginAPIServer interface + AddPlugin func(context.Context, *PluginConfig) (*Plugin, error) + Command func(*ControllerPluginRequest, PluginAPI_CommandServer) error + GetPlugin func(context.Context, *PluginRequest) (*Plugin, error) + ListPlugins func(context.Context, *proto.Empty) (*PluginsList, error) + StartPlugin func(context.Context, *PluginRequest) (*proto.Empty, error) + StartRecord func(context.Context, *PluginRequest) (*proto.Empty, error) + StopPlugin func(context.Context, *PluginRequest) (*proto.Empty, error) + StopRecord func(context.Context, *PluginRequest) (*proto.Empty, error) + Subscribe func(*PluginRequest, PluginAPI_SubscribeServer) error + SubscribePluginState func(*PluginRequest, PluginAPI_SubscribePluginStateServer) error + type PluginAPI_CommandClient interface + Recv func() (*proto.Frame, error) + type PluginAPI_CommandServer interface + Send func(*proto.Frame) error + type PluginAPI_SubscribeClient interface + Recv func() (*proto.Frame, error) + type PluginAPI_SubscribePluginStateClient interface + Recv func() (*PluginStateUpdate, error) + type PluginAPI_SubscribePluginStateServer interface + Send func(*PluginStateUpdate) error + type PluginAPI_SubscribeServer interface + Send func(*proto.Frame) error + type PluginConfig struct + ExecName string + MaxTimeouts int64 + Name string + Timeout int64 + Type string + func (*PluginConfig) Descriptor() ([]byte, []int) + func (*PluginConfig) ProtoMessage() + func (x *PluginConfig) GetExecName() string + func (x *PluginConfig) GetMaxTimeouts() int64 + func (x *PluginConfig) GetName() string + func (x *PluginConfig) GetTimeout() int64 + func (x *PluginConfig) GetType() string + func (x *PluginConfig) ProtoReflect() protoreflect.Message + func (x *PluginConfig) Reset() + func (x *PluginConfig) String() string + type PluginRequest struct + Name string + func (*PluginRequest) Descriptor() ([]byte, []int) + func (*PluginRequest) ProtoMessage() + func (x *PluginRequest) GetName() string + func (x *PluginRequest) ProtoReflect() protoreflect.Message + func (x *PluginRequest) Reset() + func (x *PluginRequest) String() string + type PluginState int32 + const PluginState_BUSY + const PluginState_KILLED + const PluginState_READY + const PluginState_STOPPED + const PluginState_STOPPING + const PluginState_UNKNOWN + const PluginState_UNRESPONSIVE + func (PluginState) Descriptor() protoreflect.EnumDescriptor + func (PluginState) EnumDescriptor() ([]byte, []int) + func (PluginState) Type() protoreflect.EnumType + func (x PluginState) Enum() *PluginState + func (x PluginState) Number() protoreflect.EnumNumber + func (x PluginState) String() string + type PluginStateUpdate struct + Name string + State PluginState + func (*PluginStateUpdate) Descriptor() ([]byte, []int) + func (*PluginStateUpdate) ProtoMessage() + func (x *PluginStateUpdate) GetName() string + func (x *PluginStateUpdate) GetState() PluginState + func (x *PluginStateUpdate) ProtoReflect() protoreflect.Message + func (x *PluginStateUpdate) Reset() + func (x *PluginStateUpdate) String() string + type Plugin_PluginType int32 + const Plugin_CONTROLLER + const Plugin_DATASOURCE + func (Plugin_PluginType) Descriptor() protoreflect.EnumDescriptor + func (Plugin_PluginType) EnumDescriptor() ([]byte, []int) + func (Plugin_PluginType) Type() protoreflect.EnumType + func (x Plugin_PluginType) Enum() *Plugin_PluginType + func (x Plugin_PluginType) Number() protoreflect.EnumNumber + func (x Plugin_PluginType) String() string + type PluginsList struct + Plugins []*Plugin + func (*PluginsList) Descriptor() ([]byte, []int) + func (*PluginsList) ProtoMessage() + func (x *PluginsList) GetPlugins() []*Plugin + func (x *PluginsList) ProtoReflect() protoreflect.Message + func (x *PluginsList) Reset() + func (x *PluginsList) String() string + type SetPwdRequest struct + Password []byte + func (*SetPwdRequest) Descriptor() ([]byte, []int) + func (*SetPwdRequest) ProtoMessage() + func (x *SetPwdRequest) GetPassword() []byte + func (x *SetPwdRequest) ProtoReflect() protoreflect.Message + func (x *SetPwdRequest) Reset() + func (x *SetPwdRequest) String() string + type SetPwdResponse struct + func (*SetPwdResponse) Descriptor() ([]byte, []int) + func (*SetPwdResponse) ProtoMessage() + func (x *SetPwdResponse) ProtoReflect() protoreflect.Message + func (x *SetPwdResponse) Reset() + func (x *SetPwdResponse) String() string + type StopRequest struct + func (*StopRequest) Descriptor() ([]byte, []int) + func (*StopRequest) ProtoMessage() + func (x *StopRequest) ProtoReflect() protoreflect.Message + func (x *StopRequest) Reset() + func (x *StopRequest) String() string + type StopResponse struct + func (*StopResponse) Descriptor() ([]byte, []int) + func (*StopResponse) ProtoMessage() + func (x *StopResponse) ProtoReflect() protoreflect.Message + func (x *StopResponse) Reset() + func (x *StopResponse) String() string + type TestRequest struct + func (*TestRequest) Descriptor() ([]byte, []int) + func (*TestRequest) ProtoMessage() + func (x *TestRequest) ProtoReflect() protoreflect.Message + func (x *TestRequest) Reset() + func (x *TestRequest) String() string + type TestResponse struct + Msg string + func (*TestResponse) Descriptor() ([]byte, []int) + func (*TestResponse) ProtoMessage() + func (x *TestResponse) GetMsg() string + func (x *TestResponse) ProtoReflect() protoreflect.Message + func (x *TestResponse) Reset() + func (x *TestResponse) String() string + type TimeoutType int32 + const TimeoutType_DAY + const TimeoutType_HOUR + const TimeoutType_MINUTE + const TimeoutType_SECOND + func (TimeoutType) Descriptor() protoreflect.EnumDescriptor + func (TimeoutType) EnumDescriptor() ([]byte, []int) + func (TimeoutType) Type() protoreflect.EnumType + func (x TimeoutType) Enum() *TimeoutType + func (x TimeoutType) Number() protoreflect.EnumNumber + func (x TimeoutType) String() string + type UnimplementedHealthServer struct + func (UnimplementedHealthServer) Check(context.Context, *HealthRequest) (*HealthResponse, error) + type UnimplementedLaniServer struct + func (UnimplementedLaniServer) AdminTest(context.Context, *AdminTestRequest) (*AdminTestResponse, error) + func (UnimplementedLaniServer) BakeMacaroon(context.Context, *BakeMacaroonRequest) (*BakeMacaroonResponse, error) + func (UnimplementedLaniServer) InsertROIMarker(context.Context, *proto.Empty) (*proto.Empty, error) + func (UnimplementedLaniServer) LoadTestPlan(context.Context, *proto.Empty) (*proto.Empty, error) + func (UnimplementedLaniServer) SetPressure(context.Context, *proto.Empty) (*proto.Empty, error) + func (UnimplementedLaniServer) SetTemperature(context.Context, *proto.Empty) (*proto.Empty, error) + func (UnimplementedLaniServer) StartRecording(context.Context, *proto.Empty) (*proto.Empty, error) + func (UnimplementedLaniServer) StartTestPlan(context.Context, *proto.Empty) (*proto.Empty, error) + func (UnimplementedLaniServer) StopDaemon(context.Context, *StopRequest) (*StopResponse, error) + func (UnimplementedLaniServer) StopRecording(context.Context, *proto.Empty) (*proto.Empty, error) + func (UnimplementedLaniServer) StopTestPlan(context.Context, *proto.Empty) (*proto.Empty, error) + func (UnimplementedLaniServer) SubscribeDataStream(context.Context, *proto.Empty) (*proto.Empty, error) + func (UnimplementedLaniServer) TestCommand(context.Context, *TestRequest) (*TestResponse, error) + type UnimplementedPluginAPIServer struct + func (UnimplementedPluginAPIServer) AddPlugin(context.Context, *PluginConfig) (*Plugin, error) + func (UnimplementedPluginAPIServer) Command(*ControllerPluginRequest, PluginAPI_CommandServer) error + func (UnimplementedPluginAPIServer) GetPlugin(context.Context, *PluginRequest) (*Plugin, error) + func (UnimplementedPluginAPIServer) ListPlugins(context.Context, *proto.Empty) (*PluginsList, error) + func (UnimplementedPluginAPIServer) StartPlugin(context.Context, *PluginRequest) (*proto.Empty, error) + func (UnimplementedPluginAPIServer) StartRecord(context.Context, *PluginRequest) (*proto.Empty, error) + func (UnimplementedPluginAPIServer) StopPlugin(context.Context, *PluginRequest) (*proto.Empty, error) + func (UnimplementedPluginAPIServer) StopRecord(context.Context, *PluginRequest) (*proto.Empty, error) + func (UnimplementedPluginAPIServer) Subscribe(*PluginRequest, PluginAPI_SubscribeServer) error + func (UnimplementedPluginAPIServer) SubscribePluginState(*PluginRequest, PluginAPI_SubscribePluginStateServer) error + type UnimplementedUnlockerServer struct + func (UnimplementedUnlockerServer) ChangePassword(context.Context, *ChangePwdRequest) (*ChangePwdResponse, error) + func (UnimplementedUnlockerServer) Login(context.Context, *LoginRequest) (*LoginResponse, error) + func (UnimplementedUnlockerServer) SetPassword(context.Context, *SetPwdRequest) (*SetPwdResponse, error) + type UnlockerClient interface + ChangePassword func(ctx context.Context, in *ChangePwdRequest, opts ...grpc.CallOption) (*ChangePwdResponse, error) + Login func(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) + SetPassword func(ctx context.Context, in *SetPwdRequest, opts ...grpc.CallOption) (*SetPwdResponse, error) + func NewUnlockerClient(cc grpc.ClientConnInterface) UnlockerClient + type UnlockerServer interface + ChangePassword func(context.Context, *ChangePwdRequest) (*ChangePwdResponse, error) + Login func(context.Context, *LoginRequest) (*LoginResponse, error) + SetPassword func(context.Context, *SetPwdRequest) (*SetPwdResponse, error) + type UnsafeHealthServer interface + type UnsafeLaniServer interface + type UnsafePluginAPIServer interface + type UnsafeUnlockerServer interface + type WebsocketProxy struct + func (p *WebsocketProxy) ServeHTTP(w http.ResponseWriter, r *http.Request)