Documentation ¶
Index ¶
- type StorageBackendBadger
- func (s *StorageBackendBadger) Close() error
- func (s *StorageBackendBadger) CreateClient(name string) (*entity.Client, error)
- func (s *StorageBackendBadger) CreateFrontend(fe *entity.Frontend) (*entity.Frontend, error)
- func (s *StorageBackendBadger) CreateFrontendTLS(frontendUuid, clientUuid string) (*entity.FrontendTLSData, error)
- func (s *StorageBackendBadger) DeleteFrontend(uuid string) error
- func (s *StorageBackendBadger) GetClient(uuid string) (*entity.Client, error)
- func (s *StorageBackendBadger) GetFrontend(uuid string) (*entity.Frontend, error)
- func (s *StorageBackendBadger) Init(ctx context.Context, opt storage.IManagerBackendOptions) error
- func (s *StorageBackendBadger) ListFrontend(onlyActive bool) ([]*entity.Frontend, error)
- func (s *StorageBackendBadger) UpdateFrontend(uuid string, opt *entity.Frontend) error
- type StorageBackendBadgerOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StorageBackendBadger ¶
type StorageBackendBadger struct {
// contains filtered or unexported fields
}
func (*StorageBackendBadger) Close ¶
func (s *StorageBackendBadger) Close() error
func (*StorageBackendBadger) CreateClient ¶
func (s *StorageBackendBadger) CreateClient(name string) (*entity.Client, error)
func (*StorageBackendBadger) CreateFrontend ¶
func (*StorageBackendBadger) CreateFrontendTLS ¶
func (s *StorageBackendBadger) CreateFrontendTLS(frontendUuid, clientUuid string) (*entity.FrontendTLSData, error)
func (*StorageBackendBadger) DeleteFrontend ¶
func (s *StorageBackendBadger) DeleteFrontend(uuid string) error
func (*StorageBackendBadger) GetClient ¶
func (s *StorageBackendBadger) GetClient(uuid string) (*entity.Client, error)
func (*StorageBackendBadger) GetFrontend ¶
func (s *StorageBackendBadger) GetFrontend(uuid string) (*entity.Frontend, error)
func (*StorageBackendBadger) Init ¶
func (s *StorageBackendBadger) Init(ctx context.Context, opt storage.IManagerBackendOptions) error
func (*StorageBackendBadger) ListFrontend ¶
func (s *StorageBackendBadger) ListFrontend(onlyActive bool) ([]*entity.Frontend, error)
func (*StorageBackendBadger) UpdateFrontend ¶
func (s *StorageBackendBadger) UpdateFrontend(uuid string, opt *entity.Frontend) error
type StorageBackendBadgerOptions ¶
type StorageBackendBadgerOptions struct { FilePath string TestMode bool LogLvl zerolog.Level CACert tls.Certificate }
func (StorageBackendBadgerOptions) CaCert ¶
func (s StorageBackendBadgerOptions) CaCert() tls.Certificate
func (StorageBackendBadgerOptions) GetHostString ¶
func (s StorageBackendBadgerOptions) GetHostString() []string
func (StorageBackendBadgerOptions) GetLocalPath ¶
func (s StorageBackendBadgerOptions) GetLocalPath() string
func (StorageBackendBadgerOptions) IsTestMode ¶
func (s StorageBackendBadgerOptions) IsTestMode() bool
func (StorageBackendBadgerOptions) LogLevel ¶
func (s StorageBackendBadgerOptions) LogLevel() zerolog.Level
Click to show internal directories.
Click to hide internal directories.