File tree Expand file tree Collapse file tree 1 file changed +0
-41
lines changed
Expand file tree Collapse file tree 1 file changed +0
-41
lines changed Original file line number Diff line number Diff 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 } ;
You can’t perform that action at this time.
0 commit comments