// SPDX-License-Identifier: Apache-2.0
/**
 * Options for the `kind cluster delete` command.
 */
export class LoadImageArchiveOptions {
    /**
     * The name of the cluster context name (default "kind")
     */
    _name;
    /**
     * comma separated list of nodes to load images into
     */
    _nodes;
    constructor(name, nodes) {
        if (name) {
            this._name = name;
        }
        if (nodes) {
            this._nodes = nodes;
        }
    }
    /**
     * Apply the options to the KindExecutionBuilder.
     * @param builder The KindExecutionBuilder to apply options to.
     */
    apply(builder) {
        if (this._name) {
            builder.argument('name', this._name);
        }
        if (this._nodes) {
            builder.argument('nodes', this._nodes);
        }
    }
    /**
     * The name of the cluster.
     */
    get name() {
        return this._name;
    }
    /**
     * The nodes to load images into.
     */
    get nodes() {
        return this._nodes;
    }
}
//# sourceMappingURL=load-image-archive-options.js.map