Class GitHubArtifactCredentials
- java.lang.Object
-
- com.netflix.spinnaker.clouddriver.artifacts.config.BaseHttpArtifactCredentials<T>
-
- com.netflix.spinnaker.clouddriver.artifacts.config.SimpleHttpArtifactCredentials<GitHubArtifactAccount>
-
- com.netflix.spinnaker.clouddriver.artifacts.github.GitHubArtifactCredentials
-
- All Implemented Interfaces:
ArtifactCredentials,com.netflix.spinnaker.credentials.Credentials
public class GitHubArtifactCredentials extends SimpleHttpArtifactCredentials<GitHubArtifactAccount> implements ArtifactCredentials
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCREDENTIALS_TYPE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.squareup.okhttp.HttpUrlgetDownloadUrl(com.netflix.spinnaker.kork.artifacts.model.Artifact artifact)protected com.squareup.okhttp.HeadersgetHeaders(GitHubArtifactAccount account)java.lang.StringgetType()-
Methods inherited from class com.netflix.spinnaker.clouddriver.artifacts.config.SimpleHttpArtifactCredentials
download
-
Methods inherited from class com.netflix.spinnaker.clouddriver.artifacts.config.BaseHttpArtifactCredentials
fetchUrl, fetchUrl, parseUrl
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.netflix.spinnaker.clouddriver.artifacts.config.ArtifactCredentials
download, getArtifactNames, getArtifactVersions, getName, getTypes, handlesType, resolveArtifactName, resolveArtifactVersion
-
-
-
-
Field Detail
-
CREDENTIALS_TYPE
public static final java.lang.String CREDENTIALS_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getHeaders
protected com.squareup.okhttp.Headers getHeaders(GitHubArtifactAccount account)
- Overrides:
getHeadersin classBaseHttpArtifactCredentials<GitHubArtifactAccount>
-
getDownloadUrl
protected com.squareup.okhttp.HttpUrl getDownloadUrl(com.netflix.spinnaker.kork.artifacts.model.Artifact artifact) throws java.io.IOException- Overrides:
getDownloadUrlin classSimpleHttpArtifactCredentials<GitHubArtifactAccount>- Throws:
java.io.IOException
-
getType
public java.lang.String getType()
- Specified by:
getTypein interfacecom.netflix.spinnaker.credentials.Credentials
-
-