util

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Overview

Package util provides helper functions for the client.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDefaultConfigFilePath

func GetDefaultConfigFilePath() (path string)

GetDefaultConfigFilePath returns the default path of the enterprise certificate config file created by gCloud.

func LoadSignerBinaryPath

func LoadSignerBinaryPath(configFilePath string) (path string, err error)

LoadSignerBinaryPath retrieves the path of the signer binary from the config file.

Types

type EnterpriseCertificateConfig

type EnterpriseCertificateConfig struct {
	Libs Libs `json:"libs"`
}

EnterpriseCertificateConfig contains parameters for initializing signer.

type Libs

type Libs struct {
	ECP string `json:"ecp"`
}

Libs specifies the locations of helper libraries.

Jump to

Keyboard shortcuts

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