pmcf
Version:
Poor mans configuration management
53 lines (52 loc) • 1.69 kB
text/typescript
export function subnets(sources: any): Set<any>;
export class Subnet extends Base {
static get typeDefinition(): {
name: string;
owners: string[];
constructWithIdentifierOnly: boolean;
key: string;
attributes: {
address: import("pacc").AttributeDefinition;
networks: {
type: string;
collection: boolean;
isKey: boolean;
writable: boolean;
mandatory: boolean;
private?: boolean;
depends?: string;
description?: string;
default?: any;
set?: Function;
get?: Function;
prepareValue?: Function;
values?: Set<any>;
externalName?: string;
env?: string[] | string;
additionalValues?: object;
};
prefixLength: import("pacc").AttributeDefinition;
family: import("pacc").AttributeDefinition;
};
};
networks: Set<any>;
prefix: any;
prefixLength: any;
longPrefix: any;
family: any;
get cidr(): string;
get fullName(): string;
matchesAddress(address: any): any;
get isLinkLocal(): any;
get addressRange(): any;
get dhcpPools(): any[];
get address(): string;
get longAddress(): string;
_traverse(...args: any[]): boolean;
}
export const SUBNET_GLOBAL_IPV4: Subnet;
export const SUBNET_GLOBAL_IPV6: Subnet;
export const SUBNET_LOCALHOST_IPV4: Subnet;
export const SUBNET_LOCALHOST_IPV6: Subnet;
export const SUBNET_LINK_LOCAL_IPV6: Subnet;
import { Base } from "./base.mjs";