clustersmgmt

package
v0.1.151 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dispatch

func Dispatch(w http.ResponseWriter, r *http.Request, server Server, segments []string)

Dispatch navigates the servers tree till it finds one that matches the given set of path segments, and then invokes it.

Types

type Client

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

Client is the client for service 'clusters_mgmt'.

func NewClient

func NewClient(transport http.RoundTripper, path string, metric string) *Client

NewClient creates a new client for the service 'clusters_mgmt' using the given transport to send the requests and receive the responses.

func (*Client) V1

func (c *Client) V1() *v1.Client

V1 returns a reference to a client for version 'v1'.

type Server

type Server interface {

	// V1 returns the server for version 'v1'.
	V1() v1.Server
}

Server is the interface for the 'clusters_mgmt' service.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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