listdbopt

package
v0.0.3-0...-630480d Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListDatabases

type ListDatabases interface {
	// contains filtered or unexported methods
}

ListDatabases represents all possible params for the listDatabases() function.

type ListDatabasesBundle

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

ListDatabasesBundle is a bundle of ListDatabases options

func BundleListDatabases

func BundleListDatabases(opts ...ListDatabases) *ListDatabasesBundle

BundleListDatabases bundles ListDatabases options

func (*ListDatabasesBundle) ConvertListDatabasesOption

func (lcb *ListDatabasesBundle) ConvertListDatabasesOption() option.ListDatabasesOptioner

ConvertListDatabasesOption implements the ListDatabases interface

func (*ListDatabasesBundle) NameOnly

func (lcb *ListDatabasesBundle) NameOnly(b bool) *ListDatabasesBundle

NameOnly adds an option to specify whether to return only the collection names.

func (*ListDatabasesBundle) String

func (lcb *ListDatabasesBundle) String() string

String implements the Stringer interface

func (*ListDatabasesBundle) Unbundle

func (lcb *ListDatabasesBundle) Unbundle(deduplicate bool) ([]option.ListDatabasesOptioner, *session.Client, error)

Unbundle transforms a bundle into a slice of options, optionally deduplicating.

type ListDatabasesOption

type ListDatabasesOption interface {
	ListDatabases
	ConvertListDatabasesOption() option.ListDatabasesOptioner
}

ListDatabasesOption represents the options for the listDatabases() function.

type ListDatabasesSession

type ListDatabasesSession interface {
	ListDatabases
	ConvertListDatabasesSession() *session.Client
}

ListDatabasesSession is the session for the ListDatabases() function.

type ListDatabasesSessionOpt

type ListDatabasesSessionOpt struct{}

ListDatabasesSessionOpt is a listDatabases session option.

func (ListDatabasesSessionOpt) ConvertListDatabasesSession

func (ListDatabasesSessionOpt) ConvertListDatabasesSession() *session.Client

ConvertListDatabasesSession implements the ListDatabasesSession interface.

type OptNameOnly

type OptNameOnly option.OptNameOnly

OptNameOnly specifies whether to return only the collection names.

func NameOnly

func NameOnly(b bool) OptNameOnly

NameOnly specifies whether to return only the collection names.

func (OptNameOnly) ConvertListDatabasesOption

func (opt OptNameOnly) ConvertListDatabasesOption() option.ListDatabasesOptioner

ConvertListDatabasesOption implements the ListDatabases interface.

Jump to

Keyboard shortcuts

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