fakeworkloadapi

package
v1.9.4 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeRequest added in v1.6.0

type FakeRequest struct {
	Req  proto.Message
	Resp proto.Message
	Err  error
}

type WorkloadAPI

type WorkloadAPI struct {
	workload.UnimplementedSpiffeWorkloadAPIServer

	ExpFetchJWTSVIDReq    *workload.JWTSVIDRequest
	ExpFetchJWTBundlesReq *workload.JWTBundlesRequest
	// contains filtered or unexported fields
}

func New

func New(t *testing.T, responses ...*FakeRequest) *WorkloadAPI

func (*WorkloadAPI) Addr

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

func (*WorkloadAPI) FetchJWTSVID

func (*WorkloadAPI) FetchX509SVID

Jump to

Keyboard shortcuts

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