client

package
v1.3.26 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CG identifies CloudGovernance client.
	CG = "CloudGovernance"
	// None identifies a dummy client.
	None = "None"
)

Variables

View Source
var (
	// ErrInvalidClientImpl indicates that the client implementation specified is not valid.
	ErrInvalidClientImpl = errors.New("invalid client implementation")
	// ErrInvalidClientConfig indicates that the given configuration is not valid for the specified client.
	ErrInvalidClientConfig = errors.New("invalid client configuration")
)

Functions

func NewClient

func NewClient(kind string, config interface{}) (awscatalogue.Client, error)

NewClient represents a factory method to create a new AWSCatalogue client.

Types

type AWSCatalogueAPIConfig

type AWSCatalogueAPIConfig struct {
	URL           string
	Key           string
	Retries       int
	RetryInterval int
}

AWSCatalogueAPIConfig represents the config params for an AWS catalogue API client.

Directories

Path Synopsis
Package none provides a dummy implementation of the AWS catalogue client interface.
Package none provides a dummy implementation of the AWS catalogue client interface.

Jump to

Keyboard shortcuts

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