// SPDX-License-Identifier: Apache-2.0
import { ResourceReference } from '../resource-reference.js';
/**
 * Represents a Kubernetes service reference which includes the namespace name and service name.
 */
export class ServiceReference extends ResourceReference {
    constructor(namespace, name) {
        super(namespace, name);
    }
    /**
     * Creates a service reference.
     * @param namespace The namespace name.
     * @param serviceName The service name.
     */
    static of(namespace, serviceName) {
        return new ServiceReference(namespace, serviceName);
    }
}
//# sourceMappingURL=service-reference.js.map