athena

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AthenaRepository

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

func NewAthenaRepository

func NewAthenaRepository(ctx context.Context, client AwsClient) *AthenaRepository

func (*AthenaRepository) GetRegion

func (r *AthenaRepository) GetRegion() ptypes.AwsRegion

func (*AthenaRepository) ListDataCatalogsAll

func (r *AthenaRepository) ListDataCatalogsAll() ([]DataCatalog, error)

cfg.ResourceTypeAthenaDataCatalog

func (*AthenaRepository) ListWorkGroupAll

func (r *AthenaRepository) ListWorkGroupAll() ([]WorkGroup, error)

cfg.ResourceTypeAthenaWorkGroup

type AwsClient

type AwsClient interface {
	GetRegion() ptypes.AwsRegion
	GetAccountID() ptypes.AwsAccountID
	Athena() *athena.Client
}

type DataCatalog

type DataCatalog struct {
	service.AbstractResource
	types.DataCatalog
	Tags []types.Tag
}

func NewDataCatalog

func NewDataCatalog(client AwsClient, dataCatalog types.DataCatalog, tags []types.Tag) DataCatalog

func (DataCatalog) GetName

func (e DataCatalog) GetName() string

func (DataCatalog) GetTagValue

func (e DataCatalog) GetTagValue(tag string) string

func (DataCatalog) GetTags

func (e DataCatalog) GetTags() map[string]string

type DataCatalogList

type DataCatalogList struct {
	Items []DataCatalog
}

type WorkGroup

type WorkGroup struct {
	service.AbstractResource
	types.WorkGroup
	Tags []types.Tag
}

func NewWorkGroup

func NewWorkGroup(client AwsClient, workGroup types.WorkGroup, tags []types.Tag) WorkGroup

func (WorkGroup) GetName

func (e WorkGroup) GetName() string

func (WorkGroup) GetTagValue

func (e WorkGroup) GetTagValue(tag string) string

func (WorkGroup) GetTags

func (e WorkGroup) GetTags() map[string]string

type WorkGroupList

type WorkGroupList struct {
	Items []WorkGroup
}

Jump to

Keyboard shortcuts

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