Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CAConfigV1 ¶
type CAConfigV1 struct {
Serial int64 `json:"serial" default:"1"`
Subject SubjectConfigV1 `json:"subject"`
}
структура для хранения конфигурации CA
type ConfigV1 ¶
type ConfigV1 struct {
CA CAConfigV1 `json:"ca"`
Listener ListenerConfigV1 `json:"listener"`
Operator OperatorConfigV1 `json:"operator"`
Management ManagementConfigV1 `json:"management"`
}
конфигурация CA
type ListenerConfigV1 ¶
type ListenerConfigV1 struct {
Serial int64 `json:"serial" default:"1"`
Subject SubjectConfigV1 `json:"subject"`
}
структура для хранения конфигурации сертификата для сервера listener
type ManagementConfigV1 ¶
type ManagementConfigV1 struct {
Serial int64 `json:"serial" default:"1"`
Subject SubjectConfigV1 `json:"subject"`
}
структура для хранения конфигурации сертификата для сервера management
type OperatorConfigV1 ¶
type OperatorConfigV1 struct {
Serial int64 `json:"serial" default:"1"`
Subject SubjectConfigV1 `json:"subject"`
}
структура для хранения конфигурации сертификата для сервера operator
type SubjectConfigV1 ¶
type SubjectConfigV1 struct {
OrganizationalUnit string `json:"ou" default:"c2micro Root CA"`
Organization string `json:"o" default:"c2micro"`
CommonName string `json:"cn" default:"c2micro"`
Country string `json:"c" default:"RU"`
Province string `json:"p" default:""`
Locality string `json:"l" default:"Moscow"`
}
Click to show internal directories.
Click to hide internal directories.