ibmcloud

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProvider

func NewProvider(config *Config) (cloud.Provider, error)

Types

type Config

type Config struct {
	ApiKey                   string
	IAMProfileID             string
	CRTokenFileName          string
	IamServiceURL            string
	VpcServiceURL            string
	ResourceGroupID          string
	ProfileName              string
	ZoneName                 string
	Images                   Images
	PrimarySubnetID          string
	PrimarySecurityGroupID   string
	SecondarySubnetID        string
	SecondarySecurityGroupID string
	KeyID                    string
	VpcID                    string
	InstanceProfiles         instanceProfiles
	InstanceProfileSpecList  []cloud.InstanceTypeSpec
}

func (Config) Redact

func (c Config) Redact() Config

type Image added in v0.8.0

type Image struct {
	ID   string
	Arch string
	OS   string
}

type Images added in v0.8.0

type Images []Image

func (*Images) Set added in v0.8.0

func (i *Images) Set(value string) error

func (*Images) String added in v0.8.0

func (i *Images) String() string

type Manager

type Manager struct{}

func (*Manager) LoadEnv

func (*Manager) LoadEnv()

func (*Manager) NewProvider

func (*Manager) NewProvider() (cloud.Provider, error)

func (*Manager) ParseCmd

func (*Manager) ParseCmd(flags *flag.FlagSet)

Jump to

Keyboard shortcuts

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