UNPKG

8.96 kBJavaScriptView Raw
1"use strict";
2/*
3 * Copyright © 2019 Atomist, Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17function __export(m) {
18 for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
19}
20Object.defineProperty(exports, "__esModule", { value: true });
21var GitHubCredentialsResolver_1 = require("./lib/handlers/common/GitHubCredentialsResolver");
22exports.GitHubCredentialsResolver = GitHubCredentialsResolver_1.GitHubCredentialsResolver;
23var ConfigurationBasedBasicCredentialsResolver_1 = require("./lib/handlers/common/ConfigurationBasedBasicCredentialsResolver");
24exports.ConfigurationBasedBasicCredentialsResolver = ConfigurationBasedBasicCredentialsResolver_1.ConfigurationBasedBasicCredentialsResolver;
25var Tag_1 = require("./lib/goal/common/Tag");
26exports.Tag = Tag_1.Tag;
27var Version_1 = require("./lib/goal/common/Version");
28exports.Version = Version_1.Version;
29var container_1 = require("./lib/goal/container/container");
30exports.Container = container_1.Container;
31exports.container = container_1.container;
32exports.ContainerProjectHome = container_1.ContainerProjectHome;
33var k8s_1 = require("./lib/goal/container/k8s");
34exports.K8sContainerFulfiller = k8s_1.K8sContainerFulfiller;
35var repositoryDrivenContainer_1 = require("./lib/goal/container/repositoryDrivenContainer");
36exports.hasRepositoryGoals = repositoryDrivenContainer_1.hasRepositoryGoals;
37exports.repositoryDrivenContainer = repositoryDrivenContainer_1.repositoryDrivenContainer;
38var DisplayDeployEnablement_1 = require("./lib/handlers/commands/DisplayDeployEnablement");
39exports.DisplayDeployEnablement = DisplayDeployEnablement_1.DisplayDeployEnablement;
40var SetDeployEnablement_1 = require("./lib/handlers/commands/SetDeployEnablement");
41exports.DisableDeploy = SetDeployEnablement_1.DisableDeploy;
42exports.EnableDeploy = SetDeployEnablement_1.EnableDeploy;
43exports.setDeployEnablement = SetDeployEnablement_1.setDeployEnablement;
44exports.SetDeployEnablementParameters = SetDeployEnablement_1.SetDeployEnablementParameters;
45var DefaultRepoRefResolver_1 = require("./lib/handlers/common/DefaultRepoRefResolver");
46exports.DefaultRepoRefResolver = DefaultRepoRefResolver_1.DefaultRepoRefResolver;
47var EphemeralLocalArtifactStore_1 = require("./lib/internal/artifact/local/EphemeralLocalArtifactStore");
48exports.EphemeralLocalArtifactStore = EphemeralLocalArtifactStore_1.EphemeralLocalArtifactStore;
49var executeTag_1 = require("./lib/internal/delivery/build/executeTag");
50exports.createGitTag = executeTag_1.createGitTag;
51exports.createTagForStatus = executeTag_1.createTagForStatus;
52exports.executeTag = executeTag_1.executeTag;
53var projectVersioner_1 = require("./lib/internal/delivery/build/local/projectVersioner");
54exports.executeVersioner = projectVersioner_1.executeVersioner;
55exports.getGoalVersion = projectVersioner_1.getGoalVersion;
56exports.goalInvocationVersion = projectVersioner_1.goalInvocationVersion;
57exports.readSdmVersion = projectVersioner_1.readSdmVersion;
58var configureSdm_1 = require("./lib/internal/machine/configureSdm");
59exports.configureSdm = configureSdm_1.configureSdm;
60var modes_1 = require("./lib/internal/machine/modes");
61exports.isInLocalMode = modes_1.isInLocalMode;
62exports.isGitHubAction = modes_1.isGitHubAction;
63exports.IsGitHubAction = modes_1.IsGitHubAction;
64exports.IsInLocalMode = modes_1.IsInLocalMode;
65var DashboardDisplayProgressLog_1 = require("./lib/log/DashboardDisplayProgressLog");
66exports.constructLogPath = DashboardDisplayProgressLog_1.constructLogPath;
67var RolarProgressLog_1 = require("./lib/log/RolarProgressLog");
68exports.RolarProgressLog = RolarProgressLog_1.RolarProgressLog;
69var machineFactory_1 = require("./lib/machine/machineFactory");
70exports.createSoftwareDeliveryMachine = machineFactory_1.createSoftwareDeliveryMachine;
71var toPublicRepo_1 = require("./lib/mapping/pushtest/toPublicRepo");
72exports.ToPublicRepo = toPublicRepo_1.ToPublicRepo;
73const github = require("./lib/util/github/ghub");
74exports.github = github;
75var github_1 = require("./lib/pack/github-goal-status/github");
76exports.gitHubGoalStatus = github_1.gitHubGoalStatus;
77exports.githubGoalStatusSupport = github_1.githubGoalStatusSupport;
78var goalState_1 = require("./lib/pack/goal-state/goalState");
79exports.goalState = goalState_1.goalState;
80exports.goalStateSupport = goalState_1.goalStateSupport;
81var exposeInfo_1 = require("./lib/pack/info/exposeInfo");
82exports.exposeInfo = exposeInfo_1.exposeInfo;
83exports.infoSupport = exposeInfo_1.infoSupport;
84var job_1 = require("./lib/pack/job/job");
85exports.jobSupport = job_1.jobSupport;
86var invokeCommand_1 = require("./lib/pack/job/invokeCommand");
87exports.invokeCommand = invokeCommand_1.invokeCommand;
88var tagRepo_1 = require("./lib/util/github/tagRepo");
89exports.tagRepo = tagRepo_1.tagRepo;
90var queryCommits_1 = require("./lib/util/graph/queryCommits");
91exports.fetchBranchTips = queryCommits_1.fetchBranchTips;
92exports.tipOfBranch = queryCommits_1.tipOfBranch;
93var lifecycleHelpers_1 = require("./lib/util/lifecycleHelpers");
94exports.truncateCommitMessage = lifecycleHelpers_1.truncateCommitMessage;
95var array_1 = require("./lib/util/misc/array");
96exports.toArray = array_1.toArray;
97var diffRendering_1 = require("./lib/util/slack/diffRendering");
98exports.renderCommitMessage = diffRendering_1.renderCommitMessage;
99__export(require("./lib/util/webhook/ImageLink"));
100var AbstractPreferenceStore_1 = require("./lib/internal/preferences/AbstractPreferenceStore");
101exports.AbstractPreferenceStore = AbstractPreferenceStore_1.AbstractPreferenceStore;
102var FilePreferenceStore_1 = require("./lib/internal/preferences/FilePreferenceStore");
103exports.FilePreferenceStoreFactory = FilePreferenceStore_1.FilePreferenceStoreFactory;
104var GraphQLPreferenceStore_1 = require("./lib/internal/preferences/GraphQLPreferenceStore");
105exports.GraphQLPreferenceStoreFactory = GraphQLPreferenceStore_1.GraphQLPreferenceStoreFactory;
106var TeamConfigurationPreferenceStore_1 = require("./lib/internal/preferences/TeamConfigurationPreferenceStore");
107exports.TeamConfigurationPreferenceStoreFactory = TeamConfigurationPreferenceStore_1.TeamConfigurationPreferenceStoreFactory;
108var KubernetesGoalScheduler_1 = require("./lib/pack/k8s/KubernetesGoalScheduler");
109exports.KubernetesGoalScheduler = KubernetesGoalScheduler_1.KubernetesGoalScheduler;
110exports.sanitizeName = KubernetesGoalScheduler_1.sanitizeName;
111exports.isConfiguredInEnv = KubernetesGoalScheduler_1.isConfiguredInEnv;
112var KubernetesJobDeletingGoalCompletionListener_1 = require("./lib/pack/k8s/KubernetesJobDeletingGoalCompletionListener");
113exports.KubernetesJobDeletingGoalCompletionListenerFactory = KubernetesJobDeletingGoalCompletionListener_1.KubernetesJobDeletingGoalCompletionListenerFactory;
114var goalScheduling_1 = require("./lib/pack/k8s/goalScheduling");
115exports.goalScheduling = goalScheduling_1.goalScheduling;
116exports.k8sGoalSchedulingSupport = goalScheduling_1.k8sGoalSchedulingSupport;
117var FileSystemGoalCacheArchiveStore_1 = require("./lib/goal/cache/FileSystemGoalCacheArchiveStore");
118exports.FileSystemGoalCacheArchiveStore = FileSystemGoalCacheArchiveStore_1.FileSystemGoalCacheArchiveStore;
119var CompressingGoalCache_1 = require("./lib/goal/cache/CompressingGoalCache");
120exports.CompressingGoalCache = CompressingGoalCache_1.CompressingGoalCache;
121var NoOpGoalCache_1 = require("./lib/goal/cache/NoOpGoalCache");
122exports.NoOpGoalCache = NoOpGoalCache_1.NoOpGoalCache;
123var notification_1 = require("./lib/pack/notification/notification");
124exports.notificationSupport = notification_1.notificationSupport;
125var goalCaching_1 = require("./lib/goal/cache/goalCaching");
126exports.cachePut = goalCaching_1.cachePut;
127exports.cacheRemove = goalCaching_1.cacheRemove;
128exports.cacheRestore = goalCaching_1.cacheRestore;
129var configure_1 = require("./lib/machine/configure");
130exports.configure = configure_1.configure;
131var configureYaml_1 = require("./lib/machine/yaml/configureYaml");
132exports.configureYaml = configureYaml_1.configureYaml;
133var generatorSupport_1 = require("./lib/pack/universal-generator/generatorSupport");
134exports.universalGeneratorSupport = generatorSupport_1.universalGeneratorSupport;
135var generator_1 = require("./lib/pack/universal-generator/generator");
136exports.universalGenerator = generator_1.universalGenerator;
137var assertGenerator_1 = require("./lib/pack/universal-generator/test/assertGenerator");
138exports.assertUniversalGenerator = assertGenerator_1.assertUniversalGenerator;
139//# sourceMappingURL=index.js.map
\No newline at end of file