Documentation ¶
Index ¶
Constants ¶
View Source
const (
AllProvider string = "all_provider"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenData ¶
type GenData struct { Provider string //credential file for gce CredentialFile string //access token for digitalocean DoToken string //access token for packet PacketApiKey string GCEProjectID string AWSRegion string AWSAccessKeyID string AWSSecretAccessKey string AzureTenantId string AzureSubscriptionId string AzureClientId string AzureClientSecret string VultrApiToken string LinodeApiToken string ScalewayToken string ScalewayOrganization string }
func NewGenData ¶
func NewGenData() *GenData
type KubernetesData ¶
func NewKubernetesData ¶
func NewKubernetesData() *KubernetesData
func (*KubernetesData) AddFlags ¶
func (c *KubernetesData) AddFlags(fs *pflag.FlagSet)
func (*KubernetesData) ValidateFlags ¶
func (c *KubernetesData) ValidateFlags(cmd *cobra.Command, args []string) error
Click to show internal directories.
Click to hide internal directories.