rbac

package
v0.12.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Prefix contains the prefix for Rbac resources
	Prefix = "role-binding"
)

Variables

This section is empty.

Functions

func GetRoleBinding added in v0.2.1

func GetRoleBinding(play *ci.Play) *rbacv1.RoleBinding

GetRoleBinding return the a new role binding resource

func GetSubject added in v0.2.1

func GetSubject(play *ci.Play) rbacv1.Subject

GetSubject return a rbac role binding subject element

Types

type CI

type CI struct {
	internal.WorkFlowStruct
}

CI structure for build Rbac k8s resource

func (*CI) Create

func (in *CI) Create(ctx context.Context, r client.Client, logger logr.Logger) error

type Deploy

type Deploy struct {
	internal.WorkFlowStruct
}

Deploy structure for build Rbac k8s resource

func (*Deploy) Create

func (in *Deploy) Create(ctx context.Context, r client.Client, logger logr.Logger) error

Jump to

Keyboard shortcuts

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