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 implemnents 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() (SecretService, error)
func (Dependencies) URLValidator ¶
func (d Dependencies) URLValidator() (url.Validator, error)
type Deps ¶
type Deps struct { HTTPClient *http.Client SecretService SecretService URLValidator url.Validator }
type EnvironmentSecretService ¶
type EnvironmentSecretService struct { }
func (EnvironmentSecretService) LoadSecret ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.