client

package
v0.0.0-...-d29d0de Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsClient

type AwsClient struct {
	// contains filtered or unexported fields
}

func (*AwsClient) GetResource

func (ac *AwsClient) GetResource(id string, typeName string) (*reader.ItemData, error)

func (*AwsClient) ListResources

func (ac *AwsClient) ListResources(typeName string) ([]*reader.ItemData, error)

type AwsClientInterface

type AwsClientInterface interface {
	GetResource(string, string) (*reader.ItemData, error)
	ListResources(string) ([]*reader.ItemData, error)
}

type CreatePool

type CreatePool func(profiles []string) Pool

type LazyPool

type LazyPool struct {
	// contains filtered or unexported fields
}

func (LazyPool) GetResource

func (lp LazyPool) GetResource(profile string, id string, typeName string) (*reader.Item, error)

func (LazyPool) ListResources

func (lp LazyPool) ListResources(profile string, typeName string) ([]*reader.Item, error)

type Pool

type Pool interface {
	GetResource(profile string, id string, typeName string) (*reader.Item, error)
	ListResources(profile string, typeName string) ([]*reader.Item, error)
}

func NewLazyPool

func NewLazyPool(profiles []string) Pool

Jump to

Keyboard shortcuts

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