storage_backend

package
v0.0.0-...-ea7e872 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

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 (s *StorageBackendBadger) CreateFrontend(fe *entity.Frontend) (*entity.Frontend, error)

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 (*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 (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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL