Authorization contains HTTP authorization credentials.
| 145 | |
| 146 | // Authorization contains HTTP authorization credentials. |
| 147 | type Authorization struct { |
| 148 | Type string `yaml:"type,omitempty" json:"type,omitempty"` |
| 149 | Credentials Secret `yaml:"credentials,omitempty" json:"credentials,omitempty"` |
| 150 | CredentialsFile string `yaml:"credentials_file,omitempty" json:"credentials_file,omitempty"` |
| 151 | } |
| 152 | |
| 153 | // SetDirectory joins any relative file paths with dir. |
| 154 | func (a *Authorization) SetDirectory(dir string) { |
nothing calls this directly
no outgoing calls
no test coverage detected