token

package
v1.2.8 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateTester

type CreateTester struct {
	Name            string
	FileName        string
	Expiry          string
	Password        string
	Type            TokenType
	Uses            string
	LocalOnly       bool
	PostDelay       time.Duration
	PolicyProhibits bool
}

CreateTester runs `skupper token create` command, validating the output as well as asserting token file has been created.

func (*CreateTester) Command

func (t *CreateTester) Command(cluster *base.ClusterContext) []string

func (*CreateTester) Run

func (t *CreateTester) Run(cluster *base.ClusterContext) (stdout string, stderr string, err error)

type TokenType

type TokenType string
const (
	TokenClaim TokenType = "claim"
	TokenCert  TokenType = "cert"
)

Jump to

Keyboard shortcuts

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