Documentation ¶
Overview ¶
Package resolver contains functionality for interacting with the API via GraphQL. It supports queries, mutations, and subscriptions.
Index ¶
- func RegisterAgentLoader(collection *loader.Collection)
- func RegisterAgentSessionLogStreamLoader(collection *loader.Collection)
- func RegisterApprovalRuleLoader(collection *loader.Collection)
- func RegisterCommentLoader(collection *loader.Collection)
- func RegisterEnvironmentLoader(collection *loader.Collection)
- func RegisterEnvironmentRuleLoader(collection *loader.Collection)
- func RegisterJobLoader(collection *loader.Collection)
- func RegisterJobLogStreamLoader(collection *loader.Collection)
- func RegisterLifecycleTemplateLoader(collection *loader.Collection)
- func RegisterMembershipLoader(collection *loader.Collection)
- func RegisterOrganizationLoader(collection *loader.Collection)
- func RegisterPipelineLoader(collection *loader.Collection)
- func RegisterPipelineTemplateLoader(collection *loader.Collection)
- func RegisterPluginLoader(collection *loader.Collection)
- func RegisterPluginVersionLoader(collection *loader.Collection)
- func RegisterProjectLoader(collection *loader.Collection)
- func RegisterProjectVariableLoader(collection *loader.Collection)
- func RegisterProjectVariableSetLoader(collection *loader.Collection)
- func RegisterReleaseLifecycleLoader(collection *loader.Collection)
- func RegisterReleaseLoader(collection *loader.Collection)
- func RegisterRoleLoader(collection *loader.Collection)
- func RegisterServiceAccountLoader(collection *loader.Collection)
- func RegisterTeamLoader(collection *loader.Collection)
- func RegisterThreadLoader(collection *loader.Collection)
- func RegisterUserLoader(collection *loader.Collection)
- func RegisterVCSProviderLoader(collection *loader.Collection)
- type ActivityEventConnectionQueryArgs
- type ActivityEventConnectionResolver
- type ActivityEventCreateMembershipPayloadResolver
- type ActivityEventDeleteResourcePayloadResolver
- type ActivityEventEdgeResolver
- type ActivityEventPayloadResolver
- func (r *ActivityEventPayloadResolver) ToActivityEventCreateMembershipPayload() (*ActivityEventCreateMembershipPayloadResolver, bool)
- func (r *ActivityEventPayloadResolver) ToActivityEventDeleteResourcePayload() (*ActivityEventDeleteResourcePayloadResolver, bool)
- func (r *ActivityEventPayloadResolver) ToActivityEventRemoveMembershipPayload() (*ActivityEventRemoveMembershipPayloadResolver, bool)
- func (r *ActivityEventPayloadResolver) ToActivityEventUpdateMembershipPayload() (*models.ActivityEventUpdateMembershipPayload, bool)
- func (r *ActivityEventPayloadResolver) ToActivityEventUpdateReleasePayload() (*ActivityEventUpdateReleasePayloadResolver, bool)
- func (r *ActivityEventPayloadResolver) ToActivityEventUpdateTeamPayload() (*ActivityEventUpdateTeamPayloadResolver, bool)
- type ActivityEventRemoveMembershipPayloadResolver
- type ActivityEventResolver
- func (r *ActivityEventResolver) Action() models.ActivityEventAction
- func (r *ActivityEventResolver) ID() graphql.ID
- func (r *ActivityEventResolver) Initiator(ctx context.Context) (*MemberResolver, error)
- func (r *ActivityEventResolver) Metadata() *MetadataResolver
- func (r *ActivityEventResolver) Organization(ctx context.Context) (*OrganizationResolver, error)
- func (r *ActivityEventResolver) Payload() (*ActivityEventPayloadResolver, error)
- func (r *ActivityEventResolver) Project(ctx context.Context) (*ProjectResolver, error)
- func (r *ActivityEventResolver) Target(ctx context.Context) (*NodeResolver, error)
- func (r *ActivityEventResolver) TargetID() *string
- func (r *ActivityEventResolver) TargetType() models.ActivityEventTargetType
- type ActivityEventUpdateReleasePayloadResolver
- type ActivityEventUpdateTeamPayloadResolver
- type ActivityEventsSubscriptionInput
- type AddUserToTeamInput
- type AgentConnectionResolver
- type AgentEdgeResolver
- type AgentMutationPayload
- type AgentMutationPayloadResolver
- type AgentResolver
- func (r *AgentResolver) AssignedServiceAccounts(ctx context.Context, args *ConnectionQueryArgs) (*ServiceAccountConnectionResolver, error)
- func (r *AgentResolver) CreatedBy() string
- func (r *AgentResolver) Description() string
- func (r *AgentResolver) Disabled() bool
- func (r *AgentResolver) ID() graphql.ID
- func (r *AgentResolver) Jobs(ctx context.Context, args *ConnectionQueryArgs) (*JobConnectionResolver, error)
- func (r *AgentResolver) Metadata() *MetadataResolver
- func (r *AgentResolver) Name() string
- func (r *AgentResolver) Organization(ctx context.Context) (*OrganizationResolver, error)
- func (r *AgentResolver) RunUntaggedJobs() bool
- func (r *AgentResolver) Sessions(ctx context.Context, args *ConnectionQueryArgs) (*AgentSessionConnectionResolver, error)
- func (r *AgentResolver) Tags() []string
- func (r *AgentResolver) Type() models.AgentType
- type AgentSessionConnectionResolver
- type AgentSessionEdgeResolver
- type AgentSessionErrorLogEventResolver
- type AgentSessionErrorLogResolver
- type AgentSessionErrorLogSubscriptionInput
- type AgentSessionEventResolver
- type AgentSessionEventSubscriptionInput
- type AgentSessionResolver
- func (r *AgentSessionResolver) Active() bool
- func (r *AgentSessionResolver) Agent(ctx context.Context) (*AgentResolver, error)
- func (r *AgentSessionResolver) ErrorCount() int32
- func (r *AgentSessionResolver) ErrorLog(ctx context.Context) (*AgentSessionErrorLogResolver, error)
- func (r *AgentSessionResolver) ID() graphql.ID
- func (r *AgentSessionResolver) Internal() bool
- func (r *AgentSessionResolver) LastContacted() graphql.Time
- func (r *AgentSessionResolver) Metadata() *MetadataResolver
- type AggregatedMetricStatisticsResolver
- type AggregatedMetricStatisticsResultResolver
- type AggregatedMetricStatsQuery
- type AggregatedMetricStatsQueryArgs
- type ApprovalRuleConnectionQueryArgs
- type ApprovalRuleConnectionResolver
- type ApprovalRuleEdgeResolver
- type ApprovalRuleMutationPayload
- type ApprovalRuleMutationPayloadResolver
- type ApprovalRuleResolver
- func (r *ApprovalRuleResolver) ApprovalsRequired() int32
- func (r *ApprovalRuleResolver) CreatedBy() string
- func (r *ApprovalRuleResolver) Description() string
- func (r *ApprovalRuleResolver) ID() graphql.ID
- func (r *ApprovalRuleResolver) Metadata() *MetadataResolver
- func (r *ApprovalRuleResolver) Name() string
- func (r *ApprovalRuleResolver) Organization(ctx context.Context) (*OrganizationResolver, error)
- func (r *ApprovalRuleResolver) Project(ctx context.Context) (*ProjectResolver, error)
- func (r *ApprovalRuleResolver) Scope() models.ScopeType
- func (r *ApprovalRuleResolver) ServiceAccounts(ctx context.Context) ([]*ServiceAccountResolver, error)
- func (r *ApprovalRuleResolver) Teams(ctx context.Context) ([]*TeamResolver, error)
- func (r *ApprovalRuleResolver) Users(ctx context.Context) ([]*UserResolver, error)
- type ApprovePipelineInput
- type ApprovePipelineTaskInput
- type AssignServiceAccountToAgentInput
- type AuthSettingsResolver
- type CancelJobInput
- type CancelPipelineInput
- type CancelPipelineNodeScheduleInput
- type CommentEventResolver
- type CommentEventsSubscriptionInput
- type CommentMutationPayload
- type CommentMutationPayloadResolver
- type CommentResolver
- type Connection
- type ConnectionQueryArgs
- type CreateAgentInput
- type CreateApprovalRuleInput
- type CreateEnvironmentInput
- type CreateEnvironmentRuleInput
- type CreateLifecycleTemplateInput
- type CreateMembershipInput
- type CreateOrganizationInput
- type CreatePipelineCommentInput
- type CreatePipelineInput
- type CreatePipelineTemplateInput
- type CreatePluginInput
- type CreateProjectInput
- type CreateProjectVariableInput
- type CreateReleaseCommentInput
- type CreateReleaseInput
- type CreateReleaseLifecycleInput
- type CreateRoleInput
- type CreateServiceAccountInput
- type CreateTeamInput
- type CreateVCSProviderInput
- type DeleteAgentInput
- type DeleteApprovalRuleInput
- type DeleteCommentInput
- type DeleteEnvironmentInput
- type DeleteEnvironmentRuleInput
- type DeleteMembershipInput
- type DeleteOrganizationInput
- type DeletePipelineTemplateInput
- type DeletePluginInput
- type DeletePluginVersionInput
- type DeleteProjectInput
- type DeleteReleaseInput
- type DeleteReleaseLifecycleInput
- type DeleteRoleInput
- type DeleteServiceAccountInput
- type DeleteTeamInput
- type DeleteVCSProviderInput
- type DeploymentTemplateInput
- type Edge
- type EnvironmentConnectionResolver
- type EnvironmentEdgeResolver
- type EnvironmentMutationPayload
- type EnvironmentMutationPayloadResolver
- type EnvironmentResolver
- func (r *EnvironmentResolver) CreatedBy() string
- func (r *EnvironmentResolver) Description() string
- func (r *EnvironmentResolver) ID() graphql.ID
- func (r *EnvironmentResolver) Metadata() *MetadataResolver
- func (r *EnvironmentResolver) Name() string
- func (r *EnvironmentResolver) Pipelines(ctx context.Context, args *PipelineConnectionQueryArgs) (*PipelineConnectionResolver, error)
- func (r *EnvironmentResolver) Project(ctx context.Context) (*ProjectResolver, error)
- type EnvironmentRuleConnectionResolver
- type EnvironmentRuleEdgeResolver
- type EnvironmentRuleMutationPayload
- type EnvironmentRuleMutationPayloadResolver
- type EnvironmentRuleResolver
- func (r *EnvironmentRuleResolver) CreatedBy() string
- func (r *EnvironmentRuleResolver) EnvironmentName() string
- func (r *EnvironmentRuleResolver) ID() graphql.ID
- func (r *EnvironmentRuleResolver) Metadata() *MetadataResolver
- func (r *EnvironmentRuleResolver) Organization(ctx context.Context) (*OrganizationResolver, error)
- func (r *EnvironmentRuleResolver) OrganizationName(ctx context.Context) (string, error)
- func (r *EnvironmentRuleResolver) Project(ctx context.Context) (*ProjectResolver, error)
- func (r *EnvironmentRuleResolver) ProjectName(ctx context.Context) (*string, error)
- func (r *EnvironmentRuleResolver) Roles(ctx context.Context) ([]*RoleResolver, error)
- func (r *EnvironmentRuleResolver) Scope() models.ScopeType
- func (r *EnvironmentRuleResolver) ServiceAccounts(ctx context.Context) ([]*ServiceAccountResolver, error)
- func (r *EnvironmentRuleResolver) Teams(ctx context.Context) ([]*TeamResolver, error)
- func (r *EnvironmentRuleResolver) Users(ctx context.Context) ([]*UserResolver, error)
- type JWTClaim
- type JobCancellationEventResolver
- type JobCancellationEventSubscriptionInput
- type JobConnectionResolver
- type JobDataResolver
- type JobEdgeResolver
- type JobEventResolver
- type JobEventSubscriptionInput
- type JobLogStreamEventResolver
- type JobLogStreamSubscriptionInput
- type JobLogsQueryArgs
- type JobMutationPayload
- type JobMutationPayloadResolver
- type JobResolver
- func (r *JobResolver) Agent(ctx context.Context) (*AgentResolver, error)
- func (r *JobResolver) AgentName() *string
- func (r *JobResolver) AgentType() *string
- func (r *JobResolver) CancelRequestedAt() *graphql.Time
- func (r *JobResolver) Data() (*JobDataResolver, error)
- func (r *JobResolver) ForceCancelAvailableAt() *graphql.Time
- func (r *JobResolver) ForceCanceled() bool
- func (r *JobResolver) ForceCanceledBy() *string
- func (r *JobResolver) ID() graphql.ID
- func (r *JobResolver) Image() *string
- 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) Project(ctx context.Context) (*ProjectResolver, error)
- func (r *JobResolver) Status() string
- func (r *JobResolver) Tags() []string
- func (r *JobResolver) Timestamps() *JobTimestampsResolver
- func (r *JobResolver) Type() string
- type JobTaskData
- type JobTimestampsResolver
- type LifecycleTemplateConnectionQueryArgs
- type LifecycleTemplateConnectionResolver
- type LifecycleTemplateEdgeResolver
- type LifecycleTemplateMutationPayload
- type LifecycleTemplateMutationPayloadResolver
- type LifecycleTemplateResolver
- func (r *LifecycleTemplateResolver) CreatedBy() string
- func (r *LifecycleTemplateResolver) HCLData(ctx context.Context) (string, error)
- func (r *LifecycleTemplateResolver) ID() graphql.ID
- func (r *LifecycleTemplateResolver) Metadata() *MetadataResolver
- func (r *LifecycleTemplateResolver) Organization(ctx context.Context) (*OrganizationResolver, error)
- func (r *LifecycleTemplateResolver) Project(ctx context.Context) (*ProjectResolver, error)
- func (r *LifecycleTemplateResolver) Scope() models.ScopeType
- func (r *LifecycleTemplateResolver) Status() models.LifecycleTemplateStatus
- type MeResponseResolver
- type MemberResolver
- type MembershipConnectionQueryArgs
- type MembershipConnectionResolver
- type MembershipEdgeResolver
- type MembershipMutationPayload
- type MembershipMutationPayloadResolver
- type MembershipResolver
- func (r *MembershipResolver) ID() graphql.ID
- func (r *MembershipResolver) Member(ctx context.Context) (*MemberResolver, error)
- func (r *MembershipResolver) Metadata() *MetadataResolver
- func (r *MembershipResolver) Organization(ctx context.Context) (*OrganizationResolver, error)
- func (r *MembershipResolver) Project(ctx context.Context) (*ProjectResolver, error)
- func (r *MembershipResolver) Role(ctx context.Context) (*RoleResolver, error)
- func (r *MembershipResolver) Scope() models.ScopeType
- type MetadataInput
- type MetadataResolver
- type MetricConnectionQueryArgs
- type MetricConnectionResolver
- type MetricEdgeResolver
- type MetricResolver
- func (r *MetricResolver) EnvironmentName() *string
- func (r *MetricResolver) ID() graphql.ID
- func (r *MetricResolver) Metadata() *MetadataResolver
- func (r *MetricResolver) Name() models.MetricName
- func (r *MetricResolver) OrganizationID() *string
- func (r *MetricResolver) PipelineID() *string
- func (r *MetricResolver) ProjectID() *string
- func (r *MetricResolver) ReleaseID() *string
- func (r *MetricResolver) Tags() ([]*MetricTag, error)
- func (r *MetricResolver) Value() float64
- type MetricStatisticsResolver
- type MetricStatsQueryArgs
- type MetricTag
- type MetricsStatisticsResolver
- func (r *MetricsStatisticsResolver) ApprovalWaitTime(ctx context.Context) (*MetricStatisticsResolver, error)
- func (r *MetricsStatisticsResolver) DeploymentCanceledCount(ctx context.Context) (*MetricStatisticsResolver, error)
- func (r *MetricsStatisticsResolver) DeploymentDuration(ctx context.Context) (*MetricStatisticsResolver, error)
- func (r *MetricsStatisticsResolver) DeploymentFailureCount(ctx context.Context) (*MetricStatisticsResolver, error)
- func (r *MetricsStatisticsResolver) DeploymentLeadTime(ctx context.Context) (*MetricStatisticsResolver, error)
- func (r *MetricsStatisticsResolver) DeploymentRecoveryTime(ctx context.Context) (*MetricStatisticsResolver, error)
- func (r *MetricsStatisticsResolver) DeploymentSuccessCount(ctx context.Context) (*MetricStatisticsResolver, error)
- func (r *MetricsStatisticsResolver) ReleaseLeadTime(ctx context.Context) (*MetricStatisticsResolver, error)
- type NestedPipelineResolver
- func (r *NestedPipelineResolver) ApprovalStatus() models.PipelineApprovalStatus
- func (r *NestedPipelineResolver) CronSchedule() *PipelineCronScheduleResolver
- func (r *NestedPipelineResolver) Dependencies() []string
- func (r *NestedPipelineResolver) EnvironmentName() *string
- func (r *NestedPipelineResolver) Errors() []string
- func (r *NestedPipelineResolver) LatestPipeline(ctx context.Context) (*PipelineResolver, error)
- func (r *NestedPipelineResolver) Name() string
- func (r *NestedPipelineResolver) OnError() statemachine.OnErrorStrategy
- func (r *NestedPipelineResolver) Path() string
- func (r *NestedPipelineResolver) Pipelines(ctx context.Context, args *ConnectionQueryArgs) (*PipelineConnectionResolver, error)
- func (r *NestedPipelineResolver) ScheduledStartTime() *graphql.Time
- func (r *NestedPipelineResolver) Status() statemachine.NodeStatus
- func (r *NestedPipelineResolver) When(ctx context.Context) (string, error)
- type NodeResolver
- func (r *NodeResolver) ID() (graphql.ID, error)
- func (r *NodeResolver) ToAgent() (*AgentResolver, bool)
- func (r *NodeResolver) ToAgentSession() (*AgentSessionResolver, bool)
- func (r *NodeResolver) ToApprovalRule() (*ApprovalRuleResolver, bool)
- func (r *NodeResolver) ToComment() (*CommentResolver, bool)
- func (r *NodeResolver) ToEnvironment() (*EnvironmentResolver, bool)
- func (r *NodeResolver) ToEnvironmentRule() (*EnvironmentRuleResolver, bool)
- func (r *NodeResolver) ToJob() (*JobResolver, bool)
- func (r *NodeResolver) ToLifecycleTemplate() (*LifecycleTemplateResolver, bool)
- func (r *NodeResolver) ToMembership() (*MembershipResolver, bool)
- func (r *NodeResolver) ToOrganization() (*OrganizationResolver, bool)
- func (r *NodeResolver) ToPipeline() (*PipelineResolver, bool)
- func (r *NodeResolver) ToPipelineTemplate() (*PipelineTemplateResolver, bool)
- func (r *NodeResolver) ToPlugin() (*PluginResolver, bool)
- func (r *NodeResolver) ToPluginPlatform() (*PluginPlatformResolver, bool)
- func (r *NodeResolver) ToPluginVersion() (*PluginVersionResolver, bool)
- func (r *NodeResolver) ToProject() (*ProjectResolver, bool)
- func (r *NodeResolver) ToProjectVariable() (*ProjectVariableResolver, bool)
- func (r *NodeResolver) ToProjectVariableSet() (*ProjectVariableSetResolver, bool)
- func (r *NodeResolver) ToRelease() (*ReleaseResolver, bool)
- func (r *NodeResolver) ToReleaseLifecycle() (*ReleaseLifecycleResolver, bool)
- func (r *NodeResolver) ToRole() (*RoleResolver, bool)
- func (r *NodeResolver) ToServiceAccount() (*ServiceAccountResolver, bool)
- func (r *NodeResolver) ToTeam() (*TeamResolver, bool)
- func (r *NodeResolver) ToThread() (*ThreadResolver, bool)
- func (r *NodeResolver) ToUser() (*UserResolver, bool)
- func (r *NodeResolver) ToVCSProvider() (*VCSProviderResolver, bool)
- type OIDCTrustPolicy
- type OrganizationConnectionQueryArgs
- type OrganizationConnectionResolver
- type OrganizationEdgeResolver
- type OrganizationMutationPayload
- type OrganizationMutationPayloadResolver
- type OrganizationQueryArgs
- type OrganizationResolver
- func (r *OrganizationResolver) ActivityEvents(ctx context.Context, args *ActivityEventConnectionQueryArgs) (*ActivityEventConnectionResolver, error)
- func (r *OrganizationResolver) Agents(ctx context.Context, args *ConnectionQueryArgs) (*AgentConnectionResolver, error)
- func (r *OrganizationResolver) ApprovalRules(ctx context.Context, args *ConnectionQueryArgs) (*ApprovalRuleConnectionResolver, error)
- func (r *OrganizationResolver) CreatedBy() string
- func (r *OrganizationResolver) Description() string
- func (r *OrganizationResolver) EnvironmentNames(ctx context.Context) ([]string, error)
- func (r *OrganizationResolver) EnvironmentRules(ctx context.Context, args *ConnectionQueryArgs) (*EnvironmentRuleConnectionResolver, error)
- func (r *OrganizationResolver) ID() graphql.ID
- func (r *OrganizationResolver) LifecycleTemplates(ctx context.Context, args *ConnectionQueryArgs) (*LifecycleTemplateConnectionResolver, error)
- func (r *OrganizationResolver) Memberships(ctx context.Context, args *ConnectionQueryArgs) (*MembershipConnectionResolver, error)
- func (r *OrganizationResolver) Metadata() *MetadataResolver
- func (r *OrganizationResolver) MetricStats(input ...) *MetricsStatisticsResolver
- func (r *OrganizationResolver) Name() string
- func (r *OrganizationResolver) Projects(ctx context.Context, args *ProjectConnectionQueryArgs) (*ProjectConnectionResolver, error)
- func (r *OrganizationResolver) ReleaseLifecycles(ctx context.Context, args *ReleaseLifecycleConnectionQueryArgs) (*ReleaseLifecycleConnectionResolver, error)
- func (r *OrganizationResolver) ServiceAccounts(ctx context.Context, args *ServiceAccountConnectionQueryArgs) (*ServiceAccountConnectionResolver, error)
- func (r *OrganizationResolver) VCSProviders(ctx context.Context, args *VCSProviderConnectionQueryArgs) (*VCSProviderConnectionResolver, error)
- type PageInfo
- type PageInfoResolver
- type PatchProjectVariablesInput
- type PipelineActionOutputResolver
- type PipelineActionResolver
- type PipelineApprovalResolver
- func (r *PipelineApprovalResolver) ApprovalRules(ctx context.Context) ([]*ApprovalRuleResolver, error)
- func (r *PipelineApprovalResolver) Approver(ctx context.Context) (*MemberResolver, error)
- func (r *PipelineApprovalResolver) ID() graphql.ID
- func (r *PipelineApprovalResolver) Metadata() *MetadataResolver
- type PipelineConnectionQueryArgs
- type PipelineConnectionResolver
- type PipelineCronScheduleResolver
- type PipelineEdgeResolver
- type PipelineEventResolver
- type PipelineEventsSubscriptionInput
- type PipelineJobsConnectionQueryArgs
- type PipelineMutationPayload
- type PipelineMutationPayloadResolver
- type PipelineNodeQueryArgs
- type PipelineNodeResolver
- func (r *PipelineNodeResolver) ToNestedPipeline() (*NestedPipelineResolver, bool)
- func (r *PipelineNodeResolver) ToPipelineAction() (*PipelineActionResolver, bool)
- func (r *PipelineNodeResolver) ToPipelineStage() (*PipelineStageResolver, bool)
- func (r *PipelineNodeResolver) ToPipelineTask() (*PipelineTaskResolver, bool)
- type PipelineResolver
- func (r *PipelineResolver) Annotations() []*models.PipelineAnnotation
- func (r *PipelineResolver) ApprovalRules(ctx context.Context) ([]*ApprovalRuleResolver, error)
- func (r *PipelineResolver) ApprovalStatus() models.PipelineApprovalStatus
- func (r *PipelineResolver) Approvals(ctx context.Context) ([]*PipelineApprovalResolver, error)
- func (r *PipelineResolver) CreatedBy() string
- func (r *PipelineResolver) CronSchedule(ctx context.Context) (*PipelineCronScheduleResolver, error)
- func (r *PipelineResolver) Environment(ctx context.Context) (*EnvironmentResolver, error)
- func (r *PipelineResolver) EnvironmentName() *string
- func (r *PipelineResolver) ForceCancelAvailableAt(ctx context.Context) (*graphql.Time, error)
- func (r *PipelineResolver) ID() graphql.ID
- func (r *PipelineResolver) Jobs(ctx context.Context, args *PipelineJobsConnectionQueryArgs) (*JobConnectionResolver, error)
- func (r *PipelineResolver) Metadata() *MetadataResolver
- func (r *PipelineResolver) ParentPipeline(ctx context.Context) (*PipelineResolver, error)
- func (r *PipelineResolver) ParentPipelineNodePath() *string
- func (r *PipelineResolver) PipelineTemplate(ctx context.Context) (*PipelineTemplateResolver, error)
- func (r *PipelineResolver) Project(ctx context.Context) (*ProjectResolver, error)
- func (r *PipelineResolver) Release(ctx context.Context) (*ReleaseResolver, error)
- func (r *PipelineResolver) ScheduledStartTime(ctx context.Context) (*graphql.Time, error)
- func (r *PipelineResolver) Stages() []*PipelineStageResolver
- func (r *PipelineResolver) Status() statemachine.NodeStatus
- func (r *PipelineResolver) Superseded() bool
- func (r *PipelineResolver) Threads(ctx context.Context, args *ConnectionQueryArgs) (*ThreadConnectionResolver, error)
- func (r *PipelineResolver) Timestamps() *PipelineTimestampsResolver
- func (r *PipelineResolver) Type() models.PipelineType
- func (r *PipelineResolver) Variables(ctx context.Context) ([]*PipelineVariableResolver, error)
- func (r *PipelineResolver) When() string
- type PipelineStageResolver
- type PipelineTaskResolver
- func (r *PipelineTaskResolver) Actions() []*PipelineActionResolver
- func (r *PipelineTaskResolver) AgentTags() []string
- func (r *PipelineTaskResolver) ApprovalRules(ctx context.Context) ([]*ApprovalRuleResolver, error)
- func (r *PipelineTaskResolver) ApprovalStatus() models.PipelineApprovalStatus
- func (r *PipelineTaskResolver) Approvals(ctx context.Context) ([]*PipelineApprovalResolver, error)
- func (r *PipelineTaskResolver) AttemptCount() int32
- func (r *PipelineTaskResolver) CronSchedule() *PipelineCronScheduleResolver
- func (r *PipelineTaskResolver) CurrentJob(ctx context.Context) (*JobResolver, error)
- func (r *PipelineTaskResolver) Dependencies() []string
- func (r *PipelineTaskResolver) Errors() []string
- func (r *PipelineTaskResolver) Image() *string
- func (r *PipelineTaskResolver) Interval() *int32
- func (r *PipelineTaskResolver) Jobs(ctx context.Context, args *ConnectionQueryArgs) (*JobConnectionResolver, error)
- func (r *PipelineTaskResolver) LastAttemptFinishedAt() *graphql.Time
- func (r *PipelineTaskResolver) MaxAttempts() int32
- func (r *PipelineTaskResolver) Name() string
- func (r *PipelineTaskResolver) OnError() statemachine.OnErrorStrategy
- func (r *PipelineTaskResolver) Path() string
- func (r *PipelineTaskResolver) ScheduledStartTime() *graphql.Time
- func (r *PipelineTaskResolver) Status() statemachine.NodeStatus
- func (r *PipelineTaskResolver) When() string
- type PipelineTemplateConnectionQueryArgs
- type PipelineTemplateConnectionResolver
- type PipelineTemplateEdgeResolver
- type PipelineTemplateMutationPayload
- type PipelineTemplateMutationPayloadResolver
- type PipelineTemplateResolver
- func (r *PipelineTemplateResolver) CreatedBy() string
- func (r *PipelineTemplateResolver) HCLData(ctx context.Context) (string, error)
- func (r *PipelineTemplateResolver) ID() graphql.ID
- func (r *PipelineTemplateResolver) Latest() bool
- func (r *PipelineTemplateResolver) Metadata() *MetadataResolver
- func (r *PipelineTemplateResolver) Name() *string
- func (r *PipelineTemplateResolver) Project(ctx context.Context) (*ProjectResolver, error)
- func (r *PipelineTemplateResolver) SemanticVersion() *string
- func (r *PipelineTemplateResolver) Status() string
- func (r *PipelineTemplateResolver) Versioned() bool
- type PipelineTimestampsResolver
- type PipelineVariableResolver
- type PluginConnectionQueryArgs
- type PluginConnectionResolver
- type PluginDocFileQueryArgs
- type PluginEdgeResolver
- type PluginMutationPayload
- type PluginMutationPayloadResolver
- type PluginPlatformResolver
- func (r *PluginPlatformResolver) Arch() string
- func (r *PluginPlatformResolver) BinaryUploaded() bool
- func (r *PluginPlatformResolver) CreatedBy() string
- func (r *PluginPlatformResolver) Filename() string
- func (r *PluginPlatformResolver) ID() graphql.ID
- func (r *PluginPlatformResolver) Metadata() *MetadataResolver
- func (r *PluginPlatformResolver) OS() string
- func (r *PluginPlatformResolver) PluginVersion(ctx context.Context) (*PluginVersionResolver, error)
- func (r *PluginPlatformResolver) SHASum() string
- type PluginResolver
- func (r *PluginResolver) CreatedBy() string
- func (r *PluginResolver) ID() graphql.ID
- func (r *PluginResolver) LatestVersion(ctx context.Context) (*PluginVersionResolver, error)
- func (r *PluginResolver) Metadata() *MetadataResolver
- func (r *PluginResolver) Name() string
- func (r *PluginResolver) Organization(ctx context.Context) (*OrganizationResolver, error)
- func (r *PluginResolver) OrganizationName() string
- func (r *PluginResolver) Private() bool
- func (r *PluginResolver) RepositoryURL() string
- func (r *PluginResolver) Versions(ctx context.Context, args *ConnectionQueryArgs) (*PluginVersionConnectionResolver, error)
- type PluginVersionConnectionResolver
- type PluginVersionDocFileMetadataResolver
- func (r *PluginVersionDocFileMetadataResolver) Category() string
- func (r *PluginVersionDocFileMetadataResolver) FilePath() string
- func (r *PluginVersionDocFileMetadataResolver) Name() string
- func (r *PluginVersionDocFileMetadataResolver) Subcategory() string
- func (r *PluginVersionDocFileMetadataResolver) Title() string
- type PluginVersionEdgeResolver
- type PluginVersionMutationPayload
- type PluginVersionMutationPayloadResolver
- type PluginVersionResolver
- func (r *PluginVersionResolver) CreatedBy() string
- func (r *PluginVersionResolver) DocFiles() []*PluginVersionDocFileMetadataResolver
- func (r *PluginVersionResolver) ID() graphql.ID
- func (r *PluginVersionResolver) Latest() bool
- func (r *PluginVersionResolver) Metadata() *MetadataResolver
- func (r *PluginVersionResolver) Platforms(ctx context.Context) ([]*PluginPlatformResolver, error)
- func (r *PluginVersionResolver) Plugin(ctx context.Context) (*PluginResolver, error)
- func (r *PluginVersionResolver) Protocols() []string
- func (r *PluginVersionResolver) Readme(ctx context.Context) (string, error)
- func (r *PluginVersionResolver) ReadmeUploaded() bool
- func (r *PluginVersionResolver) SHASumsUploaded() bool
- func (r *PluginVersionResolver) Version() string
- type Problem
- type ProblemType
- type ProjectConnectionQueryArgs
- type ProjectConnectionResolver
- type ProjectEdgeResolver
- type ProjectMutationPayload
- type ProjectMutationPayloadResolver
- type ProjectPipelineEventsSubscriptionInput
- type ProjectResolver
- func (r *ProjectResolver) ActivityEvents(ctx context.Context, args *ActivityEventConnectionQueryArgs) (*ActivityEventConnectionResolver, error)
- func (r *ProjectResolver) ApprovalRules(ctx context.Context, args *ApprovalRuleConnectionQueryArgs) (*ApprovalRuleConnectionResolver, error)
- func (r *ProjectResolver) CreatedBy() string
- func (r *ProjectResolver) Description() string
- func (r *ProjectResolver) EnvironmentNames(ctx context.Context) ([]string, error)
- func (r *ProjectResolver) EnvironmentRules(ctx context.Context, args *ConnectionQueryArgs) (*EnvironmentRuleConnectionResolver, error)
- func (r *ProjectResolver) Environments(ctx context.Context, args *ConnectionQueryArgs) (*EnvironmentConnectionResolver, error)
- func (r *ProjectResolver) ID() graphql.ID
- func (r *ProjectResolver) Jobs(ctx context.Context, args *ConnectionQueryArgs) (*JobConnectionResolver, error)
- func (r *ProjectResolver) LatestVariableSet(ctx context.Context) (*ProjectVariableSetResolver, error)
- func (r *ProjectResolver) LifecycleTemplates(ctx context.Context, args *LifecycleTemplateConnectionQueryArgs) (*LifecycleTemplateConnectionResolver, error)
- func (r *ProjectResolver) Memberships(ctx context.Context, args *ConnectionQueryArgs) (*MembershipConnectionResolver, error)
- func (r *ProjectResolver) Metadata() *MetadataResolver
- func (r *ProjectResolver) MetricStats(input ...) *MetricsStatisticsResolver
- func (r *ProjectResolver) Name() string
- func (r *ProjectResolver) Organization(ctx context.Context) (*OrganizationResolver, error)
- func (r *ProjectResolver) OrganizationID() string
- func (r *ProjectResolver) OrganizationName() string
- func (r *ProjectResolver) PipelineTemplates(ctx context.Context, args *PipelineTemplateConnectionQueryArgs) (*PipelineTemplateConnectionResolver, error)
- func (r *ProjectResolver) Pipelines(ctx context.Context, args *PipelineConnectionQueryArgs) (*PipelineConnectionResolver, error)
- func (r *ProjectResolver) ReleaseLifecycles(ctx context.Context, args *ReleaseLifecycleConnectionQueryArgs) (*ReleaseLifecycleConnectionResolver, error)
- func (r *ProjectResolver) Releases(ctx context.Context, args *ProjectConnectionQueryArgs) (*ReleaseConnectionResolver, error)
- func (r *ProjectResolver) ServiceAccounts(ctx context.Context, args *ServiceAccountConnectionQueryArgs) (*ServiceAccountConnectionResolver, error)
- func (r *ProjectResolver) VCSProviders(ctx context.Context, args *VCSProviderConnectionQueryArgs) (*VCSProviderConnectionResolver, error)
- func (r *ProjectResolver) VariableSets(ctx context.Context, args *ProjectVariableSetConnectionQueryArgs) (*ProjectVariableSetConnectionResolver, error)
- type ProjectVariableConnectionQueryArgs
- type ProjectVariableConnectionResolver
- type ProjectVariableEdgeResolver
- type ProjectVariableResolver
- func (r *ProjectVariableResolver) CreatedBy() string
- func (r *ProjectVariableResolver) EnvironmentScope() string
- func (r *ProjectVariableResolver) ID() graphql.ID
- func (r *ProjectVariableResolver) Key() string
- func (r *ProjectVariableResolver) Metadata() *MetadataResolver
- func (r *ProjectVariableResolver) PipelineType() models.PipelineType
- func (r *ProjectVariableResolver) PreviousVersions(ctx context.Context, args *ProjectVariableConnectionQueryArgs) (*ProjectVariableConnectionResolver, error)
- func (r *ProjectVariableResolver) Project(ctx context.Context) (*ProjectResolver, error)
- func (r *ProjectVariableResolver) Value() string
- func (r *ProjectVariableResolver) VariableSets(ctx context.Context, args *ProjectVariableSetConnectionQueryArgs) (*ProjectVariableSetConnectionResolver, error)
- type ProjectVariableSetConnectionQueryArgs
- type ProjectVariableSetConnectionResolver
- type ProjectVariableSetEdgeResolver
- type ProjectVariableSetMutationPayload
- type ProjectVariableSetMutationPayloadResolver
- type ProjectVariableSetResolver
- func (r *ProjectVariableSetResolver) ID() graphql.ID
- func (r *ProjectVariableSetResolver) Latest() bool
- func (r *ProjectVariableSetResolver) Metadata() *MetadataResolver
- func (r *ProjectVariableSetResolver) Project(ctx context.Context) (*ProjectResolver, error)
- func (r *ProjectVariableSetResolver) Revision() string
- func (r *ProjectVariableSetResolver) Variables(ctx context.Context, args *ProjectVariableConnectionQueryArgs) (*ProjectVariableConnectionResolver, error)
- type ReleaseConnectionResolver
- type ReleaseEdgeResolver
- type ReleaseLifecycleConnectionQueryArgs
- type ReleaseLifecycleConnectionResolver
- type ReleaseLifecycleEdgeResolver
- type ReleaseLifecycleMutationPayload
- type ReleaseLifecycleMutationPayloadResolver
- type ReleaseLifecycleResolver
- func (r *ReleaseLifecycleResolver) CreatedBy() string
- func (r *ReleaseLifecycleResolver) EnvironmentNames() []string
- func (r *ReleaseLifecycleResolver) ID() graphql.ID
- func (r *ReleaseLifecycleResolver) LifecycleTemplate(ctx context.Context) (*LifecycleTemplateResolver, error)
- func (r *ReleaseLifecycleResolver) Metadata() *MetadataResolver
- func (r *ReleaseLifecycleResolver) Name() string
- func (r *ReleaseLifecycleResolver) Organization(ctx context.Context) (*OrganizationResolver, error)
- func (r *ReleaseLifecycleResolver) OrganizationName() string
- func (r *ReleaseLifecycleResolver) Project(ctx context.Context) (*ProjectResolver, error)
- func (r *ReleaseLifecycleResolver) Scope() models.ScopeType
- type ReleaseMutationPayload
- type ReleaseMutationPayloadResolver
- type ReleaseParticipantInput
- type ReleaseResolver
- func (r *ReleaseResolver) ActivityEvents(ctx context.Context, args *ActivityEventConnectionQueryArgs) (*ActivityEventConnectionResolver, error)
- func (r *ReleaseResolver) Completed(ctx context.Context) (bool, error)
- func (r *ReleaseResolver) CreatedBy() string
- func (r *ReleaseResolver) DeploymentPipelines(ctx context.Context, args *PipelineConnectionQueryArgs) (*PipelineConnectionResolver, error)
- func (r *ReleaseResolver) DueDate() *graphql.Time
- func (r *ReleaseResolver) ID() graphql.ID
- func (r *ReleaseResolver) Latest() bool
- func (r *ReleaseResolver) LifecyclePRN() string
- func (r *ReleaseResolver) Metadata() *MetadataResolver
- func (r *ReleaseResolver) MetricStats() *MetricsStatisticsResolver
- func (r *ReleaseResolver) Notes(ctx context.Context) (string, error)
- func (r *ReleaseResolver) Participants(ctx context.Context) ([]*MemberResolver, error)
- func (r *ReleaseResolver) Pipeline(ctx context.Context) (*PipelineResolver, error)
- func (r *ReleaseResolver) PreRelease() bool
- func (r *ReleaseResolver) Project(ctx context.Context) (*ProjectResolver, error)
- func (r *ReleaseResolver) SemanticVersion() string
- func (r *ReleaseResolver) Threads(ctx context.Context, args *ConnectionQueryArgs) (*ThreadConnectionResolver, error)
- type RemoveUserFromTeamInput
- type ReplaceProjectVariableInput
- type ResetVCSProviderOAuthTokenInput
- type ResetVCSProviderOAuthTokenMutationPayload
- type ResetVCSProviderOAuthTokenMutationPayloadResolver
- type ResourceLimitMutationPayload
- type ResourceLimitMutationPayloadResolver
- type ResourceLimitResolver
- type RetryNestedPipelineInput
- type RetryPipelineTaskInput
- type RevokePipelineApprovalInput
- type RevokePipelineTaskApprovalInput
- 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) AddParticipantToRelease(ctx context.Context, args ...) (*ReleaseMutationPayloadResolver, error)
- func (r RootResolver) AddUserToTeam(ctx context.Context, args *struct{ Input *AddUserToTeamInput }) (*TeamMemberMutationPayloadResolver, error)
- func (r RootResolver) AgentSessionErrorLogEvents(ctx context.Context, args ...) (<-chan *AgentSessionErrorLogEventResolver, error)
- func (r RootResolver) AgentSessionEvents(ctx context.Context, args ...) (<-chan *AgentSessionEventResolver, error)
- func (r RootResolver) AggregatedMetricStatistics(ctx context.Context, args *AggregatedMetricStatsQueryArgs) ([]*AggregatedMetricStatisticsResultResolver, error)
- func (r RootResolver) ApprovePipeline(ctx context.Context, args *struct{ Input *ApprovePipelineInput }) (*PipelineMutationPayloadResolver, error)
- func (r RootResolver) ApprovePipelineTask(ctx context.Context, args *struct{ Input *ApprovePipelineTaskInput }) (*PipelineMutationPayloadResolver, error)
- func (r RootResolver) AssignServiceAccountToAgent(ctx context.Context, args ...) (*AgentMutationPayloadResolver, error)
- func (r RootResolver) AuthSettings(ctx context.Context) *AuthSettingsResolver
- func (r RootResolver) AvailableRolePermissions(ctx context.Context) ([]string, error)
- func (r RootResolver) CancelJob(ctx context.Context, args *struct{ Input *CancelJobInput }) (*JobMutationPayloadResolver, error)
- func (r RootResolver) CancelPipeline(ctx context.Context, args *struct{ Input *CancelPipelineInput }) (*PipelineMutationPayloadResolver, error)
- func (r RootResolver) CancelPipelineNodeSchedule(ctx context.Context, args ...) (*PipelineMutationPayloadResolver, error)
- func (r RootResolver) CommentEvents(ctx context.Context, args ...) (<-chan *CommentEventResolver, error)
- func (r RootResolver) CreateAgent(ctx context.Context, args *struct{ Input *CreateAgentInput }) (*AgentMutationPayloadResolver, error)
- func (r RootResolver) CreateApprovalRule(ctx context.Context, args *struct{ Input *CreateApprovalRuleInput }) (*ApprovalRuleMutationPayloadResolver, error)
- func (r RootResolver) CreateEnvironment(ctx context.Context, args *struct{ Input *CreateEnvironmentInput }) (*EnvironmentMutationPayloadResolver, error)
- func (r RootResolver) CreateEnvironmentRule(ctx context.Context, args *struct{ Input *CreateEnvironmentRuleInput }) (*EnvironmentRuleMutationPayloadResolver, error)
- func (r RootResolver) CreateLifecycleTemplate(ctx context.Context, args ...) (*LifecycleTemplateMutationPayloadResolver, error)
- func (r RootResolver) CreateMembership(ctx context.Context, args ...) (*MembershipMutationPayloadResolver, error)
- func (r RootResolver) CreateOrganization(ctx context.Context, args *struct{ Input *CreateOrganizationInput }) (*OrganizationMutationPayloadResolver, error)
- func (r RootResolver) CreatePipeline(ctx context.Context, args *struct{ Input *CreatePipelineInput }) (*PipelineMutationPayloadResolver, error)
- func (r RootResolver) CreatePipelineComment(ctx context.Context, args ...) (*CommentMutationPayloadResolver, error)
- func (r RootResolver) CreatePipelineTemplate(ctx context.Context, args *struct{ Input *CreatePipelineTemplateInput }) (*PipelineTemplateMutationPayloadResolver, error)
- func (r RootResolver) CreatePlugin(ctx context.Context, args *struct{ Input *CreatePluginInput }) (*PluginMutationPayloadResolver, error)
- func (r RootResolver) CreateProject(ctx context.Context, args *struct{ Input *CreateProjectInput }) (*ProjectMutationPayloadResolver, error)
- func (r RootResolver) CreateRelease(ctx context.Context, args ...) (*ReleaseMutationPayloadResolver, error)
- func (r RootResolver) CreateReleaseComment(ctx context.Context, args ...) (*CommentMutationPayloadResolver, error)
- func (r RootResolver) CreateReleaseLifecycle(ctx context.Context, args ...) (*ReleaseLifecycleMutationPayloadResolver, error)
- func (r RootResolver) CreateRole(ctx context.Context, args *struct{ Input *CreateRoleInput }) (*RoleMutationPayloadResolver, error)
- func (r RootResolver) CreateSCIMToken(ctx context.Context) (*SCIMTokenPayload, error)
- func (r RootResolver) CreateServiceAccount(ctx context.Context, args ...) (*ServiceAccountMutationPayloadResolver, error)
- func (r RootResolver) CreateTeam(ctx context.Context, args *struct{ Input *CreateTeamInput }) (*TeamMutationPayloadResolver, error)
- func (r RootResolver) CreateVCSProvider(ctx context.Context, args *struct{ Input *CreateVCSProviderInput }) (*VCSProviderMutationPayloadResolver, error)
- func (r RootResolver) DeleteAgent(ctx context.Context, args *struct{ Input *DeleteAgentInput }) (*AgentMutationPayloadResolver, error)
- func (r RootResolver) DeleteApprovalRule(ctx context.Context, args *struct{ Input *DeleteApprovalRuleInput }) (*ApprovalRuleMutationPayloadResolver, error)
- func (r RootResolver) DeleteEnvironment(ctx context.Context, args *struct{ Input *DeleteEnvironmentInput }) (*EnvironmentMutationPayloadResolver, error)
- func (r RootResolver) DeleteEnvironmentRule(ctx context.Context, args *struct{ Input *DeleteEnvironmentRuleInput }) (*EnvironmentRuleMutationPayloadResolver, error)
- func (r RootResolver) DeleteMembership(ctx context.Context, args ...) (*MembershipMutationPayloadResolver, error)
- func (r RootResolver) DeleteOrganization(ctx context.Context, args *struct{ Input *DeleteOrganizationInput }) (*OrganizationMutationPayloadResolver, error)
- func (r RootResolver) DeletePipelineComment(ctx context.Context, args ...) (*CommentMutationPayloadResolver, error)
- func (r RootResolver) DeletePipelineTemplate(ctx context.Context, args *struct{ Input *DeletePipelineTemplateInput }) (*PipelineTemplateMutationPayloadResolver, error)
- func (r RootResolver) DeletePlugin(ctx context.Context, args *struct{ Input *DeletePluginInput }) (*PluginMutationPayloadResolver, error)
- func (r RootResolver) DeletePluginVersion(ctx context.Context, args *struct{ Input *DeletePluginVersionInput }) (*PluginVersionMutationPayloadResolver, error)
- func (r RootResolver) DeleteProject(ctx context.Context, args *struct{ Input *DeleteProjectInput }) (*ProjectMutationPayloadResolver, error)
- func (r RootResolver) DeleteRelease(ctx context.Context, args ...) (*ReleaseMutationPayloadResolver, error)
- func (r RootResolver) DeleteReleaseComment(ctx context.Context, args ...) (*CommentMutationPayloadResolver, error)
- func (r RootResolver) DeleteReleaseLifecycle(ctx context.Context, args ...) (*ReleaseLifecycleMutationPayloadResolver, error)
- func (r RootResolver) DeleteRole(ctx context.Context, args *struct{ Input *DeleteRoleInput }) (*RoleMutationPayloadResolver, 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) DeleteVCSProvider(ctx context.Context, args *struct{ Input *DeleteVCSProviderInput }) (*VCSProviderMutationPayloadResolver, error)
- func (r RootResolver) JobCancellationEvent(ctx context.Context, args ...) (<-chan *JobCancellationEventResolver, error)
- func (r RootResolver) JobEvents(ctx context.Context, args ...) (<-chan *JobEventResolver, error)
- func (r RootResolver) JobLogStreamEvents(ctx context.Context, args ...) (<-chan *JobLogStreamEventResolver, error)
- func (r RootResolver) LiveActivityEvents(ctx context.Context, args ...) (<-chan *ActivityEventResolver, error)
- func (r RootResolver) Me(ctx context.Context) (*MeResponseResolver, error)
- func (r RootResolver) Memberships(ctx context.Context, args *MembershipConnectionQueryArgs) (*MembershipConnectionResolver, error)
- func (r RootResolver) MetricStatistics(ctx context.Context, args *MetricStatsQueryArgs) (*MetricStatisticsResolver, error)
- func (r RootResolver) Metrics(ctx context.Context, args *MetricConnectionQueryArgs) (*MetricConnectionResolver, error)
- func (r RootResolver) Node(ctx context.Context, args *struct{ ID string }) (*NodeResolver, error)
- func (r RootResolver) Organizations(ctx context.Context, args *OrganizationConnectionQueryArgs) (*OrganizationConnectionResolver, error)
- func (r RootResolver) PatchProjectVariables(ctx context.Context, args *struct{ Input *PatchProjectVariablesInput }) (*ProjectVariableSetMutationPayloadResolver, error)
- func (r RootResolver) PipelineEvents(ctx context.Context, args ...) (<-chan *PipelineEventResolver, error)
- func (r RootResolver) PipelineNode(ctx context.Context, args *PipelineNodeQueryArgs) (*PipelineNodeResolver, error)
- func (r RootResolver) PluginDocFile(ctx context.Context, args *PluginDocFileQueryArgs) (*string, error)
- func (r RootResolver) Plugins(ctx context.Context, args *PluginConnectionQueryArgs) (*PluginConnectionResolver, error)
- func (r RootResolver) ProjectPipelineEvents(ctx context.Context, args ...) (<-chan *PipelineEventResolver, error)
- func (r RootResolver) Projects(ctx context.Context, args *ProjectConnectionQueryArgs) (*ProjectConnectionResolver, error)
- func (r RootResolver) RemoveParticipantFromRelease(ctx context.Context, args ...) (*ReleaseMutationPayloadResolver, 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) RetryNestedPipeline(ctx context.Context, args ...) (*PipelineMutationPayloadResolver, error)
- func (r RootResolver) RetryPipelineTask(ctx context.Context, args *struct{ Input *RetryPipelineTaskInput }) (*PipelineMutationPayloadResolver, error)
- func (r RootResolver) RevokePipelineApproval(ctx context.Context, args *struct{ Input *RevokePipelineApprovalInput }) (*PipelineMutationPayloadResolver, error)
- func (r RootResolver) RevokePipelineTaskApproval(ctx context.Context, args ...) (*PipelineMutationPayloadResolver, 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) RunPipeline(ctx context.Context, args ...) (*PipelineMutationPayloadResolver, error)
- func (r RootResolver) RunPipelineTask(ctx context.Context, args *struct{ Input *RunPipelineTaskInput }) (*PipelineMutationPayloadResolver, error)
- func (r RootResolver) SchedulePipelineNode(ctx context.Context, args ...) (*PipelineMutationPayloadResolver, error)
- func (r RootResolver) ServiceAccounts(ctx context.Context, args *ServiceAccountConnectionQueryArgs) (*ServiceAccountConnectionResolver, error)
- func (r RootResolver) SetProjectVariables(ctx context.Context, args *struct{ Input *SetProjectVariablesInput }) (*ProjectVariableSetMutationPayloadResolver, error)
- func (r RootResolver) SharedAgents(ctx context.Context, args *ConnectionQueryArgs) (*AgentConnectionResolver, error)
- func (r RootResolver) Teams(ctx context.Context, args *TeamConnectionQueryArgs) (*TeamConnectionResolver, error)
- func (r RootResolver) UnassignServiceAccountFromAgent(ctx context.Context, args ...) (*AgentMutationPayloadResolver, error)
- func (r RootResolver) UpdateAgent(ctx context.Context, args *struct{ Input *UpdateAgentInput }) (*AgentMutationPayloadResolver, error)
- func (r RootResolver) UpdateApprovalRule(ctx context.Context, args *struct{ Input *UpdateApprovalRuleInput }) (*ApprovalRuleMutationPayloadResolver, error)
- func (r RootResolver) UpdateEnvironment(ctx context.Context, args *struct{ Input *UpdateEnvironmentInput }) (*EnvironmentMutationPayloadResolver, error)
- func (r RootResolver) UpdateEnvironmentRule(ctx context.Context, args *struct{ Input *UpdateEnvironmentRuleInput }) (*EnvironmentRuleMutationPayloadResolver, error)
- func (r RootResolver) UpdateMembership(ctx context.Context, args ...) (*MembershipMutationPayloadResolver, error)
- func (r RootResolver) UpdateOrganization(ctx context.Context, args *struct{ Input *UpdateOrganizationInput }) (*OrganizationMutationPayloadResolver, error)
- func (r RootResolver) UpdatePipelineComment(ctx context.Context, args ...) (*CommentMutationPayloadResolver, error)
- func (r RootResolver) UpdatePlugin(ctx context.Context, args *struct{ Input *UpdatePluginInput }) (*PluginMutationPayloadResolver, error)
- func (r RootResolver) UpdateProject(ctx context.Context, args *struct{ Input *UpdateProjectInput }) (*ProjectMutationPayloadResolver, error)
- func (r RootResolver) UpdateRelease(ctx context.Context, args ...) (*ReleaseMutationPayloadResolver, error)
- func (r RootResolver) UpdateReleaseComment(ctx context.Context, args ...) (*CommentMutationPayloadResolver, error)
- func (r RootResolver) UpdateReleaseDeploymentPipeline(ctx context.Context, args ...) (*PipelineMutationPayloadResolver, error)
- func (r RootResolver) UpdateReleaseLifecycle(ctx context.Context, args ...) (*ReleaseLifecycleMutationPayloadResolver, 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) 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) UpdateToDoItem(ctx context.Context, args *struct{ Input *UpdateToDoItemInput }) (*ToDoItemMutationPayloadResolver, error)
- func (r RootResolver) UpdateVCSProvider(ctx context.Context, args *struct{ Input *UpdateVCSProviderInput }) (*VCSProviderMutationPayloadResolver, error)
- func (r RootResolver) UserToDoItemEvents(ctx context.Context) (<-chan *ToDoItemEventResolver, error)
- func (r RootResolver) Users(ctx context.Context, args *UserConnectionQueryArgs) (*UserConnectionResolver, error)
- func (r RootResolver) Version(ctx context.Context) (*VersionResolver, error)
- type RunPipelineInput
- type RunPipelineTaskInput
- type SCIMTokenPayload
- type SchedulePipelineNodeInput
- type ServiceAccountConnectionQueryArgs
- type ServiceAccountConnectionResolver
- type ServiceAccountEdgeResolver
- type ServiceAccountMutationPayload
- type ServiceAccountMutationPayloadResolver
- 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) ID() graphql.ID
- func (r *ServiceAccountResolver) Memberships(ctx context.Context, args *ConnectionQueryArgs) (*MembershipConnectionResolver, error)
- func (r *ServiceAccountResolver) Metadata() *MetadataResolver
- func (r *ServiceAccountResolver) Name() string
- func (r *ServiceAccountResolver) OIDCTrustPolicies() []OIDCTrustPolicy
- func (r *ServiceAccountResolver) Organization(ctx context.Context) (*OrganizationResolver, error)
- func (r *ServiceAccountResolver) Project(ctx context.Context) (*ProjectResolver, error)
- func (r *ServiceAccountResolver) Scope() models.ScopeType
- type SetProjectVariablesInput
- type State
- 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 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 ThreadConnectionResolver
- type ThreadEdgeResolver
- type ThreadResolver
- func (r *ThreadResolver) CommentCount(ctx context.Context) (int32, error)
- func (r *ThreadResolver) Comments(ctx context.Context) ([]*CommentResolver, error)
- func (r *ThreadResolver) ID() graphql.ID
- func (r *ThreadResolver) Metadata() *MetadataResolver
- func (r *ThreadResolver) Pipeline(ctx context.Context) (*PipelineResolver, error)
- func (r *ThreadResolver) Release(ctx context.Context) (*ReleaseResolver, error)
- func (r *ThreadResolver) RootComment(ctx context.Context) (*CommentResolver, error)
- type ToDoItemConnectionQueryArgs
- type ToDoItemConnectionResolver
- type ToDoItemEdgeResolver
- type ToDoItemEventResolver
- type ToDoItemMutationPayload
- type ToDoItemMutationPayloadResolver
- type ToDoItemPayloadResolver
- type ToDoItemPipelineTaskApprovalPayloadResolver
- type ToDoItemResolver
- func (r *ToDoItemResolver) ID() graphql.ID
- func (r *ToDoItemResolver) Metadata() *MetadataResolver
- func (r *ToDoItemResolver) Organization(ctx context.Context) (*OrganizationResolver, error)
- func (r *ToDoItemResolver) Payload() (*ToDoItemPayloadResolver, error)
- func (r *ToDoItemResolver) Project(ctx context.Context) (*ProjectResolver, error)
- func (r *ToDoItemResolver) Resolvable() bool
- func (r *ToDoItemResolver) Resolved(ctx context.Context) (bool, error)
- func (r *ToDoItemResolver) Target(ctx context.Context) (*NodeResolver, error)
- func (r *ToDoItemResolver) TargetType() models.ToDoItemTargetType
- type UpdateAgentInput
- type UpdateApprovalRuleInput
- type UpdateCommentInput
- type UpdateEnvironmentInput
- type UpdateEnvironmentRuleInput
- type UpdateMembershipInput
- type UpdateOrganizationInput
- type UpdatePluginInput
- type UpdateProjectInput
- type UpdateReleaseDeploymentPipelineInput
- type UpdateReleaseInput
- type UpdateReleaseLifecycleInput
- type UpdateResourceLimitInput
- type UpdateRoleInput
- type UpdateServiceAccountInput
- type UpdateTeamInput
- type UpdateTeamMemberInput
- type UpdateToDoItemInput
- type UpdateVCSProviderInput
- 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) Memberships(ctx context.Context, args *ConnectionQueryArgs) (*MembershipConnectionResolver, error)
- func (r *UserResolver) Metadata() *MetadataResolver
- func (r *UserResolver) Releases(ctx context.Context, args *ConnectionQueryArgs) (*ReleaseConnectionResolver, error)
- func (r *UserResolver) SCIMExternalID() *string
- func (r *UserResolver) Teams(ctx context.Context, args *ConnectionQueryArgs) (*TeamConnectionResolver, error)
- func (r *UserResolver) ToDoItems(ctx context.Context, args *ToDoItemConnectionQueryArgs) (*ToDoItemConnectionResolver, error)
- func (r *UserResolver) Username() string
- type VCSProviderConnectionQueryArgs
- type VCSProviderConnectionResolver
- type VCSProviderEdgeResolver
- type VCSProviderMutationPayload
- type VCSProviderMutationPayloadResolver
- type VCSProviderResolver
- func (r *VCSProviderResolver) AuthType() models.VCSProviderAuthType
- func (r *VCSProviderResolver) CreatedBy() string
- func (r *VCSProviderResolver) Description() string
- func (r *VCSProviderResolver) ExtraOAuthScopes() []string
- func (r *VCSProviderResolver) ID() graphql.ID
- func (r *VCSProviderResolver) Metadata() *MetadataResolver
- func (r *VCSProviderResolver) Name() string
- func (r *VCSProviderResolver) Organization(ctx context.Context) (*OrganizationResolver, error)
- func (r *VCSProviderResolver) OrganizationName() string
- func (r *VCSProviderResolver) Project(ctx context.Context) (*ProjectResolver, error)
- func (r *VCSProviderResolver) Scope() models.ScopeType
- func (r *VCSProviderResolver) Type() models.VCSProviderType
- func (r *VCSProviderResolver) URL() string
- type VersionResolver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAgentLoader ¶
func RegisterAgentLoader(collection *loader.Collection)
RegisterAgentLoader registers a agent loader function
func RegisterAgentSessionLogStreamLoader ¶
func RegisterAgentSessionLogStreamLoader(collection *loader.Collection)
RegisterAgentSessionLogStreamLoader registers a agentSessionLogStream loader function
func RegisterApprovalRuleLoader ¶
func RegisterApprovalRuleLoader(collection *loader.Collection)
RegisterApprovalRuleLoader registers a approvalRule loader function
func RegisterCommentLoader ¶
func RegisterCommentLoader(collection *loader.Collection)
RegisterCommentLoader registers a comment loader function
func RegisterEnvironmentLoader ¶
func RegisterEnvironmentLoader(collection *loader.Collection)
RegisterEnvironmentLoader registers an environment loader function
func RegisterEnvironmentRuleLoader ¶
func RegisterEnvironmentRuleLoader(collection *loader.Collection)
RegisterEnvironmentRuleLoader registers a environmentRule loader function
func RegisterJobLoader ¶
func RegisterJobLoader(collection *loader.Collection)
RegisterJobLoader registers a job loader function
func RegisterJobLogStreamLoader ¶
func RegisterJobLogStreamLoader(collection *loader.Collection)
RegisterJobLogStreamLoader registers a jobLogStream loader function
func RegisterLifecycleTemplateLoader ¶
func RegisterLifecycleTemplateLoader(collection *loader.Collection)
RegisterLifecycleTemplateLoader registers a lifecycle template loader function
func RegisterMembershipLoader ¶
func RegisterMembershipLoader(collection *loader.Collection)
RegisterMembershipLoader registers a membership loader function
func RegisterOrganizationLoader ¶
func RegisterOrganizationLoader(collection *loader.Collection)
RegisterOrganizationLoader registers a organization loader function
func RegisterPipelineLoader ¶
func RegisterPipelineLoader(collection *loader.Collection)
RegisterPipelineLoader registers a pipeline loader function
func RegisterPipelineTemplateLoader ¶
func RegisterPipelineTemplateLoader(collection *loader.Collection)
RegisterPipelineTemplateLoader registers a pipeline template loader function
func RegisterPluginLoader ¶
func RegisterPluginLoader(collection *loader.Collection)
RegisterPluginLoader registers a plugin loader
func RegisterPluginVersionLoader ¶
func RegisterPluginVersionLoader(collection *loader.Collection)
RegisterPluginVersionLoader registers a plugin version loader
func RegisterProjectLoader ¶
func RegisterProjectLoader(collection *loader.Collection)
RegisterProjectLoader registers a project loader function
func RegisterProjectVariableLoader ¶
func RegisterProjectVariableLoader(collection *loader.Collection)
RegisterProjectVariableLoader registers a project variable loader function
func RegisterProjectVariableSetLoader ¶
func RegisterProjectVariableSetLoader(collection *loader.Collection)
RegisterProjectVariableSetLoader registers a project variable set loader function
func RegisterReleaseLifecycleLoader ¶
func RegisterReleaseLifecycleLoader(collection *loader.Collection)
RegisterReleaseLifecycleLoader registers a release lifecycle loader function
func RegisterReleaseLoader ¶
func RegisterReleaseLoader(collection *loader.Collection)
RegisterReleaseLoader registers a release loader function
func RegisterRoleLoader ¶
func RegisterRoleLoader(collection *loader.Collection)
RegisterRoleLoader registers a role loader function
func RegisterServiceAccountLoader ¶
func RegisterServiceAccountLoader(collection *loader.Collection)
RegisterServiceAccountLoader registers a serviceAccount loader function
func RegisterTeamLoader ¶
func RegisterTeamLoader(collection *loader.Collection)
RegisterTeamLoader registers a team loader function
func RegisterThreadLoader ¶
func RegisterThreadLoader(collection *loader.Collection)
RegisterThreadLoader registers a thread loader function
func RegisterUserLoader ¶
func RegisterUserLoader(collection *loader.Collection)
RegisterUserLoader registers a user loader function
func RegisterVCSProviderLoader ¶
func RegisterVCSProviderLoader(collection *loader.Collection)
RegisterVCSProviderLoader registers a VCS provider loader function
Types ¶
type ActivityEventConnectionQueryArgs ¶
type ActivityEventConnectionQueryArgs struct { ConnectionQueryArgs UserID *string ServiceAccountID *string OrganizationID *string ProjectID *string TimeRangeStart *graphql.Time TimeRangeEnd *graphql.Time Actions *[]models.ActivityEventAction TargetTypes *[]models.ActivityEventTargetType }
ActivityEventConnectionQueryArgs represents the query arguments for the activity event connection resolver.
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 ActivityEventCreateMembershipPayloadResolver ¶
type ActivityEventCreateMembershipPayloadResolver struct {
// contains filtered or unexported fields
}
ActivityEventCreateMembershipPayloadResolver resolves the payload for create membership activity events.
func (*ActivityEventCreateMembershipPayloadResolver) Member ¶
func (r *ActivityEventCreateMembershipPayloadResolver) Member(ctx context.Context) (*MemberResolver, error)
Member resolver
func (*ActivityEventCreateMembershipPayloadResolver) Role ¶
func (r *ActivityEventCreateMembershipPayloadResolver) Role() string
Role resolver
type ActivityEventDeleteResourcePayloadResolver ¶
type ActivityEventDeleteResourcePayloadResolver struct {
// contains filtered or unexported fields
}
ActivityEventDeleteResourcePayloadResolver resolves the payload for delete resource activity events.
func (*ActivityEventDeleteResourcePayloadResolver) ID ¶
func (r *ActivityEventDeleteResourcePayloadResolver) ID() string
ID resolver
func (*ActivityEventDeleteResourcePayloadResolver) Name ¶
func (r *ActivityEventDeleteResourcePayloadResolver) Name() *string
Name resolver
func (*ActivityEventDeleteResourcePayloadResolver) Type ¶
func (r *ActivityEventDeleteResourcePayloadResolver) 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 ActivityEventPayloadResolver ¶
type ActivityEventPayloadResolver struct {
// contains filtered or unexported fields
}
ActivityEventPayloadResolver resolves the Payload union type
func (*ActivityEventPayloadResolver) ToActivityEventCreateMembershipPayload ¶
func (r *ActivityEventPayloadResolver) ToActivityEventCreateMembershipPayload() (*ActivityEventCreateMembershipPayloadResolver, bool)
ToActivityEventCreateMembershipPayload resolver
func (*ActivityEventPayloadResolver) ToActivityEventDeleteResourcePayload ¶
func (r *ActivityEventPayloadResolver) ToActivityEventDeleteResourcePayload() (*ActivityEventDeleteResourcePayloadResolver, bool)
ToActivityEventDeleteResourcePayload resolver
func (*ActivityEventPayloadResolver) ToActivityEventRemoveMembershipPayload ¶
func (r *ActivityEventPayloadResolver) ToActivityEventRemoveMembershipPayload() (*ActivityEventRemoveMembershipPayloadResolver, bool)
ToActivityEventRemoveMembershipPayload resolver
func (*ActivityEventPayloadResolver) ToActivityEventUpdateMembershipPayload ¶
func (r *ActivityEventPayloadResolver) ToActivityEventUpdateMembershipPayload() (*models.ActivityEventUpdateMembershipPayload, bool)
ToActivityEventUpdateMembershipPayload resolver
func (*ActivityEventPayloadResolver) ToActivityEventUpdateReleasePayload ¶
func (r *ActivityEventPayloadResolver) ToActivityEventUpdateReleasePayload() (*ActivityEventUpdateReleasePayloadResolver, bool)
ToActivityEventUpdateReleasePayload resolver
func (*ActivityEventPayloadResolver) ToActivityEventUpdateTeamPayload ¶
func (r *ActivityEventPayloadResolver) ToActivityEventUpdateTeamPayload() (*ActivityEventUpdateTeamPayloadResolver, bool)
ToActivityEventUpdateTeamPayload resolver
type ActivityEventRemoveMembershipPayloadResolver ¶
type ActivityEventRemoveMembershipPayloadResolver struct {
// contains filtered or unexported fields
}
ActivityEventRemoveMembershipPayloadResolver resolves the payload for remove membership activity events.
func (*ActivityEventRemoveMembershipPayloadResolver) Member ¶
func (r *ActivityEventRemoveMembershipPayloadResolver) Member(ctx context.Context) (*MemberResolver, error)
Member resolver
type ActivityEventResolver ¶
type ActivityEventResolver struct {
// contains filtered or unexported fields
}
ActivityEventResolver resolves an activity event
func (*ActivityEventResolver) Action ¶
func (r *ActivityEventResolver) Action() models.ActivityEventAction
Action resolver
func (*ActivityEventResolver) Initiator ¶
func (r *ActivityEventResolver) Initiator(ctx context.Context) (*MemberResolver, error)
Initiator resolver
func (*ActivityEventResolver) Metadata ¶
func (r *ActivityEventResolver) Metadata() *MetadataResolver
Metadata resolver
func (*ActivityEventResolver) Organization ¶
func (r *ActivityEventResolver) Organization(ctx context.Context) (*OrganizationResolver, error)
Organization resolver
func (*ActivityEventResolver) Payload ¶
func (r *ActivityEventResolver) Payload() (*ActivityEventPayloadResolver, error)
Payload resolver
func (*ActivityEventResolver) Project ¶
func (r *ActivityEventResolver) Project(ctx context.Context) (*ProjectResolver, error)
Project 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 ActivityEventUpdateReleasePayloadResolver ¶
type ActivityEventUpdateReleasePayloadResolver struct {
// contains filtered or unexported fields
}
ActivityEventUpdateReleasePayloadResolver resolves the payload for update release activity events.
func (*ActivityEventUpdateReleasePayloadResolver) ChangeType ¶
func (r *ActivityEventUpdateReleasePayloadResolver) ChangeType() string
ChangeType resolver
func (*ActivityEventUpdateReleasePayloadResolver) Resource ¶
func (r *ActivityEventUpdateReleasePayloadResolver) Resource(ctx context.Context) (*NodeResolver, error)
Resource resolver
func (*ActivityEventUpdateReleasePayloadResolver) Type ¶
func (r *ActivityEventUpdateReleasePayloadResolver) Type() string
Type resolver
type ActivityEventUpdateTeamPayloadResolver ¶
type ActivityEventUpdateTeamPayloadResolver struct {
// contains filtered or unexported fields
}
ActivityEventUpdateTeamPayloadResolver resolves the payload for team member activity events.
func (*ActivityEventUpdateTeamPayloadResolver) ChangeType ¶
func (r *ActivityEventUpdateTeamPayloadResolver) ChangeType() string
ChangeType resolver
func (*ActivityEventUpdateTeamPayloadResolver) Maintainer ¶
func (r *ActivityEventUpdateTeamPayloadResolver) Maintainer() bool
Maintainer resolver
func (*ActivityEventUpdateTeamPayloadResolver) User ¶
func (r *ActivityEventUpdateTeamPayloadResolver) User(ctx context.Context) (*UserResolver, error)
User resolver
type ActivityEventsSubscriptionInput ¶
ActivityEventsSubscriptionInput represents the input for the activity events subscription
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 AgentConnectionResolver ¶
type AgentConnectionResolver struct {
// contains filtered or unexported fields
}
AgentConnectionResolver resolves a agent connection
func NewAgentConnectionResolver ¶
func NewAgentConnectionResolver(ctx context.Context, input *agent.GetAgentsInput) (*AgentConnectionResolver, error)
NewAgentConnectionResolver creates a new AgentConnectionResolver
func (*AgentConnectionResolver) Edges ¶
func (r *AgentConnectionResolver) Edges() *[]*AgentEdgeResolver
Edges returns the connection edges
func (*AgentConnectionResolver) PageInfo ¶
func (r *AgentConnectionResolver) PageInfo() *PageInfoResolver
PageInfo returns the connection page information
func (*AgentConnectionResolver) TotalCount ¶
func (r *AgentConnectionResolver) TotalCount() int32
TotalCount returns the total result count for the connection
type AgentEdgeResolver ¶
type AgentEdgeResolver struct {
// contains filtered or unexported fields
}
AgentEdgeResolver resolves agent edges
func (*AgentEdgeResolver) Cursor ¶
func (r *AgentEdgeResolver) Cursor() (string, error)
Cursor returns an opaque cursor
func (*AgentEdgeResolver) Node ¶
func (r *AgentEdgeResolver) Node() (*AgentResolver, error)
Node returns a agent node
type AgentMutationPayload ¶
type AgentMutationPayload struct { ClientMutationID *string Agent *models.Agent ServiceAccount *models.ServiceAccount Problems []Problem }
AgentMutationPayload is the response payload for a agent mutation
type AgentMutationPayloadResolver ¶
type AgentMutationPayloadResolver struct {
AgentMutationPayload
}
AgentMutationPayloadResolver resolves a AgentMutationPayload
func (*AgentMutationPayloadResolver) Agent ¶
func (r *AgentMutationPayloadResolver) Agent() *AgentResolver
Agent field resolver
func (*AgentMutationPayloadResolver) ServiceAccount ¶
func (r *AgentMutationPayloadResolver) ServiceAccount() *ServiceAccountResolver
ServiceAccount field resolver
type AgentResolver ¶
type AgentResolver struct {
// contains filtered or unexported fields
}
AgentResolver resolves a agent resource
func (*AgentResolver) AssignedServiceAccounts ¶
func (r *AgentResolver) AssignedServiceAccounts(ctx context.Context, args *ConnectionQueryArgs) (*ServiceAccountConnectionResolver, error)
AssignedServiceAccounts resolver
func (*AgentResolver) Description ¶
func (r *AgentResolver) Description() string
Description resolver
func (*AgentResolver) Jobs ¶
func (r *AgentResolver) Jobs(ctx context.Context, args *ConnectionQueryArgs) (*JobConnectionResolver, error)
Jobs resolver
func (*AgentResolver) Metadata ¶
func (r *AgentResolver) Metadata() *MetadataResolver
Metadata resolver
func (*AgentResolver) Organization ¶
func (r *AgentResolver) Organization(ctx context.Context) (*OrganizationResolver, error)
Organization resolver
func (*AgentResolver) RunUntaggedJobs ¶
func (r *AgentResolver) RunUntaggedJobs() bool
RunUntaggedJobs resolver
func (*AgentResolver) Sessions ¶
func (r *AgentResolver) Sessions(ctx context.Context, args *ConnectionQueryArgs) (*AgentSessionConnectionResolver, error)
Sessions resolver
type AgentSessionConnectionResolver ¶
type AgentSessionConnectionResolver struct {
// contains filtered or unexported fields
}
AgentSessionConnectionResolver resolves a session connection
func NewAgentSessionConnectionResolver ¶
func NewAgentSessionConnectionResolver(ctx context.Context, input *agent.GetAgentSessionsInput) (*AgentSessionConnectionResolver, error)
NewAgentSessionConnectionResolver creates a new AgentSessionConnectionResolver
func (*AgentSessionConnectionResolver) Edges ¶
func (r *AgentSessionConnectionResolver) Edges() *[]*AgentSessionEdgeResolver
Edges returns the connection edges
func (*AgentSessionConnectionResolver) PageInfo ¶
func (r *AgentSessionConnectionResolver) PageInfo() *PageInfoResolver
PageInfo returns the connection page information
func (*AgentSessionConnectionResolver) TotalCount ¶
func (r *AgentSessionConnectionResolver) TotalCount() int32
TotalCount returns the total result count for the connection
type AgentSessionEdgeResolver ¶
type AgentSessionEdgeResolver struct {
// contains filtered or unexported fields
}
AgentSessionEdgeResolver resolves session edges
func (*AgentSessionEdgeResolver) Cursor ¶
func (r *AgentSessionEdgeResolver) Cursor() (string, error)
Cursor returns an opaque cursor
func (*AgentSessionEdgeResolver) Node ¶
func (r *AgentSessionEdgeResolver) Node() (*AgentSessionResolver, error)
Node returns a session node
type AgentSessionErrorLogEventResolver ¶
type AgentSessionErrorLogEventResolver struct {
// contains filtered or unexported fields
}
AgentSessionErrorLogEventResolver resolves a session error log event
func (*AgentSessionErrorLogEventResolver) Completed ¶
func (j *AgentSessionErrorLogEventResolver) Completed() bool
Completed resolver
func (*AgentSessionErrorLogEventResolver) Size ¶
func (j *AgentSessionErrorLogEventResolver) Size() int32
Size resolver
type AgentSessionErrorLogResolver ¶
type AgentSessionErrorLogResolver struct {
// contains filtered or unexported fields
}
AgentSessionErrorLogResolver resolves a session error log
func (*AgentSessionErrorLogResolver) Data ¶
func (r *AgentSessionErrorLogResolver) Data(ctx context.Context, args *JobLogsQueryArgs) (string, error)
Data resolver
func (*AgentSessionErrorLogResolver) LastUpdatedAt ¶
func (r *AgentSessionErrorLogResolver) LastUpdatedAt() (*graphql.Time, error)
LastUpdatedAt resolver
func (*AgentSessionErrorLogResolver) Size ¶
func (r *AgentSessionErrorLogResolver) Size() (int32, error)
Size resolver
type AgentSessionErrorLogSubscriptionInput ¶
AgentSessionErrorLogSubscriptionInput is the input for subscribing to agent session error logs
type AgentSessionEventResolver ¶
type AgentSessionEventResolver struct {
// contains filtered or unexported fields
}
AgentSessionEventResolver resolves a agent session event
func (*AgentSessionEventResolver) Action ¶
func (r *AgentSessionEventResolver) Action() string
Action resolves the event action
func (*AgentSessionEventResolver) AgentSession ¶
func (r *AgentSessionEventResolver) AgentSession() *AgentSessionResolver
AgentSession resolves the agent session
type AgentSessionEventSubscriptionInput ¶
type AgentSessionEventSubscriptionInput struct { OrganizationID *string AgentID *string AgentType *string }
AgentSessionEventSubscriptionInput is the input for subscribing to agent sessions
type AgentSessionResolver ¶
type AgentSessionResolver struct {
// contains filtered or unexported fields
}
AgentSessionResolver resolves a session resource
func (*AgentSessionResolver) Agent ¶
func (r *AgentSessionResolver) Agent(ctx context.Context) (*AgentResolver, error)
Agent resolver
func (*AgentSessionResolver) ErrorCount ¶
func (r *AgentSessionResolver) ErrorCount() int32
ErrorCount resolver
func (*AgentSessionResolver) ErrorLog ¶
func (r *AgentSessionResolver) ErrorLog(ctx context.Context) (*AgentSessionErrorLogResolver, error)
ErrorLog resolver
func (*AgentSessionResolver) Internal ¶
func (r *AgentSessionResolver) Internal() bool
Internal resolver
func (*AgentSessionResolver) LastContacted ¶
func (r *AgentSessionResolver) LastContacted() graphql.Time
LastContacted resolver
func (*AgentSessionResolver) Metadata ¶
func (r *AgentSessionResolver) Metadata() *MetadataResolver
Metadata resolver
type AggregatedMetricStatisticsResolver ¶
type AggregatedMetricStatisticsResolver struct { *MetricStatisticsResolver Bucket graphql.Time }
AggregatedMetricStatisticsResolver resolves aggregated metrics statistics.
type AggregatedMetricStatisticsResultResolver ¶
type AggregatedMetricStatisticsResultResolver struct { OrganizationID *string ProjectID *string ReleaseID *string PipelineID *string EnvironmentName *string Tags *[]*MetricTag MetricName models.MetricName Data []*AggregatedMetricStatisticsResolver }
AggregatedMetricStatisticsResultResolver resolves aggregated metrics statistics result.
type AggregatedMetricStatsQuery ¶
type AggregatedMetricStatsQuery struct { OrganizationID *string ProjectID *string ReleaseID *string PipelineID *string EnvironmentName *string Tags *[]*MetricTag MetricName models.MetricName }
AggregatedMetricStatsQuery is used to query aggregated metrics statistics
type AggregatedMetricStatsQueryArgs ¶
type AggregatedMetricStatsQueryArgs struct { BucketPeriod db.MetricBucketPeriod Queries []*AggregatedMetricStatsQuery BucketCount int32 }
AggregatedMetricStatsQueryArgs are the arguments for aggregated metrics stats query.
type ApprovalRuleConnectionQueryArgs ¶
type ApprovalRuleConnectionQueryArgs struct { ConnectionQueryArgs Search *string Scopes *[]models.ScopeType }
ApprovalRuleConnectionQueryArgs are used to query an approval rule connection
type ApprovalRuleConnectionResolver ¶
type ApprovalRuleConnectionResolver struct {
// contains filtered or unexported fields
}
ApprovalRuleConnectionResolver resolves a approvalRule connection
func NewApprovalRuleConnectionResolver ¶
func NewApprovalRuleConnectionResolver(ctx context.Context, input *approvalrule.GetApprovalRulesInput) (*ApprovalRuleConnectionResolver, error)
NewApprovalRuleConnectionResolver creates a new ApprovalRuleConnectionResolver
func (*ApprovalRuleConnectionResolver) Edges ¶
func (r *ApprovalRuleConnectionResolver) Edges() *[]*ApprovalRuleEdgeResolver
Edges returns the connection edges
func (*ApprovalRuleConnectionResolver) PageInfo ¶
func (r *ApprovalRuleConnectionResolver) PageInfo() *PageInfoResolver
PageInfo returns the connection page information
func (*ApprovalRuleConnectionResolver) TotalCount ¶
func (r *ApprovalRuleConnectionResolver) TotalCount() int32
TotalCount returns the total result count for the connection
type ApprovalRuleEdgeResolver ¶
type ApprovalRuleEdgeResolver struct {
// contains filtered or unexported fields
}
ApprovalRuleEdgeResolver resolves approvalRule edges
func (*ApprovalRuleEdgeResolver) Cursor ¶
func (r *ApprovalRuleEdgeResolver) Cursor() (string, error)
Cursor returns an opaque cursor
func (*ApprovalRuleEdgeResolver) Node ¶
func (r *ApprovalRuleEdgeResolver) Node() (*ApprovalRuleResolver, error)
Node returns a approval rule node
type ApprovalRuleMutationPayload ¶
type ApprovalRuleMutationPayload struct { ClientMutationID *string ApprovalRule *models.ApprovalRule Problems []Problem }
ApprovalRuleMutationPayload is the response payload for a approvalRule mutation
type ApprovalRuleMutationPayloadResolver ¶
type ApprovalRuleMutationPayloadResolver struct {
ApprovalRuleMutationPayload
}
ApprovalRuleMutationPayloadResolver resolves a ApprovalRuleMutationPayload
func (*ApprovalRuleMutationPayloadResolver) ApprovalRule ¶
func (r *ApprovalRuleMutationPayloadResolver) ApprovalRule() *ApprovalRuleResolver
ApprovalRule field resolver
type ApprovalRuleResolver ¶
type ApprovalRuleResolver struct {
// contains filtered or unexported fields
}
ApprovalRuleResolver resolves an approval rule
func (*ApprovalRuleResolver) ApprovalsRequired ¶
func (r *ApprovalRuleResolver) ApprovalsRequired() int32
ApprovalsRequired resolver
func (*ApprovalRuleResolver) CreatedBy ¶
func (r *ApprovalRuleResolver) CreatedBy() string
CreatedBy resolver
func (*ApprovalRuleResolver) Description ¶
func (r *ApprovalRuleResolver) Description() string
Description resolver
func (*ApprovalRuleResolver) Metadata ¶
func (r *ApprovalRuleResolver) Metadata() *MetadataResolver
Metadata resolver
func (*ApprovalRuleResolver) Organization ¶
func (r *ApprovalRuleResolver) Organization(ctx context.Context) (*OrganizationResolver, error)
Organization resolver
func (*ApprovalRuleResolver) Project ¶
func (r *ApprovalRuleResolver) Project(ctx context.Context) (*ProjectResolver, error)
Project resolver
func (*ApprovalRuleResolver) Scope ¶
func (r *ApprovalRuleResolver) Scope() models.ScopeType
Scope resolver
func (*ApprovalRuleResolver) ServiceAccounts ¶
func (r *ApprovalRuleResolver) ServiceAccounts(ctx context.Context) ([]*ServiceAccountResolver, error)
ServiceAccounts resolver
func (*ApprovalRuleResolver) Teams ¶
func (r *ApprovalRuleResolver) Teams(ctx context.Context) ([]*TeamResolver, error)
Teams resolver
func (*ApprovalRuleResolver) Users ¶
func (r *ApprovalRuleResolver) Users(ctx context.Context) ([]*UserResolver, error)
Users resolver
type ApprovePipelineInput ¶
ApprovePipelineInput contains the input for approving a pipeline.
type ApprovePipelineTaskInput ¶
ApprovePipelineTaskInput contains the input for approving a pipeline task
type AssignServiceAccountToAgentInput ¶
type AssignServiceAccountToAgentInput struct { ClientMutationID *string AgentID string ServiceAccountID string }
AssignServiceAccountToAgentInput is used to assign a service account to a agent
type AuthSettingsResolver ¶
type AuthSettingsResolver struct { OIDCIssuerURL *string OIDCClientID *string OIDCUsernameClaim *string OIDCScope *string }
AuthSettingsResolver resolves auth settings
type CancelJobInput ¶
type CancelJobInput struct { ClientMutationID *string Metadata *MetadataInput Force *bool ID string }
CancelJobInput contains the input for canceling a job
type CancelPipelineInput ¶
type CancelPipelineInput struct { ClientMutationID *string Metadata *MetadataInput Force *bool ID string }
CancelPipelineInput contains the input for cancelling a pipeline
type CancelPipelineNodeScheduleInput ¶
type CancelPipelineNodeScheduleInput struct { ClientMutationID *string PipelineID string NodeType statemachine.NodeType NodePath string }
CancelPipelineNodeScheduleInput contains the input for cancelling the scheduled start time for a pipeline node
type CommentEventResolver ¶
type CommentEventResolver struct {
// contains filtered or unexported fields
}
CommentEventResolver resolves a comment event
func (*CommentEventResolver) Action ¶
func (r *CommentEventResolver) Action() string
Action resolves the event action
func (*CommentEventResolver) Comment ¶
func (r *CommentEventResolver) Comment() *CommentResolver
Comment resolves the comment
type CommentEventsSubscriptionInput ¶
CommentEventsSubscriptionInput is the input for subscribing to the events for a single comment
type CommentMutationPayload ¶
type CommentMutationPayload struct { ClientMutationID *string Comment *models.Comment Problems []Problem }
CommentMutationPayload is the response payload for a comment mutation
type CommentMutationPayloadResolver ¶
type CommentMutationPayloadResolver struct {
CommentMutationPayload
}
CommentMutationPayloadResolver resolves a CommentMutationPayload
func (*CommentMutationPayloadResolver) Comment ¶
func (r *CommentMutationPayloadResolver) Comment() *CommentResolver
Comment field resolver
type CommentResolver ¶
type CommentResolver struct {
// contains filtered or unexported fields
}
CommentResolver resolves a comment resource
func (*CommentResolver) Creator ¶
func (r *CommentResolver) Creator(ctx context.Context) (*MemberResolver, error)
Creator resolver
func (*CommentResolver) Metadata ¶
func (r *CommentResolver) Metadata() *MetadataResolver
Metadata resolver
func (*CommentResolver) Thread ¶
func (r *CommentResolver) Thread(ctx context.Context) (*ThreadResolver, error)
Thread 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 CreateAgentInput ¶
type CreateAgentInput struct { ClientMutationID *string OrganizationID *string Type models.AgentType Name string Description string Tags []string Disabled bool RunUntaggedJobs bool }
CreateAgentInput contains the input for creating a new agent
type CreateApprovalRuleInput ¶
type CreateApprovalRuleInput struct { ClientMutationID *string Name string Description string Scope models.ScopeType OrganizationID *string // depending on scope, either OrgID or ProjectID is required ProjectID *string Teams []string Users []string ServiceAccounts []string ApprovalsRequired int32 }
CreateApprovalRuleInput is the input for creating a new approval rule
type CreateEnvironmentInput ¶
type CreateEnvironmentInput struct { ClientMutationID *string ProjectID string Name string Description string }
CreateEnvironmentInput contains the input for creating a new environment
type CreateEnvironmentRuleInput ¶
type CreateEnvironmentRuleInput struct { ClientMutationID *string Scope models.ScopeType OrgID *string // depending on scope, either OrgID or ProjectID is required ProjectID *string EnvironmentName string Users []string Teams []string ServiceAccounts []string Roles []string }
CreateEnvironmentRuleInput is the input for creating a new access rule
type CreateLifecycleTemplateInput ¶
type CreateLifecycleTemplateInput struct { ClientMutationID *string Scope models.ScopeType OrganizationID *string // depending on scope, either OrgID or ProjectID is required ProjectID *string HCLData string }
CreateLifecycleTemplateInput contains the input for creating a new lifecycle template
type CreateMembershipInput ¶
type CreateMembershipInput struct { ClientMutationID *string Username *string TeamName *string ServiceAccountID *string OrganizationID *string ProjectID *string Role string Scope models.ScopeType }
CreateMembershipInput is the input for creating a new membership
type CreateOrganizationInput ¶
CreateOrganizationInput contains the input for creating a new organization
type CreatePipelineCommentInput ¶
type CreatePipelineCommentInput struct { ClientMutationID *string ThreadID *string PipelineID *string Text string }
CreatePipelineCommentInput contains the input for creating a new pipeline comment
type CreatePipelineInput ¶
type CreatePipelineInput struct { ClientMutationID *string Variables *[]pipeline.Variable EnvironmentName *string VariableSetRevision *string PipelineTemplateID string PipelineType models.PipelineType }
CreatePipelineInput contains the input for creating a new pipeline
type CreatePipelineTemplateInput ¶
type CreatePipelineTemplateInput struct { ClientMutationID *string Name *string SemanticVersion *string ProjectID string HCLData string Versioned bool }
CreatePipelineTemplateInput contains the input for creating a new pipeline template
type CreatePluginInput ¶
type CreatePluginInput struct { ClientMutationID *string RepositoryURL *string Private *bool Name string OrganizationID string }
CreatePluginInput is the input for creating a plugin
type CreateProjectInput ¶
type CreateProjectInput struct { ClientMutationID *string Name string Description string OrgName string }
CreateProjectInput contains the input for creating a new project
type CreateProjectVariableInput ¶
type CreateProjectVariableInput struct { EnvironmentScope *string Key string Value string PipelineType models.PipelineType }
CreateProjectVariableInput contains the input for creating a new project variable
type CreateReleaseCommentInput ¶
type CreateReleaseCommentInput struct { ClientMutationID *string ThreadID *string ReleaseID *string Text string }
CreateReleaseCommentInput contains the input for creating a new release comment
type CreateReleaseInput ¶
type CreateReleaseInput struct { ClientMutationID *string Notes *string DueDate *graphql.Time VariableSetRevision *string ProjectID string LifecycleID string SemanticVersion string DeploymentTemplates []DeploymentTemplateInput Variables []release.VariableInput UserParticipants []string TeamParticipants []string }
CreateReleaseInput contains the input for creating a new release
type CreateReleaseLifecycleInput ¶
type CreateReleaseLifecycleInput struct { ClientMutationID *string Scope models.ScopeType OrganizationID *string // depending on scope, either OrgID or ProjectID is required ProjectID *string Name string LifecycleTemplateID string }
CreateReleaseLifecycleInput contains the input for creating a new release lifecycle
type CreateRoleInput ¶
type CreateRoleInput struct { ClientMutationID *string Name string Description string Permissions []string }
CreateRoleInput contains the input for creating a new role
type CreateServiceAccountInput ¶
type CreateServiceAccountInput struct { ClientMutationID *string Scope models.ScopeType OrganizationID *string // depending on scope, either OrgID or ProjectID might be required ProjectID *string Name string Description string OIDCTrustPolicies []OIDCTrustPolicy }
CreateServiceAccountInput contains the input for creating a new serviceAccount
type CreateTeamInput ¶
CreateTeamInput contains the input for creating a new team
type CreateVCSProviderInput ¶
type CreateVCSProviderInput struct { ClientMutationID *string URL *string OrganizationID *string ProjectID *string OAuthClientID *string OAuthClientSecret *string PersonalAccessToken *string ExtraOAuthScopes *[]string Name string Description string Type models.VCSProviderType Scope models.ScopeType AuthType models.VCSProviderAuthType }
CreateVCSProviderInput is the input for creating a VCS provider.
type DeleteAgentInput ¶
type DeleteAgentInput struct { ClientMutationID *string Metadata *MetadataInput ID string }
DeleteAgentInput contains the input for deleting a agent
type DeleteApprovalRuleInput ¶
type DeleteApprovalRuleInput struct { Metadata *MetadataInput ClientMutationID *string ID string }
DeleteApprovalRuleInput is the input for deleting an approval rule
type DeleteCommentInput ¶
type DeleteCommentInput struct { ClientMutationID *string Metadata *MetadataInput ID string }
DeleteCommentInput contains the input for deleting a comment
type DeleteEnvironmentInput ¶
type DeleteEnvironmentInput struct { ClientMutationID *string Metadata *MetadataInput ID string }
DeleteEnvironmentInput contains the input for deleting an environment
type DeleteEnvironmentRuleInput ¶
type DeleteEnvironmentRuleInput struct { Metadata *MetadataInput ClientMutationID *string ID string }
DeleteEnvironmentRuleInput is the input for deleting an access rule
type DeleteMembershipInput ¶
type DeleteMembershipInput struct { ClientMutationID *string Metadata *MetadataInput ID string }
DeleteMembershipInput is the input for deleting a membership
type DeleteOrganizationInput ¶
type DeleteOrganizationInput struct { ClientMutationID *string Metadata *MetadataInput ID string }
DeleteOrganizationInput contains the input for deleting a organization
type DeletePipelineTemplateInput ¶
type DeletePipelineTemplateInput struct { ClientMutationID *string Metadata *MetadataInput ID string }
DeletePipelineTemplateInput contains the input for deleting a pipeline template
type DeletePluginInput ¶
type DeletePluginInput struct { ClientMutationID *string Metadata *MetadataInput ID string }
DeletePluginInput is the input for deleting a plugin
type DeletePluginVersionInput ¶
type DeletePluginVersionInput struct { ClientMutationID *string Metadata *MetadataInput ID string }
DeletePluginVersionInput is the input for deleting a plugin version
type DeleteProjectInput ¶
type DeleteProjectInput struct { ClientMutationID *string Metadata *MetadataInput ID string }
DeleteProjectInput contains the input for deleting a project
type DeleteReleaseInput ¶
type DeleteReleaseInput struct { ClientMutationID *string Metadata *MetadataInput ID string }
DeleteReleaseInput contains the input for deleting a release
type DeleteReleaseLifecycleInput ¶
type DeleteReleaseLifecycleInput struct { ClientMutationID *string Metadata *MetadataInput ID string LifecycleTemplateID string }
DeleteReleaseLifecycleInput contains the input for deleting an existing release lifecycle
type DeleteRoleInput ¶
type DeleteRoleInput struct { ClientMutationID *string Metadata *MetadataInput Force *bool ID string }
DeleteRoleInput contains the input for deleting a role
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 ID string }
DeleteTeamInput contains the input for deleting a team
type DeleteVCSProviderInput ¶
type DeleteVCSProviderInput struct { ClientMutationID *string Metadata *MetadataInput ID string }
DeleteVCSProviderInput is the input for deleting a VCS provider.
type DeploymentTemplateInput ¶
DeploymentTemplateInput is the input for supplying a deployment template.
type EnvironmentConnectionResolver ¶
type EnvironmentConnectionResolver struct {
// contains filtered or unexported fields
}
EnvironmentConnectionResolver resolves an environment connection
func NewEnvironmentConnectionResolver ¶
func NewEnvironmentConnectionResolver(ctx context.Context, input *environment.GetEnvironmentsInput) (*EnvironmentConnectionResolver, error)
NewEnvironmentConnectionResolver creates a new EnvironmentConnectionResolver
func (*EnvironmentConnectionResolver) Edges ¶
func (r *EnvironmentConnectionResolver) Edges() *[]*EnvironmentEdgeResolver
Edges returns the connection edges
func (*EnvironmentConnectionResolver) PageInfo ¶
func (r *EnvironmentConnectionResolver) PageInfo() *PageInfoResolver
PageInfo returns the connection page information
func (*EnvironmentConnectionResolver) TotalCount ¶
func (r *EnvironmentConnectionResolver) TotalCount() int32
TotalCount returns the total result count for the connection
type EnvironmentEdgeResolver ¶
type EnvironmentEdgeResolver struct {
// contains filtered or unexported fields
}
EnvironmentEdgeResolver resolves environment edges
func (*EnvironmentEdgeResolver) Cursor ¶
func (r *EnvironmentEdgeResolver) Cursor() (string, error)
Cursor returns an opaque cursor
func (*EnvironmentEdgeResolver) Node ¶
func (r *EnvironmentEdgeResolver) Node() (*EnvironmentResolver, error)
Node returns an environment node
type EnvironmentMutationPayload ¶
type EnvironmentMutationPayload struct { ClientMutationID *string Environment *models.Environment Problems []Problem }
EnvironmentMutationPayload is the response payload for an environment mutation
type EnvironmentMutationPayloadResolver ¶
type EnvironmentMutationPayloadResolver struct {
EnvironmentMutationPayload
}
EnvironmentMutationPayloadResolver resolves an environmentMutationPayload
func (*EnvironmentMutationPayloadResolver) Environment ¶
func (r *EnvironmentMutationPayloadResolver) Environment() *EnvironmentResolver
Environment field resolver
type EnvironmentResolver ¶
type EnvironmentResolver struct {
// contains filtered or unexported fields
}
EnvironmentResolver resolves an environment resource
func (*EnvironmentResolver) CreatedBy ¶
func (r *EnvironmentResolver) CreatedBy() string
CreatedBy resolver
func (*EnvironmentResolver) Description ¶
func (r *EnvironmentResolver) Description() string
Description resolver
func (*EnvironmentResolver) Metadata ¶
func (r *EnvironmentResolver) Metadata() *MetadataResolver
Metadata resolver
func (*EnvironmentResolver) Pipelines ¶
func (r *EnvironmentResolver) Pipelines(ctx context.Context, args *PipelineConnectionQueryArgs) (*PipelineConnectionResolver, error)
Pipelines resolver
func (*EnvironmentResolver) Project ¶
func (r *EnvironmentResolver) Project(ctx context.Context) (*ProjectResolver, error)
Project resolver
type EnvironmentRuleConnectionResolver ¶
type EnvironmentRuleConnectionResolver struct {
// contains filtered or unexported fields
}
EnvironmentRuleConnectionResolver resolves a environmentRule connection
func NewEnvironmentRuleConnectionResolver ¶
func NewEnvironmentRuleConnectionResolver(ctx context.Context, input *environment.GetEnvironmentRulesInput) (*EnvironmentRuleConnectionResolver, error)
NewEnvironmentRuleConnectionResolver creates a new EnvironmentRuleConnectionResolver
func (*EnvironmentRuleConnectionResolver) Edges ¶
func (r *EnvironmentRuleConnectionResolver) Edges() *[]*EnvironmentRuleEdgeResolver
Edges returns the connection edges
func (*EnvironmentRuleConnectionResolver) PageInfo ¶
func (r *EnvironmentRuleConnectionResolver) PageInfo() *PageInfoResolver
PageInfo returns the connection page information
func (*EnvironmentRuleConnectionResolver) TotalCount ¶
func (r *EnvironmentRuleConnectionResolver) TotalCount() int32
TotalCount returns the total result count for the connection
type EnvironmentRuleEdgeResolver ¶
type EnvironmentRuleEdgeResolver struct {
// contains filtered or unexported fields
}
EnvironmentRuleEdgeResolver resolves environmentRule edges
func (*EnvironmentRuleEdgeResolver) Cursor ¶
func (r *EnvironmentRuleEdgeResolver) Cursor() (string, error)
Cursor returns an opaque cursor
func (*EnvironmentRuleEdgeResolver) Node ¶
func (r *EnvironmentRuleEdgeResolver) Node() (*EnvironmentRuleResolver, error)
Node returns a environment protection rule node
type EnvironmentRuleMutationPayload ¶
type EnvironmentRuleMutationPayload struct { ClientMutationID *string EnvironmentRule *models.EnvironmentRule Problems []Problem }
EnvironmentRuleMutationPayload is the response payload for a environmentRule mutation
type EnvironmentRuleMutationPayloadResolver ¶
type EnvironmentRuleMutationPayloadResolver struct {
EnvironmentRuleMutationPayload
}
EnvironmentRuleMutationPayloadResolver resolves a EnvironmentRuleMutationPayload
func (*EnvironmentRuleMutationPayloadResolver) EnvironmentRule ¶
func (r *EnvironmentRuleMutationPayloadResolver) EnvironmentRule() *EnvironmentRuleResolver
EnvironmentRule field resolver
type EnvironmentRuleResolver ¶
type EnvironmentRuleResolver struct {
// contains filtered or unexported fields
}
EnvironmentRuleResolver resolves a environment protection rule access rule
func (*EnvironmentRuleResolver) CreatedBy ¶
func (r *EnvironmentRuleResolver) CreatedBy() string
CreatedBy resolver
func (*EnvironmentRuleResolver) EnvironmentName ¶
func (r *EnvironmentRuleResolver) EnvironmentName() string
EnvironmentName resolver
func (*EnvironmentRuleResolver) Metadata ¶
func (r *EnvironmentRuleResolver) Metadata() *MetadataResolver
Metadata resolver
func (*EnvironmentRuleResolver) Organization ¶
func (r *EnvironmentRuleResolver) Organization(ctx context.Context) (*OrganizationResolver, error)
Organization resolver
func (*EnvironmentRuleResolver) OrganizationName ¶
func (r *EnvironmentRuleResolver) OrganizationName(ctx context.Context) (string, error)
OrganizationName resolver
func (*EnvironmentRuleResolver) Project ¶
func (r *EnvironmentRuleResolver) Project(ctx context.Context) (*ProjectResolver, error)
Project resolver
func (*EnvironmentRuleResolver) ProjectName ¶
func (r *EnvironmentRuleResolver) ProjectName(ctx context.Context) (*string, error)
ProjectName resolver
func (*EnvironmentRuleResolver) Roles ¶
func (r *EnvironmentRuleResolver) Roles(ctx context.Context) ([]*RoleResolver, error)
Roles resolver
func (*EnvironmentRuleResolver) Scope ¶
func (r *EnvironmentRuleResolver) Scope() models.ScopeType
Scope resolver
func (*EnvironmentRuleResolver) ServiceAccounts ¶
func (r *EnvironmentRuleResolver) ServiceAccounts(ctx context.Context) ([]*ServiceAccountResolver, error)
ServiceAccounts resolver
func (*EnvironmentRuleResolver) Teams ¶
func (r *EnvironmentRuleResolver) Teams(ctx context.Context) ([]*TeamResolver, error)
Teams resolver
func (*EnvironmentRuleResolver) Users ¶
func (r *EnvironmentRuleResolver) Users(ctx context.Context) ([]*UserResolver, error)
Users resolver
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 JobConnectionResolver ¶
type JobConnectionResolver struct {
// contains filtered or unexported fields
}
JobConnectionResolver resolves a job connection
func NewJobConnectionResolver ¶
func NewJobConnectionResolver(ctx context.Context, input *job.GetJobsInput) (*JobConnectionResolver, error)
NewJobConnectionResolver creates a new JobConnectionResolver
func (*JobConnectionResolver) Edges ¶
func (r *JobConnectionResolver) Edges() *[]*JobEdgeResolver
Edges returns the connection edges
func (*JobConnectionResolver) PageInfo ¶
func (r *JobConnectionResolver) PageInfo() *PageInfoResolver
PageInfo returns the connection page information
func (*JobConnectionResolver) TotalCount ¶
func (r *JobConnectionResolver) TotalCount() int32
TotalCount returns the total result count for the connection
type JobDataResolver ¶
type JobDataResolver struct {
// contains filtered or unexported fields
}
JobDataResolver resolves the JobData union type
func (*JobDataResolver) ToJobTaskData ¶
func (r *JobDataResolver) ToJobTaskData() (*JobTaskData, bool)
ToJobTaskData resolver
type JobEdgeResolver ¶
type JobEdgeResolver struct {
// contains filtered or unexported fields
}
JobEdgeResolver resolves job edges
func (*JobEdgeResolver) Cursor ¶
func (r *JobEdgeResolver) Cursor() (string, error)
Cursor returns an opaque cursor
func (*JobEdgeResolver) Node ¶
func (r *JobEdgeResolver) Node() (*JobResolver, error)
Node returns a job node
type JobEventResolver ¶
type JobEventResolver struct {
// contains filtered or unexported fields
}
JobEventResolver resolves a job event
func (*JobEventResolver) Action ¶
func (r *JobEventResolver) Action() string
Action resolves the event action
type JobEventSubscriptionInput ¶
JobEventSubscriptionInput is the input for subscribing to jobs
type JobLogStreamEventResolver ¶
type JobLogStreamEventResolver struct {
// contains filtered or unexported fields
}
JobLogStreamEventResolver resolves a job log event
func (*JobLogStreamEventResolver) Completed ¶
func (j *JobLogStreamEventResolver) Completed() bool
Completed resolver
func (*JobLogStreamEventResolver) Size ¶
func (j *JobLogStreamEventResolver) Size() int32
Size resolver
type JobLogStreamSubscriptionInput ¶
JobLogStreamSubscriptionInput is the input for subscribing to job log events
type JobLogsQueryArgs ¶
JobLogsQueryArgs contains the options for querying job logs
type JobMutationPayload ¶
JobMutationPayload resolves a job mutation payload
type JobMutationPayloadResolver ¶
type JobMutationPayloadResolver struct {
JobMutationPayload
}
JobMutationPayloadResolver resolves a JobMutationPayload
func (*JobMutationPayloadResolver) Job ¶
func (r *JobMutationPayloadResolver) Job() *JobResolver
Job field resolver
type JobResolver ¶
type JobResolver struct {
// contains filtered or unexported fields
}
JobResolver resolves a job resource
func (*JobResolver) Agent ¶
func (r *JobResolver) Agent(ctx context.Context) (*AgentResolver, error)
Agent resolver
func (*JobResolver) CancelRequestedAt ¶
func (r *JobResolver) CancelRequestedAt() *graphql.Time
CancelRequestedAt resolver
func (*JobResolver) ForceCancelAvailableAt ¶
func (r *JobResolver) ForceCancelAvailableAt() *graphql.Time
ForceCancelAvailableAt resolver
func (*JobResolver) ForceCanceled ¶
func (r *JobResolver) ForceCanceled() bool
ForceCanceled resolver
func (*JobResolver) ForceCanceledBy ¶
func (r *JobResolver) ForceCanceledBy() *string
ForceCanceledBy 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) Project ¶
func (r *JobResolver) Project(ctx context.Context) (*ProjectResolver, error)
Project resolver
func (*JobResolver) Timestamps ¶
func (r *JobResolver) Timestamps() *JobTimestampsResolver
Timestamps resolver
type JobTaskData ¶
JobTaskData is the data for a task job type
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 LifecycleTemplateConnectionQueryArgs ¶
type LifecycleTemplateConnectionQueryArgs struct { ConnectionQueryArgs Scopes *[]models.ScopeType }
LifecycleTemplateConnectionQueryArgs are used to query a lifecycle template connection
type LifecycleTemplateConnectionResolver ¶
type LifecycleTemplateConnectionResolver struct {
// contains filtered or unexported fields
}
LifecycleTemplateConnectionResolver resolves a lifecycle template connection
func NewLifecycleTemplateConnectionResolver ¶
func NewLifecycleTemplateConnectionResolver(ctx context.Context, input *lifecycletemplate.GetLifecycleTemplatesInput) (*LifecycleTemplateConnectionResolver, error)
NewLifecycleTemplateConnectionResolver creates a new LifecycleTemplateConnectionResolver
func (*LifecycleTemplateConnectionResolver) Edges ¶
func (r *LifecycleTemplateConnectionResolver) Edges() *[]*LifecycleTemplateEdgeResolver
Edges returns the connection edges
func (*LifecycleTemplateConnectionResolver) PageInfo ¶
func (r *LifecycleTemplateConnectionResolver) PageInfo() *PageInfoResolver
PageInfo returns the connection page information
func (*LifecycleTemplateConnectionResolver) TotalCount ¶
func (r *LifecycleTemplateConnectionResolver) TotalCount() int32
TotalCount returns the total result count for the connection
type LifecycleTemplateEdgeResolver ¶
type LifecycleTemplateEdgeResolver struct {
// contains filtered or unexported fields
}
LifecycleTemplateEdgeResolver resolves lifecycle template edges
func (*LifecycleTemplateEdgeResolver) Cursor ¶
func (r *LifecycleTemplateEdgeResolver) Cursor() (string, error)
Cursor returns an opaque cursor
func (*LifecycleTemplateEdgeResolver) Node ¶
func (r *LifecycleTemplateEdgeResolver) Node() (*LifecycleTemplateResolver, error)
Node returns a lifecycle template node
type LifecycleTemplateMutationPayload ¶
type LifecycleTemplateMutationPayload struct { ClientMutationID *string LifecycleTemplate *models.LifecycleTemplate Problems []Problem }
LifecycleTemplateMutationPayload is the response payload for a lifecycle template mutation
type LifecycleTemplateMutationPayloadResolver ¶
type LifecycleTemplateMutationPayloadResolver struct {
LifecycleTemplateMutationPayload
}
LifecycleTemplateMutationPayloadResolver resolves a LifecycleTemplateMutationPayload
func (*LifecycleTemplateMutationPayloadResolver) LifecycleTemplate ¶
func (r *LifecycleTemplateMutationPayloadResolver) LifecycleTemplate() *LifecycleTemplateResolver
LifecycleTemplate field resolver
type LifecycleTemplateResolver ¶
type LifecycleTemplateResolver struct {
// contains filtered or unexported fields
}
LifecycleTemplateResolver resolves a lifecycle template resource
func (*LifecycleTemplateResolver) CreatedBy ¶
func (r *LifecycleTemplateResolver) CreatedBy() string
CreatedBy resolver
func (*LifecycleTemplateResolver) HCLData ¶
func (r *LifecycleTemplateResolver) HCLData(ctx context.Context) (string, error)
HCLData resolver
func (*LifecycleTemplateResolver) ID ¶
func (r *LifecycleTemplateResolver) ID() graphql.ID
ID resolver
func (*LifecycleTemplateResolver) Metadata ¶
func (r *LifecycleTemplateResolver) Metadata() *MetadataResolver
Metadata resolver
func (*LifecycleTemplateResolver) Organization ¶
func (r *LifecycleTemplateResolver) Organization(ctx context.Context) (*OrganizationResolver, error)
Organization resolver
func (*LifecycleTemplateResolver) Project ¶
func (r *LifecycleTemplateResolver) Project(ctx context.Context) (*ProjectResolver, error)
Project resolver
func (*LifecycleTemplateResolver) Scope ¶
func (r *LifecycleTemplateResolver) Scope() models.ScopeType
Scope resolver
func (*LifecycleTemplateResolver) Status ¶
func (r *LifecycleTemplateResolver) Status() models.LifecycleTemplateStatus
Status 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 MembershipConnectionQueryArgs ¶
type MembershipConnectionQueryArgs struct { ConnectionQueryArgs Scope *models.ScopeType }
MembershipConnectionQueryArgs are the arguments for the memberships query.
type MembershipConnectionResolver ¶
type MembershipConnectionResolver struct {
// contains filtered or unexported fields
}
MembershipConnectionResolver resolves a membership connection
func NewMembershipConnectionResolver ¶
func NewMembershipConnectionResolver(ctx context.Context, input *membership.GetMembershipsInput, ) (*MembershipConnectionResolver, error)
NewMembershipConnectionResolver creates a new MembershipConnectionResolver
func (*MembershipConnectionResolver) Edges ¶
func (r *MembershipConnectionResolver) Edges() *[]*MembershipEdgeResolver
Edges returns the connection edges
func (*MembershipConnectionResolver) PageInfo ¶
func (r *MembershipConnectionResolver) PageInfo() *PageInfoResolver
PageInfo returns the connection page information
func (*MembershipConnectionResolver) TotalCount ¶
func (r *MembershipConnectionResolver) TotalCount() int32
TotalCount returns the total result count for the connection
type MembershipEdgeResolver ¶
type MembershipEdgeResolver struct {
// contains filtered or unexported fields
}
MembershipEdgeResolver resolves membership edges
func (*MembershipEdgeResolver) Cursor ¶
func (r *MembershipEdgeResolver) Cursor() (string, error)
Cursor returns an opaque cursor
func (*MembershipEdgeResolver) Node ¶
func (r *MembershipEdgeResolver) Node() (*MembershipResolver, error)
Node returns a membership node
type MembershipMutationPayload ¶
type MembershipMutationPayload struct { ClientMutationID *string Membership *models.Membership Problems []Problem }
MembershipMutationPayload is the response payload for a membership mutation
type MembershipMutationPayloadResolver ¶
type MembershipMutationPayloadResolver struct {
MembershipMutationPayload
}
MembershipMutationPayloadResolver resolves an MembershipMutationPayload
func (*MembershipMutationPayloadResolver) Membership ¶
func (r *MembershipMutationPayloadResolver) Membership() (*MembershipResolver, error)
Membership field resolver
type MembershipResolver ¶
type MembershipResolver struct {
// contains filtered or unexported fields
}
MembershipResolver resolves a membership resource
func (*MembershipResolver) Member ¶
func (r *MembershipResolver) Member(ctx context.Context) (*MemberResolver, error)
Member resolver
func (*MembershipResolver) Metadata ¶
func (r *MembershipResolver) Metadata() *MetadataResolver
Metadata resolver
func (*MembershipResolver) Organization ¶
func (r *MembershipResolver) Organization(ctx context.Context) (*OrganizationResolver, error)
Organization resolver
func (*MembershipResolver) Project ¶
func (r *MembershipResolver) Project(ctx context.Context) (*ProjectResolver, error)
Project resolver.
func (*MembershipResolver) Role ¶
func (r *MembershipResolver) Role(ctx context.Context) (*RoleResolver, error)
Role resolver
func (*MembershipResolver) Scope ¶
func (r *MembershipResolver) Scope() models.ScopeType
Scope resolver
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 MetricConnectionQueryArgs ¶
type MetricConnectionQueryArgs struct { ConnectionQueryArgs TimeRangeStart graphql.Time TimeRangeEnd *graphql.Time OrganizationID *string ProjectID *string ReleaseID *string PipelineID *string EnvironmentName *string Tags *[]*MetricTag MetricName models.MetricName }
MetricConnectionQueryArgs are used to query a metric connection
type MetricConnectionResolver ¶
type MetricConnectionResolver struct {
// contains filtered or unexported fields
}
MetricConnectionResolver resolves a metric connection
func NewMetricConnectionResolver ¶
func NewMetricConnectionResolver(ctx context.Context, input *metric.GetMetricsInput) (*MetricConnectionResolver, error)
NewMetricConnectionResolver creates a new MetricConnectionResolver
func (*MetricConnectionResolver) Edges ¶
func (r *MetricConnectionResolver) Edges() *[]*MetricEdgeResolver
Edges returns the connection edges
func (*MetricConnectionResolver) PageInfo ¶
func (r *MetricConnectionResolver) PageInfo() *PageInfoResolver
PageInfo returns the connection page information
func (*MetricConnectionResolver) TotalCount ¶
func (r *MetricConnectionResolver) TotalCount() int32
TotalCount returns the total result count for the connection
type MetricEdgeResolver ¶
type MetricEdgeResolver struct {
// contains filtered or unexported fields
}
MetricEdgeResolver resolves metric edges
func (*MetricEdgeResolver) Cursor ¶
func (r *MetricEdgeResolver) Cursor() (string, error)
Cursor returns an opaque cursor
func (*MetricEdgeResolver) Node ¶
func (r *MetricEdgeResolver) Node() (*MetricResolver, error)
Node returns a metric node
type MetricResolver ¶
type MetricResolver struct {
// contains filtered or unexported fields
}
MetricResolver resolves a metric.
func (*MetricResolver) EnvironmentName ¶
func (r *MetricResolver) EnvironmentName() *string
EnvironmentName resolver
func (*MetricResolver) Metadata ¶
func (r *MetricResolver) Metadata() *MetadataResolver
Metadata resolver
func (*MetricResolver) OrganizationID ¶
func (r *MetricResolver) OrganizationID() *string
OrganizationID resolver
func (*MetricResolver) PipelineID ¶
func (r *MetricResolver) PipelineID() *string
PipelineID resolver
type MetricStatisticsResolver ¶
type MetricStatisticsResolver struct {
// contains filtered or unexported fields
}
MetricStatisticsResolver resolves metrics statistics.
func (*MetricStatisticsResolver) Average ¶
func (r *MetricStatisticsResolver) Average() float64
Average resolver
func (*MetricStatisticsResolver) Maximum ¶
func (r *MetricStatisticsResolver) Maximum() float64
Maximum resolver
func (*MetricStatisticsResolver) Minimum ¶
func (r *MetricStatisticsResolver) Minimum() float64
Minimum resolver
func (*MetricStatisticsResolver) Sum ¶
func (r *MetricStatisticsResolver) Sum() float64
Sum resolver
type MetricStatsQueryArgs ¶
type MetricStatsQueryArgs struct { TimeRangeStart graphql.Time TimeRangeEnd *graphql.Time OrganizationID *string ProjectID *string ReleaseID *string PipelineID *string EnvironmentName *string Tags *[]*MetricTag MetricName models.MetricName }
MetricStatsQueryArgs are the arguments for metrics stats query.
type MetricTag ¶
type MetricTag struct { Name models.MetricTagName Value string }
MetricTag resolves a metric tag
type MetricsStatisticsResolver ¶
type MetricsStatisticsResolver struct {
// contains filtered or unexported fields
}
MetricsStatisticsResolver resolves metrics statistics based on the provided filters
func (*MetricsStatisticsResolver) ApprovalWaitTime ¶
func (r *MetricsStatisticsResolver) ApprovalWaitTime(ctx context.Context) (*MetricStatisticsResolver, error)
ApprovalWaitTime resolver
func (*MetricsStatisticsResolver) DeploymentCanceledCount ¶
func (r *MetricsStatisticsResolver) DeploymentCanceledCount(ctx context.Context) (*MetricStatisticsResolver, error)
DeploymentCanceledCount resolver
func (*MetricsStatisticsResolver) DeploymentDuration ¶
func (r *MetricsStatisticsResolver) DeploymentDuration(ctx context.Context) (*MetricStatisticsResolver, error)
DeploymentDuration resolver
func (*MetricsStatisticsResolver) DeploymentFailureCount ¶
func (r *MetricsStatisticsResolver) DeploymentFailureCount(ctx context.Context) (*MetricStatisticsResolver, error)
DeploymentFailureCount resolver
func (*MetricsStatisticsResolver) DeploymentLeadTime ¶
func (r *MetricsStatisticsResolver) DeploymentLeadTime(ctx context.Context) (*MetricStatisticsResolver, error)
DeploymentLeadTime resolver
func (*MetricsStatisticsResolver) DeploymentRecoveryTime ¶
func (r *MetricsStatisticsResolver) DeploymentRecoveryTime(ctx context.Context) (*MetricStatisticsResolver, error)
DeploymentRecoveryTime resolver
func (*MetricsStatisticsResolver) DeploymentSuccessCount ¶
func (r *MetricsStatisticsResolver) DeploymentSuccessCount(ctx context.Context) (*MetricStatisticsResolver, error)
DeploymentSuccessCount resolver
func (*MetricsStatisticsResolver) ReleaseLeadTime ¶
func (r *MetricsStatisticsResolver) ReleaseLeadTime(ctx context.Context) (*MetricStatisticsResolver, error)
ReleaseLeadTime resolver
type NestedPipelineResolver ¶
type NestedPipelineResolver struct {
// contains filtered or unexported fields
}
NestedPipelineResolver resolves a nested pipeline
func (*NestedPipelineResolver) ApprovalStatus ¶
func (r *NestedPipelineResolver) ApprovalStatus() models.PipelineApprovalStatus
ApprovalStatus resolver
func (*NestedPipelineResolver) CronSchedule ¶ added in v0.9.0
func (r *NestedPipelineResolver) CronSchedule() *PipelineCronScheduleResolver
CronSchedule resolver
func (*NestedPipelineResolver) Dependencies ¶
func (r *NestedPipelineResolver) Dependencies() []string
Dependencies resolver
func (*NestedPipelineResolver) EnvironmentName ¶
func (r *NestedPipelineResolver) EnvironmentName() *string
EnvironmentName resolver
func (*NestedPipelineResolver) Errors ¶ added in v0.3.0
func (r *NestedPipelineResolver) Errors() []string
Errors resolver
func (*NestedPipelineResolver) LatestPipeline ¶
func (r *NestedPipelineResolver) LatestPipeline(ctx context.Context) (*PipelineResolver, error)
LatestPipeline resolver
func (*NestedPipelineResolver) OnError ¶ added in v0.7.0
func (r *NestedPipelineResolver) OnError() statemachine.OnErrorStrategy
OnError resolver
func (*NestedPipelineResolver) Pipelines ¶
func (r *NestedPipelineResolver) Pipelines(ctx context.Context, args *ConnectionQueryArgs) (*PipelineConnectionResolver, error)
Pipelines resolver
func (*NestedPipelineResolver) ScheduledStartTime ¶
func (r *NestedPipelineResolver) ScheduledStartTime() *graphql.Time
ScheduledStartTime resolver
func (*NestedPipelineResolver) Status ¶
func (r *NestedPipelineResolver) Status() statemachine.NodeStatus
Status resolver
type NodeResolver ¶
type NodeResolver struct {
// contains filtered or unexported fields
}
NodeResolver resolves a node type
func (*NodeResolver) ToAgent ¶
func (r *NodeResolver) ToAgent() (*AgentResolver, bool)
ToAgent resolver
func (*NodeResolver) ToAgentSession ¶
func (r *NodeResolver) ToAgentSession() (*AgentSessionResolver, bool)
ToAgentSession resolver
func (*NodeResolver) ToApprovalRule ¶
func (r *NodeResolver) ToApprovalRule() (*ApprovalRuleResolver, bool)
ToApprovalRule resolver
func (*NodeResolver) ToComment ¶
func (r *NodeResolver) ToComment() (*CommentResolver, bool)
ToComment resolver
func (*NodeResolver) ToEnvironment ¶
func (r *NodeResolver) ToEnvironment() (*EnvironmentResolver, bool)
ToEnvironment resolver
func (*NodeResolver) ToEnvironmentRule ¶
func (r *NodeResolver) ToEnvironmentRule() (*EnvironmentRuleResolver, bool)
ToEnvironmentRule resolver
func (*NodeResolver) ToLifecycleTemplate ¶
func (r *NodeResolver) ToLifecycleTemplate() (*LifecycleTemplateResolver, bool)
ToLifecycleTemplate resolver
func (*NodeResolver) ToMembership ¶
func (r *NodeResolver) ToMembership() (*MembershipResolver, bool)
ToMembership resolver
func (*NodeResolver) ToOrganization ¶
func (r *NodeResolver) ToOrganization() (*OrganizationResolver, bool)
ToOrganization resolver
func (*NodeResolver) ToPipeline ¶
func (r *NodeResolver) ToPipeline() (*PipelineResolver, bool)
ToPipeline resolver
func (*NodeResolver) ToPipelineTemplate ¶
func (r *NodeResolver) ToPipelineTemplate() (*PipelineTemplateResolver, bool)
ToPipelineTemplate resolver
func (*NodeResolver) ToPlugin ¶
func (r *NodeResolver) ToPlugin() (*PluginResolver, bool)
ToPlugin resolver
func (*NodeResolver) ToPluginPlatform ¶
func (r *NodeResolver) ToPluginPlatform() (*PluginPlatformResolver, bool)
ToPluginPlatform resolver
func (*NodeResolver) ToPluginVersion ¶
func (r *NodeResolver) ToPluginVersion() (*PluginVersionResolver, bool)
ToPluginVersion resolver
func (*NodeResolver) ToProject ¶
func (r *NodeResolver) ToProject() (*ProjectResolver, bool)
ToProject resolver
func (*NodeResolver) ToProjectVariable ¶
func (r *NodeResolver) ToProjectVariable() (*ProjectVariableResolver, bool)
ToProjectVariable resolver
func (*NodeResolver) ToProjectVariableSet ¶
func (r *NodeResolver) ToProjectVariableSet() (*ProjectVariableSetResolver, bool)
ToProjectVariableSet resolver
func (*NodeResolver) ToRelease ¶
func (r *NodeResolver) ToRelease() (*ReleaseResolver, bool)
ToRelease resolver
func (*NodeResolver) ToReleaseLifecycle ¶
func (r *NodeResolver) ToReleaseLifecycle() (*ReleaseLifecycleResolver, bool)
ToReleaseLifecycle resolver
func (*NodeResolver) ToServiceAccount ¶
func (r *NodeResolver) ToServiceAccount() (*ServiceAccountResolver, bool)
ToServiceAccount resolver
func (*NodeResolver) ToThread ¶
func (r *NodeResolver) ToThread() (*ThreadResolver, bool)
ToThread resolver
func (*NodeResolver) ToVCSProvider ¶
func (r *NodeResolver) ToVCSProvider() (*VCSProviderResolver, bool)
ToVCSProvider resolver
type OIDCTrustPolicy ¶
type OIDCTrustPolicy struct { Issuer string BoundClaimsType *models.BoundClaimsType BoundClaims []JWTClaim }
OIDCTrustPolicy specifies the trust policies for a service account
type OrganizationConnectionQueryArgs ¶
type OrganizationConnectionQueryArgs struct { ConnectionQueryArgs Search *string }
OrganizationConnectionQueryArgs are used to query an organization connection
type OrganizationConnectionResolver ¶
type OrganizationConnectionResolver struct {
// contains filtered or unexported fields
}
OrganizationConnectionResolver resolves an organization connection
func NewOrganizationConnectionResolver ¶
func NewOrganizationConnectionResolver(ctx context.Context, input *organization.GetOrganizationsInput) (*OrganizationConnectionResolver, error)
NewOrganizationConnectionResolver creates a new OrganizationConnectionResolver
func (*OrganizationConnectionResolver) Edges ¶
func (r *OrganizationConnectionResolver) Edges() *[]*OrganizationEdgeResolver
Edges returns the connection edges
func (*OrganizationConnectionResolver) PageInfo ¶
func (r *OrganizationConnectionResolver) PageInfo() *PageInfoResolver
PageInfo returns the connection page information
func (*OrganizationConnectionResolver) TotalCount ¶
func (r *OrganizationConnectionResolver) TotalCount() int32
TotalCount returns the total result count for the connection
type OrganizationEdgeResolver ¶
type OrganizationEdgeResolver struct {
// contains filtered or unexported fields
}
OrganizationEdgeResolver resolves organization edges
func (*OrganizationEdgeResolver) Cursor ¶
func (r *OrganizationEdgeResolver) Cursor() (string, error)
Cursor returns an opaque cursor
func (*OrganizationEdgeResolver) Node ¶
func (r *OrganizationEdgeResolver) Node() (*OrganizationResolver, error)
Node returns a organization node
type OrganizationMutationPayload ¶
type OrganizationMutationPayload struct { ClientMutationID *string Organization *models.Organization Problems []Problem }
OrganizationMutationPayload is the response payload for an organization mutation
type OrganizationMutationPayloadResolver ¶
type OrganizationMutationPayloadResolver struct {
OrganizationMutationPayload
}
OrganizationMutationPayloadResolver resolves a OrganizationMutationPayload
func (*OrganizationMutationPayloadResolver) Organization ¶
func (r *OrganizationMutationPayloadResolver) Organization() *OrganizationResolver
Organization field resolver
type OrganizationQueryArgs ¶
type OrganizationQueryArgs struct {
Name string
}
OrganizationQueryArgs are used to query a single organization
type OrganizationResolver ¶
type OrganizationResolver struct {
// contains filtered or unexported fields
}
OrganizationResolver resolves an organization resource
func (*OrganizationResolver) ActivityEvents ¶
func (r *OrganizationResolver) ActivityEvents( ctx context.Context, args *ActivityEventConnectionQueryArgs, ) (*ActivityEventConnectionResolver, error)
ActivityEvents resolver
func (*OrganizationResolver) Agents ¶
func (r *OrganizationResolver) Agents(ctx context.Context, args *ConnectionQueryArgs) (*AgentConnectionResolver, error)
Agents resolver
func (*OrganizationResolver) ApprovalRules ¶
func (r *OrganizationResolver) ApprovalRules(ctx context.Context, args *ConnectionQueryArgs) (*ApprovalRuleConnectionResolver, error)
ApprovalRules resolver
func (*OrganizationResolver) CreatedBy ¶
func (r *OrganizationResolver) CreatedBy() string
CreatedBy resolver
func (*OrganizationResolver) Description ¶
func (r *OrganizationResolver) Description() string
Description resolver
func (*OrganizationResolver) EnvironmentNames ¶
func (r *OrganizationResolver) EnvironmentNames(ctx context.Context) ([]string, error)
EnvironmentNames resolver
func (*OrganizationResolver) EnvironmentRules ¶
func (r *OrganizationResolver) EnvironmentRules(ctx context.Context, args *ConnectionQueryArgs) (*EnvironmentRuleConnectionResolver, error)
EnvironmentRules resolver
func (*OrganizationResolver) LifecycleTemplates ¶
func (r *OrganizationResolver) LifecycleTemplates(ctx context.Context, args *ConnectionQueryArgs) (*LifecycleTemplateConnectionResolver, error)
LifecycleTemplates resolver
func (*OrganizationResolver) Memberships ¶
func (r *OrganizationResolver) Memberships(ctx context.Context, args *ConnectionQueryArgs) (*MembershipConnectionResolver, error)
Memberships resolver
func (*OrganizationResolver) Metadata ¶
func (r *OrganizationResolver) Metadata() *MetadataResolver
Metadata resolver
func (*OrganizationResolver) MetricStats ¶
func (r *OrganizationResolver) MetricStats(input *struct { TimeRangeStart graphql.Time TimeRangeEnd *graphql.Time }) *MetricsStatisticsResolver
MetricStats resolver
func (*OrganizationResolver) Projects ¶
func (r *OrganizationResolver) Projects(ctx context.Context, args *ProjectConnectionQueryArgs) (*ProjectConnectionResolver, error)
Projects resolver
func (*OrganizationResolver) ReleaseLifecycles ¶
func (r *OrganizationResolver) ReleaseLifecycles(ctx context.Context, args *ReleaseLifecycleConnectionQueryArgs) (*ReleaseLifecycleConnectionResolver, error)
ReleaseLifecycles resolver
func (*OrganizationResolver) ServiceAccounts ¶
func (r *OrganizationResolver) ServiceAccounts(ctx context.Context, args *ServiceAccountConnectionQueryArgs) (*ServiceAccountConnectionResolver, error)
ServiceAccounts resolver
func (*OrganizationResolver) VCSProviders ¶
func (r *OrganizationResolver) VCSProviders(ctx context.Context, args *VCSProviderConnectionQueryArgs) (*VCSProviderConnectionResolver, error)
VCSProviders resolver
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 PatchProjectVariablesInput ¶
type PatchProjectVariablesInput struct { ClientMutationID *string CreateVariables *[]*CreateProjectVariableInput ReplaceVariables *[]*ReplaceProjectVariableInput RemoveVariableIDs *[]string ProjectID string }
PatchProjectVariablesInput contains the input for patching project variables
type PipelineActionOutputResolver ¶
type PipelineActionOutputResolver struct {
// contains filtered or unexported fields
}
PipelineActionOutputResolver resolves an output resource
func (*PipelineActionOutputResolver) ID ¶
func (r *PipelineActionOutputResolver) ID() graphql.ID
ID resolver
func (*PipelineActionOutputResolver) Metadata ¶
func (r *PipelineActionOutputResolver) Metadata() *MetadataResolver
Metadata resolver
func (*PipelineActionOutputResolver) Name ¶
func (r *PipelineActionOutputResolver) Name() string
Name resolver
func (*PipelineActionOutputResolver) Type ¶
func (r *PipelineActionOutputResolver) Type() string
Type resolver
func (*PipelineActionOutputResolver) Value ¶
func (r *PipelineActionOutputResolver) Value() string
Value resolver
type PipelineActionResolver ¶
type PipelineActionResolver struct {
// contains filtered or unexported fields
}
PipelineActionResolver resolves a pipeline action
func (*PipelineActionResolver) Outputs ¶
func (r *PipelineActionResolver) Outputs(ctx context.Context) []*PipelineActionOutputResolver
Outputs resolver
func (*PipelineActionResolver) Status ¶
func (r *PipelineActionResolver) Status() statemachine.NodeStatus
Status resolver
type PipelineApprovalResolver ¶
type PipelineApprovalResolver struct {
// contains filtered or unexported fields
}
PipelineApprovalResolver resolves a pipeline approval
func (*PipelineApprovalResolver) ApprovalRules ¶
func (r *PipelineApprovalResolver) ApprovalRules(ctx context.Context) ([]*ApprovalRuleResolver, error)
ApprovalRules resolver
func (*PipelineApprovalResolver) Approver ¶
func (r *PipelineApprovalResolver) Approver(ctx context.Context) (*MemberResolver, error)
Approver resolver
func (*PipelineApprovalResolver) ID ¶
func (r *PipelineApprovalResolver) ID() graphql.ID
ID resolver
func (*PipelineApprovalResolver) Metadata ¶
func (r *PipelineApprovalResolver) Metadata() *MetadataResolver
Metadata resolver
type PipelineConnectionQueryArgs ¶
type PipelineConnectionQueryArgs struct { ConnectionQueryArgs Started *bool Completed *bool Superseded *bool PipelineTypes *[]models.PipelineType EnvironmentName *string }
PipelineConnectionQueryArgs contains the arguments for querying pipeline jobs
type PipelineConnectionResolver ¶
type PipelineConnectionResolver struct {
// contains filtered or unexported fields
}
PipelineConnectionResolver resolves a pipeline connection
func NewPipelineConnectionResolver ¶
func NewPipelineConnectionResolver(ctx context.Context, input *pipeline.GetPipelinesInput) (*PipelineConnectionResolver, error)
NewPipelineConnectionResolver creates a new PipelineConnectionResolver
func (*PipelineConnectionResolver) Edges ¶
func (r *PipelineConnectionResolver) Edges() *[]*PipelineEdgeResolver
Edges returns the connection edges
func (*PipelineConnectionResolver) PageInfo ¶
func (r *PipelineConnectionResolver) PageInfo() *PageInfoResolver
PageInfo returns the connection page information
func (*PipelineConnectionResolver) TotalCount ¶
func (r *PipelineConnectionResolver) TotalCount() int32
TotalCount returns the total result count for the connection
type PipelineCronScheduleResolver ¶ added in v0.9.0
type PipelineCronScheduleResolver struct {
// contains filtered or unexported fields
}
PipelineCronScheduleResolver resolves a pipeline cron schedule
func (*PipelineCronScheduleResolver) Expression ¶ added in v0.9.0
func (r *PipelineCronScheduleResolver) Expression() string
Expression resolver
func (*PipelineCronScheduleResolver) Timezone ¶ added in v0.9.0
func (r *PipelineCronScheduleResolver) Timezone() string
Timezone resolver
type PipelineEdgeResolver ¶
type PipelineEdgeResolver struct {
// contains filtered or unexported fields
}
PipelineEdgeResolver resolves pipeline edges
func (*PipelineEdgeResolver) Cursor ¶
func (r *PipelineEdgeResolver) Cursor() (string, error)
Cursor returns an opaque cursor
func (*PipelineEdgeResolver) Node ¶
func (r *PipelineEdgeResolver) Node() (*PipelineResolver, error)
Node returns a pipeline node
type PipelineEventResolver ¶
type PipelineEventResolver struct {
// contains filtered or unexported fields
}
PipelineEventResolver resolves a pipeline event
func (*PipelineEventResolver) Action ¶
func (r *PipelineEventResolver) Action() string
Action resolves the event action
func (*PipelineEventResolver) Pipeline ¶
func (r *PipelineEventResolver) Pipeline() *PipelineResolver
Pipeline resolves the pipeline
type PipelineEventsSubscriptionInput ¶
PipelineEventsSubscriptionInput is the input for subscribing to the events for a single pipeline
type PipelineJobsConnectionQueryArgs ¶
type PipelineJobsConnectionQueryArgs struct { ConnectionQueryArgs TaskPath *string }
PipelineJobsConnectionQueryArgs contains the arguments for querying pipeline jobs
type PipelineMutationPayload ¶
type PipelineMutationPayload struct { ClientMutationID *string Pipeline *models.Pipeline Problems []Problem }
PipelineMutationPayload is the response payload for a pipeline mutation
type PipelineMutationPayloadResolver ¶
type PipelineMutationPayloadResolver struct {
PipelineMutationPayload
}
PipelineMutationPayloadResolver resolves a PipelineMutationPayload
func (*PipelineMutationPayloadResolver) Pipeline ¶
func (r *PipelineMutationPayloadResolver) Pipeline() *PipelineResolver
Pipeline field resolver
type PipelineNodeQueryArgs ¶
PipelineNodeQueryArgs contains the arguments for querying pipeline nodes
type PipelineNodeResolver ¶
type PipelineNodeResolver struct {
// contains filtered or unexported fields
}
PipelineNodeResolver resolves a pipeline node
func (*PipelineNodeResolver) ToNestedPipeline ¶
func (r *PipelineNodeResolver) ToNestedPipeline() (*NestedPipelineResolver, bool)
ToNestedPipeline resolver
func (*PipelineNodeResolver) ToPipelineAction ¶
func (r *PipelineNodeResolver) ToPipelineAction() (*PipelineActionResolver, bool)
ToPipelineAction resolver
func (*PipelineNodeResolver) ToPipelineStage ¶
func (r *PipelineNodeResolver) ToPipelineStage() (*PipelineStageResolver, bool)
ToPipelineStage resolver
func (*PipelineNodeResolver) ToPipelineTask ¶
func (r *PipelineNodeResolver) ToPipelineTask() (*PipelineTaskResolver, bool)
ToPipelineTask resolver
type PipelineResolver ¶
type PipelineResolver struct {
// contains filtered or unexported fields
}
PipelineResolver resolves a pipeline resource
func (*PipelineResolver) Annotations ¶
func (r *PipelineResolver) Annotations() []*models.PipelineAnnotation
Annotations resolver
func (*PipelineResolver) ApprovalRules ¶
func (r *PipelineResolver) ApprovalRules(ctx context.Context) ([]*ApprovalRuleResolver, error)
ApprovalRules resolver
func (*PipelineResolver) ApprovalStatus ¶
func (r *PipelineResolver) ApprovalStatus() models.PipelineApprovalStatus
ApprovalStatus resolver
func (*PipelineResolver) Approvals ¶
func (r *PipelineResolver) Approvals(ctx context.Context) ([]*PipelineApprovalResolver, error)
Approvals resolver
func (*PipelineResolver) CreatedBy ¶
func (r *PipelineResolver) CreatedBy() string
CreatedBy resolver
func (*PipelineResolver) CronSchedule ¶ added in v0.9.0
func (r *PipelineResolver) CronSchedule(ctx context.Context) (*PipelineCronScheduleResolver, error)
CronSchedule resolver
func (*PipelineResolver) Environment ¶
func (r *PipelineResolver) Environment(ctx context.Context) (*EnvironmentResolver, error)
Environment resolver
func (*PipelineResolver) EnvironmentName ¶
func (r *PipelineResolver) EnvironmentName() *string
EnvironmentName resolver
func (*PipelineResolver) ForceCancelAvailableAt ¶
ForceCancelAvailableAt resolver
func (*PipelineResolver) Jobs ¶
func (r *PipelineResolver) Jobs(ctx context.Context, args *PipelineJobsConnectionQueryArgs) (*JobConnectionResolver, error)
Jobs resolver
func (*PipelineResolver) Metadata ¶
func (r *PipelineResolver) Metadata() *MetadataResolver
Metadata resolver
func (*PipelineResolver) ParentPipeline ¶
func (r *PipelineResolver) ParentPipeline(ctx context.Context) (*PipelineResolver, error)
ParentPipeline resolver
func (*PipelineResolver) ParentPipelineNodePath ¶
func (r *PipelineResolver) ParentPipelineNodePath() *string
ParentPipelineNodePath resolver
func (*PipelineResolver) PipelineTemplate ¶
func (r *PipelineResolver) PipelineTemplate(ctx context.Context) (*PipelineTemplateResolver, error)
PipelineTemplate resolver
func (*PipelineResolver) Project ¶
func (r *PipelineResolver) Project(ctx context.Context) (*ProjectResolver, error)
Project resolver
func (*PipelineResolver) Release ¶
func (r *PipelineResolver) Release(ctx context.Context) (*ReleaseResolver, error)
Release resolver
func (*PipelineResolver) ScheduledStartTime ¶
ScheduledStartTime resolver
func (*PipelineResolver) Stages ¶
func (r *PipelineResolver) Stages() []*PipelineStageResolver
Stages resolver
func (*PipelineResolver) Status ¶
func (r *PipelineResolver) Status() statemachine.NodeStatus
Status resolver
func (*PipelineResolver) Superseded ¶
func (r *PipelineResolver) Superseded() bool
Superseded resolver
func (*PipelineResolver) Threads ¶
func (r *PipelineResolver) Threads( ctx context.Context, args *ConnectionQueryArgs, ) (*ThreadConnectionResolver, error)
Threads resolver
func (*PipelineResolver) Timestamps ¶
func (r *PipelineResolver) Timestamps() *PipelineTimestampsResolver
Timestamps resolver
func (*PipelineResolver) Variables ¶
func (r *PipelineResolver) Variables(ctx context.Context) ([]*PipelineVariableResolver, error)
Variables resolver
type PipelineStageResolver ¶
type PipelineStageResolver struct {
// contains filtered or unexported fields
}
PipelineStageResolver resolves a pipeline stage
func (*PipelineStageResolver) NestedPipelines ¶
func (r *PipelineStageResolver) NestedPipelines() []*NestedPipelineResolver
NestedPipelines resolver
func (*PipelineStageResolver) Status ¶
func (r *PipelineStageResolver) Status() statemachine.NodeStatus
Status resolver
func (*PipelineStageResolver) Tasks ¶
func (r *PipelineStageResolver) Tasks() []*PipelineTaskResolver
Tasks resolver
type PipelineTaskResolver ¶
type PipelineTaskResolver struct {
// contains filtered or unexported fields
}
PipelineTaskResolver resolves a pipeline task
func (*PipelineTaskResolver) Actions ¶
func (r *PipelineTaskResolver) Actions() []*PipelineActionResolver
Actions resolver
func (*PipelineTaskResolver) AgentTags ¶
func (r *PipelineTaskResolver) AgentTags() []string
AgentTags resolver
func (*PipelineTaskResolver) ApprovalRules ¶
func (r *PipelineTaskResolver) ApprovalRules(ctx context.Context) ([]*ApprovalRuleResolver, error)
ApprovalRules resolver
func (*PipelineTaskResolver) ApprovalStatus ¶
func (r *PipelineTaskResolver) ApprovalStatus() models.PipelineApprovalStatus
ApprovalStatus resolver
func (*PipelineTaskResolver) Approvals ¶
func (r *PipelineTaskResolver) Approvals(ctx context.Context) ([]*PipelineApprovalResolver, error)
Approvals resolver
func (*PipelineTaskResolver) AttemptCount ¶ added in v0.2.0
func (r *PipelineTaskResolver) AttemptCount() int32
AttemptCount resolver
func (*PipelineTaskResolver) CronSchedule ¶ added in v0.9.0
func (r *PipelineTaskResolver) CronSchedule() *PipelineCronScheduleResolver
CronSchedule resolver
func (*PipelineTaskResolver) CurrentJob ¶
func (r *PipelineTaskResolver) CurrentJob(ctx context.Context) (*JobResolver, error)
CurrentJob resolver
func (*PipelineTaskResolver) Dependencies ¶
func (r *PipelineTaskResolver) Dependencies() []string
Dependencies resolver
func (*PipelineTaskResolver) Errors ¶ added in v0.3.0
func (r *PipelineTaskResolver) Errors() []string
Errors resolver
func (*PipelineTaskResolver) Image ¶ added in v0.7.0
func (r *PipelineTaskResolver) Image() *string
Image resolver
func (*PipelineTaskResolver) Interval ¶
func (r *PipelineTaskResolver) Interval() *int32
Interval resolver
func (*PipelineTaskResolver) Jobs ¶
func (r *PipelineTaskResolver) Jobs(ctx context.Context, args *ConnectionQueryArgs) (*JobConnectionResolver, error)
Jobs resolver
func (*PipelineTaskResolver) LastAttemptFinishedAt ¶ added in v0.2.0
func (r *PipelineTaskResolver) LastAttemptFinishedAt() *graphql.Time
LastAttemptFinishedAt resolver
func (*PipelineTaskResolver) MaxAttempts ¶
func (r *PipelineTaskResolver) MaxAttempts() int32
MaxAttempts resolver
func (*PipelineTaskResolver) OnError ¶ added in v0.7.0
func (r *PipelineTaskResolver) OnError() statemachine.OnErrorStrategy
OnError resolver
func (*PipelineTaskResolver) ScheduledStartTime ¶
func (r *PipelineTaskResolver) ScheduledStartTime() *graphql.Time
ScheduledStartTime resolver
func (*PipelineTaskResolver) Status ¶
func (r *PipelineTaskResolver) Status() statemachine.NodeStatus
Status resolver
type PipelineTemplateConnectionQueryArgs ¶
type PipelineTemplateConnectionQueryArgs struct { ConnectionQueryArgs Name *string Search *string Versioned *bool Latest *bool }
PipelineTemplateConnectionQueryArgs are used to query a pipeline template connection
type PipelineTemplateConnectionResolver ¶
type PipelineTemplateConnectionResolver struct {
// contains filtered or unexported fields
}
PipelineTemplateConnectionResolver resolves a pipeline template connection
func NewPipelineTemplateConnectionResolver ¶
func NewPipelineTemplateConnectionResolver(ctx context.Context, input *pipelinetemplate.GetPipelineTemplatesInput) (*PipelineTemplateConnectionResolver, error)
NewPipelineTemplateConnectionResolver creates a new PipelineTemplateConnectionResolver
func (*PipelineTemplateConnectionResolver) Edges ¶
func (r *PipelineTemplateConnectionResolver) Edges() *[]*PipelineTemplateEdgeResolver
Edges returns the connection edges
func (*PipelineTemplateConnectionResolver) PageInfo ¶
func (r *PipelineTemplateConnectionResolver) PageInfo() *PageInfoResolver
PageInfo returns the connection page information
func (*PipelineTemplateConnectionResolver) TotalCount ¶
func (r *PipelineTemplateConnectionResolver) TotalCount() int32
TotalCount returns the total result count for the connection
type PipelineTemplateEdgeResolver ¶
type PipelineTemplateEdgeResolver struct {
// contains filtered or unexported fields
}
PipelineTemplateEdgeResolver resolves pipeline template edges
func (*PipelineTemplateEdgeResolver) Cursor ¶
func (r *PipelineTemplateEdgeResolver) Cursor() (string, error)
Cursor returns an opaque cursor
func (*PipelineTemplateEdgeResolver) Node ¶
func (r *PipelineTemplateEdgeResolver) Node() (*PipelineTemplateResolver, error)
Node returns a pipeline template node
type PipelineTemplateMutationPayload ¶
type PipelineTemplateMutationPayload struct { ClientMutationID *string PipelineTemplate *models.PipelineTemplate Problems []Problem }
PipelineTemplateMutationPayload is the response payload for a pipeline template mutation
type PipelineTemplateMutationPayloadResolver ¶
type PipelineTemplateMutationPayloadResolver struct {
PipelineTemplateMutationPayload
}
PipelineTemplateMutationPayloadResolver resolves a PipelineTemplateMutationPayload
func (*PipelineTemplateMutationPayloadResolver) PipelineTemplate ¶
func (r *PipelineTemplateMutationPayloadResolver) PipelineTemplate() *PipelineTemplateResolver
PipelineTemplate field resolver
type PipelineTemplateResolver ¶
type PipelineTemplateResolver struct {
// contains filtered or unexported fields
}
PipelineTemplateResolver resolves a pipeline template resource
func (*PipelineTemplateResolver) CreatedBy ¶
func (r *PipelineTemplateResolver) CreatedBy() string
CreatedBy resolver
func (*PipelineTemplateResolver) HCLData ¶
func (r *PipelineTemplateResolver) HCLData(ctx context.Context) (string, error)
HCLData resolver
func (*PipelineTemplateResolver) ID ¶
func (r *PipelineTemplateResolver) ID() graphql.ID
ID resolver
func (*PipelineTemplateResolver) Latest ¶
func (r *PipelineTemplateResolver) Latest() bool
Latest resolver
func (*PipelineTemplateResolver) Metadata ¶
func (r *PipelineTemplateResolver) Metadata() *MetadataResolver
Metadata resolver
func (*PipelineTemplateResolver) Name ¶
func (r *PipelineTemplateResolver) Name() *string
Name resolver
func (*PipelineTemplateResolver) Project ¶
func (r *PipelineTemplateResolver) Project(ctx context.Context) (*ProjectResolver, error)
Project resolver
func (*PipelineTemplateResolver) SemanticVersion ¶
func (r *PipelineTemplateResolver) SemanticVersion() *string
SemanticVersion resolver
func (*PipelineTemplateResolver) Status ¶
func (r *PipelineTemplateResolver) Status() string
Status resolver
func (*PipelineTemplateResolver) Versioned ¶
func (r *PipelineTemplateResolver) Versioned() bool
Versioned resolver
type PipelineTimestampsResolver ¶
type PipelineTimestampsResolver struct {
// contains filtered or unexported fields
}
PipelineTimestampsResolver resolves pipeline timestamps
func (*PipelineTimestampsResolver) CompletedAt ¶
func (r *PipelineTimestampsResolver) CompletedAt() *graphql.Time
CompletedAt resolver
func (*PipelineTimestampsResolver) StartedAt ¶
func (r *PipelineTimestampsResolver) StartedAt() *graphql.Time
StartedAt resolver
type PipelineVariableResolver ¶
type PipelineVariableResolver struct {
// contains filtered or unexported fields
}
PipelineVariableResolver resolves a pipeline variable
func (*PipelineVariableResolver) Category ¶
func (r *PipelineVariableResolver) Category() models.VariableCategory
Category resolver
func (*PipelineVariableResolver) Value ¶
func (r *PipelineVariableResolver) Value() string
Value resolver
type PluginConnectionQueryArgs ¶
type PluginConnectionQueryArgs struct { ConnectionQueryArgs Search *string }
PluginConnectionQueryArgs is the arguments for the plugin connection query
type PluginConnectionResolver ¶
type PluginConnectionResolver struct {
// contains filtered or unexported fields
}
PluginConnectionResolver resolves plugin connections
func NewPluginConnectionResolver ¶
func NewPluginConnectionResolver(ctx context.Context, input *pluginregistry.GetPluginsInput) (*PluginConnectionResolver, error)
NewPluginConnectionResolver creates a new plugin connection resolver
func (*PluginConnectionResolver) Edges ¶
func (r *PluginConnectionResolver) Edges() *[]*PluginEdgeResolver
Edges returns the edges
func (*PluginConnectionResolver) PageInfo ¶
func (r *PluginConnectionResolver) PageInfo() *PageInfoResolver
PageInfo returns the page info
func (*PluginConnectionResolver) TotalCount ¶
func (r *PluginConnectionResolver) TotalCount() int32
TotalCount returns the total count
type PluginDocFileQueryArgs ¶
PluginDocFileQueryArgs are the arguments for querying a plugin doc file
type PluginEdgeResolver ¶
type PluginEdgeResolver struct {
// contains filtered or unexported fields
}
PluginEdgeResolver resolves plugin edges
func (*PluginEdgeResolver) Cursor ¶
func (r *PluginEdgeResolver) Cursor() (string, error)
Cursor returns an opaque cursor
func (*PluginEdgeResolver) Node ¶
func (r *PluginEdgeResolver) Node() (*PluginResolver, error)
Node returns a node
type PluginMutationPayload ¶
type PluginMutationPayload struct { ClientMutationID *string Plugin *models.Plugin Problems []Problem }
PluginMutationPayload is the payload for plugin mutation
type PluginMutationPayloadResolver ¶
type PluginMutationPayloadResolver struct {
PluginMutationPayload
}
PluginMutationPayloadResolver resolves plugin mutation payload
func (*PluginMutationPayloadResolver) Plugin ¶
func (r *PluginMutationPayloadResolver) Plugin() *PluginResolver
Plugin field resolver
type PluginPlatformResolver ¶
type PluginPlatformResolver struct {
// contains filtered or unexported fields
}
PluginPlatformResolver resolves a plugin platform
func (*PluginPlatformResolver) BinaryUploaded ¶
func (r *PluginPlatformResolver) BinaryUploaded() bool
BinaryUploaded resolver
func (*PluginPlatformResolver) CreatedBy ¶
func (r *PluginPlatformResolver) CreatedBy() string
CreatedBy resolver
func (*PluginPlatformResolver) Filename ¶
func (r *PluginPlatformResolver) Filename() string
Filename resolver
func (*PluginPlatformResolver) ID ¶
func (r *PluginPlatformResolver) ID() graphql.ID
ID returns the plugin platform ID
func (*PluginPlatformResolver) Metadata ¶
func (r *PluginPlatformResolver) Metadata() *MetadataResolver
Metadata resolver
func (*PluginPlatformResolver) PluginVersion ¶
func (r *PluginPlatformResolver) PluginVersion(ctx context.Context) (*PluginVersionResolver, error)
PluginVersion resolver
func (*PluginPlatformResolver) SHASum ¶
func (r *PluginPlatformResolver) SHASum() string
SHASum resolver
type PluginResolver ¶
type PluginResolver struct {
// contains filtered or unexported fields
}
PluginResolver resolves a plugin
func (*PluginResolver) LatestVersion ¶
func (r *PluginResolver) LatestVersion(ctx context.Context) (*PluginVersionResolver, error)
LatestVersion resolver
func (*PluginResolver) Metadata ¶
func (r *PluginResolver) Metadata() *MetadataResolver
Metadata resolver
func (*PluginResolver) Organization ¶
func (r *PluginResolver) Organization(ctx context.Context) (*OrganizationResolver, error)
Organization resolver
func (*PluginResolver) OrganizationName ¶
func (r *PluginResolver) OrganizationName() string
OrganizationName resolver
func (*PluginResolver) RepositoryURL ¶
func (r *PluginResolver) RepositoryURL() string
RepositoryURL resolver
func (*PluginResolver) Versions ¶
func (r *PluginResolver) Versions(ctx context.Context, args *ConnectionQueryArgs) (*PluginVersionConnectionResolver, error)
Versions resolver
type PluginVersionConnectionResolver ¶
type PluginVersionConnectionResolver struct {
// contains filtered or unexported fields
}
PluginVersionConnectionResolver resolves plugin version connections
func NewPluginVersionConnectionResolver ¶
func NewPluginVersionConnectionResolver(ctx context.Context, input *pluginregistry.GetPluginVersionsInput) (*PluginVersionConnectionResolver, error)
NewPluginVersionConnectionResolver creates a new plugin version connection resolver
func (*PluginVersionConnectionResolver) Edges ¶
func (r *PluginVersionConnectionResolver) Edges() *[]*PluginVersionEdgeResolver
Edges returns the edges
func (*PluginVersionConnectionResolver) PageInfo ¶
func (r *PluginVersionConnectionResolver) PageInfo() *PageInfoResolver
PageInfo returns the page info
func (*PluginVersionConnectionResolver) TotalCount ¶
func (r *PluginVersionConnectionResolver) TotalCount() int32
TotalCount returns the total count
type PluginVersionDocFileMetadataResolver ¶
type PluginVersionDocFileMetadataResolver struct {
// contains filtered or unexported fields
}
PluginVersionDocFileMetadataResolver resolves a plugin version doc file metadata
func (*PluginVersionDocFileMetadataResolver) Category ¶
func (r *PluginVersionDocFileMetadataResolver) Category() string
Category resolver
func (*PluginVersionDocFileMetadataResolver) FilePath ¶
func (r *PluginVersionDocFileMetadataResolver) FilePath() string
FilePath resolver
func (*PluginVersionDocFileMetadataResolver) Name ¶
func (r *PluginVersionDocFileMetadataResolver) Name() string
Name resolver
func (*PluginVersionDocFileMetadataResolver) Subcategory ¶
func (r *PluginVersionDocFileMetadataResolver) Subcategory() string
Subcategory resolver
func (*PluginVersionDocFileMetadataResolver) Title ¶
func (r *PluginVersionDocFileMetadataResolver) Title() string
Title resolver
type PluginVersionEdgeResolver ¶
type PluginVersionEdgeResolver struct {
// contains filtered or unexported fields
}
PluginVersionEdgeResolver resolves plugin version edges
func (*PluginVersionEdgeResolver) Cursor ¶
func (r *PluginVersionEdgeResolver) Cursor() (string, error)
Cursor returns the cursor
func (*PluginVersionEdgeResolver) Node ¶
func (r *PluginVersionEdgeResolver) Node() (*PluginVersionResolver, error)
Node returns the node
type PluginVersionMutationPayload ¶
type PluginVersionMutationPayload struct { ClientMutationID *string PluginVersion *models.PluginVersion Problems []Problem }
PluginVersionMutationPayload is the payload for plugin version mutations
type PluginVersionMutationPayloadResolver ¶
type PluginVersionMutationPayloadResolver struct {
PluginVersionMutationPayload
}
PluginVersionMutationPayloadResolver resolves plugin version mutation payload
func (*PluginVersionMutationPayloadResolver) PluginVersion ¶
func (r *PluginVersionMutationPayloadResolver) PluginVersion() *PluginVersionResolver
PluginVersion field resolver
type PluginVersionResolver ¶
type PluginVersionResolver struct {
// contains filtered or unexported fields
}
PluginVersionResolver resolves a plugin version
func (*PluginVersionResolver) CreatedBy ¶
func (r *PluginVersionResolver) CreatedBy() string
CreatedBy resolver
func (*PluginVersionResolver) DocFiles ¶
func (r *PluginVersionResolver) DocFiles() []*PluginVersionDocFileMetadataResolver
DocFiles resolver
func (*PluginVersionResolver) Latest ¶
func (r *PluginVersionResolver) Latest() bool
Latest resolver
func (*PluginVersionResolver) Metadata ¶
func (r *PluginVersionResolver) Metadata() *MetadataResolver
Metadata resolver
func (*PluginVersionResolver) Platforms ¶
func (r *PluginVersionResolver) Platforms(ctx context.Context) ([]*PluginPlatformResolver, error)
Platforms resolver
func (*PluginVersionResolver) Plugin ¶
func (r *PluginVersionResolver) Plugin(ctx context.Context) (*PluginResolver, error)
Plugin resolver
func (*PluginVersionResolver) Protocols ¶
func (r *PluginVersionResolver) Protocols() []string
Protocols resolver
func (*PluginVersionResolver) Readme ¶
func (r *PluginVersionResolver) Readme(ctx context.Context) (string, error)
Readme resolver
func (*PluginVersionResolver) ReadmeUploaded ¶
func (r *PluginVersionResolver) ReadmeUploaded() bool
ReadmeUploaded resolver
func (*PluginVersionResolver) SHASumsUploaded ¶
func (r *PluginVersionResolver) SHASumsUploaded() bool
SHASumsUploaded resolver
func (*PluginVersionResolver) Version ¶
func (r *PluginVersionResolver) Version() string
Version 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 ProjectConnectionQueryArgs ¶
type ProjectConnectionQueryArgs struct { ConnectionQueryArgs Search *string Latest *bool }
ProjectConnectionQueryArgs are used to query a project connection
type ProjectConnectionResolver ¶
type ProjectConnectionResolver struct {
// contains filtered or unexported fields
}
ProjectConnectionResolver resolves a project connection
func NewProjectConnectionResolver ¶
func NewProjectConnectionResolver(ctx context.Context, input *project.GetProjectsInput) (*ProjectConnectionResolver, error)
NewProjectConnectionResolver creates a new ProjectConnectionResolver
func (*ProjectConnectionResolver) Edges ¶
func (r *ProjectConnectionResolver) Edges() *[]*ProjectEdgeResolver
Edges returns the connection edges
func (*ProjectConnectionResolver) PageInfo ¶
func (r *ProjectConnectionResolver) PageInfo() *PageInfoResolver
PageInfo returns the connection page information
func (*ProjectConnectionResolver) TotalCount ¶
func (r *ProjectConnectionResolver) TotalCount() int32
TotalCount returns the total result count for the connection
type ProjectEdgeResolver ¶
type ProjectEdgeResolver struct {
// contains filtered or unexported fields
}
ProjectEdgeResolver resolves project edges
func (*ProjectEdgeResolver) Cursor ¶
func (r *ProjectEdgeResolver) Cursor() (string, error)
Cursor returns an opaque cursor
func (*ProjectEdgeResolver) Node ¶
func (r *ProjectEdgeResolver) Node() (*ProjectResolver, error)
Node returns a project node
type ProjectMutationPayload ¶
type ProjectMutationPayload struct { ClientMutationID *string Project *models.Project Problems []Problem }
ProjectMutationPayload is the response payload for a project mutation
type ProjectMutationPayloadResolver ¶
type ProjectMutationPayloadResolver struct {
ProjectMutationPayload
}
ProjectMutationPayloadResolver resolves a ProjectMutationPayload
func (*ProjectMutationPayloadResolver) Project ¶
func (r *ProjectMutationPayloadResolver) Project() *ProjectResolver
Project field resolver
type ProjectPipelineEventsSubscriptionInput ¶
type ProjectPipelineEventsSubscriptionInput struct {
ProjectID string
}
ProjectPipelineEventsSubscriptionInput is the input for subscribing to pipeline events for a project
type ProjectResolver ¶
type ProjectResolver struct {
// contains filtered or unexported fields
}
ProjectResolver resolves a project resource
func (*ProjectResolver) ActivityEvents ¶
func (r *ProjectResolver) ActivityEvents(ctx context.Context, args *ActivityEventConnectionQueryArgs) (*ActivityEventConnectionResolver, error)
ActivityEvents resolver
func (*ProjectResolver) ApprovalRules ¶
func (r *ProjectResolver) ApprovalRules( ctx context.Context, args *ApprovalRuleConnectionQueryArgs, ) (*ApprovalRuleConnectionResolver, error)
ApprovalRules resolver
func (*ProjectResolver) Description ¶
func (r *ProjectResolver) Description() string
Description resolver
func (*ProjectResolver) EnvironmentNames ¶
func (r *ProjectResolver) EnvironmentNames(ctx context.Context) ([]string, error)
EnvironmentNames resolver
func (*ProjectResolver) EnvironmentRules ¶
func (r *ProjectResolver) EnvironmentRules(ctx context.Context, args *ConnectionQueryArgs) (*EnvironmentRuleConnectionResolver, error)
EnvironmentRules resolver
func (*ProjectResolver) Environments ¶
func (r *ProjectResolver) Environments(ctx context.Context, args *ConnectionQueryArgs) (*EnvironmentConnectionResolver, error)
Environments resolvers
func (*ProjectResolver) Jobs ¶
func (r *ProjectResolver) Jobs(ctx context.Context, args *ConnectionQueryArgs) (*JobConnectionResolver, error)
Jobs resolver
func (*ProjectResolver) LatestVariableSet ¶
func (r *ProjectResolver) LatestVariableSet(ctx context.Context) (*ProjectVariableSetResolver, error)
LatestVariableSet resolver
func (*ProjectResolver) LifecycleTemplates ¶
func (r *ProjectResolver) LifecycleTemplates( ctx context.Context, args *LifecycleTemplateConnectionQueryArgs, ) (*LifecycleTemplateConnectionResolver, error)
LifecycleTemplates resolver
func (*ProjectResolver) Memberships ¶
func (r *ProjectResolver) Memberships(ctx context.Context, args *ConnectionQueryArgs) (*MembershipConnectionResolver, error)
Memberships resolver
func (*ProjectResolver) Metadata ¶
func (r *ProjectResolver) Metadata() *MetadataResolver
Metadata resolver
func (*ProjectResolver) MetricStats ¶
func (r *ProjectResolver) MetricStats(input *struct { TimeRangeStart graphql.Time TimeRangeEnd *graphql.Time }) *MetricsStatisticsResolver
MetricStats resolver
func (*ProjectResolver) Organization ¶
func (r *ProjectResolver) Organization(ctx context.Context) (*OrganizationResolver, error)
Organization resolver
func (*ProjectResolver) OrganizationID ¶
func (r *ProjectResolver) OrganizationID() string
OrganizationID resolver
func (*ProjectResolver) OrganizationName ¶
func (r *ProjectResolver) OrganizationName() string
OrganizationName resolver
func (*ProjectResolver) PipelineTemplates ¶
func (r *ProjectResolver) PipelineTemplates(ctx context.Context, args *PipelineTemplateConnectionQueryArgs) (*PipelineTemplateConnectionResolver, error)
PipelineTemplates resolver
func (*ProjectResolver) Pipelines ¶
func (r *ProjectResolver) Pipelines(ctx context.Context, args *PipelineConnectionQueryArgs) (*PipelineConnectionResolver, error)
Pipelines resolver
func (*ProjectResolver) ReleaseLifecycles ¶
func (r *ProjectResolver) ReleaseLifecycles( ctx context.Context, args *ReleaseLifecycleConnectionQueryArgs, ) (*ReleaseLifecycleConnectionResolver, error)
ReleaseLifecycles resolver
func (*ProjectResolver) Releases ¶
func (r *ProjectResolver) Releases(ctx context.Context, args *ProjectConnectionQueryArgs) (*ReleaseConnectionResolver, error)
Releases resolver
func (*ProjectResolver) ServiceAccounts ¶
func (r *ProjectResolver) ServiceAccounts( ctx context.Context, args *ServiceAccountConnectionQueryArgs, ) (*ServiceAccountConnectionResolver, error)
ServiceAccounts resolver
func (*ProjectResolver) VCSProviders ¶
func (r *ProjectResolver) VCSProviders(ctx context.Context, args *VCSProviderConnectionQueryArgs) (*VCSProviderConnectionResolver, error)
VCSProviders resolver
func (*ProjectResolver) VariableSets ¶
func (r *ProjectResolver) VariableSets( ctx context.Context, args *ProjectVariableSetConnectionQueryArgs, ) (*ProjectVariableSetConnectionResolver, error)
VariableSets resolver
type ProjectVariableConnectionQueryArgs ¶
type ProjectVariableConnectionQueryArgs struct { ConnectionQueryArgs Search *string PipelineType *models.PipelineType EnvironmentScopes *[]string }
ProjectVariableConnectionQueryArgs are used to query a project variable connection
type ProjectVariableConnectionResolver ¶
type ProjectVariableConnectionResolver struct {
// contains filtered or unexported fields
}
ProjectVariableConnectionResolver resolves a project variable connection
func NewProjectVariableConnectionResolver ¶
func NewProjectVariableConnectionResolver(ctx context.Context, input *projectvariable.GetProjectVariablesInput) (*ProjectVariableConnectionResolver, error)
NewProjectVariableConnectionResolver creates a new ProjectVariableConnectionResolver
func (*ProjectVariableConnectionResolver) Edges ¶
func (r *ProjectVariableConnectionResolver) Edges() *[]*ProjectVariableEdgeResolver
Edges returns the connection edges
func (*ProjectVariableConnectionResolver) PageInfo ¶
func (r *ProjectVariableConnectionResolver) PageInfo() *PageInfoResolver
PageInfo returns the connection page information
func (*ProjectVariableConnectionResolver) TotalCount ¶
func (r *ProjectVariableConnectionResolver) TotalCount() int32
TotalCount returns the total result count for the connection
type ProjectVariableEdgeResolver ¶
type ProjectVariableEdgeResolver struct {
// contains filtered or unexported fields
}
ProjectVariableEdgeResolver resolves project variable edges
func (*ProjectVariableEdgeResolver) Cursor ¶
func (r *ProjectVariableEdgeResolver) Cursor() (string, error)
Cursor returns an opaque cursor
func (*ProjectVariableEdgeResolver) Node ¶
func (r *ProjectVariableEdgeResolver) Node() (*ProjectVariableResolver, error)
Node returns a project variable node
type ProjectVariableResolver ¶
type ProjectVariableResolver struct {
// contains filtered or unexported fields
}
ProjectVariableResolver resolves a project variable resource
func (*ProjectVariableResolver) CreatedBy ¶
func (r *ProjectVariableResolver) CreatedBy() string
CreatedBy resolver
func (*ProjectVariableResolver) EnvironmentScope ¶
func (r *ProjectVariableResolver) EnvironmentScope() string
EnvironmentScope resolver
func (*ProjectVariableResolver) Metadata ¶
func (r *ProjectVariableResolver) Metadata() *MetadataResolver
Metadata resolver
func (*ProjectVariableResolver) PipelineType ¶
func (r *ProjectVariableResolver) PipelineType() models.PipelineType
PipelineType resolver
func (*ProjectVariableResolver) PreviousVersions ¶
func (r *ProjectVariableResolver) PreviousVersions( ctx context.Context, args *ProjectVariableConnectionQueryArgs, ) (*ProjectVariableConnectionResolver, error)
PreviousVersions resolver
func (*ProjectVariableResolver) Project ¶
func (r *ProjectVariableResolver) Project(ctx context.Context) (*ProjectResolver, error)
Project resolver
func (*ProjectVariableResolver) Value ¶
func (r *ProjectVariableResolver) Value() string
Value resolver
func (*ProjectVariableResolver) VariableSets ¶
func (r *ProjectVariableResolver) VariableSets( ctx context.Context, args *ProjectVariableSetConnectionQueryArgs, ) (*ProjectVariableSetConnectionResolver, error)
VariableSets resolver
type ProjectVariableSetConnectionQueryArgs ¶
type ProjectVariableSetConnectionQueryArgs struct { ConnectionQueryArgs RevisionSearch *string }
ProjectVariableSetConnectionQueryArgs are used to query a project variable set connection
type ProjectVariableSetConnectionResolver ¶
type ProjectVariableSetConnectionResolver struct {
// contains filtered or unexported fields
}
ProjectVariableSetConnectionResolver resolves a project variable set connection
func NewProjectVariableSetConnectionResolver ¶
func NewProjectVariableSetConnectionResolver(ctx context.Context, input *projectvariable.GetProjectVariableSetsInput) (*ProjectVariableSetConnectionResolver, error)
NewProjectVariableSetConnectionResolver creates a new ProjectVariableSetConnectionResolver
func (*ProjectVariableSetConnectionResolver) Edges ¶
func (r *ProjectVariableSetConnectionResolver) Edges() *[]*ProjectVariableSetEdgeResolver
Edges returns the connection edges
func (*ProjectVariableSetConnectionResolver) PageInfo ¶
func (r *ProjectVariableSetConnectionResolver) PageInfo() *PageInfoResolver
PageInfo returns the connection page information
func (*ProjectVariableSetConnectionResolver) TotalCount ¶
func (r *ProjectVariableSetConnectionResolver) TotalCount() int32
TotalCount returns the total result count for the connection
type ProjectVariableSetEdgeResolver ¶
type ProjectVariableSetEdgeResolver struct {
// contains filtered or unexported fields
}
ProjectVariableSetEdgeResolver resolves project variable set edges
func (*ProjectVariableSetEdgeResolver) Cursor ¶
func (r *ProjectVariableSetEdgeResolver) Cursor() (string, error)
Cursor returns an opaque cursor
func (*ProjectVariableSetEdgeResolver) Node ¶
func (r *ProjectVariableSetEdgeResolver) Node() (*ProjectVariableSetResolver, error)
Node returns a project variable set node
type ProjectVariableSetMutationPayload ¶
type ProjectVariableSetMutationPayload struct { ClientMutationID *string ProjectVariableSet *models.ProjectVariableSet Problems []Problem }
ProjectVariableSetMutationPayload is the response payload for a project variable set mutation
type ProjectVariableSetMutationPayloadResolver ¶
type ProjectVariableSetMutationPayloadResolver struct {
ProjectVariableSetMutationPayload
}
ProjectVariableSetMutationPayloadResolver resolves a ProjectVariableSetMutationPayload
func (*ProjectVariableSetMutationPayloadResolver) ProjectVariableSet ¶
func (r *ProjectVariableSetMutationPayloadResolver) ProjectVariableSet() *ProjectVariableSetResolver
ProjectVariableSet field resolver
type ProjectVariableSetResolver ¶
type ProjectVariableSetResolver struct {
// contains filtered or unexported fields
}
ProjectVariableSetResolver resolves a project variable set resource
func (*ProjectVariableSetResolver) ID ¶
func (r *ProjectVariableSetResolver) ID() graphql.ID
ID resolver
func (*ProjectVariableSetResolver) Latest ¶
func (r *ProjectVariableSetResolver) Latest() bool
Latest resolver
func (*ProjectVariableSetResolver) Metadata ¶
func (r *ProjectVariableSetResolver) Metadata() *MetadataResolver
Metadata resolver
func (*ProjectVariableSetResolver) Project ¶
func (r *ProjectVariableSetResolver) Project(ctx context.Context) (*ProjectResolver, error)
Project resolver
func (*ProjectVariableSetResolver) Revision ¶
func (r *ProjectVariableSetResolver) Revision() string
Revision resolver
func (*ProjectVariableSetResolver) Variables ¶
func (r *ProjectVariableSetResolver) Variables( ctx context.Context, args *ProjectVariableConnectionQueryArgs, ) (*ProjectVariableConnectionResolver, error)
Variables resolver
type ReleaseConnectionResolver ¶
type ReleaseConnectionResolver struct {
// contains filtered or unexported fields
}
ReleaseConnectionResolver resolves a release connection
func NewReleaseConnectionResolver ¶
func NewReleaseConnectionResolver(ctx context.Context, input *release.GetReleasesInput) (*ReleaseConnectionResolver, error)
NewReleaseConnectionResolver creates a new ReleaseConnectionResolver
func (*ReleaseConnectionResolver) Edges ¶
func (r *ReleaseConnectionResolver) Edges() *[]*ReleaseEdgeResolver
Edges returns the connection edges
func (*ReleaseConnectionResolver) PageInfo ¶
func (r *ReleaseConnectionResolver) PageInfo() *PageInfoResolver
PageInfo returns the connection page information
func (*ReleaseConnectionResolver) TotalCount ¶
func (r *ReleaseConnectionResolver) TotalCount() int32
TotalCount returns the total result count for the connection
type ReleaseEdgeResolver ¶
type ReleaseEdgeResolver struct {
// contains filtered or unexported fields
}
ReleaseEdgeResolver resolves the Release type
func (*ReleaseEdgeResolver) Cursor ¶
func (r *ReleaseEdgeResolver) Cursor() (string, error)
Cursor returns an opaque cursor
func (*ReleaseEdgeResolver) Node ¶
func (r *ReleaseEdgeResolver) Node() (*ReleaseResolver, error)
Node returns a release node
type ReleaseLifecycleConnectionQueryArgs ¶
type ReleaseLifecycleConnectionQueryArgs struct { ConnectionQueryArgs Search *string Scopes *[]models.ScopeType }
ReleaseLifecycleConnectionQueryArgs are used to query a release lifecycle connection
type ReleaseLifecycleConnectionResolver ¶
type ReleaseLifecycleConnectionResolver struct {
// contains filtered or unexported fields
}
ReleaseLifecycleConnectionResolver resolves a release lifecycle connection
func NewReleaseLifecycleConnectionResolver ¶
func NewReleaseLifecycleConnectionResolver(ctx context.Context, input *releaselifecycle.GetReleaseLifecyclesInput) (*ReleaseLifecycleConnectionResolver, error)
NewReleaseLifecycleConnectionResolver creates a new ReleaseLifecycleConnectionResolver
func (*ReleaseLifecycleConnectionResolver) Edges ¶
func (r *ReleaseLifecycleConnectionResolver) Edges() *[]*ReleaseLifecycleEdgeResolver
Edges returns the connection edges
func (*ReleaseLifecycleConnectionResolver) PageInfo ¶
func (r *ReleaseLifecycleConnectionResolver) PageInfo() *PageInfoResolver
PageInfo returns the connection page information
func (*ReleaseLifecycleConnectionResolver) TotalCount ¶
func (r *ReleaseLifecycleConnectionResolver) TotalCount() int32
TotalCount returns the total result count for the connection
type ReleaseLifecycleEdgeResolver ¶
type ReleaseLifecycleEdgeResolver struct {
// contains filtered or unexported fields
}
ReleaseLifecycleEdgeResolver resolves release lifecycle edges
func (*ReleaseLifecycleEdgeResolver) Cursor ¶
func (r *ReleaseLifecycleEdgeResolver) Cursor() (string, error)
Cursor returns an opaque cursor
func (*ReleaseLifecycleEdgeResolver) Node ¶
func (r *ReleaseLifecycleEdgeResolver) Node() (*ReleaseLifecycleResolver, error)
Node returns a release lifecycle node
type ReleaseLifecycleMutationPayload ¶
type ReleaseLifecycleMutationPayload struct { ClientMutationID *string ReleaseLifecycle *models.ReleaseLifecycle Problems []Problem }
ReleaseLifecycleMutationPayload is the response payload for a release lifecycle mutation
type ReleaseLifecycleMutationPayloadResolver ¶
type ReleaseLifecycleMutationPayloadResolver struct {
ReleaseLifecycleMutationPayload
}
ReleaseLifecycleMutationPayloadResolver resolves a ReleaseLifecycleMutationPayload
func (*ReleaseLifecycleMutationPayloadResolver) ReleaseLifecycle ¶
func (r *ReleaseLifecycleMutationPayloadResolver) ReleaseLifecycle() *ReleaseLifecycleResolver
ReleaseLifecycle field resolver
type ReleaseLifecycleResolver ¶
type ReleaseLifecycleResolver struct {
// contains filtered or unexported fields
}
ReleaseLifecycleResolver resolves a release lifecycle resource
func (*ReleaseLifecycleResolver) CreatedBy ¶
func (r *ReleaseLifecycleResolver) CreatedBy() string
CreatedBy resolver
func (*ReleaseLifecycleResolver) EnvironmentNames ¶
func (r *ReleaseLifecycleResolver) EnvironmentNames() []string
EnvironmentNames resolver
func (*ReleaseLifecycleResolver) ID ¶
func (r *ReleaseLifecycleResolver) ID() graphql.ID
ID resolver
func (*ReleaseLifecycleResolver) LifecycleTemplate ¶
func (r *ReleaseLifecycleResolver) LifecycleTemplate(ctx context.Context) (*LifecycleTemplateResolver, error)
LifecycleTemplate resolver
func (*ReleaseLifecycleResolver) Metadata ¶
func (r *ReleaseLifecycleResolver) Metadata() *MetadataResolver
Metadata resolver
func (*ReleaseLifecycleResolver) Name ¶
func (r *ReleaseLifecycleResolver) Name() string
Name resolver
func (*ReleaseLifecycleResolver) Organization ¶
func (r *ReleaseLifecycleResolver) Organization(ctx context.Context) (*OrganizationResolver, error)
Organization resolver
func (*ReleaseLifecycleResolver) OrganizationName ¶
func (r *ReleaseLifecycleResolver) OrganizationName() string
OrganizationName resolver
func (*ReleaseLifecycleResolver) Project ¶
func (r *ReleaseLifecycleResolver) Project(ctx context.Context) (*ProjectResolver, error)
Project resolver
func (*ReleaseLifecycleResolver) Scope ¶
func (r *ReleaseLifecycleResolver) Scope() models.ScopeType
Scope resolver
type ReleaseMutationPayload ¶
type ReleaseMutationPayload struct { ClientMutationID *string Release *models.Release Problems []Problem }
ReleaseMutationPayload is the response payload for a release mutation
type ReleaseMutationPayloadResolver ¶
type ReleaseMutationPayloadResolver struct {
ReleaseMutationPayload
}
ReleaseMutationPayloadResolver resolves a ReleaseMutationPayload
func (*ReleaseMutationPayloadResolver) Release ¶
func (r *ReleaseMutationPayloadResolver) Release() *ReleaseResolver
Release field resolver
type ReleaseParticipantInput ¶
type ReleaseParticipantInput struct { ClientMutationID *string UserID *string TeamID *string ReleaseID string }
ReleaseParticipantInput contains the input for a release participant.
type ReleaseResolver ¶
type ReleaseResolver struct {
// contains filtered or unexported fields
}
ReleaseResolver resolves the Release type
func (*ReleaseResolver) ActivityEvents ¶
func (r *ReleaseResolver) ActivityEvents(ctx context.Context, args *ActivityEventConnectionQueryArgs) (*ActivityEventConnectionResolver, error)
ActivityEvents resolver
func (*ReleaseResolver) Completed ¶
func (r *ReleaseResolver) Completed(ctx context.Context) (bool, error)
Completed resolver
func (*ReleaseResolver) DeploymentPipelines ¶
func (r *ReleaseResolver) DeploymentPipelines(ctx context.Context, args *PipelineConnectionQueryArgs) (*PipelineConnectionResolver, error)
DeploymentPipelines resolver
func (*ReleaseResolver) DueDate ¶
func (r *ReleaseResolver) DueDate() *graphql.Time
DueDate resolver
func (*ReleaseResolver) LifecyclePRN ¶
func (r *ReleaseResolver) LifecyclePRN() string
LifecyclePRN resolver
func (*ReleaseResolver) Metadata ¶
func (r *ReleaseResolver) Metadata() *MetadataResolver
Metadata resolver
func (*ReleaseResolver) MetricStats ¶
func (r *ReleaseResolver) MetricStats() *MetricsStatisticsResolver
MetricStats resolver
func (*ReleaseResolver) Notes ¶
func (r *ReleaseResolver) Notes(ctx context.Context) (string, error)
Notes resolver
func (*ReleaseResolver) Participants ¶
func (r *ReleaseResolver) Participants(ctx context.Context) ([]*MemberResolver, error)
Participants resolver
func (*ReleaseResolver) Pipeline ¶
func (r *ReleaseResolver) Pipeline(ctx context.Context) (*PipelineResolver, error)
Pipeline resolver
func (*ReleaseResolver) PreRelease ¶
func (r *ReleaseResolver) PreRelease() bool
PreRelease resolver
func (*ReleaseResolver) Project ¶
func (r *ReleaseResolver) Project(ctx context.Context) (*ProjectResolver, error)
Project resolver
func (*ReleaseResolver) SemanticVersion ¶
func (r *ReleaseResolver) SemanticVersion() string
SemanticVersion resolver
func (*ReleaseResolver) Threads ¶
func (r *ReleaseResolver) Threads( ctx context.Context, args *ConnectionQueryArgs, ) (*ThreadConnectionResolver, error)
Threads resolver
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 ReplaceProjectVariableInput ¶
type ReplaceProjectVariableInput struct { EnvironmentScope *string ID string Key string Value string PipelineType models.PipelineType }
ReplaceProjectVariableInput contains the input for replacing a project variable
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 ¶
type ResourceLimitMutationPayload struct { ClientMutationID *string ResourceLimit *models.ResourceLimit Problems []Problem }
ResourceLimitMutationPayload is the response payload for a resource limit mutation
type ResourceLimitMutationPayloadResolver ¶
type ResourceLimitMutationPayloadResolver struct {
ResourceLimitMutationPayload
}
ResourceLimitMutationPayloadResolver resolves a ResourceLimitMutationPayload
func (*ResourceLimitMutationPayloadResolver) ResourceLimit ¶
func (r *ResourceLimitMutationPayloadResolver) ResourceLimit() *ResourceLimitResolver
ResourceLimit field resolver
type ResourceLimitResolver ¶
type ResourceLimitResolver struct {
// contains filtered or unexported fields
}
ResourceLimitResolver resolves a resource limit
func (*ResourceLimitResolver) Metadata ¶
func (r *ResourceLimitResolver) Metadata() *MetadataResolver
Metadata resolver
type RetryNestedPipelineInput ¶
type RetryNestedPipelineInput struct { ClientMutationID *string ParentPipelineID string ParentNestedPipelineNodePath string }
RetryNestedPipelineInput contains the input for rerunning a nested pipeline
type RetryPipelineTaskInput ¶
RetryPipelineTaskInput contains the input for rerunning a pipeline task
type RevokePipelineApprovalInput ¶
RevokePipelineApprovalInput contains the input for revoking pipeline approval.
type RevokePipelineTaskApprovalInput ¶
type RevokePipelineTaskApprovalInput struct { ClientMutationID *string PipelineID string TaskPath string }
RevokePipelineTaskApprovalInput contains the input for revoking a pipeline task approval
type RoleConnectionResolver ¶
type RoleConnectionResolver struct {
// contains filtered or unexported fields
}
RoleConnectionResolver resolves a role connection
func NewRoleConnectionResolver ¶
func NewRoleConnectionResolver(ctx context.Context, input *role.GetRolesInput) (*RoleConnectionResolver, error)
NewRoleConnectionResolver creates a new RoleConnectionResolver
func (*RoleConnectionResolver) Edges ¶
func (r *RoleConnectionResolver) Edges() *[]*RoleEdgeResolver
Edges returns the connection edges
func (*RoleConnectionResolver) PageInfo ¶
func (r *RoleConnectionResolver) PageInfo() *PageInfoResolver
PageInfo returns the connection page information
func (*RoleConnectionResolver) TotalCount ¶
func (r *RoleConnectionResolver) TotalCount() int32
TotalCount returns the total result count for the connection
type RoleEdgeResolver ¶
type RoleEdgeResolver struct {
// contains filtered or unexported fields
}
RoleEdgeResolver resolves role edges
func (*RoleEdgeResolver) Cursor ¶
func (r *RoleEdgeResolver) Cursor() (string, error)
Cursor returns an opaque cursor
func (*RoleEdgeResolver) Node ¶
func (r *RoleEdgeResolver) Node() (*RoleResolver, error)
Node returns a role node
type RoleMutationPayload ¶
RoleMutationPayload is the response payload for a role mutation
type RoleMutationPayloadResolver ¶
type RoleMutationPayloadResolver struct {
RoleMutationPayload
}
RoleMutationPayloadResolver resolves a RoleMutationPayload
func (*RoleMutationPayloadResolver) Role ¶
func (r *RoleMutationPayloadResolver) Role() *RoleResolver
Role field resolver
type RoleQueryArgs ¶
type RoleQueryArgs struct {
Name string
}
RoleQueryArgs are used to query a single role
type RoleResolver ¶
type RoleResolver struct {
// contains filtered or unexported fields
}
RoleResolver resolves a role resource
func (*RoleResolver) Metadata ¶
func (r *RoleResolver) Metadata() *MetadataResolver
Metadata resolver
func (*RoleResolver) Permissions ¶
func (r *RoleResolver) Permissions() []string
Permissions resolver
type RolesConnectionQueryArgs ¶
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) AddParticipantToRelease ¶
func (r RootResolver) AddParticipantToRelease(ctx context.Context, args *struct { Input *ReleaseParticipantInput }) (*ReleaseMutationPayloadResolver, error)
AddParticipantToRelease adds a participant to a release
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) AgentSessionErrorLogEvents ¶
func (r RootResolver) AgentSessionErrorLogEvents(ctx context.Context, args *struct { Input *AgentSessionErrorLogSubscriptionInput }) (<-chan *AgentSessionErrorLogEventResolver, error)
AgentSessionErrorLogEvents subscribes to agent session error log events
func (RootResolver) AgentSessionEvents ¶
func (r RootResolver) AgentSessionEvents(ctx context.Context, args *struct { Input *AgentSessionEventSubscriptionInput }) (<-chan *AgentSessionEventResolver, error)
AgentSessionEvents subscribes to agent session events
func (RootResolver) AggregatedMetricStatistics ¶
func (r RootResolver) AggregatedMetricStatistics(ctx context.Context, args *AggregatedMetricStatsQueryArgs) ([]*AggregatedMetricStatisticsResultResolver, error)
AggregatedMetricStatistics resolves aggregated statistics for metrics
func (RootResolver) ApprovePipeline ¶
func (r RootResolver) ApprovePipeline(ctx context.Context, args *struct{ Input *ApprovePipelineInput }) (*PipelineMutationPayloadResolver, error)
ApprovePipeline approves a pipeline
func (RootResolver) ApprovePipelineTask ¶
func (r RootResolver) ApprovePipelineTask(ctx context.Context, args *struct{ Input *ApprovePipelineTaskInput }) (*PipelineMutationPayloadResolver, error)
ApprovePipelineTask approves a pipeline task
func (RootResolver) AssignServiceAccountToAgent ¶
func (r RootResolver) AssignServiceAccountToAgent(ctx context.Context, args *struct { Input *AssignServiceAccountToAgentInput }) (*AgentMutationPayloadResolver, error)
AssignServiceAccountToAgent assigns a service account to a agent
func (RootResolver) AuthSettings ¶
func (r RootResolver) AuthSettings(ctx context.Context) *AuthSettingsResolver
AuthSettings returns the configured auth settings
func (RootResolver) AvailableRolePermissions ¶
func (r RootResolver) AvailableRolePermissions(ctx context.Context) ([]string, error)
AvailableRolePermissions returns a list of available role permissions.
func (RootResolver) CancelJob ¶
func (r RootResolver) CancelJob(ctx context.Context, args *struct{ Input *CancelJobInput }) (*JobMutationPayloadResolver, error)
CancelJob cancels a job
func (RootResolver) CancelPipeline ¶
func (r RootResolver) CancelPipeline(ctx context.Context, args *struct{ Input *CancelPipelineInput }) (*PipelineMutationPayloadResolver, error)
CancelPipeline cancels a pipeline
func (RootResolver) CancelPipelineNodeSchedule ¶
func (r RootResolver) CancelPipelineNodeSchedule(ctx context.Context, args *struct { Input *CancelPipelineNodeScheduleInput }) (*PipelineMutationPayloadResolver, error)
CancelPipelineNodeSchedule clears the scheduled start time for a pipeline node
func (RootResolver) CommentEvents ¶
func (r RootResolver) CommentEvents(ctx context.Context, args *struct { Input *CommentEventsSubscriptionInput }) (<-chan *CommentEventResolver, error)
CommentEvents subscribes to comment events for a single comment
func (RootResolver) CreateAgent ¶
func (r RootResolver) CreateAgent(ctx context.Context, args *struct{ Input *CreateAgentInput }) (*AgentMutationPayloadResolver, error)
CreateAgent creates a new agent
func (RootResolver) CreateApprovalRule ¶
func (r RootResolver) CreateApprovalRule(ctx context.Context, args *struct{ Input *CreateApprovalRuleInput }) (*ApprovalRuleMutationPayloadResolver, error)
CreateApprovalRule creates a new approval rule
func (RootResolver) CreateEnvironment ¶
func (r RootResolver) CreateEnvironment(ctx context.Context, args *struct{ Input *CreateEnvironmentInput }) (*EnvironmentMutationPayloadResolver, error)
CreateEnvironment creates a new environment
func (RootResolver) CreateEnvironmentRule ¶
func (r RootResolver) CreateEnvironmentRule( ctx context.Context, args *struct{ Input *CreateEnvironmentRuleInput }, ) (*EnvironmentRuleMutationPayloadResolver, error)
CreateEnvironmentRule creates a new environment rule
func (RootResolver) CreateLifecycleTemplate ¶
func (r RootResolver) CreateLifecycleTemplate(ctx context.Context, args *struct { Input *CreateLifecycleTemplateInput }) (*LifecycleTemplateMutationPayloadResolver, error)
CreateLifecycleTemplate creates a new lifecycle template
func (RootResolver) CreateMembership ¶
func (r RootResolver) CreateMembership(ctx context.Context, args *struct { Input *CreateMembershipInput }, ) (*MembershipMutationPayloadResolver, error)
CreateMembership creates a new membership
func (RootResolver) CreateOrganization ¶
func (r RootResolver) CreateOrganization(ctx context.Context, args *struct{ Input *CreateOrganizationInput }) (*OrganizationMutationPayloadResolver, error)
CreateOrganization creates a new organization
func (RootResolver) CreatePipeline ¶
func (r RootResolver) CreatePipeline(ctx context.Context, args *struct{ Input *CreatePipelineInput }) (*PipelineMutationPayloadResolver, error)
CreatePipeline creates a new pipeline
func (RootResolver) CreatePipelineComment ¶
func (r RootResolver) CreatePipelineComment(ctx context.Context, args *struct { Input *CreatePipelineCommentInput }) (*CommentMutationPayloadResolver, error)
CreatePipelineComment creates a new pipeline comment
func (RootResolver) CreatePipelineTemplate ¶
func (r RootResolver) CreatePipelineTemplate(ctx context.Context, args *struct{ Input *CreatePipelineTemplateInput }) (*PipelineTemplateMutationPayloadResolver, error)
CreatePipelineTemplate creates a new pipeline template
func (RootResolver) CreatePlugin ¶
func (r RootResolver) CreatePlugin(ctx context.Context, args *struct{ Input *CreatePluginInput }) (*PluginMutationPayloadResolver, error)
CreatePlugin creates a new plugin
func (RootResolver) CreateProject ¶
func (r RootResolver) CreateProject(ctx context.Context, args *struct{ Input *CreateProjectInput }) (*ProjectMutationPayloadResolver, error)
CreateProject creates a new project
func (RootResolver) CreateRelease ¶
func (r RootResolver) CreateRelease(ctx context.Context, args *struct { Input *CreateReleaseInput }) (*ReleaseMutationPayloadResolver, error)
CreateRelease creates a new release
func (RootResolver) CreateReleaseComment ¶
func (r RootResolver) CreateReleaseComment(ctx context.Context, args *struct { Input *CreateReleaseCommentInput }) (*CommentMutationPayloadResolver, error)
CreateReleaseComment creates a new release comment
func (RootResolver) CreateReleaseLifecycle ¶
func (r RootResolver) CreateReleaseLifecycle(ctx context.Context, args *struct { Input *CreateReleaseLifecycleInput }) (*ReleaseLifecycleMutationPayloadResolver, error)
CreateReleaseLifecycle creates a new release lifecycle
func (RootResolver) CreateRole ¶
func (r RootResolver) CreateRole(ctx context.Context, args *struct{ Input *CreateRoleInput }) (*RoleMutationPayloadResolver, error)
CreateRole creates a role
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) CreateTeam ¶
func (r RootResolver) CreateTeam(ctx context.Context, args *struct{ Input *CreateTeamInput }) (*TeamMutationPayloadResolver, error)
CreateTeam creates a new team
func (RootResolver) CreateVCSProvider ¶
func (r RootResolver) CreateVCSProvider(ctx context.Context, args *struct{ Input *CreateVCSProviderInput }, ) (*VCSProviderMutationPayloadResolver, error)
CreateVCSProvider creates a new vcs provider
func (RootResolver) DeleteAgent ¶
func (r RootResolver) DeleteAgent(ctx context.Context, args *struct{ Input *DeleteAgentInput }) (*AgentMutationPayloadResolver, error)
DeleteAgent deletes an agent
func (RootResolver) DeleteApprovalRule ¶
func (r RootResolver) DeleteApprovalRule(ctx context.Context, args *struct{ Input *DeleteApprovalRuleInput }) (*ApprovalRuleMutationPayloadResolver, error)
DeleteApprovalRule deletes a approval rule
func (RootResolver) DeleteEnvironment ¶
func (r RootResolver) DeleteEnvironment(ctx context.Context, args *struct{ Input *DeleteEnvironmentInput }) (*EnvironmentMutationPayloadResolver, error)
DeleteEnvironment deletes an environment
func (RootResolver) DeleteEnvironmentRule ¶
func (r RootResolver) DeleteEnvironmentRule( ctx context.Context, args *struct{ Input *DeleteEnvironmentRuleInput }, ) (*EnvironmentRuleMutationPayloadResolver, error)
DeleteEnvironmentRule deletes a environment rule
func (RootResolver) DeleteMembership ¶
func (r RootResolver) DeleteMembership(ctx context.Context, args *struct { Input *DeleteMembershipInput }, ) (*MembershipMutationPayloadResolver, error)
DeleteMembership updates an existing membership
func (RootResolver) DeleteOrganization ¶
func (r RootResolver) DeleteOrganization(ctx context.Context, args *struct{ Input *DeleteOrganizationInput }) (*OrganizationMutationPayloadResolver, error)
DeleteOrganization deletes a organization
func (RootResolver) DeletePipelineComment ¶
func (r RootResolver) DeletePipelineComment(ctx context.Context, args *struct { Input *DeleteCommentInput }) (*CommentMutationPayloadResolver, error)
DeletePipelineComment deletes a pipeline comment
func (RootResolver) DeletePipelineTemplate ¶
func (r RootResolver) DeletePipelineTemplate(ctx context.Context, args *struct{ Input *DeletePipelineTemplateInput }) (*PipelineTemplateMutationPayloadResolver, error)
DeletePipelineTemplate deletes a pipeline template
func (RootResolver) DeletePlugin ¶
func (r RootResolver) DeletePlugin(ctx context.Context, args *struct{ Input *DeletePluginInput }) (*PluginMutationPayloadResolver, error)
DeletePlugin deletes a plugin
func (RootResolver) DeletePluginVersion ¶
func (r RootResolver) DeletePluginVersion(ctx context.Context, args *struct{ Input *DeletePluginVersionInput }) (*PluginVersionMutationPayloadResolver, error)
DeletePluginVersion deletes a plugin version
func (RootResolver) DeleteProject ¶
func (r RootResolver) DeleteProject(ctx context.Context, args *struct{ Input *DeleteProjectInput }) (*ProjectMutationPayloadResolver, error)
DeleteProject deletes a project
func (RootResolver) DeleteRelease ¶
func (r RootResolver) DeleteRelease(ctx context.Context, args *struct { Input *DeleteReleaseInput }) (*ReleaseMutationPayloadResolver, error)
DeleteRelease deletes a release
func (RootResolver) DeleteReleaseComment ¶
func (r RootResolver) DeleteReleaseComment(ctx context.Context, args *struct { Input *DeleteCommentInput }) (*CommentMutationPayloadResolver, error)
DeleteReleaseComment deletes a release comment
func (RootResolver) DeleteReleaseLifecycle ¶
func (r RootResolver) DeleteReleaseLifecycle(ctx context.Context, args *struct { Input *DeleteReleaseLifecycleInput }) (*ReleaseLifecycleMutationPayloadResolver, error)
DeleteReleaseLifecycle deletes an existing release lifecycle
func (RootResolver) DeleteRole ¶
func (r RootResolver) DeleteRole(ctx context.Context, args *struct{ Input *DeleteRoleInput }) (*RoleMutationPayloadResolver, error)
DeleteRole updates a role
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) DeleteVCSProvider ¶
func (r RootResolver) DeleteVCSProvider(ctx context.Context, args *struct{ Input *DeleteVCSProviderInput }, ) (*VCSProviderMutationPayloadResolver, error)
DeleteVCSProvider deletes a vcs provider
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) JobEvents ¶
func (r RootResolver) JobEvents(ctx context.Context, args *struct { Input *JobEventSubscriptionInput }) (<-chan *JobEventResolver, error)
JobEvents subscribes to job events
func (RootResolver) JobLogStreamEvents ¶
func (r RootResolver) JobLogStreamEvents(ctx context.Context, args *struct { Input *JobLogStreamSubscriptionInput }) (<-chan *JobLogStreamEventResolver, error)
JobLogStreamEvents sets up a subscription for job log events
func (RootResolver) LiveActivityEvents ¶
func (r RootResolver) LiveActivityEvents(ctx context.Context, args *struct { Input *ActivityEventsSubscriptionInput }) (<-chan *ActivityEventResolver, error)
LiveActivityEvents subscribes to activity events
func (RootResolver) Me ¶
func (r RootResolver) Me(ctx context.Context) (*MeResponseResolver, error)
Me query returns the authenticated subject
func (RootResolver) Memberships ¶
func (r RootResolver) Memberships(ctx context.Context, args *MembershipConnectionQueryArgs) (*MembershipConnectionResolver, error)
Memberships query returns a memberships connection
func (RootResolver) MetricStatistics ¶
func (r RootResolver) MetricStatistics(ctx context.Context, args *MetricStatsQueryArgs) (*MetricStatisticsResolver, error)
MetricStatistics resolves statistics for metrics
func (RootResolver) Metrics ¶
func (r RootResolver) Metrics(ctx context.Context, args *MetricConnectionQueryArgs) (*MetricConnectionResolver, error)
Metrics returns metrics
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) Organizations ¶
func (r RootResolver) Organizations(ctx context.Context, args *OrganizationConnectionQueryArgs) (*OrganizationConnectionResolver, error)
Organizations query returns a organizations connection
func (RootResolver) PatchProjectVariables ¶
func (r RootResolver) PatchProjectVariables(ctx context.Context, args *struct{ Input *PatchProjectVariablesInput }) (*ProjectVariableSetMutationPayloadResolver, error)
PatchProjectVariables patches the variables for a project
func (RootResolver) PipelineEvents ¶
func (r RootResolver) PipelineEvents(ctx context.Context, args *struct { Input *PipelineEventsSubscriptionInput }) (<-chan *PipelineEventResolver, error)
PipelineEvents subscribes to pipeline events for a single pipeline
func (RootResolver) PipelineNode ¶
func (r RootResolver) PipelineNode(ctx context.Context, args *PipelineNodeQueryArgs) (*PipelineNodeResolver, error)
PipelineNode query returns a pipeline node by path
func (RootResolver) PluginDocFile ¶
func (r RootResolver) PluginDocFile(ctx context.Context, args *PluginDocFileQueryArgs) (*string, error)
PluginDocFile query returns a plugin doc file
func (RootResolver) Plugins ¶
func (r RootResolver) Plugins(ctx context.Context, args *PluginConnectionQueryArgs) (*PluginConnectionResolver, error)
Plugins query returns a plugins connection
func (RootResolver) ProjectPipelineEvents ¶
func (r RootResolver) ProjectPipelineEvents(ctx context.Context, args *struct { Input *ProjectPipelineEventsSubscriptionInput }) (<-chan *PipelineEventResolver, error)
ProjectPipelineEvents subscribes to pipeline events for a project
func (RootResolver) Projects ¶
func (r RootResolver) Projects(ctx context.Context, args *ProjectConnectionQueryArgs) (*ProjectConnectionResolver, error)
Projects query returns a projects connection
func (RootResolver) RemoveParticipantFromRelease ¶
func (r RootResolver) RemoveParticipantFromRelease(ctx context.Context, args *struct { Input *ReleaseParticipantInput }) (*ReleaseMutationPayloadResolver, error)
RemoveParticipantFromRelease removes a participant from a release
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 ¶
func (r RootResolver) ResourceLimits(ctx context.Context) ([]*ResourceLimitResolver, error)
ResourceLimits returns the current resource limits
func (RootResolver) RetryNestedPipeline ¶
func (r RootResolver) RetryNestedPipeline(ctx context.Context, args *struct { Input *RetryNestedPipelineInput }) (*PipelineMutationPayloadResolver, error)
RetryNestedPipeline reruns a nested pipeline
func (RootResolver) RetryPipelineTask ¶
func (r RootResolver) RetryPipelineTask(ctx context.Context, args *struct{ Input *RetryPipelineTaskInput }) (*PipelineMutationPayloadResolver, error)
RetryPipelineTask reruns a pipeline task
func (RootResolver) RevokePipelineApproval ¶
func (r RootResolver) RevokePipelineApproval(ctx context.Context, args *struct{ Input *RevokePipelineApprovalInput }) (*PipelineMutationPayloadResolver, error)
RevokePipelineApproval revokes a pipeline approval
func (RootResolver) RevokePipelineTaskApproval ¶
func (r RootResolver) RevokePipelineTaskApproval(ctx context.Context, args *struct { Input *RevokePipelineTaskApprovalInput }, ) (*PipelineMutationPayloadResolver, error)
RevokePipelineTaskApproval revokes a pipeline task approval
func (RootResolver) Role ¶
func (r RootResolver) Role(ctx context.Context, args *RoleQueryArgs) (*RoleResolver, error)
Role query returns a role by name
func (RootResolver) Roles ¶
func (r RootResolver) Roles(ctx context.Context, args *RolesConnectionQueryArgs) (*RoleConnectionResolver, error)
Roles query returns a roles connection
func (RootResolver) RunPipeline ¶
func (r RootResolver) RunPipeline(ctx context.Context, args *struct { Input *RunPipelineInput }) (*PipelineMutationPayloadResolver, error)
RunPipeline starts a pipeline
func (RootResolver) RunPipelineTask ¶
func (r RootResolver) RunPipelineTask(ctx context.Context, args *struct{ Input *RunPipelineTaskInput }) (*PipelineMutationPayloadResolver, error)
RunPipelineTask starts a pipeline task
func (RootResolver) SchedulePipelineNode ¶
func (r RootResolver) SchedulePipelineNode(ctx context.Context, args *struct { Input *SchedulePipelineNodeInput }) (*PipelineMutationPayloadResolver, error)
SchedulePipelineNode sets the scheduled start time for a pipeline node
func (RootResolver) ServiceAccounts ¶
func (r RootResolver) ServiceAccounts(ctx context.Context, args *ServiceAccountConnectionQueryArgs) (*ServiceAccountConnectionResolver, error)
ServiceAccounts query returns service accounts connection
func (RootResolver) SetProjectVariables ¶
func (r RootResolver) SetProjectVariables(ctx context.Context, args *struct{ Input *SetProjectVariablesInput }) (*ProjectVariableSetMutationPayloadResolver, error)
SetProjectVariables sets all the variables for a project
func (RootResolver) SharedAgents ¶
func (r RootResolver) SharedAgents(ctx context.Context, args *ConnectionQueryArgs) (*AgentConnectionResolver, error)
SharedAgents query returns a shared agents connection
func (RootResolver) Teams ¶
func (r RootResolver) Teams(ctx context.Context, args *TeamConnectionQueryArgs) (*TeamConnectionResolver, error)
Teams query returns a teams connection
func (RootResolver) UnassignServiceAccountFromAgent ¶
func (r RootResolver) UnassignServiceAccountFromAgent(ctx context.Context, args *struct { Input *AssignServiceAccountToAgentInput }) (*AgentMutationPayloadResolver, error)
UnassignServiceAccountFromAgent unassigns a service account from a agent
func (RootResolver) UpdateAgent ¶
func (r RootResolver) UpdateAgent(ctx context.Context, args *struct{ Input *UpdateAgentInput }) (*AgentMutationPayloadResolver, error)
UpdateAgent updates an existing agent
func (RootResolver) UpdateApprovalRule ¶
func (r RootResolver) UpdateApprovalRule(ctx context.Context, args *struct{ Input *UpdateApprovalRuleInput }) (*ApprovalRuleMutationPayloadResolver, error)
UpdateApprovalRule updates an existing approval rule
func (RootResolver) UpdateEnvironment ¶
func (r RootResolver) UpdateEnvironment(ctx context.Context, args *struct{ Input *UpdateEnvironmentInput }) (*EnvironmentMutationPayloadResolver, error)
UpdateEnvironment updates an existing environment
func (RootResolver) UpdateEnvironmentRule ¶
func (r RootResolver) UpdateEnvironmentRule( ctx context.Context, args *struct{ Input *UpdateEnvironmentRuleInput }, ) (*EnvironmentRuleMutationPayloadResolver, error)
UpdateEnvironmentRule updates an existing environment rule
func (RootResolver) UpdateMembership ¶
func (r RootResolver) UpdateMembership(ctx context.Context, args *struct { Input *UpdateMembershipInput }, ) (*MembershipMutationPayloadResolver, error)
UpdateMembership updates an existing membership
func (RootResolver) UpdateOrganization ¶
func (r RootResolver) UpdateOrganization(ctx context.Context, args *struct{ Input *UpdateOrganizationInput }) (*OrganizationMutationPayloadResolver, error)
UpdateOrganization updates an existing organization
func (RootResolver) UpdatePipelineComment ¶
func (r RootResolver) UpdatePipelineComment(ctx context.Context, args *struct { Input *UpdateCommentInput }) (*CommentMutationPayloadResolver, error)
UpdatePipelineComment updates an existing pipeline comment
func (RootResolver) UpdatePlugin ¶
func (r RootResolver) UpdatePlugin(ctx context.Context, args *struct{ Input *UpdatePluginInput }) (*PluginMutationPayloadResolver, error)
UpdatePlugin updates an existing plugin
func (RootResolver) UpdateProject ¶
func (r RootResolver) UpdateProject(ctx context.Context, args *struct{ Input *UpdateProjectInput }) (*ProjectMutationPayloadResolver, error)
UpdateProject updates an existing project
func (RootResolver) UpdateRelease ¶
func (r RootResolver) UpdateRelease(ctx context.Context, args *struct { Input *UpdateReleaseInput }) (*ReleaseMutationPayloadResolver, error)
UpdateRelease updates a release
func (RootResolver) UpdateReleaseComment ¶
func (r RootResolver) UpdateReleaseComment(ctx context.Context, args *struct { Input *UpdateCommentInput }) (*CommentMutationPayloadResolver, error)
UpdateReleaseComment updates an existing release comment
func (RootResolver) UpdateReleaseDeploymentPipeline ¶
func (r RootResolver) UpdateReleaseDeploymentPipeline(ctx context.Context, args *struct { Input *UpdateReleaseDeploymentPipelineInput }) (*PipelineMutationPayloadResolver, error)
UpdateReleaseDeploymentPipeline updates a release
func (RootResolver) UpdateReleaseLifecycle ¶
func (r RootResolver) UpdateReleaseLifecycle(ctx context.Context, args *struct { Input *UpdateReleaseLifecycleInput }) (*ReleaseLifecycleMutationPayloadResolver, error)
UpdateReleaseLifecycle updates an existing release lifecycle
func (RootResolver) UpdateResourceLimit ¶
func (r RootResolver) UpdateResourceLimit(ctx context.Context, args *struct{ Input *UpdateResourceLimitInput }) (*ResourceLimitMutationPayloadResolver, error)
UpdateResourceLimit creates or updates a resource limit
func (RootResolver) UpdateRole ¶
func (r RootResolver) UpdateRole(ctx context.Context, args *struct{ Input *UpdateRoleInput }) (*RoleMutationPayloadResolver, error)
UpdateRole updates a role
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) UpdateToDoItem ¶
func (r RootResolver) UpdateToDoItem(ctx context.Context, args *struct{ Input *UpdateToDoItemInput }) (*ToDoItemMutationPayloadResolver, error)
UpdateToDoItem updates a todo item
func (RootResolver) UpdateVCSProvider ¶
func (r RootResolver) UpdateVCSProvider(ctx context.Context, args *struct{ Input *UpdateVCSProviderInput }, ) (*VCSProviderMutationPayloadResolver, error)
UpdateVCSProvider updates a vcs provider
func (RootResolver) UserToDoItemEvents ¶
func (r RootResolver) UserToDoItemEvents(ctx context.Context) (<-chan *ToDoItemEventResolver, error)
UserToDoItemEvents subscribes to a user's todo item events
func (RootResolver) Users ¶
func (r RootResolver) Users(ctx context.Context, args *UserConnectionQueryArgs) (*UserConnectionResolver, error)
Users query returns a user connection
func (RootResolver) Version ¶ added in v0.3.0
func (r RootResolver) Version(ctx context.Context) (*VersionResolver, error)
Version returns the version of the API and its components
type RunPipelineInput ¶
RunPipelineInput contains the input for starting a nested pipeline
type RunPipelineTaskInput ¶
RunPipelineTaskInput contains the input for starting a pipeline task
type SCIMTokenPayload ¶
SCIMTokenPayload is the response payload for a SCIM token mutation.
type SchedulePipelineNodeInput ¶
type SchedulePipelineNodeInput struct { ClientMutationID *string ScheduledStartTime *graphql.Time CronSchedule *struct { Timezone *string Expression string } PipelineID string NodeType statemachine.NodeType NodePath string }
SchedulePipelineNodeInput contains the input for setting the scheduled start time for a pipeline node
type ServiceAccountConnectionQueryArgs ¶
type ServiceAccountConnectionQueryArgs struct { ConnectionQueryArgs Search *string Scopes *[]models.ScopeType OrganizationID *string ProjectID *string }
ServiceAccountConnectionQueryArgs are used to query a service account connection
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 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 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) Memberships ¶
func (r *ServiceAccountResolver) Memberships(ctx context.Context, args *ConnectionQueryArgs, ) (*MembershipConnectionResolver, error)
Memberships resolver
func (*ServiceAccountResolver) Metadata ¶
func (r *ServiceAccountResolver) Metadata() *MetadataResolver
Metadata resolver
func (*ServiceAccountResolver) OIDCTrustPolicies ¶
func (r *ServiceAccountResolver) OIDCTrustPolicies() []OIDCTrustPolicy
OIDCTrustPolicies resolver
func (*ServiceAccountResolver) Organization ¶
func (r *ServiceAccountResolver) Organization(ctx context.Context) (*OrganizationResolver, error)
Organization resolver
func (*ServiceAccountResolver) Project ¶
func (r *ServiceAccountResolver) Project(ctx context.Context) (*ProjectResolver, error)
Project resolver
func (*ServiceAccountResolver) Scope ¶
func (r *ServiceAccountResolver) Scope() models.ScopeType
Scope resolver
type SetProjectVariablesInput ¶
type SetProjectVariablesInput struct { ClientMutationID *string ProjectID string Variables []*CreateProjectVariableInput }
SetProjectVariablesInput contains the input for setting project variables
type State ¶
type State struct { EnvironmentService environment.Service MembershipService membership.Service Logger logger.Logger OrganizationService organization.Service ServiceAccountService serviceaccount.Service ResourceLimitService resourcelimit.Service ProjectService project.Service ProjectVariableService projectvariable.Service JobService job.Service TeamService team.Service SCIMService scim.Service MetricService metric.Service PipelineService pipeline.Service AgentService agent.Service UserService user.Service RoleService role.Service PipelineTemplateService pipelinetemplate.Service ApprovalRuleService approvalrule.Service LifecycleTemplateService lifecycletemplate.Service ReleaseLifecycleService releaselifecycle.Service ReleaseService release.Service ActivityEventService activityevent.Service CommentService comment.Service PluginRegistryService pluginregistry.Service ToDoItemService todoitem.Service VCSService vcs.Service VersionService version.Service URNResolver *urn.Resolver Config *config.Config }
State contains the services required by resolvers
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 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 ThreadConnectionResolver ¶
type ThreadConnectionResolver struct {
// contains filtered or unexported fields
}
ThreadConnectionResolver resolves a thread connection
func NewThreadConnectionResolver ¶
func NewThreadConnectionResolver(ctx context.Context, input *comment.GetThreadsInput) (*ThreadConnectionResolver, error)
NewThreadConnectionResolver creates a new Thread connection
func (*ThreadConnectionResolver) Edges ¶
func (r *ThreadConnectionResolver) Edges() *[]*ThreadEdgeResolver
Edges returns the connection edges
func (*ThreadConnectionResolver) PageInfo ¶
func (r *ThreadConnectionResolver) PageInfo() *PageInfoResolver
PageInfo returns the connection page information
func (*ThreadConnectionResolver) TotalCount ¶
func (r *ThreadConnectionResolver) TotalCount() int32
TotalCount returns the total result count for the connection
type ThreadEdgeResolver ¶
type ThreadEdgeResolver struct {
// contains filtered or unexported fields
}
ThreadEdgeResolver resolves thread edges
func (*ThreadEdgeResolver) Cursor ¶
func (r *ThreadEdgeResolver) Cursor() (string, error)
Cursor returns an opaque cursor
func (*ThreadEdgeResolver) Node ¶
func (r *ThreadEdgeResolver) Node() (*ThreadResolver, error)
Node returns a thread node
type ThreadResolver ¶
type ThreadResolver struct {
// contains filtered or unexported fields
}
ThreadResolver resolves a thread resource
func (*ThreadResolver) CommentCount ¶
func (r *ThreadResolver) CommentCount(ctx context.Context) (int32, error)
CommentCount resolver
func (*ThreadResolver) Comments ¶
func (r *ThreadResolver) Comments(ctx context.Context) ([]*CommentResolver, error)
Comments resolver
func (*ThreadResolver) Metadata ¶
func (r *ThreadResolver) Metadata() *MetadataResolver
Metadata resolver
func (*ThreadResolver) Pipeline ¶
func (r *ThreadResolver) Pipeline(ctx context.Context) (*PipelineResolver, error)
Pipeline resolver
func (*ThreadResolver) Release ¶
func (r *ThreadResolver) Release(ctx context.Context) (*ReleaseResolver, error)
Release resolver
func (*ThreadResolver) RootComment ¶
func (r *ThreadResolver) RootComment(ctx context.Context) (*CommentResolver, error)
RootComment resolver
type ToDoItemConnectionQueryArgs ¶
type ToDoItemConnectionQueryArgs struct { ConnectionQueryArgs OrganizationID *string ProjectID *string Resolved *bool TargetTypes *[]models.ToDoItemTargetType }
ToDoItemConnectionQueryArgs represents the query arguments for the todo item connection resolver.
type ToDoItemConnectionResolver ¶
type ToDoItemConnectionResolver struct {
// contains filtered or unexported fields
}
ToDoItemConnectionResolver resolves an todo item connection
func NewToDoItemConnectionResolver ¶
func NewToDoItemConnectionResolver(ctx context.Context, input *todoitem.GetToDoItemsInput) (*ToDoItemConnectionResolver, error)
NewToDoItemConnectionResolver creates a new ToDoItemConnectionResolver
func (*ToDoItemConnectionResolver) Edges ¶
func (r *ToDoItemConnectionResolver) Edges() *[]*ToDoItemEdgeResolver
Edges returns the connection edges
func (*ToDoItemConnectionResolver) PageInfo ¶
func (r *ToDoItemConnectionResolver) PageInfo() *PageInfoResolver
PageInfo returns the connection page information
func (*ToDoItemConnectionResolver) TotalCount ¶
func (r *ToDoItemConnectionResolver) TotalCount() int32
TotalCount returns the total result count for the connection
type ToDoItemEdgeResolver ¶
type ToDoItemEdgeResolver struct {
// contains filtered or unexported fields
}
ToDoItemEdgeResolver resolves todo item edges
func (*ToDoItemEdgeResolver) Cursor ¶
func (r *ToDoItemEdgeResolver) Cursor() (string, error)
Cursor returns an opaque cursor
func (*ToDoItemEdgeResolver) Node ¶
func (r *ToDoItemEdgeResolver) Node() (*ToDoItemResolver, error)
Node returns a todo item node
type ToDoItemEventResolver ¶
type ToDoItemEventResolver struct {
// contains filtered or unexported fields
}
ToDoItemEventResolver resolves a todo item event
func (*ToDoItemEventResolver) Action ¶
func (r *ToDoItemEventResolver) Action() string
Action resolver
func (*ToDoItemEventResolver) ToDoItem ¶
func (r *ToDoItemEventResolver) ToDoItem() *ToDoItemResolver
ToDoItem resolver
func (*ToDoItemEventResolver) TotalUnresolved ¶
func (r *ToDoItemEventResolver) TotalUnresolved() int32
TotalUnresolved resolver
type ToDoItemMutationPayload ¶
type ToDoItemMutationPayload struct { ClientMutationID *string ToDoItem *models.ToDoItem Problems []Problem }
ToDoItemMutationPayload is the payload for ToDoItem mutations.
type ToDoItemMutationPayloadResolver ¶
type ToDoItemMutationPayloadResolver struct {
ToDoItemMutationPayload
}
ToDoItemMutationPayloadResolver resolves a ToDoItemMutationPayload
func (*ToDoItemMutationPayloadResolver) ToDoItem ¶
func (r *ToDoItemMutationPayloadResolver) ToDoItem() *ToDoItemResolver
ToDoItem field resolver
type ToDoItemPayloadResolver ¶
type ToDoItemPayloadResolver struct {
// contains filtered or unexported fields
}
ToDoItemPayloadResolver resolves the payload union type
func (*ToDoItemPayloadResolver) ToToDoItemPipelineTaskApprovalPayload ¶
func (r *ToDoItemPayloadResolver) ToToDoItemPipelineTaskApprovalPayload() (*ToDoItemPipelineTaskApprovalPayloadResolver, bool)
ToToDoItemPipelineTaskApprovalPayload resolver
type ToDoItemPipelineTaskApprovalPayloadResolver ¶
type ToDoItemPipelineTaskApprovalPayloadResolver struct {
// contains filtered or unexported fields
}
ToDoItemPipelineTaskApprovalPayloadResolver resolves a ToDoItemPipelineTaskApprovalPayload
func (*ToDoItemPipelineTaskApprovalPayloadResolver) TaskPath ¶
func (r *ToDoItemPipelineTaskApprovalPayloadResolver) TaskPath() string
TaskPath resolver
type ToDoItemResolver ¶
type ToDoItemResolver struct {
// contains filtered or unexported fields
}
ToDoItemResolver resolves a todo item.
func (*ToDoItemResolver) Metadata ¶
func (r *ToDoItemResolver) Metadata() *MetadataResolver
Metadata resolver
func (*ToDoItemResolver) Organization ¶
func (r *ToDoItemResolver) Organization(ctx context.Context) (*OrganizationResolver, error)
Organization resolver
func (*ToDoItemResolver) Payload ¶
func (r *ToDoItemResolver) Payload() (*ToDoItemPayloadResolver, error)
Payload resolver
func (*ToDoItemResolver) Project ¶
func (r *ToDoItemResolver) Project(ctx context.Context) (*ProjectResolver, error)
Project resolver
func (*ToDoItemResolver) Resolvable ¶
func (r *ToDoItemResolver) Resolvable() bool
Resolvable resolver
func (*ToDoItemResolver) Resolved ¶
func (r *ToDoItemResolver) Resolved(ctx context.Context) (bool, error)
Resolved resolver
func (*ToDoItemResolver) Target ¶
func (r *ToDoItemResolver) Target(ctx context.Context) (*NodeResolver, error)
Target resolver
func (*ToDoItemResolver) TargetType ¶
func (r *ToDoItemResolver) TargetType() models.ToDoItemTargetType
TargetType resolver
type UpdateAgentInput ¶
type UpdateAgentInput struct { ClientMutationID *string Description *string Metadata *MetadataInput Disabled *bool RunUntaggedJobs *bool Tags *[]string ID string }
UpdateAgentInput contains the input for updating a agent
type UpdateApprovalRuleInput ¶
type UpdateApprovalRuleInput struct { Metadata *MetadataInput ClientMutationID *string Teams *[]string Users *[]string ServiceAccounts *[]string Description *string ID string }
UpdateApprovalRuleInput is the input for updating an existing approval rule
type UpdateCommentInput ¶
type UpdateCommentInput struct { ClientMutationID *string Metadata *MetadataInput Text string ID string }
UpdateCommentInput contains the input for updating a comment
type UpdateEnvironmentInput ¶
type UpdateEnvironmentInput struct { ClientMutationID *string Description *string Metadata *MetadataInput ID string }
UpdateEnvironmentInput contains the input for updating an environment
type UpdateEnvironmentRuleInput ¶
type UpdateEnvironmentRuleInput struct { Metadata *MetadataInput ClientMutationID *string Users *[]string Teams *[]string ServiceAccounts *[]string Roles *[]string ID string }
UpdateEnvironmentRuleInput is the input for updating an existing access rule
type UpdateMembershipInput ¶
type UpdateMembershipInput struct { ClientMutationID *string Metadata *MetadataInput ID string Role string }
UpdateMembershipInput is the input for updating a membership
type UpdateOrganizationInput ¶
type UpdateOrganizationInput struct { ClientMutationID *string Metadata *MetadataInput Description *string ID string }
UpdateOrganizationInput contains the input for updating a organization
type UpdatePluginInput ¶
type UpdatePluginInput struct { ClientMutationID *string Metadata *MetadataInput RepositoryURL *string Private *bool ID string }
UpdatePluginInput is the input for updating a plugin
type UpdateProjectInput ¶
type UpdateProjectInput struct { ClientMutationID *string Metadata *MetadataInput Description *string ID string }
UpdateProjectInput contains the input for updating a project
type UpdateReleaseDeploymentPipelineInput ¶
type UpdateReleaseDeploymentPipelineInput struct { ClientMutationID *string PipelineTemplateID *string Variables *[]pipeline.Variable ReleaseID string EnvironmentName string }
UpdateReleaseDeploymentPipelineInput contains the input for updating a release deployment
type UpdateReleaseInput ¶
type UpdateReleaseInput struct { ClientMutationID *string Notes *string DueDate *graphql.Time ReleaseID string }
UpdateReleaseInput contains the input for updating a release
type UpdateReleaseLifecycleInput ¶
type UpdateReleaseLifecycleInput struct { ClientMutationID *string Metadata *MetadataInput ID string LifecycleTemplateID string }
UpdateReleaseLifecycleInput contains the input for updating an existing release lifecycle
type UpdateResourceLimitInput ¶
type UpdateResourceLimitInput struct { ClientMutationID *string Metadata *MetadataInput Name string Value int32 }
UpdateResourceLimitInput contains the input for updating a resource limit
type UpdateRoleInput ¶
type UpdateRoleInput struct { ClientMutationID *string Metadata *MetadataInput ID string Description *string Permissions []string }
UpdateRoleInput contains the input for updating a role
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 Description *string Metadata *MetadataInput ID 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 UpdateToDoItemInput ¶
type UpdateToDoItemInput struct { ClientMutationID *string Metadata *MetadataInput Resolved *bool ID string }
UpdateToDoItemInput contains the input for updating a ToDoItem.
type UpdateVCSProviderInput ¶
type UpdateVCSProviderInput struct { ClientMutationID *string Metadata *MetadataInput Description *string OAuthClientID *string OAuthClientSecret *string PersonalAccessToken *string ExtraOAuthScopes *[]string ID string }
UpdateVCSProviderInput is the input for updating a VCS provider.
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) Memberships ¶
func (r *UserResolver) Memberships(ctx context.Context, args *ConnectionQueryArgs, ) (*MembershipConnectionResolver, error)
Memberships resolver
func (*UserResolver) Metadata ¶
func (r *UserResolver) Metadata() *MetadataResolver
Metadata resolver
func (*UserResolver) Releases ¶
func (r *UserResolver) Releases(ctx context.Context, args *ConnectionQueryArgs, ) (*ReleaseConnectionResolver, error)
Releases resolver
func (*UserResolver) SCIMExternalID ¶
func (r *UserResolver) SCIMExternalID() *string
SCIMExternalID resolver
func (*UserResolver) Teams ¶
func (r *UserResolver) Teams(ctx context.Context, args *ConnectionQueryArgs, ) (*TeamConnectionResolver, error)
Teams resolver
func (*UserResolver) ToDoItems ¶
func (r *UserResolver) ToDoItems(ctx context.Context, args *ToDoItemConnectionQueryArgs) (*ToDoItemConnectionResolver, error)
ToDoItems resolver
type VCSProviderConnectionQueryArgs ¶
type VCSProviderConnectionQueryArgs struct { ConnectionQueryArgs 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) AuthType ¶
func (r *VCSProviderResolver) AuthType() models.VCSProviderAuthType
AuthType resolver
func (*VCSProviderResolver) CreatedBy ¶
func (r *VCSProviderResolver) CreatedBy() string
CreatedBy resolver
func (*VCSProviderResolver) Description ¶
func (r *VCSProviderResolver) Description() string
Description resolver
func (*VCSProviderResolver) ExtraOAuthScopes ¶ added in v0.8.0
func (r *VCSProviderResolver) ExtraOAuthScopes() []string
ExtraOAuthScopes resolver
func (*VCSProviderResolver) Metadata ¶
func (r *VCSProviderResolver) Metadata() *MetadataResolver
Metadata resolver
func (*VCSProviderResolver) Organization ¶
func (r *VCSProviderResolver) Organization(ctx context.Context) (*OrganizationResolver, error)
Organization resolver
func (*VCSProviderResolver) OrganizationName ¶
func (r *VCSProviderResolver) OrganizationName() string
OrganizationName resolver
func (*VCSProviderResolver) Project ¶
func (r *VCSProviderResolver) Project(ctx context.Context) (*ProjectResolver, error)
Project resolver
func (*VCSProviderResolver) Scope ¶
func (r *VCSProviderResolver) Scope() models.ScopeType
Scope resolver
func (*VCSProviderResolver) Type ¶
func (r *VCSProviderResolver) Type() models.VCSProviderType
Type resolver
type VersionResolver ¶ added in v0.9.0
type VersionResolver struct {
// contains filtered or unexported fields
}
VersionResolver resolves the version of different API components
func (*VersionResolver) APIVersion ¶ added in v0.9.0
func (r *VersionResolver) APIVersion() string
APIVersion resolver
func (*VersionResolver) DBMigrationDirty ¶ added in v0.9.0
func (r *VersionResolver) DBMigrationDirty() bool
DBMigrationDirty resolver
func (*VersionResolver) DBMigrationVersion ¶ added in v0.9.0
func (r *VersionResolver) DBMigrationVersion() string
DBMigrationVersion resolver
Source Files ¶
- activity_event.go
- agent.go
- agentsession.go
- approvalrule.go
- authsettings.go
- comment.go
- connection.go
- environment.go
- environment_rule.go
- job.go
- lifecycletemplate.go
- me.go
- membership.go
- metadata.go
- metric.go
- node.go
- organization.go
- pipeline.go
- pipeline_approval.go
- pipelineactionoutput.go
- pipelinetemplate.go
- plugin.go
- pluginplatforms.go
- pluginversion.go
- problem.go
- project.go
- projectvariable.go
- projectvariableset.go
- release.go
- releaselifecycle.go
- resolver.go
- resourcelimit.go
- role.go
- root.go
- scim.go
- serviceaccount.go
- team.go
- thread.go
- todo_item.go
- user.go
- vcs_provider.go
- version.go