resources

package
v2.19.2 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package resources contains Kubernetes configs and policies for Constellation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditPolicy

type AuditPolicy struct {
	Policy auditv1.Policy
}

AuditPolicy defines rulesets for what should be logged in the kube-apiserver audit log. reference: https://kubernetes.io/docs/tasks/debug/debug-cluster/audit/ .

func NewDefaultAuditPolicy

func NewDefaultAuditPolicy() *AuditPolicy

NewDefaultAuditPolicy create a new default Constellation audit policty.

func (*AuditPolicy) Marshal

func (p *AuditPolicy) Marshal() ([]byte, error)

Marshal marshals the audit policy as a YAML document.

Jump to

Keyboard shortcuts

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