Documentation ¶
Index ¶
- type Fake
- func (f *Fake) ControlPlaneNamespace() string
- func (f *Fake) ControlPlaneTrustDomain() spiffeid.TrustDomain
- func (f *Fake) CurrentTrustAnchors(ctx context.Context) ([]byte, error)
- func (f *Fake) GRPCDialOption(id spiffeid.ID) grpc.DialOption
- func (f *Fake) GRPCDialOptionMTLS(id spiffeid.ID) grpc.DialOption
- func (f *Fake) GRPCDialOptionMTLSUnknownTrustDomain(ns, appID string) grpc.DialOption
- func (f *Fake) GRPCServerOptionMTLS() grpc.ServerOption
- func (f *Fake) GRPCServerOptionNoClientAuth() grpc.ServerOption
- func (f *Fake) Handler(context.Context) (security.Handler, error)
- func (f *Fake) MTLSEnabled() bool
- func (f *Fake) NetDialerID(ctx context.Context, id spiffeid.ID, timeout time.Duration) func(network, addr string) (net.Conn, error)
- func (f *Fake) NetListenerID(l net.Listener, id spiffeid.ID) net.Listener
- func (f *Fake) Run(ctx context.Context) error
- func (f *Fake) TLSServerConfigMTLS(td spiffeid.TrustDomain) (*tls.Config, error)
- func (f *Fake) TLSServerConfigNoClientAuth() *tls.Config
- func (f *Fake) TLSServerConfigNoClientAuthOption(cfg *tls.Config)
- func (f *Fake) WatchTrustAnchors(ctx context.Context, ch chan<- []byte)
- func (f *Fake) WithControlPlaneNamespaceFn(fn func() string) *Fake
- func (f *Fake) WithControlPlaneTrustDomainFn(fn func() spiffeid.TrustDomain) *Fake
- func (f *Fake) WithCurrentTrustAnchorsFn(fn func(context.Context) ([]byte, error)) *Fake
- func (f *Fake) WithGRPCDialOptionFn(fn func(spiffeid.ID) grpc.DialOption) *Fake
- func (f *Fake) WithGRPCDialOptionMTLSFn(fn func(spiffeid.ID) grpc.DialOption) *Fake
- func (f *Fake) WithGRPCDialOptionMTLSUnknownTrustDomainFn(fn func(ns, appID string) grpc.DialOption) *Fake
- func (f *Fake) WithGRPCServerOptionMTLSFn(fn func() grpc.ServerOption) *Fake
- func (f *Fake) WithGRPCServerOptionNoClientAuthFn(fn func() grpc.ServerOption) *Fake
- func (f *Fake) WithMTLSEnabled(mtls bool) *Fake
- func (f *Fake) WithNetDialerIDFn(...) *Fake
- func (f *Fake) WithNetListenerIDFn(fn func(net.Listener, spiffeid.ID) net.Listener) *Fake
- func (f *Fake) WithSVIDContext(ctx context.Context) context.Context
- func (f *Fake) WithTLSServerConfigMTLSFn(fn func(spiffeid.TrustDomain) (*tls.Config, error)) *Fake
- func (f *Fake) WithTLSServerConfigNoClientAuthFn(fn func() *tls.Config) *Fake
- func (f *Fake) WithTLSServerConfigNoClientAuthOptionFn(fn func(*tls.Config)) *Fake
- func (f *Fake) WithWatchTrustAnchorsFn(fn func(context.Context, chan<- []byte)) *Fake
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fake ¶
type Fake struct {
// contains filtered or unexported fields
}
func (*Fake) ControlPlaneNamespace ¶
func (*Fake) ControlPlaneTrustDomain ¶
func (f *Fake) ControlPlaneTrustDomain() spiffeid.TrustDomain
func (*Fake) CurrentTrustAnchors ¶
func (*Fake) GRPCDialOption ¶
func (f *Fake) GRPCDialOption(id spiffeid.ID) grpc.DialOption
func (*Fake) GRPCDialOptionMTLS ¶
func (f *Fake) GRPCDialOptionMTLS(id spiffeid.ID) grpc.DialOption
func (*Fake) GRPCDialOptionMTLSUnknownTrustDomain ¶
func (f *Fake) GRPCDialOptionMTLSUnknownTrustDomain(ns, appID string) grpc.DialOption
func (*Fake) GRPCServerOptionMTLS ¶
func (f *Fake) GRPCServerOptionMTLS() grpc.ServerOption
func (*Fake) GRPCServerOptionNoClientAuth ¶
func (f *Fake) GRPCServerOptionNoClientAuth() grpc.ServerOption
func (*Fake) MTLSEnabled ¶
func (*Fake) NetDialerID ¶
func (*Fake) NetListenerID ¶
func (*Fake) TLSServerConfigMTLS ¶
func (*Fake) TLSServerConfigNoClientAuth ¶
func (*Fake) TLSServerConfigNoClientAuthOption ¶
func (*Fake) WatchTrustAnchors ¶
func (*Fake) WithControlPlaneNamespaceFn ¶
func (*Fake) WithControlPlaneTrustDomainFn ¶
func (f *Fake) WithControlPlaneTrustDomainFn(fn func() spiffeid.TrustDomain) *Fake
func (*Fake) WithCurrentTrustAnchorsFn ¶
func (*Fake) WithGRPCDialOptionFn ¶
func (*Fake) WithGRPCDialOptionMTLSFn ¶
func (*Fake) WithGRPCDialOptionMTLSUnknownTrustDomainFn ¶
func (f *Fake) WithGRPCDialOptionMTLSUnknownTrustDomainFn(fn func(ns, appID string) grpc.DialOption) *Fake
func (*Fake) WithGRPCServerOptionMTLSFn ¶
func (f *Fake) WithGRPCServerOptionMTLSFn(fn func() grpc.ServerOption) *Fake
func (*Fake) WithGRPCServerOptionNoClientAuthFn ¶
func (f *Fake) WithGRPCServerOptionNoClientAuthFn(fn func() grpc.ServerOption) *Fake
func (*Fake) WithMTLSEnabled ¶
func (*Fake) WithNetDialerIDFn ¶
func (*Fake) WithNetListenerIDFn ¶
func (*Fake) WithTLSServerConfigMTLSFn ¶
func (*Fake) WithTLSServerConfigNoClientAuthFn ¶
func (*Fake) WithTLSServerConfigNoClientAuthOptionFn ¶
Click to show internal directories.
Click to hide internal directories.