pmcf
Version:
Poor mans configuration management
45 lines (44 loc) • 1.28 kB
text/typescript
export function subnets(sources: any): Set<any>;
export class Subnet extends Base {
static get typeDefinition(): {
name: string;
owners: string[];
priority: number;
constructWithIdentifierOnly: boolean;
properties: {
address: {
type: string;
collection: boolean;
writeable: boolean;
identifier: boolean;
};
networks: {
type: string;
collection: boolean;
writeable: boolean;
};
prefixLength: {
type: string;
collection: boolean;
writeable: boolean;
};
};
};
networks: Set<any>;
prefix: any;
prefixLength: any;
longPrefix: any;
family: any;
get fullName(): string;
matchesAddress(address: any): any;
get isLinkLocal(): any;
get addressRange(): 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;
import { Base } from "./base.mjs";