Help us shape the future of Go! Take the 2026 Go Developer Survey

backendstore

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackendStore

type BackendStore struct {
	// contains filtered or unexported fields
}

BackendStore stores the active s3 backends.

func NewBackendStore

func NewBackendStore() *BackendStore

func (*BackendStore) AddOrUpdateBackend

func (b *BackendStore) AddOrUpdateBackend(backendName string, backendClient *s3.Client)

func (*BackendStore) BackendsAreStored

func (b *BackendStore) BackendsAreStored() bool

func (*BackendStore) DeleteBackend

func (b *BackendStore) DeleteBackend(backendName string)

func (*BackendStore) GetAllBackends

func (b *BackendStore) GetAllBackends() s3Backends

func (*BackendStore) GetBackend

func (b *BackendStore) GetBackend(backendName string) *s3.Client

func (*BackendStore) GetBackendStore

func (b *BackendStore) GetBackendStore() *BackendStore

Jump to

Keyboard shortcuts

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