helpers

package
v1.0.30 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2020 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

View Source
const (
	PIInstanceName            = "pi_instance_name"
	PIInstanceDate            = "pi_creation_date"
	PIInstanceSSHKeyName      = "pi_key_pair_name"
	PIInstanceImageName       = "pi_image_id"
	PIInstanceProcessors      = "pi_processors"
	PIInstanceProcType        = "pi_proc_type"
	PIInstanceMemory          = "pi_memory"
	PIInstanceSystemType      = "pi_sys_type"
	PIInstanceId              = "pi_instance_id"
	PIInstanceDiskSize        = "pi_disk_size"
	PIInstanceStatus          = "pi_instance_status"
	PIInstanceMinProc         = "pi_minproc"
	PIInstanceVolumeIds       = "pi_volume_ids"
	PIInstanceNetworkIds      = "pi_network_ids"
	PIInstancePublicNetwork   = "pi_public_network"
	PIInstanceMigratable      = "pi_migratable"
	PICloudInstanceId         = "pi_cloud_instance_id"
	PICloudInstanceSubnetName = "pi_cloud_instance_subnet_name"
	PIInstanceMimMem          = "pi_minmem"
	PIInstanceMaxProc         = "pi_maxproc"
	PIInstanceMaxMem          = "pi_maxmem"
	PIInstanceReboot          = "pi_reboot"
	PITenantId                = "pi_tenant_id"

	PIInstanceHealthStatus      = "pi_health_status"
	PIInstanceReplicants        = "pi_replicants"
	PIInstanceReplicationPolicy = "pi_replication_policy"
	PIInstanceReplicationScheme = "pi_replication_scheme"
	PIInstanceProgress          = "pi_progress"
	PIInstanceUserData          = "pi_user_data"
	PIInstancePinPolicy         = "pi_pin_policy"

	// IBM PI Volume
	PIVolumeName      = "pi_volume_name"
	PIVolumeSize      = "pi_volume_size"
	PIVolumeType      = "pi_volume_type"
	PIVolumeShareable = "pi_volume_shareable"
	PIVolumeId        = "pi_volume_id"

	PISnapshot         = "pi_snap_shot_id"
	PISnapshotName     = "pi_snap_shot_name"
	PISnapshotStatus   = "pi_snap_shot_status"
	PISnapshotAction   = "pi_snap_shot_action"
	PISnapshotComplete = "pi_snap_shot_complete"

	PIImageName         = "pi_image_name"
	PIImageQueStatus    = "queued"
	PIImageActiveStatus = "active"
	PIImageAccessKey    = "pi_image_access_key"
	PIImageSecretKey    = "pi_image_secret_key"
	PIImageSource       = "pi_image_source"
	PIImageBucketName   = "pi_image_bucket_name"
	PIImageFileName     = "pi_image_file_name"
	PIImageRegion       = "pi_image_region"

	PIKeyName = "pi_key_name"
	PIKey     = "pi_ssh_key"
	PIKeyDate = "pi_creation_date"
	PIKeyId   = "pi_key_id"

	PINetworkReady          = "ready"
	PINetworkID             = "pi_networkid"
	PINetworkName           = "pi_network_name"
	PINetworkCidr           = "pi_cidr"
	PINetworkDNS            = "pi_dns"
	PINetworkType           = "pi_network_type"
	PINetworkGateway        = "pi_gateway"
	PINetworkIPAddressRange = "pi_ipaddress_range"
	PINetworkVlanId         = "pi_vlan_id"
	PINetworkProvisioning   = "build"

	// IBM PI Operations
	PIInstanceOperationType       = "pi_operation"
	PIInstanceOperationProgress   = "pi_progress"
	PIInstanceOperationStatus     = "pi_status"
	PIInstanceOperationServerName = "pi_instance_name"

	// IBM PI Volume Attach
	PIVolumeAttachName                = "pi_volume_attach_name"
	PIVolumeAllowableAttachStatus     = "in-use"
	PIVolumeAttachStatus              = "status"
	PowerVolumeAttachDeleting         = "deleting"
	PowerVolumeAttachProvisioning     = "creating"
	PowerVolumeAttachProvisioningDone = "available"

	// IBM PI Instance Capture
	PIInstanceCaptureName                  = "pi_capture_name"
	PIInstanceCaptureDestination           = "pi_capture_destination"
	PIInstanceCaptureVolumeIds             = "pi_capture_volume_ids"
	PIInstanceCaptureCloudStorageImagePath = "pi_capture_storage_image_path"
	PIInstanceCaptureCloudStorageRegion    = "pi_capture_cloud_storage_region"
	PIInstanceCaptureCloudStorageAccessKey = "pi_capture_cloud_storage_access_key"
	PIInstanceCaptureCloudStorageSecretKey = "pi_capture_cloud_storage_secret_key"

	PIVolumeStatus           = "pi_volume_status"
	PIVolumeDeleting         = "deleting"
	PIVolumeDeleted          = "done"
	PIVolumeProvisioning     = "creating"
	PIVolumeProvisioningDone = "available"
	PIInstanceAvailable      = "ACTIVE"
	PIInstanceHealthOk       = "OK"
	PIInstanceHealthWarning  = "WARNING"
	PIInstanceBuilding       = "BUILD"
	PIInstanceDeleting       = "DELETING"
	PIInstanceNotFound       = "Not Found"
)

Variables

This section is empty.

Functions

func EnvFallBack

func EnvFallBack(envs []string, defaultValue string) string

EnvFallBack ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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