// SPDX-License-Identifier: Apache-2.0
import { K8ClientService } from '../../integration/kube/k8-client/resources/service/k8-client-service.js';
export class SoloService extends K8ClientService {
    metadata;
    spec;
    status;
    clusterReference;
    context;
    deployment;
    constructor(metadata, spec, status, clusterReference, context, deployment) {
        super(metadata, spec, status);
        this.metadata = metadata;
        this.spec = spec;
        this.status = status;
        this.clusterReference = clusterReference;
        this.context = context;
        this.deployment = deployment;
    }
    static getFromK8Service(service, clusterReference, context, deployment) {
        return new SoloService(service.metadata, service.spec, service.status, clusterReference, context, deployment);
    }
}
//# sourceMappingURL=solo-service.js.map