Skip to content

Commit f592739

Browse files
authored
Merge pull request #838 from crazy-max/fix-toolkit-class
toolkit: add missing classes
2 parents dd75959 + 18535e8 commit f592739

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

src/toolkit.ts

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17+
import {GitHub} from './github';
1718
import {Buildx} from './buildx/buildx';
1819
import {Build as BuildxBuild} from './buildx/build';
1920
import {Bake as BuildxBake} from './buildx/bake';
@@ -22,8 +23,13 @@ import {Builder} from './buildx/builder';
2223
import {BuildKit} from './buildkit/buildkit';
2324
import {Compose} from './compose/compose';
2425
import {Install as ComposeInstall} from './compose/install';
26+
import {Cosign} from './cosign/cosign';
27+
import {Install as CosignInstall} from './cosign/install';
28+
import {Regctl} from './regclient/regctl';
29+
import {Install as RegctlInstall} from './regclient/install';
2530
import {Undock} from './undock/undock';
26-
import {GitHub} from './github';
31+
import {Install as UndockInstall} from './undock/install';
32+
import {Sigstore} from './sigstore/sigstore';
2733

2834
export interface ToolkitOpts {
2935
/**
@@ -43,7 +49,13 @@ export class Toolkit {
4349
public buildkit: BuildKit;
4450
public compose: Compose;
4551
public composeInstall: ComposeInstall;
52+
public cosign: Cosign;
53+
public cosignInstall: CosignInstall;
54+
public regctl: Regctl;
55+
public regctlInstall: RegctlInstall;
56+
public sigstore: Sigstore;
4657
public undock: Undock;
58+
public undockInstall: UndockInstall;
4759

4860
constructor(opts: ToolkitOpts = {}) {
4961
this.github = new GitHub({token: opts.githubToken});
@@ -55,6 +67,12 @@ export class Toolkit {
5567
this.buildkit = new BuildKit({buildx: this.buildx});
5668
this.compose = new Compose();
5769
this.composeInstall = new ComposeInstall();
70+
this.cosign = new Cosign();
71+
this.cosignInstall = new CosignInstall({buildx: this.buildx});
72+
this.regctl = new Regctl();
73+
this.regctlInstall = new RegctlInstall();
74+
this.sigstore = new Sigstore();
5875
this.undock = new Undock();
76+
this.undockInstall = new UndockInstall();
5977
}
6078
}

0 commit comments

Comments
 (0)