Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorOnlyConfig ¶
type ErrorOnlyConfig struct {
Msg string
}
ErrorOnlyConfig is used to set up a mock adapter that only returns errors. To be used for testing.
func (*ErrorOnlyConfig) Open ¶
func (cfg *ErrorOnlyConfig) Open(_ *certs.ServiceCerts, logger *zap.Logger, _ tokens.ProjectValidator) (tokens.Storage, error)
Open is for instantiating the error-only mock adapter
Click to show internal directories.
Click to hide internal directories.