Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFromEvent ¶
func GetFromEvent(in watch.Event) *v1.SGBackupInfo
GetFromEvent resolves watch.Event into v1.SGBackupInfo
func New ¶
func New() restbuilder.ResourceHandlerProvider
New returns a new storage provider for VSHNPostgresBackup
Types ¶
type MultiWatcher ¶
type MultiWatcher struct {
// contains filtered or unexported fields
}
func NewEmptyMultiWatch ¶
func NewEmptyMultiWatch() *MultiWatcher
NewEmptyMultiWatch creates an empty watch
func (*MultiWatcher) AddWatcher ¶
func (m *MultiWatcher) AddWatcher(w watch.Interface)
AddWatcher adds a watch to this MultiWatcher
func (*MultiWatcher) ResultChan ¶
func (m *MultiWatcher) ResultChan() <-chan watch.Event
ResultChan aggregates all channels from all watches of this MultiWatch
Source Files ¶
Click to show internal directories.
Click to hide internal directories.