Documentation ¶
Index ¶
- type ListDatabases
- type ListDatabasesBundle
- func (lcb *ListDatabasesBundle) ConvertListDatabasesOption() option.ListDatabasesOptioner
- func (lcb *ListDatabasesBundle) NameOnly(b bool) *ListDatabasesBundle
- func (lcb *ListDatabasesBundle) String() string
- func (lcb *ListDatabasesBundle) Unbundle(deduplicate bool) ([]option.ListDatabasesOptioner, *session.Client, error)
- type ListDatabasesOption
- type ListDatabasesSession
- type ListDatabasesSessionOpt
- type OptNameOnly
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.