Documentation ¶
Index ¶
- type FakeTLS
- func (f *FakeTLS) Config(ctx context.Context) (*tls.Config, error)
- func (f *FakeTLS) RootCAs(ctx context.Context) *rootca.RootCAs
- func (f *FakeTLS) SubscribeRootCAsEvent() <-chan event.GenericEvent
- func (f *FakeTLS) TrustDomain() string
- func (f *FakeTLS) WithRootCAs(rootCAsPEM []byte, rootCAsPool *x509.CertPool) *FakeTLS
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeTLS ¶
type FakeTLS struct {
// contains filtered or unexported fields
}
FakeTLS is a fake implementation of tls.Interface that can be used for testing.
func (*FakeTLS) SubscribeRootCAsEvent ¶
func (f *FakeTLS) SubscribeRootCAsEvent() <-chan event.GenericEvent
func (*FakeTLS) TrustDomain ¶
Click to show internal directories.
Click to hide internal directories.