opt

package
v0.0.0-...-a79519d Latest Latest
Warning

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

Go to latest
Published: Jun 14, 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 Runtime

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

Runtime defines runtimes information

func NewRuntime

func NewRuntime(rts *map[string]types.Runtime) *Runtime

NewRuntime initials a Runtime struct

func (*Runtime) Set

func (r *Runtime) Set(val string) error

Set implement Runtime as pflag.Value interface

func (*Runtime) String

func (r *Runtime) String() string

String implement Runtime as pflag.Value interface

func (*Runtime) Type

func (r *Runtime) Type() string

Type implement Runtime as pflag.Value interface

Jump to

Keyboard shortcuts

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