infrastructure

package
v1.0.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateToken

func CreateToken(clientset clientset.Interface, duration time.Duration, hostname string) (string, error)

CreateToken creates the token to be used to add node and return the token

func SetHostname

func SetHostname(client *namecheap.Client, hostRecord namecheap.DomainDNSHost) (bool, string)

SetHostname allows comparing the current hosts with requested hostname by DNS check

Types

This section is empty.

Jump to

Keyboard shortcuts

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