Documentation ¶
Index ¶
- Constants
- type CertificateAction
- type ClusterAction
- type ClusterGroupAction
- 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 NetworkForwardAction
- type NetworkIntegrationAction
- type NetworkLoadBalancerAction
- type NetworkPeerAction
- type NetworkZoneAction
- type NetworkZoneRecordAction
- type OperationAction
- type ProfileAction
- type ProjectAction
- type StorageBucketAction
- type StorageBucketBackupAction
- type StorageBucketKeyAction
- type StoragePoolAction
- type StorageVolumeAction
- type StorageVolumeBackupAction
- type StorageVolumeSnapshotAction
- type WarningAction
Constants ¶
const ( CertificateCreated = CertificateAction(api.EventLifecycleCertificateCreated) CertificateDeleted = CertificateAction(api.EventLifecycleCertificateDeleted) CertificateUpdated = CertificateAction(api.EventLifecycleCertificateUpdated) )
All supported lifecycle events for Certificates.
const ( ClusterEnabled = ClusterAction(api.EventLifecycleClusterEnabled) ClusterDisabled = ClusterAction(api.EventLifecycleClusterDisabled) ClusterCertificateUpdated = ClusterAction(api.EventLifecycleClusterCertificateUpdated) ClusterTokenCreated = ClusterAction(api.EventLifecycleClusterTokenCreated) )
All supported lifecycle events for clusters.
const ( ClusterGroupCreated = ClusterGroupAction(api.EventLifecycleClusterGroupCreated) ClusterGroupDeleted = ClusterGroupAction(api.EventLifecycleClusterGroupDeleted) ClusterGroupUpdated = ClusterGroupAction(api.EventLifecycleClusterGroupUpdated) ClusterGroupRenamed = ClusterGroupAction(api.EventLifecycleClusterGroupRenamed) )
All supported lifecycle events for cluster groups.
const ( ClusterMemberAdded = ClusterMemberAction(api.EventLifecycleClusterMemberAdded) ClusterMemberRemoved = ClusterMemberAction(api.EventLifecycleClusterMemberRemoved) ClusterMemberUpdated = ClusterMemberAction(api.EventLifecycleClusterMemberUpdated) ClusterMemberRenamed = ClusterMemberAction(api.EventLifecycleClusterMemberRenamed) )
All supported lifecycle events for cluster members.
const ( ImageCreated = ImageAction(api.EventLifecycleImageCreated) ImageDeleted = ImageAction(api.EventLifecycleImageDeleted) ImageUpdated = ImageAction(api.EventLifecycleImageUpdated) ImageRetrieved = ImageAction(api.EventLifecycleImageRetrieved) ImageRefreshed = ImageAction(api.EventLifecycleImageRefreshed) ImageSecretCreated = ImageAction(api.EventLifecycleImageSecretCreated) )
All supported lifecycle events for images.
const ( ImageAliasCreated = ImageAliasAction(api.EventLifecycleImageAliasCreated) ImageAliasDeleted = ImageAliasAction(api.EventLifecycleImageAliasDeleted) ImageAliasUpdated = ImageAliasAction(api.EventLifecycleImageAliasUpdated) ImageAliasRenamed = ImageAliasAction(api.EventLifecycleImageAliasRenamed) )
All supported lifecycle events for image aliases.
const ( InstanceCreated = InstanceAction(api.EventLifecycleInstanceCreated) InstanceStarted = InstanceAction(api.EventLifecycleInstanceStarted) InstanceStopped = InstanceAction(api.EventLifecycleInstanceStopped) InstanceShutdown = InstanceAction(api.EventLifecycleInstanceShutdown) InstanceRestarted = InstanceAction(api.EventLifecycleInstanceRestarted) InstancePaused = InstanceAction(api.EventLifecycleInstancePaused) InstanceReady = InstanceAction(api.EventLifecycleInstanceReady) InstanceResumed = InstanceAction(api.EventLifecycleInstanceResumed) InstanceRestored = InstanceAction(api.EventLifecycleInstanceRestored) InstanceDeleted = InstanceAction(api.EventLifecycleInstanceDeleted) InstanceRenamed = InstanceAction(api.EventLifecycleInstanceRenamed) InstanceUpdated = InstanceAction(api.EventLifecycleInstanceUpdated) InstanceExec = InstanceAction(api.EventLifecycleInstanceExec) InstanceConsole = InstanceAction(api.EventLifecycleInstanceConsole) InstanceConsoleRetrieved = InstanceAction(api.EventLifecycleInstanceConsoleRetrieved) InstanceConsoleReset = InstanceAction(api.EventLifecycleInstanceConsoleReset) InstanceFileRetrieved = InstanceAction(api.EventLifecycleInstanceFileRetrieved) InstanceFilePushed = InstanceAction(api.EventLifecycleInstanceFilePushed) InstanceFileDeleted = InstanceAction(api.EventLifecycleInstanceFileDeleted) )
All supported lifecycle events for instances.
const ( InstanceBackupCreated = InstanceBackupAction(api.EventLifecycleInstanceBackupCreated) InstanceBackupDeleted = InstanceBackupAction(api.EventLifecycleInstanceBackupDeleted) InstanceBackupRenamed = InstanceBackupAction(api.EventLifecycleInstanceBackupRenamed) InstanceBackupRetrieved = InstanceBackupAction(api.EventLifecycleInstanceBackupRetrieved) )
All supported lifecycle events for instance backups.
const ( InstanceLogRetrieved = InstanceLogAction(api.EventLifecycleInstanceLogRetrieved) InstanceLogDeleted = InstanceLogAction(api.EventLifecycleInstanceLogDeleted) )
All supported lifecycle events for instance logs.
const ( InstanceMetadataUpdated = InstanceMetadataAction(api.EventLifecycleInstanceMetadataUpdated) InstanceMetadataRetrieved = InstanceMetadataAction(api.EventLifecycleInstanceMetadataRetrieved) )
All supported lifecycle events for instance metadata.
const ( InstanceMetadataTemplateDeleted = InstanceMetadataTemplateAction(api.EventLifecycleInstanceMetadataTemplateDeleted) InstanceMetadataTemplateCreated = InstanceMetadataTemplateAction(api.EventLifecycleInstanceMetadataTemplateCreated) InstanceMetadataTemplateRetrieved = InstanceMetadataTemplateAction(api.EventLifecycleInstanceMetadataTemplateRetrieved) )
All supported lifecycle events for instance metadata templates.
const ( InstanceSnapshotCreated = InstanceSnapshotAction(api.EventLifecycleInstanceSnapshotCreated) InstanceSnapshotDeleted = InstanceSnapshotAction(api.EventLifecycleInstanceSnapshotDeleted) InstanceSnapshotRenamed = InstanceSnapshotAction(api.EventLifecycleInstanceSnapshotRenamed) InstanceSnapshotUpdated = InstanceSnapshotAction(api.EventLifecycleInstanceSnapshotUpdated) )
All supported lifecycle events for instance snapshots.
const ( NetworkCreated = NetworkAction(api.EventLifecycleNetworkCreated) NetworkDeleted = NetworkAction(api.EventLifecycleNetworkDeleted) NetworkUpdated = NetworkAction(api.EventLifecycleNetworkUpdated) NetworkRenamed = NetworkAction(api.EventLifecycleNetworkRenamed) )
All supported lifecycle events for network devices.
const ( NetworkACLCreated = NetworkACLAction(api.EventLifecycleNetworkACLCreated) NetworkACLDeleted = NetworkACLAction(api.EventLifecycleNetworkACLDeleted) NetworkACLUpdated = NetworkACLAction(api.EventLifecycleNetworkACLUpdated) NetworkACLRenamed = NetworkACLAction(api.EventLifecycleNetworkACLRenamed) )
All supported lifecycle events for network acls.
const ( NetworkForwardCreated = NetworkForwardAction(api.EventLifecycleNetworkForwardCreated) NetworkForwardDeleted = NetworkForwardAction(api.EventLifecycleNetworkForwardDeleted) NetworkForwardUpdated = NetworkForwardAction(api.EventLifecycleNetworkForwardUpdated) )
All supported lifecycle events for network forwards.
const ( NetworkIntegrationCreated = NetworkIntegrationAction(api.EventLifecycleNetworkIntegrationCreated) NetworkIntegrationDeleted = NetworkIntegrationAction(api.EventLifecycleNetworkIntegrationDeleted) NetworkIntegrationUpdated = NetworkIntegrationAction(api.EventLifecycleNetworkIntegrationUpdated) NetworkIntegrationRenamed = NetworkIntegrationAction(api.EventLifecycleNetworkIntegrationRenamed) )
All supported lifecycle events for network integrations.
const ( NetworkLoadBalancerCreated = NetworkLoadBalancerAction(api.EventLifecycleNetworkLoadBalancerCreated) NetworkLoadBalancerDeleted = NetworkLoadBalancerAction(api.EventLifecycleNetworkLoadBalancerDeleted) NetworkLoadBalancerUpdated = NetworkLoadBalancerAction(api.EventLifecycleNetworkLoadBalancerUpdated) )
All supported lifecycle events for network load balancers.
const ( NetworkPeerCreated = NetworkForwardAction(api.EventLifecycleNetworkPeerCreated) NetworkPeerDeleted = NetworkForwardAction(api.EventLifecycleNetworkPeerDeleted) NetworkPeerUpdated = NetworkForwardAction(api.EventLifecycleNetworkPeerUpdated) )
All supported lifecycle events for network peers.
const ( NetworkZoneCreated = NetworkZoneAction(api.EventLifecycleNetworkZoneCreated) NetworkZoneDeleted = NetworkZoneAction(api.EventLifecycleNetworkZoneDeleted) NetworkZoneUpdated = NetworkZoneAction(api.EventLifecycleNetworkZoneUpdated) NetworkZoneRecordCreated = NetworkZoneRecordAction(api.EventLifecycleNetworkZoneRecordCreated) NetworkZoneRecordDeleted = NetworkZoneRecordAction(api.EventLifecycleNetworkZoneRecordDeleted) NetworkZoneRecordUpdated = NetworkZoneRecordAction(api.EventLifecycleNetworkZoneRecordUpdated) )
All supported lifecycle events for network zones.
const ( ProfileCreated = ProfileAction(api.EventLifecycleProfileCreated) ProfileDeleted = ProfileAction(api.EventLifecycleProfileDeleted) ProfileUpdated = ProfileAction(api.EventLifecycleProfileUpdated) ProfileRenamed = ProfileAction(api.EventLifecycleProfileRenamed) )
All supported lifecycle events for profiles.
const ( ProjectCreated = ProjectAction(api.EventLifecycleProjectCreated) ProjectDeleted = ProjectAction(api.EventLifecycleProjectDeleted) ProjectUpdated = ProjectAction(api.EventLifecycleProjectUpdated) ProjectRenamed = ProjectAction(api.EventLifecycleProjectRenamed) )
All supported lifecycle events for projects.
const ( StorageBucketCreated = StorageBucketAction(api.EventLifecycleStorageBucketCreated) StorageBucketDeleted = StorageBucketAction(api.EventLifecycleStorageBucketDeleted) StorageBucketUpdated = StorageBucketAction(api.EventLifecycleStorageBucketUpdated) StorageBucketKeyCreated = StorageBucketKeyAction(api.EventLifecycleStorageBucketKeyCreated) StorageBucketKeyDeleted = StorageBucketKeyAction(api.EventLifecycleStorageBucketKeyDeleted) StorageBucketKeyUpdated = StorageBucketKeyAction(api.EventLifecycleStorageBucketKeyUpdated) )
All supported lifecycle events for storage buckets and keys.
const ( StorageBucketBackupCreated = StorageBucketBackupAction(api.EventLifecycleStorageBucketBackupCreated) StorageBucketBackupDeleted = StorageBucketBackupAction(api.EventLifecycleStorageBucketBackupDeleted) StorageBucketBackupRetrieved = StorageBucketBackupAction(api.EventLifecycleStorageBucketBackupRetrieved) StorageBucketBackupRenamed = StorageBucketBackupAction(api.EventLifecycleStorageBucketBackupRenamed) )
All supported lifecycle events for storage volume backups.
const ( StoragePoolCreated = StoragePoolAction(api.EventLifecycleStoragePoolCreated) StoragePoolDeleted = StoragePoolAction(api.EventLifecycleStoragePoolDeleted) StoragePoolUpdated = StoragePoolAction(api.EventLifecycleStoragePoolUpdated) )
All supported lifecycle events for storage pools.
const ( StorageVolumeCreated = StorageVolumeAction(api.EventLifecycleStorageVolumeCreated) StorageVolumeDeleted = StorageVolumeAction(api.EventLifecycleStorageVolumeDeleted) StorageVolumeUpdated = StorageVolumeAction(api.EventLifecycleStorageVolumeUpdated) StorageVolumeRenamed = StorageVolumeAction(api.EventLifecycleStorageVolumeRenamed) StorageVolumeRestored = StorageVolumeAction(api.EventLifecycleStorageVolumeRestored) )
All supported lifecycle events for storage volumes.
const ( StorageVolumeBackupCreated = StorageVolumeBackupAction(api.EventLifecycleStorageVolumeBackupCreated) StorageVolumeBackupDeleted = StorageVolumeBackupAction(api.EventLifecycleStorageVolumeBackupDeleted) StorageVolumeBackupRetrieved = StorageVolumeBackupAction(api.EventLifecycleStorageVolumeBackupRetrieved) StorageVolumeBackupRenamed = StorageVolumeBackupAction(api.EventLifecycleStorageVolumeBackupRenamed) )
All supported lifecycle events for storage volume backups.
const ( StorageVolumeSnapshotCreated = StorageVolumeSnapshotAction(api.EventLifecycleStorageVolumeSnapshotCreated) StorageVolumeSnapshotDeleted = StorageVolumeSnapshotAction(api.EventLifecycleStorageVolumeSnapshotDeleted) StorageVolumeSnapshotUpdated = StorageVolumeSnapshotAction(api.EventLifecycleStorageVolumeSnapshotUpdated) StorageVolumeSnapshotRenamed = StorageVolumeSnapshotAction(api.EventLifecycleStorageVolumeSnapshotRenamed) )
All supported lifecycle events for storage volume snapshots.
const ( WarningAcknowledged = WarningAction(api.EventLifecycleWarningAcknowledged) WarningReset = WarningAction(api.EventLifecycleWarningReset) WarningDeleted = WarningAction(api.EventLifecycleWarningDeleted) )
All supported lifecycle events for warnings.
const (
ConfigUpdated = ConfigAction(api.EventLifecycleConfigUpdated)
)
All supported lifecycle events for the server configuration.
const (
OperationCancelled = OperationAction(api.EventLifecycleOperationCancelled)
)
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]any) 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]any) api.EventLifecycle
Event creates the lifecycle event for an action on a cluster.
type ClusterGroupAction ¶
type ClusterGroupAction string
ClusterGroupAction represents a lifecycle event action for cluster groups.
func (ClusterGroupAction) Event ¶
func (a ClusterGroupAction) Event(name string, requestor *api.EventLifecycleRequestor, ctx map[string]any) api.EventLifecycle
Event creates the lifecycle event for an action on a cluster group.
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]any) 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]any) 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]any) 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]any) 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]any) 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(fullBackupName string, inst instance, ctx map[string]any) 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]any) 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]any) 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]any) 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]any) 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]any) 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]any) api.EventLifecycle
Event creates the lifecycle event for an action on a network device.
type NetworkForwardAction ¶
type NetworkForwardAction string
NetworkForwardAction represents a lifecycle event action for network forwards.
func (NetworkForwardAction) Event ¶
func (a NetworkForwardAction) Event(n network, listenAddress string, requestor *api.EventLifecycleRequestor, ctx map[string]any) api.EventLifecycle
Event creates the lifecycle event for an action on a network forward.
type NetworkIntegrationAction ¶ added in v0.7.0
type NetworkIntegrationAction string
NetworkIntegrationAction represents a lifecycle event action for network integrations.
func (NetworkIntegrationAction) Event ¶ added in v0.7.0
func (a NetworkIntegrationAction) Event(name string, requestor *api.EventLifecycleRequestor, ctx map[string]any) api.EventLifecycle
Event creates the lifecycle event for an action on a network integration.
type NetworkLoadBalancerAction ¶
type NetworkLoadBalancerAction string
NetworkLoadBalancerAction represents a lifecycle event action for network load balancers.
func (NetworkLoadBalancerAction) Event ¶
func (a NetworkLoadBalancerAction) Event(n network, listenAddress string, requestor *api.EventLifecycleRequestor, ctx map[string]any) api.EventLifecycle
Event creates the lifecycle event for an action on a network load balancer.
type NetworkPeerAction ¶
type NetworkPeerAction string
NetworkPeerAction represents a lifecycle event action for network peers.
func (NetworkPeerAction) Event ¶
func (a NetworkPeerAction) Event(n network, peerName string, requestor *api.EventLifecycleRequestor, ctx map[string]any) api.EventLifecycle
Event creates the lifecycle event for an action on a network forward.
type NetworkZoneAction ¶
type NetworkZoneAction string
NetworkZoneAction represents a lifecycle event action for network zones.
func (NetworkZoneAction) Event ¶
func (a NetworkZoneAction) Event(n networkZone, requestor *api.EventLifecycleRequestor, ctx map[string]any) api.EventLifecycle
Event creates the lifecycle event for an action on a network zone.
type NetworkZoneRecordAction ¶
type NetworkZoneRecordAction string
NetworkZoneRecordAction represents a lifecycle event action for network zone records.
func (NetworkZoneRecordAction) Event ¶
func (a NetworkZoneRecordAction) Event(n networkZone, name string, requestor *api.EventLifecycleRequestor, ctx map[string]any) api.EventLifecycle
Event creates the lifecycle event for an action on a network zone record.
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]any) 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]any) 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]any) api.EventLifecycle
Event creates the lifecycle event for an action on a project.
type StorageBucketAction ¶
type StorageBucketAction string
StorageBucketAction represents a lifecycle event action for storage buckets.
func (StorageBucketAction) Event ¶
func (a StorageBucketAction) Event(pool pool, projectName string, bucketName string, requestor *api.EventLifecycleRequestor, ctx map[string]any) api.EventLifecycle
Event creates the lifecycle event for an action on a storage bucket.
type StorageBucketBackupAction ¶ added in v0.6.0
type StorageBucketBackupAction string
StorageBucketBackupAction represents a lifecycle event action for storage bucket backups.
func (StorageBucketBackupAction) Event ¶ added in v0.6.0
func (a StorageBucketBackupAction) Event(poolName string, fullBackupName string, projectName string, requestor *api.EventLifecycleRequestor, ctx map[string]any) api.EventLifecycle
Event creates the lifecycle event for an action on a storage volume backup.
type StorageBucketKeyAction ¶
type StorageBucketKeyAction string
StorageBucketKeyAction represents a lifecycle event action for storage bucket keys.
func (StorageBucketKeyAction) Event ¶
func (a StorageBucketKeyAction) Event(pool pool, projectName string, bucketName string, keyName string, requestor *api.EventLifecycleRequestor, ctx map[string]any) api.EventLifecycle
Event creates the lifecycle event for an action on a storage bucket.
type StoragePoolAction ¶
type StoragePoolAction string
StoragePoolAction represents a lifecycle event action for storage pools.
func (StoragePoolAction) Event ¶
func (a StoragePoolAction) Event(name string, requestor *api.EventLifecycleRequestor, ctx map[string]any) 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]any) 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, fullBackupName string, projectName string, requestor *api.EventLifecycleRequestor, ctx map[string]any) 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]any) 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]any) api.EventLifecycle
Event creates the lifecycle event for an action on a warning.
Source Files ¶
- certificate.go
- cluster.go
- cluster_groups.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
- network_forward.go
- network_integration.go
- network_load_balancer.go
- network_peer.go
- network_zone.go
- operation.go
- profile.go
- project.go
- storage_bucket.go
- storage_bucket_backup.go
- storage_pool.go
- storage_volume.go
- storage_volume_backup.go
- storage_volume_snapshot.go
- warning.go