accessmanagement

package
v1.12.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultName = "kcm-am"
)

Variables

This section is empty.

Functions

func NewAccessManagement

func NewAccessManagement(opts ...Opt) *kcmv1.AccessManagement

func NewResourceRule

func NewResourceRule(kind string, names ...string) kcmv1.ResourceRule

NewResourceRule builds a kcmv1.ResourceRule selecting the given object names.

APIGroup is left empty so kcmv1.ResourceRule.GroupKind defaults it to the built-in k0rdent.mirantis.com group for a built-in Kind; for custom kinds, set APIGroup explicitly.

Types

type Opt

type Opt func(am *kcmv1.AccessManagement)

func WithAccessRules

func WithAccessRules(accessRules []kcmv1.AccessRule) Opt

func WithLabels added in v0.1.0

func WithLabels(kv ...string) Opt

func WithName

func WithName(name string) Opt

Jump to

Keyboard shortcuts

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