fakeworkloadapi

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result interface {
	// contains filtered or unexported methods
}

func FetchX509SVIDErrorAlways

func FetchX509SVIDErrorAlways(err error) Result

func FetchX509SVIDErrorOnce

func FetchX509SVIDErrorOnce(err error) Result

func FetchX509SVIDResponses

func FetchX509SVIDResponses(responses ...*workload.X509SVIDResponse) Result

type WorkloadAPI

type WorkloadAPI struct {
	workload.UnimplementedSpiffeWorkloadAPIServer
	// contains filtered or unexported fields
}

func New

func New(t *testing.T, results ...Result) *WorkloadAPI

func (*WorkloadAPI) Addr

func (w *WorkloadAPI) Addr() *net.UnixAddr

func (*WorkloadAPI) FetchJWTSVID

func (*WorkloadAPI) FetchX509SVID

Jump to

Keyboard shortcuts

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