Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultName = "cl-audit-policy"
)
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(opts ...Opt) *kcmv1.ClusterAuditPolicy
Types ¶
type Opt ¶
type Opt func(clAuditPolicy *kcmv1.ClusterAuditPolicy)
func ManagedByKCM ¶
func ManagedByKCM() Opt
func WithNamespace ¶
func WithSpec ¶
func WithSpec(auditPolicySpec kcmv1.ClusterAuditPolicySpec) Opt
Click to show internal directories.
Click to hide internal directories.