@jameslnewell/buildkite-pipelines
Version:
Generate Buildkite pipelines from code.
22 lines (21 loc) • 579 B
TypeScript
export interface AgentsBuilder {
getAgents(): Readonly<Record<string, string>>;
/**
* @deprecated Use .addAgent() instead
*/
agent(tag: string, value: string): this;
addAgent(tag: string, value: string): this;
}
export declare class AgentsHelper {
#private;
getAgents(): Readonly<Record<string, string>>;
/**
* @see https://buildkite.com/docs/agent/v3/cli-start#agent-targeting
*/
addAgent(tag: string, value: string): void;
build(): {
agents: Record<string, string>;
} | {
agents?: undefined;
};
}