Help us shape the future of Go! Take the 2026 Go Developer Survey

fakeworkloadapi

package
v2.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: Apache-2.0 Imports: 24 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) SetWITBundles added in v2.7.0

func (w *WorkloadAPI) SetWITBundles(bundles ...*witbundle.Bundle)

func (*WorkloadAPI) SetWITBundlesError added in v2.7.0

func (w *WorkloadAPI) SetWITBundlesError(err error)

func (*WorkloadAPI) SetWITSVIDError added in v2.7.0

func (w *WorkloadAPI) SetWITSVIDError(err error)

func (*WorkloadAPI) SetWITSVIDResponse added in v2.7.0

func (w *WorkloadAPI) SetWITSVIDResponse(r *workload.WITSVIDResponse)

func (*WorkloadAPI) SetX509Bundles added in v2.1.0

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