provider

package
v0.0.0-...-afaa0d5 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Providers

func Providers() []string

func RegisterProvider

func RegisterProvider(name string, provider Provider)

RegisterProvider registers a provider.

Types

type ContainerDefinition

type ContainerDefinition struct {
	Name        string
	Environment map[string]string
	Secrets     map[string]string
}

ContainerDefinition represents the container details.

type Provider

type Provider interface {
	GetTaskDefinitions(taskDefinitionName string) ([]*ContainerDefinition, error)
	GetSecretValue(secretArn, secretName string) (*fastjson.Value, error)
}

Provider combines task and secret retrieval for cloud providers.

func GetProvider

func GetProvider(name string) (Provider, bool)

GetProvider gets a specific provider.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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