@adpt/cloud
Version:
AdaptJS cloud component library
26 lines • 995 B
TypeScript
import { SFCDeclProps } from "@adpt/core";
import { NetworkServiceProps } from "../NetworkService";
declare const defaultProps: {
protocol: string;
scope: string;
};
/**
* Docker network service component, compatible with the abstract
* {@link NetworkService} component.
*
* @remarks
*
* Implements the {@link NetworkServiceInstance} interface.
* In a Docker deployment, there is no actual network service object to deploy.
* So this is a "virtual" component that simply implements the required
* instance methods for a NetworkService, but renders to null.
*
* This component is typically used by {@link docker.ServiceContainerSet}. The
* {@link docker.ServiceContainerSet} component can be used to ensure the proper
* network port configuration is applied to the `props.endpoint` container.
*
* @public
*/
export declare function NetworkService(props: SFCDeclProps<NetworkServiceProps, typeof defaultProps>): null;
export {};
//# sourceMappingURL=NetworkService.d.ts.map