environment

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TmpUnifiedContractsDir     = "/tmp/unified-contracts"
	TmpOverwrittenContractsDir = "/tmp/overwritten-contracts"
	TmpGeneratedPackagesDir    = "/tmp/generated-packages"

	NginxConfigsPath          = "/etc/nginx/http.d"
	SupervisordConfigsPath    = "/etc/supervisord/mocks"
	SupervisordConfigsDirPath = "/etc/supervisord"
	SupervisordMainConfigPath = "/etc/supervisord/supervisord.conf"

	DefaultWiremockConfigPath = "/home/mock"

	TmpWellKnownProtosDir  = "/tmp/proto-includes"
	TmpAnnotationProtosDir = "/tmp/proto-annotations"

	AnnotationsPath     = "google/api/annotations.proto"
	AnnotationsHttpPath = "google/api/http.proto"

	DefaultCertificatesPath = "/etc/ssl"

	TrustedCertificatePath = "/etc/ssl/certs/ca-certificates.crt"

	CAKeyFile  = "mock/share/mockCA.key"
	CACertFile = "mock/share/mockCA.crt"

	CertKeyFile  = "mock/mock.key"
	CertCertFile = "mock/mock.crt"
)

Variables

This section is empty.

Functions

func CleanConfigs

func CleanConfigs(fs afero.Fs, path string) error

func CleanTmpDirs

func CleanTmpDirs(fs afero.Fs) error

func DumpProtos

func DumpProtos(fs afero.Fs) error

func IsCAExists

func IsCAExists(fs afero.Fs, output string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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