Documentation ¶
Index ¶
Constants ¶
View Source
const InterpreterDepsKey = "interpreter"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dependencies ¶
type Dependencies struct {
Deps Deps
}
Dependencies implements the Interface. Any deps which are nil will produce an explicit error.
func NewDefaults ¶
func NewDefaults() Dependencies
NewDefaults produces a set of dependencies. Not all dependencies have valid defaults and will not be set.
func (Dependencies) HTTPClient ¶
func (d Dependencies) HTTPClient() (*http.Client, error)
func (Dependencies) SecretService ¶
func (d Dependencies) SecretService() (secret.Service, error)
func (Dependencies) URLValidator ¶
func (d Dependencies) URLValidator() (url.Validator, error)
Click to show internal directories.
Click to hide internal directories.