cluster

package
v1.1.16 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MutatingWebhookConfigurationName = "gating-mutator"

	AaqServerServiceName          = "aaq-server"
	DefaultNamespaceSelectorLabel = "application-aware-quota/enable-gating"
)

Variables

This section is empty.

Functions

func CreateAllDynamicResources

func CreateAllDynamicResources(args *FactoryArgs) ([]client.Object, error)

CreateAllDynamicResources creates all dynamic cluster-wide resources

func CreateAllStaticResources

func CreateAllStaticResources(args *FactoryArgs) ([]client.Object, error)

CreateAllStaticResources creates all static cluster-wide resources

func GetClusterRolePolicyRules

func GetClusterRolePolicyRules() []rbacv1.PolicyRule

GetClusterRolePolicyRules returns all cluster PolicyRules

Types

type FactoryArgs

type FactoryArgs struct {
	Namespace   string
	Client      client.Client
	Logger      logr.Logger
	OnOpenshift bool
}

FactoryArgs contains the required parameters to generate all cluster-scoped resources

Jump to

Keyboard shortcuts

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