Documentation ¶
Index ¶
Constants ¶
View Source
const ( ResourceTypeCluster = "Cluster" ResourceTypeStorageNode = "StorageNode" ResourceTypeVolume = "Volume" ResourceTypeDisk = "Disk" ActionVolumeCreate = "Create" ActionVolumeDelete = "Delete" ActionVolumeMount = "Mount" ActionVolumeUnmount = "Unmount" ActionVolumeConvert = "Convert" ActionVolumeMigrate = "Migrate" ActionVolumeExpand = "Expand" ActionStateSubmit = "Submit" ActionStateStart = "Start" ActionStateComplete = "Complete" ActionStateAbort = "Abort" ActionNodeAdd = "Add" ActionNodeRemove = "Remove" ActionNodeStateChange = "StateChange" ActionNodeStoragePoolCapacityExpand = "CapacityExpand" ActionClusterInstall = "Install" ActionClusterChange = "Change" ActionClusterUpgrade = "Upgrade" ActionDiskAdd = "Add" ActionDiskRelocate = "Relocate" ActionDiskAllocate = "Allocate" ActionDiskReserve = "Reserve" ActionDiskRelease = "Release" ActionDiskChange = "Change" ErrMsgSuccess = "Added a record" ErrMsgFailure = "Failed to add a record" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auditor ¶
type Auditor interface {
Run(informerCache runtimecache.Cache, stopCh <-chan struct{}) error
}
Auditor interface
type EventStore ¶
type EventStore struct {
// contains filtered or unexported fields
}
func NewEventStore ¶
func NewEventStore() *EventStore
func (*EventStore) AddRecordForResource ¶
func (es *EventStore) AddRecordForResource(resType string, resName string, record *localstorageapis.EventRecord)
func (*EventStore) Run ¶
func (es *EventStore) Run(clientSet *localstorageclientset.Clientset, lsFactory localstorageinformers.SharedInformerFactory, stopCh <-chan struct{})
Click to show internal directories.
Click to hide internal directories.