clientcli

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

func ExpandPath

func ExpandPath(path string) string

func IsCertValid

func IsCertValid(certPath string) (bool, string)

func MakeConfig

func MakeConfig(configFile string)

func PathExists

func PathExists(path string) bool

Types

type ClientConfigType

type ClientConfigType struct {
	EndPoint   string          `json:"endPoint"`
	APIKey     string          `json:"apiKey"`
	Username   string          `json:"username"`
	Principals []string        `json:"principals"`
	Extensions []api.Extension `json:"extensions"`
	PublicKey  string          `json:"publicKey"`
	CertFile   string          `json:"certFile"`
}
var Config *ClientConfigType

func (*ClientConfigType) GetCertFile

func (c *ClientConfigType) GetCertFile() string

func (*ClientConfigType) GetPublicKey

func (c *ClientConfigType) GetPublicKey() string

Jump to

Keyboard shortcuts

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