Tabnine Logo
IgorProfileFactory
Code IndexAdd Tabnine to your IDE (free)

How to use
IgorProfileFactory
in
com.netflix.spinnaker.halyard.deploy.spinnaker.v1.profile

Best Java code snippets using com.netflix.spinnaker.halyard.deploy.spinnaker.v1.profile.IgorProfileFactory (Showing top 4 results out of 315)

origin: spinnaker/halyard

@Override
public List<Profile> getProfiles(DeploymentConfiguration deploymentConfiguration, SpinnakerRuntimeSettings endpoints) {
 List<Profile> profiles = super.getProfiles(deploymentConfiguration, endpoints);
 String filename = "igor.yml";
 String path = Paths.get(getConfigOutputPath(), filename).toString();
 Profile profile = igorProfileFactory.getProfile(filename, path, deploymentConfiguration, endpoints);
 profiles.add(profile);
 return profiles;
}
origin: spinnaker/halyard

 @Override
 public void setProfile(Profile profile, DeploymentConfiguration deploymentConfiguration, SpinnakerRuntimeSettings endpoints) {
  super.setProfile(profile, deploymentConfiguration, endpoints);
  Providers providers = deploymentConfiguration.getProviders();
  if (providers.getDockerRegistry().isEnabled()) {
   profile.appendContents("dockerRegistry.enabled: true");
  }

  Cis cis = deploymentConfiguration.getCi();
  List<String> files = backupRequiredFiles(cis, deploymentConfiguration.getName());
  profile.appendContents(yamlToString(cis))
    .appendContents(profile.getBaseContents())
    .setRequiredFiles(files);
 }
}
origin: com.netflix.spinnaker.halyard/halyard-deploy

 @Override
 public void setProfile(Profile profile, DeploymentConfiguration deploymentConfiguration, SpinnakerRuntimeSettings endpoints) {
  super.setProfile(profile, deploymentConfiguration, endpoints);
  Providers providers = deploymentConfiguration.getProviders();
  if (providers.getDockerRegistry().isEnabled()) {
   profile.appendContents("dockerRegistry.enabled: true");
  }

  Cis cis = deploymentConfiguration.getCi();
  List<String> files = backupRequiredFiles(cis, deploymentConfiguration.getName());
  profile.appendContents(yamlToString(cis))
    .appendContents(profile.getBaseContents())
    .setRequiredFiles(files);
 }
}
origin: com.netflix.spinnaker.halyard/halyard-deploy

@Override
public List<Profile> getProfiles(DeploymentConfiguration deploymentConfiguration, SpinnakerRuntimeSettings endpoints) {
 List<Profile> profiles = super.getProfiles(deploymentConfiguration, endpoints);
 String filename = "igor.yml";
 String path = Paths.get(getConfigOutputPath(), filename).toString();
 Profile profile = igorProfileFactory.getProfile(filename, path, deploymentConfiguration, endpoints);
 profiles.add(profile);
 return profiles;
}
com.netflix.spinnaker.halyard.deploy.spinnaker.v1.profileIgorProfileFactory

Most used methods

  • backupRequiredFiles
  • getProfile
  • yamlToString

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getContentResolver (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getApplicationContext (Context)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • String (java.lang)
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now