ecloud

package
v1.22.1 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ECloudRootCmd

func ECloudRootCmd(f factory.ClientFactory, fs afero.Fs) *cobra.Command

func GetCreateTagRequestFromStringArrayFlag

func GetCreateTagRequestFromStringArrayFlag(tagsFlag []string) ([]ecloud.CreateTagRequest, error)

GetCreateTagRequestFromStringArrayFlag returns an array of CreateTagRequest structs from given tag string array flag

func GetCreateVirtualMachineRequestParameterFromStringArrayFlag

func GetCreateVirtualMachineRequestParameterFromStringArrayFlag(parametersFlag []string) ([]ecloud.CreateVirtualMachineRequestParameter, error)

GetCreateVirtualMachineRequestParameterFromStringArrayFlag returns an array of CreateVirtualMachineRequestParameter structs from given string array flag

func GetKeyValueFromStringFlag

func GetKeyValueFromStringFlag(flag string) (key, value string, err error)

GetKeyValueFromStringFlag returns a string map from given string flag. Expects format 'key=value'

func InstanceNotFoundWaitFunc

func InstanceNotFoundWaitFunc(service ecloud.ECloudService, instanceID string) helper.WaitFunc

func InstanceResourceSyncStatusWaitFunc

func InstanceResourceSyncStatusWaitFunc(service ecloud.ECloudService, instanceID string, status ecloud.SyncStatus) helper.WaitFunc

func NetworkNotFoundWaitFunc

func NetworkNotFoundWaitFunc(service ecloud.ECloudService, networkID string) helper.WaitFunc

func NetworkResourceSyncStatusWaitFunc

func NetworkResourceSyncStatusWaitFunc(service ecloud.ECloudService, networkID string, status ecloud.SyncStatus) helper.WaitFunc

func OutputECloudAffinityRuleMemberProvider added in v1.11.0

func OutputECloudAffinityRuleMemberProvider(members []ecloud.AffinityRuleMember) output.OutputHandlerDataProvider

func OutputECloudAffinityRuleProvider added in v1.11.0

func OutputECloudAffinityRuleProvider(rules []ecloud.AffinityRule) output.OutputHandlerDataProvider

func OutputECloudApplianceParametersProvider

func OutputECloudApplianceParametersProvider(parameters []ecloud.ApplianceParameter) output.OutputHandlerDataProvider

func OutputECloudAppliancesProvider

func OutputECloudAppliancesProvider(appliances []ecloud.Appliance) output.OutputHandlerDataProvider

func OutputECloudAvailabilityZonesProvider

func OutputECloudAvailabilityZonesProvider(azs []ecloud.AvailabilityZone) output.OutputHandlerDataProvider

func OutputECloudBackupGatewaySpecificationsProvider added in v1.22.0

func OutputECloudBackupGatewaySpecificationsProvider(specs []ecloud.BackupGatewaySpecification) output.OutputHandlerDataProvider

func OutputECloudBackupGatewaysProvider added in v1.22.0

func OutputECloudBackupGatewaysProvider(gateways []ecloud.BackupGateway) output.OutputHandlerDataProvider

func OutputECloudConsoleSessionsProvider

func OutputECloudConsoleSessionsProvider(sessions []ecloud.ConsoleSession) output.OutputHandlerDataProvider

func OutputECloudCredentialsProvider

func OutputECloudCredentialsProvider(credentials []ecloud.Credential) output.OutputHandlerDataProvider

func OutputECloudDHCPsProvider

func OutputECloudDHCPsProvider(dhcps []ecloud.DHCP) output.OutputHandlerDataProvider

func OutputECloudDatastoresProvider

func OutputECloudDatastoresProvider(datastores []ecloud.Datastore) output.OutputHandlerDataProvider

func OutputECloudFirewallPoliciesProvider

func OutputECloudFirewallPoliciesProvider(policies []ecloud.FirewallPolicy) output.OutputHandlerDataProvider

func OutputECloudFirewallRulePortsProvider

func OutputECloudFirewallRulePortsProvider(rules []ecloud.FirewallRulePort) output.OutputHandlerDataProvider

func OutputECloudFirewallRulesProvider

func OutputECloudFirewallRulesProvider(rules []ecloud.FirewallRule) output.OutputHandlerDataProvider

func OutputECloudFirewallsProvider

func OutputECloudFirewallsProvider(firewalls []ecloud.Firewall) output.OutputHandlerDataProvider

func OutputECloudFloatingIPsProvider

func OutputECloudFloatingIPsProvider(fips []ecloud.FloatingIP) output.OutputHandlerDataProvider

func OutputECloudHostGroupsProvider

func OutputECloudHostGroupsProvider(groups []ecloud.HostGroup) output.OutputHandlerDataProvider

func OutputECloudHostSpecsProvider

func OutputECloudHostSpecsProvider(specs []ecloud.HostSpec) output.OutputHandlerDataProvider

func OutputECloudHostsProvider

func OutputECloudHostsProvider(hosts []ecloud.Host) output.OutputHandlerDataProvider

func OutputECloudIOPSTierProvider added in v1.17.3

func OutputECloudIOPSTierProvider(tiers []ecloud.IOPSTier) output.OutputHandlerDataProvider

func OutputECloudIPAddressesProvider

func OutputECloudIPAddressesProvider(ips []ecloud.IPAddress) output.OutputHandlerDataProvider

func OutputECloudImageMetadataProvider

func OutputECloudImageMetadataProvider(metadata []ecloud.ImageMetadata) output.OutputHandlerDataProvider

func OutputECloudImageParametersProvider

func OutputECloudImageParametersProvider(parameters []ecloud.ImageParameter) output.OutputHandlerDataProvider

func OutputECloudImagesProvider

func OutputECloudImagesProvider(images []ecloud.Image) output.OutputHandlerDataProvider

func OutputECloudInstancesProvider

func OutputECloudInstancesProvider(instances []ecloud.Instance) output.OutputHandlerDataProvider

func OutputECloudLoadBalancerSpecsProvider

func OutputECloudLoadBalancerSpecsProvider(specs []ecloud.LoadBalancerSpec) output.OutputHandlerDataProvider

func OutputECloudLoadBalancersProvider

func OutputECloudLoadBalancersProvider(lbs []ecloud.LoadBalancer) output.OutputHandlerDataProvider

func OutputECloudNATOverloadRulesProvider added in v1.17.0

func OutputECloudNATOverloadRulesProvider(rules []ecloud.NATOverloadRule) output.OutputHandlerDataProvider

func OutputECloudNICsProvider

func OutputECloudNICsProvider(nics []ecloud.NIC) output.OutputHandlerDataProvider

func OutputECloudNetworkPoliciesProvider

func OutputECloudNetworkPoliciesProvider(policies []ecloud.NetworkPolicy) output.OutputHandlerDataProvider

func OutputECloudNetworkRulePortsProvider

func OutputECloudNetworkRulePortsProvider(rules []ecloud.NetworkRulePort) output.OutputHandlerDataProvider

func OutputECloudNetworkRulesProvider

func OutputECloudNetworkRulesProvider(rules []ecloud.NetworkRule) output.OutputHandlerDataProvider

func OutputECloudNetworksProvider

func OutputECloudNetworksProvider(networks []ecloud.Network) output.OutputHandlerDataProvider

func OutputECloudPodsProvider

func OutputECloudPodsProvider(pods []ecloud.Pod) output.OutputHandlerDataProvider

func OutputECloudRegionsProvider

func OutputECloudRegionsProvider(regions []ecloud.Region) output.OutputHandlerDataProvider

func OutputECloudResourceTiersProvider added in v1.12.0

func OutputECloudResourceTiersProvider(tiers []ecloud.ResourceTier) output.OutputHandlerDataProvider

func OutputECloudRouterThroughputsProvider

func OutputECloudRouterThroughputsProvider(throughputs []ecloud.RouterThroughput) output.OutputHandlerDataProvider

func OutputECloudRoutersProvider

func OutputECloudRoutersProvider(routers []ecloud.Router) output.OutputHandlerDataProvider

func OutputECloudSSHKeyPairsProvider

func OutputECloudSSHKeyPairsProvider(keypairs []ecloud.SSHKeyPair) output.OutputHandlerDataProvider

func OutputECloudSitesProvider

func OutputECloudSitesProvider(sites []ecloud.Site) output.OutputHandlerDataProvider

func OutputECloudSolutionsProvider

func OutputECloudSolutionsProvider(solutions []ecloud.Solution) output.OutputHandlerDataProvider

func OutputECloudTagsProvider

func OutputECloudTagsProvider(tags []ecloud.Tag) output.OutputHandlerDataProvider

func OutputECloudTasksProvider

func OutputECloudTasksProvider(tasks []ecloud.Task) output.OutputHandlerDataProvider

func OutputECloudTemplatesProvider

func OutputECloudTemplatesProvider(templates []ecloud.Template) output.OutputHandlerDataProvider

func OutputECloudV1HostsProvider

func OutputECloudV1HostsProvider(hosts []ecloud.V1Host) output.OutputHandlerDataProvider

func OutputECloudV1NetworksProvider

func OutputECloudV1NetworksProvider(networks []ecloud.V1Network) output.OutputHandlerDataProvider

func OutputECloudVIPsProvider

func OutputECloudVIPsProvider(vips []ecloud.VIP) output.OutputHandlerDataProvider

func OutputECloudVPCsProvider

func OutputECloudVPCsProvider(vpcs []ecloud.VPC) output.OutputHandlerDataProvider

func OutputECloudVPNEndpointsProvider

func OutputECloudVPNEndpointsProvider(endpoints []ecloud.VPNEndpoint) output.OutputHandlerDataProvider

func OutputECloudVPNGatewaySpecificationsProvider added in v1.21.0

func OutputECloudVPNGatewaySpecificationsProvider(specs []ecloud.VPNGatewaySpecification) output.OutputHandlerDataProvider

func OutputECloudVPNGatewayUsersProvider added in v1.21.0

func OutputECloudVPNGatewayUsersProvider(users []ecloud.VPNGatewayUser) output.OutputHandlerDataProvider

func OutputECloudVPNGatewaysProvider added in v1.21.0

func OutputECloudVPNGatewaysProvider(gateways []ecloud.VPNGateway) output.OutputHandlerDataProvider

func OutputECloudVPNProfileGroupsProvider

func OutputECloudVPNProfileGroupsProvider(groups []ecloud.VPNProfileGroup) output.OutputHandlerDataProvider

func OutputECloudVPNServicesProvider

func OutputECloudVPNServicesProvider(vpns []ecloud.VPNService) output.OutputHandlerDataProvider

func OutputECloudVPNSessionsProvider

func OutputECloudVPNSessionsProvider(sessions []ecloud.VPNSession) output.OutputHandlerDataProvider

func OutputECloudVirtualMachineDisksProvider

func OutputECloudVirtualMachineDisksProvider(disks []ecloud.VirtualMachineDisk) output.OutputHandlerDataProvider

func OutputECloudVirtualMachinesProvider

func OutputECloudVirtualMachinesProvider(vms []ecloud.VirtualMachine) output.OutputHandlerDataProvider

func OutputECloudVolumeGroupsProvider

func OutputECloudVolumeGroupsProvider(groups []ecloud.VolumeGroup) output.OutputHandlerDataProvider

func OutputECloudVolumesProvider

func OutputECloudVolumesProvider(volumes []ecloud.Volume) output.OutputHandlerDataProvider

func PodTemplateExistsWaitFunc

func PodTemplateExistsWaitFunc(service ecloud.ECloudService, podID int, templateName string, exists bool) helper.WaitFunc

PodTemplateExistsWaitFunc returns WaitFunc for waiting for a template to exist

func ResourceSyncStatusWaitFunc

func ResourceSyncStatusWaitFunc(fn GetResourceSyncStatusFunc, expectedStatus ecloud.SyncStatus) helper.WaitFunc

func RouterNotFoundWaitFunc

func RouterNotFoundWaitFunc(service ecloud.ECloudService, routerID string) helper.WaitFunc

func RouterResourceSyncStatusWaitFunc

func RouterResourceSyncStatusWaitFunc(service ecloud.ECloudService, routerID string, status ecloud.SyncStatus) helper.WaitFunc

func SolutionTemplateExistsWaitFunc

func SolutionTemplateExistsWaitFunc(service ecloud.ECloudService, solutionID int, templateName string, exists bool) helper.WaitFunc

SolutionTemplateExistsWaitFunc returns WaitFunc for waiting for a template to exist

func TaskStatusWaitFunc

func TaskStatusWaitFunc(service ecloud.ECloudService, taskID string, expectedStatus ecloud.TaskStatus) helper.WaitFunc

func VPCNotFoundWaitFunc

func VPCNotFoundWaitFunc(service ecloud.ECloudService, vpcID string) helper.WaitFunc

func VPCResourceSyncStatusWaitFunc

func VPCResourceSyncStatusWaitFunc(service ecloud.ECloudService, vpcID string, status ecloud.SyncStatus) helper.WaitFunc

func VirtualMachineNotFoundWaitFunc

func VirtualMachineNotFoundWaitFunc(service ecloud.ECloudService, vmID int) helper.WaitFunc

func VirtualMachineStatusWaitFunc

func VirtualMachineStatusWaitFunc(service ecloud.ECloudService, vmID int, status ecloud.VirtualMachineStatus) helper.WaitFunc

Types

type GetResourceSyncStatusFunc

type GetResourceSyncStatusFunc func() (ecloud.SyncStatus, error)

Source Files

Jump to

Keyboard shortcuts

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