runtime: github.com/go-openapi/runtime/flagext Index | Files

package flagext

import "github.com/go-openapi/runtime/flagext"

Index

Package Files

byte_size.go

type ByteSize Uses

type ByteSize int

ByteSize used to pass byte sizes to a go-flags CLI

func (ByteSize) MarshalFlag Uses

func (b ByteSize) MarshalFlag() (string, error)

MarshalFlag implements go-flags Marshaller interface

func (*ByteSize) Set Uses

func (b *ByteSize) Set(value string) error

Set the value of this bytesize (pflag value interfaces)

func (ByteSize) String Uses

func (b ByteSize) String() string

String method for a bytesize (pflag value and stringer interface)

func (*ByteSize) Type Uses

func (b *ByteSize) Type() string

Type returns the type of the pflag value (pflag value interface)

func (*ByteSize) UnmarshalFlag Uses

func (b *ByteSize) UnmarshalFlag(value string) error

UnmarshalFlag implements go-flags Unmarshaller interface

Package flagext imports 1 packages (graph) and is imported by 49 packages. Updated 2017-01-30. Refresh now. Tools for package owners.