Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterCoreCLIHelperServer(s grpc.ServiceRegistrar, srv CoreCLIHelperServer)
- func RegisterMainServer(s grpc.ServiceRegistrar, srv MainServer)
- type AdditionalInfo
- func (*AdditionalInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AdditionalInfo) GetIsTerminal() *IsTerminal
- func (x *AdditionalInfo) GetTerminalDimensions() *TerminalDimensions
- func (*AdditionalInfo) ProtoMessage()
- func (x *AdditionalInfo) ProtoReflect() protoreflect.Message
- func (x *AdditionalInfo) Reset()
- func (x *AdditionalInfo) String() string
- type CoreCLIHelperClient
- type CoreCLIHelperServer
- type EchoRequest
- type EchoResponse
- type IsTerminal
- func (*IsTerminal) Descriptor() ([]byte, []int)deprecated
- func (x *IsTerminal) GetStderr() bool
- func (x *IsTerminal) GetStdin() bool
- func (x *IsTerminal) GetStdout() bool
- func (*IsTerminal) ProtoMessage()
- func (x *IsTerminal) ProtoReflect() protoreflect.Message
- func (x *IsTerminal) Reset()
- func (x *IsTerminal) String() string
- type KeychainDeletePasswordRequest
- func (*KeychainDeletePasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KeychainDeletePasswordRequest) GetKey() string
- func (*KeychainDeletePasswordRequest) ProtoMessage()
- func (x *KeychainDeletePasswordRequest) ProtoReflect() protoreflect.Message
- func (x *KeychainDeletePasswordRequest) Reset()
- func (x *KeychainDeletePasswordRequest) String() string
- type KeychainDeletePasswordResponse
- func (*KeychainDeletePasswordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KeychainDeletePasswordResponse) GetDeleted() bool
- func (*KeychainDeletePasswordResponse) ProtoMessage()
- func (x *KeychainDeletePasswordResponse) ProtoReflect() protoreflect.Message
- func (x *KeychainDeletePasswordResponse) Reset()
- func (x *KeychainDeletePasswordResponse) String() string
- type KeychainFindCredentialsRequest
- func (*KeychainFindCredentialsRequest) Descriptor() ([]byte, []int)deprecated
- func (*KeychainFindCredentialsRequest) ProtoMessage()
- func (x *KeychainFindCredentialsRequest) ProtoReflect() protoreflect.Message
- func (x *KeychainFindCredentialsRequest) Reset()
- func (x *KeychainFindCredentialsRequest) String() string
- type KeychainFindCredentialsResponse
- func (*KeychainFindCredentialsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KeychainFindCredentialsResponse) GetKeys() []string
- func (*KeychainFindCredentialsResponse) ProtoMessage()
- func (x *KeychainFindCredentialsResponse) ProtoReflect() protoreflect.Message
- func (x *KeychainFindCredentialsResponse) Reset()
- func (x *KeychainFindCredentialsResponse) String() string
- type KeychainGetPasswordRequest
- func (*KeychainGetPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KeychainGetPasswordRequest) GetKey() string
- func (*KeychainGetPasswordRequest) ProtoMessage()
- func (x *KeychainGetPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *KeychainGetPasswordRequest) Reset()
- func (x *KeychainGetPasswordRequest) String() string
- type KeychainGetPasswordResponse
- func (*KeychainGetPasswordResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KeychainGetPasswordResponse) GetFound() bool
- func (x *KeychainGetPasswordResponse) GetValue() string
- func (*KeychainGetPasswordResponse) ProtoMessage()
- func (x *KeychainGetPasswordResponse) ProtoReflect() protoreflect.Message
- func (x *KeychainGetPasswordResponse) Reset()
- func (x *KeychainGetPasswordResponse) String() string
- type KeychainSetPasswordRequest
- func (*KeychainSetPasswordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KeychainSetPasswordRequest) GetKey() string
- func (x *KeychainSetPasswordRequest) GetValue() string
- func (*KeychainSetPasswordRequest) ProtoMessage()
- func (x *KeychainSetPasswordRequest) ProtoReflect() protoreflect.Message
- func (x *KeychainSetPasswordRequest) Reset()
- func (x *KeychainSetPasswordRequest) String() string
- type KeychainSetPasswordResponse
- type MainClient
- type MainServer
- type RunCommandRequest
- func (*RunCommandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunCommandRequest) GetAdditionalInfo() *AdditionalInfo
- func (x *RunCommandRequest) GetArgs() []string
- func (x *RunCommandRequest) GetCoreCliHelperId() uint32
- func (*RunCommandRequest) ProtoMessage()
- func (x *RunCommandRequest) ProtoReflect() protoreflect.Message
- func (x *RunCommandRequest) Reset()
- func (x *RunCommandRequest) String() string
- type RunCommandResponse
- type SendAnalyticsRequest
- func (*SendAnalyticsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendAnalyticsRequest) GetEventName() string
- func (x *SendAnalyticsRequest) GetEventValue() string
- func (*SendAnalyticsRequest) ProtoMessage()
- func (x *SendAnalyticsRequest) ProtoReflect() protoreflect.Message
- func (x *SendAnalyticsRequest) Reset()
- func (x *SendAnalyticsRequest) String() string
- type SendAnalyticsResponse
- type TerminalDimensions
- func (*TerminalDimensions) Descriptor() ([]byte, []int)deprecated
- func (x *TerminalDimensions) GetHeight() uint32
- func (x *TerminalDimensions) GetWidth() uint32
- func (*TerminalDimensions) ProtoMessage()
- func (x *TerminalDimensions) ProtoReflect() protoreflect.Message
- func (x *TerminalDimensions) Reset()
- func (x *TerminalDimensions) String() string
- type UnimplementedCoreCLIHelperServer
- func (UnimplementedCoreCLIHelperServer) Echo(context.Context, *EchoRequest) (*EchoResponse, error)
- func (UnimplementedCoreCLIHelperServer) KeychainDeletePassword(context.Context, *KeychainDeletePasswordRequest) (*KeychainDeletePasswordResponse, error)
- func (UnimplementedCoreCLIHelperServer) KeychainFindCredentials(context.Context, *KeychainFindCredentialsRequest) (*KeychainFindCredentialsResponse, error)
- func (UnimplementedCoreCLIHelperServer) KeychainGetPassword(context.Context, *KeychainGetPasswordRequest) (*KeychainGetPasswordResponse, error)
- func (UnimplementedCoreCLIHelperServer) KeychainSetPassword(context.Context, *KeychainSetPasswordRequest) (*KeychainSetPasswordResponse, error)
- func (UnimplementedCoreCLIHelperServer) SendAnalytics(context.Context, *SendAnalyticsRequest) (*SendAnalyticsResponse, error)
- type UnimplementedMainServer
- type UnsafeCoreCLIHelperServer
- type UnsafeMainServer
Constants ¶
const ( CoreCLIHelper_Echo_FullMethodName = "/proto.CoreCLIHelper/Echo" CoreCLIHelper_SendAnalytics_FullMethodName = "/proto.CoreCLIHelper/SendAnalytics" CoreCLIHelper_KeychainGetPassword_FullMethodName = "/proto.CoreCLIHelper/KeychainGetPassword" CoreCLIHelper_KeychainSetPassword_FullMethodName = "/proto.CoreCLIHelper/KeychainSetPassword" CoreCLIHelper_KeychainDeletePassword_FullMethodName = "/proto.CoreCLIHelper/KeychainDeletePassword" CoreCLIHelper_KeychainFindCredentials_FullMethodName = "/proto.CoreCLIHelper/KeychainFindCredentials" )
const (
Main_RunCommand_FullMethodName = "/proto.Main/RunCommand"
)
Variables ¶
var CoreCLIHelper_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.CoreCLIHelper", HandlerType: (*CoreCLIHelperServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Echo", Handler: _CoreCLIHelper_Echo_Handler, }, { MethodName: "SendAnalytics", Handler: _CoreCLIHelper_SendAnalytics_Handler, }, { MethodName: "KeychainGetPassword", Handler: _CoreCLIHelper_KeychainGetPassword_Handler, }, { MethodName: "KeychainSetPassword", Handler: _CoreCLIHelper_KeychainSetPassword_Handler, }, { MethodName: "KeychainDeletePassword", Handler: _CoreCLIHelper_KeychainDeletePassword_Handler, }, { MethodName: "KeychainFindCredentials", Handler: _CoreCLIHelper_KeychainFindCredentials_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pkg/plugins/proto/main.proto", }
CoreCLIHelper_ServiceDesc is the grpc.ServiceDesc for CoreCLIHelper service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_pkg_plugins_proto_main_proto protoreflect.FileDescriptor
var Main_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.Main", HandlerType: (*MainServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "RunCommand", Handler: _Main_RunCommand_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pkg/plugins/proto/main.proto", }
Main_ServiceDesc is the grpc.ServiceDesc for Main service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterCoreCLIHelperServer ¶ added in v1.37.4
func RegisterCoreCLIHelperServer(s grpc.ServiceRegistrar, srv CoreCLIHelperServer)
func RegisterMainServer ¶
func RegisterMainServer(s grpc.ServiceRegistrar, srv MainServer)
Types ¶
type AdditionalInfo ¶
type AdditionalInfo struct {
IsTerminal *IsTerminal `protobuf:"bytes,1,opt,name=is_terminal,json=isTerminal,proto3" json:"is_terminal,omitempty"`
TerminalDimensions *TerminalDimensions `protobuf:"bytes,2,opt,name=terminal_dimensions,json=terminalDimensions,proto3" json:"terminal_dimensions,omitempty"`
// contains filtered or unexported fields
}
func (*AdditionalInfo) Descriptor
deprecated
func (*AdditionalInfo) Descriptor() ([]byte, []int)
Deprecated: Use AdditionalInfo.ProtoReflect.Descriptor instead.
func (*AdditionalInfo) GetIsTerminal ¶
func (x *AdditionalInfo) GetIsTerminal() *IsTerminal
func (*AdditionalInfo) GetTerminalDimensions ¶ added in v1.40.3
func (x *AdditionalInfo) GetTerminalDimensions() *TerminalDimensions
func (*AdditionalInfo) ProtoMessage ¶
func (*AdditionalInfo) ProtoMessage()
func (*AdditionalInfo) ProtoReflect ¶
func (x *AdditionalInfo) ProtoReflect() protoreflect.Message
func (*AdditionalInfo) Reset ¶
func (x *AdditionalInfo) Reset()
func (*AdditionalInfo) String ¶
func (x *AdditionalInfo) String() string
type CoreCLIHelperClient ¶ added in v1.37.4
type CoreCLIHelperClient interface {
Echo(ctx context.Context, in *EchoRequest, opts ...grpc.CallOption) (*EchoResponse, error)
SendAnalytics(ctx context.Context, in *SendAnalyticsRequest, opts ...grpc.CallOption) (*SendAnalyticsResponse, error)
KeychainGetPassword(ctx context.Context, in *KeychainGetPasswordRequest, opts ...grpc.CallOption) (*KeychainGetPasswordResponse, error)
KeychainSetPassword(ctx context.Context, in *KeychainSetPasswordRequest, opts ...grpc.CallOption) (*KeychainSetPasswordResponse, error)
KeychainDeletePassword(ctx context.Context, in *KeychainDeletePasswordRequest, opts ...grpc.CallOption) (*KeychainDeletePasswordResponse, error)
KeychainFindCredentials(ctx context.Context, in *KeychainFindCredentialsRequest, opts ...grpc.CallOption) (*KeychainFindCredentialsResponse, error)
}
CoreCLIHelperClient is the client API for CoreCLIHelper service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCoreCLIHelperClient ¶ added in v1.37.4
func NewCoreCLIHelperClient(cc grpc.ClientConnInterface) CoreCLIHelperClient
type CoreCLIHelperServer ¶ added in v1.37.4
type CoreCLIHelperServer interface {
Echo(context.Context, *EchoRequest) (*EchoResponse, error)
SendAnalytics(context.Context, *SendAnalyticsRequest) (*SendAnalyticsResponse, error)
KeychainGetPassword(context.Context, *KeychainGetPasswordRequest) (*KeychainGetPasswordResponse, error)
KeychainSetPassword(context.Context, *KeychainSetPasswordRequest) (*KeychainSetPasswordResponse, error)
KeychainDeletePassword(context.Context, *KeychainDeletePasswordRequest) (*KeychainDeletePasswordResponse, error)
KeychainFindCredentials(context.Context, *KeychainFindCredentialsRequest) (*KeychainFindCredentialsResponse, error)
// contains filtered or unexported methods
}
CoreCLIHelperServer is the server API for CoreCLIHelper service. All implementations must embed UnimplementedCoreCLIHelperServer for forward compatibility.
type EchoRequest ¶ added in v1.37.4
type EchoRequest struct {
Input string `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"`
// contains filtered or unexported fields
}
func (*EchoRequest) Descriptor
deprecated
added in
v1.37.4
func (*EchoRequest) Descriptor() ([]byte, []int)
Deprecated: Use EchoRequest.ProtoReflect.Descriptor instead.
func (*EchoRequest) GetInput ¶ added in v1.37.4
func (x *EchoRequest) GetInput() string
func (*EchoRequest) ProtoMessage ¶ added in v1.37.4
func (*EchoRequest) ProtoMessage()
func (*EchoRequest) ProtoReflect ¶ added in v1.37.4
func (x *EchoRequest) ProtoReflect() protoreflect.Message
func (*EchoRequest) Reset ¶ added in v1.37.4
func (x *EchoRequest) Reset()
func (*EchoRequest) String ¶ added in v1.37.4
func (x *EchoRequest) String() string
type EchoResponse ¶ added in v1.37.4
type EchoResponse struct {
Output string `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
// contains filtered or unexported fields
}
func (*EchoResponse) Descriptor
deprecated
added in
v1.37.4
func (*EchoResponse) Descriptor() ([]byte, []int)
Deprecated: Use EchoResponse.ProtoReflect.Descriptor instead.
func (*EchoResponse) GetOutput ¶ added in v1.37.4
func (x *EchoResponse) GetOutput() string
func (*EchoResponse) ProtoMessage ¶ added in v1.37.4
func (*EchoResponse) ProtoMessage()
func (*EchoResponse) ProtoReflect ¶ added in v1.37.4
func (x *EchoResponse) ProtoReflect() protoreflect.Message
func (*EchoResponse) Reset ¶ added in v1.37.4
func (x *EchoResponse) Reset()
func (*EchoResponse) String ¶ added in v1.37.4
func (x *EchoResponse) String() string
type IsTerminal ¶
type IsTerminal struct {
Stdin bool `protobuf:"varint,1,opt,name=stdin,proto3" json:"stdin,omitempty"`
Stdout bool `protobuf:"varint,2,opt,name=stdout,proto3" json:"stdout,omitempty"`
Stderr bool `protobuf:"varint,3,opt,name=stderr,proto3" json:"stderr,omitempty"`
// contains filtered or unexported fields
}
func (*IsTerminal) Descriptor
deprecated
func (*IsTerminal) Descriptor() ([]byte, []int)
Deprecated: Use IsTerminal.ProtoReflect.Descriptor instead.
func (*IsTerminal) GetStderr ¶
func (x *IsTerminal) GetStderr() bool
func (*IsTerminal) GetStdin ¶
func (x *IsTerminal) GetStdin() bool
func (*IsTerminal) GetStdout ¶
func (x *IsTerminal) GetStdout() bool
func (*IsTerminal) ProtoMessage ¶
func (*IsTerminal) ProtoMessage()
func (*IsTerminal) ProtoReflect ¶
func (x *IsTerminal) ProtoReflect() protoreflect.Message
func (*IsTerminal) Reset ¶
func (x *IsTerminal) Reset()
func (*IsTerminal) String ¶
func (x *IsTerminal) String() string
type KeychainDeletePasswordRequest ¶ added in v1.38.0
type KeychainDeletePasswordRequest struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// contains filtered or unexported fields
}
func (*KeychainDeletePasswordRequest) Descriptor
deprecated
added in
v1.38.0
func (*KeychainDeletePasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeychainDeletePasswordRequest.ProtoReflect.Descriptor instead.
func (*KeychainDeletePasswordRequest) GetKey ¶ added in v1.38.0
func (x *KeychainDeletePasswordRequest) GetKey() string
func (*KeychainDeletePasswordRequest) ProtoMessage ¶ added in v1.38.0
func (*KeychainDeletePasswordRequest) ProtoMessage()
func (*KeychainDeletePasswordRequest) ProtoReflect ¶ added in v1.38.0
func (x *KeychainDeletePasswordRequest) ProtoReflect() protoreflect.Message
func (*KeychainDeletePasswordRequest) Reset ¶ added in v1.38.0
func (x *KeychainDeletePasswordRequest) Reset()
func (*KeychainDeletePasswordRequest) String ¶ added in v1.38.0
func (x *KeychainDeletePasswordRequest) String() string
type KeychainDeletePasswordResponse ¶ added in v1.38.0
type KeychainDeletePasswordResponse struct {
Deleted bool `protobuf:"varint,1,opt,name=deleted,proto3" json:"deleted,omitempty"`
// contains filtered or unexported fields
}
func (*KeychainDeletePasswordResponse) Descriptor
deprecated
added in
v1.38.0
func (*KeychainDeletePasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeychainDeletePasswordResponse.ProtoReflect.Descriptor instead.
func (*KeychainDeletePasswordResponse) GetDeleted ¶ added in v1.38.0
func (x *KeychainDeletePasswordResponse) GetDeleted() bool
func (*KeychainDeletePasswordResponse) ProtoMessage ¶ added in v1.38.0
func (*KeychainDeletePasswordResponse) ProtoMessage()
func (*KeychainDeletePasswordResponse) ProtoReflect ¶ added in v1.38.0
func (x *KeychainDeletePasswordResponse) ProtoReflect() protoreflect.Message
func (*KeychainDeletePasswordResponse) Reset ¶ added in v1.38.0
func (x *KeychainDeletePasswordResponse) Reset()
func (*KeychainDeletePasswordResponse) String ¶ added in v1.38.0
func (x *KeychainDeletePasswordResponse) String() string
type KeychainFindCredentialsRequest ¶ added in v1.38.0
type KeychainFindCredentialsRequest struct {
// contains filtered or unexported fields
}
func (*KeychainFindCredentialsRequest) Descriptor
deprecated
added in
v1.38.0
func (*KeychainFindCredentialsRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeychainFindCredentialsRequest.ProtoReflect.Descriptor instead.
func (*KeychainFindCredentialsRequest) ProtoMessage ¶ added in v1.38.0
func (*KeychainFindCredentialsRequest) ProtoMessage()
func (*KeychainFindCredentialsRequest) ProtoReflect ¶ added in v1.38.0
func (x *KeychainFindCredentialsRequest) ProtoReflect() protoreflect.Message
func (*KeychainFindCredentialsRequest) Reset ¶ added in v1.38.0
func (x *KeychainFindCredentialsRequest) Reset()
func (*KeychainFindCredentialsRequest) String ¶ added in v1.38.0
func (x *KeychainFindCredentialsRequest) String() string
type KeychainFindCredentialsResponse ¶ added in v1.38.0
type KeychainFindCredentialsResponse struct {
Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
// contains filtered or unexported fields
}
func (*KeychainFindCredentialsResponse) Descriptor
deprecated
added in
v1.38.0
func (*KeychainFindCredentialsResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeychainFindCredentialsResponse.ProtoReflect.Descriptor instead.
func (*KeychainFindCredentialsResponse) GetKeys ¶ added in v1.38.0
func (x *KeychainFindCredentialsResponse) GetKeys() []string
func (*KeychainFindCredentialsResponse) ProtoMessage ¶ added in v1.38.0
func (*KeychainFindCredentialsResponse) ProtoMessage()
func (*KeychainFindCredentialsResponse) ProtoReflect ¶ added in v1.38.0
func (x *KeychainFindCredentialsResponse) ProtoReflect() protoreflect.Message
func (*KeychainFindCredentialsResponse) Reset ¶ added in v1.38.0
func (x *KeychainFindCredentialsResponse) Reset()
func (*KeychainFindCredentialsResponse) String ¶ added in v1.38.0
func (x *KeychainFindCredentialsResponse) String() string
type KeychainGetPasswordRequest ¶ added in v1.38.0
type KeychainGetPasswordRequest struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// contains filtered or unexported fields
}
func (*KeychainGetPasswordRequest) Descriptor
deprecated
added in
v1.38.0
func (*KeychainGetPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeychainGetPasswordRequest.ProtoReflect.Descriptor instead.
func (*KeychainGetPasswordRequest) GetKey ¶ added in v1.38.0
func (x *KeychainGetPasswordRequest) GetKey() string
func (*KeychainGetPasswordRequest) ProtoMessage ¶ added in v1.38.0
func (*KeychainGetPasswordRequest) ProtoMessage()
func (*KeychainGetPasswordRequest) ProtoReflect ¶ added in v1.38.0
func (x *KeychainGetPasswordRequest) ProtoReflect() protoreflect.Message
func (*KeychainGetPasswordRequest) Reset ¶ added in v1.38.0
func (x *KeychainGetPasswordRequest) Reset()
func (*KeychainGetPasswordRequest) String ¶ added in v1.38.0
func (x *KeychainGetPasswordRequest) String() string
type KeychainGetPasswordResponse ¶ added in v1.38.0
type KeychainGetPasswordResponse struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
Found bool `protobuf:"varint,2,opt,name=found,proto3" json:"found,omitempty"`
// contains filtered or unexported fields
}
func (*KeychainGetPasswordResponse) Descriptor
deprecated
added in
v1.38.0
func (*KeychainGetPasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeychainGetPasswordResponse.ProtoReflect.Descriptor instead.
func (*KeychainGetPasswordResponse) GetFound ¶ added in v1.38.0
func (x *KeychainGetPasswordResponse) GetFound() bool
func (*KeychainGetPasswordResponse) GetValue ¶ added in v1.38.0
func (x *KeychainGetPasswordResponse) GetValue() string
func (*KeychainGetPasswordResponse) ProtoMessage ¶ added in v1.38.0
func (*KeychainGetPasswordResponse) ProtoMessage()
func (*KeychainGetPasswordResponse) ProtoReflect ¶ added in v1.38.0
func (x *KeychainGetPasswordResponse) ProtoReflect() protoreflect.Message
func (*KeychainGetPasswordResponse) Reset ¶ added in v1.38.0
func (x *KeychainGetPasswordResponse) Reset()
func (*KeychainGetPasswordResponse) String ¶ added in v1.38.0
func (x *KeychainGetPasswordResponse) String() string
type KeychainSetPasswordRequest ¶ added in v1.38.0
type KeychainSetPasswordRequest struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*KeychainSetPasswordRequest) Descriptor
deprecated
added in
v1.38.0
func (*KeychainSetPasswordRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeychainSetPasswordRequest.ProtoReflect.Descriptor instead.
func (*KeychainSetPasswordRequest) GetKey ¶ added in v1.38.0
func (x *KeychainSetPasswordRequest) GetKey() string
func (*KeychainSetPasswordRequest) GetValue ¶ added in v1.38.0
func (x *KeychainSetPasswordRequest) GetValue() string
func (*KeychainSetPasswordRequest) ProtoMessage ¶ added in v1.38.0
func (*KeychainSetPasswordRequest) ProtoMessage()
func (*KeychainSetPasswordRequest) ProtoReflect ¶ added in v1.38.0
func (x *KeychainSetPasswordRequest) ProtoReflect() protoreflect.Message
func (*KeychainSetPasswordRequest) Reset ¶ added in v1.38.0
func (x *KeychainSetPasswordRequest) Reset()
func (*KeychainSetPasswordRequest) String ¶ added in v1.38.0
func (x *KeychainSetPasswordRequest) String() string
type KeychainSetPasswordResponse ¶ added in v1.38.0
type KeychainSetPasswordResponse struct {
// contains filtered or unexported fields
}
func (*KeychainSetPasswordResponse) Descriptor
deprecated
added in
v1.38.0
func (*KeychainSetPasswordResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeychainSetPasswordResponse.ProtoReflect.Descriptor instead.
func (*KeychainSetPasswordResponse) ProtoMessage ¶ added in v1.38.0
func (*KeychainSetPasswordResponse) ProtoMessage()
func (*KeychainSetPasswordResponse) ProtoReflect ¶ added in v1.38.0
func (x *KeychainSetPasswordResponse) ProtoReflect() protoreflect.Message
func (*KeychainSetPasswordResponse) Reset ¶ added in v1.38.0
func (x *KeychainSetPasswordResponse) Reset()
func (*KeychainSetPasswordResponse) String ¶ added in v1.38.0
func (x *KeychainSetPasswordResponse) String() string
type MainClient ¶
type MainClient interface {
RunCommand(ctx context.Context, in *RunCommandRequest, opts ...grpc.CallOption) (*RunCommandResponse, error)
}
MainClient is the client API for Main service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMainClient ¶
func NewMainClient(cc grpc.ClientConnInterface) MainClient
type MainServer ¶
type MainServer interface {
RunCommand(context.Context, *RunCommandRequest) (*RunCommandResponse, error)
// contains filtered or unexported methods
}
MainServer is the server API for Main service. All implementations must embed UnimplementedMainServer for forward compatibility.
type RunCommandRequest ¶
type RunCommandRequest struct {
AdditionalInfo *AdditionalInfo `protobuf:"bytes,1,opt,name=additional_info,json=additionalInfo,proto3" json:"additional_info,omitempty"`
Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
CoreCliHelperId uint32 `protobuf:"varint,3,opt,name=core_cli_helper_id,json=coreCliHelperId,proto3" json:"core_cli_helper_id,omitempty"`
// contains filtered or unexported fields
}
func (*RunCommandRequest) Descriptor
deprecated
func (*RunCommandRequest) Descriptor() ([]byte, []int)
Deprecated: Use RunCommandRequest.ProtoReflect.Descriptor instead.
func (*RunCommandRequest) GetAdditionalInfo ¶
func (x *RunCommandRequest) GetAdditionalInfo() *AdditionalInfo
func (*RunCommandRequest) GetArgs ¶
func (x *RunCommandRequest) GetArgs() []string
func (*RunCommandRequest) GetCoreCliHelperId ¶ added in v1.37.4
func (x *RunCommandRequest) GetCoreCliHelperId() uint32
func (*RunCommandRequest) ProtoMessage ¶
func (*RunCommandRequest) ProtoMessage()
func (*RunCommandRequest) ProtoReflect ¶
func (x *RunCommandRequest) ProtoReflect() protoreflect.Message
func (*RunCommandRequest) Reset ¶
func (x *RunCommandRequest) Reset()
func (*RunCommandRequest) String ¶
func (x *RunCommandRequest) String() string
type RunCommandResponse ¶
type RunCommandResponse struct {
// contains filtered or unexported fields
}
func (*RunCommandResponse) Descriptor
deprecated
func (*RunCommandResponse) Descriptor() ([]byte, []int)
Deprecated: Use RunCommandResponse.ProtoReflect.Descriptor instead.
func (*RunCommandResponse) ProtoMessage ¶
func (*RunCommandResponse) ProtoMessage()
func (*RunCommandResponse) ProtoReflect ¶
func (x *RunCommandResponse) ProtoReflect() protoreflect.Message
func (*RunCommandResponse) Reset ¶
func (x *RunCommandResponse) Reset()
func (*RunCommandResponse) String ¶
func (x *RunCommandResponse) String() string
type SendAnalyticsRequest ¶ added in v1.37.4
type SendAnalyticsRequest struct {
EventName string `protobuf:"bytes,1,opt,name=event_name,json=eventName,proto3" json:"event_name,omitempty"`
EventValue string `protobuf:"bytes,2,opt,name=event_value,json=eventValue,proto3" json:"event_value,omitempty"`
// contains filtered or unexported fields
}
func (*SendAnalyticsRequest) Descriptor
deprecated
added in
v1.37.4
func (*SendAnalyticsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendAnalyticsRequest.ProtoReflect.Descriptor instead.
func (*SendAnalyticsRequest) GetEventName ¶ added in v1.37.4
func (x *SendAnalyticsRequest) GetEventName() string
func (*SendAnalyticsRequest) GetEventValue ¶ added in v1.37.4
func (x *SendAnalyticsRequest) GetEventValue() string
func (*SendAnalyticsRequest) ProtoMessage ¶ added in v1.37.4
func (*SendAnalyticsRequest) ProtoMessage()
func (*SendAnalyticsRequest) ProtoReflect ¶ added in v1.37.4
func (x *SendAnalyticsRequest) ProtoReflect() protoreflect.Message
func (*SendAnalyticsRequest) Reset ¶ added in v1.37.4
func (x *SendAnalyticsRequest) Reset()
func (*SendAnalyticsRequest) String ¶ added in v1.37.4
func (x *SendAnalyticsRequest) String() string
type SendAnalyticsResponse ¶ added in v1.37.4
type SendAnalyticsResponse struct {
// contains filtered or unexported fields
}
func (*SendAnalyticsResponse) Descriptor
deprecated
added in
v1.37.4
func (*SendAnalyticsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendAnalyticsResponse.ProtoReflect.Descriptor instead.
func (*SendAnalyticsResponse) ProtoMessage ¶ added in v1.37.4
func (*SendAnalyticsResponse) ProtoMessage()
func (*SendAnalyticsResponse) ProtoReflect ¶ added in v1.37.4
func (x *SendAnalyticsResponse) ProtoReflect() protoreflect.Message
func (*SendAnalyticsResponse) Reset ¶ added in v1.37.4
func (x *SendAnalyticsResponse) Reset()
func (*SendAnalyticsResponse) String ¶ added in v1.37.4
func (x *SendAnalyticsResponse) String() string
type TerminalDimensions ¶ added in v1.40.3
type TerminalDimensions struct {
Width uint32 `protobuf:"varint,1,opt,name=width,proto3" json:"width,omitempty"`
Height uint32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
// contains filtered or unexported fields
}
func (*TerminalDimensions) Descriptor
deprecated
added in
v1.40.3
func (*TerminalDimensions) Descriptor() ([]byte, []int)
Deprecated: Use TerminalDimensions.ProtoReflect.Descriptor instead.
func (*TerminalDimensions) GetHeight ¶ added in v1.40.3
func (x *TerminalDimensions) GetHeight() uint32
func (*TerminalDimensions) GetWidth ¶ added in v1.40.3
func (x *TerminalDimensions) GetWidth() uint32
func (*TerminalDimensions) ProtoMessage ¶ added in v1.40.3
func (*TerminalDimensions) ProtoMessage()
func (*TerminalDimensions) ProtoReflect ¶ added in v1.40.3
func (x *TerminalDimensions) ProtoReflect() protoreflect.Message
func (*TerminalDimensions) Reset ¶ added in v1.40.3
func (x *TerminalDimensions) Reset()
func (*TerminalDimensions) String ¶ added in v1.40.3
func (x *TerminalDimensions) String() string
type UnimplementedCoreCLIHelperServer ¶ added in v1.37.4
type UnimplementedCoreCLIHelperServer struct{}
UnimplementedCoreCLIHelperServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedCoreCLIHelperServer) Echo ¶ added in v1.37.4
func (UnimplementedCoreCLIHelperServer) Echo(context.Context, *EchoRequest) (*EchoResponse, error)
func (UnimplementedCoreCLIHelperServer) KeychainDeletePassword ¶ added in v1.38.0
func (UnimplementedCoreCLIHelperServer) KeychainDeletePassword(context.Context, *KeychainDeletePasswordRequest) (*KeychainDeletePasswordResponse, error)
func (UnimplementedCoreCLIHelperServer) KeychainFindCredentials ¶ added in v1.38.0
func (UnimplementedCoreCLIHelperServer) KeychainFindCredentials(context.Context, *KeychainFindCredentialsRequest) (*KeychainFindCredentialsResponse, error)
func (UnimplementedCoreCLIHelperServer) KeychainGetPassword ¶ added in v1.38.0
func (UnimplementedCoreCLIHelperServer) KeychainGetPassword(context.Context, *KeychainGetPasswordRequest) (*KeychainGetPasswordResponse, error)
func (UnimplementedCoreCLIHelperServer) KeychainSetPassword ¶ added in v1.38.0
func (UnimplementedCoreCLIHelperServer) KeychainSetPassword(context.Context, *KeychainSetPasswordRequest) (*KeychainSetPasswordResponse, error)
func (UnimplementedCoreCLIHelperServer) SendAnalytics ¶ added in v1.37.4
func (UnimplementedCoreCLIHelperServer) SendAnalytics(context.Context, *SendAnalyticsRequest) (*SendAnalyticsResponse, error)
type UnimplementedMainServer ¶
type UnimplementedMainServer struct{}
UnimplementedMainServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedMainServer) RunCommand ¶
func (UnimplementedMainServer) RunCommand(context.Context, *RunCommandRequest) (*RunCommandResponse, error)
type UnsafeCoreCLIHelperServer ¶ added in v1.37.4
type UnsafeCoreCLIHelperServer interface {
// contains filtered or unexported methods
}
UnsafeCoreCLIHelperServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CoreCLIHelperServer will result in compilation errors.
type UnsafeMainServer ¶
type UnsafeMainServer interface {
// contains filtered or unexported methods
}
UnsafeMainServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MainServer will result in compilation errors.