Documentation ¶
Index ¶
- type BackendStore
- func (b *BackendStore) AddOrUpdateBackend(backendName string, backendClient *s3.Client)
- func (b *BackendStore) BackendsAreStored() bool
- func (b *BackendStore) DeleteBackend(backendName string)
- func (b *BackendStore) GetAllBackends() s3Backends
- func (b *BackendStore) GetBackend(backendName string) *s3.Client
- func (b *BackendStore) GetBackendStore() *BackendStore
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
Click to show internal directories.
Click to hide internal directories.