autodeploy

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package autodeploy exports types, functions, subpackages for provisioning autodeploy resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type AutoDeployer

type AutoDeployer struct {
	pulumi.ResourceState

	// A list of `AutoDeployer.DownstreamRef` indicating which stacks should
	// automatically be updated via Pulumi Deployments when this stack is successfully updated.
	DownstreamRefs pulumi.StringArrayOutput `pulumi:"downstreamRefs"`
	// A list of webhook URLs configured on this stack to trigger downstream deployments.
	DownstreamWebhooks pulumi.StringArrayOutput `pulumi:"downstreamWebhooks"`
	// The organization name for the AutoDeployer stack.
	Organization pulumi.StringOutput `pulumi:"organization"`
	// The project name for the AutoDeployer stack.
	Project pulumi.StringOutput `pulumi:"project"`
	// The output reference that can be passed to another AutoDeployer's downstreamRefs list
	// to configure depedent updates.
	Ref pulumi.StringOutput `pulumi:"ref"`
	// The stack name for this AutoDeployer.
	Stack pulumi.StringOutput `pulumi:"stack"`
}

Automatically trigger downstream updates on dependent stacks via Pulumi Deployments. AutoDeployer requires that stacks have Deployment Settings configured.

func NewAutoDeployer

func NewAutoDeployer(ctx *pulumi.Context,
	name string, args *AutoDeployerArgs, opts ...pulumi.ResourceOption) (*AutoDeployer, error)

NewAutoDeployer registers a new resource with the given unique name, arguments, and options.

func (*AutoDeployer) ElementType

func (*AutoDeployer) ElementType() reflect.Type

func (*AutoDeployer) ToAutoDeployerOutput

func (i *AutoDeployer) ToAutoDeployerOutput() AutoDeployerOutput

func (*AutoDeployer) ToAutoDeployerOutputWithContext

func (i *AutoDeployer) ToAutoDeployerOutputWithContext(ctx context.Context) AutoDeployerOutput

type AutoDeployerArgs

type AutoDeployerArgs struct {
	// A list of `AutoDeployer.DownstreamRef` indicating which stacks should
	// automatically be updated via Pulumi Deployments when this stack is successfully updated.
	DownstreamRefs pulumi.StringArrayInput
	// The organization name for the AutoDeployer stack.
	Organization pulumi.StringInput
	// The project name for the AutoDeployer stack.
	Project pulumi.StringInput
	// The stack name for this AutoDeployer.
	Stack pulumi.StringInput
}

The set of arguments for constructing a AutoDeployer resource.

func (AutoDeployerArgs) ElementType

func (AutoDeployerArgs) ElementType() reflect.Type

type AutoDeployerInput

type AutoDeployerInput interface {
	pulumi.Input

	ToAutoDeployerOutput() AutoDeployerOutput
	ToAutoDeployerOutputWithContext(ctx context.Context) AutoDeployerOutput
}

type AutoDeployerOutput

type AutoDeployerOutput struct{ *pulumi.OutputState }

func (AutoDeployerOutput) DownstreamRefs

func (o AutoDeployerOutput) DownstreamRefs() pulumi.StringArrayOutput

A list of `AutoDeployer.DownstreamRef` indicating which stacks should automatically be updated via Pulumi Deployments when this stack is successfully updated.

func (AutoDeployerOutput) DownstreamWebhooks

func (o AutoDeployerOutput) DownstreamWebhooks() pulumi.StringArrayOutput

A list of webhook URLs configured on this stack to trigger downstream deployments.

func (AutoDeployerOutput) ElementType

func (AutoDeployerOutput) ElementType() reflect.Type

func (AutoDeployerOutput) Organization

func (o AutoDeployerOutput) Organization() pulumi.StringOutput

The organization name for the AutoDeployer stack.

func (AutoDeployerOutput) Project

The project name for the AutoDeployer stack.

func (AutoDeployerOutput) Ref

The output reference that can be passed to another AutoDeployer's downstreamRefs list to configure depedent updates.

func (AutoDeployerOutput) Stack

The stack name for this AutoDeployer.

func (AutoDeployerOutput) ToAutoDeployerOutput

func (o AutoDeployerOutput) ToAutoDeployerOutput() AutoDeployerOutput

func (AutoDeployerOutput) ToAutoDeployerOutputWithContext

func (o AutoDeployerOutput) ToAutoDeployerOutputWithContext(ctx context.Context) AutoDeployerOutput

type Provider

type Provider struct {
	pulumi.ProviderResourceState
}

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) ElementType() reflect.Type

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type ProviderArgs

type ProviderArgs struct {
}

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) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL