Instance Methodswift-cloud 0.31.0CloudCore
stack
PulumiClient.swift:138func stack() async throws -> Pulumi.Stack
func stack() async throws -> Pulumi.Stack
import CloudCore
struct Client
enum Pulumi
struct Stack
init(context: Context, version: String = PulumiClientVersion, passphrase: String = "passphrase")
let context: Context
var isSetup: Bool { get }
let version: String
func configure(_ provider: Provider) async throws
func installPlugin(_ plugin: Pulumi.Plugin) async throws
func installPlugins(_ plugins: [Pulumi.Plugin]) async throws
@discardableResult func invoke(command: String, arguments: [String] = [], onEvent: ShellEventHandler? = nil) async throws -> String
func localProjectBackend() -> Pulumi.Project.Backend
func setup() async throws
func stackOutputs() async throws -> [String : AnyCodable]
func upsertStack(stage: String) async throws
func writePulumiProject(_ project: Pulumi.Project) throws
enum SetupError