fakeworkloadapi

package
v0.53.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WorkloadAPI

type WorkloadAPI struct {
	// contains filtered or unexported fields
}

func New

func New(tb testing.TB) *WorkloadAPI

func (*WorkloadAPI) Addr

func (w *WorkloadAPI) Addr() string

func (*WorkloadAPI) SetJWTBundles

func (w *WorkloadAPI) SetJWTBundles(jwtBundles ...*jwtbundle.Bundle)

func (*WorkloadAPI) SetJWTSVIDResponse

func (w *WorkloadAPI) SetJWTSVIDResponse(r *workload.JWTSVIDResponse)

func (*WorkloadAPI) SetX509Bundles

func (w *WorkloadAPI) SetX509Bundles(x509Bundles ...*x509bundle.Bundle)

func (*WorkloadAPI) SetX509SVIDResponse

func (w *WorkloadAPI) SetX509SVIDResponse(r *X509SVIDResponse)

func (*WorkloadAPI) Stop

func (w *WorkloadAPI) Stop()

type X509SVIDResponse

type X509SVIDResponse struct {
	SVIDs            []*x509svid.SVID
	Bundle           *x509bundle.Bundle
	FederatedBundles []*x509bundle.Bundle
}

func (*X509SVIDResponse) ToProto

Jump to

Keyboard shortcuts

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