config

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigurationFileContents

func GetConfigurationFileContents() (string, error)

func GetDefaultCountry

func GetDefaultCountry() string

func GetDefaultLocality

func GetDefaultLocality() string

func GetDefaultOrganization

func GetDefaultOrganization() string

func GetDefaultOrganizationalUnit

func GetDefaultOrganizationalUnit() string

func GetDefaultProvince

func GetDefaultProvince() string

func GetDefaultTLSCertDir

func GetDefaultTLSCertDir() string

func GetDefaultTLSHost

func GetDefaultTLSHost() string

func GetDefaultTLSPort

func GetDefaultTLSPort() int

func InitCLIConfiguration

func InitCLIConfiguration()

func SetCSRConfiguration

func SetCSRConfiguration(o string, ou string, c string, p string, l string) error

Types

type Config

type Config struct {
	CSR struct {
		Organization       string `yaml:"organization"`
		OrganizationalUnit string `yaml:"organizationalUnit"`

		Country  string `yaml:"country"`
		Province string `yaml:"province"`
		Locality string `yaml:"locality"`
	} `yaml:"default-csr-values"`
}

Jump to

Keyboard shortcuts

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