Merge pull request #838 from crazy-max/fix-toolkit-class
Some checks failed
publish / publish (push) Has been cancelled
Some checks failed
publish / publish (push) Has been cancelled
toolkit: add missing classes
This commit is contained in:
@@ -14,6 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
import {GitHub} from './github';
|
||||||
import {Buildx} from './buildx/buildx';
|
import {Buildx} from './buildx/buildx';
|
||||||
import {Build as BuildxBuild} from './buildx/build';
|
import {Build as BuildxBuild} from './buildx/build';
|
||||||
import {Bake as BuildxBake} from './buildx/bake';
|
import {Bake as BuildxBake} from './buildx/bake';
|
||||||
@@ -22,8 +23,13 @@ import {Builder} from './buildx/builder';
|
|||||||
import {BuildKit} from './buildkit/buildkit';
|
import {BuildKit} from './buildkit/buildkit';
|
||||||
import {Compose} from './compose/compose';
|
import {Compose} from './compose/compose';
|
||||||
import {Install as ComposeInstall} from './compose/install';
|
import {Install as ComposeInstall} from './compose/install';
|
||||||
|
import {Cosign} from './cosign/cosign';
|
||||||
|
import {Install as CosignInstall} from './cosign/install';
|
||||||
|
import {Regctl} from './regclient/regctl';
|
||||||
|
import {Install as RegctlInstall} from './regclient/install';
|
||||||
import {Undock} from './undock/undock';
|
import {Undock} from './undock/undock';
|
||||||
import {GitHub} from './github';
|
import {Install as UndockInstall} from './undock/install';
|
||||||
|
import {Sigstore} from './sigstore/sigstore';
|
||||||
|
|
||||||
export interface ToolkitOpts {
|
export interface ToolkitOpts {
|
||||||
/**
|
/**
|
||||||
@@ -43,7 +49,13 @@ export class Toolkit {
|
|||||||
public buildkit: BuildKit;
|
public buildkit: BuildKit;
|
||||||
public compose: Compose;
|
public compose: Compose;
|
||||||
public composeInstall: ComposeInstall;
|
public composeInstall: ComposeInstall;
|
||||||
|
public cosign: Cosign;
|
||||||
|
public cosignInstall: CosignInstall;
|
||||||
|
public regctl: Regctl;
|
||||||
|
public regctlInstall: RegctlInstall;
|
||||||
|
public sigstore: Sigstore;
|
||||||
public undock: Undock;
|
public undock: Undock;
|
||||||
|
public undockInstall: UndockInstall;
|
||||||
|
|
||||||
constructor(opts: ToolkitOpts = {}) {
|
constructor(opts: ToolkitOpts = {}) {
|
||||||
this.github = new GitHub({token: opts.githubToken});
|
this.github = new GitHub({token: opts.githubToken});
|
||||||
@@ -55,6 +67,12 @@ export class Toolkit {
|
|||||||
this.buildkit = new BuildKit({buildx: this.buildx});
|
this.buildkit = new BuildKit({buildx: this.buildx});
|
||||||
this.compose = new Compose();
|
this.compose = new Compose();
|
||||||
this.composeInstall = new ComposeInstall();
|
this.composeInstall = new ComposeInstall();
|
||||||
|
this.cosign = new Cosign();
|
||||||
|
this.cosignInstall = new CosignInstall({buildx: this.buildx});
|
||||||
|
this.regctl = new Regctl();
|
||||||
|
this.regctlInstall = new RegctlInstall();
|
||||||
|
this.sigstore = new Sigstore();
|
||||||
this.undock = new Undock();
|
this.undock = new Undock();
|
||||||
|
this.undockInstall = new UndockInstall();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user