rds

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(p client.ConfigProvider, opts ...*aws.Config) api.Endpoint

New implements api.ServiceFunc

Types

type API

type API interface {
	DescribeDBClustersPagesWithContext(context.Context, *rds.DescribeDBClustersInput, func(*rds.DescribeDBClustersOutput, bool) bool, ...request.Option) error
	DescribeDBInstancesPagesWithContext(context.Context, *rds.DescribeDBInstancesInput, func(*rds.DescribeDBInstancesOutput, bool) bool, ...request.Option) error
}

API documents the subset of AWS API we actually call

type DescribeDBClusters

type DescribeDBClusters struct {
	API
}

func (*DescribeDBClusters) New

func (fn *DescribeDBClusters) New(name string, config interface{}) ([]api.Request, error)

New implements api.RequestBuilder

type DescribeDBClustersOutput

type DescribeDBClustersOutput struct {
	*rds.DescribeDBClustersOutput
}

func (*DescribeDBClustersOutput) Records

func (o *DescribeDBClustersOutput) Records() (records []*api.Record)

type DescribeDBInstances

type DescribeDBInstances struct {
	API
}

func (*DescribeDBInstances) New

func (fn *DescribeDBInstances) New(name string, config interface{}) ([]api.Request, error)

New implements api.RequestBuilder

type DescribeDBInstancesOutput

type DescribeDBInstancesOutput struct {
	*rds.DescribeDBInstancesOutput
}

func (*DescribeDBInstancesOutput) Records

func (o *DescribeDBInstancesOutput) Records() (records []*api.Record)

Jump to

Keyboard shortcuts

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