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

client

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Default = NewHTTPClient(nil)

Default oshinko rest HTTP client.

Functions

This section is empty.

Types

type OshinkoRest

type OshinkoRest struct {
	Clusters *clusters.Client

	Server *server.Client

	Transport runtime.ClientTransport
}

OshinkoRest is a client for oshinko rest

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) *OshinkoRest

New creates a new oshinko rest client

func NewHTTPClient

func NewHTTPClient(formats strfmt.Registry) *OshinkoRest

NewHTTPClient creates a new oshinko rest HTTP client.

func (*OshinkoRest) SetTransport

func (c *OshinkoRest) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client and all its subresources

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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