Documentation ¶
Index ¶
- Constants
- Variables
- func ConnectionGet(ctx context.Context, options *ConnectionGetOptions) error
- func ExternalCreate(ctx context.Context, printYaml bool, options *ExternalCreateOptions) error
- func ExternalPeering(ctx context.Context, printYaml bool, options *ExternalPeeringOptions) error
- func GetSerialInfo(sw *wiringapi.Switch) string
- func SwitchGroupCreate(ctx context.Context, printYaml bool, options *SwitchGroupCreateOptions) error
- func SwitchIP(ctx context.Context, name string) error
- func SwitchPowerReset(ctx context.Context, name string) error
- func SwitchReboot(ctx context.Context, name string) error
- func SwitchReinstall(ctx context.Context, name string) error
- func SwitchSSH(ctx context.Context, name, username string) error
- func SwitchSerial(ctx context.Context, name string) error
- func VPCAttach(ctx context.Context, printYaml bool, options *VPCAttachOptions) error
- func VPCCreate(ctx context.Context, printYaml bool, options *VPCCreateOptions) error
- func VPCDNATRequest(ctx context.Context, printYaml bool, options *VPCDNATOptions) error
- func VPCPeer(ctx context.Context, printYaml bool, options *VPCPeerOptions) error
- func VPCSNAT(ctx context.Context, printYaml bool, options *VPCSNATOptions) error
- type ConnectionGetOptions
- type ExternalCreateOptions
- type ExternalPeeringOptions
- type SwitchGroupCreateOptions
- type VPCAttachOptions
- type VPCCreateOptions
- type VPCDNATOptions
- type VPCPeerOptions
- type VPCSNATOptions
Constants ¶
View Source
const ( HHFabCfgPrefix = ".hhfab.githedgehog.com" HHFabCfgSerial = "serial" + HHFabCfgPrefix HHFctlCfgPrefix = ".fabric.githedgehog.com" HHFctlCfgSerial = "serial" + HHFctlCfgPrefix HHFabCfgSerialSchemeSSH = "ssh://" )
Variables ¶
View Source
var SSHQuietFlags = []string{
"-o", "GlobalKnownHostsFile=/dev/null",
"-o", "UserKnownHostsFile=/dev/null",
"-o", "StrictHostKeyChecking=no",
"-o", "LogLevel=ERROR",
}
Functions ¶
func ConnectionGet ¶
func ConnectionGet(ctx context.Context, options *ConnectionGetOptions) error
func ExternalCreate ¶
func ExternalCreate(ctx context.Context, printYaml bool, options *ExternalCreateOptions) error
func ExternalPeering ¶
func ExternalPeering(ctx context.Context, printYaml bool, options *ExternalPeeringOptions) error
func GetSerialInfo ¶ added in v0.52.1
func SwitchGroupCreate ¶
func SwitchGroupCreate(ctx context.Context, printYaml bool, options *SwitchGroupCreateOptions) error
func VPCAttach ¶
func VPCAttach(ctx context.Context, printYaml bool, options *VPCAttachOptions) error
func VPCCreate ¶
func VPCCreate(ctx context.Context, printYaml bool, options *VPCCreateOptions) error
func VPCDNATRequest ¶
func VPCDNATRequest(ctx context.Context, printYaml bool, options *VPCDNATOptions) error
Types ¶
type ConnectionGetOptions ¶
type ConnectionGetOptions struct {
Type string
}
type ExternalCreateOptions ¶
type ExternalPeeringOptions ¶
type SwitchGroupCreateOptions ¶
type SwitchGroupCreateOptions struct {
Name string
}
type VPCAttachOptions ¶
type VPCCreateOptions ¶
type VPCDNATOptions ¶
type VPCPeerOptions ¶
type VPCSNATOptions ¶
Click to show internal directories.
Click to hide internal directories.