mtls

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModeStrict     mTLSMode = "STRICT"
	ModePermissive mTLSMode = "PERMISSIVE"
	ModeDisabled   mTLSMode = "DISABLED"

	SeparatorChar = ":"
)
View Source
const (
	DefaultNamespace = "istio-system"
)

Variables

This section is empty.

Functions

func NewAllowCommand

func NewAllowCommand(cli cli.CLI) *cobra.Command

func NewDisableCommand

func NewDisableCommand(cli cli.CLI) *cobra.Command

func NewGetCommand

func NewGetCommand(cli cli.CLI) *cobra.Command

func NewRequireCommand

func NewRequireCommand(cli cli.CLI) *cobra.Command

func NewRootCmd

func NewRootCmd(cli cli.CLI) *cobra.Command

func NewUnsetCommand

func NewUnsetCommand(cli cli.CLI) *cobra.Command

func Output

func Output(cli cli.CLI, resourceName NamespacedName, policySpec map[string][]*v1alpha1.PolicySpec) error

Types

type NamespacedName

type NamespacedName types.NamespacedName

func (NamespacedName) String

func (n NamespacedName) String() string

type Out

type Out struct {
	Policy   string   `json:"policy,omitempty"`
	Targets  []string `json:"targets,omitempty"`
	MtlsMode mTLSMode `json:"mtlsMode,omitempty"`
}

Jump to

Keyboard shortcuts

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