Search in sources :

Example 1 with HttpArtifactAccount

use of com.netflix.spinnaker.halyard.config.model.v1.artifacts.http.HttpArtifactAccount in project halyard by spinnaker.

the class HttpAddArtifactAccountCommand method buildArtifactAccount.

@Override
protected ArtifactAccount buildArtifactAccount(String accountName) {
    HttpArtifactAccount artifactAccount = new HttpArtifactAccount().setName(accountName);
    artifactAccount.setUsername(username).setPassword(password).setUsernamePasswordFile(usernamePasswordFile);
    return artifactAccount;
}
Also used : HttpArtifactAccount(com.netflix.spinnaker.halyard.config.model.v1.artifacts.http.HttpArtifactAccount)

Aggregations

HttpArtifactAccount (com.netflix.spinnaker.halyard.config.model.v1.artifacts.http.HttpArtifactAccount)1