package
Version:
v0.0.1-alpha.0...-ef4a7fd
Opens a new window with list of versions in this module.
Published: Dec 17, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func CheckJob(ns string, name string) bool
-
func CheckRB(ns string, name string) bool
-
func CheckRole(ns string, name string) bool
-
func CheckSA(ns string, name string) bool
-
func CreateJob(ns string, name string, kind string, resName string, sa string, time uint64)
-
func CreateRB(ns string, name string, sa string, role string)
-
func CreateRole(ns string, name string, kind string, resName string)
-
func CreateSA(ns string, name string)
CheckJob lets us validate and identify the roles
CheckRB lets us validate and identify the roles
CheckRole lets us validate and identify the roles
CheckSA validates and identifies if a service account already exists
CreateJob function is used to create a job to execute ttl
CreateRB is a function to create role binding to the above role
CreateRole is a function that creates roles for ttl to work
CreateSA helps to create a service account
Source Files
¶
Click to show internal directories.
Click to hide internal directories.