fakeworkloadapi

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 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 {
	// 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