token

package
v0.0.0-...-b2ebdcc Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 16 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(platform types.Platform, cluster *base.ClusterContext) []string

func (*CreateTester) Run

func (t *CreateTester) Run(platform types.Platform, 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