@docker/actions-toolkit
Version:
Toolkit for Docker (GitHub) Actions
68 lines • 2.63 kB
JavaScript
/**
* Copyright 2023 actions-toolkit authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { GitHub } from './github/github.js';
import { Buildx } from './buildx/buildx.js';
import { Build as BuildxBuild } from './buildx/build.js';
import { Bake as BuildxBake } from './buildx/bake.js';
import { Install as BuildxInstall } from './buildx/install.js';
import { Builder } from './buildx/builder.js';
import { BuildKit } from './buildkit/buildkit.js';
import { Compose } from './compose/compose.js';
import { Install as ComposeInstall } from './compose/install.js';
import { Cosign } from './cosign/cosign.js';
import { Install as CosignInstall } from './cosign/install.js';
import { Regctl } from './regclient/regctl.js';
import { Install as RegctlInstall } from './regclient/install.js';
import { Undock } from './undock/undock.js';
import { Install as UndockInstall } from './undock/install.js';
import { Sigstore } from './sigstore/sigstore.js';
export class Toolkit {
github;
buildx;
buildxBuild;
buildxBake;
buildxInstall;
builder;
buildkit;
compose;
composeInstall;
cosign;
cosignInstall;
regctl;
regctlInstall;
sigstore;
undock;
undockInstall;
constructor(opts = {}) {
this.github = new GitHub({ token: opts.githubToken });
this.buildx = new Buildx();
this.buildxBuild = new BuildxBuild({ buildx: this.buildx });
this.buildxBake = new BuildxBake({ buildx: this.buildx });
this.buildxInstall = new BuildxInstall();
this.builder = new Builder({ buildx: this.buildx });
this.buildkit = new BuildKit({ buildx: this.buildx });
this.compose = new Compose();
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.undockInstall = new UndockInstall();
}
}
//# sourceMappingURL=toolkit.js.map