security

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package security provides security-related machine configuration documents.

Index

Constants

View Source
const TrustedRootsConfig = "TrustedRootsConfig"

TrustedRootsConfig is a default action config document kind.

Variables

This section is empty.

Functions

func GetFileDoc

func GetFileDoc() *encoder.FileDoc

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

Clone implements config.Document interface.

func (*TrustedRootsConfigV1Alpha1) DeepCopy

DeepCopy generates a deep copy of *TrustedRootsConfigV1Alpha1.

func (TrustedRootsConfigV1Alpha1) Doc

func (*TrustedRootsConfigV1Alpha1) ExtraTrustedRootCertificates

func (s *TrustedRootsConfigV1Alpha1) ExtraTrustedRootCertificates() []string

ExtraTrustedRootCertificates implements config.TrustedRootsConfig interface.

func (*TrustedRootsConfigV1Alpha1) Name

Name implements config.NamedDocument interface.

Jump to

Keyboard shortcuts

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