resolver

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: MPL-2.0 Imports: 43 Imported by: 0

Documentation

Overview

Package resolver package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterApplyLoader

func RegisterApplyLoader(collection *loader.Collection)

RegisterApplyLoader registers an apply loader function

func RegisterConfigurationVersionLoader

func RegisterConfigurationVersionLoader(collection *loader.Collection)

RegisterConfigurationVersionLoader registers a configurationVersion loader function

func RegisterGPGKeyLoader

func RegisterGPGKeyLoader(collection *loader.Collection)

RegisterGPGKeyLoader registers a GPG key loader function

func RegisterGroupLoader

func RegisterGroupLoader(collection *loader.Collection)

RegisterGroupLoader registers a group loader function

func RegisterJobLoader

func RegisterJobLoader(collection *loader.Collection)

RegisterJobLoader registers a job loader function

func RegisterManagedIdentityAccessRuleLoader

func RegisterManagedIdentityAccessRuleLoader(collection *loader.Collection)

RegisterManagedIdentityAccessRuleLoader registers a managedIdentityAccessRule loader function

func RegisterManagedIdentityLoader

func RegisterManagedIdentityLoader(collection *loader.Collection)

RegisterManagedIdentityLoader registers a managedIdentity loader function

func RegisterNamespaceMembershipLoader

func RegisterNamespaceMembershipLoader(collection *loader.Collection)

RegisterNamespaceMembershipLoader registers a namespaceMembership loader function

func RegisterNamespaceVariableLoader

func RegisterNamespaceVariableLoader(collection *loader.Collection)

RegisterNamespaceVariableLoader registers a namespaceVariable loader function

func RegisterPlanLoader

func RegisterPlanLoader(collection *loader.Collection)

RegisterPlanLoader registers a plan loader function

func RegisterRoleLoader added in v0.9.0

func RegisterRoleLoader(collection *loader.Collection)

RegisterRoleLoader registers a role loader function

func RegisterRunLoader

func RegisterRunLoader(collection *loader.Collection)

RegisterRunLoader registers a run loader function

func RegisterRunnerLoader added in v0.8.0

func RegisterRunnerLoader(collection *loader.Collection)

RegisterRunnerLoader registers a runner loader function

func RegisterServiceAccountLoader

func RegisterServiceAccountLoader(collection *loader.Collection)

RegisterServiceAccountLoader registers a serviceAccount loader function

func RegisterStateVersionLoader

func RegisterStateVersionLoader(collection *loader.Collection)

RegisterStateVersionLoader registers a state version loader function

func RegisterTeamLoader

func RegisterTeamLoader(collection *loader.Collection)

RegisterTeamLoader registers a team loader function

func RegisterTerraformModuleLoader

func RegisterTerraformModuleLoader(collection *loader.Collection)

RegisterTerraformModuleLoader registers a module loader function

func RegisterTerraformModuleVersionLoader

func RegisterTerraformModuleVersionLoader(collection *loader.Collection)

RegisterTerraformModuleVersionLoader registers a moduleVersion loader function

func RegisterTerraformProviderLoader

func RegisterTerraformProviderLoader(collection *loader.Collection)

RegisterTerraformProviderLoader registers a provider loader function

func RegisterTerraformProviderVersionLoader

func RegisterTerraformProviderVersionLoader(collection *loader.Collection)

RegisterTerraformProviderVersionLoader registers a providerVersion loader function

func RegisterTerraformProviderVersionMirrorLoader added in v0.12.0

func RegisterTerraformProviderVersionMirrorLoader(collection *loader.Collection)

RegisterTerraformProviderVersionMirrorLoader registers a providerVersionMirror loader function

func RegisterUserLoader

func RegisterUserLoader(collection *loader.Collection)

RegisterUserLoader registers a user loader function

func RegisterVCSEventLoader

func RegisterVCSEventLoader(collection *loader.Collection)

RegisterVCSEventLoader registers a VCS event loader function

func RegisterVCSProviderLoader

func RegisterVCSProviderLoader(collection *loader.Collection)

RegisterVCSProviderLoader registers a VCS provider loader function

func RegisterWorkspaceLoader

func RegisterWorkspaceLoader(collection *loader.Collection)

RegisterWorkspaceLoader registers a workspace loader function

Types

type ActivityEventAddTeamMemberPayloadResolver

type ActivityEventAddTeamMemberPayloadResolver struct {
	// contains filtered or unexported fields
}

ActivityEventAddTeamMemberPayloadResolver is a custom payload resolver

func (*ActivityEventAddTeamMemberPayloadResolver) Maintainer

Maintainer resolver

func (*ActivityEventAddTeamMemberPayloadResolver) User

User resolver

type ActivityEventConnectionQueryArgs

type ActivityEventConnectionQueryArgs struct {
	ConnectionQueryArgs
	Username           *string
	ServiceAccountPath *string
	NamespacePath      *string
	IncludeNested      *bool
	TimeRangeStart     *graphql.Time
	TimeRangeEnd       *graphql.Time
	Actions            *[]models.ActivityEventAction
	TargetTypes        *[]models.ActivityEventTargetType
}

ActivityEventConnectionQueryArgs are used to query an activity event connection

type ActivityEventConnectionResolver

type ActivityEventConnectionResolver struct {
	// contains filtered or unexported fields
}

ActivityEventConnectionResolver resolves an activity event connection

func NewActivityEventConnectionResolver

func NewActivityEventConnectionResolver(ctx context.Context,
	input *activityevent.GetActivityEventsInput,
) (*ActivityEventConnectionResolver, error)

NewActivityEventConnectionResolver creates a new ActivityEventConnectionResolver

func (*ActivityEventConnectionResolver) Edges

Edges returns the connection edges

func (*ActivityEventConnectionResolver) PageInfo

PageInfo returns the connection page information

func (*ActivityEventConnectionResolver) TotalCount

func (r *ActivityEventConnectionResolver) TotalCount() int32

TotalCount returns the total result count for the connection

type ActivityEventCreateNamespaceMembershipPayloadResolver

type ActivityEventCreateNamespaceMembershipPayloadResolver struct {
	// contains filtered or unexported fields
}

ActivityEventCreateNamespaceMembershipPayloadResolver resolves an activity event create namespace membership payload resource

func (*ActivityEventCreateNamespaceMembershipPayloadResolver) Member

Member resolver

func (*ActivityEventCreateNamespaceMembershipPayloadResolver) Role

Role resolver

type ActivityEventDeleteChildResourcePayloadResolver

type ActivityEventDeleteChildResourcePayloadResolver struct {
	// contains filtered or unexported fields
}

ActivityEventDeleteChildResourcePayloadResolver resolves an activity event delete child resource payload resource

func (*ActivityEventDeleteChildResourcePayloadResolver) ID

ID resolver

func (*ActivityEventDeleteChildResourcePayloadResolver) Name

Name resolver

func (*ActivityEventDeleteChildResourcePayloadResolver) Type

Type resolver

type ActivityEventEdgeResolver

type ActivityEventEdgeResolver struct {
	// contains filtered or unexported fields
}

ActivityEventEdgeResolver resolves activity event edges

func (*ActivityEventEdgeResolver) Cursor

func (r *ActivityEventEdgeResolver) Cursor() (string, error)

Cursor returns an opaque cursor

func (*ActivityEventEdgeResolver) Node

Node returns an activity event node

type ActivityEventInitiatorResolver

type ActivityEventInitiatorResolver struct {
	// contains filtered or unexported fields
}

ActivityEventInitiatorResolver resolves the Initiator union type

func (*ActivityEventInitiatorResolver) ToServiceAccount

ToServiceAccount resolves service account initiator types

func (*ActivityEventInitiatorResolver) ToUser

ToUser resolves user initiator types

type ActivityEventMigrateGroupPayloadResolver added in v0.9.0

type ActivityEventMigrateGroupPayloadResolver struct {
	// contains filtered or unexported fields
}

ActivityEventMigrateGroupPayloadResolver resolves an activity event migrate group payload resource

func (*ActivityEventMigrateGroupPayloadResolver) PreviousGroupPath added in v0.9.0

func (r *ActivityEventMigrateGroupPayloadResolver) PreviousGroupPath() string

PreviousGroupPath resolver

type ActivityEventPayloadResolver

type ActivityEventPayloadResolver struct {
	// contains filtered or unexported fields
}

ActivityEventPayloadResolver resolves the Payload union type

func (*ActivityEventPayloadResolver) ToActivityEventAddTeamMemberPayload

func (r *ActivityEventPayloadResolver) ToActivityEventAddTeamMemberPayload() (*ActivityEventAddTeamMemberPayloadResolver, bool)

ToActivityEventAddTeamMemberPayload resolver

func (*ActivityEventPayloadResolver) ToActivityEventCreateNamespaceMembershipPayload

func (r *ActivityEventPayloadResolver) ToActivityEventCreateNamespaceMembershipPayload() (*ActivityEventCreateNamespaceMembershipPayloadResolver, bool)

ToActivityEventCreateNamespaceMembershipPayload resolves the custom payload for creating a namespace membership.

func (*ActivityEventPayloadResolver) ToActivityEventDeleteChildResourcePayload

func (r *ActivityEventPayloadResolver) ToActivityEventDeleteChildResourcePayload() (*models.ActivityEventDeleteChildResourcePayload, bool)

ToActivityEventDeleteChildResourcePayload resolves the custom payload for deleting (from a group) a child resource.

func (*ActivityEventPayloadResolver) ToActivityEventMigrateGroupPayload added in v0.9.0

func (r *ActivityEventPayloadResolver) ToActivityEventMigrateGroupPayload() (*ActivityEventMigrateGroupPayloadResolver, bool)

ToActivityEventMigrateGroupPayload resolver

func (*ActivityEventPayloadResolver) ToActivityEventRemoveNamespaceMembershipPayload

func (r *ActivityEventPayloadResolver) ToActivityEventRemoveNamespaceMembershipPayload() (*ActivityEventRemoveNamespaceMembershipPayloadResolver, bool)

ToActivityEventRemoveNamespaceMembershipPayload resolves the custom payload for removing a namespace membership.

func (*ActivityEventPayloadResolver) ToActivityEventRemoveTeamMemberPayload

func (r *ActivityEventPayloadResolver) ToActivityEventRemoveTeamMemberPayload() (*ActivityEventRemoveTeamMemberPayloadResolver, bool)

ToActivityEventRemoveTeamMemberPayload resolver

func (*ActivityEventPayloadResolver) ToActivityEventUpdateNamespaceMembershipPayload

func (r *ActivityEventPayloadResolver) ToActivityEventUpdateNamespaceMembershipPayload() (*models.ActivityEventUpdateNamespaceMembershipPayload, bool)

ToActivityEventUpdateNamespaceMembershipPayload resolves the custom payload for updating a namespace membership.

func (*ActivityEventPayloadResolver) ToActivityEventUpdateTeamMemberPayload

func (r *ActivityEventPayloadResolver) ToActivityEventUpdateTeamMemberPayload() (*ActivityEventUpdateTeamMemberPayloadResolver, bool)

ToActivityEventUpdateTeamMemberPayload resolver

type ActivityEventRemoveNamespaceMembershipPayloadResolver

type ActivityEventRemoveNamespaceMembershipPayloadResolver struct {
	// contains filtered or unexported fields
}

ActivityEventRemoveNamespaceMembershipPayloadResolver resolves an activity event remove namespace membership payload resource

func (*ActivityEventRemoveNamespaceMembershipPayloadResolver) Member

Member resolver

type ActivityEventRemoveTeamMemberPayloadResolver

type ActivityEventRemoveTeamMemberPayloadResolver struct {
	// contains filtered or unexported fields
}

ActivityEventRemoveTeamMemberPayloadResolver is a custom payload resolver

func (*ActivityEventRemoveTeamMemberPayloadResolver) User

User resolver

type ActivityEventResolver

type ActivityEventResolver struct {
	// contains filtered or unexported fields
}

ActivityEventResolver resolves an activity event resource

func (*ActivityEventResolver) Action

func (r *ActivityEventResolver) Action() string

Action resolver

func (*ActivityEventResolver) ID

ID resolver

func (*ActivityEventResolver) Initiator

Initiator resolver

func (*ActivityEventResolver) Metadata

func (r *ActivityEventResolver) Metadata() *MetadataResolver

Metadata resolver

func (*ActivityEventResolver) NamespacePath

func (r *ActivityEventResolver) NamespacePath() *string

NamespacePath resolver

func (*ActivityEventResolver) Payload

Payload resolver

func (*ActivityEventResolver) Target

Target resolver

func (*ActivityEventResolver) TargetID

func (r *ActivityEventResolver) TargetID() string

TargetID resolver

func (*ActivityEventResolver) TargetType

TargetType resolver

type ActivityEventUpdateTeamMemberPayloadResolver

type ActivityEventUpdateTeamMemberPayloadResolver struct {
	// contains filtered or unexported fields
}

ActivityEventUpdateTeamMemberPayloadResolver is a custom payload resolver

func (*ActivityEventUpdateTeamMemberPayloadResolver) Maintainer

Maintainer resolver

func (*ActivityEventUpdateTeamMemberPayloadResolver) User

User resolver

type AddUserToTeamInput

type AddUserToTeamInput struct {
	ClientMutationID *string
	Username         string
	TeamName         string
	IsMaintainer     bool
}

AddUserToTeamInput is the input for adding a user to a team.

type ApplyMutationPayload

type ApplyMutationPayload struct {
	ClientMutationID *string
	Apply            *models.Apply
	Problems         []Problem
}

ApplyMutationPayload is the response payload for an apply mutation

type ApplyMutationPayloadResolver

type ApplyMutationPayloadResolver struct {
	ApplyMutationPayload
}

ApplyMutationPayloadResolver resolves a ApplyMutationPayload

func (*ApplyMutationPayloadResolver) Apply

Apply field resolver

type ApplyResolver

type ApplyResolver struct {
	// contains filtered or unexported fields
}

ApplyResolver resolves a apply resource

func (*ApplyResolver) Comment

func (r *ApplyResolver) Comment() string

Comment resolver

func (*ApplyResolver) CurrentJob

func (r *ApplyResolver) CurrentJob(ctx context.Context) (*JobResolver, error)

CurrentJob returns the current job for the apply resource

func (*ApplyResolver) ID

func (r *ApplyResolver) ID() graphql.ID

ID resolver

func (*ApplyResolver) Metadata

func (r *ApplyResolver) Metadata() *MetadataResolver

Metadata resolver

func (*ApplyResolver) Status

func (r *ApplyResolver) Status() string

Status resolver

func (*ApplyResolver) TriggeredBy

func (r *ApplyResolver) TriggeredBy() *string

TriggeredBy resolver

type ApplyRunInput

type ApplyRunInput struct {
	ClientMutationID *string
	Comment          *string
	RunID            string
}

ApplyRunInput is the input for applying a run

type AssignManagedIdentityInput

type AssignManagedIdentityInput struct {
	ClientMutationID    *string
	ManagedIdentityID   *string
	ManagedIdentityPath *string
	WorkspacePath       string
}

AssignManagedIdentityInput is used to assign a managed identity to a workspace

type AssignManagedIdentityMutationPayload

type AssignManagedIdentityMutationPayload struct {
	ClientMutationID *string
	Workspace        *models.Workspace
	Problems         []Problem
}

AssignManagedIdentityMutationPayload is the response payload for a managedIdentity mutation

type AssignManagedIdentityMutationPayloadResolver

type AssignManagedIdentityMutationPayloadResolver struct {
	AssignManagedIdentityMutationPayload
}

AssignManagedIdentityMutationPayloadResolver resolves a ManagedIdentityMutationPayload

func (*AssignManagedIdentityMutationPayloadResolver) Workspace

Workspace field resolver

type AssignServiceAccountToRunnerInput added in v0.8.0

type AssignServiceAccountToRunnerInput struct {
	ClientMutationID   *string
	RunnerPath         string
	ServiceAccountPath string
}

AssignServiceAccountToRunnerInput is used to assign a service account to a runner

type AuthSettingsResolver

type AuthSettingsResolver struct {
	OIDCIssuerURL     *string
	OIDCClientID      *string
	OIDCUsernameClaim *string
	OIDCScope         *string
	OIDCLogoutURL     *string
}

AuthSettingsResolver resolves auth settings

type CancelRunInput

type CancelRunInput struct {
	ClientMutationID *string
	Comment          *string
	Force            *bool
	RunID            string
}

CancelRunInput is the input for cancelling a run

type ClaimJobInput added in v0.8.0

type ClaimJobInput struct {
	ClientMutationID *string
	RunnerPath       string
}

ClaimJobInput is the input for claiming a job

type ClaimJobMutationPayload added in v0.8.0

type ClaimJobMutationPayload struct {
	ClientMutationID *string
	Token            *string
	JobID            *string
	Problems         []Problem
}

ClaimJobMutationPayload is the response payload for the claim job mutation

type ConfigurationVersionMutationPayload

type ConfigurationVersionMutationPayload struct {
	ClientMutationID     *string
	ConfigurationVersion *models.ConfigurationVersion
	Problems             []Problem
}

ConfigurationVersionMutationPayload is the response payload for a configuration version mutation

type ConfigurationVersionMutationPayloadResolver

type ConfigurationVersionMutationPayloadResolver struct {
	ConfigurationVersionMutationPayload
}

ConfigurationVersionMutationPayloadResolver resolves a ConfigurationVersionMutationPayload

func (*ConfigurationVersionMutationPayloadResolver) ConfigurationVersion

ConfigurationVersion field resolver

type ConfigurationVersionQueryArgs

type ConfigurationVersionQueryArgs struct {
	ID string
}

ConfigurationVersionQueryArgs are used to query a single configuration version

type ConfigurationVersionResolver

type ConfigurationVersionResolver struct {
	// contains filtered or unexported fields
}

ConfigurationVersionResolver resolves a configuration version resource

func (*ConfigurationVersionResolver) CreatedBy

func (r *ConfigurationVersionResolver) CreatedBy() string

CreatedBy resolver

func (*ConfigurationVersionResolver) ID

ID resolver

func (*ConfigurationVersionResolver) Metadata

Metadata resolver

func (*ConfigurationVersionResolver) Speculative

func (r *ConfigurationVersionResolver) Speculative() bool

Speculative resolver

func (*ConfigurationVersionResolver) Status

Status resolver

func (*ConfigurationVersionResolver) VCSEvent

VCSEvent resolver

func (*ConfigurationVersionResolver) WorkspaceID

func (r *ConfigurationVersionResolver) WorkspaceID() string

WorkspaceID resolver

type Connection

type Connection struct {
	PageInfo   PageInfo
	Edges      []Edge
	TotalCount int32
}

Connection type

type ConnectionQueryArgs

type ConnectionQueryArgs struct {
	After  *string
	Before *string
	First  *int32
	Last   *int32
	Sort   *string
}

ConnectionQueryArgs are used to query a connection

func (ConnectionQueryArgs) Validate

func (c ConnectionQueryArgs) Validate() error

Validate query args

type CreateConfigurationVersionInput

type CreateConfigurationVersionInput struct {
	ClientMutationID *string
	Speculative      *bool
	WorkspacePath    string
}

CreateConfigurationVersionInput is the input for creating a new configuration version

type CreateGPGKeyInput

type CreateGPGKeyInput struct {
	ClientMutationID *string
	GroupPath        string
	ASCIIArmor       string
}

CreateGPGKeyInput contains the input for creating a new gpgKey

type CreateGroupInput

type CreateGroupInput struct {
	ClientMutationID *string
	Name             string
	ParentPath       *string
	Description      string
}

CreateGroupInput contains the input for creating a new group

type CreateManagedIdentityAccessRuleInput

type CreateManagedIdentityAccessRuleInput struct {
	ClientMutationID          *string
	AllowedTeams              *[]string
	ModuleAttestationPolicies *[]models.ManagedIdentityAccessRuleModuleAttestationPolicy
	AllowedUsers              *[]string
	AllowedServiceAccounts    *[]string
	Type                      models.ManagedIdentityAccessRuleType
	RunStage                  models.JobType
	ManagedIdentityID         string
}

CreateManagedIdentityAccessRuleInput is the input for creating a new access rule

type CreateManagedIdentityAliasInput added in v0.2.0

type CreateManagedIdentityAliasInput struct {
	ClientMutationID *string
	Name             string
	AliasSourceID    *string
	AliasSourcePath  *string
	GroupPath        string
}

CreateManagedIdentityAliasInput is the input for creating a managed identity alias.

type CreateManagedIdentityCredentialsInput

type CreateManagedIdentityCredentialsInput struct {
	ClientMutationID *string
	ID               string
}

CreateManagedIdentityCredentialsInput is for creating credentials for a managed identity.

type CreateManagedIdentityInput

type CreateManagedIdentityInput struct {
	ClientMutationID *string
	AccessRules      *[]struct {
		ModuleAttestationPolicies *[]models.ManagedIdentityAccessRuleModuleAttestationPolicy
		AllowedUsers              *[]string
		AllowedServiceAccounts    *[]string
		AllowedTeams              *[]string
		Type                      models.ManagedIdentityAccessRuleType
		RunStage                  models.JobType
	}
	Type        string
	Name        string
	Description string
	GroupPath   string
	Data        string
}

CreateManagedIdentityInput contains the input for creating a new managedIdentity

type CreateNamespaceMembershipInput

type CreateNamespaceMembershipInput struct {
	ClientMutationID *string
	Username         *string
	ServiceAccountID *string
	TeamName         *string
	Role             string
	NamespacePath    string
}

CreateNamespaceMembershipInput is the input for creating a new namespace membership

type CreateNamespaceVariableInput

type CreateNamespaceVariableInput struct {
	ClientMutationID *string
	NamespacePath    string
	Category         string
	Key              string
	Value            string
	Hcl              bool
}

CreateNamespaceVariableInput is the input for creating a variable

type CreateRoleInput added in v0.9.0

type CreateRoleInput struct {
	ClientMutationID *string
	Name             string
	Description      string
	Permissions      []string
}

CreateRoleInput contains the input for creating a new role

type CreateRunInput

type CreateRunInput struct {
	ClientMutationID       *string
	ConfigurationVersionID *string
	IsDestroy              *bool
	ModuleSource           *string
	ModuleVersion          *string
	Comment                *string
	Variables              *[]struct {
		Key      string
		Value    string
		Category string
		Hcl      bool
	}
	TerraformVersion *string
	TargetAddresses  *[]string
	Refresh          *bool
	WorkspacePath    string
}

CreateRunInput is the input for creating a run

type CreateRunnerInput added in v0.8.0

type CreateRunnerInput struct {
	ClientMutationID *string
	Name             string
	Description      string
	GroupPath        string
}

CreateRunnerInput contains the input for creating a new runner

type CreateServiceAccountInput

type CreateServiceAccountInput struct {
	ClientMutationID  *string
	Name              string
	Description       string
	GroupPath         string
	OIDCTrustPolicies []OIDCTrustPolicy
}

CreateServiceAccountInput contains the input for creating a new serviceAccount

type CreateStateVersionInput

type CreateStateVersionInput struct {
	ClientMutationID *string
	Metadata         *MetadataInput
	State            string
	RunID            string
}

CreateStateVersionInput contains the input for creating a state version

type CreateTeamInput

type CreateTeamInput struct {
	ClientMutationID *string
	Name             string
	Description      string
}

CreateTeamInput contains the input for creating a new team

type CreateTerraformCLIDownloadURLInput

type CreateTerraformCLIDownloadURLInput struct {
	ClientMutationID *string
	Version          string
	OS               string
	Architecture     string
}

CreateTerraformCLIDownloadURLInput is the input for createTerraformCLIDownloadURLMutation.

type CreateTerraformModuleAttestationInput

type CreateTerraformModuleAttestationInput struct {
	ClientMutationID *string
	ModulePath       string
	Description      *string
	AttestationData  string
}

CreateTerraformModuleAttestationInput contains the input for creating a moduleAttestation

type CreateTerraformModuleInput

type CreateTerraformModuleInput struct {
	ClientMutationID *string
	Private          *bool
	RepositoryURL    *string
	Name             string
	System           string
	GroupPath        string
}

CreateTerraformModuleInput contains the input for creating a module

type CreateTerraformModuleVersionInput

type CreateTerraformModuleVersionInput struct {
	ClientMutationID *string
	ModulePath       string
	Version          string
	SHASum           string
}

CreateTerraformModuleVersionInput contains the input for creating a new moduleVersion

type CreateTerraformProviderInput

type CreateTerraformProviderInput struct {
	ClientMutationID *string
	Private          *bool
	RepositoryURL    *string
	Name             string
	GroupPath        string
}

CreateTerraformProviderInput contains the input for creating a provider

type CreateTerraformProviderPlatformInput

type CreateTerraformProviderPlatformInput struct {
	ClientMutationID  *string
	ProviderVersionID string
	OS                string
	Arch              string
	SHASum            string
	Filename          string
}

CreateTerraformProviderPlatformInput contains the input for creating a new providerPlatform

type CreateTerraformProviderVersionInput

type CreateTerraformProviderVersionInput struct {
	ClientMutationID *string
	ProviderPath     string
	Version          string
	Protocols        []string
}

CreateTerraformProviderVersionInput contains the input for creating a new providerVersion

type CreateTerraformProviderVersionMirrorInput added in v0.12.0

type CreateTerraformProviderVersionMirrorInput struct {
	ClientMutationID  *string
	GroupPath         string
	Type              string
	RegistryNamespace string
	RegistryHostname  string
	SemanticVersion   string
}

CreateTerraformProviderVersionMirrorInput is the input for creating a TerraformProviderVersionMirror.

type CreateVCSProviderInput

type CreateVCSProviderInput struct {
	ClientMutationID   *string
	URL                *string
	Name               string
	Description        string
	GroupPath          string
	OAuthClientID      string
	OAuthClientSecret  string
	Type               models.VCSProviderType
	AutoCreateWebhooks bool
}

CreateVCSProviderInput is the input for creating a VCS provider.

type CreateVCSRunInput

type CreateVCSRunInput struct {
	ClientMutationID *string
	ReferenceName    *string
	IsDestroy        *bool
	WorkspacePath    string
}

CreateVCSRunInput is the input for creating a VCS run.

type CreateVCSRunMutationPayload

type CreateVCSRunMutationPayload struct {
	ClientMutationID *string
	Problems         []Problem
}

CreateVCSRunMutationPayload is the response payload for creating a vcs run.

type CreateWorkspaceInput

type CreateWorkspaceInput struct {
	ClientMutationID   *string
	MaxJobDuration     *int32
	TerraformVersion   *string
	PreventDestroyPlan *bool
	Name               string
	GroupPath          string
	Description        string
}

CreateWorkspaceInput contains the input for creating a new workspace

type CreateWorkspaceVCSProviderLinkInput

type CreateWorkspaceVCSProviderLinkInput struct {
	ClientMutationID    *string
	ModuleDirectory     *string
	Branch              *string
	TagRegex            *string
	WorkspacePath       string
	ProviderID          string
	RepositoryPath      string
	GlobPatterns        []string
	AutoSpeculativePlan bool
	WebhookDisabled     bool
}

CreateWorkspaceVCSProviderLinkInput is the input for creating a workspace VCS provider link.

type DeleteGPGKeyInput

type DeleteGPGKeyInput struct {
	ClientMutationID *string
	Metadata         *MetadataInput
	ID               string
}

DeleteGPGKeyInput contains the input for deleting a gpgKey

type DeleteGroupInput

type DeleteGroupInput struct {
	ClientMutationID *string
	Metadata         *MetadataInput
	Force            *bool
	GroupPath        *string
	ID               *string
}

DeleteGroupInput contains the input for deleting a group

type DeleteManagedIdentityAccessRuleInput

type DeleteManagedIdentityAccessRuleInput struct {
	ClientMutationID *string
	ID               string
}

DeleteManagedIdentityAccessRuleInput is the input for deleting an access rule

type DeleteManagedIdentityInput

type DeleteManagedIdentityInput struct {
	ClientMutationID *string
	Metadata         *MetadataInput
	Force            *bool
	ID               string
}

DeleteManagedIdentityInput contains the input for deleting a managedIdentity

type DeleteNamespaceMembershipInput

type DeleteNamespaceMembershipInput struct {
	ClientMutationID *string
	Metadata         *MetadataInput
	ID               string
}

DeleteNamespaceMembershipInput is the input for deleting a namespace membership

type DeleteNamespaceVariableInput

type DeleteNamespaceVariableInput struct {
	ClientMutationID *string
	ID               string
}

DeleteNamespaceVariableInput is the input for deleting a variable

type DeleteRoleInput added in v0.9.0

type DeleteRoleInput struct {
	ClientMutationID *string
	Metadata         *MetadataInput
	Force            *bool
	ID               string
}

DeleteRoleInput contains the input for deleting a role

type DeleteRunnerInput added in v0.8.0

type DeleteRunnerInput struct {
	ClientMutationID *string
	Metadata         *MetadataInput
	ID               string
}

DeleteRunnerInput contains the input for deleting a runner

type DeleteServiceAccountInput

type DeleteServiceAccountInput struct {
	ClientMutationID *string
	Metadata         *MetadataInput
	ID               string
}

DeleteServiceAccountInput contains the input for deleting a serviceAccount

type DeleteTeamInput

type DeleteTeamInput struct {
	ClientMutationID *string
	Metadata         *MetadataInput
	Name             string
}

DeleteTeamInput contains the input for deleting a team

type DeleteTerraformModuleAttestationInput

type DeleteTerraformModuleAttestationInput struct {
	ClientMutationID *string
	ID               string
}

DeleteTerraformModuleAttestationInput contains the input for deleting a moduleAttestation

type DeleteTerraformModuleInput

type DeleteTerraformModuleInput struct {
	ClientMutationID *string
	ID               string
}

DeleteTerraformModuleInput contains the input for deleting a module

type DeleteTerraformModuleVersionInput

type DeleteTerraformModuleVersionInput struct {
	ClientMutationID *string
	Metadata         *MetadataInput
	ID               string
}

DeleteTerraformModuleVersionInput contains the input for deleting a moduleVersion

type DeleteTerraformProviderInput

type DeleteTerraformProviderInput struct {
	ClientMutationID *string
	ID               string
}

DeleteTerraformProviderInput contains the input for deleting a provider

type DeleteTerraformProviderPlatformInput

type DeleteTerraformProviderPlatformInput struct {
	ClientMutationID *string
	Metadata         *MetadataInput
	ID               string
}

DeleteTerraformProviderPlatformInput contains the input for deleting a providerPlatform

type DeleteTerraformProviderPlatformMirrorInput added in v0.12.0

type DeleteTerraformProviderPlatformMirrorInput struct {
	ClientMutationID *string
	Metadata         *MetadataInput
	ID               string
}

DeleteTerraformProviderPlatformMirrorInput contains the input for deleting a providerPlatformMirror

type DeleteTerraformProviderVersionInput

type DeleteTerraformProviderVersionInput struct {
	ClientMutationID *string
	Metadata         *MetadataInput
	ID               string
}

DeleteTerraformProviderVersionInput contains the input for deleting a providerVersion

type DeleteTerraformProviderVersionMirrorInput added in v0.12.0

type DeleteTerraformProviderVersionMirrorInput struct {
	ClientMutationID *string
	Metadata         *MetadataInput
	Force            *bool
	ID               string
}

DeleteTerraformProviderVersionMirrorInput is the input for deleting a TerraformProviderVersionMirror.

type DeleteVCSProviderInput

type DeleteVCSProviderInput struct {
	ClientMutationID *string
	Metadata         *MetadataInput
	Force            *bool
	ID               string
}

DeleteVCSProviderInput is the input for deleting a VCS provider.

type DeleteWorkspaceInput

type DeleteWorkspaceInput struct {
	ClientMutationID *string
	Force            *bool
	Metadata         *MetadataInput
	WorkspacePath    *string
	ID               *string
}

DeleteWorkspaceInput contains the input for deleting a workspace

type DeleteWorkspaceVCSProviderLinkInput

type DeleteWorkspaceVCSProviderLinkInput struct {
	ClientMutationID *string
	Metadata         *MetadataInput
	Force            *bool
	ID               string
}

DeleteWorkspaceVCSProviderLinkInput is the input for deleting a workspace VCS provider link.

type Edge

type Edge struct {
	CursorFunc pagination.CursorFunc
	Node       interface{}
}

Edge type

type GPGKeyConnectionResolver

type GPGKeyConnectionResolver struct {
	// contains filtered or unexported fields
}

GPGKeyConnectionResolver resolves a gpgKey connection

func NewGPGKeyConnectionResolver

func NewGPGKeyConnectionResolver(ctx context.Context, input *gpgkey.GetGPGKeysInput) (*GPGKeyConnectionResolver, error)

NewGPGKeyConnectionResolver creates a new GPGKeyConnectionResolver

func (*GPGKeyConnectionResolver) Edges

Edges returns the connection edges

func (*GPGKeyConnectionResolver) PageInfo

PageInfo returns the connection page information

func (*GPGKeyConnectionResolver) TotalCount

func (r *GPGKeyConnectionResolver) TotalCount() int32

TotalCount returns the total result count for the connection

type GPGKeyEdgeResolver

type GPGKeyEdgeResolver struct {
	// contains filtered or unexported fields
}

GPGKeyEdgeResolver resolves gpgKey edges

func (*GPGKeyEdgeResolver) Cursor

func (r *GPGKeyEdgeResolver) Cursor() (string, error)

Cursor returns an opaque cursor

func (*GPGKeyEdgeResolver) Node

func (r *GPGKeyEdgeResolver) Node() (*GPGKeyResolver, error)

Node returns a gpgKey node

type GPGKeyMutationPayload

type GPGKeyMutationPayload struct {
	ClientMutationID *string
	GPGKey           *models.GPGKey
	Problems         []Problem
}

GPGKeyMutationPayload is the response payload for a gpgKey mutation

type GPGKeyMutationPayloadResolver

type GPGKeyMutationPayloadResolver struct {
	GPGKeyMutationPayload
}

GPGKeyMutationPayloadResolver resolves a GPGKeyMutationPayload

func (*GPGKeyMutationPayloadResolver) GPGKey

GPGKey field resolver

type GPGKeyResolver

type GPGKeyResolver struct {
	// contains filtered or unexported fields
}

GPGKeyResolver resolves a gpgKey resource

func (*GPGKeyResolver) ASCIIArmor

func (r *GPGKeyResolver) ASCIIArmor() string

ASCIIArmor resolver

func (*GPGKeyResolver) CreatedBy

func (r *GPGKeyResolver) CreatedBy() string

CreatedBy resolver

func (*GPGKeyResolver) Fingerprint

func (r *GPGKeyResolver) Fingerprint() string

Fingerprint resolver

func (*GPGKeyResolver) GPGKeyID

func (r *GPGKeyResolver) GPGKeyID() string

GPGKeyID resolver

func (*GPGKeyResolver) Group

func (r *GPGKeyResolver) Group(ctx context.Context) (*GroupResolver, error)

Group resolver

func (*GPGKeyResolver) GroupPath added in v0.6.0

func (r *GPGKeyResolver) GroupPath() string

GroupPath resolver

func (*GPGKeyResolver) ID

func (r *GPGKeyResolver) ID() graphql.ID

ID resolver

func (*GPGKeyResolver) Metadata

func (r *GPGKeyResolver) Metadata() *MetadataResolver

Metadata resolver

func (*GPGKeyResolver) ResourcePath added in v0.6.0

func (r *GPGKeyResolver) ResourcePath() string

ResourcePath resolver

type GPGKeysConnectionQueryArgs

type GPGKeysConnectionQueryArgs struct {
	ConnectionQueryArgs
	IncludeInherited *bool
}

GPGKeysConnectionQueryArgs are used to query a gpgKey connection

type GroupConnectionQueryArgs

type GroupConnectionQueryArgs struct {
	ConnectionQueryArgs
	ParentPath *string
	Search     *string
}

GroupConnectionQueryArgs are used to query a group connection

type GroupConnectionResolver

type GroupConnectionResolver struct {
	// contains filtered or unexported fields
}

GroupConnectionResolver resolves a group connection

func NewGroupConnectionResolver

func NewGroupConnectionResolver(ctx context.Context, input *group.GetGroupsInput) (*GroupConnectionResolver, error)

NewGroupConnectionResolver creates a new GroupConnectionResolver

func (*GroupConnectionResolver) Edges

Edges returns the connection edges

func (*GroupConnectionResolver) PageInfo

PageInfo returns the connection page information

func (*GroupConnectionResolver) TotalCount

func (r *GroupConnectionResolver) TotalCount() int32

TotalCount returns the total result count for the connection

type GroupEdgeResolver

type GroupEdgeResolver struct {
	// contains filtered or unexported fields
}

GroupEdgeResolver resolves group edges

func (*GroupEdgeResolver) Cursor

func (r *GroupEdgeResolver) Cursor() (string, error)

Cursor returns an opaque cursor

func (*GroupEdgeResolver) Node

func (r *GroupEdgeResolver) Node() (*GroupResolver, error)

Node returns a group node

type GroupMutationPayload

type GroupMutationPayload struct {
	ClientMutationID *string
	Group            *models.Group
	Problems         []Problem
}

GroupMutationPayload is the response payload for a group mutation

type GroupMutationPayloadResolver

type GroupMutationPayloadResolver struct {
	GroupMutationPayload
}

GroupMutationPayloadResolver resolves a GroupMutationPayload

func (*GroupMutationPayloadResolver) Group

Group field resolver

type GroupQueryArgs

type GroupQueryArgs struct {
	FullPath string
}

GroupQueryArgs are used to query a single group

type GroupResolver

type GroupResolver struct {
	// contains filtered or unexported fields
}

GroupResolver resolves a group resource

func (*GroupResolver) ActivityEvents

ActivityEvents resolver

func (*GroupResolver) CreatedBy

func (r *GroupResolver) CreatedBy() string

CreatedBy resolver

func (*GroupResolver) DescendentGroups

DescendentGroups resolver

func (*GroupResolver) Description

func (r *GroupResolver) Description() string

Description resolver

func (*GroupResolver) FullPath

func (r *GroupResolver) FullPath() string

FullPath resolver

func (*GroupResolver) GPGKeys

GPGKeys resolver

func (*GroupResolver) ID

func (r *GroupResolver) ID() graphql.ID

ID resolver

func (*GroupResolver) ManagedIdentities

ManagedIdentities resolver

func (*GroupResolver) Memberships

Memberships resolver The field is called "memberships", but most everything else is called "namespace memberships".

func (*GroupResolver) Metadata

func (r *GroupResolver) Metadata() *MetadataResolver

Metadata resolver

func (*GroupResolver) Name

func (r *GroupResolver) Name() string

Name resolver

func (*GroupResolver) Parent

func (r *GroupResolver) Parent(ctx context.Context) (*GroupResolver, error)

Parent resolver

func (*GroupResolver) Runners added in v0.8.0

Runners resolver

func (*GroupResolver) ServiceAccounts

ServiceAccounts resolver

func (*GroupResolver) TerraformProviderMirrors added in v0.12.0

TerraformProviderMirrors resolver

func (*GroupResolver) TerraformProviders

TerraformProviders resolver

func (*GroupResolver) VCSProviders

VCSProviders resolver

func (*GroupResolver) Variables

Variables resolver

func (*GroupResolver) Workspaces

Workspaces resolvers

type JWTClaim

type JWTClaim struct {
	Name  string
	Value string
}

JWTClaim represents a claim that must be present in the JWT token

type JobCancellationEventResolver

type JobCancellationEventResolver struct {
	// contains filtered or unexported fields
}

JobCancellationEventResolver resolves a job cancellation event

func (*JobCancellationEventResolver) Job

Job resolves a job

type JobCancellationEventSubscriptionInput

type JobCancellationEventSubscriptionInput struct {
	JobID string
}

JobCancellationEventSubscriptionInput is the input for subscribing to job cancellation events

type JobLogEventResolver

type JobLogEventResolver struct {
	// contains filtered or unexported fields
}

JobLogEventResolver resolves a job log event

func (*JobLogEventResolver) Action

func (j *JobLogEventResolver) Action() string

Action resolver

func (*JobLogEventResolver) Size

func (j *JobLogEventResolver) Size() int32

Size resolver

type JobLogSubscriptionInput

type JobLogSubscriptionInput struct {
	LastSeenLogSize *int32
	JobID           string
}

JobLogSubscriptionInput is the input for subscribing to job log events

type JobLogsQueryArgs

type JobLogsQueryArgs struct {
	StartOffset int32
	Limit       int32
}

JobLogsQueryArgs contains the options for querying job logs

type JobQueryArgs

type JobQueryArgs struct {
	ID string
}

JobQueryArgs are used to query a single job

type JobResolver

type JobResolver struct {
	// contains filtered or unexported fields
}

JobResolver resolves a job resource

func (*JobResolver) CancelRequested

func (r *JobResolver) CancelRequested() bool

CancelRequested resolver

func (*JobResolver) ID

func (r *JobResolver) ID() graphql.ID

ID resolver

func (*JobResolver) LogLastUpdatedAt

func (r *JobResolver) LogLastUpdatedAt(ctx context.Context) (*graphql.Time, error)

LogLastUpdatedAt resolver

func (*JobResolver) LogSize

func (r *JobResolver) LogSize(ctx context.Context) (int32, error)

LogSize resolver

func (*JobResolver) Logs

func (r *JobResolver) Logs(ctx context.Context, args *JobLogsQueryArgs) (string, error)

Logs resolver

func (*JobResolver) MaxJobDuration

func (r *JobResolver) MaxJobDuration() int32

MaxJobDuration resolver

func (*JobResolver) Metadata

func (r *JobResolver) Metadata() *MetadataResolver

Metadata resolver

func (*JobResolver) Run

func (r *JobResolver) Run(ctx context.Context) (*RunResolver, error)

Run resolver

func (*JobResolver) Runner added in v0.8.0

func (r *JobResolver) Runner(ctx context.Context) (*RunnerResolver, error)

Runner resolver

func (*JobResolver) RunnerPath added in v0.8.0

func (r *JobResolver) RunnerPath() *string

RunnerPath resolver

func (*JobResolver) Status

func (r *JobResolver) Status() string

Status resolver

func (*JobResolver) Timestamps

func (r *JobResolver) Timestamps() *JobTimestampsResolver

Timestamps resolver

func (*JobResolver) Type

func (r *JobResolver) Type() string

Type resolver

func (*JobResolver) Workspace

func (r *JobResolver) Workspace(ctx context.Context) (*WorkspaceResolver, error)

Workspace resolver

type JobTimestampsResolver

type JobTimestampsResolver struct {
	// contains filtered or unexported fields
}

JobTimestampsResolver resolves a job's timestamps

func (*JobTimestampsResolver) FinishedAt

func (r *JobTimestampsResolver) FinishedAt() *graphql.Time

FinishedAt resolver

func (*JobTimestampsResolver) PendingAt

func (r *JobTimestampsResolver) PendingAt() *graphql.Time

PendingAt resolver

func (*JobTimestampsResolver) QueuedAt

func (r *JobTimestampsResolver) QueuedAt() *graphql.Time

QueuedAt resolver

func (*JobTimestampsResolver) RunningAt

func (r *JobTimestampsResolver) RunningAt() *graphql.Time

RunningAt resolver

type ManagedIdentityAccessRuleMutationPayload

type ManagedIdentityAccessRuleMutationPayload struct {
	ClientMutationID *string
	AccessRule       *models.ManagedIdentityAccessRule
	Problems         []Problem
}

ManagedIdentityAccessRuleMutationPayload is the response payload for a managed identity access rule mutation

type ManagedIdentityAccessRuleMutationPayloadResolver

type ManagedIdentityAccessRuleMutationPayloadResolver struct {
	ManagedIdentityAccessRuleMutationPayload
}

ManagedIdentityAccessRuleMutationPayloadResolver resolves a ManagedIdentityAccessRuleMutationPayload

func (*ManagedIdentityAccessRuleMutationPayloadResolver) AccessRule

AccessRule field resolver

type ManagedIdentityAccessRuleResolver

type ManagedIdentityAccessRuleResolver struct {
	// contains filtered or unexported fields
}

ManagedIdentityAccessRuleResolver resolves a managed identity access rule

func (*ManagedIdentityAccessRuleResolver) AllowedServiceAccounts

func (r *ManagedIdentityAccessRuleResolver) AllowedServiceAccounts(ctx context.Context) (*[]*ServiceAccountResolver, error)

AllowedServiceAccounts resolver

func (*ManagedIdentityAccessRuleResolver) AllowedTeams

AllowedTeams resolver

func (*ManagedIdentityAccessRuleResolver) AllowedUsers

AllowedUsers resolver

func (*ManagedIdentityAccessRuleResolver) ID

ID resolver

func (*ManagedIdentityAccessRuleResolver) ManagedIdentity

ManagedIdentity resolver

func (*ManagedIdentityAccessRuleResolver) Metadata

Metadata resolver

func (*ManagedIdentityAccessRuleResolver) ModuleAttestationPolicies added in v0.3.0

ModuleAttestationPolicies resolver

func (*ManagedIdentityAccessRuleResolver) RunStage

RunStage resolver

func (*ManagedIdentityAccessRuleResolver) Type added in v0.3.0

Type resolver

type ManagedIdentityConnectionQueryArgs

type ManagedIdentityConnectionQueryArgs struct {
	ConnectionQueryArgs
	GroupPath        *string
	IncludeInherited *bool
	Search           *string
}

ManagedIdentityConnectionQueryArgs are used to query a managedIdentity connection

type ManagedIdentityConnectionResolver

type ManagedIdentityConnectionResolver struct {
	// contains filtered or unexported fields
}

ManagedIdentityConnectionResolver resolves a managedIdentity connection

func NewManagedIdentityConnectionResolver

func NewManagedIdentityConnectionResolver(ctx context.Context, input *managedidentity.GetManagedIdentitiesInput) (*ManagedIdentityConnectionResolver, error)

NewManagedIdentityConnectionResolver creates a new ManagedIdentityConnectionResolver

func (*ManagedIdentityConnectionResolver) Edges

Edges returns the connection edges

func (*ManagedIdentityConnectionResolver) PageInfo

PageInfo returns the connection page information

func (*ManagedIdentityConnectionResolver) TotalCount

func (r *ManagedIdentityConnectionResolver) TotalCount() int32

TotalCount returns the total result count for the connection

type ManagedIdentityCredentials

type ManagedIdentityCredentials struct {
	Data []byte
}

ManagedIdentityCredentials represents the credentials for a managed identity

type ManagedIdentityCredentialsMutationPayload

type ManagedIdentityCredentialsMutationPayload struct {
	ClientMutationID           *string
	ManagedIdentityCredentials *ManagedIdentityCredentials
	Problems                   []Problem
}

ManagedIdentityCredentialsMutationPayload is the response payload for a managedIdentity credentials

type ManagedIdentityCredentialsMutationPayloadResolver

type ManagedIdentityCredentialsMutationPayloadResolver struct {
	ManagedIdentityCredentialsMutationPayload
}

ManagedIdentityCredentialsMutationPayloadResolver resolves managed identity credentials

func (*ManagedIdentityCredentialsMutationPayloadResolver) ManagedIdentityCredentials

ManagedIdentityCredentials field resolver

type ManagedIdentityCredentialsResolver

type ManagedIdentityCredentialsResolver struct {
	// contains filtered or unexported fields
}

ManagedIdentityCredentialsResolver resolves managed identity credentials

func (*ManagedIdentityCredentialsResolver) Data

Data resolver

type ManagedIdentityEdgeResolver

type ManagedIdentityEdgeResolver struct {
	// contains filtered or unexported fields
}

ManagedIdentityEdgeResolver resolves managedIdentity edges

func (*ManagedIdentityEdgeResolver) Cursor

func (r *ManagedIdentityEdgeResolver) Cursor() (string, error)

Cursor returns an opaque cursor

func (*ManagedIdentityEdgeResolver) Node

Node returns a managedIdentity node

type ManagedIdentityMutationPayload

type ManagedIdentityMutationPayload struct {
	ClientMutationID *string
	ManagedIdentity  *models.ManagedIdentity
	Problems         []Problem
}

ManagedIdentityMutationPayload is the response payload for a managedIdentity mutation

type ManagedIdentityMutationPayloadResolver

type ManagedIdentityMutationPayloadResolver struct {
	ManagedIdentityMutationPayload
}

ManagedIdentityMutationPayloadResolver resolves a ManagedIdentityMutationPayload

func (*ManagedIdentityMutationPayloadResolver) ManagedIdentity

ManagedIdentity field resolver

type ManagedIdentityQueryArgs

type ManagedIdentityQueryArgs struct {
	ID string
}

ManagedIdentityQueryArgs are used to query a single managedIdentity

type ManagedIdentityResolver

type ManagedIdentityResolver struct {
	// contains filtered or unexported fields
}

ManagedIdentityResolver resolves a managedIdentity resource

func (*ManagedIdentityResolver) AccessRules

AccessRules resolver

func (*ManagedIdentityResolver) AliasSource added in v0.2.0

AliasSource resolver

func (*ManagedIdentityResolver) AliasSourceID added in v0.2.1

func (r *ManagedIdentityResolver) AliasSourceID() *string

AliasSourceID resolver

func (*ManagedIdentityResolver) Aliases added in v0.2.0

Aliases resolver

func (*ManagedIdentityResolver) CreatedBy

func (r *ManagedIdentityResolver) CreatedBy() string

CreatedBy resolver

func (*ManagedIdentityResolver) Data

func (r *ManagedIdentityResolver) Data() string

Data resolver

func (*ManagedIdentityResolver) Description

func (r *ManagedIdentityResolver) Description() string

Description resolver

func (*ManagedIdentityResolver) Group

Group resolver

func (*ManagedIdentityResolver) GroupPath added in v0.5.0

func (r *ManagedIdentityResolver) GroupPath() string

GroupPath resolver

func (*ManagedIdentityResolver) ID

ID resolver

func (*ManagedIdentityResolver) IsAlias added in v0.2.0

func (r *ManagedIdentityResolver) IsAlias() bool

IsAlias resolver

func (*ManagedIdentityResolver) Metadata

Metadata resolver

func (*ManagedIdentityResolver) Name

func (r *ManagedIdentityResolver) Name() string

Name resolver

func (*ManagedIdentityResolver) ResourcePath

func (r *ManagedIdentityResolver) ResourcePath() string

ResourcePath resolver

func (*ManagedIdentityResolver) Type

func (r *ManagedIdentityResolver) Type() string

Type resolver

type MeResponseResolver

type MeResponseResolver struct {
	// contains filtered or unexported fields
}

MeResponseResolver resolves the me query result

func (*MeResponseResolver) ToServiceAccount

func (r *MeResponseResolver) ToServiceAccount() (*ServiceAccountResolver, bool)

ToServiceAccount handles ServiceAccount union type

func (*MeResponseResolver) ToUser

func (r *MeResponseResolver) ToUser() (*UserResolver, bool)

ToUser handles User union type

type MemberResolver

type MemberResolver struct {
	// contains filtered or unexported fields
}

MemberResolver results the Member union type

func (*MemberResolver) ToServiceAccount

func (r *MemberResolver) ToServiceAccount() (*ServiceAccountResolver, bool)

ToServiceAccount resolves service account member types

func (*MemberResolver) ToTeam

func (r *MemberResolver) ToTeam() (*TeamResolver, bool)

ToTeam resolves team member types

func (*MemberResolver) ToUser

func (r *MemberResolver) ToUser() (*UserResolver, bool)

ToUser resolves user member types

type MetadataInput

type MetadataInput struct {
	Version string
}

MetadataInput encapsulates the resource metadata input request

type MetadataResolver

type MetadataResolver struct {
	// contains filtered or unexported fields
}

MetadataResolver resolves the ResourceMetadata type

func (*MetadataResolver) CreatedAt

func (r *MetadataResolver) CreatedAt() graphql.Time

CreatedAt resolver

func (*MetadataResolver) UpdatedAt

func (r *MetadataResolver) UpdatedAt() graphql.Time

UpdatedAt resolver

func (*MetadataResolver) Version

func (r *MetadataResolver) Version() string

Version resolver

type MigrateGroupInput added in v0.8.0

type MigrateGroupInput struct {
	ClientMutationID *string
	NewParentPath    *string
	GroupPath        string
}

MigrateGroupInput contains the input for migrating a group

type NamespaceMembershipConnectionQueryArgs

type NamespaceMembershipConnectionQueryArgs struct {
	ConnectionQueryArgs
	NamespacePath string
}

NamespaceMembershipConnectionQueryArgs are used to query a namespace membership connection

type NamespaceMembershipConnectionResolver

type NamespaceMembershipConnectionResolver struct {
	// contains filtered or unexported fields
}

NamespaceMembershipConnectionResolver resolves a namespace membership connection

func NewNamespaceMembershipConnectionResolver

NewNamespaceMembershipConnectionResolver creates a new NamespaceMembershipConnectionResolver

func (*NamespaceMembershipConnectionResolver) Edges

Edges returns the connection edges

func (*NamespaceMembershipConnectionResolver) PageInfo

PageInfo returns the connection page information

func (*NamespaceMembershipConnectionResolver) TotalCount

TotalCount returns the total result count for the connection

type NamespaceMembershipEdgeResolver

type NamespaceMembershipEdgeResolver struct {
	// contains filtered or unexported fields
}

NamespaceMembershipEdgeResolver resolves namespace membership edges

func (*NamespaceMembershipEdgeResolver) Cursor

Cursor returns an opaque cursor

func (*NamespaceMembershipEdgeResolver) Node

Node returns a namespace membership node

type NamespaceMembershipMutationPayload

type NamespaceMembershipMutationPayload struct {
	ClientMutationID    *string
	NamespaceMembership *models.NamespaceMembership
	Problems            []Problem
}

NamespaceMembershipMutationPayload is the response payload for a namespace membership mutation

type NamespaceMembershipMutationPayloadResolver

type NamespaceMembershipMutationPayloadResolver struct {
	NamespaceMembershipMutationPayload
}

NamespaceMembershipMutationPayloadResolver resolves a NamespaceMembershipMutationPayload

func (*NamespaceMembershipMutationPayloadResolver) Namespace

Namespace field resolver

type NamespaceMembershipResolver

type NamespaceMembershipResolver struct {
	// contains filtered or unexported fields
}

NamespaceMembershipResolver resolves a namespace membership resource

func (*NamespaceMembershipResolver) ID

ID resolver

func (*NamespaceMembershipResolver) Member

Member resolver

func (*NamespaceMembershipResolver) Metadata

Metadata resolver

func (*NamespaceMembershipResolver) Namespace

Namespace resolver

func (*NamespaceMembershipResolver) ResourcePath

func (r *NamespaceMembershipResolver) ResourcePath() string

ResourcePath resolver

func (*NamespaceMembershipResolver) Role

Role resolver

type NamespaceQueryArgs

type NamespaceQueryArgs struct {
	FullPath string
}

NamespaceQueryArgs for querying a namespace by path

type NamespaceResolver

type NamespaceResolver struct {
	// contains filtered or unexported fields
}

NamespaceResolver resolves the namespace union type

func (*NamespaceResolver) ActivityEvents

ActivityEvents resolver

func (*NamespaceResolver) Description

func (r *NamespaceResolver) Description() (string, error)

Description resolver

func (*NamespaceResolver) FullPath

func (r *NamespaceResolver) FullPath() (string, error)

FullPath resolver

func (*NamespaceResolver) ID

func (r *NamespaceResolver) ID() (graphql.ID, error)

ID resolver

func (*NamespaceResolver) ManagedIdentities

ManagedIdentities resolver

func (*NamespaceResolver) Memberships

Memberships resolver The field is called "memberships", but most everything else is called "namespace memberships".

func (*NamespaceResolver) Metadata

func (r *NamespaceResolver) Metadata() (*MetadataResolver, error)

Metadata resolver

func (*NamespaceResolver) Name

func (r *NamespaceResolver) Name() (string, error)

Name resolver

func (*NamespaceResolver) ServiceAccounts

ServiceAccounts resolver

func (*NamespaceResolver) ToGroup

func (r *NamespaceResolver) ToGroup() (*GroupResolver, bool)

ToGroup resolves the group namespace type

func (*NamespaceResolver) ToWorkspace

func (r *NamespaceResolver) ToWorkspace() (*WorkspaceResolver, bool)

ToWorkspace resolves the workspace namespace type

func (*NamespaceResolver) Variables

Variables resolver

type NamespaceVariableResolver

type NamespaceVariableResolver struct {
	// contains filtered or unexported fields
}

NamespaceVariableResolver resolves a variable resource

func (*NamespaceVariableResolver) Category

func (r *NamespaceVariableResolver) Category() string

Category resolver

func (*NamespaceVariableResolver) Hcl

Hcl resolver

func (*NamespaceVariableResolver) ID

ID resolver

func (*NamespaceVariableResolver) Key

Key resolver

func (*NamespaceVariableResolver) Metadata

Metadata resolver

func (*NamespaceVariableResolver) NamespacePath

func (r *NamespaceVariableResolver) NamespacePath() string

NamespacePath resolver

func (*NamespaceVariableResolver) Value

func (r *NamespaceVariableResolver) Value() *string

Value resolver

type NodeResolver

type NodeResolver struct {
	// contains filtered or unexported fields
}

NodeResolver resolves a node type

func (*NodeResolver) ID

func (r *NodeResolver) ID() (graphql.ID, error)

ID resolver

func (*NodeResolver) ToActivityEvent

func (r *NodeResolver) ToActivityEvent() (*ActivityEventResolver, bool)

ToActivityEvent resolver

func (*NodeResolver) ToApply

func (r *NodeResolver) ToApply() (*ApplyResolver, bool)

ToApply resolver

func (*NodeResolver) ToConfigurationVersion

func (r *NodeResolver) ToConfigurationVersion() (*ConfigurationVersionResolver, bool)

ToConfigurationVersion resolver

func (*NodeResolver) ToGPGKey

func (r *NodeResolver) ToGPGKey() (*GPGKeyResolver, bool)

ToGPGKey resolver

func (*NodeResolver) ToGroup

func (r *NodeResolver) ToGroup() (*GroupResolver, bool)

ToGroup resolver

func (*NodeResolver) ToJob

func (r *NodeResolver) ToJob() (*JobResolver, bool)

ToJob resolver

func (*NodeResolver) ToManagedIdentity

func (r *NodeResolver) ToManagedIdentity() (*ManagedIdentityResolver, bool)

ToManagedIdentity resolver

func (*NodeResolver) ToManagedIdentityAccessRule

func (r *NodeResolver) ToManagedIdentityAccessRule() (*ManagedIdentityAccessRuleResolver, bool)

ToManagedIdentityAccessRule resolver

func (*NodeResolver) ToNamespaceMembership

func (r *NodeResolver) ToNamespaceMembership() (*NamespaceMembershipResolver, bool)

ToNamespaceMembership resolver

func (*NodeResolver) ToNamespaceVariable

func (r *NodeResolver) ToNamespaceVariable() (*NamespaceVariableResolver, bool)

ToNamespaceVariable resolver

func (*NodeResolver) ToPlan

func (r *NodeResolver) ToPlan() (*PlanResolver, bool)

ToPlan resolver

func (*NodeResolver) ToRole added in v0.9.0

func (r *NodeResolver) ToRole() (*RoleResolver, bool)

ToRole resolver

func (*NodeResolver) ToRun

func (r *NodeResolver) ToRun() (*RunResolver, bool)

ToRun resolver

func (*NodeResolver) ToRunner added in v0.8.0

func (r *NodeResolver) ToRunner() (*RunnerResolver, bool)

ToRunner resolver

func (*NodeResolver) ToServiceAccount

func (r *NodeResolver) ToServiceAccount() (*ServiceAccountResolver, bool)

ToServiceAccount resolver

func (*NodeResolver) ToStateVersion

func (r *NodeResolver) ToStateVersion() (*StateVersionResolver, bool)

ToStateVersion resolver

func (*NodeResolver) ToStateVersionOutput

func (r *NodeResolver) ToStateVersionOutput() (*StateVersionOutputResolver, bool)

ToStateVersionOutput resolver

func (*NodeResolver) ToTeam

func (r *NodeResolver) ToTeam() (*TeamResolver, bool)

ToTeam resolver

func (*NodeResolver) ToTerraformModule

func (r *NodeResolver) ToTerraformModule() (*TerraformModuleResolver, bool)

ToTerraformModule resolver

func (*NodeResolver) ToTerraformModuleAttestation

func (r *NodeResolver) ToTerraformModuleAttestation() (*TerraformModuleAttestationResolver, bool)

ToTerraformModuleAttestation resolver

func (*NodeResolver) ToTerraformModuleVersion

func (r *NodeResolver) ToTerraformModuleVersion() (*TerraformModuleVersionResolver, bool)

ToTerraformModuleVersion resolver

func (*NodeResolver) ToTerraformProvider

func (r *NodeResolver) ToTerraformProvider() (*TerraformProviderResolver, bool)

ToTerraformProvider resolver

func (*NodeResolver) ToTerraformProviderPlatform

func (r *NodeResolver) ToTerraformProviderPlatform() (*TerraformProviderPlatformResolver, bool)

ToTerraformProviderPlatform resolver

func (*NodeResolver) ToTerraformProviderPlatformMirror added in v0.12.0

func (r *NodeResolver) ToTerraformProviderPlatformMirror() (*TerraformProviderPlatformMirrorResolver, bool)

ToTerraformProviderPlatformMirror resolver

func (*NodeResolver) ToTerraformProviderVersion

func (r *NodeResolver) ToTerraformProviderVersion() (*TerraformProviderVersionResolver, bool)

ToTerraformProviderVersion resolver

func (*NodeResolver) ToTerraformProviderVersionMirror added in v0.12.0

func (r *NodeResolver) ToTerraformProviderVersionMirror() (*TerraformProviderVersionMirrorResolver, bool)

ToTerraformProviderVersionMirror resolver

func (*NodeResolver) ToUser

func (r *NodeResolver) ToUser() (*UserResolver, bool)

ToUser resolver

func (*NodeResolver) ToVCSEvent

func (r *NodeResolver) ToVCSEvent() (*VCSEventResolver, bool)

ToVCSEvent resolver

func (*NodeResolver) ToVCSProvider

func (r *NodeResolver) ToVCSProvider() (*VCSProviderResolver, bool)

ToVCSProvider resolver

func (*NodeResolver) ToWorkspace

func (r *NodeResolver) ToWorkspace() (*WorkspaceResolver, bool)

ToWorkspace resolver

func (r *NodeResolver) ToWorkspaceVCSProviderLink() (*WorkspaceVCSProviderLinkResolver, bool)

ToWorkspaceVCSProviderLink resolver

type OIDCTrustPolicy

type OIDCTrustPolicy struct {
	Issuer      string
	BoundClaims []JWTClaim
}

OIDCTrustPolicy specifies the trust policies for a service account

type PageInfo

type PageInfo struct {
	EndCursor       *string
	StartCursor     *string
	HasNextPage     bool
	HasPreviousPage bool
}

PageInfo represents the page information for a connection

type PageInfoResolver

type PageInfoResolver struct {
	// contains filtered or unexported fields
}

PageInfoResolver resolves the PageInfo type

func (*PageInfoResolver) EndCursor

func (r *PageInfoResolver) EndCursor() *string

EndCursor resolver

func (*PageInfoResolver) HasNextPage

func (r *PageInfoResolver) HasNextPage() bool

HasNextPage resolver

func (*PageInfoResolver) HasPreviousPage

func (r *PageInfoResolver) HasPreviousPage() bool

HasPreviousPage resolver

func (*PageInfoResolver) StartCursor

func (r *PageInfoResolver) StartCursor() *string

StartCursor resolver

type PlanMutationPayload

type PlanMutationPayload struct {
	ClientMutationID *string
	Plan             *models.Plan
	Problems         []Problem
}

PlanMutationPayload is the response payload for plan mutation

type PlanMutationPayloadResolver

type PlanMutationPayloadResolver struct {
	PlanMutationPayload
}

PlanMutationPayloadResolver resolves a PlanMutationPayload

func (*PlanMutationPayloadResolver) Plan

Plan field resolver

type PlanResolver

type PlanResolver struct {
	// contains filtered or unexported fields
}

PlanResolver resolves a plan resource

func (*PlanResolver) CurrentJob

func (r *PlanResolver) CurrentJob(ctx context.Context) (*JobResolver, error)

CurrentJob returns the current job for the plan resource

func (*PlanResolver) HasChanges

func (r *PlanResolver) HasChanges() bool

HasChanges resolver

func (*PlanResolver) ID

func (r *PlanResolver) ID() graphql.ID

ID resolver

func (*PlanResolver) Metadata

func (r *PlanResolver) Metadata() *MetadataResolver

Metadata resolver

func (*PlanResolver) ResourceAdditions

func (r *PlanResolver) ResourceAdditions() int32

ResourceAdditions resolver

func (*PlanResolver) ResourceChanges

func (r *PlanResolver) ResourceChanges() int32

ResourceChanges resolver

func (*PlanResolver) ResourceDestructions

func (r *PlanResolver) ResourceDestructions() int32

ResourceDestructions resolver

func (*PlanResolver) Status

func (r *PlanResolver) Status() string

Status resolver

type Problem

type Problem struct {
	Message string
	Field   *[]string
	Type    ProblemType
}

Problem is used to represent a user facing issue

type ProblemType

type ProblemType string

ProblemType represents the type of problem

const (
	Conflict   ProblemType = "CONFLICT"
	BadRequest ProblemType = "BAD_REQUEST"
	NotFound   ProblemType = "NOT_FOUND"
	Forbidden  ProblemType = "FORBIDDEN"
)

Problem constants

type RemoveUserFromTeamInput

type RemoveUserFromTeamInput struct {
	ClientMutationID *string
	Metadata         *MetadataInput
	Username         string
	TeamName         string
}

RemoveUserFromTeamInput is the input for removing a user from a team.

type ResetVCSProviderOAuthTokenInput

type ResetVCSProviderOAuthTokenInput struct {
	ClientMutationID *string
	ProviderID       string
}

ResetVCSProviderOAuthTokenInput is the input for resetting a VCS provider's OAuth token.

type ResetVCSProviderOAuthTokenMutationPayload

type ResetVCSProviderOAuthTokenMutationPayload struct {
	ClientMutationID      *string
	VCSProvider           *models.VCSProvider
	OAuthAuthorizationURL string
	Problems              []Problem
}

ResetVCSProviderOAuthTokenMutationPayload is the response payload for resetting a OAuth token.

type ResetVCSProviderOAuthTokenMutationPayloadResolver

type ResetVCSProviderOAuthTokenMutationPayloadResolver struct {
	ResetVCSProviderOAuthTokenMutationPayload
}

ResetVCSProviderOAuthTokenMutationPayloadResolver resolves a ResetVCSProviderOAuthTokenPayload

func (*ResetVCSProviderOAuthTokenMutationPayloadResolver) VCSProvider

VCSProvider field resolver

type ResourceLimitMutationPayload added in v0.11.0

type ResourceLimitMutationPayload struct {
	ClientMutationID *string
	ResourceLimit    *models.ResourceLimit
	Problems         []Problem
}

ResourceLimitMutationPayload is the response payload for a resource limit mutation

type ResourceLimitMutationPayloadResolver added in v0.11.0

type ResourceLimitMutationPayloadResolver struct {
	ResourceLimitMutationPayload
}

ResourceLimitMutationPayloadResolver resolves a ResourceLimitMutationPayload

func (*ResourceLimitMutationPayloadResolver) ResourceLimit added in v0.11.0

ResourceLimit field resolver

type ResourceLimitResolver added in v0.11.0

type ResourceLimitResolver struct {
	// contains filtered or unexported fields
}

ResourceLimitResolver resolves a resource limit

func (*ResourceLimitResolver) ID added in v0.11.0

ID resolver

func (*ResourceLimitResolver) Metadata added in v0.11.0

func (r *ResourceLimitResolver) Metadata() *MetadataResolver

Metadata resolver

func (*ResourceLimitResolver) Name added in v0.11.0

func (r *ResourceLimitResolver) Name() string

Name resolver

func (*ResourceLimitResolver) Value added in v0.11.0

func (r *ResourceLimitResolver) Value() int32

Value resolver

type RoleConnectionResolver added in v0.9.0

type RoleConnectionResolver struct {
	// contains filtered or unexported fields
}

RoleConnectionResolver resolves a role connection

func NewRoleConnectionResolver added in v0.9.0

func NewRoleConnectionResolver(ctx context.Context, input *role.GetRolesInput) (*RoleConnectionResolver, error)

NewRoleConnectionResolver creates a new RoleConnectionResolver

func (*RoleConnectionResolver) Edges added in v0.9.0

Edges returns the connection edges

func (*RoleConnectionResolver) PageInfo added in v0.9.0

PageInfo returns the connection page information

func (*RoleConnectionResolver) TotalCount added in v0.9.0

func (r *RoleConnectionResolver) TotalCount() int32

TotalCount returns the total result count for the connection

type RoleEdgeResolver added in v0.9.0

type RoleEdgeResolver struct {
	// contains filtered or unexported fields
}

RoleEdgeResolver resolves role edges

func (*RoleEdgeResolver) Cursor added in v0.9.0

func (r *RoleEdgeResolver) Cursor() (string, error)

Cursor returns an opaque cursor

func (*RoleEdgeResolver) Node added in v0.9.0

func (r *RoleEdgeResolver) Node() (*RoleResolver, error)

Node returns a role node

type RoleMutationPayload added in v0.9.0

type RoleMutationPayload struct {
	ClientMutationID *string
	Role             *models.Role
	Problems         []Problem
}

RoleMutationPayload is the response payload for a role mutation

type RoleMutationPayloadResolver added in v0.9.0

type RoleMutationPayloadResolver struct {
	RoleMutationPayload
}

RoleMutationPayloadResolver resolves a RoleMutationPayload

func (*RoleMutationPayloadResolver) Role added in v0.9.0

Role field resolver

type RoleQueryArgs added in v0.9.0

type RoleQueryArgs struct {
	Name string
}

RoleQueryArgs are used to query a single role

type RoleResolver added in v0.9.0

type RoleResolver struct {
	// contains filtered or unexported fields
}

RoleResolver resolves a role resource

func (*RoleResolver) CreatedBy added in v0.9.0

func (r *RoleResolver) CreatedBy() string

CreatedBy resolver

func (*RoleResolver) Description added in v0.9.0

func (r *RoleResolver) Description() string

Description resolver

func (*RoleResolver) ID added in v0.9.0

func (r *RoleResolver) ID() graphql.ID

ID resolver

func (*RoleResolver) Metadata added in v0.9.0

func (r *RoleResolver) Metadata() *MetadataResolver

Metadata resolver

func (*RoleResolver) Name added in v0.9.0

func (r *RoleResolver) Name() string

Name resolver

func (*RoleResolver) Permissions added in v0.9.0

func (r *RoleResolver) Permissions() []string

Permissions resolver

type RolesConnectionQueryArgs added in v0.9.0

type RolesConnectionQueryArgs struct {
	ConnectionQueryArgs
	Search *string
}

RolesConnectionQueryArgs are used to query a role connection

type RootResolver

type RootResolver struct{}

RootResolver is the entry point for all top-level operations.

func NewRootResolver

func NewRootResolver() *RootResolver

NewRootResolver creates a root resolver

func (RootResolver) ActivityEvents

ActivityEvents query returns an activity event connection

func (RootResolver) AddUserToTeam

func (r RootResolver) AddUserToTeam(ctx context.Context, args *struct{ Input *AddUserToTeamInput }) (*TeamMemberMutationPayloadResolver, error)

AddUserToTeam adds a user to a team.

func (RootResolver) ApplyRun

func (r RootResolver) ApplyRun(ctx context.Context, args *struct{ Input *ApplyRunInput }) (*RunMutationPayloadResolver, error)

ApplyRun mutation starts the apply stage for a run

func (RootResolver) AssignManagedIdentity

func (r RootResolver) AssignManagedIdentity(ctx context.Context, args *struct{ Input *AssignManagedIdentityInput }) (*AssignManagedIdentityMutationPayloadResolver, error)

AssignManagedIdentity assigns a managed identity to a workspace

func (RootResolver) AssignServiceAccountToRunner added in v0.8.0

func (r RootResolver) AssignServiceAccountToRunner(ctx context.Context, args *struct {
	Input *AssignServiceAccountToRunnerInput
}) (*RunnerMutationPayloadResolver, error)

AssignServiceAccountToRunner assigns a service account to a runner

func (RootResolver) AuthSettings

func (r RootResolver) AuthSettings(ctx context.Context) *AuthSettingsResolver

AuthSettings returns the configured auth settings

func (RootResolver) AvailableRolePermissions added in v0.9.0

func (r RootResolver) AvailableRolePermissions(ctx context.Context) ([]string, error)

AvailableRolePermissions returns a list of available role permissions.

func (RootResolver) CancelRun

func (r RootResolver) CancelRun(ctx context.Context, args *struct{ Input *CancelRunInput }) (*RunMutationPayloadResolver, error)

CancelRun mutation cancels a run

func (RootResolver) ClaimJob added in v0.8.0

func (r RootResolver) ClaimJob(ctx context.Context, args *struct{ Input *ClaimJobInput }) (*ClaimJobMutationPayload, error)

ClaimJob attempts to claim the next available job, it'll block if no jobs are available to be claimed

func (RootResolver) ConfigurationVersion

ConfigurationVersion query returns a configuration version by ID

func (RootResolver) CreateConfigurationVersion

func (r RootResolver) CreateConfigurationVersion(ctx context.Context, args *struct {
	Input *CreateConfigurationVersionInput
},
) (*ConfigurationVersionMutationPayloadResolver, error)

CreateConfigurationVersion creates a new configuration version

func (RootResolver) CreateGPGKey

func (r RootResolver) CreateGPGKey(ctx context.Context, args *struct{ Input *CreateGPGKeyInput }) (*GPGKeyMutationPayloadResolver, error)

CreateGPGKey creates a new gpg key

func (RootResolver) CreateGroup

func (r RootResolver) CreateGroup(ctx context.Context, args *struct{ Input *CreateGroupInput }) (*GroupMutationPayloadResolver, error)

CreateGroup creates a new group

func (RootResolver) CreateManagedIdentity

func (r RootResolver) CreateManagedIdentity(ctx context.Context, args *struct{ Input *CreateManagedIdentityInput }) (*ManagedIdentityMutationPayloadResolver, error)

CreateManagedIdentity creates a new managed identity

func (RootResolver) CreateManagedIdentityAccessRule

func (r RootResolver) CreateManagedIdentityAccessRule(ctx context.Context, args *struct {
	Input *CreateManagedIdentityAccessRuleInput
},
) (*ManagedIdentityAccessRuleMutationPayloadResolver, error)

CreateManagedIdentityAccessRule creates a new managed identity access rule

func (RootResolver) CreateManagedIdentityAlias added in v0.2.0

func (r RootResolver) CreateManagedIdentityAlias(ctx context.Context, args *struct {
	Input *CreateManagedIdentityAliasInput
},
) (*ManagedIdentityMutationPayloadResolver, error)

CreateManagedIdentityAlias creates a managed identity alias

func (RootResolver) CreateManagedIdentityCredentials

func (r RootResolver) CreateManagedIdentityCredentials(ctx context.Context, args *struct {
	Input *CreateManagedIdentityCredentialsInput
},
) (*ManagedIdentityCredentialsMutationPayloadResolver, error)

CreateManagedIdentityCredentials creates credentials for a managed identity

func (RootResolver) CreateNamespaceMembership

func (r RootResolver) CreateNamespaceMembership(ctx context.Context,
	args *struct {
		Input *CreateNamespaceMembershipInput
	},
) (*NamespaceMembershipMutationPayloadResolver, error)

CreateNamespaceMembership creates a new namespace membership in a namespace

func (RootResolver) CreateNamespaceVariable

func (r RootResolver) CreateNamespaceVariable(ctx context.Context, args *struct{ Input *CreateNamespaceVariableInput }) (*VariableMutationPayloadResolver, error)

CreateNamespaceVariable mutation creates a new variable

func (RootResolver) CreateRole added in v0.9.0

func (r RootResolver) CreateRole(ctx context.Context, args *struct{ Input *CreateRoleInput }) (*RoleMutationPayloadResolver, error)

CreateRole creates a role

func (RootResolver) CreateRun

func (r RootResolver) CreateRun(ctx context.Context, args *struct{ Input *CreateRunInput }) (*RunMutationPayloadResolver, error)

CreateRun mutation creates a new run

func (RootResolver) CreateRunner added in v0.8.0

func (r RootResolver) CreateRunner(ctx context.Context, args *struct{ Input *CreateRunnerInput }) (*RunnerMutationPayloadResolver, error)

CreateRunner creates a new runner

func (RootResolver) CreateSCIMToken

func (r RootResolver) CreateSCIMToken(ctx context.Context) (*SCIMTokenPayload, error)

CreateSCIMToken generates a token specifically for provisioning SCIM resources.

func (RootResolver) CreateServiceAccount

func (r RootResolver) CreateServiceAccount(ctx context.Context, args *struct{ Input *CreateServiceAccountInput }) (*ServiceAccountMutationPayloadResolver, error)

CreateServiceAccount creates a new service account

func (RootResolver) CreateStateVersion

func (r RootResolver) CreateStateVersion(ctx context.Context, args *struct{ Input *CreateStateVersionInput }) (*StateVersionMutationPayloadResolver, error)

CreateStateVersion creates a new state version

func (RootResolver) CreateTeam

func (r RootResolver) CreateTeam(ctx context.Context, args *struct{ Input *CreateTeamInput }) (*TeamMutationPayloadResolver, error)

CreateTeam creates a new team

func (RootResolver) CreateTerraformCLIDownloadURL

func (r RootResolver) CreateTerraformCLIDownloadURL(ctx context.Context, args *struct {
	Input *CreateTerraformCLIDownloadURLInput
},
) (*TerraformCLIMutationPayload, error)

CreateTerraformCLIDownloadURL create a download URL for a Terraform CLI binary.

func (RootResolver) CreateTerraformModule

func (r RootResolver) CreateTerraformModule(ctx context.Context, args *struct{ Input *CreateTerraformModuleInput }) (*TerraformModuleMutationPayloadResolver, error)

CreateTerraformModule creates a new terraform module

func (RootResolver) CreateTerraformModuleAttestation

func (r RootResolver) CreateTerraformModuleAttestation(ctx context.Context, args *struct {
	Input *CreateTerraformModuleAttestationInput
},
) (*TerraformModuleAttestationMutationPayloadResolver, error)

CreateTerraformModuleAttestation creates a new terraform module attestation

func (RootResolver) CreateTerraformModuleVersion

func (r RootResolver) CreateTerraformModuleVersion(ctx context.Context, args *struct {
	Input *CreateTerraformModuleVersionInput
},
) (*TerraformModuleVersionMutationPayloadResolver, error)

CreateTerraformModuleVersion creates a new terraform module version

func (RootResolver) CreateTerraformProvider

func (r RootResolver) CreateTerraformProvider(ctx context.Context, args *struct{ Input *CreateTerraformProviderInput }) (*TerraformProviderMutationPayloadResolver, error)

CreateTerraformProvider creates a new terraform provider

func (RootResolver) CreateTerraformProviderPlatform

func (r RootResolver) CreateTerraformProviderPlatform(ctx context.Context, args *struct {
	Input *CreateTerraformProviderPlatformInput
},
) (*TerraformProviderPlatformMutationPayloadResolver, error)

CreateTerraformProviderPlatform creates a new terraform provider platform

func (RootResolver) CreateTerraformProviderVersion

func (r RootResolver) CreateTerraformProviderVersion(ctx context.Context, args *struct {
	Input *CreateTerraformProviderVersionInput
},
) (*TerraformProviderVersionMutationPayloadResolver, error)

CreateTerraformProviderVersion creates a new terraform provider version

func (RootResolver) CreateTerraformProviderVersionMirror added in v0.12.0

func (r RootResolver) CreateTerraformProviderVersionMirror(ctx context.Context, args *struct {
	Input *CreateTerraformProviderVersionMirrorInput
}) (*TerraformProviderVersionMirrorMutationPayloadResolver, error)

CreateTerraformProviderVersionMirror creates a TerraformProviderVersionMirror.

func (RootResolver) CreateVCSProvider

func (r RootResolver) CreateVCSProvider(ctx context.Context,
	args *struct{ Input *CreateVCSProviderInput },
) (*VCSProviderMutationPayloadResolver, error)

CreateVCSProvider creates a new vcs provider

func (RootResolver) CreateVCSRun

func (r RootResolver) CreateVCSRun(ctx context.Context,
	args *struct {
		Input *CreateVCSRunInput
	},
) (*CreateVCSRunMutationPayload, error)

CreateVCSRun creates a vcs run

func (RootResolver) CreateWorkspace

func (r RootResolver) CreateWorkspace(ctx context.Context, args *struct{ Input *CreateWorkspaceInput }) (*WorkspaceMutationPayloadResolver, error)

CreateWorkspace creates a new workspace

func (r RootResolver) CreateWorkspaceVCSProviderLink(ctx context.Context,
	args *struct {
		Input *CreateWorkspaceVCSProviderLinkInput
	},
) (*WorkspaceVCSProviderLinkMutationPayloadResolver, error)

CreateWorkspaceVCSProviderLink creates a new vcs provider link

func (RootResolver) DeleteGPGKey

func (r RootResolver) DeleteGPGKey(ctx context.Context, args *struct{ Input *DeleteGPGKeyInput }) (*GPGKeyMutationPayloadResolver, error)

DeleteGPGKey deletes a gpg key

func (RootResolver) DeleteGroup

func (r RootResolver) DeleteGroup(ctx context.Context, args *struct{ Input *DeleteGroupInput }) (*GroupMutationPayloadResolver, error)

DeleteGroup deletes a group

func (RootResolver) DeleteManagedIdentity

func (r RootResolver) DeleteManagedIdentity(ctx context.Context, args *struct{ Input *DeleteManagedIdentityInput }) (*ManagedIdentityMutationPayloadResolver, error)

DeleteManagedIdentity deletes a managed identity

func (RootResolver) DeleteManagedIdentityAccessRule

func (r RootResolver) DeleteManagedIdentityAccessRule(ctx context.Context, args *struct {
	Input *DeleteManagedIdentityAccessRuleInput
},
) (*ManagedIdentityAccessRuleMutationPayloadResolver, error)

DeleteManagedIdentityAccessRule deletes an existing managed identity access rule

func (RootResolver) DeleteManagedIdentityAlias added in v0.2.0

func (r RootResolver) DeleteManagedIdentityAlias(ctx context.Context, args *struct{ Input *DeleteManagedIdentityInput }) (*ManagedIdentityMutationPayloadResolver, error)

DeleteManagedIdentityAlias deletes a managed identity alias

func (RootResolver) DeleteNamespaceMembership

func (r RootResolver) DeleteNamespaceMembership(ctx context.Context,
	args *struct {
		Input *DeleteNamespaceMembershipInput
	},
) (*NamespaceMembershipMutationPayloadResolver, error)

DeleteNamespaceMembership updates an existing namespace membership

func (RootResolver) DeleteNamespaceVariable

func (r RootResolver) DeleteNamespaceVariable(ctx context.Context, args *struct{ Input *DeleteNamespaceVariableInput }) (*VariableMutationPayloadResolver, error)

DeleteNamespaceVariable mutation deletes an existing variable

func (RootResolver) DeleteRole added in v0.9.0

func (r RootResolver) DeleteRole(ctx context.Context, args *struct{ Input *DeleteRoleInput }) (*RoleMutationPayloadResolver, error)

DeleteRole updates a role

func (RootResolver) DeleteRunner added in v0.8.0

func (r RootResolver) DeleteRunner(ctx context.Context, args *struct{ Input *DeleteRunnerInput }) (*RunnerMutationPayloadResolver, error)

DeleteRunner deletes a runner

func (RootResolver) DeleteServiceAccount

func (r RootResolver) DeleteServiceAccount(ctx context.Context, args *struct{ Input *DeleteServiceAccountInput }) (*ServiceAccountMutationPayloadResolver, error)

DeleteServiceAccount deletes a service account

func (RootResolver) DeleteTeam

func (r RootResolver) DeleteTeam(ctx context.Context, args *struct{ Input *DeleteTeamInput }) (*TeamMutationPayloadResolver, error)

DeleteTeam deletes a team

func (RootResolver) DeleteTerraformModule

func (r RootResolver) DeleteTerraformModule(ctx context.Context, args *struct{ Input *DeleteTerraformModuleInput }) (*TerraformModuleMutationPayloadResolver, error)

DeleteTerraformModule deletes a terraform module

func (RootResolver) DeleteTerraformModuleAttestation

func (r RootResolver) DeleteTerraformModuleAttestation(ctx context.Context, args *struct {
	Input *DeleteTerraformModuleAttestationInput
},
) (*TerraformModuleAttestationMutationPayloadResolver, error)

DeleteTerraformModuleAttestation deletes a terraform module attestation

func (RootResolver) DeleteTerraformModuleVersion

func (r RootResolver) DeleteTerraformModuleVersion(ctx context.Context, args *struct {
	Input *DeleteTerraformModuleVersionInput
},
) (*TerraformModuleVersionMutationPayloadResolver, error)

DeleteTerraformModuleVersion deletes a terraform module version

func (RootResolver) DeleteTerraformProvider

func (r RootResolver) DeleteTerraformProvider(ctx context.Context, args *struct{ Input *DeleteTerraformProviderInput }) (*TerraformProviderMutationPayloadResolver, error)

DeleteTerraformProvider deletes a terraform provider

func (RootResolver) DeleteTerraformProviderPlatform

func (r RootResolver) DeleteTerraformProviderPlatform(ctx context.Context, args *struct {
	Input *DeleteTerraformProviderPlatformInput
},
) (*TerraformProviderPlatformMutationPayloadResolver, error)

DeleteTerraformProviderPlatform deletes a terraform provider platform

func (RootResolver) DeleteTerraformProviderPlatformMirror added in v0.12.0

func (r RootResolver) DeleteTerraformProviderPlatformMirror(ctx context.Context, args *struct {
	Input *DeleteTerraformProviderPlatformMirrorInput
}) (*TerraformProviderPlatformMirrorMutationPayloadResolver, error)

DeleteTerraformProviderPlatformMirror deletes a TerraformProviderPlatformMirror.

func (RootResolver) DeleteTerraformProviderVersion

func (r RootResolver) DeleteTerraformProviderVersion(ctx context.Context, args *struct {
	Input *DeleteTerraformProviderVersionInput
},
) (*TerraformProviderVersionMutationPayloadResolver, error)

DeleteTerraformProviderVersion deletes a terraform provider version

func (RootResolver) DeleteTerraformProviderVersionMirror added in v0.12.0

func (r RootResolver) DeleteTerraformProviderVersionMirror(ctx context.Context, args *struct {
	Input *DeleteTerraformProviderVersionMirrorInput
}) (*TerraformProviderVersionMirrorMutationPayloadResolver, error)

DeleteTerraformProviderVersionMirror deletes a TerraformProviderVersionMirror.

func (RootResolver) DeleteVCSProvider

func (r RootResolver) DeleteVCSProvider(ctx context.Context,
	args *struct{ Input *DeleteVCSProviderInput },
) (*VCSProviderMutationPayloadResolver, error)

DeleteVCSProvider deletes a vcs provider

func (RootResolver) DeleteWorkspace

func (r RootResolver) DeleteWorkspace(ctx context.Context, args *struct{ Input *DeleteWorkspaceInput }) (*WorkspaceMutationPayloadResolver, error)

DeleteWorkspace deletes a workspace

func (r RootResolver) DeleteWorkspaceVCSProviderLink(ctx context.Context,
	args *struct {
		Input *DeleteWorkspaceVCSProviderLinkInput
	},
) (*WorkspaceVCSProviderLinkMutationPayloadResolver, error)

DeleteWorkspaceVCSProviderLink deletes a vcs provider link

func (RootResolver) Group

Group query returns a group by full path

func (RootResolver) Groups

Groups query returns a groups connection

func (RootResolver) Job

func (r RootResolver) Job(ctx context.Context, args *JobQueryArgs) (*JobResolver, error)

Job query returns a single job

func (RootResolver) JobCancellationEvent

func (r RootResolver) JobCancellationEvent(ctx context.Context, args *struct {
	Input *JobCancellationEventSubscriptionInput
},
) (<-chan *JobCancellationEventResolver, error)

JobCancellationEvent sets up a subscription for job cancellation event

func (RootResolver) JobLogEvents

func (r RootResolver) JobLogEvents(ctx context.Context, args *struct{ Input *JobLogSubscriptionInput }) (<-chan *JobLogEventResolver, error)

JobLogEvents sets up a subscription for job log events

func (RootResolver) ManagedIdentity

ManagedIdentity query returns a managed identity

func (RootResolver) Me

Me query returns the authenticated subject

func (RootResolver) MigrateGroup added in v0.8.0

func (r RootResolver) MigrateGroup(ctx context.Context,
	args *struct{ Input *MigrateGroupInput }) (*GroupMutationPayloadResolver, error)

MigrateGroup migrates an existing group

func (RootResolver) Namespace

Namespace query returns a namespace by full path

func (RootResolver) Node

func (r RootResolver) Node(ctx context.Context, args *struct{ ID string }) (*NodeResolver, error)

Node query returns a node by ID

func (RootResolver) RemoveUserFromTeam

func (r RootResolver) RemoveUserFromTeam(ctx context.Context, args *struct{ Input *RemoveUserFromTeamInput }) (*TeamMemberMutationPayloadResolver, error)

RemoveUserFromTeam removes a user from a team.

func (RootResolver) ResetVCSProviderOAuthToken

func (r RootResolver) ResetVCSProviderOAuthToken(ctx context.Context, args *struct {
	Input *ResetVCSProviderOAuthTokenInput
},
) (*ResetVCSProviderOAuthTokenMutationPayloadResolver, error)

ResetVCSProviderOAuthToken returns a new OAuth authorization code URL that can be used to reset an OAuth token.

func (RootResolver) ResourceLimits added in v0.11.0

func (r RootResolver) ResourceLimits(ctx context.Context) ([]*ResourceLimitResolver, error)

ResourceLimits returns the current resource limits

func (RootResolver) Role added in v0.9.0

Role query returns a role by name

func (RootResolver) Roles added in v0.9.0

Roles query returns a roles connection

func (RootResolver) Run

func (r RootResolver) Run(ctx context.Context, args *RunQueryArgs) (*RunResolver, error)

Run query returns a run by ID

func (RootResolver) Runs

Runs query returns a run connection

func (RootResolver) SaveJobLogs

func (r RootResolver) SaveJobLogs(ctx context.Context, args *struct{ Input *SaveJobLogsInput }) (*SaveJobLogsPayload, error)

SaveJobLogs saves job logs

func (RootResolver) ServiceAccount

ServiceAccount query returns a service account

func (RootResolver) ServiceAccountCreateToken added in v0.2.0

func (r RootResolver) ServiceAccountCreateToken(ctx context.Context, args *struct {
	Input *ServiceAccountCreateTokenInput
},
) (*ServiceAccountCreateTokenPayload, error)

ServiceAccountCreateToken creates a token for a service account

func (RootResolver) SetNamespaceVariables

func (r RootResolver) SetNamespaceVariables(ctx context.Context, args *struct{ Input *SetNamespaceVariablesInput }) (*VariableMutationPayloadResolver, error)

SetNamespaceVariables mutation replaces all the variables for the specified namespace

func (RootResolver) Team

Team query returns a team by name

func (RootResolver) Teams

Teams query returns a teams connection

func (RootResolver) TerraformCLIVersions

func (r RootResolver) TerraformCLIVersions(ctx context.Context) (*TerraformCLIVersionsResolver, error)

TerraformCLIVersions queries for available TerraformCLIVersions.

func (RootResolver) TerraformModule

TerraformModule query returns a terraform module by address

func (RootResolver) TerraformModuleVersion

TerraformModuleVersion query returns a terraform module version

func (RootResolver) TerraformModules

TerraformModules query returns a terraform module connection

func (RootResolver) TerraformProvider

TerraformProvider query returns a terraform provider by address

func (RootResolver) TerraformProviderVersion

TerraformProviderVersion query returns a terraform provider version

func (RootResolver) TerraformProviderVersionMirror added in v0.12.0

TerraformProviderVersionMirror query returns a terraform provider version mirror by address.

func (RootResolver) TerraformProviders

TerraformProviders query returns a terraform provider connection

func (RootResolver) UnassignManagedIdentity

func (r RootResolver) UnassignManagedIdentity(ctx context.Context, args *struct{ Input *AssignManagedIdentityInput }) (*AssignManagedIdentityMutationPayloadResolver, error)

UnassignManagedIdentity un-assigns a managed identity from a workspace

func (RootResolver) UnassignServiceAccountFromRunner added in v0.8.0

func (r RootResolver) UnassignServiceAccountFromRunner(ctx context.Context, args *struct {
	Input *AssignServiceAccountToRunnerInput
}) (*RunnerMutationPayloadResolver, error)

UnassignServiceAccountFromRunner unassigns a service account from a runner

func (RootResolver) UpdateApply

func (r RootResolver) UpdateApply(ctx context.Context, args *struct{ Input *UpdateApplyInput }) (*ApplyMutationPayloadResolver, error)

UpdateApply updates an existing apply

func (RootResolver) UpdateGroup

func (r RootResolver) UpdateGroup(ctx context.Context, args *struct{ Input *UpdateGroupInput }) (*GroupMutationPayloadResolver, error)

UpdateGroup updates an existing group

func (RootResolver) UpdateManagedIdentity

func (r RootResolver) UpdateManagedIdentity(ctx context.Context, args *struct{ Input *UpdateManagedIdentityInput }) (*ManagedIdentityMutationPayloadResolver, error)

UpdateManagedIdentity updates an existing managed identity

func (RootResolver) UpdateManagedIdentityAccessRule

func (r RootResolver) UpdateManagedIdentityAccessRule(ctx context.Context, args *struct {
	Input *UpdateManagedIdentityAccessRuleInput
},
) (*ManagedIdentityAccessRuleMutationPayloadResolver, error)

UpdateManagedIdentityAccessRule updates an existing managed identity access rule

func (RootResolver) UpdateNamespaceMembership

func (r RootResolver) UpdateNamespaceMembership(ctx context.Context,
	args *struct {
		Input *UpdateNamespaceMembershipInput
	},
) (*NamespaceMembershipMutationPayloadResolver, error)

UpdateNamespaceMembership updates an existing namespace membership

func (RootResolver) UpdateNamespaceVariable

func (r RootResolver) UpdateNamespaceVariable(ctx context.Context, args *struct{ Input *UpdateNamespaceVariableInput }) (*VariableMutationPayloadResolver, error)

UpdateNamespaceVariable mutation updates an existing variable

func (RootResolver) UpdatePlan

func (r RootResolver) UpdatePlan(ctx context.Context, args *struct{ Input *UpdatePlanInput }) (*PlanMutationPayloadResolver, error)

UpdatePlan updates an existing plan

func (RootResolver) UpdateResourceLimit added in v0.11.0

func (r RootResolver) UpdateResourceLimit(ctx context.Context,
	args *struct{ Input *UpdateResourceLimitInput }) (*ResourceLimitMutationPayloadResolver, error)

UpdateResourceLimit creates or updates a resource limit

func (RootResolver) UpdateRole added in v0.9.0

func (r RootResolver) UpdateRole(ctx context.Context, args *struct{ Input *UpdateRoleInput }) (*RoleMutationPayloadResolver, error)

UpdateRole updates a role

func (RootResolver) UpdateRunner added in v0.8.0

func (r RootResolver) UpdateRunner(ctx context.Context, args *struct{ Input *UpdateRunnerInput }) (*RunnerMutationPayloadResolver, error)

UpdateRunner updates an existing runner

func (RootResolver) UpdateServiceAccount

func (r RootResolver) UpdateServiceAccount(ctx context.Context, args *struct{ Input *UpdateServiceAccountInput }) (*ServiceAccountMutationPayloadResolver, error)

UpdateServiceAccount updates an existing service account

func (RootResolver) UpdateTeam

func (r RootResolver) UpdateTeam(ctx context.Context, args *struct{ Input *UpdateTeamInput }) (*TeamMutationPayloadResolver, error)

UpdateTeam updates an existing team

func (RootResolver) UpdateTeamMember

func (r RootResolver) UpdateTeamMember(ctx context.Context, args *struct{ Input *UpdateTeamMemberInput }) (*TeamMemberMutationPayloadResolver, error)

UpdateTeamMember updates an existing team member

func (RootResolver) UpdateTerraformModule

func (r RootResolver) UpdateTerraformModule(ctx context.Context, args *struct{ Input *UpdateTerraformModuleInput }) (*TerraformModuleMutationPayloadResolver, error)

UpdateTerraformModule updates a terraform module

func (RootResolver) UpdateTerraformModuleAttestation

func (r RootResolver) UpdateTerraformModuleAttestation(ctx context.Context, args *struct {
	Input *UpdateTerraformModuleAttestationInput
},
) (*TerraformModuleAttestationMutationPayloadResolver, error)

UpdateTerraformModuleAttestation updates an existing terraform module attestation

func (RootResolver) UpdateTerraformProvider

func (r RootResolver) UpdateTerraformProvider(ctx context.Context, args *struct{ Input *UpdateTerraformProviderInput }) (*TerraformProviderMutationPayloadResolver, error)

UpdateTerraformProvider updates a terraform provider

func (RootResolver) UpdateVCSProvider

func (r RootResolver) UpdateVCSProvider(ctx context.Context,
	args *struct{ Input *UpdateVCSProviderInput },
) (*VCSProviderMutationPayloadResolver, error)

UpdateVCSProvider updates a vcs provider

func (RootResolver) UpdateWorkspace

func (r RootResolver) UpdateWorkspace(ctx context.Context, args *struct{ Input *UpdateWorkspaceInput }) (*WorkspaceMutationPayloadResolver, error)

UpdateWorkspace updates an existing workspace

func (r RootResolver) UpdateWorkspaceVCSProviderLink(ctx context.Context,
	args *struct {
		Input *UpdateWorkspaceVCSProviderLinkInput
	},
) (*WorkspaceVCSProviderLinkMutationPayloadResolver, error)

UpdateWorkspaceVCSProviderLink updates a vcs provider link

func (RootResolver) Users

Users query returns a user connection

func (RootResolver) Workspace

Workspace query returns a workspace by full path

func (RootResolver) WorkspaceEvents

func (r RootResolver) WorkspaceEvents(ctx context.Context, args *struct{ Input *WorkspaceSubscriptionInput }) (<-chan *WorkspaceEventResolver, error)

WorkspaceEvents subscribes to events for a particular workspace

func (RootResolver) WorkspaceRunEvents

func (r RootResolver) WorkspaceRunEvents(ctx context.Context, args *struct{ Input *RunSubscriptionInput }) (<-chan *RunEventResolver, error)

WorkspaceRunEvents subscribes to run events for a particular workspace

func (RootResolver) Workspaces

Workspaces query returns a workspace connection

type RunConnectionQueryArgs

type RunConnectionQueryArgs struct {
	ConnectionQueryArgs
	WorkspacePath *string
	WorkspaceID   *string
}

RunConnectionQueryArgs are used to query a run connection

type RunConnectionResolver

type RunConnectionResolver struct {
	// contains filtered or unexported fields
}

RunConnectionResolver resolves a run connection

func NewRunConnectionResolver

func NewRunConnectionResolver(ctx context.Context, input *run.GetRunsInput) (*RunConnectionResolver, error)

NewRunConnectionResolver creates a new RunConnectionResolver

func (*RunConnectionResolver) Edges

func (r *RunConnectionResolver) Edges() *[]*RunEdgeResolver

Edges returns the connection edges

func (*RunConnectionResolver) PageInfo

func (r *RunConnectionResolver) PageInfo() *PageInfoResolver

PageInfo returns the connection page information

func (*RunConnectionResolver) TotalCount

func (r *RunConnectionResolver) TotalCount() int32

TotalCount returns the total result count for the connection

type RunEdgeResolver

type RunEdgeResolver struct {
	// contains filtered or unexported fields
}

RunEdgeResolver resolves run edges

func (*RunEdgeResolver) Cursor

func (r *RunEdgeResolver) Cursor() (string, error)

Cursor returns an opaque cursor

func (*RunEdgeResolver) Node

func (r *RunEdgeResolver) Node() (*RunResolver, error)

Node returns a run node

type RunEventResolver

type RunEventResolver struct {
	// contains filtered or unexported fields
}

RunEventResolver resolves a run event

func (*RunEventResolver) Action

func (r *RunEventResolver) Action() string

Action resolves the event action

func (*RunEventResolver) Run

func (r *RunEventResolver) Run() *RunResolver

Run resolves the run

type RunMutationPayload

type RunMutationPayload struct {
	ClientMutationID *string
	Run              *models.Run
	Problems         []Problem
}

RunMutationPayload is the response payload for a run mutation

type RunMutationPayloadResolver

type RunMutationPayloadResolver struct {
	RunMutationPayload
}

RunMutationPayloadResolver resolves a RunMutationPayload

func (*RunMutationPayloadResolver) Run

Run field resolver

type RunQueryArgs

type RunQueryArgs struct {
	ID string
}

RunQueryArgs are used to query a single run

type RunResolver

type RunResolver struct {
	// contains filtered or unexported fields
}

RunResolver resolves a run resource

func (*RunResolver) Apply

func (r *RunResolver) Apply(ctx context.Context) (*ApplyResolver, error)

Apply resolver

func (*RunResolver) Comment

func (r *RunResolver) Comment() string

Comment resolver

func (*RunResolver) ConfigurationVersion

func (r *RunResolver) ConfigurationVersion(ctx context.Context) (*ConfigurationVersionResolver, error)

ConfigurationVersion resolver

func (*RunResolver) CreatedBy

func (r *RunResolver) CreatedBy() string

CreatedBy resolver

func (*RunResolver) ForceCancelAvailableAt

func (r *RunResolver) ForceCancelAvailableAt() *graphql.Time

ForceCancelAvailableAt resolver

func (*RunResolver) ForceCanceled

func (r *RunResolver) ForceCanceled() bool

ForceCanceled resolver

func (*RunResolver) ForceCanceledBy

func (r *RunResolver) ForceCanceledBy() *string

ForceCanceledBy resolver

func (*RunResolver) ID

func (r *RunResolver) ID() graphql.ID

ID resolver

func (*RunResolver) IsDestroy

func (r *RunResolver) IsDestroy() bool

IsDestroy resolver

func (*RunResolver) Metadata

func (r *RunResolver) Metadata() *MetadataResolver

Metadata resolver

func (*RunResolver) ModuleDigest added in v0.3.0

func (r *RunResolver) ModuleDigest() *string

ModuleDigest resolver

func (*RunResolver) ModuleSource

func (r *RunResolver) ModuleSource() *string

ModuleSource resolver

func (*RunResolver) ModuleVersion

func (r *RunResolver) ModuleVersion() *string

ModuleVersion resolver

func (*RunResolver) Plan

func (r *RunResolver) Plan(ctx context.Context) (*PlanResolver, error)

Plan resolver

func (*RunResolver) Refresh added in v0.12.1

func (r *RunResolver) Refresh() bool

Refresh resolver

func (*RunResolver) Status

func (r *RunResolver) Status() string

Status resolver

func (*RunResolver) TargetAddresses added in v0.12.1

func (r *RunResolver) TargetAddresses() []string

TargetAddresses resolver

func (*RunResolver) TerraformVersion

func (r *RunResolver) TerraformVersion() string

TerraformVersion resolver

func (*RunResolver) Variables

func (r *RunResolver) Variables(ctx context.Context) ([]*RunVariableResolver, error)

Variables resolver

func (*RunResolver) Workspace

func (r *RunResolver) Workspace(ctx context.Context) (*WorkspaceResolver, error)

Workspace resolver

type RunSubscriptionInput

type RunSubscriptionInput struct {
	RunID         *string
	WorkspacePath string
}

RunSubscriptionInput is the input for subscribing to run events

type RunVariableResolver

type RunVariableResolver struct {
	// contains filtered or unexported fields
}

RunVariableResolver resolves a variable resource

func (*RunVariableResolver) Category

func (r *RunVariableResolver) Category() string

Category resolver

func (*RunVariableResolver) Hcl

func (r *RunVariableResolver) Hcl() bool

Hcl resolver

func (*RunVariableResolver) Key

func (r *RunVariableResolver) Key() string

Key resolver

func (*RunVariableResolver) NamespacePath

func (r *RunVariableResolver) NamespacePath() *string

NamespacePath resolver

func (*RunVariableResolver) Value

func (r *RunVariableResolver) Value() *string

Value resolver

type RunnerConnectionResolver added in v0.8.0

type RunnerConnectionResolver struct {
	// contains filtered or unexported fields
}

RunnerConnectionResolver resolves a runner connection

func NewRunnerConnectionResolver added in v0.8.0

func NewRunnerConnectionResolver(ctx context.Context, input *runner.GetRunnersInput) (*RunnerConnectionResolver, error)

NewRunnerConnectionResolver creates a new RunnerConnectionResolver

func (*RunnerConnectionResolver) Edges added in v0.8.0

Edges returns the connection edges

func (*RunnerConnectionResolver) PageInfo added in v0.8.0

PageInfo returns the connection page information

func (*RunnerConnectionResolver) TotalCount added in v0.8.0

func (r *RunnerConnectionResolver) TotalCount() int32

TotalCount returns the total result count for the connection

type RunnerEdgeResolver added in v0.8.0

type RunnerEdgeResolver struct {
	// contains filtered or unexported fields
}

RunnerEdgeResolver resolves runner edges

func (*RunnerEdgeResolver) Cursor added in v0.8.0

func (r *RunnerEdgeResolver) Cursor() (string, error)

Cursor returns an opaque cursor

func (*RunnerEdgeResolver) Node added in v0.8.0

func (r *RunnerEdgeResolver) Node() (*RunnerResolver, error)

Node returns a runner node

type RunnerMutationPayload added in v0.8.0

type RunnerMutationPayload struct {
	ClientMutationID *string
	Runner           *models.Runner
	Problems         []Problem
}

RunnerMutationPayload is the response payload for a runner mutation

type RunnerMutationPayloadResolver added in v0.8.0

type RunnerMutationPayloadResolver struct {
	RunnerMutationPayload
}

RunnerMutationPayloadResolver resolves a RunnerMutationPayload

func (*RunnerMutationPayloadResolver) Runner added in v0.8.0

Runner field resolver

type RunnerResolver added in v0.8.0

type RunnerResolver struct {
	// contains filtered or unexported fields
}

RunnerResolver resolves a runner resource

func (*RunnerResolver) AssignedServiceAccounts added in v0.8.0

func (r *RunnerResolver) AssignedServiceAccounts(ctx context.Context, args *ConnectionQueryArgs) (*ServiceAccountConnectionResolver, error)

AssignedServiceAccounts resolver

func (*RunnerResolver) CreatedBy added in v0.8.0

func (r *RunnerResolver) CreatedBy() string

CreatedBy resolver

func (*RunnerResolver) Description added in v0.8.0

func (r *RunnerResolver) Description() string

Description resolver

func (*RunnerResolver) Group added in v0.8.0

func (r *RunnerResolver) Group(ctx context.Context) (*GroupResolver, error)

Group resolver

func (*RunnerResolver) GroupPath added in v0.8.0

func (r *RunnerResolver) GroupPath() string

GroupPath resolver

func (*RunnerResolver) ID added in v0.8.0

func (r *RunnerResolver) ID() graphql.ID

ID resolver

func (*RunnerResolver) Metadata added in v0.8.0

func (r *RunnerResolver) Metadata() *MetadataResolver

Metadata resolver

func (*RunnerResolver) Name added in v0.8.0

func (r *RunnerResolver) Name() string

Name resolver

func (*RunnerResolver) ResourcePath added in v0.8.0

func (r *RunnerResolver) ResourcePath() string

ResourcePath resolver

func (*RunnerResolver) Type added in v0.8.0

func (r *RunnerResolver) Type() string

Type resolver

type RunnersConnectionQueryArgs added in v0.8.0

type RunnersConnectionQueryArgs struct {
	ConnectionQueryArgs
	IncludeInherited *bool
}

RunnersConnectionQueryArgs are used to query a runner connection

type SCIMTokenPayload

type SCIMTokenPayload struct {
	ClientMutationID *string
	Token            *string
	Problems         []Problem
}

SCIMTokenPayload is the response payload for a SCIM token mutation.

type SaveJobLogsInput

type SaveJobLogsInput struct {
	ClientMutationID *string
	Logs             string
	JobID            string
	StartOffset      int32
}

SaveJobLogsInput is the input for saving logs

type SaveJobLogsPayload

type SaveJobLogsPayload struct {
	ClientMutationID *string
	Problems         []Problem
}

SaveJobLogsPayload is the response payload for a save logs mutation

type ServiceAccountConnectionResolver

type ServiceAccountConnectionResolver struct {
	// contains filtered or unexported fields
}

ServiceAccountConnectionResolver resolves a serviceAccount connection

func NewServiceAccountConnectionResolver

func NewServiceAccountConnectionResolver(ctx context.Context, input *serviceaccount.GetServiceAccountsInput) (*ServiceAccountConnectionResolver, error)

NewServiceAccountConnectionResolver creates a new ServiceAccountConnectionResolver

func (*ServiceAccountConnectionResolver) Edges

Edges returns the connection edges

func (*ServiceAccountConnectionResolver) PageInfo

PageInfo returns the connection page information

func (*ServiceAccountConnectionResolver) TotalCount

func (r *ServiceAccountConnectionResolver) TotalCount() int32

TotalCount returns the total result count for the connection

type ServiceAccountCreateTokenInput added in v0.2.0

type ServiceAccountCreateTokenInput struct {
	ClientMutationID   *string
	ServiceAccountPath string
	Token              string
}

ServiceAccountCreateTokenInput contains the input for the service account create token mutation.

type ServiceAccountCreateTokenPayload added in v0.2.0

type ServiceAccountCreateTokenPayload struct {
	ClientMutationID *string
	Token            *string
	ExpiresIn        *int32
	Problems         []Problem
}

ServiceAccountCreateTokenPayload is the response payload for the service account create token mutation

type ServiceAccountEdgeResolver

type ServiceAccountEdgeResolver struct {
	// contains filtered or unexported fields
}

ServiceAccountEdgeResolver resolves serviceAccount edges

func (*ServiceAccountEdgeResolver) Cursor

func (r *ServiceAccountEdgeResolver) Cursor() (string, error)

Cursor returns an opaque cursor

func (*ServiceAccountEdgeResolver) Node

Node returns a serviceAccount node

type ServiceAccountMutationPayload

type ServiceAccountMutationPayload struct {
	ClientMutationID *string
	ServiceAccount   *models.ServiceAccount
	Problems         []Problem
}

ServiceAccountMutationPayload is the response payload for a serviceAccount mutation

type ServiceAccountMutationPayloadResolver

type ServiceAccountMutationPayloadResolver struct {
	ServiceAccountMutationPayload
}

ServiceAccountMutationPayloadResolver resolves a ServiceAccountMutationPayload

func (*ServiceAccountMutationPayloadResolver) ServiceAccount

ServiceAccount field resolver

type ServiceAccountQueryArgs

type ServiceAccountQueryArgs struct {
	ID string
}

ServiceAccountQueryArgs are used to query a single serviceAccount

type ServiceAccountResolver

type ServiceAccountResolver struct {
	// contains filtered or unexported fields
}

ServiceAccountResolver resolves a serviceAccount resource

func (*ServiceAccountResolver) ActivityEvents

ActivityEvents resolver

func (*ServiceAccountResolver) CreatedBy

func (r *ServiceAccountResolver) CreatedBy() string

CreatedBy resolver

func (*ServiceAccountResolver) Description

func (r *ServiceAccountResolver) Description() string

Description resolver

func (*ServiceAccountResolver) Group

Group resolver

func (*ServiceAccountResolver) GroupPath added in v0.5.0

func (r *ServiceAccountResolver) GroupPath() string

GroupPath resolver

func (*ServiceAccountResolver) ID

ID resolver

func (*ServiceAccountResolver) Metadata

Metadata resolver

func (*ServiceAccountResolver) Name

func (r *ServiceAccountResolver) Name() string

Name resolver

func (*ServiceAccountResolver) NamespaceMemberships

NamespaceMemberships resolver

func (*ServiceAccountResolver) OIDCTrustPolicies

func (r *ServiceAccountResolver) OIDCTrustPolicies() []OIDCTrustPolicy

OIDCTrustPolicies resolver

func (*ServiceAccountResolver) ResourcePath

func (r *ServiceAccountResolver) ResourcePath() string

ResourcePath resolver

type ServiceAccountsConnectionQueryArgs

type ServiceAccountsConnectionQueryArgs struct {
	ConnectionQueryArgs
	IncludeInherited *bool
	Search           *string
}

ServiceAccountsConnectionQueryArgs are used to query a serviceAccount connection

type SetNamespaceVariablesInput

type SetNamespaceVariablesInput struct {
	ClientMutationID *string
	NamespacePath    string
	Category         models.VariableCategory
	Variables        []struct {
		Key   string
		Value string
		Hcl   bool
	}
}

SetNamespaceVariablesInput is the input for setting namespace variables

type State

type State struct {
	Config                     *config.Config
	GroupService               group.Service
	WorkspaceService           workspace.Service
	RunService                 run.Service
	JobService                 job.Service
	ManagedIdentityService     managedidentity.Service
	ServiceAccountService      serviceaccount.Service
	UserService                user.Service
	NamespaceMembershipService namespacemembership.Service
	VariableService            variable.Service
	Logger                     logger.Logger
	TeamService                team.Service
	ProviderRegistryService    providerregistry.Service
	ModuleRegistryService      moduleregistry.Service
	GPGKeyService              gpgkey.Service
	CliService                 cli.Service
	SCIMService                scim.Service
	VCSService                 vcs.Service
	ActivityService            activityevent.Service
	RoleService                role.Service
	RunnerService              runner.Service
	ResourceLimitService       resourcelimit.Service
	ProviderMirrorService      providermirror.Service
}

State contains the services required by resolvers

func (*State) Attach

func (r *State) Attach(ctx context.Context) context.Context

Attach is used to attach the resolver state to the context

type StateVersionConnectionQueryArgs

type StateVersionConnectionQueryArgs struct {
	ConnectionQueryArgs
}

StateVersionConnectionQueryArgs are used to query a state version connection

type StateVersionConnectionResolver

type StateVersionConnectionResolver struct {
	// contains filtered or unexported fields
}

StateVersionConnectionResolver resolves a stateVersion connection

func NewStateVersionConnectionResolver

func NewStateVersionConnectionResolver(ctx context.Context, input *workspace.GetStateVersionsInput) (*StateVersionConnectionResolver, error)

NewStateVersionConnectionResolver creates a new StateVersionConnectionResolver

func (*StateVersionConnectionResolver) Edges

Edges returns the connection edges

func (*StateVersionConnectionResolver) PageInfo

PageInfo returns the connection page information

func (*StateVersionConnectionResolver) TotalCount

func (r *StateVersionConnectionResolver) TotalCount() int32

TotalCount returns the total result count for the connection

type StateVersionDependencyResolver

type StateVersionDependencyResolver struct {
	// contains filtered or unexported fields
}

StateVersionDependencyResolver resolves a state version dependency

func (*StateVersionDependencyResolver) StateVersion

StateVersion resolver

func (*StateVersionDependencyResolver) Workspace

Workspace resolver

func (*StateVersionDependencyResolver) WorkspacePath

func (r *StateVersionDependencyResolver) WorkspacePath() string

WorkspacePath resolver

type StateVersionEdgeResolver

type StateVersionEdgeResolver struct {
	// contains filtered or unexported fields
}

StateVersionEdgeResolver resolves state version edges

func (*StateVersionEdgeResolver) Cursor

func (r *StateVersionEdgeResolver) Cursor() (string, error)

Cursor returns an opaque cursor

func (*StateVersionEdgeResolver) Node

Node returns a state version node

type StateVersionMutationPayload

type StateVersionMutationPayload struct {
	ClientMutationID *string
	StateVersion     *models.StateVersion
	Problems         []Problem
}

StateVersionMutationPayload is the response payload for state version mutation

type StateVersionMutationPayloadResolver

type StateVersionMutationPayloadResolver struct {
	StateVersionMutationPayload
}

StateVersionMutationPayloadResolver resolves StateVersionMutationPayload

func (*StateVersionMutationPayloadResolver) StateVersion

StateVersion field resolver

type StateVersionOutputResolver

type StateVersionOutputResolver struct {
	// contains filtered or unexported fields
}

StateVersionOutputResolver resolves a state version output resource

func (*StateVersionOutputResolver) ID

ID resolver

func (*StateVersionOutputResolver) Metadata

Metadata resolver

func (*StateVersionOutputResolver) Name

Name resolver

func (*StateVersionOutputResolver) Sensitive

func (r *StateVersionOutputResolver) Sensitive() bool

Sensitive resolver

func (*StateVersionOutputResolver) Type

Type resolver

func (*StateVersionOutputResolver) Value

Value resolver

type StateVersionResolver

type StateVersionResolver struct {
	// contains filtered or unexported fields
}

StateVersionResolver resolves a state version resource

func (*StateVersionResolver) CreatedBy

func (r *StateVersionResolver) CreatedBy() string

CreatedBy resolver.

func (*StateVersionResolver) Data

Data resolver

func (*StateVersionResolver) Dependencies

Dependencies resolver

func (*StateVersionResolver) ID

ID resolver

func (*StateVersionResolver) Metadata

func (r *StateVersionResolver) Metadata() *MetadataResolver

Metadata resolver

func (*StateVersionResolver) Outputs

Outputs resolver (does not need connection resolver, because it's not doing pagination)

func (*StateVersionResolver) Resources

Resources resolver

func (*StateVersionResolver) Run

Run resolver

type TeamConnectionQueryArgs

type TeamConnectionQueryArgs struct {
	ConnectionQueryArgs
	Search *string
}

TeamConnectionQueryArgs are used to query a team connection

type TeamConnectionResolver

type TeamConnectionResolver struct {
	// contains filtered or unexported fields
}

TeamConnectionResolver resolves a team connection

func NewTeamConnectionResolver

func NewTeamConnectionResolver(ctx context.Context, input *team.GetTeamsInput) (*TeamConnectionResolver, error)

NewTeamConnectionResolver creates a new TeamConnectionResolver

func (*TeamConnectionResolver) Edges

Edges returns the connection edges

func (*TeamConnectionResolver) PageInfo

PageInfo returns the connection page information

func (*TeamConnectionResolver) TotalCount

func (r *TeamConnectionResolver) TotalCount() int32

TotalCount returns the total result count for the connection

type TeamEdgeResolver

type TeamEdgeResolver struct {
	// contains filtered or unexported fields
}

TeamEdgeResolver resolves team edges

func (*TeamEdgeResolver) Cursor

func (r *TeamEdgeResolver) Cursor() (string, error)

Cursor returns an opaque cursor

func (*TeamEdgeResolver) Node

func (r *TeamEdgeResolver) Node() (*TeamResolver, error)

Node returns a team node

type TeamMemberConnectionResolver

type TeamMemberConnectionResolver struct {
	// contains filtered or unexported fields
}

TeamMemberConnectionResolver resolves a team member connection

func NewTeamMemberConnectionResolver

func NewTeamMemberConnectionResolver(ctx context.Context,
	input *team.GetTeamMembersInput,
) (*TeamMemberConnectionResolver, error)

NewTeamMemberConnectionResolver creates a new TeamMemberConnectionResolver

func (*TeamMemberConnectionResolver) Edges

Edges returns the connection edges

func (*TeamMemberConnectionResolver) PageInfo

PageInfo returns the connection page information

func (*TeamMemberConnectionResolver) TotalCount

func (r *TeamMemberConnectionResolver) TotalCount() int32

TotalCount returns the total result count for the connection

type TeamMemberEdgeResolver

type TeamMemberEdgeResolver struct {
	// contains filtered or unexported fields
}

TeamMemberEdgeResolver resolves team member edges

func (*TeamMemberEdgeResolver) Cursor

func (r *TeamMemberEdgeResolver) Cursor() (string, error)

Cursor returns an opaque cursor

func (*TeamMemberEdgeResolver) Node

Node returns a team member node

type TeamMemberMutationPayload

type TeamMemberMutationPayload struct {
	ClientMutationID *string
	TeamMember       *models.TeamMember
	Problems         []Problem
}

TeamMemberMutationPayload is the response payload for a team member mutation

type TeamMemberMutationPayloadResolver

type TeamMemberMutationPayloadResolver struct {
	TeamMemberMutationPayload
}

TeamMemberMutationPayloadResolver resolves a TeamMemberMutationPayload

func (*TeamMemberMutationPayloadResolver) TeamMember

TeamMember field resolver

type TeamMemberResolver

type TeamMemberResolver struct {
	// contains filtered or unexported fields
}

TeamMemberResolver resolves a team member resource

func (*TeamMemberResolver) ID

func (r *TeamMemberResolver) ID() graphql.ID

ID resolver

func (*TeamMemberResolver) IsMaintainer

func (r *TeamMemberResolver) IsMaintainer() bool

IsMaintainer resolver

func (*TeamMemberResolver) Metadata

func (r *TeamMemberResolver) Metadata() *MetadataResolver

Metadata resolver

func (*TeamMemberResolver) Team

Team resolver

func (*TeamMemberResolver) User

User resolver

type TeamMutationPayload

type TeamMutationPayload struct {
	ClientMutationID *string
	Team             *models.Team
	Problems         []Problem
}

TeamMutationPayload is the response payload for a team mutation

type TeamMutationPayloadResolver

type TeamMutationPayloadResolver struct {
	TeamMutationPayload
}

TeamMutationPayloadResolver resolves a TeamMutationPayload

func (*TeamMutationPayloadResolver) Team

Team field resolver

type TeamQueryArgs

type TeamQueryArgs struct {
	Name string
}

TeamQueryArgs are used to query a single team

type TeamResolver

type TeamResolver struct {
	// contains filtered or unexported fields
}

TeamResolver resolves a team resource

func (*TeamResolver) Description

func (r *TeamResolver) Description() string

Description resolver

func (*TeamResolver) ID

func (r *TeamResolver) ID() graphql.ID

ID resolver

func (*TeamResolver) Members

Members resolver

func (*TeamResolver) Metadata

func (r *TeamResolver) Metadata() *MetadataResolver

Metadata resolver

func (*TeamResolver) Name

func (r *TeamResolver) Name() string

Name resolver

func (*TeamResolver) SCIMExternalID

func (r *TeamResolver) SCIMExternalID() *string

SCIMExternalID resolver

type TerraformCLIMutationPayload

type TerraformCLIMutationPayload struct {
	ClientMutationID *string
	DownloadURL      string
	Problems         []Problem
}

TerraformCLIMutationPayload is the response payload for a Terraform CLI mutation.

type TerraformCLIVersionsResolver

type TerraformCLIVersionsResolver struct {
	// contains filtered or unexported fields
}

TerraformCLIVersionsResolver resolves TerraformCLIVersions.

func (*TerraformCLIVersionsResolver) Versions

func (r *TerraformCLIVersionsResolver) Versions() []string

Versions resolver

type TerraformModuleAttestationConnectionQueryArgs

type TerraformModuleAttestationConnectionQueryArgs struct {
	ConnectionQueryArgs
	Digest *string
}

TerraformModuleAttestationConnectionQueryArgs are used to query a module attestation connection

type TerraformModuleAttestationConnectionResolver

type TerraformModuleAttestationConnectionResolver struct {
	// contains filtered or unexported fields
}

TerraformModuleAttestationConnectionResolver resolves a module attestation connection

func NewTerraformModuleAttestationConnectionResolver

func NewTerraformModuleAttestationConnectionResolver(ctx context.Context, input *moduleregistry.GetModuleAttestationsInput) (*TerraformModuleAttestationConnectionResolver, error)

NewTerraformModuleAttestationConnectionResolver creates a new TerraformModuleAttestationConnectionResolver

func (*TerraformModuleAttestationConnectionResolver) Edges

Edges returns the connection edges

func (*TerraformModuleAttestationConnectionResolver) PageInfo

PageInfo returns the connection page information

func (*TerraformModuleAttestationConnectionResolver) TotalCount

TotalCount returns the total result count for the connection

type TerraformModuleAttestationEdgeResolver

type TerraformModuleAttestationEdgeResolver struct {
	// contains filtered or unexported fields
}

TerraformModuleAttestationEdgeResolver resolves module attestation edges

func (*TerraformModuleAttestationEdgeResolver) Cursor

Cursor returns an opaque cursor

func (*TerraformModuleAttestationEdgeResolver) Node

Node returns a module attestation node

type TerraformModuleAttestationMutationPayload

type TerraformModuleAttestationMutationPayload struct {
	ClientMutationID  *string
	ModuleAttestation *models.TerraformModuleAttestation
	Problems          []Problem
}

TerraformModuleAttestationMutationPayload is the response payload for module attestation mutation

type TerraformModuleAttestationMutationPayloadResolver

type TerraformModuleAttestationMutationPayloadResolver struct {
	TerraformModuleAttestationMutationPayload
}

TerraformModuleAttestationMutationPayloadResolver resolves a TerraformModuleAttestationMutationPayload

func (*TerraformModuleAttestationMutationPayloadResolver) ModuleAttestation

ModuleAttestation field resolver

type TerraformModuleAttestationResolver

type TerraformModuleAttestationResolver struct {
	// contains filtered or unexported fields
}

TerraformModuleAttestationResolver resolves a module attestation resource

func (*TerraformModuleAttestationResolver) CreatedBy

CreatedBy resolver

func (*TerraformModuleAttestationResolver) Data

Data resolver

func (*TerraformModuleAttestationResolver) Description

func (r *TerraformModuleAttestationResolver) Description() string

Description resolver

func (*TerraformModuleAttestationResolver) Digests

Digests resolver

func (*TerraformModuleAttestationResolver) ID

ID resolver

func (*TerraformModuleAttestationResolver) Metadata

Metadata resolver

func (*TerraformModuleAttestationResolver) Module

Module resolver

func (*TerraformModuleAttestationResolver) PredicateType

func (r *TerraformModuleAttestationResolver) PredicateType() string

PredicateType resolver

func (*TerraformModuleAttestationResolver) SchemaType

SchemaType resolver

type TerraformModuleConnectionQueryArgs

type TerraformModuleConnectionQueryArgs struct {
	ConnectionQueryArgs
	Search *string
}

TerraformModuleConnectionQueryArgs are used to query a module connection

type TerraformModuleConnectionResolver

type TerraformModuleConnectionResolver struct {
	// contains filtered or unexported fields
}

TerraformModuleConnectionResolver resolves a module connection

func NewTerraformModuleConnectionResolver

func NewTerraformModuleConnectionResolver(ctx context.Context, input *moduleregistry.GetModulesInput) (*TerraformModuleConnectionResolver, error)

NewTerraformModuleConnectionResolver creates a new TerraformModuleConnectionResolver

func (*TerraformModuleConnectionResolver) Edges

Edges returns the connection edges

func (*TerraformModuleConnectionResolver) PageInfo

PageInfo returns the connection page information

func (*TerraformModuleConnectionResolver) TotalCount

func (r *TerraformModuleConnectionResolver) TotalCount() int32

TotalCount returns the total result count for the connection

type TerraformModuleEdgeResolver

type TerraformModuleEdgeResolver struct {
	// contains filtered or unexported fields
}

TerraformModuleEdgeResolver resolves module edges

func (*TerraformModuleEdgeResolver) Cursor

func (r *TerraformModuleEdgeResolver) Cursor() (string, error)

Cursor returns an opaque cursor

func (*TerraformModuleEdgeResolver) Node

Node returns a module node

type TerraformModuleMutationPayload

type TerraformModuleMutationPayload struct {
	ClientMutationID *string
	Module           *models.TerraformModule
	Problems         []Problem
}

TerraformModuleMutationPayload is the response payload for module mutation

type TerraformModuleMutationPayloadResolver

type TerraformModuleMutationPayloadResolver struct {
	TerraformModuleMutationPayload
}

TerraformModuleMutationPayloadResolver resolves a TerraformModuleMutationPayload

func (*TerraformModuleMutationPayloadResolver) Module

Module field resolver

type TerraformModuleQueryArgs

type TerraformModuleQueryArgs struct {
	RegistryNamespace string
	ModuleName        string
	System            string
}

TerraformModuleQueryArgs are used to query a terraform module

type TerraformModuleResolver

type TerraformModuleResolver struct {
	// contains filtered or unexported fields
}

TerraformModuleResolver resolves a module resource

func (*TerraformModuleResolver) Attestations

Attestations resolver

func (*TerraformModuleResolver) CreatedBy

func (r *TerraformModuleResolver) CreatedBy() string

CreatedBy resolver

func (*TerraformModuleResolver) Group

Group resolver

func (*TerraformModuleResolver) GroupPath added in v0.5.0

func (r *TerraformModuleResolver) GroupPath() string

GroupPath resolver

func (*TerraformModuleResolver) ID

ID resolver

func (*TerraformModuleResolver) LatestVersion

LatestVersion resolver

func (*TerraformModuleResolver) Metadata

Metadata resolver

func (*TerraformModuleResolver) Name

func (r *TerraformModuleResolver) Name() string

Name resolver

func (*TerraformModuleResolver) Private

func (r *TerraformModuleResolver) Private() bool

Private resolver

func (*TerraformModuleResolver) RegistryNamespace

func (r *TerraformModuleResolver) RegistryNamespace() string

RegistryNamespace resolver

func (*TerraformModuleResolver) RepositoryURL

func (r *TerraformModuleResolver) RepositoryURL() string

RepositoryURL resolver

func (*TerraformModuleResolver) ResourcePath

func (r *TerraformModuleResolver) ResourcePath() string

ResourcePath resolver

func (*TerraformModuleResolver) Source

Source resolver

func (*TerraformModuleResolver) System

func (r *TerraformModuleResolver) System() string

System resolver

func (*TerraformModuleResolver) Versions

Versions resolver

type TerraformModuleVersionConfigurationDetailsQueryArgs

type TerraformModuleVersionConfigurationDetailsQueryArgs struct {
	Path string
}

TerraformModuleVersionConfigurationDetailsQueryArgs is used to query configuration details

type TerraformModuleVersionConnectionResolver

type TerraformModuleVersionConnectionResolver struct {
	// contains filtered or unexported fields
}

TerraformModuleVersionConnectionResolver resolves a moduleVersion connection

func NewTerraformModuleVersionConnectionResolver

func NewTerraformModuleVersionConnectionResolver(ctx context.Context, input *moduleregistry.GetModuleVersionsInput) (*TerraformModuleVersionConnectionResolver, error)

NewTerraformModuleVersionConnectionResolver creates a new TerraformModuleVersionConnectionResolver

func (*TerraformModuleVersionConnectionResolver) Edges

Edges returns the connection edges

func (*TerraformModuleVersionConnectionResolver) PageInfo

PageInfo returns the connection page information

func (*TerraformModuleVersionConnectionResolver) TotalCount

TotalCount returns the total result count for the connection

type TerraformModuleVersionEdgeResolver

type TerraformModuleVersionEdgeResolver struct {
	// contains filtered or unexported fields
}

TerraformModuleVersionEdgeResolver resolves moduleVersion edges

func (*TerraformModuleVersionEdgeResolver) Cursor

Cursor returns an opaque cursor

func (*TerraformModuleVersionEdgeResolver) Node

Node returns a moduleVersion node

type TerraformModuleVersionMutationPayload

type TerraformModuleVersionMutationPayload struct {
	ClientMutationID *string
	ModuleVersion    *models.TerraformModuleVersion
	Problems         []Problem
}

TerraformModuleVersionMutationPayload is the response payload for a moduleVersion mutation

type TerraformModuleVersionMutationPayloadResolver

type TerraformModuleVersionMutationPayloadResolver struct {
	TerraformModuleVersionMutationPayload
}

TerraformModuleVersionMutationPayloadResolver resolves a TerraformModuleVersionMutationPayload

func (*TerraformModuleVersionMutationPayloadResolver) ModuleVersion

ModuleVersion field resolver

type TerraformModuleVersionQueryArgs

type TerraformModuleVersionQueryArgs struct {
	Version           *string
	RegistryNamespace string
	ModuleName        string
	System            string
}

TerraformModuleVersionQueryArgs are used to query a terraform module version

type TerraformModuleVersionResolver

type TerraformModuleVersionResolver struct {
	// contains filtered or unexported fields
}

TerraformModuleVersionResolver resolves a moduleVersion resource

func (*TerraformModuleVersionResolver) Attestations

Attestations resolver

func (*TerraformModuleVersionResolver) ConfigurationDetails

ConfigurationDetails resolver

func (*TerraformModuleVersionResolver) CreatedBy

func (r *TerraformModuleVersionResolver) CreatedBy() string

CreatedBy resolver

func (*TerraformModuleVersionResolver) Diagnostics

func (r *TerraformModuleVersionResolver) Diagnostics() string

Diagnostics resolver

func (*TerraformModuleVersionResolver) Error

Error resolver

func (*TerraformModuleVersionResolver) Examples

func (r *TerraformModuleVersionResolver) Examples() []string

Examples resolver

func (*TerraformModuleVersionResolver) ID

ID resolver

func (*TerraformModuleVersionResolver) Latest

Latest resolver

func (*TerraformModuleVersionResolver) Metadata

Metadata resolver

func (*TerraformModuleVersionResolver) Module

Module resolver

func (*TerraformModuleVersionResolver) SHASum

SHASum resolver

func (*TerraformModuleVersionResolver) Status

Status resolver

func (*TerraformModuleVersionResolver) Submodules

func (r *TerraformModuleVersionResolver) Submodules() []string

Submodules resolver

func (*TerraformModuleVersionResolver) Version

Version resolver

type TerraformModuleVersionsConnectionQueryArgs

type TerraformModuleVersionsConnectionQueryArgs struct {
	ConnectionQueryArgs
}

TerraformModuleVersionsConnectionQueryArgs is used to query a moduleVersion connection

type TerraformProviderConnectionQueryArgs

type TerraformProviderConnectionQueryArgs struct {
	ConnectionQueryArgs
	Search *string
}

TerraformProviderConnectionQueryArgs are used to query a provider connection

type TerraformProviderConnectionResolver

type TerraformProviderConnectionResolver struct {
	// contains filtered or unexported fields
}

TerraformProviderConnectionResolver resolves a provider connection

func NewTerraformProviderConnectionResolver

func NewTerraformProviderConnectionResolver(ctx context.Context, input *providerregistry.GetProvidersInput) (*TerraformProviderConnectionResolver, error)

NewTerraformProviderConnectionResolver creates a new TerraformProviderConnectionResolver

func (*TerraformProviderConnectionResolver) Edges

Edges returns the connection edges

func (*TerraformProviderConnectionResolver) PageInfo

PageInfo returns the connection page information

func (*TerraformProviderConnectionResolver) TotalCount

TotalCount returns the total result count for the connection

type TerraformProviderEdgeResolver

type TerraformProviderEdgeResolver struct {
	// contains filtered or unexported fields
}

TerraformProviderEdgeResolver resolves provider edges

func (*TerraformProviderEdgeResolver) Cursor

Cursor returns an opaque cursor

func (*TerraformProviderEdgeResolver) Node

Node returns a provider node

type TerraformProviderMutationPayload

type TerraformProviderMutationPayload struct {
	ClientMutationID *string
	Provider         *models.TerraformProvider
	Problems         []Problem
}

TerraformProviderMutationPayload is the response payload for provider mutation

type TerraformProviderMutationPayloadResolver

type TerraformProviderMutationPayloadResolver struct {
	TerraformProviderMutationPayload
}

TerraformProviderMutationPayloadResolver resolves a TerraformProviderMutationPayload

func (*TerraformProviderMutationPayloadResolver) Provider

Provider field resolver

type TerraformProviderPlatformMirrorMutationPayload added in v0.12.0

type TerraformProviderPlatformMirrorMutationPayload struct {
	ClientMutationID *string
	PlatformMirror   *models.TerraformProviderPlatformMirror
	Problems         []Problem
}

TerraformProviderPlatformMirrorMutationPayload is the response payload for a providerPlatformMirror mutation

type TerraformProviderPlatformMirrorMutationPayloadResolver added in v0.12.0

type TerraformProviderPlatformMirrorMutationPayloadResolver struct {
	TerraformProviderPlatformMirrorMutationPayload
}

TerraformProviderPlatformMirrorMutationPayloadResolver resolves a TerraformProviderPlatformMirrorMutationPayload

func (*TerraformProviderPlatformMirrorMutationPayloadResolver) PlatformMirror added in v0.12.0

PlatformMirror field resolver

type TerraformProviderPlatformMirrorResolver added in v0.12.0

type TerraformProviderPlatformMirrorResolver struct {
	// contains filtered or unexported fields
}

TerraformProviderPlatformMirrorResolver resolves a providerPlatformMirror resource

func (*TerraformProviderPlatformMirrorResolver) Arch added in v0.12.0

Arch resolver

func (*TerraformProviderPlatformMirrorResolver) ID added in v0.12.0

ID resolver

func (*TerraformProviderPlatformMirrorResolver) Metadata added in v0.12.0

Metadata resolver

func (*TerraformProviderPlatformMirrorResolver) OS added in v0.12.0

OS resolver

func (*TerraformProviderPlatformMirrorResolver) VersionMirror added in v0.12.0

VersionMirror resolver

type TerraformProviderPlatformMutationPayload

type TerraformProviderPlatformMutationPayload struct {
	ClientMutationID *string
	ProviderPlatform *models.TerraformProviderPlatform
	Problems         []Problem
}

TerraformProviderPlatformMutationPayload is the response payload for a providerPlatform mutation

type TerraformProviderPlatformMutationPayloadResolver

type TerraformProviderPlatformMutationPayloadResolver struct {
	TerraformProviderPlatformMutationPayload
}

TerraformProviderPlatformMutationPayloadResolver resolves a TerraformProviderPlatformMutationPayload

func (*TerraformProviderPlatformMutationPayloadResolver) ProviderPlatform

ProviderPlatform field resolver

type TerraformProviderPlatformResolver

type TerraformProviderPlatformResolver struct {
	// contains filtered or unexported fields
}

TerraformProviderPlatformResolver resolves a providerPlatform resource

func (*TerraformProviderPlatformResolver) Arch

Arch resolver

func (*TerraformProviderPlatformResolver) BinaryUploaded

func (r *TerraformProviderPlatformResolver) BinaryUploaded() bool

BinaryUploaded resolver

func (*TerraformProviderPlatformResolver) Filename

Filename resolver

func (*TerraformProviderPlatformResolver) ID

ID resolver

func (*TerraformProviderPlatformResolver) Metadata

Metadata resolver

func (*TerraformProviderPlatformResolver) OS

OS resolver

func (*TerraformProviderPlatformResolver) ProviderVersion

ProviderVersion resolver

func (*TerraformProviderPlatformResolver) SHASum

SHASum resolver

type TerraformProviderQueryArgs

type TerraformProviderQueryArgs struct {
	RegistryNamespace string
	ProviderName      string
}

TerraformProviderQueryArgs are used to query a terraform provider

type TerraformProviderResolver

type TerraformProviderResolver struct {
	// contains filtered or unexported fields
}

TerraformProviderResolver resolves a provider resource

func (*TerraformProviderResolver) CreatedBy

func (r *TerraformProviderResolver) CreatedBy() string

CreatedBy resolver

func (*TerraformProviderResolver) Group

Group resolver

func (*TerraformProviderResolver) GroupPath added in v0.5.0

func (r *TerraformProviderResolver) GroupPath() string

GroupPath resolver

func (*TerraformProviderResolver) ID

ID resolver

func (*TerraformProviderResolver) LatestVersion

LatestVersion resolver

func (*TerraformProviderResolver) Metadata

Metadata resolver

func (*TerraformProviderResolver) Name

Name resolver

func (*TerraformProviderResolver) Private

func (r *TerraformProviderResolver) Private() bool

Private resolver

func (*TerraformProviderResolver) RegistryNamespace

func (r *TerraformProviderResolver) RegistryNamespace() string

RegistryNamespace resolver

func (*TerraformProviderResolver) RepositoryURL

func (r *TerraformProviderResolver) RepositoryURL() string

RepositoryURL resolver

func (*TerraformProviderResolver) ResourcePath

func (r *TerraformProviderResolver) ResourcePath() string

ResourcePath resolver

func (*TerraformProviderResolver) Source

Source resolver

func (*TerraformProviderResolver) Versions

Versions resolver

type TerraformProviderVersionConnectionResolver

type TerraformProviderVersionConnectionResolver struct {
	// contains filtered or unexported fields
}

TerraformProviderVersionConnectionResolver resolves a providerVersion connection

func NewTerraformProviderVersionConnectionResolver

func NewTerraformProviderVersionConnectionResolver(ctx context.Context, input *providerregistry.GetProviderVersionsInput) (*TerraformProviderVersionConnectionResolver, error)

NewTerraformProviderVersionConnectionResolver creates a new TerraformProviderVersionConnectionResolver

func (*TerraformProviderVersionConnectionResolver) Edges

Edges returns the connection edges

func (*TerraformProviderVersionConnectionResolver) PageInfo

PageInfo returns the connection page information

func (*TerraformProviderVersionConnectionResolver) TotalCount

TotalCount returns the total result count for the connection

type TerraformProviderVersionEdgeResolver

type TerraformProviderVersionEdgeResolver struct {
	// contains filtered or unexported fields
}

TerraformProviderVersionEdgeResolver resolves providerVersion edges

func (*TerraformProviderVersionEdgeResolver) Cursor

Cursor returns an opaque cursor

func (*TerraformProviderVersionEdgeResolver) Node

Node returns a providerVersion node

type TerraformProviderVersionMirrorConnectionQueryArgs added in v0.12.0

type TerraformProviderVersionMirrorConnectionQueryArgs struct {
	ConnectionQueryArgs
	IncludeInherited *bool
}

TerraformProviderVersionMirrorConnectionQueryArgs are used to query for a provider version mirror connection.

type TerraformProviderVersionMirrorConnectionResolver added in v0.12.0

type TerraformProviderVersionMirrorConnectionResolver struct {
	// contains filtered or unexported fields
}

TerraformProviderVersionMirrorConnectionResolver resolves a providerVersionMirror connection

func NewTerraformProviderVersionMirrorConnectionResolver added in v0.12.0

func NewTerraformProviderVersionMirrorConnectionResolver(ctx context.Context, input *providermirror.GetProviderVersionMirrorsInput) (*TerraformProviderVersionMirrorConnectionResolver, error)

NewTerraformProviderVersionMirrorConnectionResolver creates a new TerraformProviderVersionMirrorConnectionResolver

func (*TerraformProviderVersionMirrorConnectionResolver) Edges added in v0.12.0

Edges returns the connection edges

func (*TerraformProviderVersionMirrorConnectionResolver) PageInfo added in v0.12.0

PageInfo returns the connection page information

func (*TerraformProviderVersionMirrorConnectionResolver) TotalCount added in v0.12.0

TotalCount returns the total result count for the connection

type TerraformProviderVersionMirrorEdgeResolver added in v0.12.0

type TerraformProviderVersionMirrorEdgeResolver struct {
	// contains filtered or unexported fields
}

TerraformProviderVersionMirrorEdgeResolver resolves providerVersionMirror edges.

func (*TerraformProviderVersionMirrorEdgeResolver) Cursor added in v0.12.0

Cursor returns an opaque cursor

func (*TerraformProviderVersionMirrorEdgeResolver) Node added in v0.12.0

Node returns a providerVersion node

type TerraformProviderVersionMirrorMutationPayload added in v0.12.0

type TerraformProviderVersionMirrorMutationPayload struct {
	ClientMutationID *string
	VersionMirror    *models.TerraformProviderVersionMirror
	Problems         []Problem
}

TerraformProviderVersionMirrorMutationPayload is the response payload for a providerVersionMirror mutation

type TerraformProviderVersionMirrorMutationPayloadResolver added in v0.12.0

type TerraformProviderVersionMirrorMutationPayloadResolver struct {
	TerraformProviderVersionMirrorMutationPayload
}

TerraformProviderVersionMirrorMutationPayloadResolver resolves a TerraformProviderVersionMirrorMutationPayload

func (*TerraformProviderVersionMirrorMutationPayloadResolver) VersionMirror added in v0.12.0

VersionMirror field resolver

type TerraformProviderVersionMirrorQueryArgs added in v0.12.0

type TerraformProviderVersionMirrorQueryArgs struct {
	RegistryHostname  string
	RegistryNamespace string
	Type              string
	Version           string
	GroupPath         string
}

TerraformProviderVersionMirrorQueryArgs is used to query for a single provider version mirror.

type TerraformProviderVersionMirrorResolver added in v0.12.0

type TerraformProviderVersionMirrorResolver struct {
	// contains filtered or unexported fields
}

TerraformProviderVersionMirrorResolver resolves a providerVersionMirror resource

func (*TerraformProviderVersionMirrorResolver) CreatedBy added in v0.12.0

CreatedBy resolver

func (*TerraformProviderVersionMirrorResolver) Group added in v0.12.0

Group resolver

func (*TerraformProviderVersionMirrorResolver) ID added in v0.12.0

ID resolver

func (*TerraformProviderVersionMirrorResolver) Metadata added in v0.12.0

Metadata resolver

func (*TerraformProviderVersionMirrorResolver) PlatformMirrors added in v0.12.0

PlatformMirrors resolver

func (*TerraformProviderVersionMirrorResolver) RegistryHostname added in v0.12.0

func (r *TerraformProviderVersionMirrorResolver) RegistryHostname() string

RegistryHostname resolver

func (*TerraformProviderVersionMirrorResolver) RegistryNamespace added in v0.12.0

func (r *TerraformProviderVersionMirrorResolver) RegistryNamespace() string

RegistryNamespace resolver

func (*TerraformProviderVersionMirrorResolver) Type added in v0.12.0

Type resolver

func (*TerraformProviderVersionMirrorResolver) Version added in v0.12.0

Version resolver

type TerraformProviderVersionMutationPayload

type TerraformProviderVersionMutationPayload struct {
	ClientMutationID *string
	ProviderVersion  *models.TerraformProviderVersion
	Problems         []Problem
}

TerraformProviderVersionMutationPayload is the response payload for a providerVersion mutation

type TerraformProviderVersionMutationPayloadResolver

type TerraformProviderVersionMutationPayloadResolver struct {
	TerraformProviderVersionMutationPayload
}

TerraformProviderVersionMutationPayloadResolver resolves a TerraformProviderVersionMutationPayload

func (*TerraformProviderVersionMutationPayloadResolver) ProviderVersion

ProviderVersion field resolver

type TerraformProviderVersionQueryArgs

type TerraformProviderVersionQueryArgs struct {
	Version           *string
	RegistryNamespace string
	ProviderName      string
}

TerraformProviderVersionQueryArgs are used to query a terraform provider version

type TerraformProviderVersionResolver

type TerraformProviderVersionResolver struct {
	// contains filtered or unexported fields
}

TerraformProviderVersionResolver resolves a providerVersion resource

func (*TerraformProviderVersionResolver) CreatedBy

CreatedBy resolver

func (*TerraformProviderVersionResolver) GPGASCIIArmor

func (r *TerraformProviderVersionResolver) GPGASCIIArmor() *string

GPGASCIIArmor resolver

func (*TerraformProviderVersionResolver) GPGKeyID

GPGKeyID resolver

func (*TerraformProviderVersionResolver) ID

ID resolver

func (*TerraformProviderVersionResolver) Latest

Latest resolver

func (*TerraformProviderVersionResolver) Metadata

Metadata resolver

func (*TerraformProviderVersionResolver) Platforms

Platforms resolver

func (*TerraformProviderVersionResolver) Protocols

func (r *TerraformProviderVersionResolver) Protocols() []string

Protocols resolver

func (*TerraformProviderVersionResolver) Provider

Provider resolver

func (*TerraformProviderVersionResolver) Readme

Readme resolver

func (*TerraformProviderVersionResolver) ReadmeUploaded

func (r *TerraformProviderVersionResolver) ReadmeUploaded() bool

ReadmeUploaded resolver

func (*TerraformProviderVersionResolver) SHASumsSigUploaded

func (r *TerraformProviderVersionResolver) SHASumsSigUploaded() bool

SHASumsSigUploaded resolver

func (*TerraformProviderVersionResolver) SHASumsUploaded

func (r *TerraformProviderVersionResolver) SHASumsUploaded() bool

SHASumsUploaded resolver

func (*TerraformProviderVersionResolver) Version

Version resolver

type TerraformProviderVersionsConnectionQueryArgs

type TerraformProviderVersionsConnectionQueryArgs struct {
	ConnectionQueryArgs
}

TerraformProviderVersionsConnectionQueryArgs are used to query a providerVersion connection

type UpdateApplyInput

type UpdateApplyInput struct {
	ClientMutationID *string
	ID               string
	Metadata         *MetadataInput
	Status           string
}

UpdateApplyInput contains the input for updating an apply

type UpdateGroupInput

type UpdateGroupInput struct {
	ClientMutationID *string
	Metadata         *MetadataInput
	Description      *string
	GroupPath        *string
	ID               *string
}

UpdateGroupInput contains the input for updating a group

type UpdateManagedIdentityAccessRuleInput

type UpdateManagedIdentityAccessRuleInput struct {
	ClientMutationID          *string
	ModuleAttestationPolicies *[]models.ManagedIdentityAccessRuleModuleAttestationPolicy
	AllowedUsers              *[]string
	AllowedServiceAccounts    *[]string
	AllowedTeams              *[]string
	ID                        string
	RunStage                  models.JobType
}

UpdateManagedIdentityAccessRuleInput is the input for updating an existing access rule

type UpdateManagedIdentityInput

type UpdateManagedIdentityInput struct {
	ClientMutationID *string
	ID               string
	Metadata         *MetadataInput
	Description      string
	Data             string
}

UpdateManagedIdentityInput contains the input for updating a managedIdentity

type UpdateNamespaceMembershipInput

type UpdateNamespaceMembershipInput struct {
	ClientMutationID *string
	Metadata         *MetadataInput
	ID               string
	Role             string
}

UpdateNamespaceMembershipInput is the input for updating a namespace membership

type UpdateNamespaceVariableInput

type UpdateNamespaceVariableInput struct {
	ClientMutationID *string
	ID               string
	Key              string
	Value            string
	Hcl              bool
}

UpdateNamespaceVariableInput is the input for updating a variable

type UpdatePlanInput

type UpdatePlanInput struct {
	ClientMutationID     *string
	ID                   string
	Metadata             *MetadataInput
	Status               string
	HasChanges           bool
	ResourceAdditions    int32
	ResourceChanges      int32
	ResourceDestructions int32
}

UpdatePlanInput contains the input for updating a plan

type UpdateResourceLimitInput added in v0.11.0

type UpdateResourceLimitInput struct {
	ClientMutationID *string
	Metadata         *MetadataInput
	Name             string
	Value            int32
}

UpdateResourceLimitInput contains the input for updating a resource limit

type UpdateRoleInput added in v0.9.0

type UpdateRoleInput struct {
	ClientMutationID *string
	Metadata         *MetadataInput
	ID               string
	Description      *string
	Permissions      []string
}

UpdateRoleInput contains the input for updating a role

type UpdateRunnerInput added in v0.8.0

type UpdateRunnerInput struct {
	ClientMutationID *string
	ID               string
	Metadata         *MetadataInput
	Description      string
}

UpdateRunnerInput contains the input for updating a runner

type UpdateServiceAccountInput

type UpdateServiceAccountInput struct {
	ClientMutationID  *string
	ID                string
	Metadata          *MetadataInput
	Description       string
	OIDCTrustPolicies []OIDCTrustPolicy
}

UpdateServiceAccountInput contains the input for updating a serviceAccount

type UpdateTeamInput

type UpdateTeamInput struct {
	ClientMutationID *string
	Metadata         *MetadataInput
	Name             string
	Description      string
}

UpdateTeamInput contains the input for updating a team

type UpdateTeamMemberInput

type UpdateTeamMemberInput struct {
	ClientMutationID *string
	Metadata         *MetadataInput
	Username         string
	TeamName         string
	IsMaintainer     bool
}

UpdateTeamMemberInput is the input for updating a team member

type UpdateTerraformModuleAttestationInput

type UpdateTerraformModuleAttestationInput struct {
	ClientMutationID *string
	Description      string
	ID               string
}

UpdateTerraformModuleAttestationInput contains the input for updating a moduleAttestation

type UpdateTerraformModuleInput

type UpdateTerraformModuleInput struct {
	ClientMutationID *string
	Metadata         *MetadataInput
	Name             *string
	System           *string
	RepositoryURL    *string
	Private          *bool
	ID               string
}

UpdateTerraformModuleInput contains the input for updating a module

type UpdateTerraformProviderInput

type UpdateTerraformProviderInput struct {
	ClientMutationID *string
	Metadata         *MetadataInput
	RepositoryURL    *string
	Private          *bool
	ID               string
}

UpdateTerraformProviderInput contains the input for updating a provider

type UpdateVCSProviderInput

type UpdateVCSProviderInput struct {
	ClientMutationID  *string
	Metadata          *MetadataInput
	Description       *string
	OAuthClientID     *string
	OAuthClientSecret *string
	ID                string
}

UpdateVCSProviderInput is the input for updating a VCS provider.

type UpdateWorkspaceInput

type UpdateWorkspaceInput struct {
	ClientMutationID   *string
	Metadata           *MetadataInput
	MaxJobDuration     *int32
	TerraformVersion   *string
	Description        *string
	PreventDestroyPlan *bool
	WorkspacePath      *string
	ID                 *string
}

UpdateWorkspaceInput contains the input for updating a workspace Find the workspace via either ID or WorkspacePath. Modify the other fields.

type UpdateWorkspaceVCSProviderLinkInput

type UpdateWorkspaceVCSProviderLinkInput struct {
	ClientMutationID    *string
	Metadata            *MetadataInput
	ModuleDirectory     *string
	TagRegex            *string
	Branch              *string
	AutoSpeculativePlan *bool
	WebhookDisabled     *bool
	ID                  string
	GlobPatterns        []string
}

UpdateWorkspaceVCSProviderLinkInput is the input for updating a workspace VCS provider link.

type UserConnectionQueryArgs

type UserConnectionQueryArgs struct {
	ConnectionQueryArgs
	Search *string
}

UserConnectionQueryArgs are used to query a user connection

type UserConnectionResolver

type UserConnectionResolver struct {
	// contains filtered or unexported fields
}

UserConnectionResolver resolves a user connection

func NewUserConnectionResolver

func NewUserConnectionResolver(ctx context.Context, input *user.GetUsersInput) (*UserConnectionResolver, error)

NewUserConnectionResolver creates a new UserConnectionResolver

func (*UserConnectionResolver) Edges

Edges returns the connection edges

func (*UserConnectionResolver) PageInfo

PageInfo returns the connection page information

func (*UserConnectionResolver) TotalCount

func (r *UserConnectionResolver) TotalCount() int32

TotalCount returns the total result count for the connection

type UserEdgeResolver

type UserEdgeResolver struct {
	// contains filtered or unexported fields
}

UserEdgeResolver resolves user edges

func (*UserEdgeResolver) Cursor

func (r *UserEdgeResolver) Cursor() (string, error)

Cursor returns an opaque cursor

func (*UserEdgeResolver) Node

func (r *UserEdgeResolver) Node() (*UserResolver, error)

Node returns a user node

type UserResolver

type UserResolver struct {
	// contains filtered or unexported fields
}

UserResolver resolves a User type

func (*UserResolver) Active

func (r *UserResolver) Active() bool

Active resolver

func (*UserResolver) ActivityEvents

ActivityEvents resolver

func (*UserResolver) Admin

func (r *UserResolver) Admin() bool

Admin resolver

func (*UserResolver) Email

func (r *UserResolver) Email() string

Email resolver

func (*UserResolver) ID

func (r *UserResolver) ID() graphql.ID

ID resolver

func (*UserResolver) Metadata

func (r *UserResolver) Metadata() *MetadataResolver

Metadata resolver

func (*UserResolver) NamespaceMemberships

NamespaceMemberships resolver

func (*UserResolver) SCIMExternalID

func (r *UserResolver) SCIMExternalID() *string

SCIMExternalID resolver

func (*UserResolver) Username

func (r *UserResolver) Username() string

Username resolver

type VCSEventConnectionQueryArgs

type VCSEventConnectionQueryArgs struct {
	ConnectionQueryArgs
	WorkspacePath string
}

VCSEventConnectionQueryArgs are used to query a vcsEvent connection

type VCSEventConnectionResolver

type VCSEventConnectionResolver struct {
	// contains filtered or unexported fields
}

VCSEventConnectionResolver resolves a vcs event connection

func NewVCSEventConnectionResolver

func NewVCSEventConnectionResolver(ctx context.Context, input *vcs.GetVCSEventsInput) (*VCSEventConnectionResolver, error)

NewVCSEventConnectionResolver creates a new VCSEventConnectionResolver

func (*VCSEventConnectionResolver) Edges

Edges returns the connection edges

func (*VCSEventConnectionResolver) PageInfo

PageInfo returns the connection page information

func (*VCSEventConnectionResolver) TotalCount

func (r *VCSEventConnectionResolver) TotalCount() int32

TotalCount returns the total result count for the connection

type VCSEventEdgeResolver

type VCSEventEdgeResolver struct {
	// contains filtered or unexported fields
}

VCSEventEdgeResolver resolves vcsEvent edges

func (*VCSEventEdgeResolver) Cursor

func (r *VCSEventEdgeResolver) Cursor() (string, error)

Cursor returns an opaque cursor

func (*VCSEventEdgeResolver) Node

Node returns a vcsEvent node

type VCSEventResolver

type VCSEventResolver struct {
	// contains filtered or unexported fields
}

VCSEventResolver resolves a vcsEvent resource

func (*VCSEventResolver) CommitID

func (r *VCSEventResolver) CommitID() *string

CommitID resolver

func (*VCSEventResolver) ErrorMessage

func (r *VCSEventResolver) ErrorMessage() *string

ErrorMessage resolver

func (*VCSEventResolver) ID

func (r *VCSEventResolver) ID() graphql.ID

ID resolver

func (*VCSEventResolver) Metadata

func (r *VCSEventResolver) Metadata() *MetadataResolver

Metadata resolver

func (*VCSEventResolver) RepositoryURL

func (r *VCSEventResolver) RepositoryURL() string

RepositoryURL resolver

func (*VCSEventResolver) SourceReferenceName

func (r *VCSEventResolver) SourceReferenceName() *string

SourceReferenceName resolver

func (*VCSEventResolver) Status

func (r *VCSEventResolver) Status() string

Status resolver

func (*VCSEventResolver) Type

func (r *VCSEventResolver) Type() string

Type resolver

func (*VCSEventResolver) Workspace

func (r *VCSEventResolver) Workspace(ctx context.Context) (*WorkspaceResolver, error)

Workspace resolver

type VCSProviderConnectionQueryArgs

type VCSProviderConnectionQueryArgs struct {
	ConnectionQueryArgs
	IncludeInherited *bool
	Search           *string
}

VCSProviderConnectionQueryArgs are used to query a vcsProvider connection

type VCSProviderConnectionResolver

type VCSProviderConnectionResolver struct {
	// contains filtered or unexported fields
}

VCSProviderConnectionResolver resolves a vcs provider connection

func NewVCSProviderConnectionResolver

func NewVCSProviderConnectionResolver(ctx context.Context, input *vcs.GetVCSProvidersInput) (*VCSProviderConnectionResolver, error)

NewVCSProviderConnectionResolver creates a new VCSProviderConnectionResolver

func (*VCSProviderConnectionResolver) Edges

Edges returns the connection edges

func (*VCSProviderConnectionResolver) PageInfo

PageInfo returns the connection page information

func (*VCSProviderConnectionResolver) TotalCount

func (r *VCSProviderConnectionResolver) TotalCount() int32

TotalCount returns the total result count for the connection

type VCSProviderEdgeResolver

type VCSProviderEdgeResolver struct {
	// contains filtered or unexported fields
}

VCSProviderEdgeResolver resolves vcsProvider edges

func (*VCSProviderEdgeResolver) Cursor

func (r *VCSProviderEdgeResolver) Cursor() (string, error)

Cursor returns an opaque cursor

func (*VCSProviderEdgeResolver) Node

Node returns a vcsProvider node

type VCSProviderMutationPayload

type VCSProviderMutationPayload struct {
	ClientMutationID      *string
	VCSProvider           *models.VCSProvider
	OAuthAuthorizationURL string
	Problems              []Problem
}

VCSProviderMutationPayload is the response payload for a vcsProvider mutation

type VCSProviderMutationPayloadResolver

type VCSProviderMutationPayloadResolver struct {
	VCSProviderMutationPayload
}

VCSProviderMutationPayloadResolver resolves a VCSProviderMutationPayload

func (*VCSProviderMutationPayloadResolver) VCSProvider

VCSProvider field resolver

type VCSProviderResolver

type VCSProviderResolver struct {
	// contains filtered or unexported fields
}

VCSProviderResolver resolves a vcsProvider resource

func (*VCSProviderResolver) AutoCreateWebhooks

func (r *VCSProviderResolver) AutoCreateWebhooks() bool

AutoCreateWebhooks resolver

func (*VCSProviderResolver) CreatedBy

func (r *VCSProviderResolver) CreatedBy() string

CreatedBy resolver

func (*VCSProviderResolver) Description

func (r *VCSProviderResolver) Description() string

Description resolver

func (*VCSProviderResolver) Group

Group resolver

func (*VCSProviderResolver) GroupPath added in v0.5.0

func (r *VCSProviderResolver) GroupPath() string

GroupPath resolver

func (*VCSProviderResolver) ID

func (r *VCSProviderResolver) ID() graphql.ID

ID resolver

func (*VCSProviderResolver) Metadata

func (r *VCSProviderResolver) Metadata() *MetadataResolver

Metadata resolver

func (*VCSProviderResolver) Name

func (r *VCSProviderResolver) Name() string

Name resolver

func (*VCSProviderResolver) ResourcePath

func (r *VCSProviderResolver) ResourcePath() string

ResourcePath resolver

func (*VCSProviderResolver) Type

func (r *VCSProviderResolver) Type() string

Type resolver

func (*VCSProviderResolver) URL added in v0.7.0

func (r *VCSProviderResolver) URL() string

URL resolver

type VariableMutationPayload

type VariableMutationPayload struct {
	ClientMutationID *string
	NamespacePath    *string
	Problems         []Problem
}

VariableMutationPayload is the response payload for a variable mutation

type VariableMutationPayloadResolver

type VariableMutationPayloadResolver struct {
	VariableMutationPayload
}

VariableMutationPayloadResolver resolves a VariableMutationPayload

func (*VariableMutationPayloadResolver) Namespace

Namespace field resolver

type WorkspaceConnectionQueryArgs

type WorkspaceConnectionQueryArgs struct {
	ConnectionQueryArgs
	GroupPath *string
	Search    *string
}

WorkspaceConnectionQueryArgs are used to query a workspace connection

type WorkspaceConnectionResolver

type WorkspaceConnectionResolver struct {
	// contains filtered or unexported fields
}

WorkspaceConnectionResolver resolves a workspace connection

func NewWorkspaceConnectionResolver

func NewWorkspaceConnectionResolver(ctx context.Context, input *workspace.GetWorkspacesInput) (*WorkspaceConnectionResolver, error)

NewWorkspaceConnectionResolver creates a new WorkspaceConnectionResolver

func (*WorkspaceConnectionResolver) Edges

Edges returns the connection edges

func (*WorkspaceConnectionResolver) PageInfo

PageInfo returns the connection page information

func (*WorkspaceConnectionResolver) TotalCount

func (r *WorkspaceConnectionResolver) TotalCount() int32

TotalCount returns the total result count for the connection

type WorkspaceEdgeResolver

type WorkspaceEdgeResolver struct {
	// contains filtered or unexported fields
}

WorkspaceEdgeResolver resolves workspace edges

func (*WorkspaceEdgeResolver) Cursor

func (r *WorkspaceEdgeResolver) Cursor() (string, error)

Cursor returns an opaque cursor

func (*WorkspaceEdgeResolver) Node

Node returns a workspace node

type WorkspaceEventResolver

type WorkspaceEventResolver struct {
	// contains filtered or unexported fields
}

WorkspaceEventResolver resolves a workspace event

func (*WorkspaceEventResolver) Action

func (r *WorkspaceEventResolver) Action() string

Action resolves the event action

func (*WorkspaceEventResolver) Workspace

func (r *WorkspaceEventResolver) Workspace() *WorkspaceResolver

Workspace resolver

type WorkspaceMutationPayload

type WorkspaceMutationPayload struct {
	ClientMutationID *string
	Workspace        *models.Workspace
	Problems         []Problem
}

WorkspaceMutationPayload is the response payload for a workspace mutation

type WorkspaceMutationPayloadResolver

type WorkspaceMutationPayloadResolver struct {
	WorkspaceMutationPayload
}

WorkspaceMutationPayloadResolver resolves a WorkspaceMutationPayload

func (*WorkspaceMutationPayloadResolver) Workspace

Workspace field resolver

type WorkspaceQueryArgs

type WorkspaceQueryArgs struct {
	FullPath string
}

WorkspaceQueryArgs are used to query a single workspace

type WorkspaceResolver

type WorkspaceResolver struct {
	// contains filtered or unexported fields
}

WorkspaceResolver resolves a workspace resource

func (*WorkspaceResolver) ActivityEvents

ActivityEvents resolver

func (*WorkspaceResolver) AssignedManagedIdentities

func (r *WorkspaceResolver) AssignedManagedIdentities(ctx context.Context) ([]*ManagedIdentityResolver, error)

AssignedManagedIdentities resolver

func (*WorkspaceResolver) CreatedBy

func (r *WorkspaceResolver) CreatedBy() string

CreatedBy resolver

func (*WorkspaceResolver) CurrentJob

func (r *WorkspaceResolver) CurrentJob(ctx context.Context) (*JobResolver, error)

CurrentJob resolver

func (*WorkspaceResolver) CurrentStateVersion

func (r *WorkspaceResolver) CurrentStateVersion(ctx context.Context) (*StateVersionResolver, error)

CurrentStateVersion resolver

func (*WorkspaceResolver) Description

func (r *WorkspaceResolver) Description() string

Description resolver

func (*WorkspaceResolver) DirtyState

func (r *WorkspaceResolver) DirtyState() bool

DirtyState resolver

func (*WorkspaceResolver) FullPath

func (r *WorkspaceResolver) FullPath() string

FullPath resolver

func (*WorkspaceResolver) Group

Group resolver

func (*WorkspaceResolver) GroupPath added in v0.5.0

func (r *WorkspaceResolver) GroupPath() string

GroupPath resolver

func (*WorkspaceResolver) ID

func (r *WorkspaceResolver) ID() graphql.ID

ID resolver

func (*WorkspaceResolver) Locked

func (r *WorkspaceResolver) Locked() bool

Locked resolver

func (*WorkspaceResolver) ManagedIdentities

ManagedIdentities resolver

func (*WorkspaceResolver) MaxJobDuration

func (r *WorkspaceResolver) MaxJobDuration() int32

MaxJobDuration resolver

func (*WorkspaceResolver) Memberships

Memberships resolver The field is called "memberships", but most everything else is called "namespace memberships".

func (*WorkspaceResolver) Metadata

func (r *WorkspaceResolver) Metadata() *MetadataResolver

Metadata resolver

func (*WorkspaceResolver) Name

func (r *WorkspaceResolver) Name() string

Name resolver

func (*WorkspaceResolver) PreventDestroyPlan

func (r *WorkspaceResolver) PreventDestroyPlan() bool

PreventDestroyPlan resolver

func (*WorkspaceResolver) ServiceAccounts

ServiceAccounts resolver

func (*WorkspaceResolver) StateVersions

StateVersions resolver

func (*WorkspaceResolver) TerraformVersion

func (r *WorkspaceResolver) TerraformVersion() string

TerraformVersion resolver

func (*WorkspaceResolver) VCSEvents

VCSEvents resolver

func (*WorkspaceResolver) VCSProviders

VCSProviders resolver

func (*WorkspaceResolver) Variables

Variables resolver

func (r *WorkspaceResolver) WorkspaceVCSProviderLink(ctx context.Context) (*WorkspaceVCSProviderLinkResolver, error)

WorkspaceVCSProviderLink resolver

type WorkspaceSubscriptionInput

type WorkspaceSubscriptionInput struct {
	WorkspacePath string
}

WorkspaceSubscriptionInput is the input for subscribing to workspace events

type WorkspaceVCSProviderLinkMutationPayload

type WorkspaceVCSProviderLinkMutationPayload struct {
	ClientMutationID *string
	VCSProviderLink  *models.WorkspaceVCSProviderLink
	Problems         []Problem
}

WorkspaceVCSProviderLinkMutationPayload is the response payload for a workspace vcs provider mutation

type WorkspaceVCSProviderLinkMutationPayloadResolver

type WorkspaceVCSProviderLinkMutationPayloadResolver struct {
	WorkspaceVCSProviderLinkMutationPayload
	// contains filtered or unexported fields
}

WorkspaceVCSProviderLinkMutationPayloadResolver resolver a WorkspaceVCSProviderLinkMutationPayload

VCSProviderLink field resolver

func (*WorkspaceVCSProviderLinkMutationPayloadResolver) WebhookToken

WebhookToken field resolver

func (*WorkspaceVCSProviderLinkMutationPayloadResolver) WebhookURL

WebhookURL field resolver

type WorkspaceVCSProviderLinkResolver

type WorkspaceVCSProviderLinkResolver struct {
	// contains filtered or unexported fields
}

WorkspaceVCSProviderLinkResolver resolves a workspaceVCSProviderLink resource

func (*WorkspaceVCSProviderLinkResolver) AutoSpeculativePlan

func (r *WorkspaceVCSProviderLinkResolver) AutoSpeculativePlan() bool

AutoSpeculativePlan resolver

func (*WorkspaceVCSProviderLinkResolver) Branch

Branch resolver

func (*WorkspaceVCSProviderLinkResolver) CreatedBy

CreatedBy resolver

func (*WorkspaceVCSProviderLinkResolver) GlobPatterns

func (r *WorkspaceVCSProviderLinkResolver) GlobPatterns() []string

GlobPatterns resolver

func (*WorkspaceVCSProviderLinkResolver) ID

ID resolver

func (*WorkspaceVCSProviderLinkResolver) Metadata

Metadata resolver

func (*WorkspaceVCSProviderLinkResolver) ModuleDirectory

func (r *WorkspaceVCSProviderLinkResolver) ModuleDirectory() *string

ModuleDirectory resolver

func (*WorkspaceVCSProviderLinkResolver) RepositoryPath

func (r *WorkspaceVCSProviderLinkResolver) RepositoryPath() string

RepositoryPath resolver

func (*WorkspaceVCSProviderLinkResolver) TagRegex

TagRegex resolver

func (*WorkspaceVCSProviderLinkResolver) VCSProvider

VCSProvider resolver

func (*WorkspaceVCSProviderLinkResolver) WebhookDisabled

func (r *WorkspaceVCSProviderLinkResolver) WebhookDisabled() bool

WebhookDisabled resolver

func (*WorkspaceVCSProviderLinkResolver) WebhookID

func (r *WorkspaceVCSProviderLinkResolver) WebhookID() *string

WebhookID resolver

func (*WorkspaceVCSProviderLinkResolver) Workspace

Workspace resolver

Jump to

Keyboard shortcuts

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