Documentation ¶
Index ¶
- type AgentToken
- type AgentTokenArgs
- type AgentTokenArray
- type AgentTokenArrayInput
- type AgentTokenArrayOutput
- func (AgentTokenArrayOutput) ElementType() reflect.Type
- func (o AgentTokenArrayOutput) Index(i pulumi.IntInput) AgentTokenOutput
- func (o AgentTokenArrayOutput) ToAgentTokenArrayOutput() AgentTokenArrayOutput
- func (o AgentTokenArrayOutput) ToAgentTokenArrayOutputWithContext(ctx context.Context) AgentTokenArrayOutput
- type AgentTokenInput
- type AgentTokenMap
- type AgentTokenMapInput
- type AgentTokenMapOutput
- func (AgentTokenMapOutput) ElementType() reflect.Type
- func (o AgentTokenMapOutput) MapIndex(k pulumi.StringInput) AgentTokenOutput
- func (o AgentTokenMapOutput) ToAgentTokenMapOutput() AgentTokenMapOutput
- func (o AgentTokenMapOutput) ToAgentTokenMapOutputWithContext(ctx context.Context) AgentTokenMapOutput
- type AgentTokenOutput
- func (o AgentTokenOutput) Description() pulumi.StringPtrOutput
- func (AgentTokenOutput) ElementType() reflect.Type
- func (o AgentTokenOutput) ToAgentTokenOutput() AgentTokenOutput
- func (o AgentTokenOutput) ToAgentTokenOutputWithContext(ctx context.Context) AgentTokenOutput
- func (o AgentTokenOutput) Token() pulumi.StringOutput
- func (o AgentTokenOutput) Uuid() pulumi.StringOutput
- type AgentTokenState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentToken ¶
type AgentToken struct { pulumi.CustomResourceState // This is the description of the agent token. // // > Changing `description` will cause the resource to be destroyed and re-created. Description pulumi.StringPtrOutput `pulumi:"description"` // The value of the created agent token. Token pulumi.StringOutput `pulumi:"token"` // The UUID of the token. Uuid pulumi.StringOutput `pulumi:"uuid"` }
## # Resource: agentToken
This resource allows you to create and manage agent tokens.
Buildkite Documentation: https://buildkite.com/docs/agent/v3/tokens
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumiverse/pulumi-buildkite/sdk/v2/go/buildkite/Agent"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Agent.NewAgentToken(ctx, "fleet", &Agent.AgentTokenArgs{ Description: pulumi.String("token used by build fleet"), }) if err != nil { return err } return nil }) }
```
func GetAgentToken ¶
func GetAgentToken(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AgentTokenState, opts ...pulumi.ResourceOption) (*AgentToken, error)
GetAgentToken gets an existing AgentToken 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 NewAgentToken ¶
func NewAgentToken(ctx *pulumi.Context, name string, args *AgentTokenArgs, opts ...pulumi.ResourceOption) (*AgentToken, error)
NewAgentToken registers a new resource with the given unique name, arguments, and options.
func (*AgentToken) ElementType ¶
func (*AgentToken) ElementType() reflect.Type
func (*AgentToken) ToAgentTokenOutput ¶
func (i *AgentToken) ToAgentTokenOutput() AgentTokenOutput
func (*AgentToken) ToAgentTokenOutputWithContext ¶
func (i *AgentToken) ToAgentTokenOutputWithContext(ctx context.Context) AgentTokenOutput
type AgentTokenArgs ¶
type AgentTokenArgs struct { // This is the description of the agent token. // // > Changing `description` will cause the resource to be destroyed and re-created. Description pulumi.StringPtrInput }
The set of arguments for constructing a AgentToken resource.
func (AgentTokenArgs) ElementType ¶
func (AgentTokenArgs) ElementType() reflect.Type
type AgentTokenArray ¶
type AgentTokenArray []AgentTokenInput
func (AgentTokenArray) ElementType ¶
func (AgentTokenArray) ElementType() reflect.Type
func (AgentTokenArray) ToAgentTokenArrayOutput ¶
func (i AgentTokenArray) ToAgentTokenArrayOutput() AgentTokenArrayOutput
func (AgentTokenArray) ToAgentTokenArrayOutputWithContext ¶
func (i AgentTokenArray) ToAgentTokenArrayOutputWithContext(ctx context.Context) AgentTokenArrayOutput
type AgentTokenArrayInput ¶
type AgentTokenArrayInput interface { pulumi.Input ToAgentTokenArrayOutput() AgentTokenArrayOutput ToAgentTokenArrayOutputWithContext(context.Context) AgentTokenArrayOutput }
AgentTokenArrayInput is an input type that accepts AgentTokenArray and AgentTokenArrayOutput values. You can construct a concrete instance of `AgentTokenArrayInput` via:
AgentTokenArray{ AgentTokenArgs{...} }
type AgentTokenArrayOutput ¶
type AgentTokenArrayOutput struct{ *pulumi.OutputState }
func (AgentTokenArrayOutput) ElementType ¶
func (AgentTokenArrayOutput) ElementType() reflect.Type
func (AgentTokenArrayOutput) Index ¶
func (o AgentTokenArrayOutput) Index(i pulumi.IntInput) AgentTokenOutput
func (AgentTokenArrayOutput) ToAgentTokenArrayOutput ¶
func (o AgentTokenArrayOutput) ToAgentTokenArrayOutput() AgentTokenArrayOutput
func (AgentTokenArrayOutput) ToAgentTokenArrayOutputWithContext ¶
func (o AgentTokenArrayOutput) ToAgentTokenArrayOutputWithContext(ctx context.Context) AgentTokenArrayOutput
type AgentTokenInput ¶
type AgentTokenInput interface { pulumi.Input ToAgentTokenOutput() AgentTokenOutput ToAgentTokenOutputWithContext(ctx context.Context) AgentTokenOutput }
type AgentTokenMap ¶
type AgentTokenMap map[string]AgentTokenInput
func (AgentTokenMap) ElementType ¶
func (AgentTokenMap) ElementType() reflect.Type
func (AgentTokenMap) ToAgentTokenMapOutput ¶
func (i AgentTokenMap) ToAgentTokenMapOutput() AgentTokenMapOutput
func (AgentTokenMap) ToAgentTokenMapOutputWithContext ¶
func (i AgentTokenMap) ToAgentTokenMapOutputWithContext(ctx context.Context) AgentTokenMapOutput
type AgentTokenMapInput ¶
type AgentTokenMapInput interface { pulumi.Input ToAgentTokenMapOutput() AgentTokenMapOutput ToAgentTokenMapOutputWithContext(context.Context) AgentTokenMapOutput }
AgentTokenMapInput is an input type that accepts AgentTokenMap and AgentTokenMapOutput values. You can construct a concrete instance of `AgentTokenMapInput` via:
AgentTokenMap{ "key": AgentTokenArgs{...} }
type AgentTokenMapOutput ¶
type AgentTokenMapOutput struct{ *pulumi.OutputState }
func (AgentTokenMapOutput) ElementType ¶
func (AgentTokenMapOutput) ElementType() reflect.Type
func (AgentTokenMapOutput) MapIndex ¶
func (o AgentTokenMapOutput) MapIndex(k pulumi.StringInput) AgentTokenOutput
func (AgentTokenMapOutput) ToAgentTokenMapOutput ¶
func (o AgentTokenMapOutput) ToAgentTokenMapOutput() AgentTokenMapOutput
func (AgentTokenMapOutput) ToAgentTokenMapOutputWithContext ¶
func (o AgentTokenMapOutput) ToAgentTokenMapOutputWithContext(ctx context.Context) AgentTokenMapOutput
type AgentTokenOutput ¶
type AgentTokenOutput struct{ *pulumi.OutputState }
func (AgentTokenOutput) Description ¶
func (o AgentTokenOutput) Description() pulumi.StringPtrOutput
This is the description of the agent token.
> Changing `description` will cause the resource to be destroyed and re-created.
func (AgentTokenOutput) ElementType ¶
func (AgentTokenOutput) ElementType() reflect.Type
func (AgentTokenOutput) ToAgentTokenOutput ¶
func (o AgentTokenOutput) ToAgentTokenOutput() AgentTokenOutput
func (AgentTokenOutput) ToAgentTokenOutputWithContext ¶
func (o AgentTokenOutput) ToAgentTokenOutputWithContext(ctx context.Context) AgentTokenOutput
func (AgentTokenOutput) Token ¶
func (o AgentTokenOutput) Token() pulumi.StringOutput
The value of the created agent token.
func (AgentTokenOutput) Uuid ¶
func (o AgentTokenOutput) Uuid() pulumi.StringOutput
The UUID of the token.
type AgentTokenState ¶
type AgentTokenState struct { // This is the description of the agent token. // // > Changing `description` will cause the resource to be destroyed and re-created. Description pulumi.StringPtrInput // The value of the created agent token. Token pulumi.StringPtrInput // The UUID of the token. Uuid pulumi.StringPtrInput }
func (AgentTokenState) ElementType ¶
func (AgentTokenState) ElementType() reflect.Type