lifecycle

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

All supported lifecycle events for Certificates.

All supported lifecycle events for clusters.

All supported lifecycle events for cluster groups.

All supported lifecycle events for cluster members.

All supported lifecycle events for images.

All supported lifecycle events for image aliases.

All supported lifecycle events for instances.

All supported lifecycle events for instance backups.

All supported lifecycle events for instance logs.

All supported lifecycle events for instance metadata.

All supported lifecycle events for instance metadata templates.

All supported lifecycle events for instance snapshots.

All supported lifecycle events for network devices.

All supported lifecycle events for network acls.

All supported lifecycle events for network forwards.

All supported lifecycle events for network integrations.

All supported lifecycle events for network load balancers.

All supported lifecycle events for network peers.

All supported lifecycle events for network zones.

All supported lifecycle events for profiles.

All supported lifecycle events for projects.

All supported lifecycle events for storage buckets and keys.

All supported lifecycle events for storage volume backups.

All supported lifecycle events for storage pools.

All supported lifecycle events for storage volumes.

All supported lifecycle events for storage volume backups.

All supported lifecycle events for storage volume snapshots.

All supported lifecycle events for warnings.

All supported lifecycle events for the server configuration.

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

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

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.

Jump to

Keyboard shortcuts

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