Documentation ¶
Index ¶
- Variables
- func DeregisterInstallEnhancedServer(s grpc.ServiceRegistrar, name string)
- func RegisterInstallEnhancedServer(s grpc.ServiceRegistrar, srv NamedInstallServer)
- func RegisterInstallServer(s grpc.ServiceRegistrar, srv InstallServer)
- type CheckResult
- func (*CheckResult) Descriptor() ([]byte, []int)deprecated
- func (x *CheckResult) GetJsonResult() string
- func (x *CheckResult) GetName() string
- func (x *CheckResult) GetSuccess() bool
- func (*CheckResult) ProtoMessage()
- func (x *CheckResult) ProtoReflect() protoreflect.Message
- func (x *CheckResult) Reset()
- func (x *CheckResult) String() string
- func (this *CheckResult) Validate() error
- type GetAgreementRequest
- func (*GetAgreementRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetAgreementRequest) ProtoMessage()
- func (x *GetAgreementRequest) ProtoReflect() protoreflect.Message
- func (x *GetAgreementRequest) Reset()
- func (x *GetAgreementRequest) String() string
- func (this *GetAgreementRequest) Validate() error
- type GetAgreementResponse
- func (*GetAgreementResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAgreementResponse) GetText() string
- func (*GetAgreementResponse) ProtoMessage()
- func (x *GetAgreementResponse) ProtoReflect() protoreflect.Message
- func (x *GetAgreementResponse) Reset()
- func (x *GetAgreementResponse) String() string
- func (this *GetAgreementResponse) Validate() error
- type GetDefaultsRequest
- func (*GetDefaultsRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetDefaultsRequest) ProtoMessage()
- func (x *GetDefaultsRequest) ProtoReflect() protoreflect.Message
- func (x *GetDefaultsRequest) Reset()
- func (x *GetDefaultsRequest) String() string
- func (this *GetDefaultsRequest) Validate() error
- type GetDefaultsResponse
- func (*GetDefaultsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetDefaultsResponse) GetConfig() *InstallConfig
- func (*GetDefaultsResponse) ProtoMessage()
- func (x *GetDefaultsResponse) ProtoReflect() protoreflect.Message
- func (x *GetDefaultsResponse) Reset()
- func (x *GetDefaultsResponse) String() string
- func (this *GetDefaultsResponse) Validate() error
- type InstallClient
- type InstallConfig
- func (*InstallConfig) Descriptor() ([]byte, []int)deprecated
- func (m *InstallConfig) DetectS3CustomMinio() bool
- func (x *InstallConfig) GetCheckResults() []*CheckResult
- func (m *InstallConfig) GetCleanDsS3Custom() string
- func (x *InstallConfig) GetDbConnectionType() string
- func (x *InstallConfig) GetDbManualDSN() string
- func (x *InstallConfig) GetDbSocketFile() string
- func (x *InstallConfig) GetDbSocketName() string
- func (x *InstallConfig) GetDbSocketPassword() string
- func (x *InstallConfig) GetDbSocketUser() string
- func (x *InstallConfig) GetDbTCPHostname() string
- func (x *InstallConfig) GetDbTCPName() string
- func (x *InstallConfig) GetDbTCPPassword() string
- func (x *InstallConfig) GetDbTCPPort() string
- func (x *InstallConfig) GetDbTCPUser() string
- func (x *InstallConfig) GetDbUseDefaults() bool
- func (x *InstallConfig) GetDocumentsDSN() string
- func (x *InstallConfig) GetDsFolder() string
- func (x *InstallConfig) GetDsName() string
- func (x *InstallConfig) GetDsPort() string
- func (x *InstallConfig) GetDsS3ApiKey() string
- func (x *InstallConfig) GetDsS3ApiSecret() string
- func (x *InstallConfig) GetDsS3BucketBinaries() string
- func (x *InstallConfig) GetDsS3BucketCells() string
- func (x *InstallConfig) GetDsS3BucketDefault() string
- func (x *InstallConfig) GetDsS3BucketPersonal() string
- func (x *InstallConfig) GetDsS3BucketThumbs() string
- func (x *InstallConfig) GetDsS3BucketVersions() string
- func (x *InstallConfig) GetDsS3Custom() string
- func (x *InstallConfig) GetDsS3CustomRegion() string
- func (x *InstallConfig) GetDsType() string
- func (x *InstallConfig) GetFrontendApplicationTitle() string
- func (x *InstallConfig) GetFrontendDefaultLanguage() string
- func (x *InstallConfig) GetFrontendHosts() string
- func (x *InstallConfig) GetFrontendLogin() string
- func (x *InstallConfig) GetFrontendPassword() string
- func (x *InstallConfig) GetFrontendRepeatPassword() string
- func (x *InstallConfig) GetInternalUrl() string
- func (x *InstallConfig) GetLicenseRequired() bool
- func (x *InstallConfig) GetLicenseString() string
- func (x *InstallConfig) GetProxyConfig() *ProxyConfig
- func (x *InstallConfig) GetUseDocumentsDSN() bool
- func (*InstallConfig) ProtoMessage()
- func (x *InstallConfig) ProtoReflect() protoreflect.Message
- func (x *InstallConfig) Reset()
- func (x *InstallConfig) String() string
- func (this *InstallConfig) Validate() error
- type InstallEnhancedServer
- func (m InstallEnhancedServer) GetDefaults(ctx context.Context, r *GetDefaultsRequest) (*GetDefaultsResponse, error)
- func (m InstallEnhancedServer) Install(ctx context.Context, r *InstallRequest) (*InstallResponse, error)
- func (m InstallEnhancedServer) PerformCheck(ctx context.Context, r *PerformCheckRequest) (*PerformCheckResponse, error)
- type InstallEventsRequest
- func (*InstallEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (*InstallEventsRequest) ProtoMessage()
- func (x *InstallEventsRequest) ProtoReflect() protoreflect.Message
- func (x *InstallEventsRequest) Reset()
- func (x *InstallEventsRequest) String() string
- func (this *InstallEventsRequest) Validate() error
- type InstallEventsResponse
- func (*InstallEventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InstallEventsResponse) GetSuccess() bool
- func (*InstallEventsResponse) ProtoMessage()
- func (x *InstallEventsResponse) ProtoReflect() protoreflect.Message
- func (x *InstallEventsResponse) Reset()
- func (x *InstallEventsResponse) String() string
- func (this *InstallEventsResponse) Validate() error
- type InstallRequest
- func (*InstallRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstallRequest) GetConfig() *InstallConfig
- func (*InstallRequest) ProtoMessage()
- func (x *InstallRequest) ProtoReflect() protoreflect.Message
- func (x *InstallRequest) Reset()
- func (x *InstallRequest) String() string
- func (this *InstallRequest) Validate() error
- type InstallResponse
- func (*InstallResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InstallResponse) GetSuccess() bool
- func (*InstallResponse) ProtoMessage()
- func (x *InstallResponse) ProtoReflect() protoreflect.Message
- func (x *InstallResponse) Reset()
- func (x *InstallResponse) String() string
- func (this *InstallResponse) Validate() error
- type InstallServer
- type NamedInstallServer
- type PerformCheckRequest
- func (*PerformCheckRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PerformCheckRequest) GetConfig() *InstallConfig
- func (x *PerformCheckRequest) GetName() string
- func (*PerformCheckRequest) ProtoMessage()
- func (x *PerformCheckRequest) ProtoReflect() protoreflect.Message
- func (x *PerformCheckRequest) Reset()
- func (x *PerformCheckRequest) String() string
- func (this *PerformCheckRequest) Validate() error
- type PerformCheckResponse
- func (*PerformCheckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PerformCheckResponse) GetResult() *CheckResult
- func (*PerformCheckResponse) ProtoMessage()
- func (x *PerformCheckResponse) ProtoReflect() protoreflect.Message
- func (x *PerformCheckResponse) Reset()
- func (x *PerformCheckResponse) String() string
- func (this *PerformCheckResponse) Validate() error
- type ProxyConfig
- func (*ProxyConfig) Descriptor() ([]byte, []int)deprecated
- func (m *ProxyConfig) GetBindURLs() (addresses []string)
- func (x *ProxyConfig) GetBinds() []string
- func (x *ProxyConfig) GetCertificate() *TLSCertificate
- func (m *ProxyConfig) GetDefaultBindURL() string
- func (m *ProxyConfig) GetExternalUrls() map[string]*url.URL
- func (x *ProxyConfig) GetLetsEncrypt() *TLSLetsEncrypt
- func (x *ProxyConfig) GetMaintenance() bool
- func (x *ProxyConfig) GetMaintenanceConditions() []string
- func (x *ProxyConfig) GetReverseProxyURL() string
- func (x *ProxyConfig) GetSSLRedirect() bool
- func (x *ProxyConfig) GetSelfSigned() *TLSSelfSigned
- func (m *ProxyConfig) GetTLSCertificate() *TLSCertificate
- func (m *ProxyConfig) GetTLSConfig() isProxyConfig_TLSConfig
- func (m *ProxyConfig) GetTLSLetsEncrypt() *TLSLetsEncrypt
- func (m *ProxyConfig) GetTLSSelfSigned() *TLSSelfSigned
- func (m *ProxyConfig) HasTLS() bool
- func (*ProxyConfig) ProtoMessage()
- func (x *ProxyConfig) ProtoReflect() protoreflect.Message
- func (x *ProxyConfig) Reset()
- func (x *ProxyConfig) String() string
- func (m *ProxyConfig) UnmarshalFromMap(data map[string]interface{}, getKey func(string) string) error
- func (m *ProxyConfig) UnmarshalJSON(bb []byte) error
- func (m *ProxyConfig) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (this *ProxyConfig) Validate() error
- type ProxyConfig_Certificate
- type ProxyConfig_LetsEncrypt
- type ProxyConfig_SelfSigned
- type TLSCertificate
- func (*TLSCertificate) Descriptor() ([]byte, []int)deprecated
- func (x *TLSCertificate) GetCellsRootCA() string
- func (x *TLSCertificate) GetCertFile() string
- func (x *TLSCertificate) GetKeyFile() string
- func (*TLSCertificate) ProtoMessage()
- func (x *TLSCertificate) ProtoReflect() protoreflect.Message
- func (x *TLSCertificate) Reset()
- func (x *TLSCertificate) String() string
- func (this *TLSCertificate) Validate() error
- type TLSLetsEncrypt
- func (*TLSLetsEncrypt) Descriptor() ([]byte, []int)deprecated
- func (x *TLSLetsEncrypt) GetAcceptEULA() bool
- func (x *TLSLetsEncrypt) GetEmail() string
- func (x *TLSLetsEncrypt) GetStagingCA() bool
- func (*TLSLetsEncrypt) ProtoMessage()
- func (x *TLSLetsEncrypt) ProtoReflect() protoreflect.Message
- func (x *TLSLetsEncrypt) Reset()
- func (x *TLSLetsEncrypt) String() string
- func (this *TLSLetsEncrypt) Validate() error
- type TLSSelfSigned
- func (*TLSSelfSigned) Descriptor() ([]byte, []int)deprecated
- func (x *TLSSelfSigned) GetHostnames() []string
- func (*TLSSelfSigned) ProtoMessage()
- func (x *TLSSelfSigned) ProtoReflect() protoreflect.Message
- func (x *TLSSelfSigned) Reset()
- func (x *TLSSelfSigned) String() string
- func (this *TLSSelfSigned) Validate() error
- type UnimplementedInstallServer
- func (UnimplementedInstallServer) GetDefaults(context.Context, *GetDefaultsRequest) (*GetDefaultsResponse, error)
- func (UnimplementedInstallServer) Install(context.Context, *InstallRequest) (*InstallResponse, error)
- func (UnimplementedInstallServer) PerformCheck(context.Context, *PerformCheckRequest) (*PerformCheckResponse, error)
- type UnsafeInstallServer
Constants ¶
This section is empty.
Variables ¶
var File_cells_install_proto protoreflect.FileDescriptor
var Install_ServiceDesc = grpc.ServiceDesc{ ServiceName: "install.Install", HandlerType: (*InstallServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetDefaults", Handler: _Install_GetDefaults_Handler, }, { MethodName: "Install", Handler: _Install_Install_Handler, }, { MethodName: "PerformCheck", Handler: _Install_PerformCheck_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "cells-install.proto", }
Install_ServiceDesc is the grpc.ServiceDesc for Install service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func DeregisterInstallEnhancedServer ¶
func DeregisterInstallEnhancedServer(s grpc.ServiceRegistrar, name string)
func RegisterInstallEnhancedServer ¶
func RegisterInstallEnhancedServer(s grpc.ServiceRegistrar, srv NamedInstallServer)
func RegisterInstallServer ¶
func RegisterInstallServer(s grpc.ServiceRegistrar, srv InstallServer)
Types ¶
type CheckResult ¶
type CheckResult struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Success bool `protobuf:"varint,2,opt,name=Success,proto3" json:"Success,omitempty"` JsonResult string `protobuf:"bytes,3,opt,name=JsonResult,proto3" json:"JsonResult,omitempty"` // contains filtered or unexported fields }
func (*CheckResult) Descriptor
deprecated
func (*CheckResult) Descriptor() ([]byte, []int)
Deprecated: Use CheckResult.ProtoReflect.Descriptor instead.
func (*CheckResult) GetJsonResult ¶
func (x *CheckResult) GetJsonResult() string
func (*CheckResult) GetName ¶
func (x *CheckResult) GetName() string
func (*CheckResult) GetSuccess ¶
func (x *CheckResult) GetSuccess() bool
func (*CheckResult) ProtoMessage ¶
func (*CheckResult) ProtoMessage()
func (*CheckResult) ProtoReflect ¶
func (x *CheckResult) ProtoReflect() protoreflect.Message
func (*CheckResult) Reset ¶
func (x *CheckResult) Reset()
func (*CheckResult) String ¶
func (x *CheckResult) String() string
func (*CheckResult) Validate ¶
func (this *CheckResult) Validate() error
type GetAgreementRequest ¶
type GetAgreementRequest struct {
// contains filtered or unexported fields
}
func (*GetAgreementRequest) Descriptor
deprecated
func (*GetAgreementRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAgreementRequest.ProtoReflect.Descriptor instead.
func (*GetAgreementRequest) ProtoMessage ¶
func (*GetAgreementRequest) ProtoMessage()
func (*GetAgreementRequest) ProtoReflect ¶
func (x *GetAgreementRequest) ProtoReflect() protoreflect.Message
func (*GetAgreementRequest) Reset ¶
func (x *GetAgreementRequest) Reset()
func (*GetAgreementRequest) String ¶
func (x *GetAgreementRequest) String() string
func (*GetAgreementRequest) Validate ¶
func (this *GetAgreementRequest) Validate() error
type GetAgreementResponse ¶
type GetAgreementResponse struct { Text string `protobuf:"bytes,1,opt,name=Text,proto3" json:"Text,omitempty"` // contains filtered or unexported fields }
func (*GetAgreementResponse) Descriptor
deprecated
func (*GetAgreementResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAgreementResponse.ProtoReflect.Descriptor instead.
func (*GetAgreementResponse) GetText ¶
func (x *GetAgreementResponse) GetText() string
func (*GetAgreementResponse) ProtoMessage ¶
func (*GetAgreementResponse) ProtoMessage()
func (*GetAgreementResponse) ProtoReflect ¶
func (x *GetAgreementResponse) ProtoReflect() protoreflect.Message
func (*GetAgreementResponse) Reset ¶
func (x *GetAgreementResponse) Reset()
func (*GetAgreementResponse) String ¶
func (x *GetAgreementResponse) String() string
func (*GetAgreementResponse) Validate ¶
func (this *GetAgreementResponse) Validate() error
type GetDefaultsRequest ¶
type GetDefaultsRequest struct {
// contains filtered or unexported fields
}
func (*GetDefaultsRequest) Descriptor
deprecated
func (*GetDefaultsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDefaultsRequest.ProtoReflect.Descriptor instead.
func (*GetDefaultsRequest) ProtoMessage ¶
func (*GetDefaultsRequest) ProtoMessage()
func (*GetDefaultsRequest) ProtoReflect ¶
func (x *GetDefaultsRequest) ProtoReflect() protoreflect.Message
func (*GetDefaultsRequest) Reset ¶
func (x *GetDefaultsRequest) Reset()
func (*GetDefaultsRequest) String ¶
func (x *GetDefaultsRequest) String() string
func (*GetDefaultsRequest) Validate ¶
func (this *GetDefaultsRequest) Validate() error
type GetDefaultsResponse ¶
type GetDefaultsResponse struct { Config *InstallConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*GetDefaultsResponse) Descriptor
deprecated
func (*GetDefaultsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetDefaultsResponse.ProtoReflect.Descriptor instead.
func (*GetDefaultsResponse) GetConfig ¶
func (x *GetDefaultsResponse) GetConfig() *InstallConfig
func (*GetDefaultsResponse) ProtoMessage ¶
func (*GetDefaultsResponse) ProtoMessage()
func (*GetDefaultsResponse) ProtoReflect ¶
func (x *GetDefaultsResponse) ProtoReflect() protoreflect.Message
func (*GetDefaultsResponse) Reset ¶
func (x *GetDefaultsResponse) Reset()
func (*GetDefaultsResponse) String ¶
func (x *GetDefaultsResponse) String() string
func (*GetDefaultsResponse) Validate ¶
func (this *GetDefaultsResponse) Validate() error
type InstallClient ¶
type InstallClient interface { GetDefaults(ctx context.Context, in *GetDefaultsRequest, opts ...grpc.CallOption) (*GetDefaultsResponse, error) Install(ctx context.Context, in *InstallRequest, opts ...grpc.CallOption) (*InstallResponse, error) PerformCheck(ctx context.Context, in *PerformCheckRequest, opts ...grpc.CallOption) (*PerformCheckResponse, error) }
InstallClient is the client API for Install 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 NewInstallClient ¶
func NewInstallClient(cc grpc.ClientConnInterface) InstallClient
type InstallConfig ¶
type InstallConfig struct { InternalUrl string `protobuf:"bytes,32,opt,name=internalUrl,proto3" json:"internalUrl,omitempty"` DbConnectionType string `protobuf:"bytes,1,opt,name=dbConnectionType,proto3" json:"dbConnectionType,omitempty"` DbTCPHostname string `protobuf:"bytes,2,opt,name=dbTCPHostname,proto3" json:"dbTCPHostname,omitempty"` DbTCPPort string `protobuf:"bytes,3,opt,name=dbTCPPort,proto3" json:"dbTCPPort,omitempty"` DbTCPName string `protobuf:"bytes,4,opt,name=dbTCPName,proto3" json:"dbTCPName,omitempty"` DbTCPUser string `protobuf:"bytes,5,opt,name=dbTCPUser,proto3" json:"dbTCPUser,omitempty"` DbTCPPassword string `protobuf:"bytes,6,opt,name=dbTCPPassword,proto3" json:"dbTCPPassword,omitempty"` DbSocketFile string `protobuf:"bytes,7,opt,name=dbSocketFile,proto3" json:"dbSocketFile,omitempty"` DbSocketName string `protobuf:"bytes,8,opt,name=dbSocketName,proto3" json:"dbSocketName,omitempty"` DbSocketUser string `protobuf:"bytes,9,opt,name=dbSocketUser,proto3" json:"dbSocketUser,omitempty"` DbSocketPassword string `protobuf:"bytes,10,opt,name=dbSocketPassword,proto3" json:"dbSocketPassword,omitempty"` DbManualDSN string `protobuf:"bytes,11,opt,name=dbManualDSN,proto3" json:"dbManualDSN,omitempty"` DbUseDefaults bool `protobuf:"varint,37,opt,name=dbUseDefaults,proto3" json:"dbUseDefaults,omitempty"` // Additional Documents DSN data DocumentsDSN string `protobuf:"bytes,38,opt,name=DocumentsDSN,proto3" json:"DocumentsDSN,omitempty"` UseDocumentsDSN bool `protobuf:"varint,39,opt,name=UseDocumentsDSN,proto3" json:"UseDocumentsDSN,omitempty"` DsName string `protobuf:"bytes,12,opt,name=dsName,proto3" json:"dsName,omitempty"` DsPort string `protobuf:"bytes,13,opt,name=dsPort,proto3" json:"dsPort,omitempty"` DsType string `protobuf:"bytes,15,opt,name=dsType,proto3" json:"dsType,omitempty"` DsS3Custom string `protobuf:"bytes,16,opt,name=dsS3Custom,proto3" json:"dsS3Custom,omitempty"` DsS3CustomRegion string `protobuf:"bytes,17,opt,name=dsS3CustomRegion,proto3" json:"dsS3CustomRegion,omitempty"` DsS3ApiKey string `protobuf:"bytes,18,opt,name=dsS3ApiKey,proto3" json:"dsS3ApiKey,omitempty"` DsS3ApiSecret string `protobuf:"bytes,19,opt,name=dsS3ApiSecret,proto3" json:"dsS3ApiSecret,omitempty"` DsS3BucketDefault string `protobuf:"bytes,20,opt,name=dsS3BucketDefault,proto3" json:"dsS3BucketDefault,omitempty"` DsS3BucketPersonal string `protobuf:"bytes,21,opt,name=dsS3BucketPersonal,proto3" json:"dsS3BucketPersonal,omitempty"` DsS3BucketCells string `protobuf:"bytes,22,opt,name=dsS3BucketCells,proto3" json:"dsS3BucketCells,omitempty"` DsS3BucketBinaries string `protobuf:"bytes,23,opt,name=dsS3BucketBinaries,proto3" json:"dsS3BucketBinaries,omitempty"` DsS3BucketThumbs string `protobuf:"bytes,35,opt,name=dsS3BucketThumbs,proto3" json:"dsS3BucketThumbs,omitempty"` DsS3BucketVersions string `protobuf:"bytes,36,opt,name=dsS3BucketVersions,proto3" json:"dsS3BucketVersions,omitempty"` DsFolder string `protobuf:"bytes,14,opt,name=dsFolder,proto3" json:"dsFolder,omitempty"` FrontendHosts string `protobuf:"bytes,24,opt,name=frontendHosts,proto3" json:"frontendHosts,omitempty"` FrontendLogin string `protobuf:"bytes,25,opt,name=frontendLogin,proto3" json:"frontendLogin,omitempty"` FrontendPassword string `protobuf:"bytes,26,opt,name=frontendPassword,proto3" json:"frontendPassword,omitempty"` FrontendRepeatPassword string `protobuf:"bytes,27,opt,name=frontendRepeatPassword,proto3" json:"frontendRepeatPassword,omitempty"` FrontendApplicationTitle string `protobuf:"bytes,28,opt,name=frontendApplicationTitle,proto3" json:"frontendApplicationTitle,omitempty"` FrontendDefaultLanguage string `protobuf:"bytes,33,opt,name=frontendDefaultLanguage,proto3" json:"frontendDefaultLanguage,omitempty"` LicenseRequired bool `protobuf:"varint,29,opt,name=licenseRequired,proto3" json:"licenseRequired,omitempty"` LicenseString string `protobuf:"bytes,30,opt,name=licenseString,proto3" json:"licenseString,omitempty"` CheckResults []*CheckResult `protobuf:"bytes,31,rep,name=CheckResults,proto3" json:"CheckResults,omitempty"` // Additional proxy config (optional) ProxyConfig *ProxyConfig `protobuf:"bytes,34,opt,name=ProxyConfig,proto3" json:"ProxyConfig,omitempty"` // contains filtered or unexported fields }
func (*InstallConfig) Descriptor
deprecated
func (*InstallConfig) Descriptor() ([]byte, []int)
Deprecated: Use InstallConfig.ProtoReflect.Descriptor instead.
func (*InstallConfig) DetectS3CustomMinio ¶ added in v4.0.1
func (m *InstallConfig) DetectS3CustomMinio() bool
func (*InstallConfig) GetCheckResults ¶
func (x *InstallConfig) GetCheckResults() []*CheckResult
func (*InstallConfig) GetCleanDsS3Custom ¶ added in v4.0.1
func (m *InstallConfig) GetCleanDsS3Custom() string
func (*InstallConfig) GetDbConnectionType ¶
func (x *InstallConfig) GetDbConnectionType() string
func (*InstallConfig) GetDbManualDSN ¶
func (x *InstallConfig) GetDbManualDSN() string
func (*InstallConfig) GetDbSocketFile ¶
func (x *InstallConfig) GetDbSocketFile() string
func (*InstallConfig) GetDbSocketName ¶
func (x *InstallConfig) GetDbSocketName() string
func (*InstallConfig) GetDbSocketPassword ¶
func (x *InstallConfig) GetDbSocketPassword() string
func (*InstallConfig) GetDbSocketUser ¶
func (x *InstallConfig) GetDbSocketUser() string
func (*InstallConfig) GetDbTCPHostname ¶
func (x *InstallConfig) GetDbTCPHostname() string
func (*InstallConfig) GetDbTCPName ¶
func (x *InstallConfig) GetDbTCPName() string
func (*InstallConfig) GetDbTCPPassword ¶
func (x *InstallConfig) GetDbTCPPassword() string
func (*InstallConfig) GetDbTCPPort ¶
func (x *InstallConfig) GetDbTCPPort() string
func (*InstallConfig) GetDbTCPUser ¶
func (x *InstallConfig) GetDbTCPUser() string
func (*InstallConfig) GetDbUseDefaults ¶
func (x *InstallConfig) GetDbUseDefaults() bool
func (*InstallConfig) GetDocumentsDSN ¶
func (x *InstallConfig) GetDocumentsDSN() string
func (*InstallConfig) GetDsFolder ¶
func (x *InstallConfig) GetDsFolder() string
func (*InstallConfig) GetDsName ¶
func (x *InstallConfig) GetDsName() string
func (*InstallConfig) GetDsPort ¶
func (x *InstallConfig) GetDsPort() string
func (*InstallConfig) GetDsS3ApiKey ¶
func (x *InstallConfig) GetDsS3ApiKey() string
func (*InstallConfig) GetDsS3ApiSecret ¶
func (x *InstallConfig) GetDsS3ApiSecret() string
func (*InstallConfig) GetDsS3BucketBinaries ¶
func (x *InstallConfig) GetDsS3BucketBinaries() string
func (*InstallConfig) GetDsS3BucketCells ¶
func (x *InstallConfig) GetDsS3BucketCells() string
func (*InstallConfig) GetDsS3BucketDefault ¶
func (x *InstallConfig) GetDsS3BucketDefault() string
func (*InstallConfig) GetDsS3BucketPersonal ¶
func (x *InstallConfig) GetDsS3BucketPersonal() string
func (*InstallConfig) GetDsS3BucketThumbs ¶
func (x *InstallConfig) GetDsS3BucketThumbs() string
func (*InstallConfig) GetDsS3BucketVersions ¶
func (x *InstallConfig) GetDsS3BucketVersions() string
func (*InstallConfig) GetDsS3Custom ¶
func (x *InstallConfig) GetDsS3Custom() string
func (*InstallConfig) GetDsS3CustomRegion ¶
func (x *InstallConfig) GetDsS3CustomRegion() string
func (*InstallConfig) GetDsType ¶
func (x *InstallConfig) GetDsType() string
func (*InstallConfig) GetFrontendApplicationTitle ¶
func (x *InstallConfig) GetFrontendApplicationTitle() string
func (*InstallConfig) GetFrontendDefaultLanguage ¶
func (x *InstallConfig) GetFrontendDefaultLanguage() string
func (*InstallConfig) GetFrontendHosts ¶
func (x *InstallConfig) GetFrontendHosts() string
func (*InstallConfig) GetFrontendLogin ¶
func (x *InstallConfig) GetFrontendLogin() string
func (*InstallConfig) GetFrontendPassword ¶
func (x *InstallConfig) GetFrontendPassword() string
func (*InstallConfig) GetFrontendRepeatPassword ¶
func (x *InstallConfig) GetFrontendRepeatPassword() string
func (*InstallConfig) GetInternalUrl ¶
func (x *InstallConfig) GetInternalUrl() string
func (*InstallConfig) GetLicenseRequired ¶
func (x *InstallConfig) GetLicenseRequired() bool
func (*InstallConfig) GetLicenseString ¶
func (x *InstallConfig) GetLicenseString() string
func (*InstallConfig) GetProxyConfig ¶
func (x *InstallConfig) GetProxyConfig() *ProxyConfig
func (*InstallConfig) GetUseDocumentsDSN ¶
func (x *InstallConfig) GetUseDocumentsDSN() bool
func (*InstallConfig) ProtoMessage ¶
func (*InstallConfig) ProtoMessage()
func (*InstallConfig) ProtoReflect ¶
func (x *InstallConfig) ProtoReflect() protoreflect.Message
func (*InstallConfig) Reset ¶
func (x *InstallConfig) Reset()
func (*InstallConfig) String ¶
func (x *InstallConfig) String() string
func (*InstallConfig) Validate ¶
func (this *InstallConfig) Validate() error
type InstallEnhancedServer ¶
type InstallEnhancedServer map[string]NamedInstallServer
func (InstallEnhancedServer) GetDefaults ¶
func (m InstallEnhancedServer) GetDefaults(ctx context.Context, r *GetDefaultsRequest) (*GetDefaultsResponse, error)
func (InstallEnhancedServer) Install ¶
func (m InstallEnhancedServer) Install(ctx context.Context, r *InstallRequest) (*InstallResponse, error)
func (InstallEnhancedServer) PerformCheck ¶
func (m InstallEnhancedServer) PerformCheck(ctx context.Context, r *PerformCheckRequest) (*PerformCheckResponse, error)
type InstallEventsRequest ¶
type InstallEventsRequest struct {
// contains filtered or unexported fields
}
func (*InstallEventsRequest) Descriptor
deprecated
func (*InstallEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use InstallEventsRequest.ProtoReflect.Descriptor instead.
func (*InstallEventsRequest) ProtoMessage ¶
func (*InstallEventsRequest) ProtoMessage()
func (*InstallEventsRequest) ProtoReflect ¶
func (x *InstallEventsRequest) ProtoReflect() protoreflect.Message
func (*InstallEventsRequest) Reset ¶
func (x *InstallEventsRequest) Reset()
func (*InstallEventsRequest) String ¶
func (x *InstallEventsRequest) String() string
func (*InstallEventsRequest) Validate ¶
func (this *InstallEventsRequest) Validate() error
type InstallEventsResponse ¶
type InstallEventsResponse struct { Success bool `protobuf:"varint,1,opt,name=Success,proto3" json:"Success,omitempty"` // contains filtered or unexported fields }
func (*InstallEventsResponse) Descriptor
deprecated
func (*InstallEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use InstallEventsResponse.ProtoReflect.Descriptor instead.
func (*InstallEventsResponse) GetSuccess ¶ added in v4.0.1
func (x *InstallEventsResponse) GetSuccess() bool
func (*InstallEventsResponse) ProtoMessage ¶
func (*InstallEventsResponse) ProtoMessage()
func (*InstallEventsResponse) ProtoReflect ¶
func (x *InstallEventsResponse) ProtoReflect() protoreflect.Message
func (*InstallEventsResponse) Reset ¶
func (x *InstallEventsResponse) Reset()
func (*InstallEventsResponse) String ¶
func (x *InstallEventsResponse) String() string
func (*InstallEventsResponse) Validate ¶
func (this *InstallEventsResponse) Validate() error
type InstallRequest ¶
type InstallRequest struct { Config *InstallConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` // contains filtered or unexported fields }
func (*InstallRequest) Descriptor
deprecated
func (*InstallRequest) Descriptor() ([]byte, []int)
Deprecated: Use InstallRequest.ProtoReflect.Descriptor instead.
func (*InstallRequest) GetConfig ¶
func (x *InstallRequest) GetConfig() *InstallConfig
func (*InstallRequest) ProtoMessage ¶
func (*InstallRequest) ProtoMessage()
func (*InstallRequest) ProtoReflect ¶
func (x *InstallRequest) ProtoReflect() protoreflect.Message
func (*InstallRequest) Reset ¶
func (x *InstallRequest) Reset()
func (*InstallRequest) String ¶
func (x *InstallRequest) String() string
func (*InstallRequest) Validate ¶
func (this *InstallRequest) Validate() error
type InstallResponse ¶
type InstallResponse struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*InstallResponse) Descriptor
deprecated
func (*InstallResponse) Descriptor() ([]byte, []int)
Deprecated: Use InstallResponse.ProtoReflect.Descriptor instead.
func (*InstallResponse) GetSuccess ¶
func (x *InstallResponse) GetSuccess() bool
func (*InstallResponse) ProtoMessage ¶
func (*InstallResponse) ProtoMessage()
func (*InstallResponse) ProtoReflect ¶
func (x *InstallResponse) ProtoReflect() protoreflect.Message
func (*InstallResponse) Reset ¶
func (x *InstallResponse) Reset()
func (*InstallResponse) String ¶
func (x *InstallResponse) String() string
func (*InstallResponse) Validate ¶
func (this *InstallResponse) Validate() error
type InstallServer ¶
type InstallServer interface { GetDefaults(context.Context, *GetDefaultsRequest) (*GetDefaultsResponse, error) Install(context.Context, *InstallRequest) (*InstallResponse, error) PerformCheck(context.Context, *PerformCheckRequest) (*PerformCheckResponse, error) // contains filtered or unexported methods }
InstallServer is the server API for Install service. All implementations must embed UnimplementedInstallServer for forward compatibility
type NamedInstallServer ¶
type NamedInstallServer interface { InstallServer Name() string }
type PerformCheckRequest ¶
type PerformCheckRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Config *InstallConfig `protobuf:"bytes,2,opt,name=Config,proto3" json:"Config,omitempty"` // contains filtered or unexported fields }
func (*PerformCheckRequest) Descriptor
deprecated
func (*PerformCheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use PerformCheckRequest.ProtoReflect.Descriptor instead.
func (*PerformCheckRequest) GetConfig ¶
func (x *PerformCheckRequest) GetConfig() *InstallConfig
func (*PerformCheckRequest) GetName ¶
func (x *PerformCheckRequest) GetName() string
func (*PerformCheckRequest) ProtoMessage ¶
func (*PerformCheckRequest) ProtoMessage()
func (*PerformCheckRequest) ProtoReflect ¶
func (x *PerformCheckRequest) ProtoReflect() protoreflect.Message
func (*PerformCheckRequest) Reset ¶
func (x *PerformCheckRequest) Reset()
func (*PerformCheckRequest) String ¶
func (x *PerformCheckRequest) String() string
func (*PerformCheckRequest) Validate ¶
func (this *PerformCheckRequest) Validate() error
type PerformCheckResponse ¶
type PerformCheckResponse struct { Result *CheckResult `protobuf:"bytes,1,opt,name=Result,proto3" json:"Result,omitempty"` // contains filtered or unexported fields }
func (*PerformCheckResponse) Descriptor
deprecated
func (*PerformCheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use PerformCheckResponse.ProtoReflect.Descriptor instead.
func (*PerformCheckResponse) GetResult ¶
func (x *PerformCheckResponse) GetResult() *CheckResult
func (*PerformCheckResponse) ProtoMessage ¶
func (*PerformCheckResponse) ProtoMessage()
func (*PerformCheckResponse) ProtoReflect ¶
func (x *PerformCheckResponse) ProtoReflect() protoreflect.Message
func (*PerformCheckResponse) Reset ¶
func (x *PerformCheckResponse) Reset()
func (*PerformCheckResponse) String ¶
func (x *PerformCheckResponse) String() string
func (*PerformCheckResponse) Validate ¶
func (this *PerformCheckResponse) Validate() error
type ProxyConfig ¶
type ProxyConfig struct { // A list of [host]:port to bind to Binds []string `protobuf:"bytes,1,rep,name=Binds,proto3" json:"Binds,omitempty"` // Optional URL of reverse proxy exposing this site ReverseProxyURL string `protobuf:"bytes,3,opt,name=ReverseProxyURL,proto3" json:"ReverseProxyURL,omitempty"` // TLS configuration used for this site // // Types that are assignable to TLSConfig: // *ProxyConfig_SelfSigned // *ProxyConfig_LetsEncrypt // *ProxyConfig_Certificate TLSConfig isProxyConfig_TLSConfig `protobuf_oneof:"TLSConfig"` // If TLS is set, whether to automatically redirect each http://host:port to https://host:port SSLRedirect bool `protobuf:"varint,2,opt,name=SSLRedirect,proto3" json:"SSLRedirect,omitempty"` // If set, this site will be in maintenance mode Maintenance bool `protobuf:"varint,7,opt,name=Maintenance,proto3" json:"Maintenance,omitempty"` // Append caddy directive to restrict maintenance mode MaintenanceConditions []string `protobuf:"bytes,8,rep,name=MaintenanceConditions,proto3" json:"MaintenanceConditions,omitempty"` // contains filtered or unexported fields }
ProxyConfig gives necessary URL and TLS configurations to start proxy
func (*ProxyConfig) Descriptor
deprecated
func (*ProxyConfig) Descriptor() ([]byte, []int)
Deprecated: Use ProxyConfig.ProtoReflect.Descriptor instead.
func (*ProxyConfig) GetBindURLs ¶
func (m *ProxyConfig) GetBindURLs() (addresses []string)
func (*ProxyConfig) GetBinds ¶
func (x *ProxyConfig) GetBinds() []string
func (*ProxyConfig) GetCertificate ¶
func (x *ProxyConfig) GetCertificate() *TLSCertificate
func (*ProxyConfig) GetDefaultBindURL ¶
func (m *ProxyConfig) GetDefaultBindURL() string
func (*ProxyConfig) GetExternalUrls ¶
func (m *ProxyConfig) GetExternalUrls() map[string]*url.URL
func (*ProxyConfig) GetLetsEncrypt ¶
func (x *ProxyConfig) GetLetsEncrypt() *TLSLetsEncrypt
func (*ProxyConfig) GetMaintenance ¶
func (x *ProxyConfig) GetMaintenance() bool
func (*ProxyConfig) GetMaintenanceConditions ¶
func (x *ProxyConfig) GetMaintenanceConditions() []string
func (*ProxyConfig) GetReverseProxyURL ¶
func (x *ProxyConfig) GetReverseProxyURL() string
func (*ProxyConfig) GetSSLRedirect ¶
func (x *ProxyConfig) GetSSLRedirect() bool
func (*ProxyConfig) GetSelfSigned ¶
func (x *ProxyConfig) GetSelfSigned() *TLSSelfSigned
func (*ProxyConfig) GetTLSCertificate ¶
func (m *ProxyConfig) GetTLSCertificate() *TLSCertificate
func (*ProxyConfig) GetTLSConfig ¶
func (m *ProxyConfig) GetTLSConfig() isProxyConfig_TLSConfig
func (*ProxyConfig) GetTLSLetsEncrypt ¶
func (m *ProxyConfig) GetTLSLetsEncrypt() *TLSLetsEncrypt
func (*ProxyConfig) GetTLSSelfSigned ¶
func (m *ProxyConfig) GetTLSSelfSigned() *TLSSelfSigned
func (*ProxyConfig) HasTLS ¶
func (m *ProxyConfig) HasTLS() bool
func (*ProxyConfig) ProtoMessage ¶
func (*ProxyConfig) ProtoMessage()
func (*ProxyConfig) ProtoReflect ¶
func (x *ProxyConfig) ProtoReflect() protoreflect.Message
func (*ProxyConfig) Reset ¶
func (x *ProxyConfig) Reset()
func (*ProxyConfig) String ¶
func (x *ProxyConfig) String() string
func (*ProxyConfig) UnmarshalFromMap ¶
func (m *ProxyConfig) UnmarshalFromMap(data map[string]interface{}, getKey func(string) string) error
func (*ProxyConfig) UnmarshalJSON ¶
func (m *ProxyConfig) UnmarshalJSON(bb []byte) error
func (*ProxyConfig) UnmarshalYAML ¶
func (m *ProxyConfig) UnmarshalYAML(unmarshal func(interface{}) error) error
func (*ProxyConfig) Validate ¶
func (this *ProxyConfig) Validate() error
type ProxyConfig_Certificate ¶
type ProxyConfig_Certificate struct {
Certificate *TLSCertificate `protobuf:"bytes,6,opt,name=Certificate,proto3,oneof"`
}
type ProxyConfig_LetsEncrypt ¶
type ProxyConfig_LetsEncrypt struct {
LetsEncrypt *TLSLetsEncrypt `protobuf:"bytes,5,opt,name=LetsEncrypt,proto3,oneof"`
}
type ProxyConfig_SelfSigned ¶
type ProxyConfig_SelfSigned struct {
SelfSigned *TLSSelfSigned `protobuf:"bytes,4,opt,name=SelfSigned,proto3,oneof"`
}
type TLSCertificate ¶
type TLSCertificate struct { CertFile string `protobuf:"bytes,1,opt,name=CertFile,proto3" json:"CertFile,omitempty"` KeyFile string `protobuf:"bytes,2,opt,name=KeyFile,proto3" json:"KeyFile,omitempty"` CellsRootCA string `protobuf:"bytes,3,opt,name=CellsRootCA,proto3" json:"CellsRootCA,omitempty"` // contains filtered or unexported fields }
TLSCertificate is a TLSConfig where user passes
func (*TLSCertificate) Descriptor
deprecated
func (*TLSCertificate) Descriptor() ([]byte, []int)
Deprecated: Use TLSCertificate.ProtoReflect.Descriptor instead.
func (*TLSCertificate) GetCellsRootCA ¶
func (x *TLSCertificate) GetCellsRootCA() string
func (*TLSCertificate) GetCertFile ¶
func (x *TLSCertificate) GetCertFile() string
func (*TLSCertificate) GetKeyFile ¶
func (x *TLSCertificate) GetKeyFile() string
func (*TLSCertificate) ProtoMessage ¶
func (*TLSCertificate) ProtoMessage()
func (*TLSCertificate) ProtoReflect ¶
func (x *TLSCertificate) ProtoReflect() protoreflect.Message
func (*TLSCertificate) Reset ¶
func (x *TLSCertificate) Reset()
func (*TLSCertificate) String ¶
func (x *TLSCertificate) String() string
func (*TLSCertificate) Validate ¶
func (this *TLSCertificate) Validate() error
type TLSLetsEncrypt ¶
type TLSLetsEncrypt struct { Email string `protobuf:"bytes,1,opt,name=Email,proto3" json:"Email,omitempty"` AcceptEULA bool `protobuf:"varint,2,opt,name=AcceptEULA,proto3" json:"AcceptEULA,omitempty"` StagingCA bool `protobuf:"varint,3,opt,name=StagingCA,proto3" json:"StagingCA,omitempty"` // contains filtered or unexported fields }
TLSLetsEncrypt set up proxy to automatically get a valid certificate from let's encrypt servers
func (*TLSLetsEncrypt) Descriptor
deprecated
func (*TLSLetsEncrypt) Descriptor() ([]byte, []int)
Deprecated: Use TLSLetsEncrypt.ProtoReflect.Descriptor instead.
func (*TLSLetsEncrypt) GetAcceptEULA ¶
func (x *TLSLetsEncrypt) GetAcceptEULA() bool
func (*TLSLetsEncrypt) GetEmail ¶
func (x *TLSLetsEncrypt) GetEmail() string
func (*TLSLetsEncrypt) GetStagingCA ¶
func (x *TLSLetsEncrypt) GetStagingCA() bool
func (*TLSLetsEncrypt) ProtoMessage ¶
func (*TLSLetsEncrypt) ProtoMessage()
func (*TLSLetsEncrypt) ProtoReflect ¶
func (x *TLSLetsEncrypt) ProtoReflect() protoreflect.Message
func (*TLSLetsEncrypt) Reset ¶
func (x *TLSLetsEncrypt) Reset()
func (*TLSLetsEncrypt) String ¶
func (x *TLSLetsEncrypt) String() string
func (*TLSLetsEncrypt) Validate ¶
func (this *TLSLetsEncrypt) Validate() error
type TLSSelfSigned ¶
type TLSSelfSigned struct { Hostnames []string `protobuf:"bytes,1,rep,name=Hostnames,proto3" json:"Hostnames,omitempty"` // contains filtered or unexported fields }
TLSSelfSigned generates a selfsigned certificate
func (*TLSSelfSigned) Descriptor
deprecated
func (*TLSSelfSigned) Descriptor() ([]byte, []int)
Deprecated: Use TLSSelfSigned.ProtoReflect.Descriptor instead.
func (*TLSSelfSigned) GetHostnames ¶
func (x *TLSSelfSigned) GetHostnames() []string
func (*TLSSelfSigned) ProtoMessage ¶
func (*TLSSelfSigned) ProtoMessage()
func (*TLSSelfSigned) ProtoReflect ¶
func (x *TLSSelfSigned) ProtoReflect() protoreflect.Message
func (*TLSSelfSigned) Reset ¶
func (x *TLSSelfSigned) Reset()
func (*TLSSelfSigned) String ¶
func (x *TLSSelfSigned) String() string
func (*TLSSelfSigned) Validate ¶
func (this *TLSSelfSigned) Validate() error
type UnimplementedInstallServer ¶
type UnimplementedInstallServer struct { }
UnimplementedInstallServer must be embedded to have forward compatible implementations.
func (UnimplementedInstallServer) GetDefaults ¶
func (UnimplementedInstallServer) GetDefaults(context.Context, *GetDefaultsRequest) (*GetDefaultsResponse, error)
func (UnimplementedInstallServer) Install ¶
func (UnimplementedInstallServer) Install(context.Context, *InstallRequest) (*InstallResponse, error)
func (UnimplementedInstallServer) PerformCheck ¶
func (UnimplementedInstallServer) PerformCheck(context.Context, *PerformCheckRequest) (*PerformCheckResponse, error)
type UnsafeInstallServer ¶
type UnsafeInstallServer interface {
// contains filtered or unexported methods
}
UnsafeInstallServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InstallServer will result in compilation errors.