client

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ManageProxy = "proxy"
)

Variables

This section is empty.

Functions

func GetDialerRestConfig

func GetDialerRestConfig(clusterName string, c *ManageConfig) (*rest.Config, error)

func GetRestConfig

func GetRestConfig(c *ManageConfig) (*rest.Config, error)

GetRestConfig get rest.Config with manage config

Types

type ManageConfig

type ManageConfig struct {
	Type     string `json:"type"`
	Address  string `json:"address"`
	CaData   string `json:"caData"`
	CertData string `json:"certData"`
	KeyData  string `json:"keyData"`
	Token    string `json:"token"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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