Documentation ¶
Overview ¶
Package install is a generated protocol buffer package.
It is generated from these files:
install.proto
It has these top-level messages:
InstallConfig CheckResult PerformCheckRequest PerformCheckResponse GetDefaultsRequest GetDefaultsResponse GetAgreementRequest GetAgreementResponse InstallRequest InstallResponse
Package install is a generated protocol buffer package.
It is generated from these files:
install.proto
It has these top-level messages:
InstallConfig CheckResult PerformCheckRequest PerformCheckResponse GetDefaultsRequest GetDefaultsResponse GetAgreementRequest GetAgreementResponse InstallRequest InstallResponse
Index ¶
- func RegisterInstallHandler(s server.Server, hdlr InstallHandler, opts ...server.HandlerOption)
- type CheckResult
- type GetAgreementRequest
- type GetAgreementResponse
- type GetDefaultsRequest
- type GetDefaultsResponse
- type Install
- func (h *Install) GetDefaults(ctx context.Context, in *GetDefaultsRequest, out *GetDefaultsResponse) error
- func (h *Install) Install(ctx context.Context, in *InstallRequest, out *InstallResponse) error
- func (h *Install) PerformCheck(ctx context.Context, in *PerformCheckRequest, out *PerformCheckResponse) error
- type InstallClient
- type InstallConfig
- func (*InstallConfig) Descriptor() ([]byte, []int)
- func (m *InstallConfig) GetCheckResults() []*CheckResult
- func (m *InstallConfig) GetDbConnectionType() string
- func (m *InstallConfig) GetDbManualDSN() string
- func (m *InstallConfig) GetDbSocketFile() string
- func (m *InstallConfig) GetDbSocketName() string
- func (m *InstallConfig) GetDbSocketPassword() string
- func (m *InstallConfig) GetDbSocketUser() string
- func (m *InstallConfig) GetDbTCPHostname() string
- func (m *InstallConfig) GetDbTCPName() string
- func (m *InstallConfig) GetDbTCPPassword() string
- func (m *InstallConfig) GetDbTCPPort() string
- func (m *InstallConfig) GetDbTCPUser() string
- func (m *InstallConfig) GetDsFolder() string
- func (m *InstallConfig) GetDsName() string
- func (m *InstallConfig) GetDsPort() string
- func (m *InstallConfig) GetExternalDex() string
- func (m *InstallConfig) GetExternalDexID() string
- func (m *InstallConfig) GetExternalDexSecret() string
- func (m *InstallConfig) GetExternalFrontPlugins() string
- func (m *InstallConfig) GetExternalGateway() string
- func (m *InstallConfig) GetExternalMicro() string
- func (m *InstallConfig) GetExternalWebsocket() string
- func (m *InstallConfig) GetFpmAddress() string
- func (m *InstallConfig) GetFrontendHosts() string
- func (m *InstallConfig) GetFrontendLogin() string
- func (m *InstallConfig) GetFrontendPassword() string
- func (m *InstallConfig) GetFrontendRepeatPassword() string
- func (m *InstallConfig) GetInternalUrl() string
- func (m *InstallConfig) GetLicenseRequired() bool
- func (m *InstallConfig) GetLicenseString() string
- func (*InstallConfig) ProtoMessage()
- func (m *InstallConfig) Reset()
- func (m *InstallConfig) String() string
- type InstallHandler
- type InstallRequest
- type InstallResponse
- type PerformCheckRequest
- type PerformCheckResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterInstallHandler ¶
func RegisterInstallHandler(s server.Server, hdlr InstallHandler, opts ...server.HandlerOption)
Types ¶
type CheckResult ¶
type CheckResult struct { Name string `protobuf:"bytes,1,opt,name=Name" json:"Name,omitempty"` Success bool `protobuf:"varint,2,opt,name=Success" json:"Success,omitempty"` JsonResult string `protobuf:"bytes,3,opt,name=JsonResult" json:"JsonResult,omitempty"` }
func (*CheckResult) Descriptor ¶
func (*CheckResult) Descriptor() ([]byte, []int)
func (*CheckResult) GetJsonResult ¶
func (m *CheckResult) GetJsonResult() string
func (*CheckResult) GetName ¶
func (m *CheckResult) GetName() string
func (*CheckResult) GetSuccess ¶
func (m *CheckResult) GetSuccess() bool
func (*CheckResult) ProtoMessage ¶
func (*CheckResult) ProtoMessage()
func (*CheckResult) Reset ¶
func (m *CheckResult) Reset()
func (*CheckResult) String ¶
func (m *CheckResult) String() string
type GetAgreementRequest ¶
type GetAgreementRequest struct { }
func (*GetAgreementRequest) Descriptor ¶
func (*GetAgreementRequest) Descriptor() ([]byte, []int)
func (*GetAgreementRequest) ProtoMessage ¶
func (*GetAgreementRequest) ProtoMessage()
func (*GetAgreementRequest) Reset ¶
func (m *GetAgreementRequest) Reset()
func (*GetAgreementRequest) String ¶
func (m *GetAgreementRequest) String() string
type GetAgreementResponse ¶
type GetAgreementResponse struct {
Text string `protobuf:"bytes,1,opt,name=Text" json:"Text,omitempty"`
}
func (*GetAgreementResponse) Descriptor ¶
func (*GetAgreementResponse) Descriptor() ([]byte, []int)
func (*GetAgreementResponse) GetText ¶
func (m *GetAgreementResponse) GetText() string
func (*GetAgreementResponse) ProtoMessage ¶
func (*GetAgreementResponse) ProtoMessage()
func (*GetAgreementResponse) Reset ¶
func (m *GetAgreementResponse) Reset()
func (*GetAgreementResponse) String ¶
func (m *GetAgreementResponse) String() string
type GetDefaultsRequest ¶
type GetDefaultsRequest struct { }
func (*GetDefaultsRequest) Descriptor ¶
func (*GetDefaultsRequest) Descriptor() ([]byte, []int)
func (*GetDefaultsRequest) ProtoMessage ¶
func (*GetDefaultsRequest) ProtoMessage()
func (*GetDefaultsRequest) Reset ¶
func (m *GetDefaultsRequest) Reset()
func (*GetDefaultsRequest) String ¶
func (m *GetDefaultsRequest) String() string
type GetDefaultsResponse ¶
type GetDefaultsResponse struct {
Config *InstallConfig `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"`
}
func (*GetDefaultsResponse) Descriptor ¶
func (*GetDefaultsResponse) Descriptor() ([]byte, []int)
func (*GetDefaultsResponse) GetConfig ¶
func (m *GetDefaultsResponse) GetConfig() *InstallConfig
func (*GetDefaultsResponse) ProtoMessage ¶
func (*GetDefaultsResponse) ProtoMessage()
func (*GetDefaultsResponse) Reset ¶
func (m *GetDefaultsResponse) Reset()
func (*GetDefaultsResponse) String ¶
func (m *GetDefaultsResponse) String() string
type Install ¶
type Install struct {
InstallHandler
}
func (*Install) GetDefaults ¶
func (h *Install) GetDefaults(ctx context.Context, in *GetDefaultsRequest, out *GetDefaultsResponse) error
func (*Install) Install ¶
func (h *Install) Install(ctx context.Context, in *InstallRequest, out *InstallResponse) error
func (*Install) PerformCheck ¶
func (h *Install) PerformCheck(ctx context.Context, in *PerformCheckRequest, out *PerformCheckResponse) error
type InstallClient ¶
type InstallClient interface { GetDefaults(ctx context.Context, in *GetDefaultsRequest, opts ...client.CallOption) (*GetDefaultsResponse, error) Install(ctx context.Context, in *InstallRequest, opts ...client.CallOption) (*InstallResponse, error) PerformCheck(ctx context.Context, in *PerformCheckRequest, opts ...client.CallOption) (*PerformCheckResponse, error) }
func NewInstallClient ¶
func NewInstallClient(serviceName string, c client.Client) InstallClient
type InstallConfig ¶
type InstallConfig struct { InternalUrl string `protobuf:"bytes,30,opt,name=internalUrl" json:"internalUrl,omitempty"` DbConnectionType string `protobuf:"bytes,1,opt,name=dbConnectionType" json:"dbConnectionType,omitempty"` DbTCPHostname string `protobuf:"bytes,2,opt,name=dbTCPHostname" json:"dbTCPHostname,omitempty"` DbTCPPort string `protobuf:"bytes,3,opt,name=dbTCPPort" json:"dbTCPPort,omitempty"` DbTCPName string `protobuf:"bytes,4,opt,name=dbTCPName" json:"dbTCPName,omitempty"` DbTCPUser string `protobuf:"bytes,5,opt,name=dbTCPUser" json:"dbTCPUser,omitempty"` DbTCPPassword string `protobuf:"bytes,6,opt,name=dbTCPPassword" json:"dbTCPPassword,omitempty"` DbSocketFile string `protobuf:"bytes,7,opt,name=dbSocketFile" json:"dbSocketFile,omitempty"` DbSocketName string `protobuf:"bytes,8,opt,name=dbSocketName" json:"dbSocketName,omitempty"` DbSocketUser string `protobuf:"bytes,9,opt,name=dbSocketUser" json:"dbSocketUser,omitempty"` DbSocketPassword string `protobuf:"bytes,10,opt,name=dbSocketPassword" json:"dbSocketPassword,omitempty"` DbManualDSN string `protobuf:"bytes,11,opt,name=dbManualDSN" json:"dbManualDSN,omitempty"` DsName string `protobuf:"bytes,12,opt,name=dsName" json:"dsName,omitempty"` DsPort string `protobuf:"bytes,13,opt,name=dsPort" json:"dsPort,omitempty"` DsFolder string `protobuf:"bytes,14,opt,name=dsFolder" json:"dsFolder,omitempty"` ExternalMicro string `protobuf:"bytes,15,opt,name=externalMicro" json:"externalMicro,omitempty"` ExternalGateway string `protobuf:"bytes,16,opt,name=externalGateway" json:"externalGateway,omitempty"` ExternalWebsocket string `protobuf:"bytes,17,opt,name=externalWebsocket" json:"externalWebsocket,omitempty"` ExternalFrontPlugins string `protobuf:"bytes,18,opt,name=externalFrontPlugins" json:"externalFrontPlugins,omitempty"` ExternalDex string `protobuf:"bytes,19,opt,name=externalDex" json:"externalDex,omitempty"` ExternalDexID string `protobuf:"bytes,20,opt,name=externalDexID" json:"externalDexID,omitempty"` ExternalDexSecret string `protobuf:"bytes,21,opt,name=externalDexSecret" json:"externalDexSecret,omitempty"` FrontendHosts string `protobuf:"bytes,22,opt,name=frontendHosts" json:"frontendHosts,omitempty"` FrontendLogin string `protobuf:"bytes,23,opt,name=frontendLogin" json:"frontendLogin,omitempty"` FrontendPassword string `protobuf:"bytes,24,opt,name=frontendPassword" json:"frontendPassword,omitempty"` FrontendRepeatPassword string `protobuf:"bytes,25,opt,name=frontendRepeatPassword" json:"frontendRepeatPassword,omitempty"` FpmAddress string `protobuf:"bytes,26,opt,name=fpmAddress" json:"fpmAddress,omitempty"` LicenseRequired bool `protobuf:"varint,27,opt,name=licenseRequired" json:"licenseRequired,omitempty"` LicenseString string `protobuf:"bytes,28,opt,name=licenseString" json:"licenseString,omitempty"` CheckResults []*CheckResult `protobuf:"bytes,29,rep,name=CheckResults" json:"CheckResults,omitempty"` }
func (*InstallConfig) Descriptor ¶
func (*InstallConfig) Descriptor() ([]byte, []int)
func (*InstallConfig) GetCheckResults ¶
func (m *InstallConfig) GetCheckResults() []*CheckResult
func (*InstallConfig) GetDbConnectionType ¶
func (m *InstallConfig) GetDbConnectionType() string
func (*InstallConfig) GetDbManualDSN ¶
func (m *InstallConfig) GetDbManualDSN() string
func (*InstallConfig) GetDbSocketFile ¶
func (m *InstallConfig) GetDbSocketFile() string
func (*InstallConfig) GetDbSocketName ¶
func (m *InstallConfig) GetDbSocketName() string
func (*InstallConfig) GetDbSocketPassword ¶
func (m *InstallConfig) GetDbSocketPassword() string
func (*InstallConfig) GetDbSocketUser ¶
func (m *InstallConfig) GetDbSocketUser() string
func (*InstallConfig) GetDbTCPHostname ¶
func (m *InstallConfig) GetDbTCPHostname() string
func (*InstallConfig) GetDbTCPName ¶
func (m *InstallConfig) GetDbTCPName() string
func (*InstallConfig) GetDbTCPPassword ¶
func (m *InstallConfig) GetDbTCPPassword() string
func (*InstallConfig) GetDbTCPPort ¶
func (m *InstallConfig) GetDbTCPPort() string
func (*InstallConfig) GetDbTCPUser ¶
func (m *InstallConfig) GetDbTCPUser() string
func (*InstallConfig) GetDsFolder ¶
func (m *InstallConfig) GetDsFolder() string
func (*InstallConfig) GetDsName ¶
func (m *InstallConfig) GetDsName() string
func (*InstallConfig) GetDsPort ¶
func (m *InstallConfig) GetDsPort() string
func (*InstallConfig) GetExternalDex ¶
func (m *InstallConfig) GetExternalDex() string
func (*InstallConfig) GetExternalDexID ¶
func (m *InstallConfig) GetExternalDexID() string
func (*InstallConfig) GetExternalDexSecret ¶
func (m *InstallConfig) GetExternalDexSecret() string
func (*InstallConfig) GetExternalFrontPlugins ¶
func (m *InstallConfig) GetExternalFrontPlugins() string
func (*InstallConfig) GetExternalGateway ¶
func (m *InstallConfig) GetExternalGateway() string
func (*InstallConfig) GetExternalMicro ¶
func (m *InstallConfig) GetExternalMicro() string
func (*InstallConfig) GetExternalWebsocket ¶
func (m *InstallConfig) GetExternalWebsocket() string
func (*InstallConfig) GetFpmAddress ¶
func (m *InstallConfig) GetFpmAddress() string
func (*InstallConfig) GetFrontendHosts ¶
func (m *InstallConfig) GetFrontendHosts() string
func (*InstallConfig) GetFrontendLogin ¶
func (m *InstallConfig) GetFrontendLogin() string
func (*InstallConfig) GetFrontendPassword ¶
func (m *InstallConfig) GetFrontendPassword() string
func (*InstallConfig) GetFrontendRepeatPassword ¶
func (m *InstallConfig) GetFrontendRepeatPassword() string
func (*InstallConfig) GetInternalUrl ¶
func (m *InstallConfig) GetInternalUrl() string
func (*InstallConfig) GetLicenseRequired ¶
func (m *InstallConfig) GetLicenseRequired() bool
func (*InstallConfig) GetLicenseString ¶
func (m *InstallConfig) GetLicenseString() string
func (*InstallConfig) ProtoMessage ¶
func (*InstallConfig) ProtoMessage()
func (*InstallConfig) Reset ¶
func (m *InstallConfig) Reset()
func (*InstallConfig) String ¶
func (m *InstallConfig) String() string
type InstallHandler ¶
type InstallHandler interface { GetDefaults(context.Context, *GetDefaultsRequest, *GetDefaultsResponse) error Install(context.Context, *InstallRequest, *InstallResponse) error PerformCheck(context.Context, *PerformCheckRequest, *PerformCheckResponse) error }
type InstallRequest ¶
type InstallRequest struct {
Config *InstallConfig `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"`
}
func (*InstallRequest) Descriptor ¶
func (*InstallRequest) Descriptor() ([]byte, []int)
func (*InstallRequest) GetConfig ¶
func (m *InstallRequest) GetConfig() *InstallConfig
func (*InstallRequest) ProtoMessage ¶
func (*InstallRequest) ProtoMessage()
func (*InstallRequest) Reset ¶
func (m *InstallRequest) Reset()
func (*InstallRequest) String ¶
func (m *InstallRequest) String() string
type InstallResponse ¶
type InstallResponse struct {
Success bool `protobuf:"varint,1,opt,name=success" json:"success,omitempty"`
}
func (*InstallResponse) Descriptor ¶
func (*InstallResponse) Descriptor() ([]byte, []int)
func (*InstallResponse) GetSuccess ¶
func (m *InstallResponse) GetSuccess() bool
func (*InstallResponse) ProtoMessage ¶
func (*InstallResponse) ProtoMessage()
func (*InstallResponse) Reset ¶
func (m *InstallResponse) Reset()
func (*InstallResponse) String ¶
func (m *InstallResponse) String() string
type PerformCheckRequest ¶
type PerformCheckRequest struct { Name string `protobuf:"bytes,1,opt,name=Name" json:"Name,omitempty"` Config *InstallConfig `protobuf:"bytes,2,opt,name=Config" json:"Config,omitempty"` }
func (*PerformCheckRequest) Descriptor ¶
func (*PerformCheckRequest) Descriptor() ([]byte, []int)
func (*PerformCheckRequest) GetConfig ¶
func (m *PerformCheckRequest) GetConfig() *InstallConfig
func (*PerformCheckRequest) GetName ¶
func (m *PerformCheckRequest) GetName() string
func (*PerformCheckRequest) ProtoMessage ¶
func (*PerformCheckRequest) ProtoMessage()
func (*PerformCheckRequest) Reset ¶
func (m *PerformCheckRequest) Reset()
func (*PerformCheckRequest) String ¶
func (m *PerformCheckRequest) String() string
type PerformCheckResponse ¶
type PerformCheckResponse struct {
Result *CheckResult `protobuf:"bytes,1,opt,name=Result" json:"Result,omitempty"`
}
func (*PerformCheckResponse) Descriptor ¶
func (*PerformCheckResponse) Descriptor() ([]byte, []int)
func (*PerformCheckResponse) GetResult ¶
func (m *PerformCheckResponse) GetResult() *CheckResult
func (*PerformCheckResponse) ProtoMessage ¶
func (*PerformCheckResponse) ProtoMessage()
func (*PerformCheckResponse) Reset ¶
func (m *PerformCheckResponse) Reset()
func (*PerformCheckResponse) String ¶
func (m *PerformCheckResponse) String() string
Click to show internal directories.
Click to hide internal directories.