kubernetes

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigMap

func GetConfigMap(k *kubernetes.Clientset, ctx context.Context, name string) (*v1.ConfigMap, error)

TODO(chris): all functions in this package will need to check if the kubernetes.Clientset is nil and return an error if it is.

func UpdateClusterRoleBinding

func UpdateClusterRoleBinding(k *kubernetes.Clientset, ctx context.Context, crb *v1.ClusterRoleBinding) error

func UpdateConfigMap

func UpdateConfigMap(k *kubernetes.Clientset, ctx context.Context, cm *v1.ConfigMap) error

func UpdateRole

func UpdateRole(k *kubernetes.Clientset, ctx context.Context, r *v1.Role) error

func UpdateRoleBinding

func UpdateRoleBinding(k *kubernetes.Clientset, ctx context.Context, rb *v1.RoleBinding) error

func UpdateSecret

func UpdateSecret(k *kubernetes.Clientset, ctx context.Context, secret *v1.Secret) error

func UpdateServiceAccount

func UpdateServiceAccount(k *kubernetes.Clientset, ctx context.Context, sa *v1.ServiceAccount) error

Types

This section is empty.

Directories

Path Synopsis
util

Jump to

Keyboard shortcuts

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