util

package
v7.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2020 License: Apache-2.0 Imports: 8 Imported by: 407

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.
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