Documentation ¶
Overview ¶
A Pulumi package for creating and managing doppler cloud resources.
Index ¶
- type BranchConfig
- type BranchConfigArgs
- type BranchConfigArray
- type BranchConfigArrayInput
- type BranchConfigArrayOutput
- func (BranchConfigArrayOutput) ElementType() reflect.Type
- func (o BranchConfigArrayOutput) Index(i pulumi.IntInput) BranchConfigOutput
- func (o BranchConfigArrayOutput) ToBranchConfigArrayOutput() BranchConfigArrayOutput
- func (o BranchConfigArrayOutput) ToBranchConfigArrayOutputWithContext(ctx context.Context) BranchConfigArrayOutput
- type BranchConfigInput
- type BranchConfigMap
- type BranchConfigMapInput
- type BranchConfigMapOutput
- func (BranchConfigMapOutput) ElementType() reflect.Type
- func (o BranchConfigMapOutput) MapIndex(k pulumi.StringInput) BranchConfigOutput
- func (o BranchConfigMapOutput) ToBranchConfigMapOutput() BranchConfigMapOutput
- func (o BranchConfigMapOutput) ToBranchConfigMapOutputWithContext(ctx context.Context) BranchConfigMapOutput
- type BranchConfigOutput
- func (BranchConfigOutput) ElementType() reflect.Type
- func (o BranchConfigOutput) Environment() pulumi.StringOutput
- func (o BranchConfigOutput) Name() pulumi.StringOutput
- func (o BranchConfigOutput) Project() pulumi.StringOutput
- func (o BranchConfigOutput) ToBranchConfigOutput() BranchConfigOutput
- func (o BranchConfigOutput) ToBranchConfigOutputWithContext(ctx context.Context) BranchConfigOutput
- type BranchConfigState
- type Environment
- type EnvironmentArgs
- type EnvironmentArray
- type EnvironmentArrayInput
- type EnvironmentArrayOutput
- func (EnvironmentArrayOutput) ElementType() reflect.Type
- func (o EnvironmentArrayOutput) Index(i pulumi.IntInput) EnvironmentOutput
- func (o EnvironmentArrayOutput) ToEnvironmentArrayOutput() EnvironmentArrayOutput
- func (o EnvironmentArrayOutput) ToEnvironmentArrayOutputWithContext(ctx context.Context) EnvironmentArrayOutput
- type EnvironmentInput
- type EnvironmentMap
- type EnvironmentMapInput
- type EnvironmentMapOutput
- func (EnvironmentMapOutput) ElementType() reflect.Type
- func (o EnvironmentMapOutput) MapIndex(k pulumi.StringInput) EnvironmentOutput
- func (o EnvironmentMapOutput) ToEnvironmentMapOutput() EnvironmentMapOutput
- func (o EnvironmentMapOutput) ToEnvironmentMapOutputWithContext(ctx context.Context) EnvironmentMapOutput
- type EnvironmentOutput
- func (EnvironmentOutput) ElementType() reflect.Type
- func (o EnvironmentOutput) Name() pulumi.StringOutput
- func (o EnvironmentOutput) Project() pulumi.StringOutput
- func (o EnvironmentOutput) Slug() pulumi.StringOutput
- func (o EnvironmentOutput) ToEnvironmentOutput() EnvironmentOutput
- func (o EnvironmentOutput) ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput
- type EnvironmentState
- type GetSecretsArgs
- type GetSecretsOutputArgs
- type GetSecretsResult
- type GetSecretsResultOutput
- func (o GetSecretsResultOutput) Config() pulumi.StringPtrOutput
- func (GetSecretsResultOutput) ElementType() reflect.Type
- func (o GetSecretsResultOutput) Id() pulumi.StringOutput
- func (o GetSecretsResultOutput) Map() pulumi.StringMapOutput
- func (o GetSecretsResultOutput) Project() pulumi.StringPtrOutput
- func (o GetSecretsResultOutput) ToGetSecretsResultOutput() GetSecretsResultOutput
- func (o GetSecretsResultOutput) ToGetSecretsResultOutputWithContext(ctx context.Context) GetSecretsResultOutput
- type Project
- type ProjectArgs
- type ProjectArray
- type ProjectArrayInput
- type ProjectArrayOutput
- type ProjectInput
- type ProjectMap
- type ProjectMapInput
- type ProjectMapOutput
- type ProjectOutput
- type ProjectState
- type Provider
- type ProviderArgs
- type ProviderInput
- type ProviderOutput
- func (o ProviderOutput) DopplerToken() pulumi.StringOutput
- func (ProviderOutput) ElementType() reflect.Type
- func (o ProviderOutput) Host() pulumi.StringPtrOutput
- func (o ProviderOutput) ToProviderOutput() ProviderOutput
- func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
- type Secret
- type SecretArgs
- type SecretArray
- type SecretArrayInput
- type SecretArrayOutput
- type SecretInput
- type SecretMap
- type SecretMapInput
- type SecretMapOutput
- type SecretOutput
- func (o SecretOutput) Computed() pulumi.StringOutput
- func (o SecretOutput) Config() pulumi.StringOutput
- func (SecretOutput) ElementType() reflect.Type
- func (o SecretOutput) Name() pulumi.StringOutput
- func (o SecretOutput) Project() pulumi.StringOutput
- func (o SecretOutput) ToSecretOutput() SecretOutput
- func (o SecretOutput) ToSecretOutputWithContext(ctx context.Context) SecretOutput
- func (o SecretOutput) Value() pulumi.StringOutput
- func (o SecretOutput) Visibility() pulumi.StringPtrOutput
- type SecretState
- type ServiceToken
- type ServiceTokenArgs
- type ServiceTokenArray
- type ServiceTokenArrayInput
- type ServiceTokenArrayOutput
- func (ServiceTokenArrayOutput) ElementType() reflect.Type
- func (o ServiceTokenArrayOutput) Index(i pulumi.IntInput) ServiceTokenOutput
- func (o ServiceTokenArrayOutput) ToServiceTokenArrayOutput() ServiceTokenArrayOutput
- func (o ServiceTokenArrayOutput) ToServiceTokenArrayOutputWithContext(ctx context.Context) ServiceTokenArrayOutput
- type ServiceTokenInput
- type ServiceTokenMap
- type ServiceTokenMapInput
- type ServiceTokenMapOutput
- func (ServiceTokenMapOutput) ElementType() reflect.Type
- func (o ServiceTokenMapOutput) MapIndex(k pulumi.StringInput) ServiceTokenOutput
- func (o ServiceTokenMapOutput) ToServiceTokenMapOutput() ServiceTokenMapOutput
- func (o ServiceTokenMapOutput) ToServiceTokenMapOutputWithContext(ctx context.Context) ServiceTokenMapOutput
- type ServiceTokenOutput
- func (o ServiceTokenOutput) Access() pulumi.StringPtrOutput
- func (o ServiceTokenOutput) Config() pulumi.StringOutput
- func (ServiceTokenOutput) ElementType() reflect.Type
- func (o ServiceTokenOutput) Key() pulumi.StringOutput
- func (o ServiceTokenOutput) Name() pulumi.StringOutput
- func (o ServiceTokenOutput) Project() pulumi.StringOutput
- func (o ServiceTokenOutput) ToServiceTokenOutput() ServiceTokenOutput
- func (o ServiceTokenOutput) ToServiceTokenOutputWithContext(ctx context.Context) ServiceTokenOutput
- type ServiceTokenState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BranchConfig ¶
type BranchConfig struct { pulumi.CustomResourceState // The name of the Doppler environment where the config is located Environment pulumi.StringOutput `pulumi:"environment"` // The name of the Doppler config Name pulumi.StringOutput `pulumi:"name"` // The name of the Doppler project where the config is located Project pulumi.StringOutput `pulumi:"project"` }
Manage a Doppler config.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-doppler/sdk/go/doppler"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := doppler.NewBranchConfig(ctx, "backend_ci_github", &doppler.BranchConfigArgs{ Project: pulumi.String("backend"), Environment: pulumi.String("ci"), Name: pulumi.String("ci_github"), }) if err != nil { return err } return nil }) }
```
func GetBranchConfig ¶
func GetBranchConfig(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BranchConfigState, opts ...pulumi.ResourceOption) (*BranchConfig, error)
GetBranchConfig gets an existing BranchConfig resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewBranchConfig ¶
func NewBranchConfig(ctx *pulumi.Context, name string, args *BranchConfigArgs, opts ...pulumi.ResourceOption) (*BranchConfig, error)
NewBranchConfig registers a new resource with the given unique name, arguments, and options.
func (*BranchConfig) ElementType ¶
func (*BranchConfig) ElementType() reflect.Type
func (*BranchConfig) ToBranchConfigOutput ¶
func (i *BranchConfig) ToBranchConfigOutput() BranchConfigOutput
func (*BranchConfig) ToBranchConfigOutputWithContext ¶
func (i *BranchConfig) ToBranchConfigOutputWithContext(ctx context.Context) BranchConfigOutput
type BranchConfigArgs ¶
type BranchConfigArgs struct { // The name of the Doppler environment where the config is located Environment pulumi.StringInput // The name of the Doppler config Name pulumi.StringPtrInput // The name of the Doppler project where the config is located Project pulumi.StringInput }
The set of arguments for constructing a BranchConfig resource.
func (BranchConfigArgs) ElementType ¶
func (BranchConfigArgs) ElementType() reflect.Type
type BranchConfigArray ¶
type BranchConfigArray []BranchConfigInput
func (BranchConfigArray) ElementType ¶
func (BranchConfigArray) ElementType() reflect.Type
func (BranchConfigArray) ToBranchConfigArrayOutput ¶
func (i BranchConfigArray) ToBranchConfigArrayOutput() BranchConfigArrayOutput
func (BranchConfigArray) ToBranchConfigArrayOutputWithContext ¶
func (i BranchConfigArray) ToBranchConfigArrayOutputWithContext(ctx context.Context) BranchConfigArrayOutput
type BranchConfigArrayInput ¶
type BranchConfigArrayInput interface { pulumi.Input ToBranchConfigArrayOutput() BranchConfigArrayOutput ToBranchConfigArrayOutputWithContext(context.Context) BranchConfigArrayOutput }
BranchConfigArrayInput is an input type that accepts BranchConfigArray and BranchConfigArrayOutput values. You can construct a concrete instance of `BranchConfigArrayInput` via:
BranchConfigArray{ BranchConfigArgs{...} }
type BranchConfigArrayOutput ¶
type BranchConfigArrayOutput struct{ *pulumi.OutputState }
func (BranchConfigArrayOutput) ElementType ¶
func (BranchConfigArrayOutput) ElementType() reflect.Type
func (BranchConfigArrayOutput) Index ¶
func (o BranchConfigArrayOutput) Index(i pulumi.IntInput) BranchConfigOutput
func (BranchConfigArrayOutput) ToBranchConfigArrayOutput ¶
func (o BranchConfigArrayOutput) ToBranchConfigArrayOutput() BranchConfigArrayOutput
func (BranchConfigArrayOutput) ToBranchConfigArrayOutputWithContext ¶
func (o BranchConfigArrayOutput) ToBranchConfigArrayOutputWithContext(ctx context.Context) BranchConfigArrayOutput
type BranchConfigInput ¶
type BranchConfigInput interface { pulumi.Input ToBranchConfigOutput() BranchConfigOutput ToBranchConfigOutputWithContext(ctx context.Context) BranchConfigOutput }
type BranchConfigMap ¶
type BranchConfigMap map[string]BranchConfigInput
func (BranchConfigMap) ElementType ¶
func (BranchConfigMap) ElementType() reflect.Type
func (BranchConfigMap) ToBranchConfigMapOutput ¶
func (i BranchConfigMap) ToBranchConfigMapOutput() BranchConfigMapOutput
func (BranchConfigMap) ToBranchConfigMapOutputWithContext ¶
func (i BranchConfigMap) ToBranchConfigMapOutputWithContext(ctx context.Context) BranchConfigMapOutput
type BranchConfigMapInput ¶
type BranchConfigMapInput interface { pulumi.Input ToBranchConfigMapOutput() BranchConfigMapOutput ToBranchConfigMapOutputWithContext(context.Context) BranchConfigMapOutput }
BranchConfigMapInput is an input type that accepts BranchConfigMap and BranchConfigMapOutput values. You can construct a concrete instance of `BranchConfigMapInput` via:
BranchConfigMap{ "key": BranchConfigArgs{...} }
type BranchConfigMapOutput ¶
type BranchConfigMapOutput struct{ *pulumi.OutputState }
func (BranchConfigMapOutput) ElementType ¶
func (BranchConfigMapOutput) ElementType() reflect.Type
func (BranchConfigMapOutput) MapIndex ¶
func (o BranchConfigMapOutput) MapIndex(k pulumi.StringInput) BranchConfigOutput
func (BranchConfigMapOutput) ToBranchConfigMapOutput ¶
func (o BranchConfigMapOutput) ToBranchConfigMapOutput() BranchConfigMapOutput
func (BranchConfigMapOutput) ToBranchConfigMapOutputWithContext ¶
func (o BranchConfigMapOutput) ToBranchConfigMapOutputWithContext(ctx context.Context) BranchConfigMapOutput
type BranchConfigOutput ¶
type BranchConfigOutput struct{ *pulumi.OutputState }
func (BranchConfigOutput) ElementType ¶
func (BranchConfigOutput) ElementType() reflect.Type
func (BranchConfigOutput) Environment ¶
func (o BranchConfigOutput) Environment() pulumi.StringOutput
The name of the Doppler environment where the config is located
func (BranchConfigOutput) Name ¶
func (o BranchConfigOutput) Name() pulumi.StringOutput
The name of the Doppler config
func (BranchConfigOutput) Project ¶
func (o BranchConfigOutput) Project() pulumi.StringOutput
The name of the Doppler project where the config is located
func (BranchConfigOutput) ToBranchConfigOutput ¶
func (o BranchConfigOutput) ToBranchConfigOutput() BranchConfigOutput
func (BranchConfigOutput) ToBranchConfigOutputWithContext ¶
func (o BranchConfigOutput) ToBranchConfigOutputWithContext(ctx context.Context) BranchConfigOutput
type BranchConfigState ¶
type BranchConfigState struct { // The name of the Doppler environment where the config is located Environment pulumi.StringPtrInput // The name of the Doppler config Name pulumi.StringPtrInput // The name of the Doppler project where the config is located Project pulumi.StringPtrInput }
func (BranchConfigState) ElementType ¶
func (BranchConfigState) ElementType() reflect.Type
type Environment ¶
type Environment struct { pulumi.CustomResourceState // The name of the Doppler environment Name pulumi.StringOutput `pulumi:"name"` // The name of the Doppler project where the environment is located Project pulumi.StringOutput `pulumi:"project"` // The slug of the Doppler environment Slug pulumi.StringOutput `pulumi:"slug"` }
Manage a Doppler environment.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-doppler/sdk/go/doppler"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := doppler.NewEnvironment(ctx, "backend_ci", &doppler.EnvironmentArgs{ Project: pulumi.String("backend"), Slug: pulumi.String("ci"), Name: pulumi.String("Continuous Integration"), }) if err != nil { return err } return nil }) }
```
func GetEnvironment ¶
func GetEnvironment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EnvironmentState, opts ...pulumi.ResourceOption) (*Environment, error)
GetEnvironment gets an existing Environment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEnvironment ¶
func NewEnvironment(ctx *pulumi.Context, name string, args *EnvironmentArgs, opts ...pulumi.ResourceOption) (*Environment, error)
NewEnvironment registers a new resource with the given unique name, arguments, and options.
func (*Environment) ElementType ¶
func (*Environment) ElementType() reflect.Type
func (*Environment) ToEnvironmentOutput ¶
func (i *Environment) ToEnvironmentOutput() EnvironmentOutput
func (*Environment) ToEnvironmentOutputWithContext ¶
func (i *Environment) ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput
type EnvironmentArgs ¶
type EnvironmentArgs struct { // The name of the Doppler environment Name pulumi.StringInput // The name of the Doppler project where the environment is located Project pulumi.StringInput // The slug of the Doppler environment Slug pulumi.StringInput }
The set of arguments for constructing a Environment resource.
func (EnvironmentArgs) ElementType ¶
func (EnvironmentArgs) ElementType() reflect.Type
type EnvironmentArray ¶
type EnvironmentArray []EnvironmentInput
func (EnvironmentArray) ElementType ¶
func (EnvironmentArray) ElementType() reflect.Type
func (EnvironmentArray) ToEnvironmentArrayOutput ¶
func (i EnvironmentArray) ToEnvironmentArrayOutput() EnvironmentArrayOutput
func (EnvironmentArray) ToEnvironmentArrayOutputWithContext ¶
func (i EnvironmentArray) ToEnvironmentArrayOutputWithContext(ctx context.Context) EnvironmentArrayOutput
type EnvironmentArrayInput ¶
type EnvironmentArrayInput interface { pulumi.Input ToEnvironmentArrayOutput() EnvironmentArrayOutput ToEnvironmentArrayOutputWithContext(context.Context) EnvironmentArrayOutput }
EnvironmentArrayInput is an input type that accepts EnvironmentArray and EnvironmentArrayOutput values. You can construct a concrete instance of `EnvironmentArrayInput` via:
EnvironmentArray{ EnvironmentArgs{...} }
type EnvironmentArrayOutput ¶
type EnvironmentArrayOutput struct{ *pulumi.OutputState }
func (EnvironmentArrayOutput) ElementType ¶
func (EnvironmentArrayOutput) ElementType() reflect.Type
func (EnvironmentArrayOutput) Index ¶
func (o EnvironmentArrayOutput) Index(i pulumi.IntInput) EnvironmentOutput
func (EnvironmentArrayOutput) ToEnvironmentArrayOutput ¶
func (o EnvironmentArrayOutput) ToEnvironmentArrayOutput() EnvironmentArrayOutput
func (EnvironmentArrayOutput) ToEnvironmentArrayOutputWithContext ¶
func (o EnvironmentArrayOutput) ToEnvironmentArrayOutputWithContext(ctx context.Context) EnvironmentArrayOutput
type EnvironmentInput ¶
type EnvironmentInput interface { pulumi.Input ToEnvironmentOutput() EnvironmentOutput ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput }
type EnvironmentMap ¶
type EnvironmentMap map[string]EnvironmentInput
func (EnvironmentMap) ElementType ¶
func (EnvironmentMap) ElementType() reflect.Type
func (EnvironmentMap) ToEnvironmentMapOutput ¶
func (i EnvironmentMap) ToEnvironmentMapOutput() EnvironmentMapOutput
func (EnvironmentMap) ToEnvironmentMapOutputWithContext ¶
func (i EnvironmentMap) ToEnvironmentMapOutputWithContext(ctx context.Context) EnvironmentMapOutput
type EnvironmentMapInput ¶
type EnvironmentMapInput interface { pulumi.Input ToEnvironmentMapOutput() EnvironmentMapOutput ToEnvironmentMapOutputWithContext(context.Context) EnvironmentMapOutput }
EnvironmentMapInput is an input type that accepts EnvironmentMap and EnvironmentMapOutput values. You can construct a concrete instance of `EnvironmentMapInput` via:
EnvironmentMap{ "key": EnvironmentArgs{...} }
type EnvironmentMapOutput ¶
type EnvironmentMapOutput struct{ *pulumi.OutputState }
func (EnvironmentMapOutput) ElementType ¶
func (EnvironmentMapOutput) ElementType() reflect.Type
func (EnvironmentMapOutput) MapIndex ¶
func (o EnvironmentMapOutput) MapIndex(k pulumi.StringInput) EnvironmentOutput
func (EnvironmentMapOutput) ToEnvironmentMapOutput ¶
func (o EnvironmentMapOutput) ToEnvironmentMapOutput() EnvironmentMapOutput
func (EnvironmentMapOutput) ToEnvironmentMapOutputWithContext ¶
func (o EnvironmentMapOutput) ToEnvironmentMapOutputWithContext(ctx context.Context) EnvironmentMapOutput
type EnvironmentOutput ¶
type EnvironmentOutput struct{ *pulumi.OutputState }
func (EnvironmentOutput) ElementType ¶
func (EnvironmentOutput) ElementType() reflect.Type
func (EnvironmentOutput) Name ¶
func (o EnvironmentOutput) Name() pulumi.StringOutput
The name of the Doppler environment
func (EnvironmentOutput) Project ¶
func (o EnvironmentOutput) Project() pulumi.StringOutput
The name of the Doppler project where the environment is located
func (EnvironmentOutput) Slug ¶
func (o EnvironmentOutput) Slug() pulumi.StringOutput
The slug of the Doppler environment
func (EnvironmentOutput) ToEnvironmentOutput ¶
func (o EnvironmentOutput) ToEnvironmentOutput() EnvironmentOutput
func (EnvironmentOutput) ToEnvironmentOutputWithContext ¶
func (o EnvironmentOutput) ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput
type EnvironmentState ¶
type EnvironmentState struct { // The name of the Doppler environment Name pulumi.StringPtrInput // The name of the Doppler project where the environment is located Project pulumi.StringPtrInput // The slug of the Doppler environment Slug pulumi.StringPtrInput }
func (EnvironmentState) ElementType ¶
func (EnvironmentState) ElementType() reflect.Type
type GetSecretsArgs ¶ added in v0.2.0
type GetSecretsArgs struct { // The name of the Doppler config (required for personal tokens) Config *string `pulumi:"config"` // The name of the Doppler project (required for personal tokens) Project *string `pulumi:"project"` }
A collection of arguments for invoking getSecrets.
type GetSecretsOutputArgs ¶ added in v0.2.0
type GetSecretsOutputArgs struct { // The name of the Doppler config (required for personal tokens) Config pulumi.StringPtrInput `pulumi:"config"` // The name of the Doppler project (required for personal tokens) Project pulumi.StringPtrInput `pulumi:"project"` }
A collection of arguments for invoking getSecrets.
func (GetSecretsOutputArgs) ElementType ¶ added in v0.2.0
func (GetSecretsOutputArgs) ElementType() reflect.Type
type GetSecretsResult ¶ added in v0.2.0
type GetSecretsResult struct { // The name of the Doppler config (required for personal tokens) Config *string `pulumi:"config"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // A mapping of secret names to computed secret values Map map[string]string `pulumi:"map"` // The name of the Doppler project (required for personal tokens) Project *string `pulumi:"project"` }
A collection of values returned by getSecrets.
func GetSecrets ¶ added in v0.2.0
func GetSecrets(ctx *pulumi.Context, args *GetSecretsArgs, opts ...pulumi.InvokeOption) (*GetSecretsResult, error)
Retrieve all secrets in the config.
type GetSecretsResultOutput ¶ added in v0.2.0
type GetSecretsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSecrets.
func GetSecretsOutput ¶ added in v0.2.0
func GetSecretsOutput(ctx *pulumi.Context, args GetSecretsOutputArgs, opts ...pulumi.InvokeOption) GetSecretsResultOutput
func (GetSecretsResultOutput) Config ¶ added in v0.2.0
func (o GetSecretsResultOutput) Config() pulumi.StringPtrOutput
The name of the Doppler config (required for personal tokens)
func (GetSecretsResultOutput) ElementType ¶ added in v0.2.0
func (GetSecretsResultOutput) ElementType() reflect.Type
func (GetSecretsResultOutput) Id ¶ added in v0.2.0
func (o GetSecretsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSecretsResultOutput) Map ¶ added in v0.2.0
func (o GetSecretsResultOutput) Map() pulumi.StringMapOutput
A mapping of secret names to computed secret values
func (GetSecretsResultOutput) Project ¶ added in v0.2.0
func (o GetSecretsResultOutput) Project() pulumi.StringPtrOutput
The name of the Doppler project (required for personal tokens)
func (GetSecretsResultOutput) ToGetSecretsResultOutput ¶ added in v0.2.0
func (o GetSecretsResultOutput) ToGetSecretsResultOutput() GetSecretsResultOutput
func (GetSecretsResultOutput) ToGetSecretsResultOutputWithContext ¶ added in v0.2.0
func (o GetSecretsResultOutput) ToGetSecretsResultOutputWithContext(ctx context.Context) GetSecretsResultOutput
type Project ¶
type Project struct { pulumi.CustomResourceState // The description of the Doppler project Description pulumi.StringPtrOutput `pulumi:"description"` // The name of the Doppler project Name pulumi.StringOutput `pulumi:"name"` }
Manage a Doppler project.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-doppler/sdk/go/doppler"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := doppler.NewProject(ctx, "backend", &doppler.ProjectArgs{ Name: pulumi.String("backend"), Description: pulumi.String("The main backend project"), }) if err != nil { return err } return nil }) }
```
func GetProject ¶
func GetProject(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProjectState, opts ...pulumi.ResourceOption) (*Project, error)
GetProject gets an existing Project resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewProject ¶
func NewProject(ctx *pulumi.Context, name string, args *ProjectArgs, opts ...pulumi.ResourceOption) (*Project, error)
NewProject registers a new resource with the given unique name, arguments, and options.
func (*Project) ElementType ¶
func (*Project) ToProjectOutput ¶
func (i *Project) ToProjectOutput() ProjectOutput
func (*Project) ToProjectOutputWithContext ¶
func (i *Project) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
type ProjectArgs ¶
type ProjectArgs struct { // The description of the Doppler project Description pulumi.StringPtrInput // The name of the Doppler project Name pulumi.StringInput }
The set of arguments for constructing a Project resource.
func (ProjectArgs) ElementType ¶
func (ProjectArgs) ElementType() reflect.Type
type ProjectArray ¶
type ProjectArray []ProjectInput
func (ProjectArray) ElementType ¶
func (ProjectArray) ElementType() reflect.Type
func (ProjectArray) ToProjectArrayOutput ¶
func (i ProjectArray) ToProjectArrayOutput() ProjectArrayOutput
func (ProjectArray) ToProjectArrayOutputWithContext ¶
func (i ProjectArray) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput
type ProjectArrayInput ¶
type ProjectArrayInput interface { pulumi.Input ToProjectArrayOutput() ProjectArrayOutput ToProjectArrayOutputWithContext(context.Context) ProjectArrayOutput }
ProjectArrayInput is an input type that accepts ProjectArray and ProjectArrayOutput values. You can construct a concrete instance of `ProjectArrayInput` via:
ProjectArray{ ProjectArgs{...} }
type ProjectArrayOutput ¶
type ProjectArrayOutput struct{ *pulumi.OutputState }
func (ProjectArrayOutput) ElementType ¶
func (ProjectArrayOutput) ElementType() reflect.Type
func (ProjectArrayOutput) Index ¶
func (o ProjectArrayOutput) Index(i pulumi.IntInput) ProjectOutput
func (ProjectArrayOutput) ToProjectArrayOutput ¶
func (o ProjectArrayOutput) ToProjectArrayOutput() ProjectArrayOutput
func (ProjectArrayOutput) ToProjectArrayOutputWithContext ¶
func (o ProjectArrayOutput) ToProjectArrayOutputWithContext(ctx context.Context) ProjectArrayOutput
type ProjectInput ¶
type ProjectInput interface { pulumi.Input ToProjectOutput() ProjectOutput ToProjectOutputWithContext(ctx context.Context) ProjectOutput }
type ProjectMap ¶
type ProjectMap map[string]ProjectInput
func (ProjectMap) ElementType ¶
func (ProjectMap) ElementType() reflect.Type
func (ProjectMap) ToProjectMapOutput ¶
func (i ProjectMap) ToProjectMapOutput() ProjectMapOutput
func (ProjectMap) ToProjectMapOutputWithContext ¶
func (i ProjectMap) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput
type ProjectMapInput ¶
type ProjectMapInput interface { pulumi.Input ToProjectMapOutput() ProjectMapOutput ToProjectMapOutputWithContext(context.Context) ProjectMapOutput }
ProjectMapInput is an input type that accepts ProjectMap and ProjectMapOutput values. You can construct a concrete instance of `ProjectMapInput` via:
ProjectMap{ "key": ProjectArgs{...} }
type ProjectMapOutput ¶
type ProjectMapOutput struct{ *pulumi.OutputState }
func (ProjectMapOutput) ElementType ¶
func (ProjectMapOutput) ElementType() reflect.Type
func (ProjectMapOutput) MapIndex ¶
func (o ProjectMapOutput) MapIndex(k pulumi.StringInput) ProjectOutput
func (ProjectMapOutput) ToProjectMapOutput ¶
func (o ProjectMapOutput) ToProjectMapOutput() ProjectMapOutput
func (ProjectMapOutput) ToProjectMapOutputWithContext ¶
func (o ProjectMapOutput) ToProjectMapOutputWithContext(ctx context.Context) ProjectMapOutput
type ProjectOutput ¶
type ProjectOutput struct{ *pulumi.OutputState }
func (ProjectOutput) Description ¶
func (o ProjectOutput) Description() pulumi.StringPtrOutput
The description of the Doppler project
func (ProjectOutput) ElementType ¶
func (ProjectOutput) ElementType() reflect.Type
func (ProjectOutput) Name ¶
func (o ProjectOutput) Name() pulumi.StringOutput
The name of the Doppler project
func (ProjectOutput) ToProjectOutput ¶
func (o ProjectOutput) ToProjectOutput() ProjectOutput
func (ProjectOutput) ToProjectOutputWithContext ¶
func (o ProjectOutput) ToProjectOutputWithContext(ctx context.Context) ProjectOutput
type ProjectState ¶
type ProjectState struct { // The description of the Doppler project Description pulumi.StringPtrInput // The name of the Doppler project Name pulumi.StringPtrInput }
func (ProjectState) ElementType ¶
func (ProjectState) ElementType() reflect.Type
type Provider ¶
type Provider struct { pulumi.ProviderResourceState // A Doppler token, either a personal or service token DopplerToken pulumi.StringOutput `pulumi:"dopplerToken"` // The Doppler API host (i.e. https://api.doppler.com) Host pulumi.StringPtrOutput `pulumi:"host"` }
The provider type for the doppler package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
func NewProvider ¶
func NewProvider(ctx *pulumi.Context, name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)
NewProvider registers a new resource with the given unique name, arguments, and options.
func (*Provider) ElementType ¶
func (*Provider) ToProviderOutput ¶
func (i *Provider) ToProviderOutput() ProviderOutput
func (*Provider) ToProviderOutputWithContext ¶
func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
type ProviderArgs ¶
type ProviderArgs struct { // A Doppler token, either a personal or service token DopplerToken pulumi.StringInput // The Doppler API host (i.e. https://api.doppler.com) Host pulumi.StringPtrInput // Whether or not to verify TLS VerifyTls pulumi.BoolPtrInput }
The set of arguments for constructing a Provider resource.
func (ProviderArgs) ElementType ¶
func (ProviderArgs) ElementType() reflect.Type
type ProviderInput ¶
type ProviderInput interface { pulumi.Input ToProviderOutput() ProviderOutput ToProviderOutputWithContext(ctx context.Context) ProviderOutput }
type ProviderOutput ¶
type ProviderOutput struct{ *pulumi.OutputState }
func (ProviderOutput) DopplerToken ¶
func (o ProviderOutput) DopplerToken() pulumi.StringOutput
A Doppler token, either a personal or service token
func (ProviderOutput) ElementType ¶
func (ProviderOutput) ElementType() reflect.Type
func (ProviderOutput) Host ¶
func (o ProviderOutput) Host() pulumi.StringPtrOutput
The Doppler API host (i.e. https://api.doppler.com)
func (ProviderOutput) ToProviderOutput ¶
func (o ProviderOutput) ToProviderOutput() ProviderOutput
func (ProviderOutput) ToProviderOutputWithContext ¶
func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
type Secret ¶
type Secret struct { pulumi.CustomResourceState // The computed secret value, after resolving secret references Computed pulumi.StringOutput `pulumi:"computed"` // The name of the Doppler config Config pulumi.StringOutput `pulumi:"config"` // The name of the Doppler secret Name pulumi.StringOutput `pulumi:"name"` // The name of the Doppler project Project pulumi.StringOutput `pulumi:"project"` // The raw secret value Value pulumi.StringOutput `pulumi:"value"` // The visibility of the secret Visibility pulumi.StringPtrOutput `pulumi:"visibility"` }
Manage a single Doppler secret in a config.
func GetSecret ¶
func GetSecret(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SecretState, opts ...pulumi.ResourceOption) (*Secret, error)
GetSecret gets an existing Secret resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSecret ¶
func NewSecret(ctx *pulumi.Context, name string, args *SecretArgs, opts ...pulumi.ResourceOption) (*Secret, error)
NewSecret registers a new resource with the given unique name, arguments, and options.
func (*Secret) ElementType ¶
func (*Secret) ToSecretOutput ¶
func (i *Secret) ToSecretOutput() SecretOutput
func (*Secret) ToSecretOutputWithContext ¶
func (i *Secret) ToSecretOutputWithContext(ctx context.Context) SecretOutput
type SecretArgs ¶
type SecretArgs struct { // The name of the Doppler config Config pulumi.StringInput // The name of the Doppler secret Name pulumi.StringInput // The name of the Doppler project Project pulumi.StringInput // The raw secret value Value pulumi.StringInput // The visibility of the secret Visibility pulumi.StringPtrInput }
The set of arguments for constructing a Secret resource.
func (SecretArgs) ElementType ¶
func (SecretArgs) ElementType() reflect.Type
type SecretArray ¶
type SecretArray []SecretInput
func (SecretArray) ElementType ¶
func (SecretArray) ElementType() reflect.Type
func (SecretArray) ToSecretArrayOutput ¶
func (i SecretArray) ToSecretArrayOutput() SecretArrayOutput
func (SecretArray) ToSecretArrayOutputWithContext ¶
func (i SecretArray) ToSecretArrayOutputWithContext(ctx context.Context) SecretArrayOutput
type SecretArrayInput ¶
type SecretArrayInput interface { pulumi.Input ToSecretArrayOutput() SecretArrayOutput ToSecretArrayOutputWithContext(context.Context) SecretArrayOutput }
SecretArrayInput is an input type that accepts SecretArray and SecretArrayOutput values. You can construct a concrete instance of `SecretArrayInput` via:
SecretArray{ SecretArgs{...} }
type SecretArrayOutput ¶
type SecretArrayOutput struct{ *pulumi.OutputState }
func (SecretArrayOutput) ElementType ¶
func (SecretArrayOutput) ElementType() reflect.Type
func (SecretArrayOutput) Index ¶
func (o SecretArrayOutput) Index(i pulumi.IntInput) SecretOutput
func (SecretArrayOutput) ToSecretArrayOutput ¶
func (o SecretArrayOutput) ToSecretArrayOutput() SecretArrayOutput
func (SecretArrayOutput) ToSecretArrayOutputWithContext ¶
func (o SecretArrayOutput) ToSecretArrayOutputWithContext(ctx context.Context) SecretArrayOutput
type SecretInput ¶
type SecretInput interface { pulumi.Input ToSecretOutput() SecretOutput ToSecretOutputWithContext(ctx context.Context) SecretOutput }
type SecretMap ¶
type SecretMap map[string]SecretInput
func (SecretMap) ElementType ¶
func (SecretMap) ToSecretMapOutput ¶
func (i SecretMap) ToSecretMapOutput() SecretMapOutput
func (SecretMap) ToSecretMapOutputWithContext ¶
func (i SecretMap) ToSecretMapOutputWithContext(ctx context.Context) SecretMapOutput
type SecretMapInput ¶
type SecretMapInput interface { pulumi.Input ToSecretMapOutput() SecretMapOutput ToSecretMapOutputWithContext(context.Context) SecretMapOutput }
SecretMapInput is an input type that accepts SecretMap and SecretMapOutput values. You can construct a concrete instance of `SecretMapInput` via:
SecretMap{ "key": SecretArgs{...} }
type SecretMapOutput ¶
type SecretMapOutput struct{ *pulumi.OutputState }
func (SecretMapOutput) ElementType ¶
func (SecretMapOutput) ElementType() reflect.Type
func (SecretMapOutput) MapIndex ¶
func (o SecretMapOutput) MapIndex(k pulumi.StringInput) SecretOutput
func (SecretMapOutput) ToSecretMapOutput ¶
func (o SecretMapOutput) ToSecretMapOutput() SecretMapOutput
func (SecretMapOutput) ToSecretMapOutputWithContext ¶
func (o SecretMapOutput) ToSecretMapOutputWithContext(ctx context.Context) SecretMapOutput
type SecretOutput ¶
type SecretOutput struct{ *pulumi.OutputState }
func (SecretOutput) Computed ¶
func (o SecretOutput) Computed() pulumi.StringOutput
The computed secret value, after resolving secret references
func (SecretOutput) Config ¶
func (o SecretOutput) Config() pulumi.StringOutput
The name of the Doppler config
func (SecretOutput) ElementType ¶
func (SecretOutput) ElementType() reflect.Type
func (SecretOutput) Name ¶
func (o SecretOutput) Name() pulumi.StringOutput
The name of the Doppler secret
func (SecretOutput) Project ¶
func (o SecretOutput) Project() pulumi.StringOutput
The name of the Doppler project
func (SecretOutput) ToSecretOutput ¶
func (o SecretOutput) ToSecretOutput() SecretOutput
func (SecretOutput) ToSecretOutputWithContext ¶
func (o SecretOutput) ToSecretOutputWithContext(ctx context.Context) SecretOutput
func (SecretOutput) Visibility ¶ added in v0.2.0
func (o SecretOutput) Visibility() pulumi.StringPtrOutput
The visibility of the secret
type SecretState ¶
type SecretState struct { // The computed secret value, after resolving secret references Computed pulumi.StringPtrInput // The name of the Doppler config Config pulumi.StringPtrInput // The name of the Doppler secret Name pulumi.StringPtrInput // The name of the Doppler project Project pulumi.StringPtrInput // The raw secret value Value pulumi.StringPtrInput // The visibility of the secret Visibility pulumi.StringPtrInput }
func (SecretState) ElementType ¶
func (SecretState) ElementType() reflect.Type
type ServiceToken ¶
type ServiceToken struct { pulumi.CustomResourceState // The access level (read or read/write) Access pulumi.StringPtrOutput `pulumi:"access"` // The name of the Doppler config where the service token is located Config pulumi.StringOutput `pulumi:"config"` // The key for the Doppler service token Key pulumi.StringOutput `pulumi:"key"` // The name of the Doppler service token Name pulumi.StringOutput `pulumi:"name"` // The name of the Doppler project where the service token is located Project pulumi.StringOutput `pulumi:"project"` }
Manage a Doppler service token.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-doppler/sdk/go/doppler"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := doppler.NewServiceToken(ctx, "backend_ci_token", &doppler.ServiceTokenArgs{ Project: pulumi.String("backend"), Config: pulumi.String("ci"), Name: pulumi.String("Builder Token"), Access: pulumi.String("read"), }) if err != nil { return err } return nil }) }
```
func GetServiceToken ¶
func GetServiceToken(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServiceTokenState, opts ...pulumi.ResourceOption) (*ServiceToken, error)
GetServiceToken gets an existing ServiceToken resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewServiceToken ¶
func NewServiceToken(ctx *pulumi.Context, name string, args *ServiceTokenArgs, opts ...pulumi.ResourceOption) (*ServiceToken, error)
NewServiceToken registers a new resource with the given unique name, arguments, and options.
func (*ServiceToken) ElementType ¶
func (*ServiceToken) ElementType() reflect.Type
func (*ServiceToken) ToServiceTokenOutput ¶
func (i *ServiceToken) ToServiceTokenOutput() ServiceTokenOutput
func (*ServiceToken) ToServiceTokenOutputWithContext ¶
func (i *ServiceToken) ToServiceTokenOutputWithContext(ctx context.Context) ServiceTokenOutput
type ServiceTokenArgs ¶
type ServiceTokenArgs struct { // The access level (read or read/write) Access pulumi.StringPtrInput // The name of the Doppler config where the service token is located Config pulumi.StringInput // The name of the Doppler service token Name pulumi.StringInput // The name of the Doppler project where the service token is located Project pulumi.StringInput }
The set of arguments for constructing a ServiceToken resource.
func (ServiceTokenArgs) ElementType ¶
func (ServiceTokenArgs) ElementType() reflect.Type
type ServiceTokenArray ¶
type ServiceTokenArray []ServiceTokenInput
func (ServiceTokenArray) ElementType ¶
func (ServiceTokenArray) ElementType() reflect.Type
func (ServiceTokenArray) ToServiceTokenArrayOutput ¶
func (i ServiceTokenArray) ToServiceTokenArrayOutput() ServiceTokenArrayOutput
func (ServiceTokenArray) ToServiceTokenArrayOutputWithContext ¶
func (i ServiceTokenArray) ToServiceTokenArrayOutputWithContext(ctx context.Context) ServiceTokenArrayOutput
type ServiceTokenArrayInput ¶
type ServiceTokenArrayInput interface { pulumi.Input ToServiceTokenArrayOutput() ServiceTokenArrayOutput ToServiceTokenArrayOutputWithContext(context.Context) ServiceTokenArrayOutput }
ServiceTokenArrayInput is an input type that accepts ServiceTokenArray and ServiceTokenArrayOutput values. You can construct a concrete instance of `ServiceTokenArrayInput` via:
ServiceTokenArray{ ServiceTokenArgs{...} }
type ServiceTokenArrayOutput ¶
type ServiceTokenArrayOutput struct{ *pulumi.OutputState }
func (ServiceTokenArrayOutput) ElementType ¶
func (ServiceTokenArrayOutput) ElementType() reflect.Type
func (ServiceTokenArrayOutput) Index ¶
func (o ServiceTokenArrayOutput) Index(i pulumi.IntInput) ServiceTokenOutput
func (ServiceTokenArrayOutput) ToServiceTokenArrayOutput ¶
func (o ServiceTokenArrayOutput) ToServiceTokenArrayOutput() ServiceTokenArrayOutput
func (ServiceTokenArrayOutput) ToServiceTokenArrayOutputWithContext ¶
func (o ServiceTokenArrayOutput) ToServiceTokenArrayOutputWithContext(ctx context.Context) ServiceTokenArrayOutput
type ServiceTokenInput ¶
type ServiceTokenInput interface { pulumi.Input ToServiceTokenOutput() ServiceTokenOutput ToServiceTokenOutputWithContext(ctx context.Context) ServiceTokenOutput }
type ServiceTokenMap ¶
type ServiceTokenMap map[string]ServiceTokenInput
func (ServiceTokenMap) ElementType ¶
func (ServiceTokenMap) ElementType() reflect.Type
func (ServiceTokenMap) ToServiceTokenMapOutput ¶
func (i ServiceTokenMap) ToServiceTokenMapOutput() ServiceTokenMapOutput
func (ServiceTokenMap) ToServiceTokenMapOutputWithContext ¶
func (i ServiceTokenMap) ToServiceTokenMapOutputWithContext(ctx context.Context) ServiceTokenMapOutput
type ServiceTokenMapInput ¶
type ServiceTokenMapInput interface { pulumi.Input ToServiceTokenMapOutput() ServiceTokenMapOutput ToServiceTokenMapOutputWithContext(context.Context) ServiceTokenMapOutput }
ServiceTokenMapInput is an input type that accepts ServiceTokenMap and ServiceTokenMapOutput values. You can construct a concrete instance of `ServiceTokenMapInput` via:
ServiceTokenMap{ "key": ServiceTokenArgs{...} }
type ServiceTokenMapOutput ¶
type ServiceTokenMapOutput struct{ *pulumi.OutputState }
func (ServiceTokenMapOutput) ElementType ¶
func (ServiceTokenMapOutput) ElementType() reflect.Type
func (ServiceTokenMapOutput) MapIndex ¶
func (o ServiceTokenMapOutput) MapIndex(k pulumi.StringInput) ServiceTokenOutput
func (ServiceTokenMapOutput) ToServiceTokenMapOutput ¶
func (o ServiceTokenMapOutput) ToServiceTokenMapOutput() ServiceTokenMapOutput
func (ServiceTokenMapOutput) ToServiceTokenMapOutputWithContext ¶
func (o ServiceTokenMapOutput) ToServiceTokenMapOutputWithContext(ctx context.Context) ServiceTokenMapOutput
type ServiceTokenOutput ¶
type ServiceTokenOutput struct{ *pulumi.OutputState }
func (ServiceTokenOutput) Access ¶
func (o ServiceTokenOutput) Access() pulumi.StringPtrOutput
The access level (read or read/write)
func (ServiceTokenOutput) Config ¶
func (o ServiceTokenOutput) Config() pulumi.StringOutput
The name of the Doppler config where the service token is located
func (ServiceTokenOutput) ElementType ¶
func (ServiceTokenOutput) ElementType() reflect.Type
func (ServiceTokenOutput) Key ¶
func (o ServiceTokenOutput) Key() pulumi.StringOutput
The key for the Doppler service token
func (ServiceTokenOutput) Name ¶
func (o ServiceTokenOutput) Name() pulumi.StringOutput
The name of the Doppler service token
func (ServiceTokenOutput) Project ¶
func (o ServiceTokenOutput) Project() pulumi.StringOutput
The name of the Doppler project where the service token is located
func (ServiceTokenOutput) ToServiceTokenOutput ¶
func (o ServiceTokenOutput) ToServiceTokenOutput() ServiceTokenOutput
func (ServiceTokenOutput) ToServiceTokenOutputWithContext ¶
func (o ServiceTokenOutput) ToServiceTokenOutputWithContext(ctx context.Context) ServiceTokenOutput
type ServiceTokenState ¶
type ServiceTokenState struct { // The access level (read or read/write) Access pulumi.StringPtrInput // The name of the Doppler config where the service token is located Config pulumi.StringPtrInput // The key for the Doppler service token Key pulumi.StringPtrInput // The name of the Doppler service token Name pulumi.StringPtrInput // The name of the Doppler project where the service token is located Project pulumi.StringPtrInput }
func (ServiceTokenState) ElementType ¶
func (ServiceTokenState) ElementType() reflect.Type