@hashgraph/solo
Version:
An opinionated CLI tool to deploy and manage private Hedera Networks.
17 lines (16 loc) • 793 B
TypeScript
import { type Rbacs } from '../../../resources/rbac/rbacs.js';
import { type RbacAuthorizationV1Api } from '@kubernetes/client-node';
export declare class K8ClientRbacs implements Rbacs {
private readonly k8sRbacApi;
constructor(k8sRbacApi: RbacAuthorizationV1Api);
createClusterRole(name: string, rules: Array<{
apiGroups: string[];
resources: string[];
verbs: string[];
}>, labels?: Record<string, string>): Promise<void>;
clusterRoleExists(name: string): Promise<boolean>;
deleteClusterRole(name: string): Promise<void>;
clusterRoleBindingExists(name: string): Promise<boolean>;
deleteClusterRoleBinding(name: string): Promise<void>;
setHelmOwnership(name: string, releaseName: string, releaseNamespace: string): Promise<void>;
}