generator

package
v0.0.0-...-8f52349 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RegisterOption

type RegisterOption func(*registerConfig)

RegisterOption is a single option for configuring a registerConfig

func WithRegisterUploadDir

func WithRegisterUploadDir(val bool) RegisterOption

WithRegisterUploadDir creates an Option that sets upload a directory as part of the command

type RegisterOptions

type RegisterOptions []RegisterOption

RegisterOptions is a configuration set defining a registerConfig

func RegisterOptionDefaults

func RegisterOptionDefaults() RegisterOptions

RegisterOptionDefaults gets the default values for Register.

func (RegisterOptions) Extend

func (opts RegisterOptions) Extend(other RegisterOptions) RegisterOptions

Extend creates a new RegisterOptions with the contents of other overriding the values set in this RegisterOptions.

func (RegisterOptions) UploadDir

func (opts RegisterOptions) UploadDir() bool

UploadDir returns the last set value for UploadDir or the empty value if not set.

Jump to

Keyboard shortcuts

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