mirror of https://github.com/pulumi/pulumi.git
455 lines
18 KiB
Go
455 lines
18 KiB
Go
// Code generated by pulumi-language-go DO NOT EDIT.
|
|
// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***
|
|
|
|
package configgrpc
|
|
|
|
import (
|
|
"context"
|
|
"reflect"
|
|
|
|
"example.com/pulumi-config-grpc/sdk/go/configgrpc/internal"
|
|
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
|
|
)
|
|
|
|
type Provider struct {
|
|
pulumi.ProviderResourceState
|
|
|
|
SecretString1 pulumi.StringPtrOutput `pulumi:"secretString1"`
|
|
SecretString2 pulumi.StringPtrOutput `pulumi:"secretString2"`
|
|
SecretString3 pulumi.StringPtrOutput `pulumi:"secretString3"`
|
|
String1 pulumi.StringPtrOutput `pulumi:"string1"`
|
|
String2 pulumi.StringPtrOutput `pulumi:"string2"`
|
|
String3 pulumi.StringPtrOutput `pulumi:"string3"`
|
|
}
|
|
|
|
// NewProvider registers a new resource with the given unique name, arguments, and options.
|
|
func NewProvider(ctx *pulumi.Context,
|
|
name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error) {
|
|
if args == nil {
|
|
args = &ProviderArgs{}
|
|
}
|
|
|
|
if args.ListSecretBool1 != nil {
|
|
args.ListSecretBool1 = pulumi.ToSecret(args.ListSecretBool1).(pulumi.BoolArrayInput)
|
|
}
|
|
if args.ListSecretBool2 != nil {
|
|
args.ListSecretBool2 = pulumi.ToSecret(args.ListSecretBool2).(pulumi.BoolArrayInput)
|
|
}
|
|
if args.ListSecretBool3 != nil {
|
|
args.ListSecretBool3 = pulumi.ToSecret(args.ListSecretBool3).(pulumi.BoolArrayInput)
|
|
}
|
|
if args.ListSecretInt1 != nil {
|
|
args.ListSecretInt1 = pulumi.ToSecret(args.ListSecretInt1).(pulumi.IntArrayInput)
|
|
}
|
|
if args.ListSecretInt2 != nil {
|
|
args.ListSecretInt2 = pulumi.ToSecret(args.ListSecretInt2).(pulumi.IntArrayInput)
|
|
}
|
|
if args.ListSecretInt3 != nil {
|
|
args.ListSecretInt3 = pulumi.ToSecret(args.ListSecretInt3).(pulumi.IntArrayInput)
|
|
}
|
|
if args.ListSecretNum1 != nil {
|
|
args.ListSecretNum1 = pulumi.ToSecret(args.ListSecretNum1).(pulumi.Float64ArrayInput)
|
|
}
|
|
if args.ListSecretNum2 != nil {
|
|
args.ListSecretNum2 = pulumi.ToSecret(args.ListSecretNum2).(pulumi.Float64ArrayInput)
|
|
}
|
|
if args.ListSecretNum3 != nil {
|
|
args.ListSecretNum3 = pulumi.ToSecret(args.ListSecretNum3).(pulumi.Float64ArrayInput)
|
|
}
|
|
if args.ListSecretString1 != nil {
|
|
args.ListSecretString1 = pulumi.ToSecret(args.ListSecretString1).(pulumi.StringArrayInput)
|
|
}
|
|
if args.ListSecretString2 != nil {
|
|
args.ListSecretString2 = pulumi.ToSecret(args.ListSecretString2).(pulumi.StringArrayInput)
|
|
}
|
|
if args.ListSecretString3 != nil {
|
|
args.ListSecretString3 = pulumi.ToSecret(args.ListSecretString3).(pulumi.StringArrayInput)
|
|
}
|
|
if args.MapSecretBool1 != nil {
|
|
args.MapSecretBool1 = pulumi.ToSecret(args.MapSecretBool1).(pulumi.BoolMapInput)
|
|
}
|
|
if args.MapSecretBool2 != nil {
|
|
args.MapSecretBool2 = pulumi.ToSecret(args.MapSecretBool2).(pulumi.BoolMapInput)
|
|
}
|
|
if args.MapSecretBool3 != nil {
|
|
args.MapSecretBool3 = pulumi.ToSecret(args.MapSecretBool3).(pulumi.BoolMapInput)
|
|
}
|
|
if args.MapSecretInt1 != nil {
|
|
args.MapSecretInt1 = pulumi.ToSecret(args.MapSecretInt1).(pulumi.IntMapInput)
|
|
}
|
|
if args.MapSecretInt2 != nil {
|
|
args.MapSecretInt2 = pulumi.ToSecret(args.MapSecretInt2).(pulumi.IntMapInput)
|
|
}
|
|
if args.MapSecretInt3 != nil {
|
|
args.MapSecretInt3 = pulumi.ToSecret(args.MapSecretInt3).(pulumi.IntMapInput)
|
|
}
|
|
if args.MapSecretNum1 != nil {
|
|
args.MapSecretNum1 = pulumi.ToSecret(args.MapSecretNum1).(pulumi.Float64MapInput)
|
|
}
|
|
if args.MapSecretNum2 != nil {
|
|
args.MapSecretNum2 = pulumi.ToSecret(args.MapSecretNum2).(pulumi.Float64MapInput)
|
|
}
|
|
if args.MapSecretNum3 != nil {
|
|
args.MapSecretNum3 = pulumi.ToSecret(args.MapSecretNum3).(pulumi.Float64MapInput)
|
|
}
|
|
if args.MapSecretString1 != nil {
|
|
args.MapSecretString1 = pulumi.ToSecret(args.MapSecretString1).(pulumi.StringMapInput)
|
|
}
|
|
if args.MapSecretString2 != nil {
|
|
args.MapSecretString2 = pulumi.ToSecret(args.MapSecretString2).(pulumi.StringMapInput)
|
|
}
|
|
if args.MapSecretString3 != nil {
|
|
args.MapSecretString3 = pulumi.ToSecret(args.MapSecretString3).(pulumi.StringMapInput)
|
|
}
|
|
if args.ObjSecretBool1 != nil {
|
|
args.ObjSecretBool1 = pulumi.ToSecret(args.ObjSecretBool1).(TsecretBool1PtrInput)
|
|
}
|
|
if args.ObjSecretBool2 != nil {
|
|
args.ObjSecretBool2 = pulumi.ToSecret(args.ObjSecretBool2).(TsecretBool2PtrInput)
|
|
}
|
|
if args.ObjSecretBool3 != nil {
|
|
args.ObjSecretBool3 = pulumi.ToSecret(args.ObjSecretBool3).(TsecretBool3PtrInput)
|
|
}
|
|
if args.ObjSecretInt1 != nil {
|
|
args.ObjSecretInt1 = pulumi.ToSecret(args.ObjSecretInt1).(TsecretInt1PtrInput)
|
|
}
|
|
if args.ObjSecretInt2 != nil {
|
|
args.ObjSecretInt2 = pulumi.ToSecret(args.ObjSecretInt2).(TsecretInt2PtrInput)
|
|
}
|
|
if args.ObjSecretInt3 != nil {
|
|
args.ObjSecretInt3 = pulumi.ToSecret(args.ObjSecretInt3).(TsecretInt3PtrInput)
|
|
}
|
|
if args.ObjSecretNum1 != nil {
|
|
args.ObjSecretNum1 = pulumi.ToSecret(args.ObjSecretNum1).(TsecretNum1PtrInput)
|
|
}
|
|
if args.ObjSecretNum2 != nil {
|
|
args.ObjSecretNum2 = pulumi.ToSecret(args.ObjSecretNum2).(TsecretNum2PtrInput)
|
|
}
|
|
if args.ObjSecretNum3 != nil {
|
|
args.ObjSecretNum3 = pulumi.ToSecret(args.ObjSecretNum3).(TsecretNum3PtrInput)
|
|
}
|
|
if args.ObjSecretString1 != nil {
|
|
args.ObjSecretString1 = pulumi.ToSecret(args.ObjSecretString1).(TsecretString1PtrInput)
|
|
}
|
|
if args.ObjSecretString2 != nil {
|
|
args.ObjSecretString2 = pulumi.ToSecret(args.ObjSecretString2).(TsecretString2PtrInput)
|
|
}
|
|
if args.ObjSecretString3 != nil {
|
|
args.ObjSecretString3 = pulumi.ToSecret(args.ObjSecretString3).(TsecretString3PtrInput)
|
|
}
|
|
if args.SecretBool1 != nil {
|
|
args.SecretBool1 = pulumi.ToSecret(args.SecretBool1).(pulumi.BoolPtrInput)
|
|
}
|
|
if args.SecretBool2 != nil {
|
|
args.SecretBool2 = pulumi.ToSecret(args.SecretBool2).(pulumi.BoolPtrInput)
|
|
}
|
|
if args.SecretBool3 != nil {
|
|
args.SecretBool3 = pulumi.ToSecret(args.SecretBool3).(pulumi.BoolPtrInput)
|
|
}
|
|
if args.SecretInt1 != nil {
|
|
args.SecretInt1 = pulumi.ToSecret(args.SecretInt1).(pulumi.IntPtrInput)
|
|
}
|
|
if args.SecretInt2 != nil {
|
|
args.SecretInt2 = pulumi.ToSecret(args.SecretInt2).(pulumi.IntPtrInput)
|
|
}
|
|
if args.SecretInt3 != nil {
|
|
args.SecretInt3 = pulumi.ToSecret(args.SecretInt3).(pulumi.IntPtrInput)
|
|
}
|
|
if args.SecretNum1 != nil {
|
|
args.SecretNum1 = pulumi.ToSecret(args.SecretNum1).(pulumi.Float64PtrInput)
|
|
}
|
|
if args.SecretNum2 != nil {
|
|
args.SecretNum2 = pulumi.ToSecret(args.SecretNum2).(pulumi.Float64PtrInput)
|
|
}
|
|
if args.SecretNum3 != nil {
|
|
args.SecretNum3 = pulumi.ToSecret(args.SecretNum3).(pulumi.Float64PtrInput)
|
|
}
|
|
if args.SecretString1 != nil {
|
|
args.SecretString1 = pulumi.ToSecret(args.SecretString1).(pulumi.StringPtrInput)
|
|
}
|
|
if args.SecretString2 != nil {
|
|
args.SecretString2 = pulumi.ToSecret(args.SecretString2).(pulumi.StringPtrInput)
|
|
}
|
|
if args.SecretString3 != nil {
|
|
args.SecretString3 = pulumi.ToSecret(args.SecretString3).(pulumi.StringPtrInput)
|
|
}
|
|
secrets := pulumi.AdditionalSecretOutputs([]string{
|
|
"secretString1",
|
|
"secretString2",
|
|
"secretString3",
|
|
})
|
|
opts = append(opts, secrets)
|
|
opts = internal.PkgResourceDefaultOpts(opts)
|
|
var resource Provider
|
|
err := ctx.RegisterResource("pulumi:providers:config-grpc", name, args, &resource, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return &resource, nil
|
|
}
|
|
|
|
type providerArgs struct {
|
|
Bool1 *bool `pulumi:"bool1"`
|
|
Bool2 *bool `pulumi:"bool2"`
|
|
Bool3 *bool `pulumi:"bool3"`
|
|
Int1 *int `pulumi:"int1"`
|
|
Int2 *int `pulumi:"int2"`
|
|
Int3 *int `pulumi:"int3"`
|
|
ListBool1 []bool `pulumi:"listBool1"`
|
|
ListBool2 []bool `pulumi:"listBool2"`
|
|
ListBool3 []bool `pulumi:"listBool3"`
|
|
ListInt1 []int `pulumi:"listInt1"`
|
|
ListInt2 []int `pulumi:"listInt2"`
|
|
ListInt3 []int `pulumi:"listInt3"`
|
|
ListNum1 []float64 `pulumi:"listNum1"`
|
|
ListNum2 []float64 `pulumi:"listNum2"`
|
|
ListNum3 []float64 `pulumi:"listNum3"`
|
|
ListSecretBool1 []bool `pulumi:"listSecretBool1"`
|
|
ListSecretBool2 []bool `pulumi:"listSecretBool2"`
|
|
ListSecretBool3 []bool `pulumi:"listSecretBool3"`
|
|
ListSecretInt1 []int `pulumi:"listSecretInt1"`
|
|
ListSecretInt2 []int `pulumi:"listSecretInt2"`
|
|
ListSecretInt3 []int `pulumi:"listSecretInt3"`
|
|
ListSecretNum1 []float64 `pulumi:"listSecretNum1"`
|
|
ListSecretNum2 []float64 `pulumi:"listSecretNum2"`
|
|
ListSecretNum3 []float64 `pulumi:"listSecretNum3"`
|
|
ListSecretString1 []string `pulumi:"listSecretString1"`
|
|
ListSecretString2 []string `pulumi:"listSecretString2"`
|
|
ListSecretString3 []string `pulumi:"listSecretString3"`
|
|
ListString1 []string `pulumi:"listString1"`
|
|
ListString2 []string `pulumi:"listString2"`
|
|
ListString3 []string `pulumi:"listString3"`
|
|
MapBool1 map[string]bool `pulumi:"mapBool1"`
|
|
MapBool2 map[string]bool `pulumi:"mapBool2"`
|
|
MapBool3 map[string]bool `pulumi:"mapBool3"`
|
|
MapInt1 map[string]int `pulumi:"mapInt1"`
|
|
MapInt2 map[string]int `pulumi:"mapInt2"`
|
|
MapInt3 map[string]int `pulumi:"mapInt3"`
|
|
MapNum1 map[string]float64 `pulumi:"mapNum1"`
|
|
MapNum2 map[string]float64 `pulumi:"mapNum2"`
|
|
MapNum3 map[string]float64 `pulumi:"mapNum3"`
|
|
MapSecretBool1 map[string]bool `pulumi:"mapSecretBool1"`
|
|
MapSecretBool2 map[string]bool `pulumi:"mapSecretBool2"`
|
|
MapSecretBool3 map[string]bool `pulumi:"mapSecretBool3"`
|
|
MapSecretInt1 map[string]int `pulumi:"mapSecretInt1"`
|
|
MapSecretInt2 map[string]int `pulumi:"mapSecretInt2"`
|
|
MapSecretInt3 map[string]int `pulumi:"mapSecretInt3"`
|
|
MapSecretNum1 map[string]float64 `pulumi:"mapSecretNum1"`
|
|
MapSecretNum2 map[string]float64 `pulumi:"mapSecretNum2"`
|
|
MapSecretNum3 map[string]float64 `pulumi:"mapSecretNum3"`
|
|
MapSecretString1 map[string]string `pulumi:"mapSecretString1"`
|
|
MapSecretString2 map[string]string `pulumi:"mapSecretString2"`
|
|
MapSecretString3 map[string]string `pulumi:"mapSecretString3"`
|
|
MapString1 map[string]string `pulumi:"mapString1"`
|
|
MapString2 map[string]string `pulumi:"mapString2"`
|
|
MapString3 map[string]string `pulumi:"mapString3"`
|
|
Num1 *float64 `pulumi:"num1"`
|
|
Num2 *float64 `pulumi:"num2"`
|
|
Num3 *float64 `pulumi:"num3"`
|
|
ObjBool1 *Tbool1 `pulumi:"objBool1"`
|
|
ObjBool2 *Tbool2 `pulumi:"objBool2"`
|
|
ObjBool3 *Tbool3 `pulumi:"objBool3"`
|
|
ObjInt1 *Tint1 `pulumi:"objInt1"`
|
|
ObjInt2 *Tint2 `pulumi:"objInt2"`
|
|
ObjInt3 *Tint3 `pulumi:"objInt3"`
|
|
ObjNum1 *Tnum1 `pulumi:"objNum1"`
|
|
ObjNum2 *Tnum2 `pulumi:"objNum2"`
|
|
ObjNum3 *Tnum3 `pulumi:"objNum3"`
|
|
ObjSecretBool1 *TsecretBool1 `pulumi:"objSecretBool1"`
|
|
ObjSecretBool2 *TsecretBool2 `pulumi:"objSecretBool2"`
|
|
ObjSecretBool3 *TsecretBool3 `pulumi:"objSecretBool3"`
|
|
ObjSecretInt1 *TsecretInt1 `pulumi:"objSecretInt1"`
|
|
ObjSecretInt2 *TsecretInt2 `pulumi:"objSecretInt2"`
|
|
ObjSecretInt3 *TsecretInt3 `pulumi:"objSecretInt3"`
|
|
ObjSecretNum1 *TsecretNum1 `pulumi:"objSecretNum1"`
|
|
ObjSecretNum2 *TsecretNum2 `pulumi:"objSecretNum2"`
|
|
ObjSecretNum3 *TsecretNum3 `pulumi:"objSecretNum3"`
|
|
ObjSecretString1 *TsecretString1 `pulumi:"objSecretString1"`
|
|
ObjSecretString2 *TsecretString2 `pulumi:"objSecretString2"`
|
|
ObjSecretString3 *TsecretString3 `pulumi:"objSecretString3"`
|
|
ObjString1 *Tstring1 `pulumi:"objString1"`
|
|
ObjString2 *Tstring2 `pulumi:"objString2"`
|
|
ObjString3 *Tstring3 `pulumi:"objString3"`
|
|
SecretBool1 *bool `pulumi:"secretBool1"`
|
|
SecretBool2 *bool `pulumi:"secretBool2"`
|
|
SecretBool3 *bool `pulumi:"secretBool3"`
|
|
SecretInt1 *int `pulumi:"secretInt1"`
|
|
SecretInt2 *int `pulumi:"secretInt2"`
|
|
SecretInt3 *int `pulumi:"secretInt3"`
|
|
SecretNum1 *float64 `pulumi:"secretNum1"`
|
|
SecretNum2 *float64 `pulumi:"secretNum2"`
|
|
SecretNum3 *float64 `pulumi:"secretNum3"`
|
|
SecretString1 *string `pulumi:"secretString1"`
|
|
SecretString2 *string `pulumi:"secretString2"`
|
|
SecretString3 *string `pulumi:"secretString3"`
|
|
String1 *string `pulumi:"string1"`
|
|
String2 *string `pulumi:"string2"`
|
|
String3 *string `pulumi:"string3"`
|
|
}
|
|
|
|
// The set of arguments for constructing a Provider resource.
|
|
type ProviderArgs struct {
|
|
Bool1 pulumi.BoolPtrInput
|
|
Bool2 pulumi.BoolPtrInput
|
|
Bool3 pulumi.BoolPtrInput
|
|
Int1 pulumi.IntPtrInput
|
|
Int2 pulumi.IntPtrInput
|
|
Int3 pulumi.IntPtrInput
|
|
ListBool1 pulumi.BoolArrayInput
|
|
ListBool2 pulumi.BoolArrayInput
|
|
ListBool3 pulumi.BoolArrayInput
|
|
ListInt1 pulumi.IntArrayInput
|
|
ListInt2 pulumi.IntArrayInput
|
|
ListInt3 pulumi.IntArrayInput
|
|
ListNum1 pulumi.Float64ArrayInput
|
|
ListNum2 pulumi.Float64ArrayInput
|
|
ListNum3 pulumi.Float64ArrayInput
|
|
ListSecretBool1 pulumi.BoolArrayInput
|
|
ListSecretBool2 pulumi.BoolArrayInput
|
|
ListSecretBool3 pulumi.BoolArrayInput
|
|
ListSecretInt1 pulumi.IntArrayInput
|
|
ListSecretInt2 pulumi.IntArrayInput
|
|
ListSecretInt3 pulumi.IntArrayInput
|
|
ListSecretNum1 pulumi.Float64ArrayInput
|
|
ListSecretNum2 pulumi.Float64ArrayInput
|
|
ListSecretNum3 pulumi.Float64ArrayInput
|
|
ListSecretString1 pulumi.StringArrayInput
|
|
ListSecretString2 pulumi.StringArrayInput
|
|
ListSecretString3 pulumi.StringArrayInput
|
|
ListString1 pulumi.StringArrayInput
|
|
ListString2 pulumi.StringArrayInput
|
|
ListString3 pulumi.StringArrayInput
|
|
MapBool1 pulumi.BoolMapInput
|
|
MapBool2 pulumi.BoolMapInput
|
|
MapBool3 pulumi.BoolMapInput
|
|
MapInt1 pulumi.IntMapInput
|
|
MapInt2 pulumi.IntMapInput
|
|
MapInt3 pulumi.IntMapInput
|
|
MapNum1 pulumi.Float64MapInput
|
|
MapNum2 pulumi.Float64MapInput
|
|
MapNum3 pulumi.Float64MapInput
|
|
MapSecretBool1 pulumi.BoolMapInput
|
|
MapSecretBool2 pulumi.BoolMapInput
|
|
MapSecretBool3 pulumi.BoolMapInput
|
|
MapSecretInt1 pulumi.IntMapInput
|
|
MapSecretInt2 pulumi.IntMapInput
|
|
MapSecretInt3 pulumi.IntMapInput
|
|
MapSecretNum1 pulumi.Float64MapInput
|
|
MapSecretNum2 pulumi.Float64MapInput
|
|
MapSecretNum3 pulumi.Float64MapInput
|
|
MapSecretString1 pulumi.StringMapInput
|
|
MapSecretString2 pulumi.StringMapInput
|
|
MapSecretString3 pulumi.StringMapInput
|
|
MapString1 pulumi.StringMapInput
|
|
MapString2 pulumi.StringMapInput
|
|
MapString3 pulumi.StringMapInput
|
|
Num1 pulumi.Float64PtrInput
|
|
Num2 pulumi.Float64PtrInput
|
|
Num3 pulumi.Float64PtrInput
|
|
ObjBool1 Tbool1PtrInput
|
|
ObjBool2 Tbool2PtrInput
|
|
ObjBool3 Tbool3PtrInput
|
|
ObjInt1 Tint1PtrInput
|
|
ObjInt2 Tint2PtrInput
|
|
ObjInt3 Tint3PtrInput
|
|
ObjNum1 Tnum1PtrInput
|
|
ObjNum2 Tnum2PtrInput
|
|
ObjNum3 Tnum3PtrInput
|
|
ObjSecretBool1 TsecretBool1PtrInput
|
|
ObjSecretBool2 TsecretBool2PtrInput
|
|
ObjSecretBool3 TsecretBool3PtrInput
|
|
ObjSecretInt1 TsecretInt1PtrInput
|
|
ObjSecretInt2 TsecretInt2PtrInput
|
|
ObjSecretInt3 TsecretInt3PtrInput
|
|
ObjSecretNum1 TsecretNum1PtrInput
|
|
ObjSecretNum2 TsecretNum2PtrInput
|
|
ObjSecretNum3 TsecretNum3PtrInput
|
|
ObjSecretString1 TsecretString1PtrInput
|
|
ObjSecretString2 TsecretString2PtrInput
|
|
ObjSecretString3 TsecretString3PtrInput
|
|
ObjString1 Tstring1PtrInput
|
|
ObjString2 Tstring2PtrInput
|
|
ObjString3 Tstring3PtrInput
|
|
SecretBool1 pulumi.BoolPtrInput
|
|
SecretBool2 pulumi.BoolPtrInput
|
|
SecretBool3 pulumi.BoolPtrInput
|
|
SecretInt1 pulumi.IntPtrInput
|
|
SecretInt2 pulumi.IntPtrInput
|
|
SecretInt3 pulumi.IntPtrInput
|
|
SecretNum1 pulumi.Float64PtrInput
|
|
SecretNum2 pulumi.Float64PtrInput
|
|
SecretNum3 pulumi.Float64PtrInput
|
|
SecretString1 pulumi.StringPtrInput
|
|
SecretString2 pulumi.StringPtrInput
|
|
SecretString3 pulumi.StringPtrInput
|
|
String1 pulumi.StringPtrInput
|
|
String2 pulumi.StringPtrInput
|
|
String3 pulumi.StringPtrInput
|
|
}
|
|
|
|
func (ProviderArgs) ElementType() reflect.Type {
|
|
return reflect.TypeOf((*providerArgs)(nil)).Elem()
|
|
}
|
|
|
|
type ProviderInput interface {
|
|
pulumi.Input
|
|
|
|
ToProviderOutput() ProviderOutput
|
|
ToProviderOutputWithContext(ctx context.Context) ProviderOutput
|
|
}
|
|
|
|
func (*Provider) ElementType() reflect.Type {
|
|
return reflect.TypeOf((**Provider)(nil)).Elem()
|
|
}
|
|
|
|
func (i *Provider) ToProviderOutput() ProviderOutput {
|
|
return i.ToProviderOutputWithContext(context.Background())
|
|
}
|
|
|
|
func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput {
|
|
return pulumi.ToOutputWithContext(ctx, i).(ProviderOutput)
|
|
}
|
|
|
|
type ProviderOutput struct{ *pulumi.OutputState }
|
|
|
|
func (ProviderOutput) ElementType() reflect.Type {
|
|
return reflect.TypeOf((**Provider)(nil)).Elem()
|
|
}
|
|
|
|
func (o ProviderOutput) ToProviderOutput() ProviderOutput {
|
|
return o
|
|
}
|
|
|
|
func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput {
|
|
return o
|
|
}
|
|
|
|
func (o ProviderOutput) SecretString1() pulumi.StringPtrOutput {
|
|
return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.SecretString1 }).(pulumi.StringPtrOutput)
|
|
}
|
|
|
|
func (o ProviderOutput) SecretString2() pulumi.StringPtrOutput {
|
|
return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.SecretString2 }).(pulumi.StringPtrOutput)
|
|
}
|
|
|
|
func (o ProviderOutput) SecretString3() pulumi.StringPtrOutput {
|
|
return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.SecretString3 }).(pulumi.StringPtrOutput)
|
|
}
|
|
|
|
func (o ProviderOutput) String1() pulumi.StringPtrOutput {
|
|
return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.String1 }).(pulumi.StringPtrOutput)
|
|
}
|
|
|
|
func (o ProviderOutput) String2() pulumi.StringPtrOutput {
|
|
return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.String2 }).(pulumi.StringPtrOutput)
|
|
}
|
|
|
|
func (o ProviderOutput) String3() pulumi.StringPtrOutput {
|
|
return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.String3 }).(pulumi.StringPtrOutput)
|
|
}
|
|
|
|
func init() {
|
|
pulumi.RegisterInputType(reflect.TypeOf((*ProviderInput)(nil)).Elem(), &Provider{})
|
|
pulumi.RegisterOutputType(ProviderOutput{})
|
|
}
|