Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrNoSuchKey ¶
type ErrNoSuchKey struct {
Name string
}
ErrNoSuchKey means no such key exists in metadata.
func (*ErrNoSuchKey) Error ¶
func (e *ErrNoSuchKey) Error() string
Error returns the value of the metadata key
type OptionBlock ¶
OptionBlock is a single option on which operation is possible
func (OptionBlock) GetMetadata ¶
func (o OptionBlock) GetMetadata(key string) (string, bool)
GetMetadata returns the value for a key if it exists.
type Provider ¶
type Provider interface { // Name returns the name of the provider Name() string // Resources returns the provider for an resource deployment source. Resources(ctx context.Context) (*Resources, error) }
Provider is an interface implemented by any cloud service provider.
It provides the bare minimum of methods to allow complete overview of user data.
type Resources ¶
Click to show internal directories.
Click to hide internal directories.