util

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: May 28, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateEventRecorder added in v1.3.0

func CreateEventRecorder(kubeClient clientset.Interface) kube_record.EventRecorder

CreateEventRecorder creates an event recorder to send custom events to Kubernetes to be recorded for targeted Kubernetes objects

func MakeSecret

func MakeSecret(namespace, name string, baseURL string, credentials crdv1.RobotAccountCredential) v1.Secret

MakeSecret creates a v1.Secret with type dockerconfigjson from the given credentials

func UpsertSecret

func UpsertSecret(cl client.Client, secret v1.Secret) error

UpsertSecret creates or updates the specified secret

Types

This section is empty.

Jump to

Keyboard shortcuts

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