utils

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: May 21, 2021 License: Apache-2.0 Imports: 13 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultNamespace added in v1.0.11

func DefaultNamespace() (string, error)

func DetermineReleaseImageFromSource added in v1.0.11

func DetermineReleaseImageFromSource(sourceURL string) (string, error)

func GetClient

func GetClient() (client.Client, error)

GetClient returns a new dynamic controller-runtime client.

func GetClientConfig

func GetClientConfig() (*restclient.Config, error)

GetClientConfig gets the config for the REST client.

func GetPullSecret added in v1.0.11

func GetPullSecret(logger log.FieldLogger, pullSecret string, pullSecretFile string) (string, error)

func GetResourceHelper added in v1.0.11

func GetResourceHelper(logger log.FieldLogger) (resource.Helper, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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