config

package
v2.0.0-pre1 Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Copyright 2020 Joyent, Inc. All rights reserved.

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatTime

func FormatTime(t time.Time) string

func GetAccountAddress

func GetAccountAddress() string

func GetAccountCNSEnabled

func GetAccountCNSEnabled() string

func GetAccountCity

func GetAccountCity() string

func GetAccountCompanyName

func GetAccountCompanyName() string

func GetAccountCountry

func GetAccountCountry() string

func GetAccountEmail

func GetAccountEmail() string

func GetAccountFirstName

func GetAccountFirstName() string

func GetAccountLastName

func GetAccountLastName() string

func GetAccountPhone

func GetAccountPhone() string

func GetAccountPostalCode

func GetAccountPostalCode() string

func GetAccountState

func GetAccountState() string

func GetImgID

func GetImgID() string

func GetImgName

func GetImgName() string

func GetMachineAffinityRules

func GetMachineAffinityRules() []string

func GetMachineBrand

func GetMachineBrand() string

func GetMachineFirewall

func GetMachineFirewall() bool

func GetMachineID

func GetMachineID() string

func GetMachineMetadata

func GetMachineMetadata() map[string]interface{}

func GetMachineName

func GetMachineName() string

func GetMachineNetworks

func GetMachineNetworks() []string

func GetMachineState

func GetMachineState() string

func GetMachineTags

func GetMachineTags() map[string]interface{}

func GetMachineUserdata

func GetMachineUserdata() string

func GetMantaAccount

func GetMantaAccount() string

func GetMantaKeyID

func GetMantaKeyID() string

func GetMantaKeyMaterial

func GetMantaKeyMaterial() string

func GetMantaURL

func GetMantaURL() string

func GetPkgDisk

func GetPkgDisk() int

func GetPkgID

func GetPkgID() string

func GetPkgMemory

func GetPkgMemory() int

func GetPkgName

func GetPkgName() string

func GetPkgSwap

func GetPkgSwap() int

func GetPkgVPCUs

func GetPkgVPCUs() int

func GetSSHKey

func GetSSHKey() string

func GetSSHKeyFingerprint

func GetSSHKeyFingerprint() string

func GetSSHKeyName

func GetSSHKeyName() string

func GetSearchTags

func GetSearchTags() map[string]interface{}

func GetTritonAccount

func GetTritonAccount() string

func GetTritonKeyID

func GetTritonKeyID() string

func GetTritonKeyMaterial

func GetTritonKeyMaterial() string

func GetTritonURL

func GetTritonURL() string

func IsBlockingAction

func IsBlockingAction() bool

Types

type TritonClientConfig

type TritonClientConfig struct {
	Config *triton.ClientConfig
}

func NewMantaConfig

func NewMantaConfig() (*TritonClientConfig, error)

func NewTritonConfig

func NewTritonConfig() (*TritonClientConfig, error)

Jump to

Keyboard shortcuts

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