Documentation ¶
Index ¶
- type BackendStore
- func (b *BackendStore) AddOrUpdateBackend(backendName string, backendClient *s3.Client, active bool, ...)
- func (b *BackendStore) BackendsAreStored() bool
- func (b *BackendStore) DeleteBackend(backendName string)
- func (b *BackendStore) GetActiveBackends(beNames []string) s3Backends
- func (b *BackendStore) GetAllActiveBackendNames() []string
- func (b *BackendStore) GetAllBackendClients() []*s3.Client
- func (b *BackendStore) GetAllBackends() s3Backends
- func (b *BackendStore) GetBackend(backendName string) *backend
- func (b *BackendStore) GetBackendClient(backendName string) *s3.Client
- func (b *BackendStore) GetBackendClients(beNames []string) []*s3.Client
- func (b *BackendStore) GetBackendHealthStatus(backendName string) v1alpha1.HealthStatus
- func (b *BackendStore) IsBackendActive(backendName string) bool
- func (b *BackendStore) SetBackendHealthStatus(backendName string, health v1alpha1.HealthStatus)
- func (b *BackendStore) ToggleBackendActiveStatus(backendName string, active bool)
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, active bool, health v1alpha1.HealthStatus)
func (*BackendStore) BackendsAreStored ¶
func (b *BackendStore) BackendsAreStored() bool
func (*BackendStore) DeleteBackend ¶
func (b *BackendStore) DeleteBackend(backendName string)
func (*BackendStore) GetActiveBackends ¶ added in v0.0.7
func (b *BackendStore) GetActiveBackends(beNames []string) s3Backends
func (*BackendStore) GetAllActiveBackendNames ¶ added in v0.0.7
func (b *BackendStore) GetAllActiveBackendNames() []string
func (*BackendStore) GetAllBackendClients ¶ added in v0.0.5
func (b *BackendStore) GetAllBackendClients() []*s3.Client
func (*BackendStore) GetAllBackends ¶
func (b *BackendStore) GetAllBackends() s3Backends
func (*BackendStore) GetBackend ¶
func (b *BackendStore) GetBackend(backendName string) *backend
func (*BackendStore) GetBackendClient ¶ added in v0.0.5
func (b *BackendStore) GetBackendClient(backendName string) *s3.Client
func (*BackendStore) GetBackendClients ¶ added in v0.0.7
func (b *BackendStore) GetBackendClients(beNames []string) []*s3.Client
func (*BackendStore) GetBackendHealthStatus ¶ added in v0.0.9
func (b *BackendStore) GetBackendHealthStatus(backendName string) v1alpha1.HealthStatus
func (*BackendStore) IsBackendActive ¶ added in v0.0.5
func (b *BackendStore) IsBackendActive(backendName string) bool
func (*BackendStore) SetBackendHealthStatus ¶ added in v0.0.9
func (b *BackendStore) SetBackendHealthStatus(backendName string, health v1alpha1.HealthStatus)
func (*BackendStore) ToggleBackendActiveStatus ¶ added in v0.0.5
func (b *BackendStore) ToggleBackendActiveStatus(backendName string, active bool)
Click to show internal directories.
Click to hide internal directories.