clientconfighelpers

package
v0.25.2 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package clientconfighelpers implements helper function related to client configurations

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRegistryTrustedRootCertsFileForWindows

func AddRegistryTrustedRootCertsFileForWindows(registryOpts *ctlimg.Opts) error

AddRegistryTrustedRootCertsFileForWindows adds CA certificate to registry options for windows environments

func GetCustomRepositoryCaCertificateForClient

func GetCustomRepositoryCaCertificateForClient(tkgconfigReaderWriter tkgconfigreaderwriter.TKGConfigReaderWriter) ([]byte, error)

GetCustomRepositoryCaCertificateForClient returns CA certificate to use with cli client This function reads the CA certificate from following variables in decreasing order of precedence: 1. PROXY_CA_CERT 2. TKG_PROXY_CA_CERT 3. TKG_CUSTOM_IMAGE_REPOSITORY_CA_CERTIFICATE

Types

This section is empty.

Jump to

Keyboard shortcuts

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