k8s

package
v0.0.0-...-1333f46 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClientset

func CreateClientset(dryRun, inCluster bool) (*kubernetes.Clientset, error)

func CreateDynamicClient

func CreateDynamicClient(dryRun, inCluster bool) (*dynamic.DynamicClient, error)

func CreateGatewayClientset

func CreateGatewayClientset(dryRun, inCluster bool) (*gateway.Clientset, error)

func TeamIDToNamespace

func TeamIDToNamespace(name string) string

TeamIDToNamespace prefix team- to a team ID. If the ID already has in as a prefix, will add a - after the word team.

hello-1234 => team-hello-1234

teamhello-1234 => team-hello-1234

helloteam-1234 => team-helloteam-1234

Types

This section is empty.

Jump to

Keyboard shortcuts

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