types

package
v0.0.0-...-9633304 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2019 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	FQDN        string `json:"fqdn"`
	BindAddress string `json:"bind_address"`
	BindPort    string `json:"bind_port"`
}

type Auth

type Auth struct {
	Type string `json:"type"`
}

type CertificateStats

type CertificateStats struct {
	Certificate int `json:"certificate"`
	Valid       int `json:"valid"`
	Expired     int `json:"expired"`
	Revoked     int `json:"revoked"`
}

type CertificationAuthority

type CertificationAuthority struct {
	Type               string `json:"type"`
	Duration           int    `json:"duration;omitempty"`
	Expire             string `json:"expire;omitempty"`
	Country            string `json:"country"`
	State              string `json:"state"`
	Locality           string `json:"locality"`
	Organization       string `json:"organization"`
	OrganizationalUnit string `json:"organizational_unit"`
	CommonName         string `json:"common_name;omitempty"`
}

type ChangePassword

type ChangePassword struct {
	Old     string `json:"old"`
	New     string `json:"new"`
	Confirm string `json:"confirm"`
}

type Directory

type Directory struct {
	CAInfo     string `json:"ca_info"`
	NewApp     string `json:"new_app"`
	NewAuthz   string `json:"new_authz"`
	RevokeCert string `json:"revoke_cert"`
}

type NewCert

type NewCert struct {
	Type     string `json:"type"`
	CSR      []byte `json:"csr"`
	Duration int    `json:"duration"`
}

type RevokeCert

type RevokeCert struct {
	SerialNumber int `json:"serial_number"`
}

type ServerConfig

type ServerConfig struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type SystemInfo

type SystemInfo struct {
	CA               CertificationAuthority `json:"certification_authority"`
	CertificateStats CertificateStats       `json:"certificate_stats"`
	API              API                    `json:"api"`
	Auth             Auth                   `json:"auth"`
	ServerVersion    string                 `json:"server_version"`
	StorageDriver    string                 `json:"storage_driver"`
	LoggingDriver    string                 `json:"logging_driver"`
	TSARootDir       string                 `json:"tsa_root_dir"`
}

Jump to

Keyboard shortcuts

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