openshift

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDefaultRegistry

func GetDefaultRegistry() string

func GetDockerCredentialLoaders

func GetDockerCredentialLoaders() []creds.CredentialsCallback

func GetServiceCA

func GetServiceCA(ctx context.Context) (*x509.Certificate, error)

func IsOpenShift

func IsOpenShift() bool

func WithOpenShiftServiceCA

func WithOpenShiftServiceCA() fnhttp.Option

WithOpenShiftServiceCA enables trust to OpenShift's service CA for internal image registry

Types

type OpenshiftMetadataDecorator

type OpenshiftMetadataDecorator struct{}

func (OpenshiftMetadataDecorator) UpdateAnnotations

func (o OpenshiftMetadataDecorator) UpdateAnnotations(f fn.Function, annotations map[string]string) map[string]string

func (OpenshiftMetadataDecorator) UpdateLabels

func (o OpenshiftMetadataDecorator) UpdateLabels(f fn.Function, labels map[string]string) map[string]string

Jump to

Keyboard shortcuts

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