lifecycle

package
v0.0.0-...-433fd04 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CertificateCreated = CertificateAction("created")
	CertificateDeleted = CertificateAction("deleted")
	CertificateUpdated = CertificateAction("updated")
)

All supported lifecycle events for Certificates.

View Source
const (
	ClusterEnabled            = ClusterAction("enabled")
	ClusterDisabled           = ClusterAction("disabled")
	ClusterCertificateUpdated = ClusterAction("certificate-updated")
	ClusterTokenCreated       = ClusterAction("token-created")
)

All supported lifecycle events for clusters.

View Source
const (
	ClusterMemberAdded   = ClusterMemberAction("added")
	ClusterMemberRemoved = ClusterMemberAction("removed")
	ClusterMemberUpdated = ClusterMemberAction("updated")
	ClusterMemberRenamed = ClusterMemberAction("renamed")
)

All supported lifecycle events for cluster members.

View Source
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.

View Source
const (
	ImageAliasCreated = ImageAliasAction("created")
	ImageAliasDeleted = ImageAliasAction("deleted")
	ImageAliasUpdated = ImageAliasAction("updated")
	ImageAliasRenamed = ImageAliasAction("renamed")
)

All supported lifecycle events for image aliases.

View Source
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.

View Source
const (
	InstanceBackupCreated   = InstanceBackupAction("created")
	InstanceBackupDeleted   = InstanceBackupAction("deleted")
	InstanceBackupRenamed   = InstanceBackupAction("renamed")
	InstanceBackupRetrieved = InstanceBackupAction("retrieved")
)

All supported lifecycle events for instance backups.

View Source
const (
	InstanceLogRetrieved = InstanceLogAction("retrieved")
	InstanceLogDeleted   = InstanceLogAction("deleted")
)

All supported lifecycle events for instance logs.

View Source
const (
	InstanceMetadataUpdated   = InstanceMetadataAction("updated")
	InstanceMetadataRetrieved = InstanceMetadataAction("retrieved")
)

All supported lifecycle events for instance metadata.

View Source
const (
	InstanceMetadataTemplateDeleted   = InstanceMetadataTemplateAction("deleted")
	InstanceMetadataTemplateCreated   = InstanceMetadataTemplateAction("created")
	InstanceMetadataTemplateRetrieved = InstanceMetadataTemplateAction("retrieved")
)

All supported lifecycle events for instance metadata templates.

View Source
const (
	InstanceSnapshotCreated = InstanceSnapshotAction("created")
	InstanceSnapshotDeleted = InstanceSnapshotAction("deleted")
	InstanceSnapshotRenamed = InstanceSnapshotAction("renamed")
	InstanceSnapshotUpdated = InstanceSnapshotAction("updated")
)

All supported lifecycle events for instance snapshots.

View Source
const (
	NetworkCreated = NetworkAction("created")
	NetworkDeleted = NetworkAction("deleted")
	NetworkUpdated = NetworkAction("updated")
	NetworkRenamed = NetworkAction("renamed")
)

All supported lifecycle events for network devices.

View Source
const (
	NetworkACLCreated = NetworkACLAction("created")
	NetworkACLDeleted = NetworkACLAction("deleted")
	NetworkACLUpdated = NetworkACLAction("updated")
	NetworkACLRenamed = NetworkACLAction("renamed")
)

All supported lifecycle events for network acls.

View Source
const (
	ProfileCreated = ProfileAction("created")
	ProfileDeleted = ProfileAction("deleted")
	ProfileUpdated = ProfileAction("updated")
	ProfileRenamed = ProfileAction("renamed")
)

All supported lifecycle events for profiles.

View Source
const (
	ProjectCreated = ProjectAction("created")
	ProjectDeleted = ProjectAction("deleted")
	ProjectUpdated = ProjectAction("updated")
	ProjectRenamed = ProjectAction("renamed")
)

All supported lifecycle events for projects.

View Source
const (
	StoragePoolCreated = StoragePoolAction("created")
	StoragePoolDeleted = StoragePoolAction("deleted")
	StoragePoolUpdated = StoragePoolAction("updated")
)

All supported lifecycle events for storage pools.

View Source
const (
	StorageVolumeCreated  = StorageVolumeAction("created")
	StorageVolumeDeleted  = StorageVolumeAction("deleted")
	StorageVolumeUpdated  = StorageVolumeAction("updated")
	StorageVolumeRenamed  = StorageVolumeAction("renamed")
	StorageVolumeRestored = StorageVolumeAction("restored")
)

All supported lifecycle events for storage volumes.

View Source
const (
	StorageVolumeBackupCreated   = StorageVolumeBackupAction("created")
	StorageVolumeBackupDeleted   = StorageVolumeBackupAction("deleted")
	StorageVolumeBackupRetrieved = StorageVolumeBackupAction("retrieved")
	StorageVolumeBackupRenamed   = StorageVolumeBackupAction("renamed")
)

All supported lifecycle events for storage volume backups.

View Source
const (
	StorageVolumeSnapshotCreated = StorageVolumeSnapshotAction("created")
	StorageVolumeSnapshotDeleted = StorageVolumeSnapshotAction("deleted")
	StorageVolumeSnapshotUpdated = StorageVolumeSnapshotAction("updated")
	StorageVolumeSnapshotRenamed = StorageVolumeSnapshotAction("renamed")
)

All supported lifecycle events for storage volume snapshots.

View Source
const (
	WarningAcknowledged = WarningAction("acknowledged")
	WarningReset        = WarningAction("reset")
	WarningDeleted      = WarningAction("deleted")
)

All supported lifecycle events for warnings.

View Source
const (
	ConfigUpdated = ConfigAction("updated")
)

All supported lifecycle events for the server configuration

View Source
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL