util

package
v8.4.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsHTTPScheme

func IsHTTPScheme(path string) bool

func IsUnsupportedURLScheme

func IsUnsupportedURLScheme(path string) bool

func NewTLSConfig

func NewTLSConfig(trustedCerts []*x509.Certificate, skipTLSValidation bool) *tls.Config

Types

type Sha1Checksum

type Sha1Checksum interface {
	ComputeFileSha1() ([]byte, error)
	CheckSha1(string) bool
	SetFilePath(string)
}

func NewSha1Checksum

func NewSha1Checksum(filepath string) Sha1Checksum

Directories

Path Synopsis
clisshfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
Package configv3 package contains everything related to the CF CLI Configuration.
Package configv3 package contains everything related to the CF CLI Configuration.
configv3fakes
Code generated by counterfeiter.
Code generated by counterfeiter.
downloadfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
ui
Package ui will provide hooks into STDOUT, STDERR and STDIN.
Package ui will provide hooks into STDOUT, STDERR and STDIN.
uifakes
Code generated by counterfeiter.
Code generated by counterfeiter.
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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