Documentation ¶
Index ¶
- Constants
- type CloudFormationInput
- type ConfigElement
- type ConfigInput
- type ConfigType
- type Context
- type ContextAttachment
- type DriftDetectionIntegrationInput
- type Integrations
- type Module
- type ModuleCreateInput
- type ModuleUpdateInput
- type Policy
- type PolicyAttachment
- type PolicyType
- type PulumiInput
- type Stack
- type StackInput
- type TerraformInput
- type VendorConfigInput
- type WebhooksIntegrationInput
- type WorkerPool
Constants ¶
const StackConfigVendorCloudFormation = "StackConfigVendorCloudFormation"
StackConfigVendorCloudFormation is a graphql union typename.
const StackConfigVendorPulumi = "StackConfigVendorPulumi"
StackConfigVendorPulumi is a graphql union typename.
const StackConfigVendorTerraform = "StackConfigVendorTerraform"
StackConfigVendorTerraform is a graphql union typename.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudFormationInput ¶
type CloudFormationInput struct { EntryTemplateFile graphql.String `json:"entryTemplateFile"` Region graphql.String `json:"region"` StackName graphql.String `json:"stackName"` TemplateBucket graphql.String `json:"templateBucket"` }
CloudFormationInput represents CloudFormation-specific configuration.
type ConfigElement ¶
type ConfigElement struct { ID string Checksum string Type ConfigType Value *string WriteOnly bool }
ConfigElement represents a single configuration element.
type ConfigInput ¶
type ConfigInput struct { ID graphql.ID `json:"id"` Type ConfigType `json:"type"` Value graphql.String `json:"value"` WriteOnly graphql.Boolean `json:"writeOnly"` }
ConfigInput represents the input required to create or update a config element.
type Context ¶
type Context struct { ID string `graphql:"id"` Description *string `graphql:"description"` Labels []string `graphql:"labels"` Name string `graphql:"name"` }
Context represents the Context data relevant to the provider.
type ContextAttachment ¶
type ContextAttachment struct { ID string `graphql:"id"` StackID string `graphql:"stackId"` IsModule bool `graphql:"isModule"` Priority int `graphql:"priority"` }
ContextAttachment is a single context attachment embedded in a Context.
type DriftDetectionIntegrationInput ¶ added in v0.0.5
type DriftDetectionIntegrationInput struct { Reconcile graphql.Boolean `json:"reconcile"` Schedule []graphql.String `json:"schedule"` }
DriftDetectionIntegrationInput represents the input required to create or update a drift detection integration.
type Integrations ¶
type Integrations struct { AWS struct { AssumedRoleARN *string `graphql:"assumedRoleArn"` AssumeRolePolicyStatement string `graphql:"assumeRolePolicyStatement"` ExternalID *string `graphql:"externalID"` GenerateCredentialsInWorker bool `graphql:"generateCredentialsInWorker"` } `graphql:"aws"` DriftDetection struct { Reconcile bool `graphql:"reconcile"` Schedule []string `graphql:"schedule"` } `graphql:"driftDetection"` GCP struct { ServiceAccountEmail *string `graphql:"serviceAccountEmail"` TokenScopes []string `graphql:"tokenScopes"` } `graphql:"gcp"` Webhooks []struct { ID string `graphql:"id"` Enabled bool `graphql:"enabled"` Endpoint string `graphql:"endpoint"` Secret string `graphql:"secret"` } `graphql:"webhooks"` }
Integrations represents external integrations for a Stack and a Module.
type Module ¶
type Module struct { ID string `graphql:"id"` Administrative bool `graphql:"administrative"` Branch string `graphql:"branch"` Description *string `graphql:"description"` Integrations Integrations `graphql:"integrations"` Labels []string `graphql:"labels"` Name string `graphql:"name"` Namespace string `graphql:"namespace"` ProjectRoot *string `graphql:"projectRoot"` Provider string `graphql:"provider"` Repository string `graphql:"repository"` TerraformProvider string `graphql:"terraformProvider"` WorkerPool *struct { ID string `graphql:"id"` } `graphql:"workerPool"` }
Module represents the Module data relevant to the provider.
type ModuleCreateInput ¶
type ModuleCreateInput struct { UpdateInput ModuleUpdateInput `json:"updateInput"` Name *graphql.String `json:"name"` Namespace *graphql.String `json:"namespace"` Provider *graphql.String `json:"provider"` Repository graphql.String `json:"repository"` TerraformProvider *graphql.String `json:"terraformProvider"` }
ModuleCreateInput represents the input required to create a Module.
type ModuleUpdateInput ¶
type ModuleUpdateInput struct { Administrative graphql.Boolean `json:"administrative"` Branch graphql.String `json:"branch"` Description *graphql.String `json:"description"` Labels *[]graphql.String `json:"labels"` ProjectRoot *graphql.String `json:"projectRoot"` WorkerPool *graphql.ID `json:"workerPool"` }
ModuleUpdateInput represents the input required to update a Module.
type Policy ¶
type Policy struct { ID string `graphql:"id"` Labels []string `graphql:"labels"` Name string `graphql:"name"` Body string `graphql:"body"` Type string `graphql:"type"` }
Policy represents Policy data relevant to the provider.
type PolicyAttachment ¶
type PolicyAttachment struct { ID string `graphql:"id"` StackID string `graphql:"stackId"` IsModule bool `graphql:"isModule"` }
PolicyAttachment is a single policy attachment embedded in a Policy.
type PulumiInput ¶
type PulumiInput struct { LoginURL graphql.String `json:"loginURL"` StackName graphql.String `json:"stackName"` }
PulumiInput represents Pulumi-specific configuration.
type Stack ¶
type Stack struct { ID string `graphql:"id"` Administrative bool `graphql:"administrative"` AfterApply []string `graphql:"afterApply"` AfterDestroy []string `graphql:"afterDestroy"` AfterInit []string `graphql:"afterInit"` AfterPerform []string `graphql:"afterPerform"` AfterPlan []string `graphql:"afterPlan"` Autodeploy bool `graphql:"autodeploy"` Autoretry bool `graphql:"autoretry"` BeforeApply []string `graphql:"beforeApply"` BeforeDestroy []string `graphql:"beforeDestroy"` BeforeInit []string `graphql:"beforeInit"` BeforePerform []string `graphql:"beforePerform"` BeforePlan []string `graphql:"beforePlan"` Branch string `graphql:"branch"` Deleting bool `graphql:"deleting"` Description *string `graphql:"description"` Integrations *Integrations `graphql:"integrations"` Labels []string `graphql:"labels"` LocalPreviewEnabled bool `graphql:"localPreviewEnabled"` ManagesStateFile bool `graphql:"managesStateFile"` Name string `graphql:"name"` Namespace string `graphql:"namespace"` ProjectRoot *string `graphql:"projectRoot"` Provider string `graphql:"provider"` Repository string `graphql:"repository"` RunnerImage *string `graphql:"runnerImage"` TerraformVersion *string `graphql:"terraformVersion"` VendorConfig struct { Typename string `graphql:"__typename"` CloudFormation struct { EntryTemplateName string `graphql:"entryTemplateFile"` Region string `graphql:"region"` StackName string `graphql:"stackName"` TemplateBucket string `graphql:"templateBucket"` } `graphql:"... on StackConfigVendorCloudFormation"` Pulumi struct { LoginURL string `graphql:"loginURL"` StackName string `graphql:"stackName"` } `graphql:"... on StackConfigVendorPulumi"` Terraform struct { Version *string `graphql:"version"` Workspace *string `graphql:"workspace"` } `graphql:"... on StackConfigVendorTerraform"` } `graphql:"vendorConfig"` WorkerPool *struct { ID string `graphql:"id"` } `graphql:"workerPool"` }
Stack represents the Stack data relevant to the provider.
type StackInput ¶
type StackInput struct { Administrative graphql.Boolean `json:"administrative"` AfterApply *[]graphql.String `json:"afterApply"` AfterDestroy *[]graphql.String `json:"afterDestroy"` AfterInit *[]graphql.String `json:"afterInit"` AfterPerform *[]graphql.String `json:"afterPerform"` AfterPlan *[]graphql.String `json:"afterPlan"` Autodeploy graphql.Boolean `json:"autodeploy"` Autoretry graphql.Boolean `json:"autoretry"` BeforeApply *[]graphql.String `json:"beforeApply"` BeforeDestroy *[]graphql.String `json:"beforeDestroy"` BeforeInit *[]graphql.String `json:"beforeInit"` BeforePerform *[]graphql.String `json:"beforePerform"` BeforePlan *[]graphql.String `json:"beforePlan"` Branch graphql.String `json:"branch"` Description *graphql.String `json:"description"` Labels *[]graphql.String `json:"labels"` LocalPreviewEnabled graphql.Boolean `json:"localPreviewEnabled"` Name graphql.String `json:"name"` Namespace *graphql.String `json:"namespace"` ProjectRoot *graphql.String `json:"projectRoot"` Provider *graphql.String `json:"provider"` Repository graphql.String `json:"repository"` RunnerImage *graphql.String `json:"runnerImage"` VendorConfig *VendorConfigInput `json:"vendorConfig"` WorkerPool *graphql.ID `json:"workerPool"` }
StackInput represents the input required to create or update a Stack.
type TerraformInput ¶
type TerraformInput struct { Version *graphql.String `json:"version"` Workspace *graphql.String `json:"workspace"` }
TerraformInput represents Terraform-specific configuration.
type VendorConfigInput ¶
type VendorConfigInput struct { CloudFormationInput *CloudFormationInput `json:"cloudFormation"` Pulumi *PulumiInput `json:"pulumi"` Terraform *TerraformInput `json:"terraform"` }
VendorConfigInput represents vendor-specific configuration.