buildkite

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

A Pulumi package for creating and managing Buildkite resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetMetaResult

type GetMetaResult struct {
	Id string `pulumi:"id"`
	// A list of strings, each one an IP address (x.x.x.x) or CIDR address (x.x.x.x/32) that Buildkite may use to send webhooks and other external requests.
	WebhookIps []string `pulumi:"webhookIps"`
}

A collection of values returned by getMeta.

func GetMeta

func GetMeta(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetMetaResult, error)

type Provider

type Provider struct {
	pulumi.ProviderResourceState

	// API token with GraphQL access and `write_pipelines, read_pipelines` and `write_suites` REST API scopes
	ApiToken pulumi.StringPtrOutput `pulumi:"apiToken"`
	// Base URL for the GraphQL API to use
	GraphqlUrl pulumi.StringPtrOutput `pulumi:"graphqlUrl"`
	// The Buildkite organization slug
	Organization pulumi.StringPtrOutput `pulumi:"organization"`
	// Base URL for the REST API to use
	RestUrl pulumi.StringPtrOutput `pulumi:"restUrl"`
}

The provider type for the buildkite 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) 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 {
	// API token with GraphQL access and `write_pipelines, read_pipelines` and `write_suites` REST API scopes
	ApiToken pulumi.StringPtrInput
	// Archive pipelines when destroying instead of completely deleting.
	ArchivePipelineOnDelete pulumi.BoolPtrInput
	// Base URL for the GraphQL API to use
	GraphqlUrl pulumi.StringPtrInput
	// The Buildkite organization slug
	Organization pulumi.StringPtrInput
	// Base URL for the REST API to use
	RestUrl pulumi.StringPtrInput
}

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

func (o ProviderOutput) ApiToken() pulumi.StringPtrOutput

API token with GraphQL access and `write_pipelines, read_pipelines` and `write_suites` REST API scopes

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) GraphqlUrl

func (o ProviderOutput) GraphqlUrl() pulumi.StringPtrOutput

Base URL for the GraphQL API to use

func (ProviderOutput) Organization

func (o ProviderOutput) Organization() pulumi.StringPtrOutput

The Buildkite organization slug

func (ProviderOutput) RestUrl

Base URL for the REST API to use

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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