ocp

package
v0.16.0-m3 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureRBAC

func EnsureRBAC(ctx context.Context,
	dynClient dynamic.Interface, kubeClient kubernetes.Interface, namespace string, componentsRbac []RbacInfo) (
	bool, error,
)

func IsOcpPlatform

func IsOcpPlatform(ctx context.Context, dynClient dynamic.Interface) bool

Types

type RbacInfo

type RbacInfo struct {
	ComponentName          string
	ClusterRoleFile        string
	ClusterRoleBindingFile string
}

Jump to

Keyboard shortcuts

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