Class HelmArtifactCredentials

    • Field Detail

      • CREDENTIALS_TYPE

        public static final java.lang.String CREDENTIALS_TYPE
        See Also:
        Constant Field Values
    • Constructor Detail

      • HelmArtifactCredentials

        public HelmArtifactCredentials​(HelmArtifactAccount account,
                                       com.squareup.okhttp.OkHttpClient okHttpClient)
    • Method Detail

      • download

        public java.io.InputStream download​(com.netflix.spinnaker.kork.artifacts.model.Artifact artifact)
                                     throws java.io.IOException
        Description copied from interface: ArtifactCredentials
        Download the specified artifact
        Specified by:
        download in interface ArtifactCredentials
        Returns:
        a stream containing the contents of artifact. It is the caller's responsibility to close this stream as soon as possible.
        Throws:
        java.io.IOException
      • getType

        public java.lang.String getType()
        Specified by:
        getType in interface com.netflix.spinnaker.credentials.Credentials