pmcf
Version:
Poor mans configuration management
30 lines (29 loc) • 940 B
text/typescript
/**
*
* @param {Iterable<Owner|string>} sources
* @param {Object} options
* @param {boolean} options.aggregate
* @param {Object} options.filter
* @returns {Iterable<string>} addresses
*/
export function addresses(sources: Iterable<Owner | string>, options: {
aggregate: boolean;
filter: any;
}): Iterable<string>;
export function cidrAddresses(networkAddresses: any): any[];
export function sortByFamilyAndAddress(a: any, b: any): any;
/**
*
*/
export class NetworkAddress {
constructor(networkInterface: any, address: any, subnet: any);
/** @type {Subnet} */ subnet: Subnet;
/** @type {NetworkInterface} */ networkInterface: NetworkInterface;
/** @type {string|Uint8Array|Uint16Array} */ address: string | Uint8Array | Uint16Array;
get domainNames(): any;
get family(): any;
get cidrAddress(): any;
toString(): string;
}
import { Owner } from "pmcf";
import { Subnet } from "./subnet.mjs";