Documentation ¶
Overview ¶
Package resolver package
Index ¶
- func RegisterApplyLoader(collection *loader.Collection)
- func RegisterConfigurationVersionLoader(collection *loader.Collection)
- func RegisterGPGKeyLoader(collection *loader.Collection)
- func RegisterGroupLoader(collection *loader.Collection)
- func RegisterJobLoader(collection *loader.Collection)
- func RegisterManagedIdentityAccessRuleLoader(collection *loader.Collection)
- func RegisterManagedIdentityLoader(collection *loader.Collection)
- func RegisterNamespaceMembershipLoader(collection *loader.Collection)
- func RegisterNamespaceVariableLoader(collection *loader.Collection)
- func RegisterPlanLoader(collection *loader.Collection)
- func RegisterRoleLoader(collection *loader.Collection)
- func RegisterRunLoader(collection *loader.Collection)
- func RegisterRunnerLoader(collection *loader.Collection)
- func RegisterServiceAccountLoader(collection *loader.Collection)
- func RegisterStateVersionLoader(collection *loader.Collection)
- func RegisterTeamLoader(collection *loader.Collection)
- func RegisterTerraformModuleLoader(collection *loader.Collection)
- func RegisterTerraformModuleVersionLoader(collection *loader.Collection)
- func RegisterTerraformProviderLoader(collection *loader.Collection)
- func RegisterTerraformProviderVersionLoader(collection *loader.Collection)
- func RegisterTerraformProviderVersionMirrorLoader(collection *loader.Collection)
- func RegisterUserLoader(collection *loader.Collection)
- func RegisterVCSEventLoader(collection *loader.Collection)
- func RegisterVCSProviderLoader(collection *loader.Collection)
- func RegisterWorkspaceLoader(collection *loader.Collection)
- type ActivityEventAddTeamMemberPayloadResolver
- type ActivityEventConnectionQueryArgs
- type ActivityEventConnectionResolver
- type ActivityEventCreateNamespaceMembershipPayloadResolver
- type ActivityEventDeleteChildResourcePayloadResolver
- type ActivityEventEdgeResolver
- type ActivityEventInitiatorResolver
- type ActivityEventMigrateGroupPayloadResolver
- type ActivityEventPayloadResolver
- func (r *ActivityEventPayloadResolver) ToActivityEventAddTeamMemberPayload() (*ActivityEventAddTeamMemberPayloadResolver, bool)
- func (r *ActivityEventPayloadResolver) ToActivityEventCreateNamespaceMembershipPayload() (*ActivityEventCreateNamespaceMembershipPayloadResolver, bool)
- func (r *ActivityEventPayloadResolver) ToActivityEventDeleteChildResourcePayload() (*models.ActivityEventDeleteChildResourcePayload, bool)
- func (r *ActivityEventPayloadResolver) ToActivityEventMigrateGroupPayload() (*ActivityEventMigrateGroupPayloadResolver, bool)
- func (r *ActivityEventPayloadResolver) ToActivityEventRemoveNamespaceMembershipPayload() (*ActivityEventRemoveNamespaceMembershipPayloadResolver, bool)
- func (r *ActivityEventPayloadResolver) ToActivityEventRemoveTeamMemberPayload() (*ActivityEventRemoveTeamMemberPayloadResolver, bool)
- func (r *ActivityEventPayloadResolver) ToActivityEventUpdateNamespaceMembershipPayload() (*models.ActivityEventUpdateNamespaceMembershipPayload, bool)
- func (r *ActivityEventPayloadResolver) ToActivityEventUpdateTeamMemberPayload() (*ActivityEventUpdateTeamMemberPayloadResolver, bool)
- type ActivityEventRemoveNamespaceMembershipPayloadResolver
- type ActivityEventRemoveTeamMemberPayloadResolver
- type ActivityEventResolver
- func (r *ActivityEventResolver) Action() string
- func (r *ActivityEventResolver) ID() graphql.ID
- func (r *ActivityEventResolver) Initiator(ctx context.Context) (*ActivityEventInitiatorResolver, error)
- func (r *ActivityEventResolver) Metadata() *MetadataResolver
- func (r *ActivityEventResolver) NamespacePath() *string
- func (r *ActivityEventResolver) Payload() (*ActivityEventPayloadResolver, error)
- func (r *ActivityEventResolver) Target(ctx context.Context) (*NodeResolver, error)
- func (r *ActivityEventResolver) TargetID() string
- func (r *ActivityEventResolver) TargetType() models.ActivityEventTargetType
- type ActivityEventUpdateTeamMemberPayloadResolver
- type AddUserToTeamInput
- type ApplyMutationPayload
- type ApplyMutationPayloadResolver
- type ApplyResolver
- type ApplyRunInput
- type AssignManagedIdentityInput
- type AssignManagedIdentityMutationPayload
- type AssignManagedIdentityMutationPayloadResolver
- type AssignServiceAccountToRunnerInput
- type AuthSettingsResolver
- type CancelRunInput
- type ClaimJobInput
- type ClaimJobMutationPayload
- type ConfigurationVersionMutationPayload
- type ConfigurationVersionMutationPayloadResolver
- type ConfigurationVersionQueryArgs
- type ConfigurationVersionResolver
- func (r *ConfigurationVersionResolver) CreatedBy() string
- func (r *ConfigurationVersionResolver) ID() graphql.ID
- func (r *ConfigurationVersionResolver) Metadata() *MetadataResolver
- func (r *ConfigurationVersionResolver) Speculative() bool
- func (r *ConfigurationVersionResolver) Status() string
- func (r *ConfigurationVersionResolver) VCSEvent(ctx context.Context) (*VCSEventResolver, error)
- func (r *ConfigurationVersionResolver) WorkspaceID() string
- type Connection
- type ConnectionQueryArgs
- type CreateConfigurationVersionInput
- type CreateGPGKeyInput
- type CreateGroupInput
- type CreateManagedIdentityAccessRuleInput
- type CreateManagedIdentityAliasInput
- type CreateManagedIdentityCredentialsInput
- type CreateManagedIdentityInput
- type CreateNamespaceMembershipInput
- type CreateNamespaceVariableInput
- type CreateRoleInput
- type CreateRunInput
- type CreateRunnerInput
- type CreateServiceAccountInput
- type CreateStateVersionInput
- type CreateTeamInput
- type CreateTerraformCLIDownloadURLInput
- type CreateTerraformModuleAttestationInput
- type CreateTerraformModuleInput
- type CreateTerraformModuleVersionInput
- type CreateTerraformProviderInput
- type CreateTerraformProviderPlatformInput
- type CreateTerraformProviderVersionInput
- type CreateTerraformProviderVersionMirrorInput
- type CreateVCSProviderInput
- type CreateVCSRunInput
- type CreateVCSRunMutationPayload
- type CreateWorkspaceInput
- type CreateWorkspaceVCSProviderLinkInput
- type DeleteGPGKeyInput
- type DeleteGroupInput
- type DeleteManagedIdentityAccessRuleInput
- type DeleteManagedIdentityInput
- type DeleteNamespaceMembershipInput
- type DeleteNamespaceVariableInput
- type DeleteRoleInput
- type DeleteRunnerInput
- type DeleteServiceAccountInput
- type DeleteTeamInput
- type DeleteTerraformModuleAttestationInput
- type DeleteTerraformModuleInput
- type DeleteTerraformModuleVersionInput
- type DeleteTerraformProviderInput
- type DeleteTerraformProviderPlatformInput
- type DeleteTerraformProviderPlatformMirrorInput
- type DeleteTerraformProviderVersionInput
- type DeleteTerraformProviderVersionMirrorInput
- type DeleteVCSProviderInput
- type DeleteWorkspaceInput
- type DeleteWorkspaceVCSProviderLinkInput
- type Edge
- type GPGKeyConnectionResolver
- type GPGKeyEdgeResolver
- type GPGKeyMutationPayload
- type GPGKeyMutationPayloadResolver
- type GPGKeyResolver
- func (r *GPGKeyResolver) ASCIIArmor() string
- func (r *GPGKeyResolver) CreatedBy() string
- func (r *GPGKeyResolver) Fingerprint() string
- func (r *GPGKeyResolver) GPGKeyID() string
- func (r *GPGKeyResolver) Group(ctx context.Context) (*GroupResolver, error)
- func (r *GPGKeyResolver) GroupPath() string
- func (r *GPGKeyResolver) ID() graphql.ID
- func (r *GPGKeyResolver) Metadata() *MetadataResolver
- func (r *GPGKeyResolver) ResourcePath() string
- type GPGKeysConnectionQueryArgs
- type GroupConnectionQueryArgs
- type GroupConnectionResolver
- type GroupEdgeResolver
- type GroupMutationPayload
- type GroupMutationPayloadResolver
- type GroupQueryArgs
- type GroupResolver
- func (r *GroupResolver) ActivityEvents(ctx context.Context, args *ActivityEventConnectionQueryArgs) (*ActivityEventConnectionResolver, error)
- func (r *GroupResolver) CreatedBy() string
- func (r *GroupResolver) DescendentGroups(ctx context.Context, args ConnectionQueryArgs) (*GroupConnectionResolver, error)
- func (r *GroupResolver) Description() string
- func (r *GroupResolver) FullPath() string
- func (r *GroupResolver) GPGKeys(ctx context.Context, args *GPGKeysConnectionQueryArgs) (*GPGKeyConnectionResolver, error)
- func (r *GroupResolver) ID() graphql.ID
- func (r *GroupResolver) ManagedIdentities(ctx context.Context, args *ManagedIdentityConnectionQueryArgs) (*ManagedIdentityConnectionResolver, error)
- func (r *GroupResolver) Memberships(ctx context.Context) ([]*NamespaceMembershipResolver, error)
- func (r *GroupResolver) Metadata() *MetadataResolver
- func (r *GroupResolver) Name() string
- func (r *GroupResolver) Parent(ctx context.Context) (*GroupResolver, error)
- func (r *GroupResolver) Runners(ctx context.Context, args *RunnersConnectionQueryArgs) (*RunnerConnectionResolver, error)
- func (r *GroupResolver) ServiceAccounts(ctx context.Context, args *ServiceAccountsConnectionQueryArgs) (*ServiceAccountConnectionResolver, error)
- func (r *GroupResolver) TerraformProviderMirrors(ctx context.Context, args *TerraformProviderVersionMirrorConnectionQueryArgs) (*TerraformProviderVersionMirrorConnectionResolver, error)
- func (r *GroupResolver) TerraformProviders(ctx context.Context, args *TerraformProviderConnectionQueryArgs) (*TerraformProviderConnectionResolver, error)
- func (r *GroupResolver) VCSProviders(ctx context.Context, args *VCSProviderConnectionQueryArgs) (*VCSProviderConnectionResolver, error)
- func (r *GroupResolver) Variables(ctx context.Context) ([]*NamespaceVariableResolver, error)
- func (r *GroupResolver) Workspaces(ctx context.Context, args *ConnectionQueryArgs) (*WorkspaceConnectionResolver, error)
- type JWTClaim
- type JobCancellationEventResolver
- type JobCancellationEventSubscriptionInput
- type JobLogEventResolver
- type JobLogSubscriptionInput
- type JobLogsQueryArgs
- type JobQueryArgs
- type JobResolver
- func (r *JobResolver) CancelRequested() bool
- func (r *JobResolver) ID() graphql.ID
- func (r *JobResolver) LogLastUpdatedAt(ctx context.Context) (*graphql.Time, error)
- func (r *JobResolver) LogSize(ctx context.Context) (int32, error)
- func (r *JobResolver) Logs(ctx context.Context, args *JobLogsQueryArgs) (string, error)
- func (r *JobResolver) MaxJobDuration() int32
- func (r *JobResolver) Metadata() *MetadataResolver
- func (r *JobResolver) Run(ctx context.Context) (*RunResolver, error)
- func (r *JobResolver) Runner(ctx context.Context) (*RunnerResolver, error)
- func (r *JobResolver) RunnerPath() *string
- func (r *JobResolver) Status() string
- func (r *JobResolver) Timestamps() *JobTimestampsResolver
- func (r *JobResolver) Type() string
- func (r *JobResolver) Workspace(ctx context.Context) (*WorkspaceResolver, error)
- type JobTimestampsResolver
- type ManagedIdentityAccessRuleMutationPayload
- type ManagedIdentityAccessRuleMutationPayloadResolver
- type ManagedIdentityAccessRuleResolver
- func (r *ManagedIdentityAccessRuleResolver) AllowedServiceAccounts(ctx context.Context) (*[]*ServiceAccountResolver, error)
- func (r *ManagedIdentityAccessRuleResolver) AllowedTeams(ctx context.Context) (*[]*TeamResolver, error)
- func (r *ManagedIdentityAccessRuleResolver) AllowedUsers(ctx context.Context) (*[]*UserResolver, error)
- func (r *ManagedIdentityAccessRuleResolver) ID() graphql.ID
- func (r *ManagedIdentityAccessRuleResolver) ManagedIdentity(ctx context.Context) (*ManagedIdentityResolver, error)
- func (r *ManagedIdentityAccessRuleResolver) Metadata() *MetadataResolver
- func (r *ManagedIdentityAccessRuleResolver) ModuleAttestationPolicies() *[]models.ManagedIdentityAccessRuleModuleAttestationPolicy
- func (r *ManagedIdentityAccessRuleResolver) RunStage() string
- func (r *ManagedIdentityAccessRuleResolver) Type() string
- type ManagedIdentityConnectionQueryArgs
- type ManagedIdentityConnectionResolver
- type ManagedIdentityCredentials
- type ManagedIdentityCredentialsMutationPayload
- type ManagedIdentityCredentialsMutationPayloadResolver
- type ManagedIdentityCredentialsResolver
- type ManagedIdentityEdgeResolver
- type ManagedIdentityMutationPayload
- type ManagedIdentityMutationPayloadResolver
- type ManagedIdentityQueryArgs
- type ManagedIdentityResolver
- func (r *ManagedIdentityResolver) AccessRules(ctx context.Context) ([]*ManagedIdentityAccessRuleResolver, error)
- func (r *ManagedIdentityResolver) AliasSource(ctx context.Context) (*ManagedIdentityResolver, error)
- func (r *ManagedIdentityResolver) AliasSourceID() *string
- func (r *ManagedIdentityResolver) Aliases(ctx context.Context, args *ManagedIdentityConnectionQueryArgs) (*ManagedIdentityConnectionResolver, error)
- func (r *ManagedIdentityResolver) CreatedBy() string
- func (r *ManagedIdentityResolver) Data() string
- func (r *ManagedIdentityResolver) Description() string
- func (r *ManagedIdentityResolver) Group(ctx context.Context) (*GroupResolver, error)
- func (r *ManagedIdentityResolver) GroupPath() string
- func (r *ManagedIdentityResolver) ID() graphql.ID
- func (r *ManagedIdentityResolver) IsAlias() bool
- func (r *ManagedIdentityResolver) Metadata() *MetadataResolver
- func (r *ManagedIdentityResolver) Name() string
- func (r *ManagedIdentityResolver) ResourcePath() string
- func (r *ManagedIdentityResolver) Type() string
- type MeResponseResolver
- type MemberResolver
- type MetadataInput
- type MetadataResolver
- type MigrateGroupInput
- type NamespaceMembershipConnectionQueryArgs
- type NamespaceMembershipConnectionResolver
- type NamespaceMembershipEdgeResolver
- type NamespaceMembershipMutationPayload
- type NamespaceMembershipMutationPayloadResolver
- type NamespaceMembershipResolver
- func (r *NamespaceMembershipResolver) ID() graphql.ID
- func (r *NamespaceMembershipResolver) Member(ctx context.Context) (*MemberResolver, error)
- func (r *NamespaceMembershipResolver) Metadata() *MetadataResolver
- func (r *NamespaceMembershipResolver) Namespace(ctx context.Context) (*NamespaceResolver, error)
- func (r *NamespaceMembershipResolver) ResourcePath() string
- func (r *NamespaceMembershipResolver) Role(ctx context.Context) (*RoleResolver, error)
- type NamespaceQueryArgs
- type NamespaceResolver
- func (r *NamespaceResolver) ActivityEvents(ctx context.Context, args *ActivityEventConnectionQueryArgs) (*ActivityEventConnectionResolver, error)
- func (r *NamespaceResolver) Description() (string, error)
- func (r *NamespaceResolver) FullPath() (string, error)
- func (r *NamespaceResolver) ID() (graphql.ID, error)
- func (r *NamespaceResolver) ManagedIdentities(ctx context.Context, args *ManagedIdentityConnectionQueryArgs) (*ManagedIdentityConnectionResolver, error)
- func (r *NamespaceResolver) Memberships(ctx context.Context) ([]*NamespaceMembershipResolver, error)
- func (r *NamespaceResolver) Metadata() (*MetadataResolver, error)
- func (r *NamespaceResolver) Name() (string, error)
- func (r *NamespaceResolver) ServiceAccounts(ctx context.Context, args *ServiceAccountsConnectionQueryArgs) (*ServiceAccountConnectionResolver, error)
- func (r *NamespaceResolver) ToGroup() (*GroupResolver, bool)
- func (r *NamespaceResolver) ToWorkspace() (*WorkspaceResolver, bool)
- func (r *NamespaceResolver) Variables(ctx context.Context) ([]*NamespaceVariableResolver, error)
- type NamespaceVariableResolver
- func (r *NamespaceVariableResolver) Category() string
- func (r *NamespaceVariableResolver) Hcl() bool
- func (r *NamespaceVariableResolver) ID() graphql.ID
- func (r *NamespaceVariableResolver) Key() string
- func (r *NamespaceVariableResolver) Metadata() *MetadataResolver
- func (r *NamespaceVariableResolver) NamespacePath() string
- func (r *NamespaceVariableResolver) Value() *string
- type NodeResolver
- func (r *NodeResolver) ID() (graphql.ID, error)
- func (r *NodeResolver) ToActivityEvent() (*ActivityEventResolver, bool)
- func (r *NodeResolver) ToApply() (*ApplyResolver, bool)
- func (r *NodeResolver) ToConfigurationVersion() (*ConfigurationVersionResolver, bool)
- func (r *NodeResolver) ToGPGKey() (*GPGKeyResolver, bool)
- func (r *NodeResolver) ToGroup() (*GroupResolver, bool)
- func (r *NodeResolver) ToJob() (*JobResolver, bool)
- func (r *NodeResolver) ToManagedIdentity() (*ManagedIdentityResolver, bool)
- func (r *NodeResolver) ToManagedIdentityAccessRule() (*ManagedIdentityAccessRuleResolver, bool)
- func (r *NodeResolver) ToNamespaceMembership() (*NamespaceMembershipResolver, bool)
- func (r *NodeResolver) ToNamespaceVariable() (*NamespaceVariableResolver, bool)
- func (r *NodeResolver) ToPlan() (*PlanResolver, bool)
- func (r *NodeResolver) ToRole() (*RoleResolver, bool)
- func (r *NodeResolver) ToRun() (*RunResolver, bool)
- func (r *NodeResolver) ToRunner() (*RunnerResolver, bool)
- func (r *NodeResolver) ToServiceAccount() (*ServiceAccountResolver, bool)
- func (r *NodeResolver) ToStateVersion() (*StateVersionResolver, bool)
- func (r *NodeResolver) ToStateVersionOutput() (*StateVersionOutputResolver, bool)
- func (r *NodeResolver) ToTeam() (*TeamResolver, bool)
- func (r *NodeResolver) ToTerraformModule() (*TerraformModuleResolver, bool)
- func (r *NodeResolver) ToTerraformModuleAttestation() (*TerraformModuleAttestationResolver, bool)
- func (r *NodeResolver) ToTerraformModuleVersion() (*TerraformModuleVersionResolver, bool)
- func (r *NodeResolver) ToTerraformProvider() (*TerraformProviderResolver, bool)
- func (r *NodeResolver) ToTerraformProviderPlatform() (*TerraformProviderPlatformResolver, bool)
- func (r *NodeResolver) ToTerraformProviderPlatformMirror() (*TerraformProviderPlatformMirrorResolver, bool)
- func (r *NodeResolver) ToTerraformProviderVersion() (*TerraformProviderVersionResolver, bool)
- func (r *NodeResolver) ToTerraformProviderVersionMirror() (*TerraformProviderVersionMirrorResolver, bool)
- func (r *NodeResolver) ToUser() (*UserResolver, bool)
- func (r *NodeResolver) ToVCSEvent() (*VCSEventResolver, bool)
- func (r *NodeResolver) ToVCSProvider() (*VCSProviderResolver, bool)
- func (r *NodeResolver) ToWorkspace() (*WorkspaceResolver, bool)
- func (r *NodeResolver) ToWorkspaceVCSProviderLink() (*WorkspaceVCSProviderLinkResolver, bool)
- type OIDCTrustPolicy
- type PageInfo
- type PageInfoResolver
- type PlanMutationPayload
- type PlanMutationPayloadResolver
- type PlanResolver
- func (r *PlanResolver) CurrentJob(ctx context.Context) (*JobResolver, error)
- func (r *PlanResolver) HasChanges() bool
- func (r *PlanResolver) ID() graphql.ID
- func (r *PlanResolver) Metadata() *MetadataResolver
- func (r *PlanResolver) ResourceAdditions() int32
- func (r *PlanResolver) ResourceChanges() int32
- func (r *PlanResolver) ResourceDestructions() int32
- func (r *PlanResolver) Status() string
- type Problem
- type ProblemType
- type RemoveUserFromTeamInput
- type ResetVCSProviderOAuthTokenInput
- type ResetVCSProviderOAuthTokenMutationPayload
- type ResetVCSProviderOAuthTokenMutationPayloadResolver
- type ResourceLimitMutationPayload
- type ResourceLimitMutationPayloadResolver
- type ResourceLimitResolver
- type RoleConnectionResolver
- type RoleEdgeResolver
- type RoleMutationPayload
- type RoleMutationPayloadResolver
- type RoleQueryArgs
- type RoleResolver
- type RolesConnectionQueryArgs
- type RootResolver
- func (r RootResolver) ActivityEvents(ctx context.Context, args *ActivityEventConnectionQueryArgs) (*ActivityEventConnectionResolver, error)
- func (r RootResolver) AddUserToTeam(ctx context.Context, args *struct{ Input *AddUserToTeamInput }) (*TeamMemberMutationPayloadResolver, error)
- func (r RootResolver) ApplyRun(ctx context.Context, args *struct{ Input *ApplyRunInput }) (*RunMutationPayloadResolver, error)
- func (r RootResolver) AssignManagedIdentity(ctx context.Context, args *struct{ Input *AssignManagedIdentityInput }) (*AssignManagedIdentityMutationPayloadResolver, error)
- func (r RootResolver) AssignServiceAccountToRunner(ctx context.Context, args ...) (*RunnerMutationPayloadResolver, error)
- func (r RootResolver) AuthSettings(ctx context.Context) *AuthSettingsResolver
- func (r RootResolver) AvailableRolePermissions(ctx context.Context) ([]string, error)
- func (r RootResolver) CancelRun(ctx context.Context, args *struct{ Input *CancelRunInput }) (*RunMutationPayloadResolver, error)
- func (r RootResolver) ClaimJob(ctx context.Context, args *struct{ Input *ClaimJobInput }) (*ClaimJobMutationPayload, error)
- func (r RootResolver) ConfigurationVersion(ctx context.Context, args *ConfigurationVersionQueryArgs) (*ConfigurationVersionResolver, error)
- func (r RootResolver) CreateConfigurationVersion(ctx context.Context, args ...) (*ConfigurationVersionMutationPayloadResolver, error)
- func (r RootResolver) CreateGPGKey(ctx context.Context, args *struct{ Input *CreateGPGKeyInput }) (*GPGKeyMutationPayloadResolver, error)
- func (r RootResolver) CreateGroup(ctx context.Context, args *struct{ Input *CreateGroupInput }) (*GroupMutationPayloadResolver, error)
- func (r RootResolver) CreateManagedIdentity(ctx context.Context, args *struct{ Input *CreateManagedIdentityInput }) (*ManagedIdentityMutationPayloadResolver, error)
- func (r RootResolver) CreateManagedIdentityAccessRule(ctx context.Context, args ...) (*ManagedIdentityAccessRuleMutationPayloadResolver, error)
- func (r RootResolver) CreateManagedIdentityAlias(ctx context.Context, args ...) (*ManagedIdentityMutationPayloadResolver, error)
- func (r RootResolver) CreateManagedIdentityCredentials(ctx context.Context, args ...) (*ManagedIdentityCredentialsMutationPayloadResolver, error)
- func (r RootResolver) CreateNamespaceMembership(ctx context.Context, args ...) (*NamespaceMembershipMutationPayloadResolver, error)
- func (r RootResolver) CreateNamespaceVariable(ctx context.Context, args *struct{ Input *CreateNamespaceVariableInput }) (*VariableMutationPayloadResolver, error)
- func (r RootResolver) CreateRole(ctx context.Context, args *struct{ Input *CreateRoleInput }) (*RoleMutationPayloadResolver, error)
- func (r RootResolver) CreateRun(ctx context.Context, args *struct{ Input *CreateRunInput }) (*RunMutationPayloadResolver, error)
- func (r RootResolver) CreateRunner(ctx context.Context, args *struct{ Input *CreateRunnerInput }) (*RunnerMutationPayloadResolver, error)
- func (r RootResolver) CreateSCIMToken(ctx context.Context) (*SCIMTokenPayload, error)
- func (r RootResolver) CreateServiceAccount(ctx context.Context, args *struct{ Input *CreateServiceAccountInput }) (*ServiceAccountMutationPayloadResolver, error)
- func (r RootResolver) CreateStateVersion(ctx context.Context, args *struct{ Input *CreateStateVersionInput }) (*StateVersionMutationPayloadResolver, error)
- func (r RootResolver) CreateTeam(ctx context.Context, args *struct{ Input *CreateTeamInput }) (*TeamMutationPayloadResolver, error)
- func (r RootResolver) CreateTerraformCLIDownloadURL(ctx context.Context, args ...) (*TerraformCLIMutationPayload, error)
- func (r RootResolver) CreateTerraformModule(ctx context.Context, args *struct{ Input *CreateTerraformModuleInput }) (*TerraformModuleMutationPayloadResolver, error)
- func (r RootResolver) CreateTerraformModuleAttestation(ctx context.Context, args ...) (*TerraformModuleAttestationMutationPayloadResolver, error)
- func (r RootResolver) CreateTerraformModuleVersion(ctx context.Context, args ...) (*TerraformModuleVersionMutationPayloadResolver, error)
- func (r RootResolver) CreateTerraformProvider(ctx context.Context, args *struct{ Input *CreateTerraformProviderInput }) (*TerraformProviderMutationPayloadResolver, error)
- func (r RootResolver) CreateTerraformProviderPlatform(ctx context.Context, args ...) (*TerraformProviderPlatformMutationPayloadResolver, error)
- func (r RootResolver) CreateTerraformProviderVersion(ctx context.Context, args ...) (*TerraformProviderVersionMutationPayloadResolver, error)
- func (r RootResolver) CreateTerraformProviderVersionMirror(ctx context.Context, args ...) (*TerraformProviderVersionMirrorMutationPayloadResolver, error)
- func (r RootResolver) CreateVCSProvider(ctx context.Context, args *struct{ Input *CreateVCSProviderInput }) (*VCSProviderMutationPayloadResolver, error)
- func (r RootResolver) CreateVCSRun(ctx context.Context, args ...) (*CreateVCSRunMutationPayload, error)
- func (r RootResolver) CreateWorkspace(ctx context.Context, args *struct{ Input *CreateWorkspaceInput }) (*WorkspaceMutationPayloadResolver, error)
- func (r RootResolver) CreateWorkspaceVCSProviderLink(ctx context.Context, args ...) (*WorkspaceVCSProviderLinkMutationPayloadResolver, error)
- func (r RootResolver) DeleteGPGKey(ctx context.Context, args *struct{ Input *DeleteGPGKeyInput }) (*GPGKeyMutationPayloadResolver, error)
- func (r RootResolver) DeleteGroup(ctx context.Context, args *struct{ Input *DeleteGroupInput }) (*GroupMutationPayloadResolver, error)
- func (r RootResolver) DeleteManagedIdentity(ctx context.Context, args *struct{ Input *DeleteManagedIdentityInput }) (*ManagedIdentityMutationPayloadResolver, error)
- func (r RootResolver) DeleteManagedIdentityAccessRule(ctx context.Context, args ...) (*ManagedIdentityAccessRuleMutationPayloadResolver, error)
- func (r RootResolver) DeleteManagedIdentityAlias(ctx context.Context, args *struct{ Input *DeleteManagedIdentityInput }) (*ManagedIdentityMutationPayloadResolver, error)
- func (r RootResolver) DeleteNamespaceMembership(ctx context.Context, args ...) (*NamespaceMembershipMutationPayloadResolver, error)
- func (r RootResolver) DeleteNamespaceVariable(ctx context.Context, args *struct{ Input *DeleteNamespaceVariableInput }) (*VariableMutationPayloadResolver, error)
- func (r RootResolver) DeleteRole(ctx context.Context, args *struct{ Input *DeleteRoleInput }) (*RoleMutationPayloadResolver, error)
- func (r RootResolver) DeleteRunner(ctx context.Context, args *struct{ Input *DeleteRunnerInput }) (*RunnerMutationPayloadResolver, error)
- func (r RootResolver) DeleteServiceAccount(ctx context.Context, args *struct{ Input *DeleteServiceAccountInput }) (*ServiceAccountMutationPayloadResolver, error)
- func (r RootResolver) DeleteTeam(ctx context.Context, args *struct{ Input *DeleteTeamInput }) (*TeamMutationPayloadResolver, error)
- func (r RootResolver) DeleteTerraformModule(ctx context.Context, args *struct{ Input *DeleteTerraformModuleInput }) (*TerraformModuleMutationPayloadResolver, error)
- func (r RootResolver) DeleteTerraformModuleAttestation(ctx context.Context, args ...) (*TerraformModuleAttestationMutationPayloadResolver, error)
- func (r RootResolver) DeleteTerraformModuleVersion(ctx context.Context, args ...) (*TerraformModuleVersionMutationPayloadResolver, error)
- func (r RootResolver) DeleteTerraformProvider(ctx context.Context, args *struct{ Input *DeleteTerraformProviderInput }) (*TerraformProviderMutationPayloadResolver, error)
- func (r RootResolver) DeleteTerraformProviderPlatform(ctx context.Context, args ...) (*TerraformProviderPlatformMutationPayloadResolver, error)
- func (r RootResolver) DeleteTerraformProviderPlatformMirror(ctx context.Context, args ...) (*TerraformProviderPlatformMirrorMutationPayloadResolver, error)
- func (r RootResolver) DeleteTerraformProviderVersion(ctx context.Context, args ...) (*TerraformProviderVersionMutationPayloadResolver, error)
- func (r RootResolver) DeleteTerraformProviderVersionMirror(ctx context.Context, args ...) (*TerraformProviderVersionMirrorMutationPayloadResolver, error)
- func (r RootResolver) DeleteVCSProvider(ctx context.Context, args *struct{ Input *DeleteVCSProviderInput }) (*VCSProviderMutationPayloadResolver, error)
- func (r RootResolver) DeleteWorkspace(ctx context.Context, args *struct{ Input *DeleteWorkspaceInput }) (*WorkspaceMutationPayloadResolver, error)
- func (r RootResolver) DeleteWorkspaceVCSProviderLink(ctx context.Context, args ...) (*WorkspaceVCSProviderLinkMutationPayloadResolver, error)
- func (r RootResolver) Group(ctx context.Context, args *GroupQueryArgs) (*GroupResolver, error)
- func (r RootResolver) Groups(ctx context.Context, args *GroupConnectionQueryArgs) (*GroupConnectionResolver, error)
- func (r RootResolver) Job(ctx context.Context, args *JobQueryArgs) (*JobResolver, error)
- func (r RootResolver) JobCancellationEvent(ctx context.Context, args ...) (<-chan *JobCancellationEventResolver, error)
- func (r RootResolver) JobLogEvents(ctx context.Context, args *struct{ Input *JobLogSubscriptionInput }) (<-chan *JobLogEventResolver, error)
- func (r RootResolver) ManagedIdentity(ctx context.Context, args *ManagedIdentityQueryArgs) (*ManagedIdentityResolver, error)
- func (r RootResolver) Me(ctx context.Context) (*MeResponseResolver, error)
- func (r RootResolver) MigrateGroup(ctx context.Context, args *struct{ Input *MigrateGroupInput }) (*GroupMutationPayloadResolver, error)
- func (r RootResolver) Namespace(ctx context.Context, args *NamespaceQueryArgs) (*NamespaceResolver, error)
- func (r RootResolver) Node(ctx context.Context, args *struct{ ID string }) (*NodeResolver, error)
- func (r RootResolver) RemoveUserFromTeam(ctx context.Context, args *struct{ Input *RemoveUserFromTeamInput }) (*TeamMemberMutationPayloadResolver, error)
- func (r RootResolver) ResetVCSProviderOAuthToken(ctx context.Context, args ...) (*ResetVCSProviderOAuthTokenMutationPayloadResolver, error)
- func (r RootResolver) ResourceLimits(ctx context.Context) ([]*ResourceLimitResolver, error)
- func (r RootResolver) Role(ctx context.Context, args *RoleQueryArgs) (*RoleResolver, error)
- func (r RootResolver) Roles(ctx context.Context, args *RolesConnectionQueryArgs) (*RoleConnectionResolver, error)
- func (r RootResolver) Run(ctx context.Context, args *RunQueryArgs) (*RunResolver, error)
- func (r RootResolver) Runs(ctx context.Context, args *RunConnectionQueryArgs) (*RunConnectionResolver, error)
- func (r RootResolver) SaveJobLogs(ctx context.Context, args *struct{ Input *SaveJobLogsInput }) (*SaveJobLogsPayload, error)
- func (r RootResolver) ServiceAccount(ctx context.Context, args *ServiceAccountQueryArgs) (*ServiceAccountResolver, error)
- func (r RootResolver) ServiceAccountCreateToken(ctx context.Context, args ...) (*ServiceAccountCreateTokenPayload, error)
- func (r RootResolver) SetNamespaceVariables(ctx context.Context, args *struct{ Input *SetNamespaceVariablesInput }) (*VariableMutationPayloadResolver, error)
- func (r RootResolver) Team(ctx context.Context, args *TeamQueryArgs) (*TeamResolver, error)
- func (r RootResolver) Teams(ctx context.Context, args *TeamConnectionQueryArgs) (*TeamConnectionResolver, error)
- func (r RootResolver) TerraformCLIVersions(ctx context.Context) (*TerraformCLIVersionsResolver, error)
- func (r RootResolver) TerraformModule(ctx context.Context, args *TerraformModuleQueryArgs) (*TerraformModuleResolver, error)
- func (r RootResolver) TerraformModuleVersion(ctx context.Context, args *TerraformModuleVersionQueryArgs) (*TerraformModuleVersionResolver, error)
- func (r RootResolver) TerraformModules(ctx context.Context, args *TerraformModuleConnectionQueryArgs) (*TerraformModuleConnectionResolver, error)
- func (r RootResolver) TerraformProvider(ctx context.Context, args *TerraformProviderQueryArgs) (*TerraformProviderResolver, error)
- func (r RootResolver) TerraformProviderVersion(ctx context.Context, args *TerraformProviderVersionQueryArgs) (*TerraformProviderVersionResolver, error)
- func (r RootResolver) TerraformProviderVersionMirror(ctx context.Context, args *TerraformProviderVersionMirrorQueryArgs) (*TerraformProviderVersionMirrorResolver, error)
- func (r RootResolver) TerraformProviders(ctx context.Context, args *TerraformProviderConnectionQueryArgs) (*TerraformProviderConnectionResolver, error)
- func (r RootResolver) UnassignManagedIdentity(ctx context.Context, args *struct{ Input *AssignManagedIdentityInput }) (*AssignManagedIdentityMutationPayloadResolver, error)
- func (r RootResolver) UnassignServiceAccountFromRunner(ctx context.Context, args ...) (*RunnerMutationPayloadResolver, error)
- func (r RootResolver) UpdateApply(ctx context.Context, args *struct{ Input *UpdateApplyInput }) (*ApplyMutationPayloadResolver, error)
- func (r RootResolver) UpdateGroup(ctx context.Context, args *struct{ Input *UpdateGroupInput }) (*GroupMutationPayloadResolver, error)
- func (r RootResolver) UpdateManagedIdentity(ctx context.Context, args *struct{ Input *UpdateManagedIdentityInput }) (*ManagedIdentityMutationPayloadResolver, error)
- func (r RootResolver) UpdateManagedIdentityAccessRule(ctx context.Context, args ...) (*ManagedIdentityAccessRuleMutationPayloadResolver, error)
- func (r RootResolver) UpdateNamespaceMembership(ctx context.Context, args ...) (*NamespaceMembershipMutationPayloadResolver, error)
- func (r RootResolver) UpdateNamespaceVariable(ctx context.Context, args *struct{ Input *UpdateNamespaceVariableInput }) (*VariableMutationPayloadResolver, error)
- func (r RootResolver) UpdatePlan(ctx context.Context, args *struct{ Input *UpdatePlanInput }) (*PlanMutationPayloadResolver, error)
- func (r RootResolver) UpdateResourceLimit(ctx context.Context, args *struct{ Input *UpdateResourceLimitInput }) (*ResourceLimitMutationPayloadResolver, error)
- func (r RootResolver) UpdateRole(ctx context.Context, args *struct{ Input *UpdateRoleInput }) (*RoleMutationPayloadResolver, error)
- func (r RootResolver) UpdateRunner(ctx context.Context, args *struct{ Input *UpdateRunnerInput }) (*RunnerMutationPayloadResolver, error)
- func (r RootResolver) UpdateServiceAccount(ctx context.Context, args *struct{ Input *UpdateServiceAccountInput }) (*ServiceAccountMutationPayloadResolver, error)
- func (r RootResolver) UpdateTeam(ctx context.Context, args *struct{ Input *UpdateTeamInput }) (*TeamMutationPayloadResolver, error)
- func (r RootResolver) UpdateTeamMember(ctx context.Context, args *struct{ Input *UpdateTeamMemberInput }) (*TeamMemberMutationPayloadResolver, error)
- func (r RootResolver) UpdateTerraformModule(ctx context.Context, args *struct{ Input *UpdateTerraformModuleInput }) (*TerraformModuleMutationPayloadResolver, error)
- func (r RootResolver) UpdateTerraformModuleAttestation(ctx context.Context, args ...) (*TerraformModuleAttestationMutationPayloadResolver, error)
- func (r RootResolver) UpdateTerraformProvider(ctx context.Context, args *struct{ Input *UpdateTerraformProviderInput }) (*TerraformProviderMutationPayloadResolver, error)
- func (r RootResolver) UpdateVCSProvider(ctx context.Context, args *struct{ Input *UpdateVCSProviderInput }) (*VCSProviderMutationPayloadResolver, error)
- func (r RootResolver) UpdateWorkspace(ctx context.Context, args *struct{ Input *UpdateWorkspaceInput }) (*WorkspaceMutationPayloadResolver, error)
- func (r RootResolver) UpdateWorkspaceVCSProviderLink(ctx context.Context, args ...) (*WorkspaceVCSProviderLinkMutationPayloadResolver, error)
- func (r RootResolver) Users(ctx context.Context, args *UserConnectionQueryArgs) (*UserConnectionResolver, error)
- func (r RootResolver) Workspace(ctx context.Context, args *WorkspaceQueryArgs) (*WorkspaceResolver, error)
- func (r RootResolver) WorkspaceEvents(ctx context.Context, args *struct{ Input *WorkspaceSubscriptionInput }) (<-chan *WorkspaceEventResolver, error)
- func (r RootResolver) WorkspaceRunEvents(ctx context.Context, args *struct{ Input *RunSubscriptionInput }) (<-chan *RunEventResolver, error)
- func (r RootResolver) Workspaces(ctx context.Context, args *WorkspaceConnectionQueryArgs) (*WorkspaceConnectionResolver, error)
- type RunConnectionQueryArgs
- type RunConnectionResolver
- type RunEdgeResolver
- type RunEventResolver
- type RunMutationPayload
- type RunMutationPayloadResolver
- type RunQueryArgs
- type RunResolver
- func (r *RunResolver) Apply(ctx context.Context) (*ApplyResolver, error)
- func (r *RunResolver) Comment() string
- func (r *RunResolver) ConfigurationVersion(ctx context.Context) (*ConfigurationVersionResolver, error)
- func (r *RunResolver) CreatedBy() string
- func (r *RunResolver) ForceCancelAvailableAt() *graphql.Time
- func (r *RunResolver) ForceCanceled() bool
- func (r *RunResolver) ForceCanceledBy() *string
- func (r *RunResolver) ID() graphql.ID
- func (r *RunResolver) IsDestroy() bool
- func (r *RunResolver) Metadata() *MetadataResolver
- func (r *RunResolver) ModuleDigest() *string
- func (r *RunResolver) ModuleSource() *string
- func (r *RunResolver) ModuleVersion() *string
- func (r *RunResolver) Plan(ctx context.Context) (*PlanResolver, error)
- func (r *RunResolver) Refresh() bool
- func (r *RunResolver) Status() string
- func (r *RunResolver) TargetAddresses() []string
- func (r *RunResolver) TerraformVersion() string
- func (r *RunResolver) Variables(ctx context.Context) ([]*RunVariableResolver, error)
- func (r *RunResolver) Workspace(ctx context.Context) (*WorkspaceResolver, error)
- type RunSubscriptionInput
- type RunVariableResolver
- type RunnerConnectionResolver
- type RunnerEdgeResolver
- type RunnerMutationPayload
- type RunnerMutationPayloadResolver
- type RunnerResolver
- func (r *RunnerResolver) AssignedServiceAccounts(ctx context.Context, args *ConnectionQueryArgs) (*ServiceAccountConnectionResolver, error)
- func (r *RunnerResolver) CreatedBy() string
- func (r *RunnerResolver) Description() string
- func (r *RunnerResolver) Group(ctx context.Context) (*GroupResolver, error)
- func (r *RunnerResolver) GroupPath() string
- func (r *RunnerResolver) ID() graphql.ID
- func (r *RunnerResolver) Metadata() *MetadataResolver
- func (r *RunnerResolver) Name() string
- func (r *RunnerResolver) ResourcePath() string
- func (r *RunnerResolver) Type() string
- type RunnersConnectionQueryArgs
- type SCIMTokenPayload
- type SaveJobLogsInput
- type SaveJobLogsPayload
- type ServiceAccountConnectionResolver
- type ServiceAccountCreateTokenInput
- type ServiceAccountCreateTokenPayload
- type ServiceAccountEdgeResolver
- type ServiceAccountMutationPayload
- type ServiceAccountMutationPayloadResolver
- type ServiceAccountQueryArgs
- type ServiceAccountResolver
- func (r *ServiceAccountResolver) ActivityEvents(ctx context.Context, args *ActivityEventConnectionQueryArgs) (*ActivityEventConnectionResolver, error)
- func (r *ServiceAccountResolver) CreatedBy() string
- func (r *ServiceAccountResolver) Description() string
- func (r *ServiceAccountResolver) Group(ctx context.Context) (*GroupResolver, error)
- func (r *ServiceAccountResolver) GroupPath() string
- func (r *ServiceAccountResolver) ID() graphql.ID
- func (r *ServiceAccountResolver) Metadata() *MetadataResolver
- func (r *ServiceAccountResolver) Name() string
- func (r *ServiceAccountResolver) NamespaceMemberships(ctx context.Context, args *ConnectionQueryArgs) (*NamespaceMembershipConnectionResolver, error)
- func (r *ServiceAccountResolver) OIDCTrustPolicies() []OIDCTrustPolicy
- func (r *ServiceAccountResolver) ResourcePath() string
- type ServiceAccountsConnectionQueryArgs
- type SetNamespaceVariablesInput
- type State
- type StateVersionConnectionQueryArgs
- type StateVersionConnectionResolver
- type StateVersionDependencyResolver
- type StateVersionEdgeResolver
- type StateVersionMutationPayload
- type StateVersionMutationPayloadResolver
- type StateVersionOutputResolver
- func (r *StateVersionOutputResolver) ID() graphql.ID
- func (r *StateVersionOutputResolver) Metadata() *MetadataResolver
- func (r *StateVersionOutputResolver) Name() string
- func (r *StateVersionOutputResolver) Sensitive() bool
- func (r *StateVersionOutputResolver) Type() string
- func (r *StateVersionOutputResolver) Value() string
- type StateVersionResolver
- func (r *StateVersionResolver) CreatedBy() string
- func (r *StateVersionResolver) Data(ctx context.Context) (string, error)
- func (r *StateVersionResolver) Dependencies(ctx context.Context) ([]*StateVersionDependencyResolver, error)
- func (r *StateVersionResolver) ID() graphql.ID
- func (r *StateVersionResolver) Metadata() *MetadataResolver
- func (r *StateVersionResolver) Outputs(ctx context.Context) ([]*StateVersionOutputResolver, error)
- func (r *StateVersionResolver) Resources(ctx context.Context) ([]*workspace.StateVersionResource, error)
- func (r *StateVersionResolver) Run(ctx context.Context) (*RunResolver, error)
- type TeamConnectionQueryArgs
- type TeamConnectionResolver
- type TeamEdgeResolver
- type TeamMemberConnectionResolver
- type TeamMemberEdgeResolver
- type TeamMemberMutationPayload
- type TeamMemberMutationPayloadResolver
- type TeamMemberResolver
- func (r *TeamMemberResolver) ID() graphql.ID
- func (r *TeamMemberResolver) IsMaintainer() bool
- func (r *TeamMemberResolver) Metadata() *MetadataResolver
- func (r *TeamMemberResolver) Team(ctx context.Context) (*TeamResolver, error)
- func (r *TeamMemberResolver) User(ctx context.Context) (*UserResolver, error)
- type TeamMutationPayload
- type TeamMutationPayloadResolver
- type TeamQueryArgs
- type TeamResolver
- func (r *TeamResolver) Description() string
- func (r *TeamResolver) ID() graphql.ID
- func (r *TeamResolver) Members(ctx context.Context, args *ConnectionQueryArgs) (*TeamMemberConnectionResolver, error)
- func (r *TeamResolver) Metadata() *MetadataResolver
- func (r *TeamResolver) Name() string
- func (r *TeamResolver) SCIMExternalID() *string
- type TerraformCLIMutationPayload
- type TerraformCLIVersionsResolver
- type TerraformModuleAttestationConnectionQueryArgs
- type TerraformModuleAttestationConnectionResolver
- type TerraformModuleAttestationEdgeResolver
- type TerraformModuleAttestationMutationPayload
- type TerraformModuleAttestationMutationPayloadResolver
- type TerraformModuleAttestationResolver
- func (r *TerraformModuleAttestationResolver) CreatedBy() string
- func (r *TerraformModuleAttestationResolver) Data() string
- func (r *TerraformModuleAttestationResolver) Description() string
- func (r *TerraformModuleAttestationResolver) Digests() []string
- func (r *TerraformModuleAttestationResolver) ID() graphql.ID
- func (r *TerraformModuleAttestationResolver) Metadata() *MetadataResolver
- func (r *TerraformModuleAttestationResolver) Module(ctx context.Context) (*TerraformModuleResolver, error)
- func (r *TerraformModuleAttestationResolver) PredicateType() string
- func (r *TerraformModuleAttestationResolver) SchemaType() string
- type TerraformModuleConnectionQueryArgs
- type TerraformModuleConnectionResolver
- type TerraformModuleEdgeResolver
- type TerraformModuleMutationPayload
- type TerraformModuleMutationPayloadResolver
- type TerraformModuleQueryArgs
- type TerraformModuleResolver
- func (r *TerraformModuleResolver) Attestations(ctx context.Context, args *TerraformModuleAttestationConnectionQueryArgs) (*TerraformModuleAttestationConnectionResolver, error)
- func (r *TerraformModuleResolver) CreatedBy() string
- func (r *TerraformModuleResolver) Group(ctx context.Context) (*GroupResolver, error)
- func (r *TerraformModuleResolver) GroupPath() string
- func (r *TerraformModuleResolver) ID() graphql.ID
- func (r *TerraformModuleResolver) LatestVersion(ctx context.Context) (*TerraformModuleVersionResolver, error)
- func (r *TerraformModuleResolver) Metadata() *MetadataResolver
- func (r *TerraformModuleResolver) Name() string
- func (r *TerraformModuleResolver) Private() bool
- func (r *TerraformModuleResolver) RegistryNamespace() string
- func (r *TerraformModuleResolver) RepositoryURL() string
- func (r *TerraformModuleResolver) ResourcePath() string
- func (r *TerraformModuleResolver) Source(ctx context.Context) string
- func (r *TerraformModuleResolver) System() string
- func (r *TerraformModuleResolver) Versions(ctx context.Context, args *TerraformModuleVersionsConnectionQueryArgs) (*TerraformModuleVersionConnectionResolver, error)
- type TerraformModuleVersionConfigurationDetailsQueryArgs
- type TerraformModuleVersionConnectionResolver
- type TerraformModuleVersionEdgeResolver
- type TerraformModuleVersionMutationPayload
- type TerraformModuleVersionMutationPayloadResolver
- type TerraformModuleVersionQueryArgs
- type TerraformModuleVersionResolver
- func (r *TerraformModuleVersionResolver) Attestations(ctx context.Context, args *TerraformModuleAttestationConnectionQueryArgs) (*TerraformModuleAttestationConnectionResolver, error)
- func (r *TerraformModuleVersionResolver) ConfigurationDetails(ctx context.Context, args *TerraformModuleVersionConfigurationDetailsQueryArgs) (*moduleregistry.ModuleConfigurationDetails, error)
- func (r *TerraformModuleVersionResolver) CreatedBy() string
- func (r *TerraformModuleVersionResolver) Diagnostics() string
- func (r *TerraformModuleVersionResolver) Error() string
- func (r *TerraformModuleVersionResolver) Examples() []string
- func (r *TerraformModuleVersionResolver) ID() graphql.ID
- func (r *TerraformModuleVersionResolver) Latest() bool
- func (r *TerraformModuleVersionResolver) Metadata() *MetadataResolver
- func (r *TerraformModuleVersionResolver) Module(ctx context.Context) (*TerraformModuleResolver, error)
- func (r *TerraformModuleVersionResolver) SHASum() string
- func (r *TerraformModuleVersionResolver) Status() string
- func (r *TerraformModuleVersionResolver) Submodules() []string
- func (r *TerraformModuleVersionResolver) Version() string
- type TerraformModuleVersionsConnectionQueryArgs
- type TerraformProviderConnectionQueryArgs
- type TerraformProviderConnectionResolver
- type TerraformProviderEdgeResolver
- type TerraformProviderMutationPayload
- type TerraformProviderMutationPayloadResolver
- type TerraformProviderPlatformMirrorMutationPayload
- type TerraformProviderPlatformMirrorMutationPayloadResolver
- type TerraformProviderPlatformMirrorResolver
- func (r *TerraformProviderPlatformMirrorResolver) Arch() string
- func (r *TerraformProviderPlatformMirrorResolver) ID() graphql.ID
- func (r *TerraformProviderPlatformMirrorResolver) Metadata() *MetadataResolver
- func (r *TerraformProviderPlatformMirrorResolver) OS() string
- func (r *TerraformProviderPlatformMirrorResolver) VersionMirror(ctx context.Context) (*TerraformProviderVersionMirrorResolver, error)
- type TerraformProviderPlatformMutationPayload
- type TerraformProviderPlatformMutationPayloadResolver
- type TerraformProviderPlatformResolver
- func (r *TerraformProviderPlatformResolver) Arch() string
- func (r *TerraformProviderPlatformResolver) BinaryUploaded() bool
- func (r *TerraformProviderPlatformResolver) Filename() string
- func (r *TerraformProviderPlatformResolver) ID() graphql.ID
- func (r *TerraformProviderPlatformResolver) Metadata() *MetadataResolver
- func (r *TerraformProviderPlatformResolver) OS() string
- func (r *TerraformProviderPlatformResolver) ProviderVersion(ctx context.Context) (*TerraformProviderVersionResolver, error)
- func (r *TerraformProviderPlatformResolver) SHASum() string
- type TerraformProviderQueryArgs
- type TerraformProviderResolver
- func (r *TerraformProviderResolver) CreatedBy() string
- func (r *TerraformProviderResolver) Group(ctx context.Context) (*GroupResolver, error)
- func (r *TerraformProviderResolver) GroupPath() string
- func (r *TerraformProviderResolver) ID() graphql.ID
- func (r *TerraformProviderResolver) LatestVersion(ctx context.Context) (*TerraformProviderVersionResolver, error)
- func (r *TerraformProviderResolver) Metadata() *MetadataResolver
- func (r *TerraformProviderResolver) Name() string
- func (r *TerraformProviderResolver) Private() bool
- func (r *TerraformProviderResolver) RegistryNamespace() string
- func (r *TerraformProviderResolver) RepositoryURL() string
- func (r *TerraformProviderResolver) ResourcePath() string
- func (r *TerraformProviderResolver) Source(ctx context.Context) string
- func (r *TerraformProviderResolver) Versions(ctx context.Context, args *TerraformProviderVersionsConnectionQueryArgs) (*TerraformProviderVersionConnectionResolver, error)
- type TerraformProviderVersionConnectionResolver
- type TerraformProviderVersionEdgeResolver
- type TerraformProviderVersionMirrorConnectionQueryArgs
- type TerraformProviderVersionMirrorConnectionResolver
- type TerraformProviderVersionMirrorEdgeResolver
- type TerraformProviderVersionMirrorMutationPayload
- type TerraformProviderVersionMirrorMutationPayloadResolver
- type TerraformProviderVersionMirrorQueryArgs
- type TerraformProviderVersionMirrorResolver
- func (r *TerraformProviderVersionMirrorResolver) CreatedBy() string
- func (r *TerraformProviderVersionMirrorResolver) Group(ctx context.Context) (*GroupResolver, error)
- func (r *TerraformProviderVersionMirrorResolver) ID() graphql.ID
- func (r *TerraformProviderVersionMirrorResolver) Metadata() *MetadataResolver
- func (r *TerraformProviderVersionMirrorResolver) PlatformMirrors(ctx context.Context) ([]*TerraformProviderPlatformMirrorResolver, error)
- func (r *TerraformProviderVersionMirrorResolver) RegistryHostname() string
- func (r *TerraformProviderVersionMirrorResolver) RegistryNamespace() string
- func (r *TerraformProviderVersionMirrorResolver) Type() string
- func (r *TerraformProviderVersionMirrorResolver) Version() string
- type TerraformProviderVersionMutationPayload
- type TerraformProviderVersionMutationPayloadResolver
- type TerraformProviderVersionQueryArgs
- type TerraformProviderVersionResolver
- func (r *TerraformProviderVersionResolver) CreatedBy() string
- func (r *TerraformProviderVersionResolver) GPGASCIIArmor() *string
- func (r *TerraformProviderVersionResolver) GPGKeyID() *string
- func (r *TerraformProviderVersionResolver) ID() graphql.ID
- func (r *TerraformProviderVersionResolver) Latest() bool
- func (r *TerraformProviderVersionResolver) Metadata() *MetadataResolver
- func (r *TerraformProviderVersionResolver) Platforms(ctx context.Context) ([]*TerraformProviderPlatformResolver, error)
- func (r *TerraformProviderVersionResolver) Protocols() []string
- func (r *TerraformProviderVersionResolver) Provider(ctx context.Context) (*TerraformProviderResolver, error)
- func (r *TerraformProviderVersionResolver) Readme(ctx context.Context) (string, error)
- func (r *TerraformProviderVersionResolver) ReadmeUploaded() bool
- func (r *TerraformProviderVersionResolver) SHASumsSigUploaded() bool
- func (r *TerraformProviderVersionResolver) SHASumsUploaded() bool
- func (r *TerraformProviderVersionResolver) Version() string
- type TerraformProviderVersionsConnectionQueryArgs
- type UpdateApplyInput
- type UpdateGroupInput
- type UpdateManagedIdentityAccessRuleInput
- type UpdateManagedIdentityInput
- type UpdateNamespaceMembershipInput
- type UpdateNamespaceVariableInput
- type UpdatePlanInput
- type UpdateResourceLimitInput
- type UpdateRoleInput
- type UpdateRunnerInput
- type UpdateServiceAccountInput
- type UpdateTeamInput
- type UpdateTeamMemberInput
- type UpdateTerraformModuleAttestationInput
- type UpdateTerraformModuleInput
- type UpdateTerraformProviderInput
- type UpdateVCSProviderInput
- type UpdateWorkspaceInput
- type UpdateWorkspaceVCSProviderLinkInput
- type UserConnectionQueryArgs
- type UserConnectionResolver
- type UserEdgeResolver
- type UserResolver
- func (r *UserResolver) Active() bool
- func (r *UserResolver) ActivityEvents(ctx context.Context, args *ActivityEventConnectionQueryArgs) (*ActivityEventConnectionResolver, error)
- func (r *UserResolver) Admin() bool
- func (r *UserResolver) Email() string
- func (r *UserResolver) ID() graphql.ID
- func (r *UserResolver) Metadata() *MetadataResolver
- func (r *UserResolver) NamespaceMemberships(ctx context.Context, args *ConnectionQueryArgs) (*NamespaceMembershipConnectionResolver, error)
- func (r *UserResolver) SCIMExternalID() *string
- func (r *UserResolver) Username() string
- type VCSEventConnectionQueryArgs
- type VCSEventConnectionResolver
- type VCSEventEdgeResolver
- type VCSEventResolver
- func (r *VCSEventResolver) CommitID() *string
- func (r *VCSEventResolver) ErrorMessage() *string
- func (r *VCSEventResolver) ID() graphql.ID
- func (r *VCSEventResolver) Metadata() *MetadataResolver
- func (r *VCSEventResolver) RepositoryURL() string
- func (r *VCSEventResolver) SourceReferenceName() *string
- func (r *VCSEventResolver) Status() string
- func (r *VCSEventResolver) Type() string
- func (r *VCSEventResolver) Workspace(ctx context.Context) (*WorkspaceResolver, error)
- type VCSProviderConnectionQueryArgs
- type VCSProviderConnectionResolver
- type VCSProviderEdgeResolver
- type VCSProviderMutationPayload
- type VCSProviderMutationPayloadResolver
- type VCSProviderResolver
- func (r *VCSProviderResolver) AutoCreateWebhooks() bool
- func (r *VCSProviderResolver) CreatedBy() string
- func (r *VCSProviderResolver) Description() string
- func (r *VCSProviderResolver) Group(ctx context.Context) (*GroupResolver, error)
- func (r *VCSProviderResolver) GroupPath() string
- func (r *VCSProviderResolver) ID() graphql.ID
- func (r *VCSProviderResolver) Metadata() *MetadataResolver
- func (r *VCSProviderResolver) Name() string
- func (r *VCSProviderResolver) ResourcePath() string
- func (r *VCSProviderResolver) Type() string
- func (r *VCSProviderResolver) URL() string
- type VariableMutationPayload
- type VariableMutationPayloadResolver
- type WorkspaceConnectionQueryArgs
- type WorkspaceConnectionResolver
- type WorkspaceEdgeResolver
- type WorkspaceEventResolver
- type WorkspaceMutationPayload
- type WorkspaceMutationPayloadResolver
- type WorkspaceQueryArgs
- type WorkspaceResolver
- func (r *WorkspaceResolver) ActivityEvents(ctx context.Context, args *ActivityEventConnectionQueryArgs) (*ActivityEventConnectionResolver, error)
- func (r *WorkspaceResolver) AssignedManagedIdentities(ctx context.Context) ([]*ManagedIdentityResolver, error)
- func (r *WorkspaceResolver) CreatedBy() string
- func (r *WorkspaceResolver) CurrentJob(ctx context.Context) (*JobResolver, error)
- func (r *WorkspaceResolver) CurrentStateVersion(ctx context.Context) (*StateVersionResolver, error)
- func (r *WorkspaceResolver) Description() string
- func (r *WorkspaceResolver) DirtyState() bool
- func (r *WorkspaceResolver) FullPath() string
- func (r *WorkspaceResolver) Group(ctx context.Context) (*GroupResolver, error)
- func (r *WorkspaceResolver) GroupPath() string
- func (r *WorkspaceResolver) ID() graphql.ID
- func (r *WorkspaceResolver) Locked() bool
- func (r *WorkspaceResolver) ManagedIdentities(ctx context.Context, args *ManagedIdentityConnectionQueryArgs) (*ManagedIdentityConnectionResolver, error)
- func (r *WorkspaceResolver) MaxJobDuration() int32
- func (r *WorkspaceResolver) Memberships(ctx context.Context) ([]*NamespaceMembershipResolver, error)
- func (r *WorkspaceResolver) Metadata() *MetadataResolver
- func (r *WorkspaceResolver) Name() string
- func (r *WorkspaceResolver) PreventDestroyPlan() bool
- func (r *WorkspaceResolver) ServiceAccounts(ctx context.Context, args *ServiceAccountsConnectionQueryArgs) (*ServiceAccountConnectionResolver, error)
- func (r *WorkspaceResolver) StateVersions(ctx context.Context, args *StateVersionConnectionQueryArgs) (*StateVersionConnectionResolver, error)
- func (r *WorkspaceResolver) TerraformVersion() string
- func (r *WorkspaceResolver) VCSEvents(ctx context.Context, args *VCSEventConnectionQueryArgs) (*VCSEventConnectionResolver, error)
- func (r *WorkspaceResolver) VCSProviders(ctx context.Context, args *VCSProviderConnectionQueryArgs) (*VCSProviderConnectionResolver, error)
- func (r *WorkspaceResolver) Variables(ctx context.Context) ([]*NamespaceVariableResolver, error)
- func (r *WorkspaceResolver) WorkspaceVCSProviderLink(ctx context.Context) (*WorkspaceVCSProviderLinkResolver, error)
- type WorkspaceSubscriptionInput
- type WorkspaceVCSProviderLinkMutationPayload
- type WorkspaceVCSProviderLinkMutationPayloadResolver
- type WorkspaceVCSProviderLinkResolver
- func (r *WorkspaceVCSProviderLinkResolver) AutoSpeculativePlan() bool
- func (r *WorkspaceVCSProviderLinkResolver) Branch() string
- func (r *WorkspaceVCSProviderLinkResolver) CreatedBy() string
- func (r *WorkspaceVCSProviderLinkResolver) GlobPatterns() []string
- func (r *WorkspaceVCSProviderLinkResolver) ID() graphql.ID
- func (r *WorkspaceVCSProviderLinkResolver) Metadata() *MetadataResolver
- func (r *WorkspaceVCSProviderLinkResolver) ModuleDirectory() *string
- func (r *WorkspaceVCSProviderLinkResolver) RepositoryPath() string
- func (r *WorkspaceVCSProviderLinkResolver) TagRegex() *string
- func (r *WorkspaceVCSProviderLinkResolver) VCSProvider(ctx context.Context) (*VCSProviderResolver, error)
- func (r *WorkspaceVCSProviderLinkResolver) WebhookDisabled() bool
- func (r *WorkspaceVCSProviderLinkResolver) WebhookID() *string
- func (r *WorkspaceVCSProviderLinkResolver) Workspace(ctx context.Context) (*WorkspaceResolver, error)
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 ¶
func (r *ActivityEventAddTeamMemberPayloadResolver) Maintainer() bool
Maintainer resolver
func (*ActivityEventAddTeamMemberPayloadResolver) User ¶
func (r *ActivityEventAddTeamMemberPayloadResolver) User(ctx context.Context) (*UserResolver, error)
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 ¶
func (r *ActivityEventConnectionResolver) Edges() *[]*ActivityEventEdgeResolver
Edges returns the connection edges
func (*ActivityEventConnectionResolver) PageInfo ¶
func (r *ActivityEventConnectionResolver) PageInfo() *PageInfoResolver
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 ¶
func (r *ActivityEventCreateNamespaceMembershipPayloadResolver) Member(ctx context.Context) (*MemberResolver, error)
Member resolver
func (*ActivityEventCreateNamespaceMembershipPayloadResolver) Role ¶
func (r *ActivityEventCreateNamespaceMembershipPayloadResolver) Role() string
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 ¶
func (r *ActivityEventDeleteChildResourcePayloadResolver) ID() string
ID resolver
func (*ActivityEventDeleteChildResourcePayloadResolver) Name ¶
func (r *ActivityEventDeleteChildResourcePayloadResolver) Name() string
Name resolver
func (*ActivityEventDeleteChildResourcePayloadResolver) Type ¶
func (r *ActivityEventDeleteChildResourcePayloadResolver) Type() string
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 ¶
func (r *ActivityEventEdgeResolver) Node() (*ActivityEventResolver, error)
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 ¶
func (r *ActivityEventInitiatorResolver) ToServiceAccount() (*ServiceAccountResolver, bool)
ToServiceAccount resolves service account initiator types
func (*ActivityEventInitiatorResolver) ToUser ¶
func (r *ActivityEventInitiatorResolver) ToUser() (*UserResolver, bool)
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 ¶
func (r *ActivityEventRemoveNamespaceMembershipPayloadResolver) Member(ctx context.Context) (*MemberResolver, error)
Member resolver
type ActivityEventRemoveTeamMemberPayloadResolver ¶
type ActivityEventRemoveTeamMemberPayloadResolver struct {
// contains filtered or unexported fields
}
ActivityEventRemoveTeamMemberPayloadResolver is a custom payload resolver
func (*ActivityEventRemoveTeamMemberPayloadResolver) User ¶
func (r *ActivityEventRemoveTeamMemberPayloadResolver) User(ctx context.Context) (*UserResolver, error)
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) Initiator ¶
func (r *ActivityEventResolver) Initiator(ctx context.Context) (*ActivityEventInitiatorResolver, error)
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 ¶
func (r *ActivityEventResolver) Payload() (*ActivityEventPayloadResolver, error)
Payload resolver
func (*ActivityEventResolver) Target ¶
func (r *ActivityEventResolver) Target(ctx context.Context) (*NodeResolver, error)
Target resolver
func (*ActivityEventResolver) TargetID ¶
func (r *ActivityEventResolver) TargetID() string
TargetID resolver
func (*ActivityEventResolver) TargetType ¶
func (r *ActivityEventResolver) TargetType() models.ActivityEventTargetType
TargetType resolver
type ActivityEventUpdateTeamMemberPayloadResolver ¶
type ActivityEventUpdateTeamMemberPayloadResolver struct {
// contains filtered or unexported fields
}
ActivityEventUpdateTeamMemberPayloadResolver is a custom payload resolver
func (*ActivityEventUpdateTeamMemberPayloadResolver) Maintainer ¶
func (r *ActivityEventUpdateTeamMemberPayloadResolver) Maintainer() bool
Maintainer resolver
func (*ActivityEventUpdateTeamMemberPayloadResolver) User ¶
func (r *ActivityEventUpdateTeamMemberPayloadResolver) User(ctx context.Context) (*UserResolver, error)
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 ¶
func (r *ApplyMutationPayloadResolver) Apply() *ApplyResolver
Apply field resolver
type ApplyResolver ¶
type ApplyResolver struct {
// contains filtered or unexported fields
}
ApplyResolver resolves a apply resource
func (*ApplyResolver) CurrentJob ¶
func (r *ApplyResolver) CurrentJob(ctx context.Context) (*JobResolver, error)
CurrentJob returns the current job for the apply resource
func (*ApplyResolver) Metadata ¶
func (r *ApplyResolver) Metadata() *MetadataResolver
Metadata resolver
func (*ApplyResolver) TriggeredBy ¶
func (r *ApplyResolver) TriggeredBy() *string
TriggeredBy resolver
type ApplyRunInput ¶
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 ¶
func (r *AssignManagedIdentityMutationPayloadResolver) Workspace() *WorkspaceResolver
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 ¶
CancelRunInput is the input for cancelling a run
type ClaimJobInput ¶ added in v0.8.0
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 ¶
func (r *ConfigurationVersionMutationPayloadResolver) ConfigurationVersion() *ConfigurationVersionResolver
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 ¶
func (r *ConfigurationVersionResolver) ID() graphql.ID
ID resolver
func (*ConfigurationVersionResolver) Metadata ¶
func (r *ConfigurationVersionResolver) Metadata() *MetadataResolver
Metadata resolver
func (*ConfigurationVersionResolver) Speculative ¶
func (r *ConfigurationVersionResolver) Speculative() bool
Speculative resolver
func (*ConfigurationVersionResolver) Status ¶
func (r *ConfigurationVersionResolver) Status() string
Status resolver
func (*ConfigurationVersionResolver) VCSEvent ¶
func (r *ConfigurationVersionResolver) VCSEvent(ctx context.Context) (*VCSEventResolver, error)
VCSEvent resolver
func (*ConfigurationVersionResolver) WorkspaceID ¶
func (r *ConfigurationVersionResolver) WorkspaceID() string
WorkspaceID resolver
type Connection ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
DeleteTerraformModuleAttestationInput contains the input for deleting a moduleAttestation
type DeleteTerraformModuleInput ¶
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 ¶
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 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 ¶
func (r *GPGKeyConnectionResolver) Edges() *[]*GPGKeyEdgeResolver
Edges returns the connection edges
func (*GPGKeyConnectionResolver) PageInfo ¶
func (r *GPGKeyConnectionResolver) PageInfo() *PageInfoResolver
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 ¶
func (r *GPGKeyMutationPayloadResolver) GPGKey() *GPGKeyResolver
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) Fingerprint ¶
func (r *GPGKeyResolver) Fingerprint() string
Fingerprint 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) 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 ¶
func (r *GroupConnectionResolver) Edges() *[]*GroupEdgeResolver
Edges returns the connection edges
func (*GroupConnectionResolver) PageInfo ¶
func (r *GroupConnectionResolver) PageInfo() *PageInfoResolver
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 ¶
func (r *GroupMutationPayloadResolver) Group() *GroupResolver
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 ¶
func (r *GroupResolver) ActivityEvents(ctx context.Context, args *ActivityEventConnectionQueryArgs, ) (*ActivityEventConnectionResolver, error)
ActivityEvents resolver
func (*GroupResolver) DescendentGroups ¶
func (r *GroupResolver) DescendentGroups(ctx context.Context, args ConnectionQueryArgs) (*GroupConnectionResolver, error)
DescendentGroups resolver
func (*GroupResolver) Description ¶
func (r *GroupResolver) Description() string
Description resolver
func (*GroupResolver) GPGKeys ¶
func (r *GroupResolver) GPGKeys(ctx context.Context, args *GPGKeysConnectionQueryArgs) (*GPGKeyConnectionResolver, error)
GPGKeys resolver
func (*GroupResolver) ManagedIdentities ¶
func (r *GroupResolver) ManagedIdentities(ctx context.Context, args *ManagedIdentityConnectionQueryArgs) (*ManagedIdentityConnectionResolver, error)
ManagedIdentities resolver
func (*GroupResolver) Memberships ¶
func (r *GroupResolver) Memberships(ctx context.Context) ([]*NamespaceMembershipResolver, error)
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) Parent ¶
func (r *GroupResolver) Parent(ctx context.Context) (*GroupResolver, error)
Parent resolver
func (*GroupResolver) Runners ¶ added in v0.8.0
func (r *GroupResolver) Runners(ctx context.Context, args *RunnersConnectionQueryArgs) (*RunnerConnectionResolver, error)
Runners resolver
func (*GroupResolver) ServiceAccounts ¶
func (r *GroupResolver) ServiceAccounts(ctx context.Context, args *ServiceAccountsConnectionQueryArgs) (*ServiceAccountConnectionResolver, error)
ServiceAccounts resolver
func (*GroupResolver) TerraformProviderMirrors ¶ added in v0.12.0
func (r *GroupResolver) TerraformProviderMirrors( ctx context.Context, args *TerraformProviderVersionMirrorConnectionQueryArgs, ) (*TerraformProviderVersionMirrorConnectionResolver, error)
TerraformProviderMirrors resolver
func (*GroupResolver) TerraformProviders ¶
func (r *GroupResolver) TerraformProviders(ctx context.Context, args *TerraformProviderConnectionQueryArgs) (*TerraformProviderConnectionResolver, error)
TerraformProviders resolver
func (*GroupResolver) VCSProviders ¶
func (r *GroupResolver) VCSProviders(ctx context.Context, args *VCSProviderConnectionQueryArgs, ) (*VCSProviderConnectionResolver, error)
VCSProviders resolver
func (*GroupResolver) Variables ¶
func (r *GroupResolver) Variables(ctx context.Context) ([]*NamespaceVariableResolver, error)
Variables resolver
func (*GroupResolver) Workspaces ¶
func (r *GroupResolver) Workspaces(ctx context.Context, args *ConnectionQueryArgs) (*WorkspaceConnectionResolver, error)
Workspaces resolvers
type JobCancellationEventResolver ¶
type JobCancellationEventResolver struct {
// contains filtered or unexported fields
}
JobCancellationEventResolver resolves a job cancellation event
func (*JobCancellationEventResolver) Job ¶
func (r *JobCancellationEventResolver) Job() *JobResolver
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
type JobLogSubscriptionInput ¶
JobLogSubscriptionInput is the input for subscribing to job log events
type JobLogsQueryArgs ¶
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) LogLastUpdatedAt ¶
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) 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) Timestamps ¶
func (r *JobResolver) Timestamps() *JobTimestampsResolver
Timestamps 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 ¶
func (r *ManagedIdentityAccessRuleMutationPayloadResolver) AccessRule() *ManagedIdentityAccessRuleResolver
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 ¶
func (r *ManagedIdentityAccessRuleResolver) AllowedTeams(ctx context.Context) (*[]*TeamResolver, error)
AllowedTeams resolver
func (*ManagedIdentityAccessRuleResolver) AllowedUsers ¶
func (r *ManagedIdentityAccessRuleResolver) AllowedUsers(ctx context.Context) (*[]*UserResolver, error)
AllowedUsers resolver
func (*ManagedIdentityAccessRuleResolver) ID ¶
func (r *ManagedIdentityAccessRuleResolver) ID() graphql.ID
ID resolver
func (*ManagedIdentityAccessRuleResolver) ManagedIdentity ¶
func (r *ManagedIdentityAccessRuleResolver) ManagedIdentity(ctx context.Context) (*ManagedIdentityResolver, error)
ManagedIdentity resolver
func (*ManagedIdentityAccessRuleResolver) Metadata ¶
func (r *ManagedIdentityAccessRuleResolver) Metadata() *MetadataResolver
Metadata resolver
func (*ManagedIdentityAccessRuleResolver) ModuleAttestationPolicies ¶ added in v0.3.0
func (r *ManagedIdentityAccessRuleResolver) ModuleAttestationPolicies() *[]models.ManagedIdentityAccessRuleModuleAttestationPolicy
ModuleAttestationPolicies resolver
func (*ManagedIdentityAccessRuleResolver) RunStage ¶
func (r *ManagedIdentityAccessRuleResolver) RunStage() string
RunStage resolver
func (*ManagedIdentityAccessRuleResolver) Type ¶ added in v0.3.0
func (r *ManagedIdentityAccessRuleResolver) Type() string
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 ¶
func (r *ManagedIdentityConnectionResolver) Edges() *[]*ManagedIdentityEdgeResolver
Edges returns the connection edges
func (*ManagedIdentityConnectionResolver) PageInfo ¶
func (r *ManagedIdentityConnectionResolver) PageInfo() *PageInfoResolver
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 ¶
func (r *ManagedIdentityCredentialsMutationPayloadResolver) ManagedIdentityCredentials() *ManagedIdentityCredentialsResolver
ManagedIdentityCredentials field resolver
type ManagedIdentityCredentialsResolver ¶
type ManagedIdentityCredentialsResolver struct {
// contains filtered or unexported fields
}
ManagedIdentityCredentialsResolver resolves managed identity credentials
func (*ManagedIdentityCredentialsResolver) Data ¶
func (r *ManagedIdentityCredentialsResolver) Data() string
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 ¶
func (r *ManagedIdentityEdgeResolver) Node() (*ManagedIdentityResolver, error)
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 ¶
func (r *ManagedIdentityMutationPayloadResolver) ManagedIdentity() *ManagedIdentityResolver
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 ¶
func (r *ManagedIdentityResolver) AccessRules(ctx context.Context) ([]*ManagedIdentityAccessRuleResolver, error)
AccessRules resolver
func (*ManagedIdentityResolver) AliasSource ¶ added in v0.2.0
func (r *ManagedIdentityResolver) AliasSource(ctx context.Context) (*ManagedIdentityResolver, error)
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
func (r *ManagedIdentityResolver) Aliases(ctx context.Context, args *ManagedIdentityConnectionQueryArgs) (*ManagedIdentityConnectionResolver, error)
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 ¶
func (r *ManagedIdentityResolver) Group(ctx context.Context) (*GroupResolver, error)
Group resolver
func (*ManagedIdentityResolver) GroupPath ¶ added in v0.5.0
func (r *ManagedIdentityResolver) GroupPath() string
GroupPath resolver
func (*ManagedIdentityResolver) IsAlias ¶ added in v0.2.0
func (r *ManagedIdentityResolver) IsAlias() bool
IsAlias resolver
func (*ManagedIdentityResolver) Metadata ¶
func (r *ManagedIdentityResolver) Metadata() *MetadataResolver
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
type MigrateGroupInput ¶ added in v0.8.0
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 ¶
func NewNamespaceMembershipConnectionResolver(ctx context.Context, input *namespacemembership.GetNamespaceMembershipsForSubjectInput, ) (*NamespaceMembershipConnectionResolver, error)
NewNamespaceMembershipConnectionResolver creates a new NamespaceMembershipConnectionResolver
func (*NamespaceMembershipConnectionResolver) Edges ¶
func (r *NamespaceMembershipConnectionResolver) Edges() *[]*NamespaceMembershipEdgeResolver
Edges returns the connection edges
func (*NamespaceMembershipConnectionResolver) PageInfo ¶
func (r *NamespaceMembershipConnectionResolver) PageInfo() *PageInfoResolver
PageInfo returns the connection page information
func (*NamespaceMembershipConnectionResolver) TotalCount ¶
func (r *NamespaceMembershipConnectionResolver) TotalCount() int32
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 ¶
func (r *NamespaceMembershipEdgeResolver) Cursor() (string, error)
Cursor returns an opaque cursor
func (*NamespaceMembershipEdgeResolver) Node ¶
func (r *NamespaceMembershipEdgeResolver) Node() (*NamespaceMembershipResolver, error)
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 ¶
func (r *NamespaceMembershipMutationPayloadResolver) Namespace(ctx context.Context) (*NamespaceResolver, error)
Namespace field resolver
type NamespaceMembershipResolver ¶
type NamespaceMembershipResolver struct {
// contains filtered or unexported fields
}
NamespaceMembershipResolver resolves a namespace membership resource
func (*NamespaceMembershipResolver) ID ¶
func (r *NamespaceMembershipResolver) ID() graphql.ID
ID resolver
func (*NamespaceMembershipResolver) Member ¶
func (r *NamespaceMembershipResolver) Member(ctx context.Context) (*MemberResolver, error)
Member resolver
func (*NamespaceMembershipResolver) Metadata ¶
func (r *NamespaceMembershipResolver) Metadata() *MetadataResolver
Metadata resolver
func (*NamespaceMembershipResolver) Namespace ¶
func (r *NamespaceMembershipResolver) Namespace(ctx context.Context) (*NamespaceResolver, error)
Namespace resolver
func (*NamespaceMembershipResolver) ResourcePath ¶
func (r *NamespaceMembershipResolver) ResourcePath() string
ResourcePath resolver
func (*NamespaceMembershipResolver) Role ¶
func (r *NamespaceMembershipResolver) Role(ctx context.Context) (*RoleResolver, error)
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 ¶
func (r *NamespaceResolver) ActivityEvents(ctx context.Context, args *ActivityEventConnectionQueryArgs, ) (*ActivityEventConnectionResolver, error)
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) ManagedIdentities ¶
func (r *NamespaceResolver) ManagedIdentities(ctx context.Context, args *ManagedIdentityConnectionQueryArgs) (*ManagedIdentityConnectionResolver, error)
ManagedIdentities resolver
func (*NamespaceResolver) Memberships ¶
func (r *NamespaceResolver) Memberships(ctx context.Context) ([]*NamespaceMembershipResolver, error)
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) ServiceAccounts ¶
func (r *NamespaceResolver) ServiceAccounts(ctx context.Context, args *ServiceAccountsConnectionQueryArgs) (*ServiceAccountConnectionResolver, error)
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 ¶
func (r *NamespaceResolver) Variables(ctx context.Context) ([]*NamespaceVariableResolver, error)
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) ID ¶
func (r *NamespaceVariableResolver) ID() graphql.ID
ID resolver
func (*NamespaceVariableResolver) Key ¶
func (r *NamespaceVariableResolver) Key() string
Key resolver
func (*NamespaceVariableResolver) Metadata ¶
func (r *NamespaceVariableResolver) Metadata() *MetadataResolver
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) 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) 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) ToRole ¶ added in v0.9.0
func (r *NodeResolver) ToRole() (*RoleResolver, bool)
ToRole 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) 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) 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 (*NodeResolver) ToWorkspaceVCSProviderLink ¶
func (r *NodeResolver) ToWorkspaceVCSProviderLink() (*WorkspaceVCSProviderLinkResolver, bool)
ToWorkspaceVCSProviderLink resolver
type OIDCTrustPolicy ¶
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 ¶
PlanMutationPayload is the response payload for plan mutation
type PlanMutationPayloadResolver ¶
type PlanMutationPayloadResolver struct {
PlanMutationPayload
}
PlanMutationPayloadResolver resolves a PlanMutationPayload
func (*PlanMutationPayloadResolver) Plan ¶
func (r *PlanMutationPayloadResolver) Plan() *PlanResolver
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) 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
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 ¶
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 ¶
func (r *ResetVCSProviderOAuthTokenMutationPayloadResolver) VCSProvider() *VCSProviderResolver
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
func (r *ResourceLimitMutationPayloadResolver) ResourceLimit() *ResourceLimitResolver
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
func (r *ResourceLimitResolver) ID() graphql.ID
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
func (r *RoleConnectionResolver) Edges() *[]*RoleEdgeResolver
Edges returns the connection edges
func (*RoleConnectionResolver) PageInfo ¶ added in v0.9.0
func (r *RoleConnectionResolver) PageInfo() *PageInfoResolver
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
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
func (r *RoleMutationPayloadResolver) Role() *RoleResolver
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) Metadata ¶ added in v0.9.0
func (r *RoleResolver) Metadata() *MetadataResolver
Metadata 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 (RootResolver) ActivityEvents ¶
func (r RootResolver) ActivityEvents(ctx context.Context, args *ActivityEventConnectionQueryArgs, ) (*ActivityEventConnectionResolver, error)
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 ¶
func (r RootResolver) ConfigurationVersion(ctx context.Context, args *ConfigurationVersionQueryArgs) (*ConfigurationVersionResolver, error)
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 (RootResolver) CreateWorkspaceVCSProviderLink ¶
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 (RootResolver) DeleteWorkspaceVCSProviderLink ¶
func (r RootResolver) DeleteWorkspaceVCSProviderLink(ctx context.Context, args *struct { Input *DeleteWorkspaceVCSProviderLinkInput }, ) (*WorkspaceVCSProviderLinkMutationPayloadResolver, error)
DeleteWorkspaceVCSProviderLink deletes a vcs provider link
func (RootResolver) Group ¶
func (r RootResolver) Group(ctx context.Context, args *GroupQueryArgs) (*GroupResolver, error)
Group query returns a group by full path
func (RootResolver) Groups ¶
func (r RootResolver) Groups(ctx context.Context, args *GroupConnectionQueryArgs) (*GroupConnectionResolver, error)
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 ¶
func (r RootResolver) ManagedIdentity(ctx context.Context, args *ManagedIdentityQueryArgs) (*ManagedIdentityResolver, error)
ManagedIdentity query returns a managed identity
func (RootResolver) Me ¶
func (r RootResolver) Me(ctx context.Context) (*MeResponseResolver, error)
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 ¶
func (r RootResolver) Namespace(ctx context.Context, args *NamespaceQueryArgs) (*NamespaceResolver, error)
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
func (r RootResolver) Role(ctx context.Context, args *RoleQueryArgs) (*RoleResolver, error)
Role query returns a role by name
func (RootResolver) Roles ¶ added in v0.9.0
func (r RootResolver) Roles(ctx context.Context, args *RolesConnectionQueryArgs) (*RoleConnectionResolver, error)
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 ¶
func (r RootResolver) Runs(ctx context.Context, args *RunConnectionQueryArgs) (*RunConnectionResolver, error)
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 ¶
func (r RootResolver) ServiceAccount(ctx context.Context, args *ServiceAccountQueryArgs) (*ServiceAccountResolver, error)
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 ¶
func (r RootResolver) Team(ctx context.Context, args *TeamQueryArgs) (*TeamResolver, error)
Team query returns a team by name
func (RootResolver) Teams ¶
func (r RootResolver) Teams(ctx context.Context, args *TeamConnectionQueryArgs) (*TeamConnectionResolver, error)
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 ¶
func (r RootResolver) TerraformModule(ctx context.Context, args *TerraformModuleQueryArgs) (*TerraformModuleResolver, error)
TerraformModule query returns a terraform module by address
func (RootResolver) TerraformModuleVersion ¶
func (r RootResolver) TerraformModuleVersion(ctx context.Context, args *TerraformModuleVersionQueryArgs) (*TerraformModuleVersionResolver, error)
TerraformModuleVersion query returns a terraform module version
func (RootResolver) TerraformModules ¶
func (r RootResolver) TerraformModules(ctx context.Context, args *TerraformModuleConnectionQueryArgs) (*TerraformModuleConnectionResolver, error)
TerraformModules query returns a terraform module connection
func (RootResolver) TerraformProvider ¶
func (r RootResolver) TerraformProvider(ctx context.Context, args *TerraformProviderQueryArgs) (*TerraformProviderResolver, error)
TerraformProvider query returns a terraform provider by address
func (RootResolver) TerraformProviderVersion ¶
func (r RootResolver) TerraformProviderVersion(ctx context.Context, args *TerraformProviderVersionQueryArgs) (*TerraformProviderVersionResolver, error)
TerraformProviderVersion query returns a terraform provider version
func (RootResolver) TerraformProviderVersionMirror ¶ added in v0.12.0
func (r RootResolver) TerraformProviderVersionMirror(ctx context.Context, args *TerraformProviderVersionMirrorQueryArgs) (*TerraformProviderVersionMirrorResolver, error)
TerraformProviderVersionMirror query returns a terraform provider version mirror by address.
func (RootResolver) TerraformProviders ¶
func (r RootResolver) TerraformProviders(ctx context.Context, args *TerraformProviderConnectionQueryArgs) (*TerraformProviderConnectionResolver, error)
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 (RootResolver) UpdateWorkspaceVCSProviderLink ¶
func (r RootResolver) UpdateWorkspaceVCSProviderLink(ctx context.Context, args *struct { Input *UpdateWorkspaceVCSProviderLinkInput }, ) (*WorkspaceVCSProviderLinkMutationPayloadResolver, error)
UpdateWorkspaceVCSProviderLink updates a vcs provider link
func (RootResolver) Users ¶
func (r RootResolver) Users(ctx context.Context, args *UserConnectionQueryArgs) (*UserConnectionResolver, error)
Users query returns a user connection
func (RootResolver) Workspace ¶
func (r RootResolver) Workspace(ctx context.Context, args *WorkspaceQueryArgs) (*WorkspaceResolver, error)
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 ¶
func (r RootResolver) Workspaces(ctx context.Context, args *WorkspaceConnectionQueryArgs) (*WorkspaceConnectionResolver, error)
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
type RunMutationPayload ¶
RunMutationPayload is the response payload for a run mutation
type RunMutationPayloadResolver ¶
type RunMutationPayloadResolver struct {
RunMutationPayload
}
RunMutationPayloadResolver resolves a RunMutationPayload
func (*RunMutationPayloadResolver) Run ¶
func (r *RunMutationPayloadResolver) Run() *RunResolver
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) ConfigurationVersion ¶
func (r *RunResolver) ConfigurationVersion(ctx context.Context) (*ConfigurationVersionResolver, error)
ConfigurationVersion 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) 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) 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 ¶
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) NamespacePath ¶
func (r *RunVariableResolver) NamespacePath() *string
NamespacePath 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
func (r *RunnerConnectionResolver) Edges() *[]*RunnerEdgeResolver
Edges returns the connection edges
func (*RunnerConnectionResolver) PageInfo ¶ added in v0.8.0
func (r *RunnerConnectionResolver) PageInfo() *PageInfoResolver
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
func (r *RunnerMutationPayloadResolver) Runner() *RunnerResolver
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) Metadata ¶ added in v0.8.0
func (r *RunnerResolver) Metadata() *MetadataResolver
Metadata resolver
func (*RunnerResolver) ResourcePath ¶ added in v0.8.0
func (r *RunnerResolver) ResourcePath() string
ResourcePath resolver
type RunnersConnectionQueryArgs ¶ added in v0.8.0
type RunnersConnectionQueryArgs struct { ConnectionQueryArgs IncludeInherited *bool }
RunnersConnectionQueryArgs are used to query a runner connection
type SCIMTokenPayload ¶
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 ¶
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 ¶
func (r *ServiceAccountConnectionResolver) Edges() *[]*ServiceAccountEdgeResolver
Edges returns the connection edges
func (*ServiceAccountConnectionResolver) PageInfo ¶
func (r *ServiceAccountConnectionResolver) PageInfo() *PageInfoResolver
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 ¶
func (r *ServiceAccountEdgeResolver) Node() (*ServiceAccountResolver, error)
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 ¶
func (r *ServiceAccountMutationPayloadResolver) ServiceAccount() *ServiceAccountResolver
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 ¶
func (r *ServiceAccountResolver) ActivityEvents(ctx context.Context, args *ActivityEventConnectionQueryArgs, ) (*ActivityEventConnectionResolver, error)
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 ¶
func (r *ServiceAccountResolver) Group(ctx context.Context) (*GroupResolver, error)
Group resolver
func (*ServiceAccountResolver) GroupPath ¶ added in v0.5.0
func (r *ServiceAccountResolver) GroupPath() string
GroupPath resolver
func (*ServiceAccountResolver) Metadata ¶
func (r *ServiceAccountResolver) Metadata() *MetadataResolver
Metadata resolver
func (*ServiceAccountResolver) NamespaceMemberships ¶
func (r *ServiceAccountResolver) NamespaceMemberships(ctx context.Context, args *ConnectionQueryArgs, ) (*NamespaceMembershipConnectionResolver, error)
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
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 ¶
func (r *StateVersionConnectionResolver) Edges() *[]*StateVersionEdgeResolver
Edges returns the connection edges
func (*StateVersionConnectionResolver) PageInfo ¶
func (r *StateVersionConnectionResolver) PageInfo() *PageInfoResolver
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 ¶
func (r *StateVersionDependencyResolver) StateVersion(ctx context.Context) (*StateVersionResolver, error)
StateVersion resolver
func (*StateVersionDependencyResolver) Workspace ¶
func (r *StateVersionDependencyResolver) Workspace(ctx context.Context) (*WorkspaceResolver, error)
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 ¶
func (r *StateVersionEdgeResolver) Node() (*StateVersionResolver, error)
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 ¶
func (r *StateVersionMutationPayloadResolver) StateVersion() *StateVersionResolver
StateVersion field resolver
type StateVersionOutputResolver ¶
type StateVersionOutputResolver struct {
// contains filtered or unexported fields
}
StateVersionOutputResolver resolves a state version output resource
func (*StateVersionOutputResolver) ID ¶
func (r *StateVersionOutputResolver) ID() graphql.ID
ID resolver
func (*StateVersionOutputResolver) Metadata ¶
func (r *StateVersionOutputResolver) Metadata() *MetadataResolver
Metadata resolver
func (*StateVersionOutputResolver) Name ¶
func (r *StateVersionOutputResolver) Name() string
Name resolver
func (*StateVersionOutputResolver) Sensitive ¶
func (r *StateVersionOutputResolver) Sensitive() bool
Sensitive resolver
func (*StateVersionOutputResolver) Type ¶
func (r *StateVersionOutputResolver) Type() string
Type resolver
func (*StateVersionOutputResolver) Value ¶
func (r *StateVersionOutputResolver) Value() string
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 ¶
func (r *StateVersionResolver) Data(ctx context.Context) (string, error)
Data resolver
func (*StateVersionResolver) Dependencies ¶
func (r *StateVersionResolver) Dependencies(ctx context.Context) ([]*StateVersionDependencyResolver, error)
Dependencies resolver
func (*StateVersionResolver) Metadata ¶
func (r *StateVersionResolver) Metadata() *MetadataResolver
Metadata resolver
func (*StateVersionResolver) Outputs ¶
func (r *StateVersionResolver) Outputs(ctx context.Context) ([]*StateVersionOutputResolver, error)
Outputs resolver (does not need connection resolver, because it's not doing pagination)
func (*StateVersionResolver) Resources ¶
func (r *StateVersionResolver) Resources(ctx context.Context) ([]*workspace.StateVersionResource, error)
Resources resolver
func (*StateVersionResolver) Run ¶
func (r *StateVersionResolver) Run(ctx context.Context) (*RunResolver, error)
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 ¶
func (r *TeamConnectionResolver) Edges() *[]*TeamEdgeResolver
Edges returns the connection edges
func (*TeamConnectionResolver) PageInfo ¶
func (r *TeamConnectionResolver) PageInfo() *PageInfoResolver
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 ¶
func (r *TeamMemberConnectionResolver) Edges() *[]*TeamMemberEdgeResolver
Edges returns the connection edges
func (*TeamMemberConnectionResolver) PageInfo ¶
func (r *TeamMemberConnectionResolver) PageInfo() *PageInfoResolver
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 ¶
func (r *TeamMemberEdgeResolver) Node() (*TeamMemberResolver, error)
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 ¶
func (r *TeamMemberMutationPayloadResolver) TeamMember() *TeamMemberResolver
TeamMember field resolver
type TeamMemberResolver ¶
type TeamMemberResolver struct {
// contains filtered or unexported fields
}
TeamMemberResolver resolves a team member resource
func (*TeamMemberResolver) IsMaintainer ¶
func (r *TeamMemberResolver) IsMaintainer() bool
IsMaintainer resolver
func (*TeamMemberResolver) Metadata ¶
func (r *TeamMemberResolver) Metadata() *MetadataResolver
Metadata resolver
func (*TeamMemberResolver) Team ¶
func (r *TeamMemberResolver) Team(ctx context.Context) (*TeamResolver, error)
Team resolver
func (*TeamMemberResolver) User ¶
func (r *TeamMemberResolver) User(ctx context.Context) (*UserResolver, error)
User resolver
type TeamMutationPayload ¶
TeamMutationPayload is the response payload for a team mutation
type TeamMutationPayloadResolver ¶
type TeamMutationPayloadResolver struct {
TeamMutationPayload
}
TeamMutationPayloadResolver resolves a TeamMutationPayload
func (*TeamMutationPayloadResolver) Team ¶
func (r *TeamMutationPayloadResolver) Team() *TeamResolver
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) Members ¶
func (r *TeamResolver) Members(ctx context.Context, args *ConnectionQueryArgs) (*TeamMemberConnectionResolver, error)
Members resolver
func (*TeamResolver) Metadata ¶
func (r *TeamResolver) Metadata() *MetadataResolver
Metadata 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 ¶
func (r *TerraformModuleAttestationConnectionResolver) Edges() *[]*TerraformModuleAttestationEdgeResolver
Edges returns the connection edges
func (*TerraformModuleAttestationConnectionResolver) PageInfo ¶
func (r *TerraformModuleAttestationConnectionResolver) PageInfo() *PageInfoResolver
PageInfo returns the connection page information
func (*TerraformModuleAttestationConnectionResolver) TotalCount ¶
func (r *TerraformModuleAttestationConnectionResolver) TotalCount() int32
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 ¶
func (r *TerraformModuleAttestationEdgeResolver) Cursor() (string, error)
Cursor returns an opaque cursor
func (*TerraformModuleAttestationEdgeResolver) Node ¶
func (r *TerraformModuleAttestationEdgeResolver) Node() (*TerraformModuleAttestationResolver, error)
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 ¶
func (r *TerraformModuleAttestationMutationPayloadResolver) ModuleAttestation() *TerraformModuleAttestationResolver
ModuleAttestation field resolver
type TerraformModuleAttestationResolver ¶
type TerraformModuleAttestationResolver struct {
// contains filtered or unexported fields
}
TerraformModuleAttestationResolver resolves a module attestation resource
func (*TerraformModuleAttestationResolver) CreatedBy ¶
func (r *TerraformModuleAttestationResolver) CreatedBy() string
CreatedBy resolver
func (*TerraformModuleAttestationResolver) Data ¶
func (r *TerraformModuleAttestationResolver) Data() string
Data resolver
func (*TerraformModuleAttestationResolver) Description ¶
func (r *TerraformModuleAttestationResolver) Description() string
Description resolver
func (*TerraformModuleAttestationResolver) Digests ¶
func (r *TerraformModuleAttestationResolver) Digests() []string
Digests resolver
func (*TerraformModuleAttestationResolver) ID ¶
func (r *TerraformModuleAttestationResolver) ID() graphql.ID
ID resolver
func (*TerraformModuleAttestationResolver) Metadata ¶
func (r *TerraformModuleAttestationResolver) Metadata() *MetadataResolver
Metadata resolver
func (*TerraformModuleAttestationResolver) Module ¶
func (r *TerraformModuleAttestationResolver) Module(ctx context.Context) (*TerraformModuleResolver, error)
Module resolver
func (*TerraformModuleAttestationResolver) PredicateType ¶
func (r *TerraformModuleAttestationResolver) PredicateType() string
PredicateType resolver
func (*TerraformModuleAttestationResolver) SchemaType ¶
func (r *TerraformModuleAttestationResolver) SchemaType() string
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 ¶
func (r *TerraformModuleConnectionResolver) Edges() *[]*TerraformModuleEdgeResolver
Edges returns the connection edges
func (*TerraformModuleConnectionResolver) PageInfo ¶
func (r *TerraformModuleConnectionResolver) PageInfo() *PageInfoResolver
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 ¶
func (r *TerraformModuleEdgeResolver) Node() (*TerraformModuleResolver, error)
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 ¶
func (r *TerraformModuleMutationPayloadResolver) Module() *TerraformModuleResolver
Module field resolver
type TerraformModuleQueryArgs ¶
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 ¶
func (r *TerraformModuleResolver) Attestations(ctx context.Context, args *TerraformModuleAttestationConnectionQueryArgs) (*TerraformModuleAttestationConnectionResolver, error)
Attestations resolver
func (*TerraformModuleResolver) CreatedBy ¶
func (r *TerraformModuleResolver) CreatedBy() string
CreatedBy resolver
func (*TerraformModuleResolver) Group ¶
func (r *TerraformModuleResolver) Group(ctx context.Context) (*GroupResolver, error)
Group resolver
func (*TerraformModuleResolver) GroupPath ¶ added in v0.5.0
func (r *TerraformModuleResolver) GroupPath() string
GroupPath resolver
func (*TerraformModuleResolver) LatestVersion ¶
func (r *TerraformModuleResolver) LatestVersion(ctx context.Context) (*TerraformModuleVersionResolver, error)
LatestVersion resolver
func (*TerraformModuleResolver) Metadata ¶
func (r *TerraformModuleResolver) Metadata() *MetadataResolver
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 ¶
func (r *TerraformModuleResolver) Source(ctx context.Context) string
Source resolver
func (*TerraformModuleResolver) System ¶
func (r *TerraformModuleResolver) System() string
System resolver
func (*TerraformModuleResolver) Versions ¶
func (r *TerraformModuleResolver) Versions(ctx context.Context, args *TerraformModuleVersionsConnectionQueryArgs) (*TerraformModuleVersionConnectionResolver, error)
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 ¶
func (r *TerraformModuleVersionConnectionResolver) Edges() *[]*TerraformModuleVersionEdgeResolver
Edges returns the connection edges
func (*TerraformModuleVersionConnectionResolver) PageInfo ¶
func (r *TerraformModuleVersionConnectionResolver) PageInfo() *PageInfoResolver
PageInfo returns the connection page information
func (*TerraformModuleVersionConnectionResolver) TotalCount ¶
func (r *TerraformModuleVersionConnectionResolver) TotalCount() int32
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 ¶
func (r *TerraformModuleVersionEdgeResolver) Cursor() (string, error)
Cursor returns an opaque cursor
func (*TerraformModuleVersionEdgeResolver) Node ¶
func (r *TerraformModuleVersionEdgeResolver) Node() (*TerraformModuleVersionResolver, error)
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 ¶
func (r *TerraformModuleVersionMutationPayloadResolver) ModuleVersion() *TerraformModuleVersionResolver
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 ¶
func (r *TerraformModuleVersionResolver) Attestations(ctx context.Context, args *TerraformModuleAttestationConnectionQueryArgs) (*TerraformModuleAttestationConnectionResolver, error)
Attestations resolver
func (*TerraformModuleVersionResolver) ConfigurationDetails ¶
func (r *TerraformModuleVersionResolver) ConfigurationDetails(ctx context.Context, args *TerraformModuleVersionConfigurationDetailsQueryArgs) (*moduleregistry.ModuleConfigurationDetails, error)
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 ¶
func (r *TerraformModuleVersionResolver) Error() string
Error resolver
func (*TerraformModuleVersionResolver) Examples ¶
func (r *TerraformModuleVersionResolver) Examples() []string
Examples resolver
func (*TerraformModuleVersionResolver) ID ¶
func (r *TerraformModuleVersionResolver) ID() graphql.ID
ID resolver
func (*TerraformModuleVersionResolver) Latest ¶
func (r *TerraformModuleVersionResolver) Latest() bool
Latest resolver
func (*TerraformModuleVersionResolver) Metadata ¶
func (r *TerraformModuleVersionResolver) Metadata() *MetadataResolver
Metadata resolver
func (*TerraformModuleVersionResolver) Module ¶
func (r *TerraformModuleVersionResolver) Module(ctx context.Context) (*TerraformModuleResolver, error)
Module resolver
func (*TerraformModuleVersionResolver) SHASum ¶
func (r *TerraformModuleVersionResolver) SHASum() string
SHASum resolver
func (*TerraformModuleVersionResolver) Status ¶
func (r *TerraformModuleVersionResolver) Status() string
Status resolver
func (*TerraformModuleVersionResolver) Submodules ¶
func (r *TerraformModuleVersionResolver) Submodules() []string
Submodules resolver
func (*TerraformModuleVersionResolver) Version ¶
func (r *TerraformModuleVersionResolver) Version() string
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 ¶
func (r *TerraformProviderConnectionResolver) Edges() *[]*TerraformProviderEdgeResolver
Edges returns the connection edges
func (*TerraformProviderConnectionResolver) PageInfo ¶
func (r *TerraformProviderConnectionResolver) PageInfo() *PageInfoResolver
PageInfo returns the connection page information
func (*TerraformProviderConnectionResolver) TotalCount ¶
func (r *TerraformProviderConnectionResolver) TotalCount() int32
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 ¶
func (r *TerraformProviderEdgeResolver) Cursor() (string, error)
Cursor returns an opaque cursor
func (*TerraformProviderEdgeResolver) Node ¶
func (r *TerraformProviderEdgeResolver) Node() (*TerraformProviderResolver, error)
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 ¶
func (r *TerraformProviderMutationPayloadResolver) Provider() *TerraformProviderResolver
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
func (r *TerraformProviderPlatformMirrorMutationPayloadResolver) PlatformMirror() *TerraformProviderPlatformMirrorResolver
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
func (r *TerraformProviderPlatformMirrorResolver) Arch() string
Arch resolver
func (*TerraformProviderPlatformMirrorResolver) ID ¶ added in v0.12.0
func (r *TerraformProviderPlatformMirrorResolver) ID() graphql.ID
ID resolver
func (*TerraformProviderPlatformMirrorResolver) Metadata ¶ added in v0.12.0
func (r *TerraformProviderPlatformMirrorResolver) Metadata() *MetadataResolver
Metadata resolver
func (*TerraformProviderPlatformMirrorResolver) OS ¶ added in v0.12.0
func (r *TerraformProviderPlatformMirrorResolver) OS() string
OS resolver
func (*TerraformProviderPlatformMirrorResolver) VersionMirror ¶ added in v0.12.0
func (r *TerraformProviderPlatformMirrorResolver) VersionMirror(ctx context.Context) (*TerraformProviderVersionMirrorResolver, error)
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 ¶
func (r *TerraformProviderPlatformMutationPayloadResolver) ProviderPlatform() *TerraformProviderPlatformResolver
ProviderPlatform field resolver
type TerraformProviderPlatformResolver ¶
type TerraformProviderPlatformResolver struct {
// contains filtered or unexported fields
}
TerraformProviderPlatformResolver resolves a providerPlatform resource
func (*TerraformProviderPlatformResolver) Arch ¶
func (r *TerraformProviderPlatformResolver) Arch() string
Arch resolver
func (*TerraformProviderPlatformResolver) BinaryUploaded ¶
func (r *TerraformProviderPlatformResolver) BinaryUploaded() bool
BinaryUploaded resolver
func (*TerraformProviderPlatformResolver) Filename ¶
func (r *TerraformProviderPlatformResolver) Filename() string
Filename resolver
func (*TerraformProviderPlatformResolver) ID ¶
func (r *TerraformProviderPlatformResolver) ID() graphql.ID
ID resolver
func (*TerraformProviderPlatformResolver) Metadata ¶
func (r *TerraformProviderPlatformResolver) Metadata() *MetadataResolver
Metadata resolver
func (*TerraformProviderPlatformResolver) OS ¶
func (r *TerraformProviderPlatformResolver) OS() string
OS resolver
func (*TerraformProviderPlatformResolver) ProviderVersion ¶
func (r *TerraformProviderPlatformResolver) ProviderVersion(ctx context.Context) (*TerraformProviderVersionResolver, error)
ProviderVersion resolver
func (*TerraformProviderPlatformResolver) SHASum ¶
func (r *TerraformProviderPlatformResolver) SHASum() string
SHASum resolver
type TerraformProviderQueryArgs ¶
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 ¶
func (r *TerraformProviderResolver) Group(ctx context.Context) (*GroupResolver, error)
Group resolver
func (*TerraformProviderResolver) GroupPath ¶ added in v0.5.0
func (r *TerraformProviderResolver) GroupPath() string
GroupPath resolver
func (*TerraformProviderResolver) ID ¶
func (r *TerraformProviderResolver) ID() graphql.ID
ID resolver
func (*TerraformProviderResolver) LatestVersion ¶
func (r *TerraformProviderResolver) LatestVersion(ctx context.Context) (*TerraformProviderVersionResolver, error)
LatestVersion resolver
func (*TerraformProviderResolver) Metadata ¶
func (r *TerraformProviderResolver) Metadata() *MetadataResolver
Metadata resolver
func (*TerraformProviderResolver) Name ¶
func (r *TerraformProviderResolver) Name() string
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 ¶
func (r *TerraformProviderResolver) Source(ctx context.Context) string
Source resolver
func (*TerraformProviderResolver) Versions ¶
func (r *TerraformProviderResolver) Versions(ctx context.Context, args *TerraformProviderVersionsConnectionQueryArgs) (*TerraformProviderVersionConnectionResolver, error)
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 ¶
func (r *TerraformProviderVersionConnectionResolver) Edges() *[]*TerraformProviderVersionEdgeResolver
Edges returns the connection edges
func (*TerraformProviderVersionConnectionResolver) PageInfo ¶
func (r *TerraformProviderVersionConnectionResolver) PageInfo() *PageInfoResolver
PageInfo returns the connection page information
func (*TerraformProviderVersionConnectionResolver) TotalCount ¶
func (r *TerraformProviderVersionConnectionResolver) TotalCount() int32
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 ¶
func (r *TerraformProviderVersionEdgeResolver) Cursor() (string, error)
Cursor returns an opaque cursor
func (*TerraformProviderVersionEdgeResolver) Node ¶
func (r *TerraformProviderVersionEdgeResolver) Node() (*TerraformProviderVersionResolver, error)
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
func (r *TerraformProviderVersionMirrorConnectionResolver) Edges() *[]*TerraformProviderVersionMirrorEdgeResolver
Edges returns the connection edges
func (*TerraformProviderVersionMirrorConnectionResolver) PageInfo ¶ added in v0.12.0
func (r *TerraformProviderVersionMirrorConnectionResolver) PageInfo() *PageInfoResolver
PageInfo returns the connection page information
func (*TerraformProviderVersionMirrorConnectionResolver) TotalCount ¶ added in v0.12.0
func (r *TerraformProviderVersionMirrorConnectionResolver) TotalCount() int32
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
func (r *TerraformProviderVersionMirrorEdgeResolver) Cursor() (string, error)
Cursor returns an opaque cursor
func (*TerraformProviderVersionMirrorEdgeResolver) Node ¶ added in v0.12.0
func (r *TerraformProviderVersionMirrorEdgeResolver) Node() (*TerraformProviderVersionMirrorResolver, error)
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
func (r *TerraformProviderVersionMirrorMutationPayloadResolver) VersionMirror() *TerraformProviderVersionMirrorResolver
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
func (r *TerraformProviderVersionMirrorResolver) CreatedBy() string
CreatedBy resolver
func (*TerraformProviderVersionMirrorResolver) Group ¶ added in v0.12.0
func (r *TerraformProviderVersionMirrorResolver) Group(ctx context.Context) (*GroupResolver, error)
Group resolver
func (*TerraformProviderVersionMirrorResolver) ID ¶ added in v0.12.0
func (r *TerraformProviderVersionMirrorResolver) ID() graphql.ID
ID resolver
func (*TerraformProviderVersionMirrorResolver) Metadata ¶ added in v0.12.0
func (r *TerraformProviderVersionMirrorResolver) Metadata() *MetadataResolver
Metadata resolver
func (*TerraformProviderVersionMirrorResolver) PlatformMirrors ¶ added in v0.12.0
func (r *TerraformProviderVersionMirrorResolver) PlatformMirrors(ctx context.Context) ([]*TerraformProviderPlatformMirrorResolver, error)
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
func (r *TerraformProviderVersionMirrorResolver) Type() string
Type resolver
func (*TerraformProviderVersionMirrorResolver) Version ¶ added in v0.12.0
func (r *TerraformProviderVersionMirrorResolver) Version() string
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 ¶
func (r *TerraformProviderVersionMutationPayloadResolver) ProviderVersion() *TerraformProviderVersionResolver
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 ¶
func (r *TerraformProviderVersionResolver) CreatedBy() string
CreatedBy resolver
func (*TerraformProviderVersionResolver) GPGASCIIArmor ¶
func (r *TerraformProviderVersionResolver) GPGASCIIArmor() *string
GPGASCIIArmor resolver
func (*TerraformProviderVersionResolver) GPGKeyID ¶
func (r *TerraformProviderVersionResolver) GPGKeyID() *string
GPGKeyID resolver
func (*TerraformProviderVersionResolver) ID ¶
func (r *TerraformProviderVersionResolver) ID() graphql.ID
ID resolver
func (*TerraformProviderVersionResolver) Latest ¶
func (r *TerraformProviderVersionResolver) Latest() bool
Latest resolver
func (*TerraformProviderVersionResolver) Metadata ¶
func (r *TerraformProviderVersionResolver) Metadata() *MetadataResolver
Metadata resolver
func (*TerraformProviderVersionResolver) Platforms ¶
func (r *TerraformProviderVersionResolver) Platforms(ctx context.Context) ([]*TerraformProviderPlatformResolver, error)
Platforms resolver
func (*TerraformProviderVersionResolver) Protocols ¶
func (r *TerraformProviderVersionResolver) Protocols() []string
Protocols resolver
func (*TerraformProviderVersionResolver) Provider ¶
func (r *TerraformProviderVersionResolver) Provider(ctx context.Context) (*TerraformProviderResolver, error)
Provider resolver
func (*TerraformProviderVersionResolver) Readme ¶
func (r *TerraformProviderVersionResolver) Readme(ctx context.Context) (string, error)
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 ¶
func (r *TerraformProviderVersionResolver) Version() string
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 ¶
func (r *UserConnectionResolver) Edges() *[]*UserEdgeResolver
Edges returns the connection edges
func (*UserConnectionResolver) PageInfo ¶
func (r *UserConnectionResolver) PageInfo() *PageInfoResolver
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) ActivityEvents ¶
func (r *UserResolver) ActivityEvents(ctx context.Context, args *ActivityEventConnectionQueryArgs, ) (*ActivityEventConnectionResolver, error)
ActivityEvents resolver
func (*UserResolver) Metadata ¶
func (r *UserResolver) Metadata() *MetadataResolver
Metadata resolver
func (*UserResolver) NamespaceMemberships ¶
func (r *UserResolver) NamespaceMemberships(ctx context.Context, args *ConnectionQueryArgs, ) (*NamespaceMembershipConnectionResolver, error)
NamespaceMemberships resolver
func (*UserResolver) SCIMExternalID ¶
func (r *UserResolver) SCIMExternalID() *string
SCIMExternalID 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 ¶
func (r *VCSEventConnectionResolver) Edges() *[]*VCSEventEdgeResolver
Edges returns the connection edges
func (*VCSEventConnectionResolver) PageInfo ¶
func (r *VCSEventConnectionResolver) PageInfo() *PageInfoResolver
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 ¶
func (r *VCSEventEdgeResolver) Node() (*VCSEventResolver, error)
Node returns a vcsEvent node
type VCSEventResolver ¶
type VCSEventResolver struct {
// contains filtered or unexported fields
}
VCSEventResolver resolves a vcsEvent resource
func (*VCSEventResolver) ErrorMessage ¶
func (r *VCSEventResolver) ErrorMessage() *string
ErrorMessage 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) 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 ¶
func (r *VCSProviderConnectionResolver) Edges() *[]*VCSProviderEdgeResolver
Edges returns the connection edges
func (*VCSProviderConnectionResolver) PageInfo ¶
func (r *VCSProviderConnectionResolver) PageInfo() *PageInfoResolver
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 ¶
func (r *VCSProviderEdgeResolver) Node() (*VCSProviderResolver, error)
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 ¶
func (r *VCSProviderMutationPayloadResolver) VCSProvider() *VCSProviderResolver
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 ¶
func (r *VCSProviderResolver) Group(ctx context.Context) (*GroupResolver, error)
Group resolver
func (*VCSProviderResolver) GroupPath ¶ added in v0.5.0
func (r *VCSProviderResolver) GroupPath() string
GroupPath resolver
func (*VCSProviderResolver) Metadata ¶
func (r *VCSProviderResolver) Metadata() *MetadataResolver
Metadata resolver
func (*VCSProviderResolver) ResourcePath ¶
func (r *VCSProviderResolver) ResourcePath() string
ResourcePath 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 ¶
func (r *VariableMutationPayloadResolver) Namespace(ctx context.Context) (*NamespaceResolver, error)
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 ¶
func (r *WorkspaceConnectionResolver) Edges() *[]*WorkspaceEdgeResolver
Edges returns the connection edges
func (*WorkspaceConnectionResolver) PageInfo ¶
func (r *WorkspaceConnectionResolver) PageInfo() *PageInfoResolver
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 ¶
func (r *WorkspaceEdgeResolver) Node() (*WorkspaceResolver, error)
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 ¶
func (r *WorkspaceMutationPayloadResolver) Workspace() *WorkspaceResolver
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 ¶
func (r *WorkspaceResolver) ActivityEvents(ctx context.Context, args *ActivityEventConnectionQueryArgs, ) (*ActivityEventConnectionResolver, error)
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 ¶
func (r *WorkspaceResolver) Group(ctx context.Context) (*GroupResolver, error)
Group resolver
func (*WorkspaceResolver) GroupPath ¶ added in v0.5.0
func (r *WorkspaceResolver) GroupPath() string
GroupPath resolver
func (*WorkspaceResolver) ManagedIdentities ¶
func (r *WorkspaceResolver) ManagedIdentities(ctx context.Context, args *ManagedIdentityConnectionQueryArgs) (*ManagedIdentityConnectionResolver, error)
ManagedIdentities resolver
func (*WorkspaceResolver) MaxJobDuration ¶
func (r *WorkspaceResolver) MaxJobDuration() int32
MaxJobDuration resolver
func (*WorkspaceResolver) Memberships ¶
func (r *WorkspaceResolver) Memberships(ctx context.Context) ([]*NamespaceMembershipResolver, error)
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) PreventDestroyPlan ¶
func (r *WorkspaceResolver) PreventDestroyPlan() bool
PreventDestroyPlan resolver
func (*WorkspaceResolver) ServiceAccounts ¶
func (r *WorkspaceResolver) ServiceAccounts(ctx context.Context, args *ServiceAccountsConnectionQueryArgs) (*ServiceAccountConnectionResolver, error)
ServiceAccounts resolver
func (*WorkspaceResolver) StateVersions ¶
func (r *WorkspaceResolver) StateVersions(ctx context.Context, args *StateVersionConnectionQueryArgs) (*StateVersionConnectionResolver, error)
StateVersions resolver
func (*WorkspaceResolver) TerraformVersion ¶
func (r *WorkspaceResolver) TerraformVersion() string
TerraformVersion resolver
func (*WorkspaceResolver) VCSEvents ¶
func (r *WorkspaceResolver) VCSEvents(ctx context.Context, args *VCSEventConnectionQueryArgs) (*VCSEventConnectionResolver, error)
VCSEvents resolver
func (*WorkspaceResolver) VCSProviders ¶
func (r *WorkspaceResolver) VCSProviders(ctx context.Context, args *VCSProviderConnectionQueryArgs) (*VCSProviderConnectionResolver, error)
VCSProviders resolver
func (*WorkspaceResolver) Variables ¶
func (r *WorkspaceResolver) Variables(ctx context.Context) ([]*NamespaceVariableResolver, error)
Variables resolver
func (*WorkspaceResolver) WorkspaceVCSProviderLink ¶
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
func (*WorkspaceVCSProviderLinkMutationPayloadResolver) VCSProviderLink ¶
func (r *WorkspaceVCSProviderLinkMutationPayloadResolver) VCSProviderLink() *WorkspaceVCSProviderLinkResolver
VCSProviderLink field resolver
func (*WorkspaceVCSProviderLinkMutationPayloadResolver) WebhookToken ¶
func (r *WorkspaceVCSProviderLinkMutationPayloadResolver) WebhookToken() *string
WebhookToken field resolver
func (*WorkspaceVCSProviderLinkMutationPayloadResolver) WebhookURL ¶
func (r *WorkspaceVCSProviderLinkMutationPayloadResolver) WebhookURL() *string
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 ¶
func (r *WorkspaceVCSProviderLinkResolver) Branch() string
Branch resolver
func (*WorkspaceVCSProviderLinkResolver) CreatedBy ¶
func (r *WorkspaceVCSProviderLinkResolver) CreatedBy() string
CreatedBy resolver
func (*WorkspaceVCSProviderLinkResolver) GlobPatterns ¶
func (r *WorkspaceVCSProviderLinkResolver) GlobPatterns() []string
GlobPatterns resolver
func (*WorkspaceVCSProviderLinkResolver) ID ¶
func (r *WorkspaceVCSProviderLinkResolver) ID() graphql.ID
ID resolver
func (*WorkspaceVCSProviderLinkResolver) Metadata ¶
func (r *WorkspaceVCSProviderLinkResolver) Metadata() *MetadataResolver
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 ¶
func (r *WorkspaceVCSProviderLinkResolver) TagRegex() *string
TagRegex resolver
func (*WorkspaceVCSProviderLinkResolver) VCSProvider ¶
func (r *WorkspaceVCSProviderLinkResolver) VCSProvider(ctx context.Context) (*VCSProviderResolver, error)
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 ¶
func (r *WorkspaceVCSProviderLinkResolver) Workspace(ctx context.Context) (*WorkspaceResolver, error)
Workspace resolver
Source Files ¶
- activityevent.go
- apply.go
- authsettings.go
- cliversion.go
- configurationversion.go
- connection.go
- gpgkey.go
- group.go
- job.go
- managedidentity.go
- me.go
- metadata.go
- namespace.go
- namespacemembership.go
- node.go
- plan.go
- problem.go
- resolver.go
- resourcelimit.go
- role.go
- root.go
- run.go
- runner.go
- scim.go
- serviceaccount.go
- stateversion.go
- stateversionoutput.go
- team.go
- terraformmodule.go
- terraformmoduleattestation.go
- terraformmoduleversion.go
- terraformprovider.go
- terraformproviderplatform.go
- terraformproviderplatformmirror.go
- terraformproviderversion.go
- terraformproviderversionmirror.go
- user.go
- variable.go
- vcsevents.go
- vcsprovider.go
- workspace.go
- workspacevcsproviderlink.go