@hashgraph/solo
Version:
An opinionated CLI tool to deploy and manage private Hedera Networks.
16 lines (15 loc) • 925 B
TypeScript
import { type Services } from '../../../resources/service/services.js';
import { type NamespaceName } from '../../../../../types/namespace/namespace-name.js';
import { type CoreV1Api } from '@kubernetes/client-node';
import { K8ClientBase } from '../../k8-client-base.js';
import { type Service } from '../../../resources/service/service.js';
import { type ServiceReference } from '../../../resources/service/service-reference.js';
export declare class K8ClientServices extends K8ClientBase implements Services {
private readonly kubeClient;
constructor(kubeClient: CoreV1Api);
list(namespace: NamespaceName, labels?: string[]): Promise<Service[]>;
read(namespace: NamespaceName, name: string): Promise<Service>;
private readV1Service;
private wrapService;
create(serviceReference: ServiceReference, labels: Record<string, string>, servicePort: number, podTargetPort: number): Promise<Service>;
}