file

package
v1.0.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AuthDirectory default directory used to store files
	// to authenticate request
	AuthDirectory = "/etc/ingress-controller/auth"

	// DefaultSSLDirectory defines the location where the SSL certificates will be generated
	// This directory contains all the SSL certificates that are specified in Ingress rules.
	// The name of each file is <namespace>-<secret name>.pem. The content is the concatenated
	// certificate and key.
	DefaultSSLDirectory = "/etc/ingress-controller/ssl"
)
View Source
const ReadWriteByUser = 0700

ReadWriteByUser defines linux permission to read and write files for the owner user

Variables

This section is empty.

Functions

func CreateRequiredDirectories

func CreateRequiredDirectories() error

CreateRequiredDirectories verifies if the required directories to start the ingress controller exist and creates the missing ones.

func SHA1

func SHA1(filename string) string

SHA1 returns the SHA1 of a file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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