Skip to content

Commit b8d51be

Browse files
committed
Remove odo create git and binary components
Signed-off-by: Denis Golovin dgolovin@redhat.com
1 parent 86b47de commit b8d51be

File tree

1 file changed

+0
-41
lines changed

1 file changed

+0
-41
lines changed

src/odo/command.ts

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -449,47 +449,6 @@ export class Command {
449449
return cTxt;
450450
}
451451

452-
@verbose
453-
static createGitComponent(
454-
project: string,
455-
app: string,
456-
type: string,
457-
version: string,
458-
name: string,
459-
git: string,
460-
ref: string,
461-
): CommandText {
462-
const cTxt = new CommandText('odo create', `${type}${version?':':''}${version?version:''} ${name}`);
463-
if (version) {
464-
cTxt.addOption(new CommandOption('--s2i'));
465-
}
466-
return cTxt.addOption(new CommandOption('--git', git))
467-
.addOption(new CommandOption('--ref', ref))
468-
.addOption(new CommandOption('--app', app))
469-
.addOption(new CommandOption('--project', project));
470-
}
471-
472-
@verbose
473-
static createBinaryComponent(
474-
project: string,
475-
app: string,
476-
type: string,
477-
version: string,
478-
name: string,
479-
binary: string,
480-
context: string,
481-
): CommandText {
482-
const cTxt = new CommandText('odo create', `${type}:${version} ${name}`);
483-
if (version) {
484-
cTxt.addOption(new CommandOption('--s2i'));
485-
}
486-
cTxt.addOption(new CommandOption('--binary', binary))
487-
.addOption(new CommandOption('--app', app))
488-
.addOption(new CommandOption('--project', project))
489-
.addOption(new CommandOption('--context', `"${context}"`));
490-
return cTxt;
491-
}
492-
493452
static testComponent(): CommandText {
494453
return new CommandText('odo test --show-log');
495454
};

0 commit comments

Comments
 (0)