import { Result } from '@c6o/kubeclient-contracts'; import { ProvisionerBase, IngressParameters, AppResource } from '@provisioner/contracts'; export interface IstioProvisioner extends ProvisionerBase { upsertVirtualService(app: AppResource, gateway: string): Promise; removeVirtualService(app: AppResource): Promise; getApplicationPrefix(appName: string, namespace: string): string; createGateway(namespace: string, name: string, servers?: any): Promise; removeGateway(namespace: string, name: string): Promise; getExternalAddress(): Promise; setHttpsRedirect(enable: boolean): Promise; }