listcollectionopt

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 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 ListCollections

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

ListCollections represents all possible params for the listCollections() function.

type ListCollectionsBundle

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

ListCollectionsBundle is a bundle of ListCollections options

func BundleListCollections

func BundleListCollections(opts ...ListCollections) *ListCollectionsBundle

BundleListCollections bundles ListCollections options

func (*ListCollectionsBundle) ConvertListCollectionsOption

func (lcb *ListCollectionsBundle) ConvertListCollectionsOption() option.ListCollectionsOptioner

ConvertListCollectionsOption implements the ListCollections interface

func (*ListCollectionsBundle) NameOnly

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

func (*ListCollectionsBundle) String

func (lcb *ListCollectionsBundle) String() string

String implements the Stringer interface

func (*ListCollectionsBundle) Unbundle

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

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

type ListCollectionsOption

type ListCollectionsOption interface {
	ListCollections
	ConvertListCollectionsOption() option.ListCollectionsOptioner
}

ListCollectionsOption represents the options for the listCollections() function.

type ListCollectionsSession

type ListCollectionsSession interface {
	ListCollections
	ConvertListCollectionsSession() *session.Client
}

ListCollectionsSession is the session for the ListCollections() function.

type ListCollectionsSessionOpt

type ListCollectionsSessionOpt struct{}

ListCollectionsSessionOpt is a listCollections session option.

func (ListCollectionsSessionOpt) ConvertListCollectionsSession

func (ListCollectionsSessionOpt) ConvertListCollectionsSession() *session.Client

ConvertListCollectionsSession implements the ListCollectionsSession 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) ConvertListCollectionsOption

func (opt OptNameOnly) ConvertListCollectionsOption() option.ListCollectionsOptioner

ConvertListCollectionsOption implements the ListCollections interface.

Jump to

Keyboard shortcuts

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