Documentation ¶
Index ¶
- type WorkloadAPI
- func (w *WorkloadAPI) Addr() string
- func (w *WorkloadAPI) SetJWTBundles(jwtBundles ...*jwtbundle.Bundle)
- func (w *WorkloadAPI) SetJWTSVIDResponse(r *workload.JWTSVIDResponse)
- func (w *WorkloadAPI) SetX509Bundles(x509Bundles ...*x509bundle.Bundle)
- func (w *WorkloadAPI) SetX509SVIDResponse(r *X509SVIDResponse)
- func (w *WorkloadAPI) Stop()
- type X509SVIDResponse
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 ¶
func (r *X509SVIDResponse) ToProto(tb testing.TB) *workload.X509SVIDResponse
Click to show internal directories.
Click to hide internal directories.