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

gateclient

package
v0.4.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GatewayClient

type GatewayClient struct {

	// Generate Gate Api client.
	*gate.APIClient

	// Spin CLI configuration.
	Config config.Config

	// Context for OAuth2 access token.
	Context context.Context
	// contains filtered or unexported fields
}

GatewayClient is the wrapper with authentication

func NewGateClient

func NewGateClient(flags *pflag.FlagSet) (*GatewayClient, error)

Create new spinnaker gateway client with flag

func (*GatewayClient) GateEndpoint

func (m *GatewayClient) GateEndpoint() string

Jump to

Keyboard shortcuts

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