handler

package
v0.0.1-alpha.0...-ef4a7fd Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckJob

func CheckJob(ns string, name string) bool

CheckJob lets us validate and identify the roles

func CheckRB

func CheckRB(ns string, name string) bool

CheckRB lets us validate and identify the roles

func CheckRole

func CheckRole(ns string, name string) bool

CheckRole lets us validate and identify the roles

func CheckSA

func CheckSA(ns string, name string) bool

CheckSA validates and identifies if a service account already exists

func CreateJob

func CreateJob(ns string, name string, kind string, resName string, sa string, time uint64)

CreateJob function is used to create a job to execute ttl

func CreateRB

func CreateRB(ns string, name string, sa string, role string)

CreateRB is a function to create role binding to the above role

func CreateRole

func CreateRole(ns string, name string, kind string, resName string)

CreateRole is a function that creates roles for ttl to work

func CreateSA

func CreateSA(ns string, name string)

CreateSA helps to create a service account

Types

This section is empty.

Jump to

Keyboard shortcuts

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