rds

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RdsDiscoveryClient

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

func NewRdsDiscoveryClient

func NewRdsDiscoveryClient(client aws.RDSClient, cfg *config.ConfigFile) *RdsDiscoveryClient

func (*RdsDiscoveryClient) GetTargets

func (r *RdsDiscoveryClient) GetTargets() []config.Target

func (*RdsDiscoveryClient) LookupTargetByHost

func (r *RdsDiscoveryClient) LookupTargetByHost(host string) (config.Target, error)

func (*RdsDiscoveryClient) LookupTargetByName

func (r *RdsDiscoveryClient) LookupTargetByName(name string) (config.Target, error)

func (*RdsDiscoveryClient) Refresh

func (r *RdsDiscoveryClient) Refresh(ctx context.Context) (err error)

RefreshRDSTargets searches AWS for allowed dbs updates the target list

Jump to

Keyboard shortcuts

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