flags

package
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: Apache-2.0 Imports: 5 Imported by: 41

Documentation

Overview

Package flags implements the webhook server TLS options utilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddTLSOptions

func AddTLSOptions(fs *pflag.FlagSet, options *TLSOptions)

AddTLSOptions adds the webhook server TLS configuration flags to the flag set.

func GetTLSOptionOverrideFuncs

func GetTLSOptionOverrideFuncs(options TLSOptions) ([]func(*tls.Config), error)

GetTLSOptionOverrideFuncs returns a list of TLS configuration overrides to be used by the webhook server.

Types

type TLSOptions

type TLSOptions struct {
	TLSMinVersion   string
	TLSCipherSuites []string
}

TLSOptions has the options to configure the TLS settings for a webhook server.

Jump to

Keyboard shortcuts

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