Tabnine Logo
DeckProfileFactory.getProfile
Code IndexAdd Tabnine to your IDE (free)

How to use
getProfile
method
in
com.netflix.spinnaker.halyard.deploy.spinnaker.v1.profile.deck.DeckProfileFactory

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

origin: com.netflix.spinnaker.halyard/halyard-deploy

@Override
public List<Profile> getProfiles(DeploymentConfiguration deploymentConfiguration, SpinnakerRuntimeSettings endpoints) {
 List<Profile> result = new ArrayList<>();
 result.add(deckProfileFactory.getProfile(deskSettingsPath, deckPath, deploymentConfiguration, endpoints));
 return result;
}
origin: spinnaker/halyard

@Override
public List<Profile> getProfiles(DeploymentConfiguration deploymentConfiguration, SpinnakerRuntimeSettings endpoints) {
 List<Profile> result = new ArrayList<>();
 String apache2Path = "/etc/apache2/";
 String sitePath = "/etc/apache2/sites-available/";
 String filename = "settings.js";
 String path = Paths.get(htmlPath, filename).toString();
 result.add(deckProfileFactory.getProfile(filename, path, deploymentConfiguration, endpoints));
 filename = "passphrase";
 path = Paths.get(apache2Path, filename).toString();
 result.add(apachePassphraseProfileFactory.getProfile("apache2/" + filename, path, deploymentConfiguration, endpoints).setExecutable(true));
 filename = "ports.conf";
 path = Paths.get(apache2Path, filename).toString();
 result.add(apachePortsProfileFactory.getProfile("apache2/" + filename, path, deploymentConfiguration, endpoints));
 filename = "spinnaker.conf";
 path = Paths.get(sitePath, filename).toString();
 result.add(apacheSpinnakerProfileFactory.getProfile("apache2/" + filename, path, deploymentConfiguration, endpoints));
 return result;
}
origin: com.netflix.spinnaker.halyard/halyard-deploy

@Override
public List<Profile> getProfiles(DeploymentConfiguration deploymentConfiguration, SpinnakerRuntimeSettings endpoints) {
 List<Profile> result = new ArrayList<>();
 String apache2Path = "/etc/apache2/";
 String sitePath = "/etc/apache2/sites-available/";
 String filename = "settings.js";
 String path = Paths.get(htmlPath, filename).toString();
 result.add(deckProfileFactory.getProfile(filename, path, deploymentConfiguration, endpoints));
 filename = "passphrase";
 path = Paths.get(apache2Path, filename).toString();
 result.add(apachePassphraseProfileFactory.getProfile("apache2/" + filename, path, deploymentConfiguration, endpoints).setExecutable(true));
 filename = "ports.conf";
 path = Paths.get(apache2Path, filename).toString();
 result.add(apachePortsProfileFactory.getProfile("apache2/" + filename, path, deploymentConfiguration, endpoints));
 filename = "spinnaker.conf";
 path = Paths.get(sitePath, filename).toString();
 result.add(apacheSpinnakerProfileFactory.getProfile("apache2/" + filename, path, deploymentConfiguration, endpoints));
 return result;
}
origin: spinnaker/halyard

@Override
public List<Profile> getProfiles(DeploymentConfiguration deploymentConfiguration, SpinnakerRuntimeSettings endpoints) {
 List<Profile> result = new ArrayList<>();
 Profile deckProfile = deckProfileFactory.getProfile(deckSettingsPath, deckPath, deploymentConfiguration, endpoints);
 String deploymentName = deploymentConfiguration.getName();
 Path userProfilePath = halconfigDirectoryStructure.getUserProfilePath(deploymentName);
 Optional<Profile> settingsLocalProfile = this.customProfile(
   deploymentConfiguration,
   endpoints,
   Paths.get(userProfilePath.toString(), deckSettingsLocalPath),
   deckSettingsLocalPath);
 settingsLocalProfile.ifPresent(p -> deckProfile.appendContents(p.getContents()));
 result.add(deckProfile);
 return result;
}
com.netflix.spinnaker.halyard.deploy.spinnaker.v1.profile.deckDeckProfileFactorygetProfile

Popular methods of DeckProfileFactory

  • backupRequiredFiles
  • setProfile

Popular in Java

  • Start an intent from android
  • compareTo (BigDecimal)
  • getSupportFragmentManager (FragmentActivity)
  • getSystemService (Context)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • Top 12 Jupyter Notebook extensions
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