ocean

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2021 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 ComponentsFlag

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

ComponentsFlag implements pflag.Value interface to store component names, allowing transforming and validating them while being set.

func NewDefaultComponentsFlag

func NewDefaultComponentsFlag(log log.Logger) *ComponentsFlag

NewDefaultComponentsFlag returns a new ComponentsFlag with a default list of components.

func NewEmptyComponentsFlag

func NewEmptyComponentsFlag(log log.Logger) *ComponentsFlag

NewEmptyComponentsFlag returns a new ComponentsFlag with an empty list of components.

func (*ComponentsFlag) List

func (*ComponentsFlag) Set

func (c *ComponentsFlag) Set(arg string) error

func (*ComponentsFlag) String

func (c *ComponentsFlag) String() string

func (*ComponentsFlag) Type

func (c *ComponentsFlag) Type() string

Jump to

Keyboard shortcuts

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