Documentation ¶
Overview ¶
Package security provides security-related machine configuration documents.
Index ¶
- Constants
- func GetFileDoc() *encoder.FileDoc
- type TrustedRootsConfigV1Alpha1
- func (s *TrustedRootsConfigV1Alpha1) Clone() config.Document
- func (o *TrustedRootsConfigV1Alpha1) DeepCopy() *TrustedRootsConfigV1Alpha1
- func (TrustedRootsConfigV1Alpha1) Doc() *encoder.Doc
- func (s *TrustedRootsConfigV1Alpha1) ExtraTrustedRootCertificates() []string
- func (s *TrustedRootsConfigV1Alpha1) Name() string
Constants ¶
View Source
const TrustedRootsConfig = "TrustedRootsConfig"
TrustedRootsConfig is a default action config document kind.
Variables ¶
This section is empty.
Functions ¶
func GetFileDoc ¶
GetFileDoc returns documentation for the file security_doc.go.
Types ¶
type TrustedRootsConfigV1Alpha1 ¶
type TrustedRootsConfigV1Alpha1 struct { meta.Meta `yaml:",inline"` // description: | // Name of the config document. // schemaRequired: true MetaName string `yaml:"name"` // description: | // List of additional trusted certificate authorities (as PEM-encoded certificates). // // Multiple certificates can be provided in a single config document, separated by newline characters. Certificates string `yaml:"certificates"` }
TrustedRootsConfigV1Alpha1 allows to configure additional trusted CA roots.
examples: - value: exampleTrustedRootsConfigV1Alpha1() alias: TrustedRootsConfig schemaRoot: true schemaMeta: v1alpha1/TrustedRootsConfig
func NewTrustedRootsConfigV1Alpha1 ¶
func NewTrustedRootsConfigV1Alpha1() *TrustedRootsConfigV1Alpha1
NewTrustedRootsConfigV1Alpha1 creates a new TrustedRootsConfig config document.
func (*TrustedRootsConfigV1Alpha1) Clone ¶
func (s *TrustedRootsConfigV1Alpha1) Clone() config.Document
Clone implements config.Document interface.
func (*TrustedRootsConfigV1Alpha1) DeepCopy ¶
func (o *TrustedRootsConfigV1Alpha1) DeepCopy() *TrustedRootsConfigV1Alpha1
DeepCopy generates a deep copy of *TrustedRootsConfigV1Alpha1.
func (TrustedRootsConfigV1Alpha1) Doc ¶
func (TrustedRootsConfigV1Alpha1) Doc() *encoder.Doc
func (*TrustedRootsConfigV1Alpha1) ExtraTrustedRootCertificates ¶
func (s *TrustedRootsConfigV1Alpha1) ExtraTrustedRootCertificates() []string
ExtraTrustedRootCertificates implements config.TrustedRootsConfig interface.
func (*TrustedRootsConfigV1Alpha1) Name ¶
func (s *TrustedRootsConfigV1Alpha1) Name() string
Name implements config.NamedDocument interface.
Click to show internal directories.
Click to hide internal directories.