// SPDX-License-Identifier: Apache-2.0
import { NestedResourceReference } from '../nested-resource-reference.js';
/**
 * Represents a Kubernetes pod reference which includes the namespace name and pod name.
 */
export class ContainerReference extends NestedResourceReference {
    constructor(parentReference, name) {
        super(parentReference, name);
    }
    /**
     * Creates a container reference.
     * @param podRef The namespace name.
     * @param containerName The pod name.
     */
    static of(podReference, containerName) {
        return new ContainerReference(podReference, containerName);
    }
}
//# sourceMappingURL=container-reference.js.map