internal

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutoTagOption added in v0.4.6

type AutoTagOption []string

AutoTagOption configures the Create operation to automatically tag objects after creation

func (AutoTagOption) ApplyToCreate added in v0.4.6

func (ato AutoTagOption) ApplyToCreate(o *types.CreateOptions)

ApplyToCreate applies the AutoTagOption to the ListOptions

type FullObjectsOption

type FullObjectsOption bool

FullObjectsOption configures if the List operation shall make a Get operation for each object before returning it to the caller.

func (FullObjectsOption) ApplyToList

func (foo FullObjectsOption) ApplyToList(o *types.ListOptions)

ApplyToList applies the FullObjectsOption option to all the ListOptions.

type ObjectChannelOption

type ObjectChannelOption struct {
	Channel *types.ObjectChannel
}

ObjectChannelOption configures the List operation to return the objects via the given channel.

func (ObjectChannelOption) ApplyToList

func (aoc ObjectChannelOption) ApplyToList(o *types.ListOptions)

ApplyToList applies the AsObjectChannel option to all the ListOptions.

type PagedOption

type PagedOption struct {
	// Page to retrieve
	Page uint

	// Entries per page
	Limit uint

	// Additional output about the current page, includes a way to iterate through all pages.
	Info *types.PageInfo
}

PagedOption is an option valid for List operations to retrieve objects in a paged fashion (instead of all at once).

func (PagedOption) ApplyToList

func (p PagedOption) ApplyToList(o *types.ListOptions)

ApplyToList applies the Paged option to all the ListOptions.

Jump to

Keyboard shortcuts

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