connection

package
v0.0.0-...-a198cfb Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHostName

func GetHostName() string

GetHostName return the kubera host(URL)

Types

type Connection

type Connection struct {
	HostName string
	UserName string
	Password string
}

Connection defines the structure of userCredentials

func Get

func Get() Connection

Get return the credentials of kubera user ,pass and host

func (Connection) String

func (c Connection) String() string

Jump to

Keyboard shortcuts

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