Documentation
¶
Index ¶
- Variables
- func GetAllVMSSs(ctx context.Context) (*compute.VirtualMachineScaleSetListWithLinkResultIterator, error)
- func GetAllVMs(ctx context.Context) (*compute.VirtualMachineListResultIterator, error)
- type AwsResolver
- type AzureResolver
- type CloudResolver
- type DigitalOceanResolver
- type GceResolver
- type Host
- type IpInfos
- type LocalResolver
- type TokenSource
- type YamlToken
Constants ¶
This section is empty.
Variables ¶
View Source
var Resolvers map[string]CloudResolver
Functions ¶
func GetAllVMSSs ¶ added in v1.0.9
func GetAllVMSSs(ctx context.Context) (*compute.VirtualMachineScaleSetListWithLinkResultIterator, error)
GetAllVMScaleSets gets all VM Scale Sets info
Types ¶
type AwsResolver ¶
type AwsResolver struct{}
type AzureResolver ¶ added in v1.0.9
type AzureResolver struct{}
type CloudResolver ¶
type DigitalOceanResolver ¶
type DigitalOceanResolver struct{}
type GceResolver ¶
type GceResolver struct { }
type Host ¶
type Host struct { InstanceName string Provider string Region string Zone string Id string PrivateIpv4 string PrivateIpv6 string PrivateName string PublicIpv4 string PublicIpv6 string PublicName string Private string // Either ip or name, the one accessible on current cloud Public string MachineType string LaunchTime string Tags map[string]string }
type IpInfos ¶ added in v1.0.9
type IpInfos struct { PrivateIpv4 string PrivateIpv6 string PrivateName string PublicIpv4 string PublicIpv6 string PublicName string }
func GetNetworkInterfaceInfos ¶ added in v1.0.9
func GetNetworkInterfaceInfos(ctx context.Context, reference compute.NetworkInterfaceReference) (*IpInfos, error)
GetNetworkInterfaceInfos gets infos on specific network interface
func GetVMSSInstanceNetworkInterfaceInfos ¶ added in v1.0.9
func GetVMSSInstanceNetworkInterfaceInfos(ctx context.Context, reference compute.NetworkInterfaceReference) (*IpInfos, error)
GetNetworkInterfaceInfos gets infos on specific network interface
type LocalResolver ¶
type LocalResolver struct{}
type TokenSource ¶
type TokenSource struct {
AccessToken string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.