Help us shape the future of Go! Take the 2026 Go Developer Survey

client

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2018 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionTemplateEntry

type ActionTemplateEntry struct {
	Schema *schema.Schema
	Action *schema.Action
}

ActionTemplateEntry is input struct for generating custom command info

type ByName

type ByName []gohanCommand

ByName is alias type for handling gohanCommands

func (ByName) Len

func (a ByName) Len() int

func (ByName) Less

func (a ByName) Less(i, j int) bool

func (ByName) Swap

func (a ByName) Swap(i, j int)

type Cache

type Cache struct {
	Expire  time.Time
	Schemas []*schema.Schema
}

Cache ...

type GohanClientCLI

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

GohanClientCLI ...

func NewGohanClientCLI

func NewGohanClientCLI(opts *GohanClientCLIOpts) (*GohanClientCLI, error)

NewGohanClientCLI GohanClientCLI constructor

func (*GohanClientCLI) ExecuteCommand

func (gohanClientCLI *GohanClientCLI) ExecuteCommand(command string, arguments []string) (string, error)

ExecuteCommand ...

type GohanClientCLIOpts

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

GohanClientCLIOpts options for GohanClientCLI

func NewOptsFromEnv

func NewOptsFromEnv() (*GohanClientCLIOpts, error)

NewOptsFromEnv creates new Opts for GohanClientCLI using env variables

Source Files

  • arguments.go
  • cache.go
  • client.go
  • client_test_utils.go
  • commands.go
  • opts.go
  • output.go

Jump to

Keyboard shortcuts

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