Documentation ¶
Index ¶
- Constants
- type CertificateAction
- type ClusterAction
- type ClusterMemberAction
- type ConfigAction
- type ImageAction
- type ImageAliasAction
- type InstanceAction
- type InstanceBackupAction
- type InstanceLogAction
- type InstanceMetadataAction
- type InstanceMetadataTemplateAction
- type InstanceSnapshotAction
- type NetworkACLAction
- type NetworkAction
- type OperationAction
- type ProfileAction
- type ProjectAction
- type StoragePoolAction
- type StorageVolumeAction
- type StorageVolumeBackupAction
- type StorageVolumeSnapshotAction
- type WarningAction
Constants ¶
const ( CertificateCreated = CertificateAction("created") CertificateDeleted = CertificateAction("deleted") CertificateUpdated = CertificateAction("updated") )
All supported lifecycle events for Certificates.
const ( ClusterEnabled = ClusterAction("enabled") ClusterDisabled = ClusterAction("disabled") ClusterCertificateUpdated = ClusterAction("certificate-updated") ClusterTokenCreated = ClusterAction("token-created") )
All supported lifecycle events for clusters.
const ( ClusterMemberAdded = ClusterMemberAction("added") ClusterMemberRemoved = ClusterMemberAction("removed") ClusterMemberUpdated = ClusterMemberAction("updated") ClusterMemberRenamed = ClusterMemberAction("renamed") )
All supported lifecycle events for cluster members.
const ( ImageCreated = ImageAction("created") ImageDeleted = ImageAction("deleted") ImageUpdated = ImageAction("updated") ImageRetrieved = ImageAction("retrieved") ImageRefreshed = ImageAction("refreshed") ImageSecretCreated = ImageAction("secret-created") )
All supported lifecycle events for images.
const ( ImageAliasCreated = ImageAliasAction("created") ImageAliasDeleted = ImageAliasAction("deleted") ImageAliasUpdated = ImageAliasAction("updated") ImageAliasRenamed = ImageAliasAction("renamed") )
All supported lifecycle events for image aliases.
const ( InstanceCreated = InstanceAction("created") InstanceStarted = InstanceAction("started") InstanceStopped = InstanceAction("stopped") InstanceShutdown = InstanceAction("shutdown") InstanceRestarted = InstanceAction("restarted") InstancePaused = InstanceAction("paused") InstanceResumed = InstanceAction("resumed") InstanceRestored = InstanceAction("restored") InstanceDeleted = InstanceAction("deleted") InstanceRenamed = InstanceAction("renamed") InstanceUpdated = InstanceAction("updated") InstanceExec = InstanceAction("exec") InstanceConsole = InstanceAction("console") InstanceConsoleRetrieved = InstanceAction("console-retrieved") InstanceConsoleReset = InstanceAction("console-reset") InstanceFileRetrieved = InstanceAction("file-retrieved") InstanceFilePushed = InstanceAction("file-pushed") InstanceFileDeleted = InstanceAction("file-deleted") )
All supported lifecycle events for instances.
const ( InstanceBackupCreated = InstanceBackupAction("created") InstanceBackupDeleted = InstanceBackupAction("deleted") InstanceBackupRenamed = InstanceBackupAction("renamed") InstanceBackupRetrieved = InstanceBackupAction("retrieved") )
All supported lifecycle events for instance backups.
const ( InstanceLogRetrieved = InstanceLogAction("retrieved") InstanceLogDeleted = InstanceLogAction("deleted") )
All supported lifecycle events for instance logs.
const ( InstanceMetadataUpdated = InstanceMetadataAction("updated") InstanceMetadataRetrieved = InstanceMetadataAction("retrieved") )
All supported lifecycle events for instance metadata.
const ( InstanceMetadataTemplateDeleted = InstanceMetadataTemplateAction("deleted") InstanceMetadataTemplateCreated = InstanceMetadataTemplateAction("created") InstanceMetadataTemplateRetrieved = InstanceMetadataTemplateAction("retrieved") )
All supported lifecycle events for instance metadata templates.
const ( InstanceSnapshotCreated = InstanceSnapshotAction("created") InstanceSnapshotDeleted = InstanceSnapshotAction("deleted") InstanceSnapshotRenamed = InstanceSnapshotAction("renamed") InstanceSnapshotUpdated = InstanceSnapshotAction("updated") )
All supported lifecycle events for instance snapshots.
const ( NetworkCreated = NetworkAction("created") NetworkDeleted = NetworkAction("deleted") NetworkUpdated = NetworkAction("updated") NetworkRenamed = NetworkAction("renamed") )
All supported lifecycle events for network devices.
const ( NetworkACLCreated = NetworkACLAction("created") NetworkACLDeleted = NetworkACLAction("deleted") NetworkACLUpdated = NetworkACLAction("updated") NetworkACLRenamed = NetworkACLAction("renamed") )
All supported lifecycle events for network acls.
const ( ProfileCreated = ProfileAction("created") ProfileDeleted = ProfileAction("deleted") ProfileUpdated = ProfileAction("updated") ProfileRenamed = ProfileAction("renamed") )
All supported lifecycle events for profiles.
const ( ProjectCreated = ProjectAction("created") ProjectDeleted = ProjectAction("deleted") ProjectUpdated = ProjectAction("updated") ProjectRenamed = ProjectAction("renamed") )
All supported lifecycle events for projects.
const ( StoragePoolCreated = StoragePoolAction("created") StoragePoolDeleted = StoragePoolAction("deleted") StoragePoolUpdated = StoragePoolAction("updated") )
All supported lifecycle events for storage pools.
const ( StorageVolumeCreated = StorageVolumeAction("created") StorageVolumeDeleted = StorageVolumeAction("deleted") StorageVolumeUpdated = StorageVolumeAction("updated") StorageVolumeRenamed = StorageVolumeAction("renamed") StorageVolumeRestored = StorageVolumeAction("restored") )
All supported lifecycle events for storage volumes.
const ( StorageVolumeBackupCreated = StorageVolumeBackupAction("created") StorageVolumeBackupDeleted = StorageVolumeBackupAction("deleted") StorageVolumeBackupRetrieved = StorageVolumeBackupAction("retrieved") StorageVolumeBackupRenamed = StorageVolumeBackupAction("renamed") )
All supported lifecycle events for storage volume backups.
const ( StorageVolumeSnapshotCreated = StorageVolumeSnapshotAction("created") StorageVolumeSnapshotDeleted = StorageVolumeSnapshotAction("deleted") StorageVolumeSnapshotUpdated = StorageVolumeSnapshotAction("updated") StorageVolumeSnapshotRenamed = StorageVolumeSnapshotAction("renamed") )
All supported lifecycle events for storage volume snapshots.
const ( WarningAcknowledged = WarningAction("acknowledged") WarningReset = WarningAction("reset") WarningDeleted = WarningAction("deleted") )
All supported lifecycle events for warnings.
const (
ConfigUpdated = ConfigAction("updated")
)
All supported lifecycle events for the server configuration
const (
OperationCancelled = OperationAction("cancelled")
)
All supported lifecycle events for operations.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertificateAction ¶
type CertificateAction string
CertificateAction represents a lifecycle event action for Certificates.
func (CertificateAction) Event ¶
func (a CertificateAction) Event(fingerprint string, requestor *api.EventLifecycleRequestor, ctx map[string]interface{}) api.EventLifecycle
Event creates the lifecycle event for an action on a Certificate.
type ClusterAction ¶
type ClusterAction string
ClusterAction represents a lifecycle event action for clusters.
func (ClusterAction) Event ¶
func (a ClusterAction) Event(name string, requestor *api.EventLifecycleRequestor, ctx map[string]interface{}) api.EventLifecycle
Event creates the lifecycle event for an action on a cluster.
type ClusterMemberAction ¶
type ClusterMemberAction string
ClusterMemberAction represents a lifecycle event action for cluster members.
func (ClusterMemberAction) Event ¶
func (a ClusterMemberAction) Event(name string, requestor *api.EventLifecycleRequestor, ctx map[string]interface{}) api.EventLifecycle
Event creates the lifecycle event for an action on a cluster member.
type ConfigAction ¶
type ConfigAction string
ConfigAction represents a lifecycle event action for the server configuration
func (ConfigAction) Event ¶
func (a ConfigAction) Event(requestor *api.EventLifecycleRequestor, ctx map[string]interface{}) api.EventLifecycle
Event creates the lifecycle event for an action on the server configuration
type ImageAction ¶
type ImageAction string
ImageAction represents a lifecycle event action for images.
func (ImageAction) Event ¶
func (a ImageAction) Event(image string, projectName string, requestor *api.EventLifecycleRequestor, ctx map[string]interface{}) api.EventLifecycle
Event creates the lifecycle event for an action on an image.
type ImageAliasAction ¶
type ImageAliasAction string
ImageAliasAction represents a lifecycle event action for image aliases.
func (ImageAliasAction) Event ¶
func (a ImageAliasAction) Event(image string, projectName string, requestor *api.EventLifecycleRequestor, ctx map[string]interface{}) api.EventLifecycle
Event creates the lifecycle event for an action on an image alias.
type InstanceAction ¶
type InstanceAction string
InstanceAction represents a lifecycle event action for instances.
func (InstanceAction) Event ¶
func (a InstanceAction) Event(inst instance, ctx map[string]interface{}) api.EventLifecycle
Event creates the lifecycle event for an action on an instance.
type InstanceBackupAction ¶
type InstanceBackupAction string
InstanceBackupAction represents a lifecycle event action for instance backups.
func (InstanceBackupAction) Event ¶
func (a InstanceBackupAction) Event(name string, inst instance, ctx map[string]interface{}) api.EventLifecycle
Event creates the lifecycle event for an action on an instance backup.
type InstanceLogAction ¶
type InstanceLogAction string
InstanceLogAction represents a lifecycle event action for instance logs.
func (InstanceLogAction) Event ¶
func (a InstanceLogAction) Event(file string, inst instance, requestor *api.EventLifecycleRequestor, ctx map[string]interface{}) api.EventLifecycle
Event creates the lifecycle event for an action on an instance log.
type InstanceMetadataAction ¶
type InstanceMetadataAction string
InstanceMetadataAction represents a lifecycle event action for instance metadata.
func (InstanceMetadataAction) Event ¶
func (a InstanceMetadataAction) Event(inst instance, requestor *api.EventLifecycleRequestor, ctx map[string]interface{}) api.EventLifecycle
Event creates the lifecycle event for an action on instance metadata.
type InstanceMetadataTemplateAction ¶
type InstanceMetadataTemplateAction string
InstanceMetadataTemplateAction represents a lifecycle event action for instance metadata templates.
func (InstanceMetadataTemplateAction) Event ¶
func (a InstanceMetadataTemplateAction) Event(inst instance, requestor *api.EventLifecycleRequestor, ctx map[string]interface{}) api.EventLifecycle
Event creates the lifecycle event for an action on instance metadata templates.
type InstanceSnapshotAction ¶
type InstanceSnapshotAction string
InstanceSnapshotAction represents a lifecycle event action for instance snapshots.
func (InstanceSnapshotAction) Event ¶
func (a InstanceSnapshotAction) Event(inst instance, ctx map[string]interface{}) api.EventLifecycle
Event creates the lifecycle event for an action on an instance snapshot.
type NetworkACLAction ¶
type NetworkACLAction string
NetworkACLAction represents a lifecycle event action for network acls.
func (NetworkACLAction) Event ¶
func (a NetworkACLAction) Event(n networkACL, requestor *api.EventLifecycleRequestor, ctx map[string]interface{}) api.EventLifecycle
Event creates the lifecycle event for an action on a network acl.
type NetworkAction ¶
type NetworkAction string
NetworkAction represents a lifecycle event action for network devices.
func (NetworkAction) Event ¶
func (a NetworkAction) Event(n network, requestor *api.EventLifecycleRequestor, ctx map[string]interface{}) api.EventLifecycle
Event creates the lifecycle event for an action on a network device.
type OperationAction ¶
type OperationAction string
OperationAction represents a lifecycle event action for operations.
func (OperationAction) Event ¶
func (a OperationAction) Event(op operation, requestor *api.EventLifecycleRequestor, ctx map[string]interface{}) api.EventLifecycle
Event creates the lifecycle event for an action on an operation.
type ProfileAction ¶
type ProfileAction string
ProfileAction represents a lifecycle event action for profiles.
func (ProfileAction) Event ¶
func (a ProfileAction) Event(name string, projectName string, requestor *api.EventLifecycleRequestor, ctx map[string]interface{}) api.EventLifecycle
Event creates the lifecycle event for an action on a profile.
type ProjectAction ¶
type ProjectAction string
ProjectAction represents a lifecycle event action for projects.
func (ProjectAction) Event ¶
func (a ProjectAction) Event(name string, requestor *api.EventLifecycleRequestor, ctx map[string]interface{}) api.EventLifecycle
Event creates the lifecycle event for an action on a project.
type StoragePoolAction ¶
type StoragePoolAction string
StoragePoolAction represents a lifecycle event action for storage pools.
func (StoragePoolAction) Event ¶
func (a StoragePoolAction) Event(name string, projectName string, requestor *api.EventLifecycleRequestor, ctx map[string]interface{}) api.EventLifecycle
Event creates the lifecycle event for an action on an storage pool.
type StorageVolumeAction ¶
type StorageVolumeAction string
StorageVolumeAction represents a lifecycle event action for storage volumes.
func (StorageVolumeAction) Event ¶
func (a StorageVolumeAction) Event(v volume, volumeType string, projectName string, op *operations.Operation, ctx map[string]interface{}) api.EventLifecycle
Event creates the lifecycle event for an action on a storage volume.
type StorageVolumeBackupAction ¶
type StorageVolumeBackupAction string
StorageVolumeBackupAction represents a lifecycle event action for storage volume backups.
func (StorageVolumeBackupAction) Event ¶
func (a StorageVolumeBackupAction) Event(poolName string, volumeType string, volumeName string, projectName string, requestor *api.EventLifecycleRequestor, ctx map[string]interface{}) api.EventLifecycle
Event creates the lifecycle event for an action on a storage volume backup.
type StorageVolumeSnapshotAction ¶
type StorageVolumeSnapshotAction string
StorageVolumeSnapshotAction represents a lifecycle event action for storage volume snapshots.
func (StorageVolumeSnapshotAction) Event ¶
func (a StorageVolumeSnapshotAction) Event(v volume, volumeType string, projectName string, op *operations.Operation, ctx map[string]interface{}) api.EventLifecycle
Event creates the lifecycle event for an action on a storage volume snapshot.
type WarningAction ¶
type WarningAction string
WarningAction represents a lifecycle event action for warnings.
func (WarningAction) Event ¶
func (a WarningAction) Event(id string, requestor *api.EventLifecycleRequestor, ctx map[string]interface{}) api.EventLifecycle
Event creates the lifecycle event for an action on a warning.
Source Files ¶
- certificate.go
- cluster.go
- cluster_member.go
- config.go
- image.go
- image_alias.go
- instance.go
- instance_backup.go
- instance_log.go
- instance_metadata.go
- instance_metadata_template.go
- instance_snapshot.go
- network.go
- network_acl.go
- operation.go
- profile.go
- project.go
- storage_pool.go
- storage_volume.go
- storage_volume_backup.go
- storage_volume_snapshot.go
- warning.go