cmd

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2019 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppDeploy

func AppDeploy(c *cli.Context) error

AppDeploy subcommand function

func AppList

func AppList(c *cli.Context) error

AppList subcommand function

func AttachmentDelete added in v0.9.0

func AttachmentDelete(c *cli.Context) error

AttachmentDelete subcommand function

func AttachmentDownload added in v0.9.0

func AttachmentDownload(c *cli.Context) error

AttachmentDownload subcommand function

func AttachmentShow added in v0.9.0

func AttachmentShow(c *cli.Context) error

AttachmentShow subcommand function

func CloudAccountList

func CloudAccountList(c *cli.Context) error

CloudAccountList subcommand function

func CloudAccountShow added in v0.9.0

func CloudAccountShow(c *cli.Context) error

CloudAccountShow subcommand function

func CloudProviderList

func CloudProviderList(c *cli.Context) error

CloudProviderList subcommand function

func CloudProviderStoragePlansList added in v0.9.0

func CloudProviderStoragePlansList(c *cli.Context) error

CloudProviderStoragePlansList subcommand function

func CookbookVersionDelete added in v0.9.0

func CookbookVersionDelete(c *cli.Context) error

CookbookVersionDelete subcommand function

func CookbookVersionList added in v0.9.0

func CookbookVersionList(c *cli.Context) error

CookbookVersionList subcommand function

func CookbookVersionShow added in v0.9.0

func CookbookVersionShow(c *cli.Context) error

CookbookVersionShow subcommand function

func CookbookVersionUpload added in v0.9.0

func CookbookVersionUpload(c *cli.Context) error

CookbookVersionUpload subcommand function create/upload/process

func EventList

func EventList(c *cli.Context) error

EventList subcommand function

func EventsList

func EventsList(c *cli.Context) error

EventsList subcommand function

func FirewallPolicyGet added in v0.9.0

func FirewallPolicyGet(c *cli.Context) *types.Policy

FirewallPolicyGet subcommand function

func FirewallProfileCreate

func FirewallProfileCreate(c *cli.Context) error

FirewallProfileCreate subcommand function

func FirewallProfileDelete

func FirewallProfileDelete(c *cli.Context) error

FirewallProfileDelete subcommand function

func FirewallProfileList

func FirewallProfileList(c *cli.Context) error

FirewallProfileList subcommand function

func FirewallProfileShow

func FirewallProfileShow(c *cli.Context) error

FirewallProfileShow subcommand function

func FirewallProfileUpdate

func FirewallProfileUpdate(c *cli.Context) error

FirewallProfileUpdate subcommand function

func FirewallRuleAdd added in v0.9.0

func FirewallRuleAdd(c *cli.Context) error

FirewallRuleAdd subcommand function

func FirewallRuleCheck added in v0.9.0

func FirewallRuleCheck(c *cli.Context) (*types.Policy, *types.PolicyRule, bool)

FirewallRuleCheck subcommand function

func FirewallRuleList added in v0.9.0

func FirewallRuleList(c *cli.Context) error

FirewallRuleList subcommand function

func FirewallRuleRemove added in v0.9.0

func FirewallRuleRemove(c *cli.Context) error

FirewallRuleRemove subcommand function

func FirewallRulesUpdate added in v0.9.0

func FirewallRulesUpdate(c *cli.Context) error

FirewallRulesUpdate subcommand function

func FloatingIPAttach added in v0.9.0

func FloatingIPAttach(c *cli.Context) error

FloatingIPAttach subcommand function

func FloatingIPCreate added in v0.9.0

func FloatingIPCreate(c *cli.Context) error

FloatingIPCreate subcommand function

func FloatingIPDelete added in v0.9.0

func FloatingIPDelete(c *cli.Context) error

FloatingIPDelete subcommand function

func FloatingIPDetach added in v0.9.0

func FloatingIPDetach(c *cli.Context) error

FloatingIPDetach subcommand function

func FloatingIPDiscard added in v0.9.0

func FloatingIPDiscard(c *cli.Context) error

FloatingIPDiscard subcommand function

func FloatingIPList added in v0.9.0

func FloatingIPList(c *cli.Context) error

FloatingIPList subcommand function

func FloatingIPShow added in v0.9.0

func FloatingIPShow(c *cli.Context) error

FloatingIPShow subcommand function

func FloatingIPUpdate added in v0.9.0

func FloatingIPUpdate(c *cli.Context) error

FloatingIPUpdate subcommand function

func GenericImageList

func GenericImageList(c *cli.Context) error

GenericImageList subcommand function

func LabelAdd added in v0.8.0

func LabelAdd(c *cli.Context) error

LabelAdd subcommand function assigns a single label from a single labelable resource

func LabelAssignNamesForIDs added in v0.8.0

func LabelAssignNamesForIDs(c *cli.Context, items []types.Labelable, labelNamesByID map[string]string)

LabelAssignNamesForIDs subcommand function receives a collection of references to labelables objects Resolves the Labels names associated to a each resource from given Labels ids, loading object with respective labels names

func LabelCreate added in v0.8.0

func LabelCreate(c *cli.Context) error

LabelCreate subcommand function

func LabelFiltering added in v0.8.0

func LabelFiltering(c *cli.Context, items []types.Labelable, labelIDsByName map[string]string) []types.Labelable

LabelFiltering subcommand function receives a collection of references to labelable objects Evaluates the matching of assigned labels with the labels requested for filtering.

func LabelList added in v0.8.0

func LabelList(c *cli.Context) error

LabelList subcommand function

func LabelLoadsMapping added in v0.8.0

func LabelLoadsMapping(c *cli.Context) (map[string]string, map[string]string)

LabelLoadsMapping subcommand function retrieves the current label list in IMCO; then prepares two mapping structures (Name <-> ID and ID <-> Name)

func LabelRemove added in v0.8.0

func LabelRemove(c *cli.Context) error

LabelRemove subcommand function de-assigns a single label from a single labelable resource

func LabelResolution added in v0.8.0

func LabelResolution(c *cli.Context, labelsNames string, labelNamesByID *map[string]string, labelIDsByName *map[string]string) []string

LabelResolution subcommand function retrieves a labels map(Name<->ID) based on label names received to be processed. The function evaluates the received labels names (comma separated string); with them, solves the assigned IDs for the given labels names. If the label name is not available in IMCO yet, it is created. If new label is created, mapping structures labelNamesByID/labelIDsByName are updated

func LabelsUnifyInputNames added in v0.8.0

func LabelsUnifyInputNames(labelsNames string, formatter format.Formatter) []string

LabelsUnifyInputNames subcommand function evaluates the received labels names (comma separated string). Validates, remove duplicates and resolves a slice with unique label names.

func LoadCloudProvidersMapping added in v0.9.0

func LoadCloudProvidersMapping(c *cli.Context) map[string]string

LoadCloudProvidersMapping retrieves Cloud Providers and create a map between ID and Name

func LoadLocationsMapping added in v0.7.0

func LoadLocationsMapping(c *cli.Context) map[string]string

LoadLocationsMapping retrieves Locations and create a map between ID and Name

func LocationList

func LocationList(c *cli.Context) error

LocationList subcommand function

func OperationalScriptExecute

func OperationalScriptExecute(c *cli.Context) error

OperationalScriptExecute subcommand function

func OperationalScriptsList

func OperationalScriptsList(c *cli.Context) error

OperationalScriptsList subcommand function

func SSHProfileCreate

func SSHProfileCreate(c *cli.Context) error

SSHProfileCreate subcommand function

func SSHProfileDelete

func SSHProfileDelete(c *cli.Context) error

SSHProfileDelete subcommand function

func SSHProfileList

func SSHProfileList(c *cli.Context) error

SSHProfileList subcommand function

func SSHProfileShow

func SSHProfileShow(c *cli.Context) error

SSHProfileShow subcommand function

func SSHProfileUpdate

func SSHProfileUpdate(c *cli.Context) error

SSHProfileUpdate subcommand function

func ScriptAttachmentAdd added in v0.9.0

func ScriptAttachmentAdd(c *cli.Context) error

ScriptAttachmentAdd subcommand function

func ScriptAttachmentList added in v0.9.0

func ScriptAttachmentList(c *cli.Context) error

ScriptAttachmentList subcommand function

func ScriptCreate

func ScriptCreate(c *cli.Context) error

ScriptCreate subcommand function

func ScriptDelete

func ScriptDelete(c *cli.Context) error

ScriptDelete subcommand function

func ScriptShow

func ScriptShow(c *cli.Context) error

ScriptShow subcommand function

func ScriptUpdate

func ScriptUpdate(c *cli.Context) error

ScriptUpdate subcommand function

func ScriptsList

func ScriptsList(c *cli.Context) error

ScriptsList subcommand function

func ServerArrayBoot added in v0.9.0

func ServerArrayBoot(c *cli.Context) error

ServerArrayBoot subcommand function

func ServerArrayCreate added in v0.9.0

func ServerArrayCreate(c *cli.Context) error

ServerArrayCreate subcommand function

func ServerArrayDelete added in v0.9.0

func ServerArrayDelete(c *cli.Context) error

ServerArrayDelete subcommand function

func ServerArrayEmpty added in v0.9.0

func ServerArrayEmpty(c *cli.Context) error

ServerArrayEmpty subcommand function

func ServerArrayEnlarge added in v0.9.0

func ServerArrayEnlarge(c *cli.Context) error

ServerArrayEnlarge subcommand function

func ServerArrayList added in v0.9.0

func ServerArrayList(c *cli.Context) error

ServerArrayList subcommand function

func ServerArrayServerList added in v0.9.0

func ServerArrayServerList(c *cli.Context) error

ServerArrayServerList subcommand function

func ServerArrayShow added in v0.9.0

func ServerArrayShow(c *cli.Context) error

ServerArrayShow subcommand function

func ServerArrayShutdown added in v0.9.0

func ServerArrayShutdown(c *cli.Context) error

ServerArrayShutdown subcommand function

func ServerArrayUpdate added in v0.9.0

func ServerArrayUpdate(c *cli.Context) error

ServerArrayUpdate subcommand function

func ServerBoot

func ServerBoot(c *cli.Context) error

ServerBoot subcommand function

func ServerCreate

func ServerCreate(c *cli.Context) error

ServerCreate subcommand function

func ServerDelete

func ServerDelete(c *cli.Context) error

ServerDelete subcommand function

func ServerFloatingIPList added in v0.9.0

func ServerFloatingIPList(c *cli.Context) error

ServerFloatingIPList subcommand function

func ServerList

func ServerList(c *cli.Context) error

ServerList subcommand function

func ServerOverride

func ServerOverride(c *cli.Context) error

ServerOverride subcommand function

func ServerPlanList

func ServerPlanList(c *cli.Context) error

ServerPlanList subcommand function

func ServerPlanShow

func ServerPlanShow(c *cli.Context) error

ServerPlanShow subcommand function

func ServerReboot

func ServerReboot(c *cli.Context) error

ServerReboot subcommand function

func ServerShow

func ServerShow(c *cli.Context) error

ServerShow subcommand function

func ServerShutdown

func ServerShutdown(c *cli.Context) error

ServerShutdown subcommand function

func ServerUpdate

func ServerUpdate(c *cli.Context) error

ServerUpdate subcommand function

func ServerVolumesList added in v0.9.0

func ServerVolumesList(c *cli.Context) error

ServerVolumesList subcommand function

func StoragePlanShow added in v0.9.0

func StoragePlanShow(c *cli.Context) error

StoragePlanShow subcommand function

func SubnetCreate added in v0.9.0

func SubnetCreate(c *cli.Context) error

SubnetCreate subcommand function

func SubnetDelete added in v0.9.0

func SubnetDelete(c *cli.Context) error

SubnetDelete subcommand function

func SubnetList added in v0.9.0

func SubnetList(c *cli.Context) error

SubnetList subcommand function

func SubnetServerArrayList added in v0.9.0

func SubnetServerArrayList(c *cli.Context) error

SubnetServerArrayList subcommand function

func SubnetServerList added in v0.9.0

func SubnetServerList(c *cli.Context) error

SubnetServerList subcommand function

func SubnetShow added in v0.9.0

func SubnetShow(c *cli.Context) error

SubnetShow subcommand function

func SubnetUpdate added in v0.9.0

func SubnetUpdate(c *cli.Context) error

SubnetUpdate subcommand function

func SysEventList

func SysEventList(c *cli.Context) error

SysEventList subcommand function

func TemplateCompile added in v0.9.0

func TemplateCompile(c *cli.Context) error

TemplateCompile subcommand function

func TemplateCreate

func TemplateCreate(c *cli.Context) error

TemplateCreate subcommand function

func TemplateDelete

func TemplateDelete(c *cli.Context) error

TemplateDelete subcommand function

func TemplateList

func TemplateList(c *cli.Context) error

TemplateList subcommand function

func TemplateScriptCreate

func TemplateScriptCreate(c *cli.Context) error

TemplateScriptCreate subcommand function

func TemplateScriptDelete

func TemplateScriptDelete(c *cli.Context) error

TemplateScriptDelete subcommand function

func TemplateScriptList

func TemplateScriptList(c *cli.Context) error

TemplateScriptList subcommand function

func TemplateScriptReorder

func TemplateScriptReorder(c *cli.Context) error

TemplateScriptReorder subcommand function

func TemplateScriptShow

func TemplateScriptShow(c *cli.Context) error

TemplateScriptShow subcommand function

func TemplateScriptUpdate

func TemplateScriptUpdate(c *cli.Context) error

TemplateScriptUpdate subcommand function

func TemplateServersList

func TemplateServersList(c *cli.Context) error

TemplateServersList subcommand function

func TemplateShow

func TemplateShow(c *cli.Context) error

TemplateShow subcommand function

func TemplateUpdate

func TemplateUpdate(c *cli.Context) error

TemplateUpdate subcommand function

func VPCCreate added in v0.9.0

func VPCCreate(c *cli.Context) error

VPCCreate subcommand function

func VPCDelete added in v0.9.0

func VPCDelete(c *cli.Context) error

VPCDelete subcommand function

func VPCDiscard added in v0.9.0

func VPCDiscard(c *cli.Context) error

VPCDiscard subcommand function

func VPCList added in v0.9.0

func VPCList(c *cli.Context) error

VPCList subcommand function

func VPCShow added in v0.9.0

func VPCShow(c *cli.Context) error

VPCShow subcommand function

func VPCUpdate added in v0.9.0

func VPCUpdate(c *cli.Context) error

VPCUpdate subcommand function

func VPNCreate added in v0.9.0

func VPNCreate(c *cli.Context) error

VPNCreate subcommand function

func VPNDelete added in v0.9.0

func VPNDelete(c *cli.Context) error

VPNDelete subcommand function

func VPNPlanList added in v0.9.0

func VPNPlanList(c *cli.Context) error

VPNPlanList subcommand function

func VPNShow added in v0.9.0

func VPNShow(c *cli.Context) error

VPNShow subcommand function

func VolumeAttach added in v0.9.0

func VolumeAttach(c *cli.Context) error

VolumeAttach subcommand function

func VolumeCreate added in v0.9.0

func VolumeCreate(c *cli.Context) error

VolumeCreate subcommand function

func VolumeDelete added in v0.9.0

func VolumeDelete(c *cli.Context) error

VolumeDelete subcommand function

func VolumeDetach added in v0.9.0

func VolumeDetach(c *cli.Context) error

VolumeDetach subcommand function

func VolumeDiscard added in v0.9.0

func VolumeDiscard(c *cli.Context) error

VolumeDiscard subcommand function

func VolumeList added in v0.9.0

func VolumeList(c *cli.Context) error

VolumeList subcommand function

func VolumeShow added in v0.9.0

func VolumeShow(c *cli.Context) error

VolumeShow subcommand function

func VolumeUpdate added in v0.9.0

func VolumeUpdate(c *cli.Context) error

VolumeUpdate subcommand function

func WireUpApp

func WireUpApp(c *cli.Context) (ds *wizard.AppService, f format.Formatter)

WireUpApp prepares common resources to send request to Concerto API

func WireUpAttachment added in v0.9.0

func WireUpAttachment(c *cli.Context) (scs *blueprint.AttachmentService, f format.Formatter)

WireUpAttachment prepares common resources to send request to Concerto API

func WireUpBootstrapping added in v0.8.0

func WireUpBootstrapping(c *cli.Context) (ds *blueprint.BootstrappingService, f format.Formatter)

WireUpBootstrapping prepares common resources to send request to API

func WireUpCloudAccount

func WireUpCloudAccount(c *cli.Context) (ds *settings.CloudAccountService, f format.Formatter)

WireUpCloudAccount prepares common resources to send request to Concerto API

func WireUpCloudProvider

func WireUpCloudProvider(c *cli.Context) (cs *cloud.CloudProviderService, f format.Formatter)

WireUpCloudProvider prepares common resources to send request to Concerto API

func WireUpCookbookVersion added in v0.9.0

func WireUpCookbookVersion(c *cli.Context) (sv *blueprint.CookbookVersionService, f format.Formatter)

WireUpCookbookVersion prepares common resources to send request to Concerto API

func WireUpDispatcher added in v0.9.0

func WireUpDispatcher(c *cli.Context) (ds *dispatcher.DispatcherService, config *utils.Config, f format.Formatter)

WireUpDispatcher prepares common resources to send request to API

func WireUpEvent

func WireUpEvent(c *cli.Context) (ns *audit.EventService, f format.Formatter)

WireUpEvent prepares common resources to send request to Concerto API

func WireUpFirewall added in v0.9.0

func WireUpFirewall(c *cli.Context) (ds *firewall.FirewallService, f format.Formatter)

WireUpFirewall prepares common resources to send request to Concerto API

func WireUpFirewallProfile

func WireUpFirewallProfile(c *cli.Context) (ds *network.FirewallProfileService, f format.Formatter)

WireUpFirewallProfile prepares common resources to send request to Concerto API

func WireUpFloatingIP added in v0.9.0

func WireUpFloatingIP(c *cli.Context) (ds *network.FloatingIPService, f format.Formatter)

WireUpFloatingIP prepares common resources to send request to Concerto API

func WireUpGenericImage

func WireUpGenericImage(c *cli.Context) (ns *cloud.GenericImageService, f format.Formatter)

WireUpGenericImage prepares common resources to send request to Concerto API

func WireUpLabel added in v0.8.0

func WireUpLabel(c *cli.Context) (ds *labels.LabelService, f format.Formatter)

WireUpLabel prepares common resources to send request to Concerto API

func WireUpLocation

func WireUpLocation(c *cli.Context) (ds *wizard.LocationService, f format.Formatter)

WireUpLocation prepares common resources to send request to Concerto API

func WireUpPolling

func WireUpPolling(c *cli.Context) (ps *polling.PollingService)

WireUpPolling prepares common resources to send request to Concerto API

func WireUpSSHProfile

func WireUpSSHProfile(c *cli.Context) (ds *cloud.SSHProfileService, f format.Formatter)

WireUpSSHProfile prepares common resources to send request to Concerto API

func WireUpScript

func WireUpScript(c *cli.Context) (scs *blueprint.ScriptService, f format.Formatter)

WireUpScript prepares common resources to send request to Concerto API

func WireUpServer

func WireUpServer(c *cli.Context) (ds *cloud.ServerService, f format.Formatter)

WireUpServer prepares common resources to send request to Concerto API

func WireUpServerArray added in v0.9.0

func WireUpServerArray(c *cli.Context) (ds *cloud.ServerArrayService, f format.Formatter)

WireUpServerArray prepares common resources to send request to Concerto API

func WireUpServerPlan

func WireUpServerPlan(c *cli.Context) (ds *cloud.ServerPlanService, f format.Formatter)

WireUpServerPlan prepares common resources to send request to Concerto API

func WireUpStoragePlan added in v0.9.0

func WireUpStoragePlan(c *cli.Context) (ns *storage.StoragePlanService, f format.Formatter)

WireUpStoragePlan prepares common resources to send request to Concerto API

func WireUpSubnet added in v0.9.0

func WireUpSubnet(c *cli.Context) (ds *network.SubnetService, f format.Formatter)

WireUpSubnet prepares common resources to send request to Concerto API

func WireUpTemplate

func WireUpTemplate(c *cli.Context) (ts *blueprint.TemplateService, f format.Formatter)

WireUpTemplate prepares common resources to send request to Concerto API

func WireUpVPC added in v0.9.0

func WireUpVPC(c *cli.Context) (ds *network.VPCService, f format.Formatter)

WireUpVPC prepares common resources to send request to Concerto API

func WireUpVPN added in v0.9.0

func WireUpVPN(c *cli.Context) (ds *network.VPNService, f format.Formatter)

WireUpVPN prepares common resources to send request to Concerto API

func WireUpVolume added in v0.9.0

func WireUpVolume(c *cli.Context) (ds *storage.VolumeService, f format.Formatter)

WireUpVolume prepares common resources to send request to Concerto API

func WireUpWizCloudProvider

func WireUpWizCloudProvider(c *cli.Context) (cs *wizard.WizCloudProvidersService, f format.Formatter)

WireUpWizCloudProvider prepares common resources to send request to Concerto API

func WireUpWizServerPlan

func WireUpWizServerPlan(c *cli.Context) (ds *wizard.WizServerPlanService, f format.Formatter)

WireUpWizServerPlan prepares common resources to send request to Concerto API

func WizCloudProviderList

func WizCloudProviderList(c *cli.Context) error

WizCloudProviderList subcommand function

func WizServerPlanList

func WizServerPlanList(c *cli.Context) error

WizServerPlanList subcommand function

Types

This section is empty.

Jump to

Keyboard shortcuts

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