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) GetAccessBaseUrl() string
- func (x *AdditionalInfo) GetApiBaseUrl() string
- func (x *AdditionalInfo) GetDashboardBaseUrl() string
- 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 AuthorizedAccount
- func (*AuthorizedAccount) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizedAccount) GetId() string
- func (x *AuthorizedAccount) GetModes() []string
- func (x *AuthorizedAccount) GetName() string
- func (*AuthorizedAccount) ProtoMessage()
- func (x *AuthorizedAccount) ProtoReflect() protoreflect.Message
- func (x *AuthorizedAccount) Reset()
- func (x *AuthorizedAccount) String() string
- type CoreCLIHelperClient
- type CoreCLIHelperServer
- type DataBlock
- 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 KeychainFindCredentialsRequestdeprecated
- 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 KeychainFindCredentialsResponsedeprecated
- 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 ListAuthorizedAccountsRequest
- func (*ListAuthorizedAccountsRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListAuthorizedAccountsRequest) ProtoMessage()
- func (x *ListAuthorizedAccountsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAuthorizedAccountsRequest) Reset()
- func (x *ListAuthorizedAccountsRequest) String() string
- type ListAuthorizedAccountsResponse
- func (*ListAuthorizedAccountsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAuthorizedAccountsResponse) GetAccounts() []*AuthorizedAccount
- func (x *ListAuthorizedAccountsResponse) GetActiveAccountId() string
- func (x *ListAuthorizedAccountsResponse) GetActiveLivemode() bool
- func (*ListAuthorizedAccountsResponse) ProtoMessage()
- func (x *ListAuthorizedAccountsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAuthorizedAccountsResponse) Reset()
- func (x *ListAuthorizedAccountsResponse) String() string
- type LoginRequest
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResponse) GetAccountId() string
- func (x *LoginResponse) GetAccountName() string
- func (x *LoginResponse) GetLivemode() bool
- func (x *LoginResponse) GetLoggedIn() bool
- func (*LoginResponse) ProtoMessage()
- func (x *LoginResponse) ProtoReflect() protoreflect.Message
- func (x *LoginResponse) Reset()
- func (x *LoginResponse) String() string
- type MainClient
- type MainServer
- type MessageBlock
- func (*MessageBlock) Descriptor() ([]byte, []int)deprecated
- func (x *MessageBlock) GetLevel() MessageLevel
- func (x *MessageBlock) GetMessage() string
- func (*MessageBlock) ProtoMessage()
- func (x *MessageBlock) ProtoReflect() protoreflect.Message
- func (x *MessageBlock) Reset()
- func (x *MessageBlock) String() string
- type MessageLevel
- func (MessageLevel) Descriptor() protoreflect.EnumDescriptor
- func (x MessageLevel) Enum() *MessageLevel
- func (MessageLevel) EnumDescriptor() ([]byte, []int)deprecated
- func (x MessageLevel) Number() protoreflect.EnumNumber
- func (x MessageLevel) String() string
- func (MessageLevel) Type() protoreflect.EnumType
- type OAuthCheckLoginStatusRequest
- func (*OAuthCheckLoginStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (*OAuthCheckLoginStatusRequest) ProtoMessage()
- func (x *OAuthCheckLoginStatusRequest) ProtoReflect() protoreflect.Message
- func (x *OAuthCheckLoginStatusRequest) Reset()
- func (x *OAuthCheckLoginStatusRequest) String() string
- type OAuthCheckLoginStatusResponse
- func (*OAuthCheckLoginStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OAuthCheckLoginStatusResponse) GetAccountId() string
- func (x *OAuthCheckLoginStatusResponse) GetAccountName() string
- func (x *OAuthCheckLoginStatusResponse) GetLivemode() bool
- func (x *OAuthCheckLoginStatusResponse) GetLoggedIn() bool
- func (*OAuthCheckLoginStatusResponse) ProtoMessage()
- func (x *OAuthCheckLoginStatusResponse) ProtoReflect() protoreflect.Message
- func (x *OAuthCheckLoginStatusResponse) Reset()
- func (x *OAuthCheckLoginStatusResponse) String() string
- type OAuthFindPendingLoginRequest
- func (*OAuthFindPendingLoginRequest) Descriptor() ([]byte, []int)deprecated
- func (*OAuthFindPendingLoginRequest) ProtoMessage()
- func (x *OAuthFindPendingLoginRequest) ProtoReflect() protoreflect.Message
- func (x *OAuthFindPendingLoginRequest) Reset()
- func (x *OAuthFindPendingLoginRequest) String() string
- type OAuthFindPendingLoginResponse
- func (*OAuthFindPendingLoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OAuthFindPendingLoginResponse) GetBrowserUrl() string
- func (x *OAuthFindPendingLoginResponse) GetExpiresIn() int32
- func (x *OAuthFindPendingLoginResponse) GetFound() bool
- func (x *OAuthFindPendingLoginResponse) GetVerificationCode() string
- func (*OAuthFindPendingLoginResponse) ProtoMessage()
- func (x *OAuthFindPendingLoginResponse) ProtoReflect() protoreflect.Message
- func (x *OAuthFindPendingLoginResponse) Reset()
- func (x *OAuthFindPendingLoginResponse) String() string
- type OAuthInitiateLoginRequest
- type OAuthInitiateLoginResponse
- func (*OAuthInitiateLoginResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OAuthInitiateLoginResponse) GetBrowserUrl() string
- func (x *OAuthInitiateLoginResponse) GetExpiresIn() int32
- func (x *OAuthInitiateLoginResponse) GetVerificationCode() string
- func (*OAuthInitiateLoginResponse) ProtoMessage()
- func (x *OAuthInitiateLoginResponse) ProtoReflect() protoreflect.Message
- func (x *OAuthInitiateLoginResponse) Reset()
- func (x *OAuthInitiateLoginResponse) String() string
- type OutputBlock
- func (*OutputBlock) Descriptor() ([]byte, []int)deprecated
- func (x *OutputBlock) GetBlock() isOutputBlock_Block
- func (x *OutputBlock) GetData() *DataBlock
- func (x *OutputBlock) GetMessage() *MessageBlock
- func (x *OutputBlock) GetProgress() *ProgressBlock
- func (*OutputBlock) ProtoMessage()
- func (x *OutputBlock) ProtoReflect() protoreflect.Message
- func (x *OutputBlock) Reset()
- func (x *OutputBlock) String() string
- type OutputBlock_Data
- type OutputBlock_Message
- type OutputBlock_Progress
- type PostInstallRequest
- func (*PostInstallRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PostInstallRequest) GetAdditionalInfo() *AdditionalInfo
- func (x *PostInstallRequest) GetCoreCliHelperId() uint32
- func (x *PostInstallRequest) GetPreviousVersion() string
- func (x *PostInstallRequest) GetVersion() string
- func (*PostInstallRequest) ProtoMessage()
- func (x *PostInstallRequest) ProtoReflect() protoreflect.Message
- func (x *PostInstallRequest) Reset()
- func (x *PostInstallRequest) String() string
- type PostInstallResponse
- type PreUninstallRequest
- func (*PreUninstallRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PreUninstallRequest) GetAdditionalInfo() *AdditionalInfo
- func (x *PreUninstallRequest) GetCoreCliHelperId() uint32
- func (x *PreUninstallRequest) GetVersion() string
- func (*PreUninstallRequest) ProtoMessage()
- func (x *PreUninstallRequest) ProtoReflect() protoreflect.Message
- func (x *PreUninstallRequest) Reset()
- func (x *PreUninstallRequest) String() string
- type PreUninstallResponse
- type ProgressBlock
- func (*ProgressBlock) Descriptor() ([]byte, []int)deprecated
- func (x *ProgressBlock) GetId() string
- func (x *ProgressBlock) GetMessage() string
- func (x *ProgressBlock) GetSuccess() bool
- func (x *ProgressBlock) GetType() ProgressType
- func (*ProgressBlock) ProtoMessage()
- func (x *ProgressBlock) ProtoReflect() protoreflect.Message
- func (x *ProgressBlock) Reset()
- func (x *ProgressBlock) String() string
- type ProgressType
- func (ProgressType) Descriptor() protoreflect.EnumDescriptor
- func (x ProgressType) Enum() *ProgressType
- func (ProgressType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ProgressType) Number() protoreflect.EnumNumber
- func (x ProgressType) String() string
- func (ProgressType) Type() protoreflect.EnumType
- type PromptRequest
- func (*PromptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PromptRequest) GetDefaultValue() string
- func (x *PromptRequest) GetMessage() string
- func (x *PromptRequest) GetOptions() []string
- func (x *PromptRequest) GetType() PromptType
- func (*PromptRequest) ProtoMessage()
- func (x *PromptRequest) ProtoReflect() protoreflect.Message
- func (x *PromptRequest) Reset()
- func (x *PromptRequest) String() string
- type PromptResponse
- type PromptType
- type ResolveCredentialsRequest
- func (*ResolveCredentialsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResolveCredentialsRequest) GetLivemode() bool
- func (*ResolveCredentialsRequest) ProtoMessage()
- func (x *ResolveCredentialsRequest) ProtoReflect() protoreflect.Message
- func (x *ResolveCredentialsRequest) Reset()
- func (x *ResolveCredentialsRequest) String() string
- type ResolveCredentialsResponse
- func (*ResolveCredentialsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResolveCredentialsResponse) GetLivemode() bool
- func (x *ResolveCredentialsResponse) GetStripeContext() string
- func (x *ResolveCredentialsResponse) GetToken() string
- func (*ResolveCredentialsResponse) ProtoMessage()
- func (x *ResolveCredentialsResponse) ProtoReflect() protoreflect.Message
- func (x *ResolveCredentialsResponse) Reset()
- func (x *ResolveCredentialsResponse) String() string
- 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 RunPeerPluginRequest
- func (*RunPeerPluginRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunPeerPluginRequest) GetArgs() []string
- func (x *RunPeerPluginRequest) GetCwd() string
- func (x *RunPeerPluginRequest) GetPluginName() string
- func (*RunPeerPluginRequest) ProtoMessage()
- func (x *RunPeerPluginRequest) ProtoReflect() protoreflect.Message
- func (x *RunPeerPluginRequest) Reset()
- func (x *RunPeerPluginRequest) String() string
- type RunPeerPluginResponse
- 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 SendCommandOutputRequest
- func (*SendCommandOutputRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendCommandOutputRequest) GetBlocks() []*OutputBlock
- func (x *SendCommandOutputRequest) GetCommand() string
- func (x *SendCommandOutputRequest) GetFinal() bool
- func (*SendCommandOutputRequest) ProtoMessage()
- func (x *SendCommandOutputRequest) ProtoReflect() protoreflect.Message
- func (x *SendCommandOutputRequest) Reset()
- func (x *SendCommandOutputRequest) String() string
- type SendCommandOutputResponse
- type SwitchContextRequest
- func (*SwitchContextRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SwitchContextRequest) GetAccountId() string
- func (x *SwitchContextRequest) GetLivemode() bool
- func (*SwitchContextRequest) ProtoMessage()
- func (x *SwitchContextRequest) ProtoReflect() protoreflect.Message
- func (x *SwitchContextRequest) Reset()
- func (x *SwitchContextRequest) String() string
- type SwitchContextResponse
- func (*SwitchContextResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SwitchContextResponse) GetAccountId() string
- func (x *SwitchContextResponse) GetAccountName() string
- func (x *SwitchContextResponse) GetLivemode() bool
- func (x *SwitchContextResponse) GetSwitched() bool
- func (*SwitchContextResponse) ProtoMessage()
- func (x *SwitchContextResponse) ProtoReflect() protoreflect.Message
- func (x *SwitchContextResponse) Reset()
- func (x *SwitchContextResponse) String() string
- 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) ListAuthorizedAccounts(context.Context, *ListAuthorizedAccountsRequest) (*ListAuthorizedAccountsResponse, error)
- func (UnimplementedCoreCLIHelperServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
- func (UnimplementedCoreCLIHelperServer) OAuthCheckLoginStatus(context.Context, *OAuthCheckLoginStatusRequest) (*OAuthCheckLoginStatusResponse, error)
- func (UnimplementedCoreCLIHelperServer) OAuthFindPendingLogin(context.Context, *OAuthFindPendingLoginRequest) (*OAuthFindPendingLoginResponse, error)
- func (UnimplementedCoreCLIHelperServer) OAuthInitiateLogin(context.Context, *OAuthInitiateLoginRequest) (*OAuthInitiateLoginResponse, error)
- func (UnimplementedCoreCLIHelperServer) Prompt(context.Context, *PromptRequest) (*PromptResponse, error)
- func (UnimplementedCoreCLIHelperServer) ResolveCredentials(context.Context, *ResolveCredentialsRequest) (*ResolveCredentialsResponse, error)
- func (UnimplementedCoreCLIHelperServer) ResolveCredentialsForAnyMode(context.Context, *ResolveCredentialsRequest) (*ResolveCredentialsResponse, error)
- func (UnimplementedCoreCLIHelperServer) RunPeerPlugin(context.Context, *RunPeerPluginRequest) (*RunPeerPluginResponse, error)
- func (UnimplementedCoreCLIHelperServer) SendAnalytics(context.Context, *SendAnalyticsRequest) (*SendAnalyticsResponse, error)
- func (UnimplementedCoreCLIHelperServer) SendCommandOutput(context.Context, *SendCommandOutputRequest) (*SendCommandOutputResponse, error)
- func (UnimplementedCoreCLIHelperServer) SwitchContext(context.Context, *SwitchContextRequest) (*SwitchContextResponse, error)
- type UnimplementedMainServer
- func (UnimplementedMainServer) PostInstall(context.Context, *PostInstallRequest) (*PostInstallResponse, error)
- func (UnimplementedMainServer) PreUninstall(context.Context, *PreUninstallRequest) (*PreUninstallResponse, error)
- func (UnimplementedMainServer) RunCommand(context.Context, *RunCommandRequest) (*RunCommandResponse, error)
- type UnsafeCoreCLIHelperServer
- type UnsafeMainServer
Constants ¶
const ( Main_RunCommand_FullMethodName = "/proto.Main/RunCommand" Main_PostInstall_FullMethodName = "/proto.Main/PostInstall" Main_PreUninstall_FullMethodName = "/proto.Main/PreUninstall" )
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" CoreCLIHelper_RunPeerPlugin_FullMethodName = "/proto.CoreCLIHelper/RunPeerPlugin" CoreCLIHelper_ResolveCredentials_FullMethodName = "/proto.CoreCLIHelper/ResolveCredentials" CoreCLIHelper_ResolveCredentialsForAnyMode_FullMethodName = "/proto.CoreCLIHelper/ResolveCredentialsForAnyMode" CoreCLIHelper_SwitchContext_FullMethodName = "/proto.CoreCLIHelper/SwitchContext" CoreCLIHelper_ListAuthorizedAccounts_FullMethodName = "/proto.CoreCLIHelper/ListAuthorizedAccounts" CoreCLIHelper_Login_FullMethodName = "/proto.CoreCLIHelper/Login" CoreCLIHelper_OAuthInitiateLogin_FullMethodName = "/proto.CoreCLIHelper/OAuthInitiateLogin" CoreCLIHelper_OAuthFindPendingLogin_FullMethodName = "/proto.CoreCLIHelper/OAuthFindPendingLogin" CoreCLIHelper_OAuthCheckLoginStatus_FullMethodName = "/proto.CoreCLIHelper/OAuthCheckLoginStatus" CoreCLIHelper_SendCommandOutput_FullMethodName = "/proto.CoreCLIHelper/SendCommandOutput" CoreCLIHelper_Prompt_FullMethodName = "/proto.CoreCLIHelper/Prompt" )
Variables ¶
var ( MessageLevel_name = map[int32]string{ 0: "INFO", 1: "SUCCESS", 2: "WARNING", 3: "ERROR", } MessageLevel_value = map[string]int32{ "INFO": 0, "SUCCESS": 1, "WARNING": 2, "ERROR": 3, } )
Enum value maps for MessageLevel.
var ( ProgressType_name = map[int32]string{ 0: "PROGRESS_INFO", 1: "STEP", 2: "SPINNER_START", 3: "SPINNER_UPDATE", 4: "SPINNER_STOP", } ProgressType_value = map[string]int32{ "PROGRESS_INFO": 0, "STEP": 1, "SPINNER_START": 2, "SPINNER_UPDATE": 3, "SPINNER_STOP": 4, } )
Enum value maps for ProgressType.
var ( PromptType_name = map[int32]string{ 0: "TEXT", 1: "CONFIRM", 2: "SELECT", } PromptType_value = map[string]int32{ "TEXT": 0, "CONFIRM": 1, "SELECT": 2, } )
Enum value maps for PromptType.
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, }, { MethodName: "RunPeerPlugin", Handler: _CoreCLIHelper_RunPeerPlugin_Handler, }, { MethodName: "ResolveCredentials", Handler: _CoreCLIHelper_ResolveCredentials_Handler, }, { MethodName: "ResolveCredentialsForAnyMode", Handler: _CoreCLIHelper_ResolveCredentialsForAnyMode_Handler, }, { MethodName: "SwitchContext", Handler: _CoreCLIHelper_SwitchContext_Handler, }, { MethodName: "ListAuthorizedAccounts", Handler: _CoreCLIHelper_ListAuthorizedAccounts_Handler, }, { MethodName: "Login", Handler: _CoreCLIHelper_Login_Handler, }, { MethodName: "OAuthInitiateLogin", Handler: _CoreCLIHelper_OAuthInitiateLogin_Handler, }, { MethodName: "OAuthFindPendingLogin", Handler: _CoreCLIHelper_OAuthFindPendingLogin_Handler, }, { MethodName: "OAuthCheckLoginStatus", Handler: _CoreCLIHelper_OAuthCheckLoginStatus_Handler, }, { MethodName: "SendCommandOutput", Handler: _CoreCLIHelper_SendCommandOutput_Handler, }, { MethodName: "Prompt", Handler: _CoreCLIHelper_Prompt_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, }, { MethodName: "PostInstall", Handler: _Main_PostInstall_Handler, }, { MethodName: "PreUninstall", Handler: _Main_PreUninstall_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"`
// api_base_url, dashboard_base_url, and access_base_url carry the
// --api-base/--dashboard-base/--access-base values the user explicitly passed
// to the CLI, so a plugin can target the same non-default environment
// (e.g. QA/dev) as the CLI that launched it. Each is empty when the user
// didn't pass the corresponding flag; a plugin should fall back to its own
// default in that case rather than treating an empty string as a host.
ApiBaseUrl string `protobuf:"bytes,3,opt,name=api_base_url,json=apiBaseUrl,proto3" json:"api_base_url,omitempty"`
DashboardBaseUrl string `protobuf:"bytes,4,opt,name=dashboard_base_url,json=dashboardBaseUrl,proto3" json:"dashboard_base_url,omitempty"`
AccessBaseUrl string `protobuf:"bytes,5,opt,name=access_base_url,json=accessBaseUrl,proto3" json:"access_base_url,omitempty"`
// contains filtered or unexported fields
}
func (*AdditionalInfo) Descriptor
deprecated
func (*AdditionalInfo) Descriptor() ([]byte, []int)
Deprecated: Use AdditionalInfo.ProtoReflect.Descriptor instead.
func (*AdditionalInfo) GetAccessBaseUrl ¶ added in v1.50.7
func (x *AdditionalInfo) GetAccessBaseUrl() string
func (*AdditionalInfo) GetApiBaseUrl ¶ added in v1.50.7
func (x *AdditionalInfo) GetApiBaseUrl() string
func (*AdditionalInfo) GetDashboardBaseUrl ¶ added in v1.50.7
func (x *AdditionalInfo) GetDashboardBaseUrl() string
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 AuthorizedAccount ¶ added in v1.51.1
type AuthorizedAccount struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// modes lists the API mode(s) ("test", "live") this account grants access to.
Modes []string `protobuf:"bytes,3,rep,name=modes,proto3" json:"modes,omitempty"`
// contains filtered or unexported fields
}
func (*AuthorizedAccount) Descriptor
deprecated
added in
v1.51.1
func (*AuthorizedAccount) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizedAccount.ProtoReflect.Descriptor instead.
func (*AuthorizedAccount) GetId ¶ added in v1.51.1
func (x *AuthorizedAccount) GetId() string
func (*AuthorizedAccount) GetModes ¶ added in v1.51.1
func (x *AuthorizedAccount) GetModes() []string
func (*AuthorizedAccount) GetName ¶ added in v1.51.1
func (x *AuthorizedAccount) GetName() string
func (*AuthorizedAccount) ProtoMessage ¶ added in v1.51.1
func (*AuthorizedAccount) ProtoMessage()
func (*AuthorizedAccount) ProtoReflect ¶ added in v1.51.1
func (x *AuthorizedAccount) ProtoReflect() protoreflect.Message
func (*AuthorizedAccount) Reset ¶ added in v1.51.1
func (x *AuthorizedAccount) Reset()
func (*AuthorizedAccount) String ¶ added in v1.51.1
func (x *AuthorizedAccount) 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)
// Deprecated: Do not use.
// Deprecated: KeychainFindCredentials always returns an empty list. Use KeychainGetPassword to retrieve an individual password instead.
KeychainFindCredentials(ctx context.Context, in *KeychainFindCredentialsRequest, opts ...grpc.CallOption) (*KeychainFindCredentialsResponse, error)
RunPeerPlugin(ctx context.Context, in *RunPeerPluginRequest, opts ...grpc.CallOption) (*RunPeerPluginResponse, error)
ResolveCredentials(ctx context.Context, in *ResolveCredentialsRequest, opts ...grpc.CallOption) (*ResolveCredentialsResponse, error)
// Resolves credentials for the requested mode, but if that doesn't match the
// OAuth active context, resolves credentials for whichever mode is actually
// active instead of failing.
ResolveCredentialsForAnyMode(ctx context.Context, in *ResolveCredentialsRequest, opts ...grpc.CallOption) (*ResolveCredentialsResponse, error)
// SwitchContext switches the active authorized account/mode context, the
// same way `stripe switch context` does. If account_id is empty, shows an
// interactive picker.
SwitchContext(ctx context.Context, in *SwitchContextRequest, opts ...grpc.CallOption) (*SwitchContextResponse, error)
// ListAuthorizedAccounts returns the Stripe accounts the current session is
// authorized for, and which account and mode are currently active.
ListAuthorizedAccounts(ctx context.Context, in *ListAuthorizedAccountsRequest, opts ...grpc.CallOption) (*ListAuthorizedAccountsResponse, error)
// Login starts a Stripe CLI login, the same way `stripe login --new-session`
// does when run interactively: it revokes any existing OAuth session first
// (so this works even if the stored credential is expired or revoked),
// then runs the normal login flow, printing the same output and opening
// the browser only after the user presses enter.
Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
// The OAuth-prefixed RPCs below (OAuthInitiateLogin, OAuthFindPendingLogin,
// OAuthCheckLoginStatus) are low-level building blocks for a non-interactive,
// resumable login flow. Prefer Login unless you specifically need
// non-blocking, resumable behavior (e.g. driving your own retry loop).
// OAuthInitiateLogin starts (or resumes) a non-interactive OAuth
// device-code login: it returns immediately with a browser URL and
// verification code for the plugin to present, instead of blocking until
// the user completes it like Login does. Calling it again before the
// previous attempt completes or expires returns the same browser URL and
// verification code rather than minting a new device code, so a plugin (or
// an agent driving it) can safely retry without orphaning an in-flight
// login - unlike `stripe login --non-interactive`, which always mints a
// fresh device code. Call OAuthCheckLoginStatus to check whether the user
// has completed it.
OAuthInitiateLogin(ctx context.Context, in *OAuthInitiateLoginRequest, opts ...grpc.CallOption) (*OAuthInitiateLoginResponse, error)
// OAuthFindPendingLogin looks for an OAuth device-code login already in
// progress - started by this call chain, another plugin, or
// `stripe login --non-interactive` - without starting a new one. Useful
// for a non-interactive caller to check whether it should resume an
// existing attempt instead of calling OAuthInitiateLogin.
OAuthFindPendingLogin(ctx context.Context, in *OAuthFindPendingLoginRequest, opts ...grpc.CallOption) (*OAuthFindPendingLoginResponse, error)
// OAuthCheckLoginStatus makes a single, non-blocking check on whether the
// login started by OAuthInitiateLogin has completed. It does not wait for
// the user; call it again later (e.g. on your own poll loop) to keep
// checking.
OAuthCheckLoginStatus(ctx context.Context, in *OAuthCheckLoginStatusRequest, opts ...grpc.CallOption) (*OAuthCheckLoginStatusResponse, error)
// Centralized UI Rendering
//
// Every kind of output is an OutputBlock, so this one RPC carries incremental
// chatter and the command's final result alike. Callers set final on the last
// request; see SendCommandOutputRequest.
//
// Plugins detect support from this RPC alone: an older core CLI returns gRPC
// Unimplemented, which is the only transport signal that a plugin may treat
// as "render locally instead". Keeping the surface at one method keeps that
// signal to a single capability probe.
SendCommandOutput(ctx context.Context, in *SendCommandOutputRequest, opts ...grpc.CallOption) (*SendCommandOutputResponse, error)
Prompt(ctx context.Context, in *PromptRequest, opts ...grpc.CallOption) (*PromptResponse, 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)
// Deprecated: Do not use.
// Deprecated: KeychainFindCredentials always returns an empty list. Use KeychainGetPassword to retrieve an individual password instead.
KeychainFindCredentials(context.Context, *KeychainFindCredentialsRequest) (*KeychainFindCredentialsResponse, error)
RunPeerPlugin(context.Context, *RunPeerPluginRequest) (*RunPeerPluginResponse, error)
ResolveCredentials(context.Context, *ResolveCredentialsRequest) (*ResolveCredentialsResponse, error)
// Resolves credentials for the requested mode, but if that doesn't match the
// OAuth active context, resolves credentials for whichever mode is actually
// active instead of failing.
ResolveCredentialsForAnyMode(context.Context, *ResolveCredentialsRequest) (*ResolveCredentialsResponse, error)
// SwitchContext switches the active authorized account/mode context, the
// same way `stripe switch context` does. If account_id is empty, shows an
// interactive picker.
SwitchContext(context.Context, *SwitchContextRequest) (*SwitchContextResponse, error)
// ListAuthorizedAccounts returns the Stripe accounts the current session is
// authorized for, and which account and mode are currently active.
ListAuthorizedAccounts(context.Context, *ListAuthorizedAccountsRequest) (*ListAuthorizedAccountsResponse, error)
// Login starts a Stripe CLI login, the same way `stripe login --new-session`
// does when run interactively: it revokes any existing OAuth session first
// (so this works even if the stored credential is expired or revoked),
// then runs the normal login flow, printing the same output and opening
// the browser only after the user presses enter.
Login(context.Context, *LoginRequest) (*LoginResponse, error)
// The OAuth-prefixed RPCs below (OAuthInitiateLogin, OAuthFindPendingLogin,
// OAuthCheckLoginStatus) are low-level building blocks for a non-interactive,
// resumable login flow. Prefer Login unless you specifically need
// non-blocking, resumable behavior (e.g. driving your own retry loop).
// OAuthInitiateLogin starts (or resumes) a non-interactive OAuth
// device-code login: it returns immediately with a browser URL and
// verification code for the plugin to present, instead of blocking until
// the user completes it like Login does. Calling it again before the
// previous attempt completes or expires returns the same browser URL and
// verification code rather than minting a new device code, so a plugin (or
// an agent driving it) can safely retry without orphaning an in-flight
// login - unlike `stripe login --non-interactive`, which always mints a
// fresh device code. Call OAuthCheckLoginStatus to check whether the user
// has completed it.
OAuthInitiateLogin(context.Context, *OAuthInitiateLoginRequest) (*OAuthInitiateLoginResponse, error)
// OAuthFindPendingLogin looks for an OAuth device-code login already in
// progress - started by this call chain, another plugin, or
// `stripe login --non-interactive` - without starting a new one. Useful
// for a non-interactive caller to check whether it should resume an
// existing attempt instead of calling OAuthInitiateLogin.
OAuthFindPendingLogin(context.Context, *OAuthFindPendingLoginRequest) (*OAuthFindPendingLoginResponse, error)
// OAuthCheckLoginStatus makes a single, non-blocking check on whether the
// login started by OAuthInitiateLogin has completed. It does not wait for
// the user; call it again later (e.g. on your own poll loop) to keep
// checking.
OAuthCheckLoginStatus(context.Context, *OAuthCheckLoginStatusRequest) (*OAuthCheckLoginStatusResponse, error)
// Centralized UI Rendering
//
// Every kind of output is an OutputBlock, so this one RPC carries incremental
// chatter and the command's final result alike. Callers set final on the last
// request; see SendCommandOutputRequest.
//
// Plugins detect support from this RPC alone: an older core CLI returns gRPC
// Unimplemented, which is the only transport signal that a plugin may treat
// as "render locally instead". Keeping the surface at one method keeps that
// signal to a single capability probe.
SendCommandOutput(context.Context, *SendCommandOutputRequest) (*SendCommandOutputResponse, error)
Prompt(context.Context, *PromptRequest) (*PromptResponse, error)
// contains filtered or unexported methods
}
CoreCLIHelperServer is the server API for CoreCLIHelper service. All implementations must embed UnimplementedCoreCLIHelperServer for forward compatibility.
type DataBlock ¶ added in v1.55.0
type DataBlock struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // "data", "warning", "nextstep", "error"
Payload string `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` // JSON-encoded payload (shape varies per type)
// contains filtered or unexported fields
}
func (*DataBlock) Descriptor
deprecated
added in
v1.55.0
func (*DataBlock) GetPayload ¶ added in v1.55.0
func (*DataBlock) ProtoMessage ¶ added in v1.55.0
func (*DataBlock) ProtoMessage()
func (*DataBlock) ProtoReflect ¶ added in v1.55.0
func (x *DataBlock) ProtoReflect() protoreflect.Message
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
deprecated
added in
v1.38.0
type KeychainFindCredentialsRequest struct {
// contains filtered or unexported fields
}
Deprecated: KeychainFindCredentials always returns an empty list. Use KeychainGetPassword to retrieve an individual password instead.
Deprecated: Marked as deprecated in pkg/plugins/proto/main.proto.
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
deprecated
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
}
Deprecated: KeychainFindCredentials always returns an empty list. Use KeychainGetPassword to retrieve an individual password instead.
Deprecated: Marked as deprecated in pkg/plugins/proto/main.proto.
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 ListAuthorizedAccountsRequest ¶ added in v1.51.1
type ListAuthorizedAccountsRequest struct {
// contains filtered or unexported fields
}
func (*ListAuthorizedAccountsRequest) Descriptor
deprecated
added in
v1.51.1
func (*ListAuthorizedAccountsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAuthorizedAccountsRequest.ProtoReflect.Descriptor instead.
func (*ListAuthorizedAccountsRequest) ProtoMessage ¶ added in v1.51.1
func (*ListAuthorizedAccountsRequest) ProtoMessage()
func (*ListAuthorizedAccountsRequest) ProtoReflect ¶ added in v1.51.1
func (x *ListAuthorizedAccountsRequest) ProtoReflect() protoreflect.Message
func (*ListAuthorizedAccountsRequest) Reset ¶ added in v1.51.1
func (x *ListAuthorizedAccountsRequest) Reset()
func (*ListAuthorizedAccountsRequest) String ¶ added in v1.51.1
func (x *ListAuthorizedAccountsRequest) String() string
type ListAuthorizedAccountsResponse ¶ added in v1.51.1
type ListAuthorizedAccountsResponse struct {
Accounts []*AuthorizedAccount `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
// active_account_id and active_livemode identify which authorized account and mode are
// currently active; empty/false if none is active yet.
ActiveAccountId string `protobuf:"bytes,2,opt,name=active_account_id,json=activeAccountId,proto3" json:"active_account_id,omitempty"`
ActiveLivemode bool `protobuf:"varint,3,opt,name=active_livemode,json=activeLivemode,proto3" json:"active_livemode,omitempty"`
// contains filtered or unexported fields
}
func (*ListAuthorizedAccountsResponse) Descriptor
deprecated
added in
v1.51.1
func (*ListAuthorizedAccountsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAuthorizedAccountsResponse.ProtoReflect.Descriptor instead.
func (*ListAuthorizedAccountsResponse) GetAccounts ¶ added in v1.51.1
func (x *ListAuthorizedAccountsResponse) GetAccounts() []*AuthorizedAccount
func (*ListAuthorizedAccountsResponse) GetActiveAccountId ¶ added in v1.51.1
func (x *ListAuthorizedAccountsResponse) GetActiveAccountId() string
func (*ListAuthorizedAccountsResponse) GetActiveLivemode ¶ added in v1.51.1
func (x *ListAuthorizedAccountsResponse) GetActiveLivemode() bool
func (*ListAuthorizedAccountsResponse) ProtoMessage ¶ added in v1.51.1
func (*ListAuthorizedAccountsResponse) ProtoMessage()
func (*ListAuthorizedAccountsResponse) ProtoReflect ¶ added in v1.51.1
func (x *ListAuthorizedAccountsResponse) ProtoReflect() protoreflect.Message
func (*ListAuthorizedAccountsResponse) Reset ¶ added in v1.51.1
func (x *ListAuthorizedAccountsResponse) Reset()
func (*ListAuthorizedAccountsResponse) String ¶ added in v1.51.1
func (x *ListAuthorizedAccountsResponse) String() string
type LoginRequest ¶ added in v1.50.11
type LoginRequest struct {
// timeout_seconds bounds how long Login waits for the user to complete
// authentication. If unset or 0, it waits indefinitely, matching
// `stripe login`.
TimeoutSeconds int32 `protobuf:"varint,1,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"`
// contains filtered or unexported fields
}
func (*LoginRequest) Descriptor
deprecated
added in
v1.50.11
func (*LoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.
func (*LoginRequest) GetTimeoutSeconds ¶ added in v1.50.11
func (x *LoginRequest) GetTimeoutSeconds() int32
func (*LoginRequest) ProtoMessage ¶ added in v1.50.11
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) ProtoReflect ¶ added in v1.50.11
func (x *LoginRequest) ProtoReflect() protoreflect.Message
func (*LoginRequest) Reset ¶ added in v1.50.11
func (x *LoginRequest) Reset()
func (*LoginRequest) String ¶ added in v1.50.11
func (x *LoginRequest) String() string
type LoginResponse ¶ added in v1.50.11
type LoginResponse struct {
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
AccountName string `protobuf:"bytes,2,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
Livemode bool `protobuf:"varint,3,opt,name=livemode,proto3" json:"livemode,omitempty"`
// logged_in is false if the attempt was cancelled or timed out before
// completing; in that case the other fields are empty. Calling Login
// again starts a brand new login attempt (a new device code and browser
// URL), not a resumption of this one.
LoggedIn bool `protobuf:"varint,4,opt,name=logged_in,json=loggedIn,proto3" json:"logged_in,omitempty"`
// contains filtered or unexported fields
}
func (*LoginResponse) Descriptor
deprecated
added in
v1.50.11
func (*LoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.
func (*LoginResponse) GetAccountId ¶ added in v1.50.11
func (x *LoginResponse) GetAccountId() string
func (*LoginResponse) GetAccountName ¶ added in v1.50.11
func (x *LoginResponse) GetAccountName() string
func (*LoginResponse) GetLivemode ¶ added in v1.50.11
func (x *LoginResponse) GetLivemode() bool
func (*LoginResponse) GetLoggedIn ¶ added in v1.50.11
func (x *LoginResponse) GetLoggedIn() bool
func (*LoginResponse) ProtoMessage ¶ added in v1.50.11
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) ProtoReflect ¶ added in v1.50.11
func (x *LoginResponse) ProtoReflect() protoreflect.Message
func (*LoginResponse) Reset ¶ added in v1.50.11
func (x *LoginResponse) Reset()
func (*LoginResponse) String ¶ added in v1.50.11
func (x *LoginResponse) String() string
type MainClient ¶
type MainClient interface {
RunCommand(ctx context.Context, in *RunCommandRequest, opts ...grpc.CallOption) (*RunCommandResponse, error)
// PostInstall is called best-effort after `stripe plugins install` or
// `stripe plugins upgrade` successfully downloads the plugin binary.
PostInstall(ctx context.Context, in *PostInstallRequest, opts ...grpc.CallOption) (*PostInstallResponse, error)
// PreUninstall is called best-effort by `stripe plugins uninstall` before
// the plugin's files are removed from disk.
PreUninstall(ctx context.Context, in *PreUninstallRequest, opts ...grpc.CallOption) (*PreUninstallResponse, 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)
// PostInstall is called best-effort after `stripe plugins install` or
// `stripe plugins upgrade` successfully downloads the plugin binary.
PostInstall(context.Context, *PostInstallRequest) (*PostInstallResponse, error)
// PreUninstall is called best-effort by `stripe plugins uninstall` before
// the plugin's files are removed from disk.
PreUninstall(context.Context, *PreUninstallRequest) (*PreUninstallResponse, error)
// contains filtered or unexported methods
}
MainServer is the server API for Main service. All implementations must embed UnimplementedMainServer for forward compatibility.
type MessageBlock ¶ added in v1.55.0
type MessageBlock struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
Level MessageLevel `protobuf:"varint,2,opt,name=level,proto3,enum=proto.MessageLevel" json:"level,omitempty"`
// contains filtered or unexported fields
}
func (*MessageBlock) Descriptor
deprecated
added in
v1.55.0
func (*MessageBlock) Descriptor() ([]byte, []int)
Deprecated: Use MessageBlock.ProtoReflect.Descriptor instead.
func (*MessageBlock) GetLevel ¶ added in v1.55.0
func (x *MessageBlock) GetLevel() MessageLevel
func (*MessageBlock) GetMessage ¶ added in v1.55.0
func (x *MessageBlock) GetMessage() string
func (*MessageBlock) ProtoMessage ¶ added in v1.55.0
func (*MessageBlock) ProtoMessage()
func (*MessageBlock) ProtoReflect ¶ added in v1.55.0
func (x *MessageBlock) ProtoReflect() protoreflect.Message
func (*MessageBlock) Reset ¶ added in v1.55.0
func (x *MessageBlock) Reset()
func (*MessageBlock) String ¶ added in v1.55.0
func (x *MessageBlock) String() string
type MessageLevel ¶ added in v1.55.0
type MessageLevel int32
const ( MessageLevel_INFO MessageLevel = 0 MessageLevel_SUCCESS MessageLevel = 1 MessageLevel_WARNING MessageLevel = 2 MessageLevel_ERROR MessageLevel = 3 )
func (MessageLevel) Descriptor ¶ added in v1.55.0
func (MessageLevel) Descriptor() protoreflect.EnumDescriptor
func (MessageLevel) Enum ¶ added in v1.55.0
func (x MessageLevel) Enum() *MessageLevel
func (MessageLevel) EnumDescriptor
deprecated
added in
v1.55.0
func (MessageLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use MessageLevel.Descriptor instead.
func (MessageLevel) Number ¶ added in v1.55.0
func (x MessageLevel) Number() protoreflect.EnumNumber
func (MessageLevel) String ¶ added in v1.55.0
func (x MessageLevel) String() string
func (MessageLevel) Type ¶ added in v1.55.0
func (MessageLevel) Type() protoreflect.EnumType
type OAuthCheckLoginStatusRequest ¶ added in v1.51.1
type OAuthCheckLoginStatusRequest struct {
// contains filtered or unexported fields
}
func (*OAuthCheckLoginStatusRequest) Descriptor
deprecated
added in
v1.51.1
func (*OAuthCheckLoginStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use OAuthCheckLoginStatusRequest.ProtoReflect.Descriptor instead.
func (*OAuthCheckLoginStatusRequest) ProtoMessage ¶ added in v1.51.1
func (*OAuthCheckLoginStatusRequest) ProtoMessage()
func (*OAuthCheckLoginStatusRequest) ProtoReflect ¶ added in v1.51.1
func (x *OAuthCheckLoginStatusRequest) ProtoReflect() protoreflect.Message
func (*OAuthCheckLoginStatusRequest) Reset ¶ added in v1.51.1
func (x *OAuthCheckLoginStatusRequest) Reset()
func (*OAuthCheckLoginStatusRequest) String ¶ added in v1.51.1
func (x *OAuthCheckLoginStatusRequest) String() string
type OAuthCheckLoginStatusResponse ¶ added in v1.51.1
type OAuthCheckLoginStatusResponse struct {
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
AccountName string `protobuf:"bytes,2,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
Livemode bool `protobuf:"varint,3,opt,name=livemode,proto3" json:"livemode,omitempty"`
// logged_in is false if the user hasn't completed authentication yet; in
// that case the other fields are empty and callers should call
// OAuthCheckLoginStatus again later to keep checking.
LoggedIn bool `protobuf:"varint,4,opt,name=logged_in,json=loggedIn,proto3" json:"logged_in,omitempty"`
// contains filtered or unexported fields
}
func (*OAuthCheckLoginStatusResponse) Descriptor
deprecated
added in
v1.51.1
func (*OAuthCheckLoginStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use OAuthCheckLoginStatusResponse.ProtoReflect.Descriptor instead.
func (*OAuthCheckLoginStatusResponse) GetAccountId ¶ added in v1.51.1
func (x *OAuthCheckLoginStatusResponse) GetAccountId() string
func (*OAuthCheckLoginStatusResponse) GetAccountName ¶ added in v1.51.1
func (x *OAuthCheckLoginStatusResponse) GetAccountName() string
func (*OAuthCheckLoginStatusResponse) GetLivemode ¶ added in v1.51.1
func (x *OAuthCheckLoginStatusResponse) GetLivemode() bool
func (*OAuthCheckLoginStatusResponse) GetLoggedIn ¶ added in v1.51.1
func (x *OAuthCheckLoginStatusResponse) GetLoggedIn() bool
func (*OAuthCheckLoginStatusResponse) ProtoMessage ¶ added in v1.51.1
func (*OAuthCheckLoginStatusResponse) ProtoMessage()
func (*OAuthCheckLoginStatusResponse) ProtoReflect ¶ added in v1.51.1
func (x *OAuthCheckLoginStatusResponse) ProtoReflect() protoreflect.Message
func (*OAuthCheckLoginStatusResponse) Reset ¶ added in v1.51.1
func (x *OAuthCheckLoginStatusResponse) Reset()
func (*OAuthCheckLoginStatusResponse) String ¶ added in v1.51.1
func (x *OAuthCheckLoginStatusResponse) String() string
type OAuthFindPendingLoginRequest ¶ added in v1.51.1
type OAuthFindPendingLoginRequest struct {
// contains filtered or unexported fields
}
func (*OAuthFindPendingLoginRequest) Descriptor
deprecated
added in
v1.51.1
func (*OAuthFindPendingLoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use OAuthFindPendingLoginRequest.ProtoReflect.Descriptor instead.
func (*OAuthFindPendingLoginRequest) ProtoMessage ¶ added in v1.51.1
func (*OAuthFindPendingLoginRequest) ProtoMessage()
func (*OAuthFindPendingLoginRequest) ProtoReflect ¶ added in v1.51.1
func (x *OAuthFindPendingLoginRequest) ProtoReflect() protoreflect.Message
func (*OAuthFindPendingLoginRequest) Reset ¶ added in v1.51.1
func (x *OAuthFindPendingLoginRequest) Reset()
func (*OAuthFindPendingLoginRequest) String ¶ added in v1.51.1
func (x *OAuthFindPendingLoginRequest) String() string
type OAuthFindPendingLoginResponse ¶ added in v1.51.1
type OAuthFindPendingLoginResponse struct {
// found is false if there is no pending login attempt, or it has
// expired; in that case the other fields are empty.
Found bool `protobuf:"varint,1,opt,name=found,proto3" json:"found,omitempty"`
BrowserUrl string `protobuf:"bytes,2,opt,name=browser_url,json=browserUrl,proto3" json:"browser_url,omitempty"`
VerificationCode string `protobuf:"bytes,3,opt,name=verification_code,json=verificationCode,proto3" json:"verification_code,omitempty"`
// expires_in is the number of seconds remaining before the browser_url/
// verification_code expire and a new OAuthInitiateLogin call is required.
ExpiresIn int32 `protobuf:"varint,4,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"`
// contains filtered or unexported fields
}
func (*OAuthFindPendingLoginResponse) Descriptor
deprecated
added in
v1.51.1
func (*OAuthFindPendingLoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use OAuthFindPendingLoginResponse.ProtoReflect.Descriptor instead.
func (*OAuthFindPendingLoginResponse) GetBrowserUrl ¶ added in v1.51.1
func (x *OAuthFindPendingLoginResponse) GetBrowserUrl() string
func (*OAuthFindPendingLoginResponse) GetExpiresIn ¶ added in v1.51.1
func (x *OAuthFindPendingLoginResponse) GetExpiresIn() int32
func (*OAuthFindPendingLoginResponse) GetFound ¶ added in v1.51.1
func (x *OAuthFindPendingLoginResponse) GetFound() bool
func (*OAuthFindPendingLoginResponse) GetVerificationCode ¶ added in v1.51.1
func (x *OAuthFindPendingLoginResponse) GetVerificationCode() string
func (*OAuthFindPendingLoginResponse) ProtoMessage ¶ added in v1.51.1
func (*OAuthFindPendingLoginResponse) ProtoMessage()
func (*OAuthFindPendingLoginResponse) ProtoReflect ¶ added in v1.51.1
func (x *OAuthFindPendingLoginResponse) ProtoReflect() protoreflect.Message
func (*OAuthFindPendingLoginResponse) Reset ¶ added in v1.51.1
func (x *OAuthFindPendingLoginResponse) Reset()
func (*OAuthFindPendingLoginResponse) String ¶ added in v1.51.1
func (x *OAuthFindPendingLoginResponse) String() string
type OAuthInitiateLoginRequest ¶ added in v1.51.1
type OAuthInitiateLoginRequest struct {
// contains filtered or unexported fields
}
func (*OAuthInitiateLoginRequest) Descriptor
deprecated
added in
v1.51.1
func (*OAuthInitiateLoginRequest) Descriptor() ([]byte, []int)
Deprecated: Use OAuthInitiateLoginRequest.ProtoReflect.Descriptor instead.
func (*OAuthInitiateLoginRequest) ProtoMessage ¶ added in v1.51.1
func (*OAuthInitiateLoginRequest) ProtoMessage()
func (*OAuthInitiateLoginRequest) ProtoReflect ¶ added in v1.51.1
func (x *OAuthInitiateLoginRequest) ProtoReflect() protoreflect.Message
func (*OAuthInitiateLoginRequest) Reset ¶ added in v1.51.1
func (x *OAuthInitiateLoginRequest) Reset()
func (*OAuthInitiateLoginRequest) String ¶ added in v1.51.1
func (x *OAuthInitiateLoginRequest) String() string
type OAuthInitiateLoginResponse ¶ added in v1.51.1
type OAuthInitiateLoginResponse struct {
BrowserUrl string `protobuf:"bytes,1,opt,name=browser_url,json=browserUrl,proto3" json:"browser_url,omitempty"`
VerificationCode string `protobuf:"bytes,2,opt,name=verification_code,json=verificationCode,proto3" json:"verification_code,omitempty"`
// expires_in is the number of seconds remaining before the browser_url/
// verification_code expire and a new OAuthInitiateLogin call is required.
ExpiresIn int32 `protobuf:"varint,3,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"`
// contains filtered or unexported fields
}
func (*OAuthInitiateLoginResponse) Descriptor
deprecated
added in
v1.51.1
func (*OAuthInitiateLoginResponse) Descriptor() ([]byte, []int)
Deprecated: Use OAuthInitiateLoginResponse.ProtoReflect.Descriptor instead.
func (*OAuthInitiateLoginResponse) GetBrowserUrl ¶ added in v1.51.1
func (x *OAuthInitiateLoginResponse) GetBrowserUrl() string
func (*OAuthInitiateLoginResponse) GetExpiresIn ¶ added in v1.51.1
func (x *OAuthInitiateLoginResponse) GetExpiresIn() int32
func (*OAuthInitiateLoginResponse) GetVerificationCode ¶ added in v1.51.1
func (x *OAuthInitiateLoginResponse) GetVerificationCode() string
func (*OAuthInitiateLoginResponse) ProtoMessage ¶ added in v1.51.1
func (*OAuthInitiateLoginResponse) ProtoMessage()
func (*OAuthInitiateLoginResponse) ProtoReflect ¶ added in v1.51.1
func (x *OAuthInitiateLoginResponse) ProtoReflect() protoreflect.Message
func (*OAuthInitiateLoginResponse) Reset ¶ added in v1.51.1
func (x *OAuthInitiateLoginResponse) Reset()
func (*OAuthInitiateLoginResponse) String ¶ added in v1.51.1
func (x *OAuthInitiateLoginResponse) String() string
type OutputBlock ¶ added in v1.55.0
type OutputBlock struct {
// Types that are valid to be assigned to Block:
//
// *OutputBlock_Message
// *OutputBlock_Data
// *OutputBlock_Progress
Block isOutputBlock_Block `protobuf_oneof:"block"`
// contains filtered or unexported fields
}
OutputBlock is a single unit of plugin output. All output types are expressed as blocks, and the rendering engine dispatches on the variant.
A variant this core does not know decodes to an empty block rather than an error, so the renderer reports unknown blocks instead of dropping them silently. Prefer a new DataBlock type over a new variant: type is a string, so it needs no protocol change at all.
func (*OutputBlock) Descriptor
deprecated
added in
v1.55.0
func (*OutputBlock) Descriptor() ([]byte, []int)
Deprecated: Use OutputBlock.ProtoReflect.Descriptor instead.
func (*OutputBlock) GetBlock ¶ added in v1.55.0
func (x *OutputBlock) GetBlock() isOutputBlock_Block
func (*OutputBlock) GetData ¶ added in v1.55.0
func (x *OutputBlock) GetData() *DataBlock
func (*OutputBlock) GetMessage ¶ added in v1.55.0
func (x *OutputBlock) GetMessage() *MessageBlock
func (*OutputBlock) GetProgress ¶ added in v1.55.0
func (x *OutputBlock) GetProgress() *ProgressBlock
func (*OutputBlock) ProtoMessage ¶ added in v1.55.0
func (*OutputBlock) ProtoMessage()
func (*OutputBlock) ProtoReflect ¶ added in v1.55.0
func (x *OutputBlock) ProtoReflect() protoreflect.Message
func (*OutputBlock) Reset ¶ added in v1.55.0
func (x *OutputBlock) Reset()
func (*OutputBlock) String ¶ added in v1.55.0
func (x *OutputBlock) String() string
type OutputBlock_Data ¶ added in v1.55.0
type OutputBlock_Data struct {
Data *DataBlock `protobuf:"bytes,2,opt,name=data,proto3,oneof"`
}
type OutputBlock_Message ¶ added in v1.55.0
type OutputBlock_Message struct {
Message *MessageBlock `protobuf:"bytes,1,opt,name=message,proto3,oneof"`
}
type OutputBlock_Progress ¶ added in v1.55.0
type OutputBlock_Progress struct {
Progress *ProgressBlock `protobuf:"bytes,3,opt,name=progress,proto3,oneof"`
}
type PostInstallRequest ¶ added in v1.50.7
type PostInstallRequest struct {
AdditionalInfo *AdditionalInfo `protobuf:"bytes,1,opt,name=additional_info,json=additionalInfo,proto3" json:"additional_info,omitempty"`
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
PreviousVersion string `protobuf:"bytes,3,opt,name=previous_version,json=previousVersion,proto3" json:"previous_version,omitempty"`
CoreCliHelperId uint32 `protobuf:"varint,4,opt,name=core_cli_helper_id,json=coreCliHelperId,proto3" json:"core_cli_helper_id,omitempty"`
// contains filtered or unexported fields
}
func (*PostInstallRequest) Descriptor
deprecated
added in
v1.50.7
func (*PostInstallRequest) Descriptor() ([]byte, []int)
Deprecated: Use PostInstallRequest.ProtoReflect.Descriptor instead.
func (*PostInstallRequest) GetAdditionalInfo ¶ added in v1.50.7
func (x *PostInstallRequest) GetAdditionalInfo() *AdditionalInfo
func (*PostInstallRequest) GetCoreCliHelperId ¶ added in v1.50.7
func (x *PostInstallRequest) GetCoreCliHelperId() uint32
func (*PostInstallRequest) GetPreviousVersion ¶ added in v1.50.7
func (x *PostInstallRequest) GetPreviousVersion() string
func (*PostInstallRequest) GetVersion ¶ added in v1.50.7
func (x *PostInstallRequest) GetVersion() string
func (*PostInstallRequest) ProtoMessage ¶ added in v1.50.7
func (*PostInstallRequest) ProtoMessage()
func (*PostInstallRequest) ProtoReflect ¶ added in v1.50.7
func (x *PostInstallRequest) ProtoReflect() protoreflect.Message
func (*PostInstallRequest) Reset ¶ added in v1.50.7
func (x *PostInstallRequest) Reset()
func (*PostInstallRequest) String ¶ added in v1.50.7
func (x *PostInstallRequest) String() string
type PostInstallResponse ¶ added in v1.50.7
type PostInstallResponse struct {
// contains filtered or unexported fields
}
func (*PostInstallResponse) Descriptor
deprecated
added in
v1.50.7
func (*PostInstallResponse) Descriptor() ([]byte, []int)
Deprecated: Use PostInstallResponse.ProtoReflect.Descriptor instead.
func (*PostInstallResponse) ProtoMessage ¶ added in v1.50.7
func (*PostInstallResponse) ProtoMessage()
func (*PostInstallResponse) ProtoReflect ¶ added in v1.50.7
func (x *PostInstallResponse) ProtoReflect() protoreflect.Message
func (*PostInstallResponse) Reset ¶ added in v1.50.7
func (x *PostInstallResponse) Reset()
func (*PostInstallResponse) String ¶ added in v1.50.7
func (x *PostInstallResponse) String() string
type PreUninstallRequest ¶ added in v1.50.7
type PreUninstallRequest struct {
AdditionalInfo *AdditionalInfo `protobuf:"bytes,1,opt,name=additional_info,json=additionalInfo,proto3" json:"additional_info,omitempty"`
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,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 (*PreUninstallRequest) Descriptor
deprecated
added in
v1.50.7
func (*PreUninstallRequest) Descriptor() ([]byte, []int)
Deprecated: Use PreUninstallRequest.ProtoReflect.Descriptor instead.
func (*PreUninstallRequest) GetAdditionalInfo ¶ added in v1.50.7
func (x *PreUninstallRequest) GetAdditionalInfo() *AdditionalInfo
func (*PreUninstallRequest) GetCoreCliHelperId ¶ added in v1.50.7
func (x *PreUninstallRequest) GetCoreCliHelperId() uint32
func (*PreUninstallRequest) GetVersion ¶ added in v1.50.7
func (x *PreUninstallRequest) GetVersion() string
func (*PreUninstallRequest) ProtoMessage ¶ added in v1.50.7
func (*PreUninstallRequest) ProtoMessage()
func (*PreUninstallRequest) ProtoReflect ¶ added in v1.50.7
func (x *PreUninstallRequest) ProtoReflect() protoreflect.Message
func (*PreUninstallRequest) Reset ¶ added in v1.50.7
func (x *PreUninstallRequest) Reset()
func (*PreUninstallRequest) String ¶ added in v1.50.7
func (x *PreUninstallRequest) String() string
type PreUninstallResponse ¶ added in v1.50.7
type PreUninstallResponse struct {
// contains filtered or unexported fields
}
func (*PreUninstallResponse) Descriptor
deprecated
added in
v1.50.7
func (*PreUninstallResponse) Descriptor() ([]byte, []int)
Deprecated: Use PreUninstallResponse.ProtoReflect.Descriptor instead.
func (*PreUninstallResponse) ProtoMessage ¶ added in v1.50.7
func (*PreUninstallResponse) ProtoMessage()
func (*PreUninstallResponse) ProtoReflect ¶ added in v1.50.7
func (x *PreUninstallResponse) ProtoReflect() protoreflect.Message
func (*PreUninstallResponse) Reset ¶ added in v1.50.7
func (x *PreUninstallResponse) Reset()
func (*PreUninstallResponse) String ¶ added in v1.50.7
func (x *PreUninstallResponse) String() string
type ProgressBlock ¶ added in v1.55.0
type ProgressBlock struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // caller-generated, supports concurrent spinners
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Type ProgressType `protobuf:"varint,3,opt,name=type,proto3,enum=proto.ProgressType" json:"type,omitempty"`
Success bool `protobuf:"varint,4,opt,name=success,proto3" json:"success,omitempty"` // relevant on SPINNER_STOP only
// contains filtered or unexported fields
}
func (*ProgressBlock) Descriptor
deprecated
added in
v1.55.0
func (*ProgressBlock) Descriptor() ([]byte, []int)
Deprecated: Use ProgressBlock.ProtoReflect.Descriptor instead.
func (*ProgressBlock) GetId ¶ added in v1.55.0
func (x *ProgressBlock) GetId() string
func (*ProgressBlock) GetMessage ¶ added in v1.55.0
func (x *ProgressBlock) GetMessage() string
func (*ProgressBlock) GetSuccess ¶ added in v1.55.0
func (x *ProgressBlock) GetSuccess() bool
func (*ProgressBlock) GetType ¶ added in v1.55.0
func (x *ProgressBlock) GetType() ProgressType
func (*ProgressBlock) ProtoMessage ¶ added in v1.55.0
func (*ProgressBlock) ProtoMessage()
func (*ProgressBlock) ProtoReflect ¶ added in v1.55.0
func (x *ProgressBlock) ProtoReflect() protoreflect.Message
func (*ProgressBlock) Reset ¶ added in v1.55.0
func (x *ProgressBlock) Reset()
func (*ProgressBlock) String ¶ added in v1.55.0
func (x *ProgressBlock) String() string
type ProgressType ¶ added in v1.55.0
type ProgressType int32
const ( ProgressType_PROGRESS_INFO ProgressType = 0 ProgressType_STEP ProgressType = 1 ProgressType_SPINNER_START ProgressType = 2 ProgressType_SPINNER_UPDATE ProgressType = 3 ProgressType_SPINNER_STOP ProgressType = 4 )
func (ProgressType) Descriptor ¶ added in v1.55.0
func (ProgressType) Descriptor() protoreflect.EnumDescriptor
func (ProgressType) Enum ¶ added in v1.55.0
func (x ProgressType) Enum() *ProgressType
func (ProgressType) EnumDescriptor
deprecated
added in
v1.55.0
func (ProgressType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ProgressType.Descriptor instead.
func (ProgressType) Number ¶ added in v1.55.0
func (x ProgressType) Number() protoreflect.EnumNumber
func (ProgressType) String ¶ added in v1.55.0
func (x ProgressType) String() string
func (ProgressType) Type ¶ added in v1.55.0
func (ProgressType) Type() protoreflect.EnumType
type PromptRequest ¶ added in v1.55.0
type PromptRequest struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
Type PromptType `protobuf:"varint,2,opt,name=type,proto3,enum=proto.PromptType" json:"type,omitempty"`
Options []string `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"` // required for SELECT
DefaultValue string `protobuf:"bytes,4,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
// contains filtered or unexported fields
}
func (*PromptRequest) Descriptor
deprecated
added in
v1.55.0
func (*PromptRequest) Descriptor() ([]byte, []int)
Deprecated: Use PromptRequest.ProtoReflect.Descriptor instead.
func (*PromptRequest) GetDefaultValue ¶ added in v1.55.0
func (x *PromptRequest) GetDefaultValue() string
func (*PromptRequest) GetMessage ¶ added in v1.55.0
func (x *PromptRequest) GetMessage() string
func (*PromptRequest) GetOptions ¶ added in v1.55.0
func (x *PromptRequest) GetOptions() []string
func (*PromptRequest) GetType ¶ added in v1.55.0
func (x *PromptRequest) GetType() PromptType
func (*PromptRequest) ProtoMessage ¶ added in v1.55.0
func (*PromptRequest) ProtoMessage()
func (*PromptRequest) ProtoReflect ¶ added in v1.55.0
func (x *PromptRequest) ProtoReflect() protoreflect.Message
func (*PromptRequest) Reset ¶ added in v1.55.0
func (x *PromptRequest) Reset()
func (*PromptRequest) String ¶ added in v1.55.0
func (x *PromptRequest) String() string
type PromptResponse ¶ added in v1.55.0
type PromptResponse struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // "true"/"false" for CONFIRM, selected value for SELECT
// contains filtered or unexported fields
}
func (*PromptResponse) Descriptor
deprecated
added in
v1.55.0
func (*PromptResponse) Descriptor() ([]byte, []int)
Deprecated: Use PromptResponse.ProtoReflect.Descriptor instead.
func (*PromptResponse) GetValue ¶ added in v1.55.0
func (x *PromptResponse) GetValue() string
func (*PromptResponse) ProtoMessage ¶ added in v1.55.0
func (*PromptResponse) ProtoMessage()
func (*PromptResponse) ProtoReflect ¶ added in v1.55.0
func (x *PromptResponse) ProtoReflect() protoreflect.Message
func (*PromptResponse) Reset ¶ added in v1.55.0
func (x *PromptResponse) Reset()
func (*PromptResponse) String ¶ added in v1.55.0
func (x *PromptResponse) String() string
type PromptType ¶ added in v1.55.0
type PromptType int32
const ( PromptType_TEXT PromptType = 0 PromptType_CONFIRM PromptType = 1 PromptType_SELECT PromptType = 2 )
func (PromptType) Descriptor ¶ added in v1.55.0
func (PromptType) Descriptor() protoreflect.EnumDescriptor
func (PromptType) Enum ¶ added in v1.55.0
func (x PromptType) Enum() *PromptType
func (PromptType) EnumDescriptor
deprecated
added in
v1.55.0
func (PromptType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PromptType.Descriptor instead.
func (PromptType) Number ¶ added in v1.55.0
func (x PromptType) Number() protoreflect.EnumNumber
func (PromptType) String ¶ added in v1.55.0
func (x PromptType) String() string
func (PromptType) Type ¶ added in v1.55.0
func (PromptType) Type() protoreflect.EnumType
type ResolveCredentialsRequest ¶ added in v1.50.1
type ResolveCredentialsRequest struct {
Livemode bool `protobuf:"varint,1,opt,name=livemode,proto3" json:"livemode,omitempty"`
// contains filtered or unexported fields
}
func (*ResolveCredentialsRequest) Descriptor
deprecated
added in
v1.50.1
func (*ResolveCredentialsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResolveCredentialsRequest.ProtoReflect.Descriptor instead.
func (*ResolveCredentialsRequest) GetLivemode ¶ added in v1.50.1
func (x *ResolveCredentialsRequest) GetLivemode() bool
func (*ResolveCredentialsRequest) ProtoMessage ¶ added in v1.50.1
func (*ResolveCredentialsRequest) ProtoMessage()
func (*ResolveCredentialsRequest) ProtoReflect ¶ added in v1.50.1
func (x *ResolveCredentialsRequest) ProtoReflect() protoreflect.Message
func (*ResolveCredentialsRequest) Reset ¶ added in v1.50.1
func (x *ResolveCredentialsRequest) Reset()
func (*ResolveCredentialsRequest) String ¶ added in v1.50.1
func (x *ResolveCredentialsRequest) String() string
type ResolveCredentialsResponse ¶ added in v1.50.1
type ResolveCredentialsResponse struct {
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
StripeContext string `protobuf:"bytes,2,opt,name=stripe_context,json=stripeContext,proto3" json:"stripe_context,omitempty"`
Livemode bool `protobuf:"varint,3,opt,name=livemode,proto3" json:"livemode,omitempty"`
// contains filtered or unexported fields
}
func (*ResolveCredentialsResponse) Descriptor
deprecated
added in
v1.50.1
func (*ResolveCredentialsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResolveCredentialsResponse.ProtoReflect.Descriptor instead.
func (*ResolveCredentialsResponse) GetLivemode ¶ added in v1.50.1
func (x *ResolveCredentialsResponse) GetLivemode() bool
func (*ResolveCredentialsResponse) GetStripeContext ¶ added in v1.50.1
func (x *ResolveCredentialsResponse) GetStripeContext() string
func (*ResolveCredentialsResponse) GetToken ¶ added in v1.50.1
func (x *ResolveCredentialsResponse) GetToken() string
func (*ResolveCredentialsResponse) ProtoMessage ¶ added in v1.50.1
func (*ResolveCredentialsResponse) ProtoMessage()
func (*ResolveCredentialsResponse) ProtoReflect ¶ added in v1.50.1
func (x *ResolveCredentialsResponse) ProtoReflect() protoreflect.Message
func (*ResolveCredentialsResponse) Reset ¶ added in v1.50.1
func (x *ResolveCredentialsResponse) Reset()
func (*ResolveCredentialsResponse) String ¶ added in v1.50.1
func (x *ResolveCredentialsResponse) String() string
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 RunPeerPluginRequest ¶ added in v1.40.7
type RunPeerPluginRequest struct {
PluginName string `protobuf:"bytes,1,opt,name=plugin_name,json=pluginName,proto3" json:"plugin_name,omitempty"`
Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
Cwd string `protobuf:"bytes,3,opt,name=cwd,proto3" json:"cwd,omitempty"`
// contains filtered or unexported fields
}
func (*RunPeerPluginRequest) Descriptor
deprecated
added in
v1.40.7
func (*RunPeerPluginRequest) Descriptor() ([]byte, []int)
Deprecated: Use RunPeerPluginRequest.ProtoReflect.Descriptor instead.
func (*RunPeerPluginRequest) GetArgs ¶ added in v1.40.7
func (x *RunPeerPluginRequest) GetArgs() []string
func (*RunPeerPluginRequest) GetCwd ¶ added in v1.40.7
func (x *RunPeerPluginRequest) GetCwd() string
func (*RunPeerPluginRequest) GetPluginName ¶ added in v1.40.7
func (x *RunPeerPluginRequest) GetPluginName() string
func (*RunPeerPluginRequest) ProtoMessage ¶ added in v1.40.7
func (*RunPeerPluginRequest) ProtoMessage()
func (*RunPeerPluginRequest) ProtoReflect ¶ added in v1.40.7
func (x *RunPeerPluginRequest) ProtoReflect() protoreflect.Message
func (*RunPeerPluginRequest) Reset ¶ added in v1.40.7
func (x *RunPeerPluginRequest) Reset()
func (*RunPeerPluginRequest) String ¶ added in v1.40.7
func (x *RunPeerPluginRequest) String() string
type RunPeerPluginResponse ¶ added in v1.40.7
type RunPeerPluginResponse struct {
// contains filtered or unexported fields
}
func (*RunPeerPluginResponse) Descriptor
deprecated
added in
v1.40.7
func (*RunPeerPluginResponse) Descriptor() ([]byte, []int)
Deprecated: Use RunPeerPluginResponse.ProtoReflect.Descriptor instead.
func (*RunPeerPluginResponse) ProtoMessage ¶ added in v1.40.7
func (*RunPeerPluginResponse) ProtoMessage()
func (*RunPeerPluginResponse) ProtoReflect ¶ added in v1.40.7
func (x *RunPeerPluginResponse) ProtoReflect() protoreflect.Message
func (*RunPeerPluginResponse) Reset ¶ added in v1.40.7
func (x *RunPeerPluginResponse) Reset()
func (*RunPeerPluginResponse) String ¶ added in v1.40.7
func (x *RunPeerPluginResponse) 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 SendCommandOutputRequest ¶ added in v1.55.0
type SendCommandOutputRequest struct {
Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
Blocks []*OutputBlock `protobuf:"bytes,2,rep,name=blocks,proto3" json:"blocks,omitempty"`
// final marks the request that ends the command's output. The renderer uses
// it to tear down spinners before printing, and to close the JSON envelope.
// It is explicit rather than inferred from the block kinds so that a command
// emitting data mid-run is not mistaken for a finished one.
Final bool `protobuf:"varint,3,opt,name=final,proto3" json:"final,omitempty"`
// contains filtered or unexported fields
}
func (*SendCommandOutputRequest) Descriptor
deprecated
added in
v1.55.0
func (*SendCommandOutputRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendCommandOutputRequest.ProtoReflect.Descriptor instead.
func (*SendCommandOutputRequest) GetBlocks ¶ added in v1.55.0
func (x *SendCommandOutputRequest) GetBlocks() []*OutputBlock
func (*SendCommandOutputRequest) GetCommand ¶ added in v1.55.0
func (x *SendCommandOutputRequest) GetCommand() string
func (*SendCommandOutputRequest) GetFinal ¶ added in v1.55.0
func (x *SendCommandOutputRequest) GetFinal() bool
func (*SendCommandOutputRequest) ProtoMessage ¶ added in v1.55.0
func (*SendCommandOutputRequest) ProtoMessage()
func (*SendCommandOutputRequest) ProtoReflect ¶ added in v1.55.0
func (x *SendCommandOutputRequest) ProtoReflect() protoreflect.Message
func (*SendCommandOutputRequest) Reset ¶ added in v1.55.0
func (x *SendCommandOutputRequest) Reset()
func (*SendCommandOutputRequest) String ¶ added in v1.55.0
func (x *SendCommandOutputRequest) String() string
type SendCommandOutputResponse ¶ added in v1.55.0
type SendCommandOutputResponse struct {
// contains filtered or unexported fields
}
func (*SendCommandOutputResponse) Descriptor
deprecated
added in
v1.55.0
func (*SendCommandOutputResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendCommandOutputResponse.ProtoReflect.Descriptor instead.
func (*SendCommandOutputResponse) ProtoMessage ¶ added in v1.55.0
func (*SendCommandOutputResponse) ProtoMessage()
func (*SendCommandOutputResponse) ProtoReflect ¶ added in v1.55.0
func (x *SendCommandOutputResponse) ProtoReflect() protoreflect.Message
func (*SendCommandOutputResponse) Reset ¶ added in v1.55.0
func (x *SendCommandOutputResponse) Reset()
func (*SendCommandOutputResponse) String ¶ added in v1.55.0
func (x *SendCommandOutputResponse) String() string
type SwitchContextRequest ¶ added in v1.50.7
type SwitchContextRequest struct {
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
Livemode bool `protobuf:"varint,2,opt,name=livemode,proto3" json:"livemode,omitempty"`
// contains filtered or unexported fields
}
func (*SwitchContextRequest) Descriptor
deprecated
added in
v1.50.7
func (*SwitchContextRequest) Descriptor() ([]byte, []int)
Deprecated: Use SwitchContextRequest.ProtoReflect.Descriptor instead.
func (*SwitchContextRequest) GetAccountId ¶ added in v1.50.7
func (x *SwitchContextRequest) GetAccountId() string
func (*SwitchContextRequest) GetLivemode ¶ added in v1.50.7
func (x *SwitchContextRequest) GetLivemode() bool
func (*SwitchContextRequest) ProtoMessage ¶ added in v1.50.7
func (*SwitchContextRequest) ProtoMessage()
func (*SwitchContextRequest) ProtoReflect ¶ added in v1.50.7
func (x *SwitchContextRequest) ProtoReflect() protoreflect.Message
func (*SwitchContextRequest) Reset ¶ added in v1.50.7
func (x *SwitchContextRequest) Reset()
func (*SwitchContextRequest) String ¶ added in v1.50.7
func (x *SwitchContextRequest) String() string
type SwitchContextResponse ¶ added in v1.50.7
type SwitchContextResponse struct {
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
AccountName string `protobuf:"bytes,2,opt,name=account_name,json=accountName,proto3" json:"account_name,omitempty"`
Livemode bool `protobuf:"varint,3,opt,name=livemode,proto3" json:"livemode,omitempty"`
// switched is false if the user cancelled an interactive picker; in that
// case the other fields are empty.
Switched bool `protobuf:"varint,4,opt,name=switched,proto3" json:"switched,omitempty"`
// contains filtered or unexported fields
}
func (*SwitchContextResponse) Descriptor
deprecated
added in
v1.50.7
func (*SwitchContextResponse) Descriptor() ([]byte, []int)
Deprecated: Use SwitchContextResponse.ProtoReflect.Descriptor instead.
func (*SwitchContextResponse) GetAccountId ¶ added in v1.50.7
func (x *SwitchContextResponse) GetAccountId() string
func (*SwitchContextResponse) GetAccountName ¶ added in v1.50.7
func (x *SwitchContextResponse) GetAccountName() string
func (*SwitchContextResponse) GetLivemode ¶ added in v1.50.7
func (x *SwitchContextResponse) GetLivemode() bool
func (*SwitchContextResponse) GetSwitched ¶ added in v1.50.7
func (x *SwitchContextResponse) GetSwitched() bool
func (*SwitchContextResponse) ProtoMessage ¶ added in v1.50.7
func (*SwitchContextResponse) ProtoMessage()
func (*SwitchContextResponse) ProtoReflect ¶ added in v1.50.7
func (x *SwitchContextResponse) ProtoReflect() protoreflect.Message
func (*SwitchContextResponse) Reset ¶ added in v1.50.7
func (x *SwitchContextResponse) Reset()
func (*SwitchContextResponse) String ¶ added in v1.50.7
func (x *SwitchContextResponse) 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) ListAuthorizedAccounts ¶ added in v1.51.1
func (UnimplementedCoreCLIHelperServer) ListAuthorizedAccounts(context.Context, *ListAuthorizedAccountsRequest) (*ListAuthorizedAccountsResponse, error)
func (UnimplementedCoreCLIHelperServer) Login ¶ added in v1.50.11
func (UnimplementedCoreCLIHelperServer) Login(context.Context, *LoginRequest) (*LoginResponse, error)
func (UnimplementedCoreCLIHelperServer) OAuthCheckLoginStatus ¶ added in v1.51.1
func (UnimplementedCoreCLIHelperServer) OAuthCheckLoginStatus(context.Context, *OAuthCheckLoginStatusRequest) (*OAuthCheckLoginStatusResponse, error)
func (UnimplementedCoreCLIHelperServer) OAuthFindPendingLogin ¶ added in v1.51.1
func (UnimplementedCoreCLIHelperServer) OAuthFindPendingLogin(context.Context, *OAuthFindPendingLoginRequest) (*OAuthFindPendingLoginResponse, error)
func (UnimplementedCoreCLIHelperServer) OAuthInitiateLogin ¶ added in v1.51.1
func (UnimplementedCoreCLIHelperServer) OAuthInitiateLogin(context.Context, *OAuthInitiateLoginRequest) (*OAuthInitiateLoginResponse, error)
func (UnimplementedCoreCLIHelperServer) Prompt ¶ added in v1.55.0
func (UnimplementedCoreCLIHelperServer) Prompt(context.Context, *PromptRequest) (*PromptResponse, error)
func (UnimplementedCoreCLIHelperServer) ResolveCredentials ¶ added in v1.50.1
func (UnimplementedCoreCLIHelperServer) ResolveCredentials(context.Context, *ResolveCredentialsRequest) (*ResolveCredentialsResponse, error)
func (UnimplementedCoreCLIHelperServer) ResolveCredentialsForAnyMode ¶ added in v1.50.3
func (UnimplementedCoreCLIHelperServer) ResolveCredentialsForAnyMode(context.Context, *ResolveCredentialsRequest) (*ResolveCredentialsResponse, error)
func (UnimplementedCoreCLIHelperServer) RunPeerPlugin ¶ added in v1.40.7
func (UnimplementedCoreCLIHelperServer) RunPeerPlugin(context.Context, *RunPeerPluginRequest) (*RunPeerPluginResponse, error)
func (UnimplementedCoreCLIHelperServer) SendAnalytics ¶ added in v1.37.4
func (UnimplementedCoreCLIHelperServer) SendAnalytics(context.Context, *SendAnalyticsRequest) (*SendAnalyticsResponse, error)
func (UnimplementedCoreCLIHelperServer) SendCommandOutput ¶ added in v1.55.0
func (UnimplementedCoreCLIHelperServer) SendCommandOutput(context.Context, *SendCommandOutputRequest) (*SendCommandOutputResponse, error)
func (UnimplementedCoreCLIHelperServer) SwitchContext ¶ added in v1.50.7
func (UnimplementedCoreCLIHelperServer) SwitchContext(context.Context, *SwitchContextRequest) (*SwitchContextResponse, 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) PostInstall ¶ added in v1.50.7
func (UnimplementedMainServer) PostInstall(context.Context, *PostInstallRequest) (*PostInstallResponse, error)
func (UnimplementedMainServer) PreUninstall ¶ added in v1.50.7
func (UnimplementedMainServer) PreUninstall(context.Context, *PreUninstallRequest) (*PreUninstallResponse, error)
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.