pulumi/sdk/nodejs/proto/converter_pb.d.ts

158 lines
7.0 KiB
TypeScript
Raw Permalink Normal View History

// package: pulumirpc
// file: pulumi/converter.proto
/* tslint:disable */
/* eslint-disable */
import * as jspb from "google-protobuf";
import * as pulumi_codegen_hcl_pb from "./codegen/hcl_pb";
export class ConvertStateRequest extends jspb.Message {
getMapperTarget(): string;
setMapperTarget(value: string): ConvertStateRequest;
clearArgsList(): void;
getArgsList(): Array<string>;
setArgsList(value: Array<string>): ConvertStateRequest;
addArgs(value: string, index?: number): string;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ConvertStateRequest.AsObject;
static toObject(includeInstance: boolean, msg: ConvertStateRequest): ConvertStateRequest.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: ConvertStateRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ConvertStateRequest;
static deserializeBinaryFromReader(message: ConvertStateRequest, reader: jspb.BinaryReader): ConvertStateRequest;
}
export namespace ConvertStateRequest {
export type AsObject = {
mapperTarget: string,
argsList: Array<string>,
}
}
export class ResourceImport extends jspb.Message {
getType(): string;
setType(value: string): ResourceImport;
getName(): string;
setName(value: string): ResourceImport;
getId(): string;
setId(value: string): ResourceImport;
getVersion(): string;
setVersion(value: string): ResourceImport;
getPlugindownloadurl(): string;
setPlugindownloadurl(value: string): ResourceImport;
Plumb Remote, Component, and LogicalName into the import plugin system (#15199) <!--- Thanks so much for your contribution! If this is your first time contributing, please ensure that you have read the [CONTRIBUTING](https://github.com/pulumi/pulumi/blob/master/CONTRIBUTING.md) documentation. --> # Description <!--- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. --> Fixes https://github.com/pulumi/pulumi/issues/14532. 14532 was just for Remote and Component, but since raising that we've added LogicalName as well so this PR also adds support for that. ## Checklist - [x] I have run `make tidy` to update any new dependencies - [x] I have run `make lint` to verify my code passes the lint check - [x] I have formatted my code using `gofumpt` <!--- Please provide details if the checkbox below is to be left unchecked. --> - [x] I have added tests that prove my fix is effective or that my feature works <!--- User-facing changes require a CHANGELOG entry. --> - [x] I have run `make changelog` and committed the `changelog/pending/<file>` documenting my change <!-- If the change(s) in this PR is a modification of an existing call to the Pulumi Cloud, then the service should honor older versions of the CLI where this change would not exist. You must then bump the API version in /pkg/backend/httpstate/client/api.go, as well as add it to the service. --> - [ ] Yes, there are changes in this PR that warrants bumping the Pulumi Cloud API version <!-- @Pulumi employees: If yes, you must submit corresponding changes in the service repo. -->
2024-01-24 17:15:30 +00:00
getLogicalName(): string;
setLogicalName(value: string): ResourceImport;
getIsComponent(): boolean;
setIsComponent(value: boolean): ResourceImport;
getIsRemote(): boolean;
setIsRemote(value: boolean): ResourceImport;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ResourceImport.AsObject;
static toObject(includeInstance: boolean, msg: ResourceImport): ResourceImport.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: ResourceImport, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ResourceImport;
static deserializeBinaryFromReader(message: ResourceImport, reader: jspb.BinaryReader): ResourceImport;
}
export namespace ResourceImport {
export type AsObject = {
type: string,
name: string,
id: string,
version: string,
plugindownloadurl: string,
Plumb Remote, Component, and LogicalName into the import plugin system (#15199) <!--- Thanks so much for your contribution! If this is your first time contributing, please ensure that you have read the [CONTRIBUTING](https://github.com/pulumi/pulumi/blob/master/CONTRIBUTING.md) documentation. --> # Description <!--- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. --> Fixes https://github.com/pulumi/pulumi/issues/14532. 14532 was just for Remote and Component, but since raising that we've added LogicalName as well so this PR also adds support for that. ## Checklist - [x] I have run `make tidy` to update any new dependencies - [x] I have run `make lint` to verify my code passes the lint check - [x] I have formatted my code using `gofumpt` <!--- Please provide details if the checkbox below is to be left unchecked. --> - [x] I have added tests that prove my fix is effective or that my feature works <!--- User-facing changes require a CHANGELOG entry. --> - [x] I have run `make changelog` and committed the `changelog/pending/<file>` documenting my change <!-- If the change(s) in this PR is a modification of an existing call to the Pulumi Cloud, then the service should honor older versions of the CLI where this change would not exist. You must then bump the API version in /pkg/backend/httpstate/client/api.go, as well as add it to the service. --> - [ ] Yes, there are changes in this PR that warrants bumping the Pulumi Cloud API version <!-- @Pulumi employees: If yes, you must submit corresponding changes in the service repo. -->
2024-01-24 17:15:30 +00:00
logicalName: string,
isComponent: boolean,
isRemote: boolean,
}
}
export class ConvertStateResponse extends jspb.Message {
clearResourcesList(): void;
getResourcesList(): Array<ResourceImport>;
setResourcesList(value: Array<ResourceImport>): ConvertStateResponse;
addResources(value?: ResourceImport, index?: number): ResourceImport;
clearDiagnosticsList(): void;
getDiagnosticsList(): Array<pulumi_codegen_hcl_pb.Diagnostic>;
setDiagnosticsList(value: Array<pulumi_codegen_hcl_pb.Diagnostic>): ConvertStateResponse;
addDiagnostics(value?: pulumi_codegen_hcl_pb.Diagnostic, index?: number): pulumi_codegen_hcl_pb.Diagnostic;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ConvertStateResponse.AsObject;
static toObject(includeInstance: boolean, msg: ConvertStateResponse): ConvertStateResponse.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: ConvertStateResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ConvertStateResponse;
static deserializeBinaryFromReader(message: ConvertStateResponse, reader: jspb.BinaryReader): ConvertStateResponse;
}
export namespace ConvertStateResponse {
export type AsObject = {
resourcesList: Array<ResourceImport.AsObject>,
diagnosticsList: Array<pulumi_codegen_hcl_pb.Diagnostic.AsObject>,
}
}
export class ConvertProgramRequest extends jspb.Message {
getSourceDirectory(): string;
setSourceDirectory(value: string): ConvertProgramRequest;
getTargetDirectory(): string;
setTargetDirectory(value: string): ConvertProgramRequest;
getMapperTarget(): string;
setMapperTarget(value: string): ConvertProgramRequest;
getLoaderTarget(): string;
setLoaderTarget(value: string): ConvertProgramRequest;
clearArgsList(): void;
getArgsList(): Array<string>;
setArgsList(value: Array<string>): ConvertProgramRequest;
addArgs(value: string, index?: number): string;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ConvertProgramRequest.AsObject;
static toObject(includeInstance: boolean, msg: ConvertProgramRequest): ConvertProgramRequest.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: ConvertProgramRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ConvertProgramRequest;
static deserializeBinaryFromReader(message: ConvertProgramRequest, reader: jspb.BinaryReader): ConvertProgramRequest;
}
export namespace ConvertProgramRequest {
export type AsObject = {
sourceDirectory: string,
targetDirectory: string,
mapperTarget: string,
loaderTarget: string,
argsList: Array<string>,
}
}
export class ConvertProgramResponse extends jspb.Message {
clearDiagnosticsList(): void;
getDiagnosticsList(): Array<pulumi_codegen_hcl_pb.Diagnostic>;
setDiagnosticsList(value: Array<pulumi_codegen_hcl_pb.Diagnostic>): ConvertProgramResponse;
addDiagnostics(value?: pulumi_codegen_hcl_pb.Diagnostic, index?: number): pulumi_codegen_hcl_pb.Diagnostic;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ConvertProgramResponse.AsObject;
static toObject(includeInstance: boolean, msg: ConvertProgramResponse): ConvertProgramResponse.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: ConvertProgramResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): ConvertProgramResponse;
static deserializeBinaryFromReader(message: ConvertProgramResponse, reader: jspb.BinaryReader): ConvertProgramResponse;
}
export namespace ConvertProgramResponse {
export type AsObject = {
diagnosticsList: Array<pulumi_codegen_hcl_pb.Diagnostic.AsObject>,
}
}