Documentation ¶
Index ¶
- func AsgName(sess *session.Session) (*string, error)
- func AtomicWrite(path string, contents []byte, mode os.FileMode) error
- func IdempotentDo(checker func() (bool, error), doer func() error) error
- func InputToMapping(inputFile string) (map[string]string, error)
- func IsIndexOne(sess *session.Session, inputFile string) (bool, error)
- func MapKeys(mapping map[string]string) []string
- func MyID(sess *session.Session) (string, error)
- func MyIP(sess *session.Session) (string, error)
- func MyIndex(mapping map[string]string, ip string) string
- func SortMapKeys(mapping map[string]string) []string
- func WaitFor(duration time.Duration, checker func() error) error
- func WriteIfChanged(path string, contents []byte, mode os.FileMode) error
- type CommandOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SortMapKeys ¶
Types ¶
type CommandOutput ¶
func RunCommand ¶
func RunCommand(command string, args ...string) *CommandOutput
Click to show internal directories.
Click to hide internal directories.