hsts

package
v0.8.5 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewParser

NewParser creates a new HSTS annotation parser

Types

type Config

type Config struct {
	Enable     bool
	Subdomains bool
	MaxAge     string
	Preload    bool
}

Config contains per ingress resource configurations for HTTP Strict Transport Security

func (*Config) Equal

func (hsts1 *Config) Equal(hsts2 *Config) bool

Equal tests for equality between two HSTS types

Jump to

Keyboard shortcuts

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