tokens

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataplaneTokenClient

type DataplaneTokenClient interface {
	Generate(name string, mesh string, tags map[string][]string, dpType string, validFor time.Duration) (string, error)
}

func NewDataplaneTokenClient

func NewDataplaneTokenClient(client util_http.Client) DataplaneTokenClient

type ZoneIngressTokenClient

type ZoneIngressTokenClient interface {
	Generate(zone string, validFor time.Duration) (string, error)
}

func NewZoneIngressTokenClient

func NewZoneIngressTokenClient(client util_http.Client) ZoneIngressTokenClient

type ZoneTokenClient added in v1.8.1

type ZoneTokenClient interface {
	Generate(zone string, scope []string, validFor time.Duration) (string, error)
}

func NewZoneTokenClient added in v1.8.1

func NewZoneTokenClient(client util_http.Client) ZoneTokenClient

Jump to

Keyboard shortcuts

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