Documentation
¶
Index ¶
- Variables
- type APIToken
- type AccessMode
- type Account
- type AccountCollaborators
- type AccountFeatures
- type AddGitIntegrationArgs
- type AddUserToAccountArgs
- type AnalysisMetricProviderTypes
- type AnalysisPhases
- type AnalysisRun
- type AnalysisRunDatadogSpec
- type AnalysisRunEdge
- type AnalysisRunKayentaSpec
- type AnalysisRunMetricSpec
- type AnalysisRunNewRelicSpec
- type AnalysisRunPrometheusSpec
- type AnalysisRunProviderSpec
- type AnalysisRunSlice
- type AnalysisRunSpec
- type AnalysisRunStatus
- type AnalysisRunWavefrontSpec
- type AnalysisRunWebSpec
- type AnalyticsAppGroupList
- type AnalyticsApplicationsList
- type AnalyticsClassicPipeline
- type AnalyticsClassicPipelineTag
- type AnalyticsClassicPipelinesList
- type AnalyticsClassicProject
- type AnalyticsClassicProjectsList
- type AnalyticsClassicTagsList
- type AnalyticsClustersList
- type AnalyticsEnvironmentList
- type AnalyticsProductList
- type AnalyticsRuntimesList
- type Annotation
- type AnnotationArgs
- type AnnotationEdge
- type AnnotationFilterArgs
- type AnnotationSlice
- type AppAndAppSetEdge
- type AppAndAppSetSlice
- type AppOperationType
- type AppProjectDestinationInput
- type AppProxyImageReportInfo
- type AppProxyInfo
- type AppProxyStatus
- type AppProxyVersionInfo
- type AppResourceDifference
- type AppResourceDifferenceRecord
- type AppResourceEventInfo
- type AppResourceEventInfoMetadata
- type AppResourceEventInfoSource
- type AppResourceEvents
- type AppResourceEventsMetadata
- type AppResourceMetadataInput
- type AppResoureActionMetadata
- type AppResoureActionMetadataParam
- type AppSyncPolicies
- type Application
- type ApplicationDetailsSourceInput
- type ApplicationEdge
- type ApplicationEventInfo
- type ApplicationEventInfoMetadata
- type ApplicationEvents
- type ApplicationEventsMetadata
- type ApplicationField
- type ApplicationFormData
- type ApplicationFormDestination
- type ApplicationFormIgnoreDifferences
- type ApplicationFormMetadata
- type ApplicationFormSource
- type ApplicationFormSourceDirectory
- type ApplicationFormSourceDirectoryJsonnet
- type ApplicationFormSourceHelm
- type ApplicationFormSourceKsonnet
- type ApplicationFormSourceKustomize
- type ApplicationFormSourcePlugin
- type ApplicationFormSyncAutomatedPolicy
- type ApplicationFormSyncPolicy
- type ApplicationFormSyncRetryBackoffOptions
- type ApplicationFormSyncRetryOptions
- type ApplicationGroup
- type ApplicationGroupEdge
- type ApplicationGroupFilterArgs
- type ApplicationGroupSlice
- type ApplicationGroupSortArg
- type ApplicationGroupsSortingField
- type ApplicationHistory
- type ApplicationItemInfo
- type ApplicationItemMetadataInfo
- type ApplicationItemSpecInfo
- type ApplicationItemStatusInfo
- type ApplicationLogEntry
- type ApplicationLogsResponse
- type ApplicationManifestHierarchy
- type ApplicationOperation
- type ApplicationOperationInitiatedBy
- type ApplicationOperationRetryBackoffOptions
- type ApplicationOperationRetryOptions
- type ApplicationOperationState
- type ApplicationOperationSync
- type ApplicationOperationSyncResource
- type ApplicationOperationSyncStrategy
- type ApplicationOrderedStatistics
- type ApplicationOrderedStatisticsData
- type ApplicationRef
- type ApplicationResourceHealthStatusInfo
- type ApplicationResourceItem
- type ApplicationRevisionMetadata
- type ApplicationSet
- type ApplicationSetEdge
- type ApplicationSetSlice
- type ApplicationSlice
- type ApplicationStatusSummary
- type ApplicationSyncComparedTo
- type ApplicationSyncDetails
- type ApplicationSyncDetailsComparedTo
- type ApplicationSyncDetailsOperationState
- type ApplicationSyncDetailsOperationStateSyncResult
- type ApplicationSyncResult
- type ApplicationSyncStatus
- type ApplicationTreeHealthStatusStatisticRecord
- type ApplicationTreeItem
- type ApplicationTreeSortingField
- type ApplicationValidationDestination
- type ApplicationValidationInput
- type ApplicationValidationSource
- type ApplicationValidationSpec
- type ApplicationValidationStatus
- type ApplicationsInfo
- type ApplicationsInfoMetadata
- type AppsRelations
- type ArgoCDApplicationDestination
- type ArgoCDApplicationSpecSource
- type ArgoCDApplicationStatus
- type ArgoCDNotification
- type ArgoCdDeepLinkInfo
- type ArgoCdDeepLinksResponse
- type ArgoEventsNotification
- type ArgoHubTemplate
- type ArgoHubTemplates
- type ArgoHubTemplatesFilterArgs
- type ArgoHubTemplatesSlice
- type ArtifactDiscriminator
- type AuditEdge
- type AuditEntity
- type AuditFilterArgs
- type AuditSlice
- type Auth0sso
- type AvgChangeFailureRateStatistics
- type AvgTimeToRestoreServiceStatistics
- type AzureSso
- type Backoff
- type BaseEntity
- type BasePrice
- type BaseReference
- type BitbucketCloudTriggerConditions
- type BitbucketCloudTriggerConditionsArgs
- type BitbucketServerTriggerConditions
- type BitbucketServerTriggerConditionsArgs
- type Build
- type CacheInfo
- type CalendarEventPayloadData
- type CalendarTriggerConditions
- type CalendarTriggerConditionsArgs
- type ChildApplicationField
- type ChildWorkflowRef
- type ClassicPipelineDurationMetric
- type ClassicPipelineMetric
- type ClassicPipelinePerformanceRecord
- type ClassicPipelineStatistics
- type ClassicPipelinesPerformanceStatistics
- type ClientIP
- type CloudBuilds
- type Cluster
- type ClusterConnectionStatus
- type ClusterEdge
- type ClusterInfo
- type ClusterNamesDDRecord
- type ClusterSlice
- type ClusterURLDDRecord
- type ClustersStatistics
- type Commit
- type CommitFilesArgs
- type Commits
- type CommitsOutput
- type Committer
- type CommitterLabel
- type CommonGitEventPayloadData
- type Component
- type ComponentDependenciesContent
- type ComponentEdge
- type ComponentNotification
- type ComponentSlice
- type CompositeSlice
- type CompositeSliceInfo
- type CompositeSlicePaginationArgs
- type ConfigMapFormData
- type ConfigMapMetadata
- type ConnectionState
- type CreateArgoRolloutsInput
- type CreateComponentInput
- type CreateEnvironmentArgs
- type CreateGitSourceInput
- type CreateGitSourcePlaceholderInput
- type CreateProductArgs
- type CreateRestrictedGitSourceInput
- type CreateWorkflowFromWorkflowTemplateResponse
- type Customer
- type DataFilter
- type DataFilterArgs
- type DataRetention
- type DefaultDindResources
- type DeleteApplicationInput
- type DeleteEnvironmentArgs
- type DeleteFilesArgs
- type DeleteProductArgs
- type Deployment
- type DeploymentContainer
- type DeploymentEdge
- type DeploymentFrequencyStatistics
- type DeploymentSlice
- type DeploymentSpec
- type DeploymentSpecPart
- type DeploymentStatistics
- type DeploymentStatisticsData
- type DeploymentStatisticsInfo
- type DeploymentStatisticsStatus
- type DeploymentStatus
- type DisplayStrategy
- type DoraGeneralStatistics
- type DoraMetricsGeneralStatistics
- type DoraStatisticsData
- type DoraStatisticsSummery
- type DurationName
- type Edge
- type EditGitIntegrationArgs
- type EditGitSourceInput
- type EditRestrictedGitSourceInput
- type EditUserToAccountArgs
- type Entity
- type EntityReferenceMeta
- type Environment
- type EnvironmentCluster
- type EnvironmentClusterInput
- type EnvironmentConcurrency
- type EnvironmentFilterArgs
- type EnvironmentKind
- type EnvironmentRelativePos
- type Error
- type ErrorContext
- type ErrorLevels
- type Event
- type EventPayload
- type EventPayloadData
- type EventPayloadEdge
- type EventPayloadSlice
- type EventSource
- type EventSourceEdge
- type EventSourceSlice
- type EventSourceType
- type Exception
- type ExceptionDescription
- type ExceptionType
- type Favorable
- type FavorableNotK8s
- type FavorableNotK8sEntity
- type FavoriteInfoArgs
- type File
- type FromState
- type GeneralStatistics
- type GenerateImageReportSnippetInput
- type GenericEntity
- type GenericEntityEdge
- type GenericEntitySlice
- type GenericErrorNotification
- type GetApplicationParamsInput
- type GitAuthConfig
- type GitAuthConfigFormData
- type GitAuthMode
- type GitAuthProviderConfig
- type GitAuthProvidersData
- type GitAuthenticationDetails
- type GitConfigEntitySource
- type GitIntegration
- type GitOpsEdge
- type GitOpsNotification
- type GitOpsSettings
- type GitOpsSlice
- type GitOrganization
- type GitOrganizationsArgs
- type GitPRComment
- type GitPREventPayloadData
- type GitPr
- type GitPrFork
- type GitProviders
- type GitPush
- type GitPushCommit
- type GitPushCommitRevision
- type GitPushCommitTargetRevision
- type GitPushEventPayloadData
- type GitPushPayloadDataTypes
- type GitPushTag
- type GitPushTagRevision
- type GitRelease
- type GitReleaseEventPayloadData
- type GitRepositoriesArgs
- type GitSource
- type GitSourceEdge
- type GitSourceNotification
- type GitSourceSlice
- type GitUnknownEventPayloadData
- type GithubEvent
- type GithubTriggerConditions
- type GithubTriggerConditionsArgs
- type GitlabTriggerConditions
- type GitlabTriggerConditionsArgs
- type GitopsEntity
- type GitopsEntitySource
- type GitopsRelease
- type GitopsReleaseApplicationArgs
- type GitopsReleaseChartRecord
- type GitopsReleaseChartRelease
- type GitopsReleaseEdge
- type GitopsReleaseFilterArgs
- type GitopsReleaseSlice
- type GitopsReleasesSortingField
- type GoogleSso
- type HealthError
- type HealthErrorCodes
- type HealthErrorInput
- type HealthStatus
- type HelmSource
- type HierarchyRef
- type HierarchyStep
- type HierarchyTemplate
- type HierarchyTemplates
- type IDDiscriminator
- type IDP
- type Icon
- type IconType
- type ImageApplication
- type ImageApplicationCommitAuthor
- type ImageApplicationGitInfo
- type ImageBinariesInfo
- type ImageBinary
- type ImageBinaryAuthor
- type ImageBinaryAuthorOutput
- type ImageBinaryEdge
- type ImageBinaryOutput
- type ImageBinarySlice
- type ImageDetails
- type ImageLayerOutput
- type ImageLayersOutput
- type ImagePullPolicy
- type ImageRegistry
- type ImageRegistryEdge
- type ImageRegistryOutput
- type ImageRegistrySlice
- type ImageRegistryType
- type ImageRepoTag
- type ImageRepoTagEdge
- type ImageRepoTagSlice
- type ImageRepoTagSortingField
- type ImageReportSnippetArgument
- type ImageRepository
- type ImageRepositoryEdge
- type ImageRepositorySlice
- type ImageRepositorySortingField
- type ImageTag
- type ImageTagOutput
- type Images
- type Ingress
- type InitManagedRuntimeArgs
- type Initiator
- type InputArgoCDApplicationDestination
- type InstallationStatus
- type InstallationType
- type Integration
- type IntegrationConfig
- type IntegrationConsumer
- type IntegrationEdge
- type IntegrationEntity
- type IntegrationFilterArgs
- type IntegrationFlowInput
- type IntegrationFlowInputMetadata
- type IntegrationFlowOptions
- type IntegrationGenerationInput
- type IntegrationGenerationMetadata
- type IntegrationGenerationOutput
- type IntegrationSecret
- type IntegrationSlice
- type IssueValue
- type JiraCommand
- type JiraDeployment
- type JiraDeploymentsOutput
- type JiraEnvironment
- type JiraPipeline
- type K8sEntityID
- type K8sLogicEntity
- type K8sStandardEntity
- type KeycloakSso
- type LabelArrays
- type LdapSso
- type LeadTimeForChangesStatistics
- type LoadBalancer
- type LogicEntityID
- type ManagedResource
- type ManagedResources
- type Mapping
- type MetricMeasurement
- type MetricResult
- type MetricWithTrend
- type NameValueCodeOutput
- type NameValueOutput
- type NamedResource
- type NodeStatus
- type Notification
- type NotificationActionType
- type NotificationEdge
- type NotificationSlice
- type NotificationState
- type NotificationType
- type ObjectMeta
- type OktaSso
- type OneTimeToken
- type OneloginSso
- type Pack
- type PackMetadata
- type PackRuntime
- type ParentWorkflowRef
- type PastDue
- type PayloadDataTypes
- type Permission
- type PermissionInput
- type Pipeline
- type PipelineAverageDurationStats
- type PipelineAverageDurationStatsData
- type PipelineAverageDurationStatsInfo
- type PipelineClassicStatisticDurationMetricType
- type PipelineClassicStatsInfo
- type PipelineCommittersStats
- type PipelineCommittersStatsData
- type PipelineCommittersStatsInfo
- type PipelineConfig
- type PipelineConfigExecution
- type PipelineConfigGeneral
- type PipelineConfigPendingApproval
- type PipelineConfigYaml
- type PipelineEdge
- type PipelineExecutionsStats
- type PipelineExecutionsStatsData
- type PipelineExecutionsStatsInfo
- type PipelineOrderedStatistics
- type PipelineRef
- type PipelineSlice
- type PipelineSpec
- type PipelineStatistics
- type PipelineStepStatistics
- type PipelineSuccessRateStats
- type PipelineSuccessRateStatsData
- type PipelineSuccessRateStatsInfo
- type PipelinesFilterArgs
- type Plan
- type PlanCollaborators
- type PlanEnvironment
- type PlanWorkflows
- type PodEventsEntry
- type PodEventsResponse
- type PodSpec
- type PodTemplateSpec
- type PredefinedFilter
- type PredefinedFilterArgs
- type Product
- type ProductApplication
- type ProductApplicationDeployedTo
- type ProductApplicationEntityID
- type ProductApplicationRelease
- type ProductApplicationStatus
- type ProductComponent
- type ProductComponentEdge
- type ProductComponentFilterArgs
- type ProductComponentPromotedByWorkflow
- type ProductComponentSortArg
- type ProductComponentSortingField
- type ProductComponentType
- type ProductComponentVersions
- type ProductComponentsSlice
- type ProductEdge
- type ProductEnvironmentStatistic
- type ProductFilterArgs
- type ProductSlice
- type ProductSortArg
- type ProductSortingField
- type ProductStatistic
- type Project
- type ProjectBasedEntity
- type ProjectEdge
- type ProjectSlice
- type PromotionDiffFile
- type PromotionDiffResult
- type PromotionType
- type PullRequestCommitter
- type PullRequestValue
- type ReadFileArgs
- type RefreshOptions
- type RefreshOptionsTypes
- type RefreshResponse
- type RefreshResponseMetadata
- type RefreshType
- type RegisterToGitIntegrationArgs
- type Registry
- type RegistryOutput
- type Release
- type ReleaseRolloutDisabledReasons
- type ReleaseRolloutState
- type ReleaseServiceState
- type RenewAccessTokenResponse
- type ReplicaSet
- type ReplicaSetEdge
- type ReplicaSetSlice
- type RepoBitbucketCloudFilterArgs
- type RepoBitbucketCloudFilterArgsInput
- type ReportRuntimeErrorsArgs
- type RepositoriesFilterArgs
- type RepositoriesPage
- type Repository
- type RepositoryAppDetailsOutput
- type RepositoryAppDirectoryJsonnetExtVarsOutput
- type RepositoryAppDirectoryJsonnetOutput
- type RepositoryAppDirectoryJsonnetTlasOutput
- type RepositoryAppDirectoryOutput
- type RepositoryAppHelmFileParameterOutput
- type RepositoryAppHelmOutput
- type RepositoryAppHelmParameterOutput
- type RepositoryAppKsonnetEnvironmentDestinationOutput
- type RepositoryAppKsonnetEnvironmentOutput
- type RepositoryAppKsonnetEnvironmentValueOutput
- type RepositoryAppKsonnetOutput
- type RepositoryAppKsonnetParametersOutput
- type RepositoryAppKustomizeOutput
- type RepositoryAppOutput
- type RepositoryAppPluginOutput
- type RepositoryBranchesAndTagsOutput
- type RepositoryHelmChartItemOutput
- type Resource
- type ResourceAction
- type ResourceEvent
- type ResourceException
- type ResourceHostInfo
- type ResourceManifest
- type ResourceManifestInput
- type ResourceOperation
- type ResourceTree
- type ResourceTreeHealthStatus
- type ResourceTreeHost
- type ResourceTreeNode
- type ResourceTreeNodeInfo
- type ResourceTreeParentNode
- type ResourcesRequests
- type RetryStrategy
- type RevisionInfo
- type RollbackAvailabilityInfo
- type Rollout
- type RolloutAnalysisRunStatus
- type RolloutAnalysisStatus
- type RolloutCanaryInlineAnalysisStep
- type RolloutCanaryPauseStep
- type RolloutCanarySetScaleStep
- type RolloutCanaryStatus
- type RolloutCanaryStep
- type RolloutEdge
- type RolloutImageDetails
- type RolloutInlineAnalysisTemplate
- type RolloutInlineExperimentAnalyses
- type RolloutInlineExperimentTemplate
- type RolloutInlineExperimentTemplates
- type RolloutPerformedActions
- type RolloutPhases
- type RolloutPromoteFullDetails
- type RolloutRollbackResponse
- type RolloutRollbackRevisionsComparenceResponse
- type RolloutSkippedStep
- type RolloutSlice
- type RolloutSpec
- type RolloutStatus
- type RolloutStepDetails
- type RolloutStepStatus
- type RolloutStrategy
- type RolloutStrategyNames
- type RolloutTransition
- type Runtime
- type RuntimeCreationResponse
- type RuntimeEdge
- type RuntimeFeature
- type RuntimeInfo
- type RuntimeInstallationArgs
- type RuntimeIntegration
- type RuntimeNotification
- type RuntimeOperation
- type RuntimeOperationAction
- type RuntimeSlice
- type RuntimeStatus
- type RuntimeSyncMode
- type RuntimesStatistics
- type SSOArgs
- type SamlSso
- type SealSecretInput
- type SealSecretOutput
- type SecretData
- type SecretKeySelector
- type SecretKeySelectorResponse
- type SecretPath
- type SecretType
- type Section
- type SecurityInfo
- type SecurityInfoArgs
- type Sensor
- type SensorEdge
- type SensorSlice
- type ServiceEntity
- type ServiceEntityEdge
- type ServiceEntitySlice
- type ServiceItem
- type ServicePort
- type ServiceSortingField
- type ServiceSpec
- type ServiceStatus
- type ServiceTransition
- type ServiceType
- type SessionAffinityConfig
- type SetAccountAllowedDomainsArgs
- type SetGitSourcePermissionArgs
- type SharingPolicy
- type SingleComponentDependency
- type Slice
- type SliceInfo
- type SlicePaginationArgs
- type SortingOrder
- type SpecificTriggerConditions
- type SpecificTriggerConditionsArgs
- type Sso
- type StatsTimePeriodData
- type StatusHistoryItem
- type Strategy
- type StrategyArgs
- type StringPair
- type Stripe
- type SupportedCITools
- type SupportedEventMapping
- type SupportedSnippetTypes
- type SwitchAccountResponse
- type SyncActionOnResource
- type SyncError
- type SyncErrorCodes
- type SyncHookType
- type SyncInfos
- type SyncOperationPhase
- type SyncOptions
- type SyncPhase
- type SyncResource
- type SyncResponse
- type SyncResponseMetadata
- type SyncResultCode
- type SyncResultResource
- type SyncStatus
- type SyncStrategy
- type SyncStrategyForce
- type SyncSyncOptions
- type SystemType
- type SystemTypeOutput
- type Team
- type TeamSource
- type TeamType
- type TeminateApplicationOperationResponse
- type TimeSeriesDataRecord
- type ToState
- type TokenType
- type Transition
- type Trial
- type TriggerConditionDataFilters
- type TriggerConditionDataFiltersArgs
- type TriggerConditionFilters
- type TriggerConditionFiltersArgs
- type TriggerConditionParameter
- type TriggerConditionParameterArgs
- type TriggerConditions
- type TriggerConditionsArgs
- type TriggerConditionsWorkflow
- type TriggerConditionsWorkflowArgs
- type UnknownEventPayloadData
- type UpdateEnvironmentArgs
- type UpdateGitSourcePermissionsArgs
- type UpdateProductArgs
- type UpdateRuntimeGitTokenArgs
- type User
- type UserDetailsArgs
- type UserGitIntegration
- type UserSettings
- type UserSettingsArgs
- type ValidateGitProviderArgs
- type Workflow
- type WorkflowArguments
- type WorkflowConcurrency
- type WorkflowConcurrencyInfo
- type WorkflowConditions
- type WorkflowContainerSpec
- type WorkflowContainerTemplate
- type WorkflowDAGTask
- type WorkflowDAGTemplate
- type WorkflowEdge
- type WorkflowInitiator
- type WorkflowLastExecution
- type WorkflowLogEntry
- type WorkflowLogsResponse
- type WorkflowNodePhases
- type WorkflowOrigins
- type WorkflowParameter
- type WorkflowParameterArgs
- type WorkflowParameterInput
- type WorkflowPhases
- type WorkflowRepository
- type WorkflowResourceTemplate
- type WorkflowResourcesDuration
- type WorkflowResubmitResponse
- type WorkflowScriptTemplate
- type WorkflowSlice
- type WorkflowSpec
- type WorkflowSpecNameOnlyTemplate
- type WorkflowSpecTemplate
- type WorkflowStatus
- type WorkflowStep
- type WorkflowStepsTemplate
- type WorkflowSuspendedTemplate
- type WorkflowTemplate
- type WorkflowTemplateEdge
- type WorkflowTemplateRef
- type WorkflowTemplateSlice
- type WorkflowTemplatesFilterArgs
Constants ¶
This section is empty.
Variables ¶
var AllAccessMode = []AccessMode{ AccessModeIngress, AccessModeTunnel, }
var AllAnalysisMetricProviderTypes = []AnalysisMetricProviderTypes{ AnalysisMetricProviderTypesCloudWatch, AnalysisMetricProviderTypesDatadog, AnalysisMetricProviderTypesJob, AnalysisMetricProviderTypesKayenta, AnalysisMetricProviderTypesNewRelic, AnalysisMetricProviderTypesPrometheus, AnalysisMetricProviderTypesUnknown, AnalysisMetricProviderTypesWavefront, AnalysisMetricProviderTypesWeb, }
var AllAnalysisPhases = []AnalysisPhases{ AnalysisPhasesError, AnalysisPhasesFailed, AnalysisPhasesInconclusive, AnalysisPhasesPending, AnalysisPhasesRunning, AnalysisPhasesSuccessful, }
var AllAppOperationType = []AppOperationType{ AppOperationTypeDelete, AppOperationTypeSync, AppOperationTypeUnknown, }
var AllAppProxyStatus = []AppProxyStatus{ AppProxyStatusFailed, AppProxyStatusSuccessful, AppProxyStatusUnknown, }
var AllAppSyncPolicies = []AppSyncPolicies{ AppSyncPoliciesAutomated, AppSyncPoliciesManual, AppSyncPoliciesUnknown, }
var AllApplicationGroupsSortingField = []ApplicationGroupsSortingField{ ApplicationGroupsSortingFieldName, ApplicationGroupsSortingFieldUpdatedAt, }
var AllApplicationTreeSortingField = []ApplicationTreeSortingField{ ApplicationTreeSortingFieldHealthStatus, ApplicationTreeSortingFieldKind, ApplicationTreeSortingFieldLastUpdated, ApplicationTreeSortingFieldName, ApplicationTreeSortingFieldRuntime, ApplicationTreeSortingFieldSyncStatus, }
var AllArtifactDiscriminator = []ArtifactDiscriminator{ ArtifactDiscriminatorOutputs, }
var AllClusterConnectionStatus = []ClusterConnectionStatus{ ClusterConnectionStatusFailed, ClusterConnectionStatusSuccessful, ClusterConnectionStatusUnknown, }
var AllDeploymentStatisticsStatus = []DeploymentStatisticsStatus{ DeploymentStatisticsStatusAll, DeploymentStatisticsStatusDegraded, DeploymentStatisticsStatusDegradedAndRollback, DeploymentStatisticsStatusHealthy, DeploymentStatisticsStatusRollback, }
var AllDisplayStrategy = []DisplayStrategy{ DisplayStrategyAllParameters, DisplayStrategyAllSections, DisplayStrategySelectedSections, }
var AllDurationName = []DurationName{ DurationNameDelayDuration, DurationNameInitializingDuration, DurationNamePendingApprovalDuration, DurationNamePendingConcurrencyDuration, DurationNameRunningDuration, DurationNameTotalDuration, }
var AllEnvironmentKind = []EnvironmentKind{ EnvironmentKindNonProd, EnvironmentKindProd, }
var AllEnvironmentRelativePos = []EnvironmentRelativePos{ EnvironmentRelativePosAfter, EnvironmentRelativePosBefore, }
var AllErrorLevels = []ErrorLevels{ ErrorLevelsError, ErrorLevelsWarning, }
var AllExceptionType = []ExceptionType{ ExceptionTypeError, ExceptionTypeWarning, }
var AllGitAuthMode = []GitAuthMode{ GitAuthModeCodefresh, GitAuthModeCustom, GitAuthModePat, }
var AllGitProviders = []GitProviders{ GitProvidersBitbucket, GitProvidersBitbucketServer, GitProvidersGerrit, GitProvidersGithub, GitProvidersGitlab, }
var AllGitPushPayloadDataTypes = []GitPushPayloadDataTypes{ GitPushPayloadDataTypesBranch, GitPushPayloadDataTypesTag, }
var AllGitopsReleasesSortingField = []GitopsReleasesSortingField{ GitopsReleasesSortingFieldCreatedAt, GitopsReleasesSortingFieldHealthStatus, GitopsReleasesSortingFieldHistoryID, GitopsReleasesSortingFieldSyncStatus, }
var AllHealthErrorCodes = []HealthErrorCodes{ HealthErrorCodesBrokenReference, HealthErrorCodesInactiveRuntime, HealthErrorCodesInsufficientResources, HealthErrorCodesRuntimeInstallationError, HealthErrorCodesTransitiveError, HealthErrorCodesUnknown, }
var AllHealthStatus = []HealthStatus{ HealthStatusDegraded, HealthStatusHealthy, HealthStatusMissing, HealthStatusProgressing, HealthStatusSuspended, HealthStatusTerminated, HealthStatusUnknown, }
var AllIDDiscriminator = []IDDiscriminator{ IDDiscriminatorWorkflows, IDDiscriminatorArchivedWorkflows, }
var AllIconType = []IconType{ IconTypeImage, IconTypeIcon, }
var AllImagePullPolicy = []ImagePullPolicy{ ImagePullPolicyAlways, ImagePullPolicyIfNotPresent, ImagePullPolicyNever, }
var AllImageRegistryType = []ImageRegistryType{ ImageRegistryTypeDockerHub, ImageRegistryTypeEcr, ImageRegistryTypeGcr, ImageRegistryTypeGhcr, ImageRegistryTypeJfrog, ImageRegistryTypeOther, ImageRegistryTypeQuay, }
var AllImageRepoTagSortingField = []ImageRepoTagSortingField{ ImageRepoTagSortingFieldTag, }
var AllImageRepositorySortingField = []ImageRepositorySortingField{ ImageRepositorySortingFieldLastUpdate, ImageRepositorySortingFieldName, }
var AllInstallationStatus = []InstallationStatus{ InstallationStatusCompleted, InstallationStatusFailed, InstallationStatusInProgress, }
var AllInstallationType = []InstallationType{ InstallationTypeCli, InstallationTypeHelm, InstallationTypeHosted, }
var AllIntegrationConsumer = []IntegrationConsumer{ IntegrationConsumerJiraWriteBack, }
var AllNotificationActionType = []NotificationActionType{ NotificationActionTypeAdded, NotificationActionTypeRemoved, NotificationActionTypeUpdate, }
var AllNotificationState = []NotificationState{ NotificationStateFailed, NotificationStateInProgress, NotificationStateSuccess, }
var AllNotificationType = []NotificationType{ NotificationTypeArgoCdEvent, NotificationTypeArgoEventsEvent, NotificationTypeGenericEvent, }
var AllPayloadDataTypes = []PayloadDataTypes{ PayloadDataTypesCalendar, PayloadDataTypesGit, PayloadDataTypesUnknown, }
var AllPipelineClassicStatisticDurationMetricType = []PipelineClassicStatisticDurationMetricType{ PipelineClassicStatisticDurationMetricTypeAverageDuration, PipelineClassicStatisticDurationMetricTypeP50Duration, PipelineClassicStatisticDurationMetricTypeP90Duration, }
var AllProductComponentSortingField = []ProductComponentSortingField{ ProductComponentSortingFieldName, ProductComponentSortingFieldUpdatedAt, }
var AllProductComponentType = []ProductComponentType{ ProductComponentTypeArgoApplication, ProductComponentTypeHelm, }
var AllProductSortingField = []ProductSortingField{ ProductSortingFieldName, ProductSortingFieldUpdatedAt, }
var AllPromotionType = []PromotionType{ PromotionTypeCommit, PromotionTypePullRequest, }
var AllRefreshOptionsTypes = []RefreshOptionsTypes{ RefreshOptionsTypesNormal, RefreshOptionsTypesHard, }
var AllRefreshType = []RefreshType{ RefreshTypeNormal, RefreshTypeHard, }
var AllReleaseRolloutDisabledReasons = []ReleaseRolloutDisabledReasons{ ReleaseRolloutDisabledReasonsRestartedDueNewCommit, }
var AllResourceAction = []ResourceAction{ ResourceActionAdded, ResourceActionDeleted, ResourceActionUpdated, }
var AllResourceOperation = []ResourceOperation{ ResourceOperationCreate, ResourceOperationDelete, ResourceOperationUpdate, }
var AllRolloutPhases = []RolloutPhases{ RolloutPhasesDegraded, RolloutPhasesHealthy, RolloutPhasesPaused, RolloutPhasesProgressing, RolloutPhasesTerminated, RolloutPhasesUnknown, }
var AllRolloutStepStatus = []RolloutStepStatus{ RolloutStepStatusActive, RolloutStepStatusFailed, RolloutStepStatusPassed, RolloutStepStatusPausedInconclusive, RolloutStepStatusPausedIndefinite, RolloutStepStatusPending, RolloutStepStatusTerminated, }
var AllRolloutStrategyNames = []RolloutStrategyNames{ RolloutStrategyNamesBlueGreen, RolloutStrategyNamesCanary, }
var AllRuntimeOperationAction = []RuntimeOperationAction{ RuntimeOperationActionDelete, RuntimeOperationActionUpsert, }
var AllRuntimeSyncMode = []RuntimeSyncMode{ RuntimeSyncModeGitops, RuntimeSyncModeHelm, RuntimeSyncModeUnknown, }
var AllSecretType = []SecretType{ SecretTypeExternalSecret, SecretTypeSealedSecret, }
var AllServiceSortingField = []ServiceSortingField{ ServiceSortingFieldLastUpdate, ServiceSortingFieldServiceName, }
var AllServiceType = []ServiceType{ ServiceTypeClusterIP, ServiceTypeExternalName, ServiceTypeLoadBalancer, ServiceTypeNodePort, }
var AllSharingPolicy = []SharingPolicy{ SharingPolicyAccountAdmins, SharingPolicyAllUsersInAccount, }
var AllSortingOrder = []SortingOrder{ SortingOrderAsc, SortingOrderDesc, }
var AllSupportedCITools = []SupportedCITools{ SupportedCIToolsClassic, SupportedCIToolsGithubActions, SupportedCIToolsJenkins, }
var AllSupportedSnippetTypes = []SupportedSnippetTypes{ SupportedSnippetTypesGithubActions, SupportedSnippetTypesClassic, SupportedSnippetTypesJenkinsAgent, SupportedSnippetTypesJenkinsShell, }
var AllSyncActionOnResource = []SyncActionOnResource{ SyncActionOnResourceConfigured, SyncActionOnResourceCreated, SyncActionOnResourcePruned, SyncActionOnResourcePruneSkipped, SyncActionOnResourceSyncFailed, SyncActionOnResourceUnchanged, SyncActionOnResourceUnknown, }
var AllSyncErrorCodes = []SyncErrorCodes{ SyncErrorCodesInvalidSpec, SyncErrorCodesLongSync, SyncErrorCodesMissingRolloutsComponent, SyncErrorCodesUnknown, }
var AllSyncHookType = []SyncHookType{ SyncHookTypePostSync, SyncHookTypePreSync, SyncHookTypeSkip, SyncHookTypeSync, SyncHookTypeSyncFail, }
var AllSyncOperationPhase = []SyncOperationPhase{ SyncOperationPhaseError, SyncOperationPhaseFailed, SyncOperationPhaseRunning, SyncOperationPhaseSucceeded, SyncOperationPhaseTerminating, SyncOperationPhaseUnknown, }
var AllSyncPhase = []SyncPhase{ SyncPhasePostSync, SyncPhasePreSync, SyncPhaseSync, SyncPhaseSyncFail, }
var AllSyncResultCode = []SyncResultCode{ SyncResultCodePruned, SyncResultCodePruneSkipped, SyncResultCodeSynced, SyncResultCodeSyncFailed, }
var AllSyncStatus = []SyncStatus{ SyncStatusOutOfSync, SyncStatusSynced, SyncStatusSyncing, SyncStatusUnknown, }
var AllSystemType = []SystemType{ SystemTypeClassic, SystemTypeGitops, SystemTypeGitopsAndClassic, SystemTypeProjectOne, }
var AllTeamSource = []TeamSource{ TeamSourceAuth0, TeamSourceAzure, TeamSourceGithub, TeamSourceGoogle, TeamSourceKeycloak, TeamSourceLdap, TeamSourceOkta, TeamSourceOnelogin, }
var AllTeamType = []TeamType{ TeamTypeAdmin, TeamTypeDefault, }
var AllTokenType = []TokenType{ TokenTypeRuntimeToken, TokenTypeUserToken, }
var AllWorkflowNodePhases = []WorkflowNodePhases{ WorkflowNodePhasesError, WorkflowNodePhasesFailed, WorkflowNodePhasesOmitted, WorkflowNodePhasesPending, WorkflowNodePhasesRunning, WorkflowNodePhasesSkipped, WorkflowNodePhasesSucceeded, }
var AllWorkflowOrigins = []WorkflowOrigins{ WorkflowOriginsCiEnrichment, WorkflowOriginsCiEnrichmentCodefreshClassic, WorkflowOriginsCiEnrichmentGa, WorkflowOriginsCiEnrichmentJenkins, WorkflowOriginsCommon, WorkflowOriginsPlayground, }
var AllWorkflowPhases = []WorkflowPhases{ WorkflowPhasesError, WorkflowPhasesFailed, WorkflowPhasesPending, WorkflowPhasesRunning, WorkflowPhasesSucceeded, WorkflowPhasesUnknown, }
Functions ¶
This section is empty.
Types ¶
type APIToken ¶
type APIToken struct {
// The token to use in runtime installation and other requests
Token *string `json:"token"`
}
"Generate api token result
type AccessMode ¶ added in v0.48.0
type AccessMode string
Access Mode
const ( // standard installation using an ingress resource AccessModeIngress AccessMode = "INGRESS" // ingressless installation, using an FRP tunnel AccessModeTunnel AccessMode = "TUNNEL" )
func (AccessMode) IsValid ¶ added in v0.48.0
func (e AccessMode) IsValid() bool
func (AccessMode) MarshalGQL ¶ added in v0.48.0
func (e AccessMode) MarshalGQL(w io.Writer)
func (AccessMode) String ¶ added in v0.48.0
func (e AccessMode) String() string
func (*AccessMode) UnmarshalGQL ¶ added in v0.48.0
func (e *AccessMode) UnmarshalGQL(v interface{}) error
type Account ¶
type Account struct {
// The account id
ID string `json:"id"`
// The account unique name
Name *string `json:"name"`
// Show to feature flags status for this account
Features *AccountFeatures `json:"features"`
// Account SSO integrations
SsoIntegrations []*Sso `json:"ssoIntegrations"`
// Users that are attached to this account
Users []*User `json:"users"`
// Ids of all users that have account admin permission to this account
Admins []string `json:"admins"`
// Controls if this account can edit its allowedDomains
EnabledAllowedDomains *bool `json:"enabledAllowedDomains"`
// All allowed domains for this account
AllowedDomains []string `json:"allowedDomains"`
// Account security
Security *SecurityInfo `json:"security"`
// Collaborators
Collaborators *AccountCollaborators `json:"collaborators"`
// Private account owner
PrivateAccountOwner *string `json:"privateAccountOwner"`
// The git provider of the shared config repo
GitProvider *GitProviders `json:"gitProvider"`
// The api url of the shared config repo git server
GitAPIURL *string `json:"gitApiUrl"`
SharedConfigRepo *string `json:"sharedConfigRepo"`
// CSDP settings validated
CsdpValidated *bool `json:"csdpValidated"`
// Features supported by all runtimes
RuntimeFeatures []*RuntimeFeature `json:"runtimeFeatures"`
// Supports Managed Runtime
SupportsManagedRuntime *bool `json:"supportsManagedRuntime"`
// Pipeline settings
PipelineConfig *PipelineConfig `json:"pipelineConfig"`
// System type
SystemType *SystemType `json:"systemType"`
// System type prev
SystemTypePrev *SystemType `json:"systemTypePrev"`
// Account badge token
BadgeToken *string `json:"badgeToken"`
// Cloud Builds
CloudBuilds *CloudBuilds `json:"cloudBuilds"`
}
Account is logical entity that group together users pipeliens and more
type AccountCollaborators ¶ added in v0.37.7
type AccountCollaborators struct {
// Limit
Limit *int `json:"limit"`
// Used
Used *int `json:"used"`
}
AccountCollaborators
type AccountFeatures ¶
type AccountFeatures struct {
// Support ability to toggle between dark and light mode
ThemeToggle *bool `json:"themeToggle"`
// Add ability to create/edit pipeline from UI in the configuration tab
CreatePipelineArguments *bool `json:"createPipelineArguments"`
// Add ability to see workflow templates list page
CsdpWorkflowTemplates *bool `json:"csdpWorkflowTemplates"`
// Add ability to see additonal widgets on the dashboard in home page
CsdpDashboardWidgets *bool `json:"csdpDashboardWidgets"`
// Add ability to see and access DORA metrics page
CsdpDoraMetrics *bool `json:"csdpDoraMetrics"`
// Add ability to see and access integration widgets on the dashboard
CsdpManagedArgo *bool `json:"csdpManagedArgo"`
// Add ability to force reload route when navigation failed due to chunk error
CsdpReloadOnChunkErrorFeature *bool `json:"csdpReloadOnChunkErrorFeature"`
// Show CSDP runtime resources in applications list
ShowCSDPRuntimeResources *bool `json:"showCSDPRuntimeResources"`
// Shows button that links to classic codefresh
ShowClassicCodefreshButton *bool `json:"showClassicCodefreshButton"`
// Support ability to use oauth2 for automatic registration
Oauth2AutomaticRegistration *bool `json:"oauth2AutomaticRegistration"`
// Support ability to add integrations
CsdpIntegrations *bool `json:"csdpIntegrations"`
// Support ability to add Amazon ECR integration
CsdpAmazonECRIntegration *bool `json:"csdpAmazonECRIntegration"`
// Support ability to add authentications
CsdpAuthentication *bool `json:"csdpAuthentication"`
// Adds ability to set SSH connection credentials to allow applications and sub modules to connect to a repository over SSH
SupportSSHCreds *bool `json:"supportSSHCreds"`
// Gives access to application current state graph
ShowAppCurrentStateGraph *bool `json:"showAppCurrentStateGraph"`
// Gives access to application release rollout details drawer
ShowAppRolloutDetails *bool `json:"showAppRolloutDetails"`
// Gives access to application release analysis run details drawer
ShowAppAnalysisRunsDetails *bool `json:"showAppAnalysisRunsDetails"`
// To build correct references beetween apps and appSets we always define metadata.cluster=https://kubernetes.default.svc because they always within same cluster
UseDefaultSvcApplicationClusterMetadata *bool `json:"useDefaultSvcApplicationClusterMetadata"`
// Sets default codefresh authentication for runtime
UseCodefreshAuthForManagedRuntime *bool `json:"useCodefreshAuthForManagedRuntime"`
// Retrieve runtime features for the active account
CsdpRuntimesCompatibility *bool `json:"csdpRuntimesCompatibility"`
// Cut refsBy if parent app not present in list of applications
CsdpAppUnexistedRefByCut *bool `json:"csdpAppUnexistedRefByCut"`
// Ability to sync application
CsdpApplicationSync *bool `json:"csdpApplicationSync"`
// Ability to refresh application
CsdpApplicationRefresh *bool `json:"csdpApplicationRefresh"`
// Adds ability to disable Sync from UI
CsdpDisableSyncFromUI *bool `json:"csdpDisableSyncFromUi"`
// Ability to show application details
CsdpApplicationDetails *bool `json:"csdpApplicationDetails"`
// Adds ability to see and download audit logs
CsdpAudit *bool `json:"csdpAudit"`
// Hides first release till it doesn't have attached rollout
CsdpHideFirstRelease *bool `json:"csdpHideFirstRelease"`
// Allow runtime installation via helm chart
KubeNativeInstall *bool `json:"kubeNativeInstall"`
// Applications dashboard cards view
ApplicationsDashboardCardsView *bool `json:"applicationsDashboardCardsView"`
// Updated resources section in app release
CsdpAppReleaseResourceDiff *bool `json:"csdpAppReleaseResourceDiff"`
// Application events tab
ApplicationEventsTab *bool `json:"applicationEventsTab"`
// Ability to resume rollout
CsdpRolloutResume *bool `json:"csdpRolloutResume"`
// Enable refresh token logic
CsdpRefreshToken *bool `json:"csdpRefreshToken"`
// Adds ability to add jira oauth integration
CsdpJiraOauthIntegration *bool `json:"csdpJiraOauthIntegration"`
// Supports GitLab for managed runtime
GitlabSupportForManagedRuntime *bool `json:"gitlabSupportForManagedRuntime"`
// Supports Bitbucket for managed runtime
BitbucketSupportForManagedRuntime *bool `json:"bitbucketSupportForManagedRuntime"`
// Adds ability to connect Gerrit as git provider
SupportGerrit *bool `json:"supportGerrit"`
// Show new errors drawer for runtime
NewRuntimeErrorsDrawer *bool `json:"newRuntimeErrorsDrawer"`
// Adds manifest field to resource tree object (temporary)
ResourceTreeWithManifest *bool `json:"resourceTreeWithManifest"`
// Show require pruning label to resource
RequirePruningLabelToResource *bool `json:"requirePruningLabelToResource"`
// Disables all actions for rollout resource: in playe (rollout details drawer), current state (three dot menu), release / services / section
DisableRolloutActionsWithoutRbac *bool `json:"disableRolloutActionsWithoutRBAC"`
// Combines GitOps and Codefresh Classic menu items
CommonSideMenu *bool `json:"commonSideMenu"`
// UI Execution Context page in the account settings
ExecutionContext *bool `json:"executionContext"`
// Account has ABAC support
Abac *bool `json:"abac"`
// New ABAC permissions page
AbacV2 *bool `json:"abacV2"`
// Shows user git personal token settings menu in project one
UnifiedUserGitTokens *bool `json:"unifiedUserGitTokens"`
// Adds ability to rollback rollout from rollout drawer in app timeline
GitOpsRolloutRollback *bool `json:"gitOpsRolloutRollback"`
// Shows Beamer widget for all platforms (What's new)
BeamerWidget *bool `json:"beamerWidget"`
// Enables codefreshV2 for admins
CodefreshV2 *bool `json:"codefreshV2"`
// Enables codefreshV2 for non admins
CodefreshV2NonAdmins *bool `json:"codefreshV2NonAdmins"`
// Adds ability for account admins to switch account type
ProjectOneSwitch *bool `json:"projectOneSwitch"`
// Adds ability to expand graph
GraphExpand *bool `json:"graphExpand"`
// Theme configurations depend on systemType & prevSystemType fields
ProjectOneSystemTypes *bool `json:"projectOneSystemTypes"`
// Shows gitops page in classic
EnvironmentsV2Flag *bool `json:"environmentsV2Flag"`
// Shows gitOps home dashboard inside the project one menu only for gitOps users
ShowGitOpsHomeDashboardInTheProjectOneMenu *bool `json:"showGitOpsHomeDashboardInTheProjectOneMenu"`
// Enables Unified Dashboard for Project One
CommonDashboardProjectOne *bool `json:"commonDashboardProjectOne"`
// Adds ability to rollback release in native argo cd way
GitopsArgoCdRollback *bool `json:"gitopsArgoCdRollback"`
// Enables CommandBar in the client
Commandbar *bool `json:"commandbar"`
// Adds ability to group applications by annotation 'codefresh.io/app-group'
GitopsAppGroups *bool `json:"gitopsAppGroups"`
// Enables environments view for gitops platform
GitopsEnvironments *bool `json:"gitopsEnvironments"`
// Adds ability to copy link with account specific info
AccountInfoCopyButton *bool `json:"accountInfoCopyButton"`
// Allows the creation of a restricted git source
RestrictedGitSource *bool `json:"restrictedGitSource"`
// Enables Codefresh to track user activity with Smartlook in the UI
Smartlook *bool `json:"smartlook"`
// Enables environments view used in the classic platform
ClassicEnvironments *bool `json:"classicEnvironments"`
// Hide git-sources and related applications without git permissions and when permissions are not provided
CsdpFilterAppsByGitPermissions *bool `json:"csdpFilterAppsByGitPermissions"`
// Hide Compositions item in navigation menu
HideCompositionsMenuItem *bool `json:"hideCompositionsMenuItem"`
}
Account Features flags
type AddGitIntegrationArgs ¶
type AddGitIntegrationArgs struct {
// Git integration name
Name *string `json:"name"`
// Git provider
Provider GitProviders `json:"provider"`
// The address of the git provider api
APIURL *string `json:"apiUrl"`
// Sharing policy
SharingPolicy SharingPolicy `json:"sharingPolicy"`
}
Git integration creation args
type AddUserToAccountArgs ¶
type AddUserToAccountArgs struct {
// User email
UserEmail string `json:"userEmail"`
// Is user Admin
IsAdmin bool `json:"isAdmin"`
// Users chosen sso id
Sso *string `json:"sso"`
}
Args to add user to account
type AnalysisMetricProviderTypes ¶ added in v0.43.5
type AnalysisMetricProviderTypes string
Analysis Metric Provider Types
const ( // CLOUD_WATCH AnalysisMetricProviderTypesCloudWatch AnalysisMetricProviderTypes = "CLOUD_WATCH" // DATADOG AnalysisMetricProviderTypesDatadog AnalysisMetricProviderTypes = "DATADOG" // JOB AnalysisMetricProviderTypesJob AnalysisMetricProviderTypes = "JOB" // KAYENTA AnalysisMetricProviderTypesKayenta AnalysisMetricProviderTypes = "KAYENTA" // NEW_RELIC AnalysisMetricProviderTypesNewRelic AnalysisMetricProviderTypes = "NEW_RELIC" // PROMETHEUS AnalysisMetricProviderTypesPrometheus AnalysisMetricProviderTypes = "PROMETHEUS" // UNKNOWN AnalysisMetricProviderTypesUnknown AnalysisMetricProviderTypes = "UNKNOWN" // WAVEFRONT AnalysisMetricProviderTypesWavefront AnalysisMetricProviderTypes = "WAVEFRONT" // WEB AnalysisMetricProviderTypesWeb AnalysisMetricProviderTypes = "WEB" )
func (AnalysisMetricProviderTypes) IsValid ¶ added in v0.43.5
func (e AnalysisMetricProviderTypes) IsValid() bool
func (AnalysisMetricProviderTypes) MarshalGQL ¶ added in v0.43.5
func (e AnalysisMetricProviderTypes) MarshalGQL(w io.Writer)
func (AnalysisMetricProviderTypes) String ¶ added in v0.43.5
func (e AnalysisMetricProviderTypes) String() string
func (*AnalysisMetricProviderTypes) UnmarshalGQL ¶ added in v0.43.5
func (e *AnalysisMetricProviderTypes) UnmarshalGQL(v interface{}) error
type AnalysisPhases ¶ added in v0.43.5
type AnalysisPhases string
AnalysisPhases
const ( // Error AnalysisPhasesError AnalysisPhases = "Error" // Failed AnalysisPhasesFailed AnalysisPhases = "Failed" // Inconclusive AnalysisPhasesInconclusive AnalysisPhases = "Inconclusive" // Pending AnalysisPhasesPending AnalysisPhases = "Pending" // Running AnalysisPhasesRunning AnalysisPhases = "Running" // Successful AnalysisPhasesSuccessful AnalysisPhases = "Successful" )
func (AnalysisPhases) IsValid ¶ added in v0.43.5
func (e AnalysisPhases) IsValid() bool
func (AnalysisPhases) MarshalGQL ¶ added in v0.43.5
func (e AnalysisPhases) MarshalGQL(w io.Writer)
func (AnalysisPhases) String ¶ added in v0.43.5
func (e AnalysisPhases) String() string
func (*AnalysisPhases) UnmarshalGQL ¶ added in v0.43.5
func (e *AnalysisPhases) UnmarshalGQL(v interface{}) error
type AnalysisRun ¶ added in v0.43.5
type AnalysisRun struct {
// Object metadata
Metadata *ObjectMeta `json:"metadata"`
// Errors
Errors []Error `json:"errors"`
// Entities referencing this entity
ReferencedBy []BaseEntity `json:"referencedBy"`
// Entities referenced by this enitity
References []BaseEntity `json:"references"`
// Actual manifest
ActualManifest *string `json:"actualManifest"`
// Live manifest
LiveManifest *string `json:"liveManifest"`
// Rollout revision
Revision int `json:"revision"`
// Analysis Run Status
Status *AnalysisRunStatus `json:"status"`
// Analysis Run spec
Spec *AnalysisRunSpec `json:"spec"`
}
AnalysisRun
func (AnalysisRun) IsEntity ¶ added in v0.43.5
func (AnalysisRun) IsEntity()
func (AnalysisRun) IsK8sStandardEntity ¶ added in v0.43.5
func (AnalysisRun) IsK8sStandardEntity()
type AnalysisRunDatadogSpec ¶ added in v0.43.5
type AnalysisRunDatadogSpec struct {
// Query
Query string `json:"query"`
}
Analysis Datadog Spec
type AnalysisRunEdge ¶ added in v0.43.5
type AnalysisRunEdge struct {
// Node contains the actual analysis run data
Node *AnalysisRun `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
AnalysisRun Edge
func (AnalysisRunEdge) IsEdge ¶ added in v0.43.5
func (AnalysisRunEdge) IsEdge()
type AnalysisRunKayentaSpec ¶ added in v0.43.5
type AnalysisRunKayentaSpec struct {
// Address
Address string `json:"address"`
}
Analysis Kayenta Spec
type AnalysisRunMetricSpec ¶ added in v0.43.5
type AnalysisRunMetricSpec struct {
// Name
Name string `json:"name"`
// Interval
Interval *string `json:"interval"`
// Success Condition
SuccessCondition *string `json:"successCondition"`
// Failure Condition
FailureCondition *string `json:"failureCondition"`
// Failure Limit
FailureLimit *int `json:"failureLimit"`
// Inconclusive Limit
InconclusiveLimit *int `json:"inconclusiveLimit"`
// Consecutive Error Limit
ConsecutiveErrorLimit *int `json:"consecutiveErrorLimit"`
// Count
Count *int `json:"count"`
// Initial Delay
InitialDelay *string `json:"initialDelay"`
// Provider
Provider *AnalysisRunProviderSpec `json:"provider"`
}
Analysis run spec object
type AnalysisRunNewRelicSpec ¶ added in v0.43.5
type AnalysisRunNewRelicSpec struct {
// Query
Query string `json:"query"`
}
Analysis NewRelic Spec
type AnalysisRunPrometheusSpec ¶ added in v0.43.5
type AnalysisRunPrometheusSpec struct {
// Address
Address string `json:"address"`
// Query
Query string `json:"query"`
}
Analysis Run Prometheus spec
type AnalysisRunProviderSpec ¶ added in v0.43.5
type AnalysisRunProviderSpec struct {
// Job
Job *string `json:"job"`
// Prometheus
Prometheus *AnalysisRunPrometheusSpec `json:"prometheus"`
// Datadog
Datadog *AnalysisRunDatadogSpec `json:"datadog"`
// New Relic
NewRelic *AnalysisRunNewRelicSpec `json:"newRelic"`
// Wavefront
Wavefront *AnalysisRunWavefrontSpec `json:"wavefront"`
// Web
Web *AnalysisRunWebSpec `json:"web"`
// Kayenta
Kayenta *AnalysisRunKayentaSpec `json:"kayenta"`
// Cloud Watch
CloudWatch *string `json:"cloudWatch"`
}
Analysis status object
type AnalysisRunSlice ¶ added in v0.43.5
type AnalysisRunSlice struct {
// Analysis run edges
Edges []*RolloutEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
AnalysisRun Slice
func (AnalysisRunSlice) IsSlice ¶ added in v0.43.5
func (AnalysisRunSlice) IsSlice()
type AnalysisRunSpec ¶ added in v0.43.5
type AnalysisRunSpec struct {
// Metrics
Metrics []*AnalysisRunMetricSpec `json:"metrics"`
}
Analysis run spec metrics
type AnalysisRunStatus ¶ added in v0.43.5
type AnalysisRunStatus struct {
// Message
Message *string `json:"message"`
// Metric results
MetricResults []*MetricResult `json:"metricResults"`
// Total Successful
TotalSuccessful int `json:"totalSuccessful"`
// Total Failed
TotalFailed int `json:"totalFailed"`
// Total Inconclusive
TotalInconclusive int `json:"totalInconclusive"`
// Total Error
TotalError int `json:"totalError"`
// Entire state of analysis
Phase *AnalysisPhases `json:"phase"`
}
Analysis status object
type AnalysisRunWavefrontSpec ¶ added in v0.43.5
type AnalysisRunWavefrontSpec struct {
// Address
Address string `json:"address"`
// Query
Query string `json:"query"`
}
Analysis Wavefront Spec
type AnalysisRunWebSpec ¶ added in v0.43.5
type AnalysisRunWebSpec struct {
// Url
URL string `json:"url"`
}
Analysis Web Spec
type AnalyticsAppGroupList ¶ added in v0.57.1
type AnalyticsAppGroupList struct {
// App Groups
AppGroups []string `json:"appGroups"`
}
Analytics app group dropdown list
type AnalyticsApplicationsList ¶ added in v0.52.0
type AnalyticsApplicationsList struct {
// Applications
Applications []string `json:"applications"`
}
Analytics application dropdown list
type AnalyticsClassicPipeline ¶ added in v0.55.0
type AnalyticsClassicPipeline struct {
// Pipeline Id
PipelineID string `json:"pipelineId"`
// Pipeline Name
PipelineName string `json:"pipelineName"`
// Pipeline Full Name
PipelineFullName string `json:"pipelineFullName"`
// Is pipeline deleted
IsDeleted bool `json:"isDeleted"`
}
Classic Analytics Pipeline Dropdown
type AnalyticsClassicPipelineTag ¶ added in v0.55.0
type AnalyticsClassicPipelineTag struct {
// Tag Id
TagID string `json:"tagId"`
// Tag Name
TagName string `json:"tagName"`
}
Classic Analytics Pipeline Tags Dropdown
type AnalyticsClassicPipelinesList ¶ added in v0.55.0
type AnalyticsClassicPipelinesList struct {
// Pipelines
Pipelines []*AnalyticsClassicPipeline `json:"pipelines"`
}
Analytics classic pipelines dropdown list
type AnalyticsClassicProject ¶ added in v0.55.0
type AnalyticsClassicProject struct {
// Project Id
ProjectID string `json:"projectId"`
// Project Name
ProjectName string `json:"projectName"`
// Is Deleted
IsDeleted bool `json:"isDeleted"`
}
Classic Analytics Proejcts Dropdown
type AnalyticsClassicProjectsList ¶ added in v0.55.0
type AnalyticsClassicProjectsList struct {
// Projects
Projects []*AnalyticsClassicProject `json:"projects"`
}
Analytics classic projects dropdown list
type AnalyticsClassicTagsList ¶ added in v0.55.0
type AnalyticsClassicTagsList struct {
// Tags
Tags []*AnalyticsClassicPipelineTag `json:"tags"`
}
Analytics classic pipelines dropdown list
type AnalyticsClustersList ¶ added in v0.52.0
type AnalyticsClustersList struct {
// Cluster Names
ClusterNamesList []*ClusterNamesDDRecord `json:"clusterNamesList"`
// Cluster Names
ClusterUrlsList []*ClusterURLDDRecord `json:"clusterUrlsList"`
}
Analytics cluster dropdown list
type AnalyticsEnvironmentList ¶ added in v0.57.1
type AnalyticsEnvironmentList struct {
// Environments
Environments []string `json:"environments"`
}
Analytics environment dropdown list
type AnalyticsProductList ¶ added in v0.57.1
type AnalyticsProductList struct {
// Products
Products []string `json:"products"`
}
Analytics product dropdown list
type AnalyticsRuntimesList ¶ added in v0.52.0
type AnalyticsRuntimesList struct {
// Runtimes
RuntimeNames []string `json:"runtimeNames"`
}
Analytics runtime dropdown list
type Annotation ¶ added in v0.37.4
type Annotation struct {
// Annotation id
ID *string `json:"id"`
// Annotation type
Type string `json:"type"`
// Annotation value
Value *string `json:"value"`
// Annotation accountId
AccountID *string `json:"accountId"`
// Annotation classicId
ClassicID *string `json:"classicId"`
// Annotation entityId
EntityID string `json:"entityId"`
// Annotation entityType
EntityType string `json:"entityType"`
// Annotation key
Key string `json:"key"`
}
Annotation
type AnnotationArgs ¶ added in v0.37.4
type AnnotationArgs struct {
// Event-source k8sEntityId
K8sEntityID *K8sEntityID `json:"k8sEntityId"`
// Event-source logicEntityId
LogicEntityID *LogicEntityID `json:"logicEntityId"`
// Event-source entityType
EntityType string `json:"entityType"`
// Event-source key
Key string `json:"key"`
// Event-source type
Type string `json:"type"`
// Annotation classicId
ClassicID *string `json:"classicId"`
// Event-source issueValue
IssueValue *IssueValue `json:"issueValue"`
// Event-source pullRequestValue
PullRequestValue *PullRequestValue `json:"pullRequestValue"`
// Event-source genericValue
GenericValue *string `json:"genericValue"`
}
Args to set annotation for entity
type AnnotationEdge ¶ added in v0.37.4
type AnnotationEdge struct {
// Node contains the actual application data
Node *Annotation `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
Application Edge
type AnnotationFilterArgs ¶ added in v0.37.4
type AnnotationFilterArgs struct {
// Event-source id
ID *string `json:"id"`
// Event-source k8sEntityId
K8sEntityID *K8sEntityID `json:"k8sEntityId"`
// Event-source logicEntityId
LogicEntityID *LogicEntityID `json:"logicEntityId"`
// Event-source entityType
EntityType *string `json:"entityType"`
// Annotation classicId
ClassicID *string `json:"classicId"`
// Event-source key
Key *string `json:"key"`
// Event-source type
Type *string `json:"type"`
}
Args to filter annotation
type AnnotationSlice ¶ added in v0.37.4
type AnnotationSlice struct {
// Annotation edges
Edges []*AnnotationEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
Annotation Slice
type AppAndAppSetEdge ¶ added in v0.50.0
type AppAndAppSetEdge struct {
// Node contains the actual application data
Node ApplicationTreeItem `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
AppAndAppSet Edge
type AppAndAppSetSlice ¶ added in v0.50.0
type AppAndAppSetSlice struct {
// Application edges
Edges []*AppAndAppSetEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
AppAndAppSet Slice
type AppOperationType ¶ added in v0.48.0
type AppOperationType string
SyncOperationPhase
const ( // Delete AppOperationTypeDelete AppOperationType = "Delete" // Sync AppOperationTypeSync AppOperationType = "Sync" // Unknown AppOperationTypeUnknown AppOperationType = "Unknown" )
func (AppOperationType) IsValid ¶ added in v0.48.0
func (e AppOperationType) IsValid() bool
func (AppOperationType) MarshalGQL ¶ added in v0.48.0
func (e AppOperationType) MarshalGQL(w io.Writer)
func (AppOperationType) String ¶ added in v0.48.0
func (e AppOperationType) String() string
func (*AppOperationType) UnmarshalGQL ¶ added in v0.48.0
func (e *AppOperationType) UnmarshalGQL(v interface{}) error
type AppProjectDestinationInput ¶ added in v0.57.1
type AppProjectDestinationInput struct {
// The destination server name (CAN NOT contain wildcards)
Name *string `json:"name"`
// The destination server url (can contain wildcards)
Server *string `json:"server"`
// The destination namespace (can contain wildcards)
Namespaces []string `json:"namespaces"`
}
type AppProxyImageReportInfo ¶ added in v0.44.2
type AppProxyImageReportInfo struct {
// environment parameters divided to sections
Sections string `json:"sections"`
}
App Proxy Image report information
type AppProxyInfo ¶ added in v0.55.0
type AppProxyInfo struct {
// Description
Description *string `json:"description"`
// Status
Status AppProxyStatus `json:"status"`
}
App-Proxy Info
type AppProxyStatus ¶ added in v0.55.0
type AppProxyStatus string
App-Proxy Status
const ( // FAILED AppProxyStatusFailed AppProxyStatus = "FAILED" // SUCCESSFUL AppProxyStatusSuccessful AppProxyStatus = "SUCCESSFUL" // UNKNOWN AppProxyStatusUnknown AppProxyStatus = "UNKNOWN" )
func (AppProxyStatus) IsValid ¶ added in v0.55.0
func (e AppProxyStatus) IsValid() bool
func (AppProxyStatus) MarshalGQL ¶ added in v0.55.0
func (e AppProxyStatus) MarshalGQL(w io.Writer)
func (AppProxyStatus) String ¶ added in v0.55.0
func (e AppProxyStatus) String() string
func (*AppProxyStatus) UnmarshalGQL ¶ added in v0.55.0
func (e *AppProxyStatus) UnmarshalGQL(v interface{}) error
type AppProxyVersionInfo ¶
type AppProxyVersionInfo struct {
// The version of the app-proxy
Version string `json:"version"`
// The address of the platform the app-proxy is working with
PlatformHost string `json:"platformHost"`
// The version of the platform this app-proxy was built against
PlatformVersion string `json:"platformVersion"`
}
App Proxy version information
type AppResourceDifference ¶ added in v0.52.0
type AppResourceDifference struct {
// Current record
CurrentRecord *AppResourceDifferenceRecord `json:"currentRecord"`
// Previous record
PreviousRecord *AppResourceDifferenceRecord `json:"previousRecord"`
}
AppResourceDifference
type AppResourceDifferenceRecord ¶ added in v0.52.0
type AppResourceDifferenceRecord struct {
// Entity source
Source *GitopsEntitySource `json:"source"`
// Object metadata
Metadata *ObjectMeta `json:"metadata"`
// Desired manifest
DesiredManifest *string `json:"desiredManifest"`
}
AppResourceDifferenceRecord
type AppResourceEventInfo ¶ added in v0.47.0
type AppResourceEventInfo struct {
// count
Count *int `json:"count"`
// message
Message *string `json:"message"`
// reason
Reason *string `json:"reason"`
// firstTimestamp
FirstTimestamp *string `json:"firstTimestamp"`
// lastTimestamp
LastTimestamp *string `json:"lastTimestamp"`
// type
Type *string `json:"type"`
// metadata
Metadata *AppResourceEventInfoMetadata `json:"metadata"`
// source
Source *AppResourceEventInfoSource `json:"source"`
}
type AppResourceEventInfoMetadata ¶ added in v0.47.0
type AppResourceEventInfoMetadata struct {
// Creation timestamp
CreationTimestamp *string `json:"creationTimestamp"`
// Name
Name *string `json:"name"`
// Namespace
Namespace *string `json:"namespace"`
// Resource Version
ResourceVersion *string `json:"resourceVersion"`
// uid
UID *string `json:"uid"`
}
type AppResourceEventInfoSource ¶ added in v0.47.0
type AppResourceEventInfoSource struct {
// Component
Component *string `json:"component"`
}
type AppResourceEvents ¶ added in v0.47.0
type AppResourceEvents struct {
// App resource events metadata
Metadata *AppResourceEventsMetadata `json:"metadata"`
// List of resource events
Items []*AppResourceEventInfo `json:"items"`
}
type AppResourceEventsMetadata ¶ added in v0.47.0
type AppResourceEventsMetadata struct {
// Resource Version
ResourceVersion *string `json:"resourceVersion"`
}
type AppResourceMetadataInput ¶ added in v0.50.0
type AppResourceMetadataInput struct {
// Resource Name
ResourceName string `json:"resourceName"`
// Resource api version
Version string `json:"version"`
// Resource king
Kind string `json:"kind"`
// Resource group
Group *string `json:"group"`
// Resource namespace
Namespace *string `json:"namespace"`
}
App Resource metadata
type AppResoureActionMetadata ¶ added in v0.50.0
type AppResoureActionMetadata struct {
// Action name
Name string `json:"name"`
// Is Disabled action
Disabled bool `json:"disabled"`
// Params
Params []*AppResoureActionMetadataParam `json:"params"`
}
AppResoureActionMetadata
type AppResoureActionMetadataParam ¶ added in v0.50.0
type AppResoureActionMetadataParam struct {
// Param name
Name *string `json:"name"`
// Param value
Value string `json:"value"`
// Param type
Type *string `json:"type"`
// Param default
Default *string `json:"default"`
}
AppResoureActionMetadataParam
type AppSyncPolicies ¶ added in v0.52.0
type AppSyncPolicies string
App Sync Policies
const ( // Automated AppSyncPoliciesAutomated AppSyncPolicies = "Automated" // Manual AppSyncPoliciesManual AppSyncPolicies = "Manual" // Unknown AppSyncPoliciesUnknown AppSyncPolicies = "Unknown" )
func (AppSyncPolicies) IsValid ¶ added in v0.52.0
func (e AppSyncPolicies) IsValid() bool
func (AppSyncPolicies) MarshalGQL ¶ added in v0.52.0
func (e AppSyncPolicies) MarshalGQL(w io.Writer)
func (AppSyncPolicies) String ¶ added in v0.52.0
func (e AppSyncPolicies) String() string
func (*AppSyncPolicies) UnmarshalGQL ¶ added in v0.52.0
func (e *AppSyncPolicies) UnmarshalGQL(v interface{}) error
type Application ¶
type Application struct {
// Object metadata
Metadata *ObjectMeta `json:"metadata"`
// Errors
Errors []Error `json:"errors"`
// Entities referencing this entity
ReferencedBy []BaseEntity `json:"referencedBy"`
// Entities referenced by this enitity
References []BaseEntity `json:"references"`
// Relations between parents and child applications in tree
AppsRelations *AppsRelations `json:"appsRelations"`
// ReadPermission of related git source
ReadPermission *bool `json:"readPermission"`
// History of the application
History *GitOpsSlice `json:"history"`
// Version of the entity (generation)
Version *int `json:"version"`
// Is this the latest version of this entity
Latest *bool `json:"latest"`
// Entity source
Source *GitopsEntitySource `json:"source"`
// Sync status
SyncStatus SyncStatus `json:"syncStatus"`
// Health status
HealthStatus *HealthStatus `json:"healthStatus"`
// Health message
HealthMessage *string `json:"healthMessage"`
// Desired manifest
DesiredManifest *string `json:"desiredManifest"`
// Actual manifest
ActualManifest *string `json:"actualManifest"`
// Projects
Projects []string `json:"projects"`
// Updated At
UpdatedAt *string `json:"updatedAt"`
// Path
Path *string `json:"path"`
// RepoURL
RepoURL *string `json:"repoURL"`
// Number of resources
Size *int `json:"size"`
// Revision
Revision *string `json:"revision"`
// Status
Status *ArgoCDApplicationStatus `json:"status"`
// Favorites
Favorites []string `json:"favorites"`
// Argo CD application destination config
Destination *ArgoCDApplicationDestination `json:"destination"`
// Argo CD application spec source config
SpecSource *ArgoCDApplicationSpecSource `json:"specSource"`
// Include files
Include *string `json:"include"`
// Exclude files
Exclude *string `json:"exclude"`
// Operation State (argo)
OperationState *ApplicationOperationState `json:"operationState"`
// Sync info (argo)
Sync *ApplicationSyncStatus `json:"sync"`
// Sync policy
SyncPolicy *AppSyncPolicies `json:"syncPolicy"`
// Is HELM app flag
IsHelmApp *bool `json:"isHelmApp"`
// Is git source app flag
IsGitSource *bool `json:"isGitSource"`
// Is git source app flag
RelatedGroups []*string `json:"relatedGroups"`
}
Application entity
func (Application) IsApplicationTreeItem ¶ added in v0.37.7
func (Application) IsApplicationTreeItem()
func (Application) IsBaseEntity ¶
func (Application) IsBaseEntity()
func (Application) IsEntity ¶
func (Application) IsEntity()
func (Application) IsFavorable ¶ added in v0.37.0
func (Application) IsFavorable()
func (Application) IsGitopsEntity ¶
func (Application) IsGitopsEntity()
func (Application) IsProjectBasedEntity ¶
func (Application) IsProjectBasedEntity()
type ApplicationDetailsSourceInput ¶ added in v0.37.9
type ApplicationDetailsSourceInput struct {
// Application name
AppName *string `json:"appName"`
// Helm chart name
Chart *string `json:"chart"`
// Path is a directory path within the Git repository, and is only valid for applications sourced from Git.
Path *string `json:"path"`
// Repo URL for query
RepoURL string `json:"repoURL"`
// TargetRevision defines the revision of the source to sync the application to. In case of Git, this can be commit, tag, or branch. If omitted, will equal to HEAD. In case of Helm, this is a semver tag for the Chart's version.
TargetRevision string `json:"targetRevision"`
}
type ApplicationEdge ¶
type ApplicationEdge struct {
// Node contains the actual application data
Node *Application `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
Application Edge
func (ApplicationEdge) IsEdge ¶
func (ApplicationEdge) IsEdge()
type ApplicationEventInfo ¶ added in v0.46.0
type ApplicationEventInfo struct {
// count
Count *int `json:"count"`
// message
Message *string `json:"message"`
// reason
Reason *string `json:"reason"`
// firstTimestamp
FirstTimestamp *string `json:"firstTimestamp"`
// lastTimestamp
LastTimestamp *string `json:"lastTimestamp"`
// type
Type *string `json:"type"`
// metadata
Metadata *ApplicationEventInfoMetadata `json:"metadata"`
}
type ApplicationEventInfoMetadata ¶ added in v0.46.0
type ApplicationEventInfoMetadata struct {
UID *string `json:"uid"`
}
type ApplicationEvents ¶ added in v0.46.0
type ApplicationEvents struct {
// Applications events metadata
Metadata *ApplicationEventsMetadata `json:"metadata"`
// List of events
Items []*ApplicationEventInfo `json:"items"`
}
type ApplicationEventsMetadata ¶ added in v0.46.0
type ApplicationField ¶ added in v0.37.4
type ApplicationField struct {
// Status
Status *ArgoCDApplicationStatus `json:"status"`
// Issues
Issues []*Annotation `json:"issues"`
// PullRequest
Prs []*Annotation `json:"prs"`
// Committers
Committers []*CommitterLabel `json:"committers"`
// ArgoCD application target revision
Revision *string `json:"revision"`
// Build
Builds []*Build `json:"builds"`
}
ApplicationField Entity
type ApplicationFormData ¶ added in v0.37.9
type ApplicationFormData struct {
// Metadata
Metadata *ApplicationFormMetadata `json:"metadata"`
// Destination info
Destination *ApplicationFormDestination `json:"destination"`
// Application source
Source *ApplicationFormSource `json:"source"`
// Project of application
Project string `json:"project"`
// Sync policy settings
SyncPolicy *ApplicationFormSyncPolicy `json:"syncPolicy"`
// Ignore differences list
IgnoreDifferences []*ApplicationFormIgnoreDifferences `json:"ignoreDifferences"`
}
Application form data object
type ApplicationFormDestination ¶ added in v0.37.9
type ApplicationFormDestination struct {
// Cluster name
Name *string `json:"name"`
// Destination namespace
Namespace *string `json:"namespace"`
// Cluster address
Server *string `json:"server"`
}
Application form Destination
type ApplicationFormIgnoreDifferences ¶ added in v0.57.1
type ApplicationFormIgnoreDifferences struct {
// Group of ignored resource
Group *string `json:"group"`
// Kind of ignored resource
Kind string `json:"kind"`
// Name of ignored resource
Name *string `json:"name"`
// Namespace of ignored resource
Namespace *string `json:"namespace"`
// Ignored json paths
JSONPointers []string `json:"jsonPointers"`
// Jq Path Expressions
JqPathExpressions []string `json:"jqPathExpressions"`
// ManagedFieldsManagers is a list of trusted managers. Fields mutated by those managers will take precedence over the desired state defined in the SCM and won't be displayed in diffs
ManagedFieldsManagers []string `json:"managedFieldsManagers"`
}
Application ignore differences
type ApplicationFormMetadata ¶ added in v0.37.9
type ApplicationFormMetadata struct {
// Application name
Name string `json:"name"`
// Application namespace
Namespace *string `json:"namespace"`
// Application finalizers
Finalizers []string `json:"finalizers"`
// Annotations
Annotations *string `json:"annotations"`
// Labels
Labels *string `json:"labels"`
}
Application form metadata
type ApplicationFormSource ¶ added in v0.37.9
type ApplicationFormSource struct {
// Path
Path *string `json:"path"`
// Repository url
RepoURL string `json:"repoURL"`
// Target revision
TargetRevision *string `json:"targetRevision"`
// Helm chart
Chart *string `json:"chart"`
// Directory
Directory *ApplicationFormSourceDirectory `json:"directory"`
// HEML
Helm *ApplicationFormSourceHelm `json:"helm"`
// Kustomize
Kustomize *ApplicationFormSourceKustomize `json:"kustomize"`
// Ksonnet
Ksonnet *ApplicationFormSourceKsonnet `json:"ksonnet"`
// Plugin
Plugin *ApplicationFormSourcePlugin `json:"plugin"`
// Name of ref source
Ref *string `json:"ref"`
}
Application form Source
type ApplicationFormSourceDirectory ¶ added in v0.37.9
type ApplicationFormSourceDirectory struct {
// Directory recurse
Recurse *bool `json:"recurse"`
// Exclude
Exclude *string `json:"exclude"`
// Include
Include *string `json:"include"`
// Directory jsonnet options
Jsonnet *ApplicationFormSourceDirectoryJsonnet `json:"jsonnet"`
}
Application form Source Directory
type ApplicationFormSourceDirectoryJsonnet ¶ added in v0.37.9
type ApplicationFormSourceDirectoryJsonnet struct {
// Top level vars
Tlas []*NameValueCodeOutput `json:"tlas"`
// External vars
ExtVars []*NameValueCodeOutput `json:"extVars"`
// Libs
Libs []string `json:"libs"`
}
Application form Source Directory Jsonnet
type ApplicationFormSourceHelm ¶ added in v0.37.9
type ApplicationFormSourceHelm struct {
// Values
Values *string `json:"values"`
// Value files
ValueFiles []string `json:"valueFiles"`
// Parameters
Parameters []*NameValueOutput `json:"parameters"`
}
Application form Source Helm
type ApplicationFormSourceKsonnet ¶ added in v0.37.9
type ApplicationFormSourceKsonnet struct {
// Environment
Environment string `json:"environment"`
}
Application form Source Ksonnet
type ApplicationFormSourceKustomize ¶ added in v0.37.9
type ApplicationFormSourceKustomize struct {
// Name prefix
NamePrefix *string `json:"namePrefix"`
// Name suffix
NameSuffix *string `json:"nameSuffix"`
// Images
Images []string `json:"images"`
}
Application form Source Kustomize
type ApplicationFormSourcePlugin ¶ added in v0.37.9
type ApplicationFormSourcePlugin struct {
// Plagin name
Name string `json:"name"`
// Array of env variables
Env []*NameValueOutput `json:"env"`
}
Application form Source Plugin
type ApplicationFormSyncAutomatedPolicy ¶ added in v0.37.9
type ApplicationFormSyncAutomatedPolicy struct {
// Prune policy flag
Prune *bool `json:"prune"`
// Self heal policy flag
SelfHeal *bool `json:"selfHeal"`
// AllowEmpty allows apps have zero live resources
AllowEmpty *bool `json:"allowEmpty"`
}
Application form Sync Automated Policy
type ApplicationFormSyncPolicy ¶ added in v0.37.9
type ApplicationFormSyncPolicy struct {
// Automated sync policy options
Automated *ApplicationFormSyncAutomatedPolicy `json:"automated"`
// Sync options
SyncOptions []string `json:"syncOptions"`
// Retry options
Retry *ApplicationFormSyncRetryOptions `json:"retry"`
}
Application form Sync Policy
type ApplicationFormSyncRetryBackoffOptions ¶ added in v0.37.9
type ApplicationFormSyncRetryBackoffOptions struct {
// Duration
Duration string `json:"duration"`
// Max duration
MaxDuration string `json:"maxDuration"`
// Factor
Factor int `json:"factor"`
}
Application form Sync Policy retry options
type ApplicationFormSyncRetryOptions ¶ added in v0.37.9
type ApplicationFormSyncRetryOptions struct {
// Retries amount
Limit int `json:"limit"`
// Backoff options
Backoff *ApplicationFormSyncRetryBackoffOptions `json:"backoff"`
}
Application form Sync Policy retry options
type ApplicationGroup ¶ added in v0.57.1
type ApplicationGroup struct {
// Entity db id
ID string `json:"id"`
// Group name
Name string `json:"name"`
// Group Applications count
ApplicationCount *int `json:"applicationCount"`
// Favorites
Favorites []string `json:"favorites"`
// Is group marked as favorite (user scope)
Favorite *bool `json:"favorite"`
}
Application Group Entity
func (ApplicationGroup) IsEntity ¶ added in v0.57.1
func (ApplicationGroup) IsEntity()
func (ApplicationGroup) IsFavorableNotK8s ¶ added in v0.57.1
func (ApplicationGroup) IsFavorableNotK8s()
func (ApplicationGroup) IsFavorableNotK8sEntity ¶ added in v0.57.1
func (ApplicationGroup) IsFavorableNotK8sEntity()
type ApplicationGroupEdge ¶ added in v0.57.1
type ApplicationGroupEdge struct {
// Node contains the actual application group data
Node *ApplicationGroup `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
ApplicationGroup Edge
func (ApplicationGroupEdge) IsEdge ¶ added in v0.57.1
func (ApplicationGroupEdge) IsEdge()
type ApplicationGroupFilterArgs ¶ added in v0.57.1
type ApplicationGroupFilterArgs struct {
// Partial name (case insensitive)
PartialName *string `json:"partialName"`
// Application names
AppNames []*string `json:"appNames"`
// Filter by user favorite
Favorite *bool `json:"favorite"`
}
Args to filter ApplicationGroup
type ApplicationGroupSlice ¶ added in v0.57.1
type ApplicationGroupSlice struct {
// Application Group edges
Edges []*ApplicationGroupEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
Application Group Slice
func (ApplicationGroupSlice) IsSlice ¶ added in v0.57.1
func (ApplicationGroupSlice) IsSlice()
type ApplicationGroupSortArg ¶ added in v0.57.1
type ApplicationGroupSortArg struct {
// Field for sorting
Field ApplicationGroupsSortingField `json:"field"`
// Order
Order SortingOrder `json:"order"`
}
Application Groups sorting arguments
type ApplicationGroupsSortingField ¶ added in v0.57.1
type ApplicationGroupsSortingField string
Application Groups Sorting field
const ( // By name ApplicationGroupsSortingFieldName ApplicationGroupsSortingField = "name" // By updated at ApplicationGroupsSortingFieldUpdatedAt ApplicationGroupsSortingField = "updatedAt" )
func (ApplicationGroupsSortingField) IsValid ¶ added in v0.57.1
func (e ApplicationGroupsSortingField) IsValid() bool
func (ApplicationGroupsSortingField) MarshalGQL ¶ added in v0.57.1
func (e ApplicationGroupsSortingField) MarshalGQL(w io.Writer)
func (ApplicationGroupsSortingField) String ¶ added in v0.57.1
func (e ApplicationGroupsSortingField) String() string
func (*ApplicationGroupsSortingField) UnmarshalGQL ¶ added in v0.57.1
func (e *ApplicationGroupsSortingField) UnmarshalGQL(v interface{}) error
type ApplicationHistory ¶ added in v0.46.0
type ApplicationHistory struct {
// deployStartedAt
DeployStartedAt string `json:"deployStartedAt"`
// deployedAt
DeployedAt *string `json:"deployedAt"`
// Id
ID int `json:"id"`
// Revision (set for non multi-sourced apps)
Revision *string `json:"revision"`
// History source
Source *ApplicationFormSource `json:"source"`
}
type ApplicationItemInfo ¶ added in v0.43.5
type ApplicationItemInfo struct {
// Metadata
Metadata *ApplicationItemMetadataInfo `json:"metadata"`
// Application status info
Status *ApplicationItemStatusInfo `json:"status"`
// Application spec info
Spec *ApplicationItemSpecInfo `json:"spec"`
}
type ApplicationItemMetadataInfo ¶ added in v0.43.5
type ApplicationItemMetadataInfo struct {
// Application name
Name string `json:"name"`
// Application namespace
Namespace *string `json:"namespace"`
// Resource version
ResourceVersion *string `json:"resourceVersion"`
// Generation
Generation *int `json:"generation"`
// Annotations
Annotations *string `json:"annotations"`
// Creation Timestamp
CreationTimestamp *string `json:"creationTimestamp"`
// Labels
Labels *string `json:"labels"`
// UID
UID *string `json:"uid"`
}
type ApplicationItemSpecInfo ¶ added in v0.46.0
type ApplicationItemSpecInfo struct {
// Destination info
Destination *ApplicationFormDestination `json:"destination"`
// Application source
Source *ApplicationFormSource `json:"source"`
// Ignore differences list
IgnoreDifferences []*ApplicationFormIgnoreDifferences `json:"ignoreDifferences"`
// Application sources list
Sources []*ApplicationFormSource `json:"sources"`
// Project of application
Project string `json:"project"`
// Sync policy settings
SyncPolicy *ApplicationFormSyncPolicy `json:"syncPolicy"`
// Revision history limit
RevisionHistoryLimit *int `json:"revisionHistoryLimit"`
}
type ApplicationItemStatusInfo ¶ added in v0.43.5
type ApplicationItemStatusInfo struct {
// HealthStatus contains information about the currently observed health state of an application or resource
Health *ApplicationResourceHealthStatusInfo `json:"health"`
// Resources is a list of Kubernetes resources managed by this application
Resources []*ApplicationResourceItem `json:"resources"`
// Reconciled At
ReconciledAt string `json:"reconciledAt"`
// Sync
Sync *ApplicationSyncDetails `json:"sync"`
// History
History []*ApplicationHistory `json:"history"`
// Summary
Summary *ApplicationStatusSummary `json:"summary"`
// Operation State
OperationState *ApplicationSyncDetailsOperationState `json:"operationState"`
}
type ApplicationLogEntry ¶ added in v0.43.7
type ApplicationLogsResponse ¶ added in v0.43.7
type ApplicationLogsResponse struct {
// Data
Data *ApplicationLogEntry `json:"data"`
// Error
Error *string `json:"error"`
// done
Done *bool `json:"done"`
}
type ApplicationManifestHierarchy ¶ added in v0.37.9
type ApplicationManifestHierarchy struct {
// Block name
Name string `json:"name"`
// Block line number
Line *int `json:"line"`
// Nested items
Children []*ApplicationManifestHierarchy `json:"children"`
}
Application manifest hierarchy
type ApplicationOperation ¶ added in v0.48.0
type ApplicationOperation struct {
// Initiated By
InitiatedBy *ApplicationOperationInitiatedBy `json:"initiatedBy"`
// Retry
Retry *ApplicationOperationRetryOptions `json:"retry"`
// Info
Info []*NameValueOutput `json:"info"`
// Sync
Sync *ApplicationOperationSync `json:"sync"`
}
Application Operation
type ApplicationOperationInitiatedBy ¶ added in v0.48.0
type ApplicationOperationInitiatedBy struct {
// Automated
Automated *bool `json:"automated"`
// Username
Username *string `json:"username"`
}
ApplicationOperationInitiatedBy
type ApplicationOperationRetryBackoffOptions ¶ added in v0.48.0
type ApplicationOperationRetryBackoffOptions struct {
// Duration
Duration string `json:"duration"`
// Max duration
MaxDuration string `json:"maxDuration"`
// Factor
Factor int `json:"factor"`
}
Application form Sync Policy retry options
type ApplicationOperationRetryOptions ¶ added in v0.48.0
type ApplicationOperationRetryOptions struct {
// Limit
Limit *int `json:"limit"`
// Backoff
Backoff *ApplicationOperationRetryBackoffOptions `json:"backoff"`
}
ApplicationOperationRetryOptions
type ApplicationOperationState ¶ added in v0.48.0
type ApplicationOperationState struct {
// Finished At
FinishedAt *string `json:"finishedAt"`
// Started At
StartedAt string `json:"startedAt"`
// Message
Message *string `json:"message"`
// Phase
Phase SyncOperationPhase `json:"phase"`
// Type
Type AppOperationType `json:"type"`
// Retry Count
RetryCount *int `json:"retryCount"`
// Operation
Operation *ApplicationOperation `json:"operation"`
// Sync Result
SyncResult *ApplicationSyncResult `json:"syncResult"`
}
Application Operation State
type ApplicationOperationSync ¶ added in v0.48.0
type ApplicationOperationSync struct {
// Prune
Prune *bool `json:"prune"`
// Revision
Revision *string `json:"revision"`
// Sync Options
SyncOptions []string `json:"syncOptions"`
// Resources
Resources []*ApplicationOperationSyncResource `json:"resources"`
// Sync Strategy
SyncStrategy *ApplicationOperationSyncStrategy `json:"syncStrategy"`
}
ApplicationOperationRetryOptions
type ApplicationOperationSyncResource ¶ added in v0.48.0
type ApplicationOperationSyncResource struct {
// Kind
Kind string `json:"kind"`
// Name
Name string `json:"name"`
// Group
Group *string `json:"group"`
// Namespace
Namespace *string `json:"namespace"`
}
ApplicationOperationSyncResource
type ApplicationOperationSyncStrategy ¶ added in v0.48.0
type ApplicationOperationSyncStrategy struct {
// Hook
Hook *string `json:"hook"`
}
ApplicationOperationSyncStrategy
type ApplicationOrderedStatistics ¶ added in v0.37.9
type ApplicationOrderedStatistics struct {
// Time period data
TimePeriodData *StatsTimePeriodData `json:"timePeriodData"`
// Applications stats
ApplicationsStats []*ApplicationOrderedStatisticsData `json:"applicationsStats"`
}
ApplicationOrderedStatistics
type ApplicationOrderedStatisticsData ¶ added in v0.37.9
type ApplicationOrderedStatisticsData struct {
// Application
Application string `json:"application"`
// Namespace
Namespace string `json:"namespace"`
// Runtime
Runtime string `json:"runtime"`
// Cluster
Cluster string `json:"cluster"`
// Application deployment statistics by status
DeploymentStatusBreakdown []*DeploymentStatisticsInfo `json:"deploymentStatusBreakdown"`
// Total deployments
TotalDeployments *MetricWithTrend `json:"totalDeployments"`
}
Ordered Application Stats single application statistics
type ApplicationRef ¶
type ApplicationRef struct {
// Name
Name string `json:"name"`
// Group
Group string `json:"group"`
// Kind
Kind string `json:"kind"`
// Version
Version string `json:"version"`
// Namespace
Namespace *string `json:"namespace"`
// Is reference was cut during tree normalizing
IsReferenceCut *bool `json:"isReferenceCut"`
}
Application ref
type ApplicationResourceHealthStatusInfo ¶ added in v0.43.5
type ApplicationResourceHealthStatusInfo struct {
// Message describing the health status
Message *string `json:"message"`
// List of app resources
Status HealthStatus `json:"status"`
}
type ApplicationResourceItem ¶ added in v0.43.5
type ApplicationResourceItem struct {
// HealthStatus contains information about the currently observed health state of an application or resource
Health *ApplicationResourceHealthStatusInfo `json:"health"`
// Kind
Kind string `json:"kind"`
// Name
Name string `json:"name"`
// Namespace
Namespace string `json:"namespace"`
// Sync status
Status SyncStatus `json:"status"`
// Requires pruning
RequiresPruning *bool `json:"requiresPruning"`
// Version
Version string `json:"version"`
// Group
Group *string `json:"group"`
// Hook
Hook *bool `json:"hook"`
}
type ApplicationRevisionMetadata ¶ added in v0.48.0
type ApplicationSet ¶ added in v0.37.7
type ApplicationSet struct {
// Object metadata
Metadata *ObjectMeta `json:"metadata"`
// Errors
Errors []Error `json:"errors"`
// Entities referencing this entity
ReferencedBy []BaseEntity `json:"referencedBy"`
// Entities referenced by this enitity
References []BaseEntity `json:"references"`
// Relations between parents and child applications in tree
AppsRelations *AppsRelations `json:"appsRelations"`
// ReadPermission of related git source
ReadPermission *bool `json:"readPermission"`
// Entity source
Source *GitopsEntitySource `json:"source"`
// Sync status
SyncStatus SyncStatus `json:"syncStatus"`
// Projects
Projects []string `json:"projects"`
// Updated At
UpdatedAt *string `json:"updatedAt"`
// Path
Path *string `json:"path"`
// RepoURL
RepoURL *string `json:"repoURL"`
// Revision
Revision *string `json:"revision"`
// Number of resources
Size *int `json:"size"`
// Favorites
Favorites []string `json:"favorites"`
}
ApplicationSet entity
func (ApplicationSet) IsApplicationTreeItem ¶ added in v0.37.7
func (ApplicationSet) IsApplicationTreeItem()
func (ApplicationSet) IsBaseEntity ¶ added in v0.37.7
func (ApplicationSet) IsBaseEntity()
func (ApplicationSet) IsEntity ¶ added in v0.37.7
func (ApplicationSet) IsEntity()
func (ApplicationSet) IsFavorable ¶ added in v0.37.7
func (ApplicationSet) IsFavorable()
func (ApplicationSet) IsProjectBasedEntity ¶ added in v0.37.7
func (ApplicationSet) IsProjectBasedEntity()
type ApplicationSetEdge ¶ added in v0.37.7
type ApplicationSetEdge struct {
// Node contains the actual application set data
Node *ApplicationSet `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
Application Set Edge
func (ApplicationSetEdge) IsEdge ¶ added in v0.37.7
func (ApplicationSetEdge) IsEdge()
type ApplicationSetSlice ¶ added in v0.37.7
type ApplicationSetSlice struct {
// Application edges
Edges []*ApplicationSetEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
ApplicationSet Slice
func (ApplicationSetSlice) IsSlice ¶ added in v0.37.7
func (ApplicationSetSlice) IsSlice()
type ApplicationSlice ¶
type ApplicationSlice struct {
// Application edges
Edges []*ApplicationEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
Application Slice
func (ApplicationSlice) IsSlice ¶
func (ApplicationSlice) IsSlice()
type ApplicationStatusSummary ¶ added in v0.46.0
type ApplicationStatusSummary struct {
// deployStartedAt
Images []string `json:"images"`
}
type ApplicationSyncComparedTo ¶ added in v0.48.0
type ApplicationSyncComparedTo struct {
// Destination
Destination *ApplicationFormDestination `json:"destination"`
// Source
Source *ApplicationFormSource `json:"source"`
}
Application Sync Compared To
type ApplicationSyncDetails ¶ added in v0.46.0
type ApplicationSyncDetails struct {
ComparedTo *ApplicationSyncDetailsComparedTo `json:"comparedTo"`
// Revision (set for non multi-sourced apps)
Revision *string `json:"revision"`
// Sync status
Status SyncStatus `json:"status"`
}
type ApplicationSyncDetailsComparedTo ¶ added in v0.46.0
type ApplicationSyncDetailsComparedTo struct {
// Destination info
Destination *ApplicationFormDestination `json:"destination"`
// Application source
Source *ApplicationFormSource `json:"source"`
}
type ApplicationSyncDetailsOperationState ¶ added in v0.46.0
type ApplicationSyncDetailsOperationState struct {
// Finished At
StartedAt *string `json:"startedAt"`
// Finished At
FinishedAt *string `json:"finishedAt"`
// Message
Message *string `json:"message"`
// Phase
Phase *string `json:"phase"`
// Sync result
SyncResult *ApplicationSyncDetailsOperationStateSyncResult `json:"syncResult"`
}
type ApplicationSyncDetailsOperationStateSyncResult ¶ added in v0.46.0
type ApplicationSyncDetailsOperationStateSyncResult struct {
// Revision
Revision *string `json:"revision"`
// Source
Source *ApplicationFormSource `json:"source"`
}
type ApplicationSyncResult ¶ added in v0.48.0
type ApplicationSyncResult struct {
// Revision
Revision string `json:"revision"`
// Resources
Resources []*SyncResultResource `json:"resources"`
// Source
Source *ApplicationFormSource `json:"source"`
}
ApplicationSyncResult
type ApplicationSyncStatus ¶ added in v0.48.0
type ApplicationSyncStatus struct {
// Status
Status SyncStatus `json:"status"`
// Revision
Revision *string `json:"revision"`
// ComparedTo
ComparedTo *ApplicationSyncComparedTo `json:"comparedTo"`
}
Application Sync Status
type ApplicationTreeHealthStatusStatisticRecord ¶ added in v0.37.9
type ApplicationTreeHealthStatusStatisticRecord struct {
// Health Status
Type HealthStatus `json:"type"`
// Count
Count int `json:"count"`
}
Application Tree Health Status Statistic
type ApplicationTreeItem ¶ added in v0.37.7
type ApplicationTreeItem interface {
IsApplicationTreeItem()
}
Application tree item might be Application or ApplicationSet
type ApplicationTreeSortingField ¶ added in v0.37.7
type ApplicationTreeSortingField string
Application Tree Sorting field
const ( // healthStatus ApplicationTreeSortingFieldHealthStatus ApplicationTreeSortingField = "healthStatus" // kind ApplicationTreeSortingFieldKind ApplicationTreeSortingField = "kind" // last deployment date ApplicationTreeSortingFieldLastUpdated ApplicationTreeSortingField = "lastUpdated" // name ApplicationTreeSortingFieldName ApplicationTreeSortingField = "name" // runtime ApplicationTreeSortingFieldRuntime ApplicationTreeSortingField = "runtime" // syncStatus ApplicationTreeSortingFieldSyncStatus ApplicationTreeSortingField = "syncStatus" )
func (ApplicationTreeSortingField) IsValid ¶ added in v0.37.7
func (e ApplicationTreeSortingField) IsValid() bool
func (ApplicationTreeSortingField) MarshalGQL ¶ added in v0.37.7
func (e ApplicationTreeSortingField) MarshalGQL(w io.Writer)
func (ApplicationTreeSortingField) String ¶ added in v0.37.7
func (e ApplicationTreeSortingField) String() string
func (*ApplicationTreeSortingField) UnmarshalGQL ¶ added in v0.37.7
func (e *ApplicationTreeSortingField) UnmarshalGQL(v interface{}) error
type ApplicationValidationDestination ¶ added in v0.45.0
type ApplicationValidationInput ¶ added in v0.45.0
type ApplicationValidationInput struct {
// Application validation spec
Spec *ApplicationValidationSpec `json:"spec"`
}
type ApplicationValidationSource ¶ added in v0.45.0
type ApplicationValidationSource struct {
// ApplicationSource path
Path *string `json:"path"`
// ApplicationSource repoURL
RepoURL *string `json:"repoURL"`
// ApplicationSource targetRevision
TargetRevision *string `json:"targetRevision"`
Helm *HelmSource `json:"helm"`
}
type ApplicationValidationSpec ¶ added in v0.45.0
type ApplicationValidationSpec struct {
// Application destination
Destination *ApplicationValidationDestination `json:"destination"`
// Application project
Project *string `json:"project"`
// Application source
Source *ApplicationValidationSource `json:"source"`
}
type ApplicationValidationStatus ¶ added in v0.47.0
type ApplicationValidationStatus struct {
// Is application valid
IsValid *bool `json:"isValid"`
Error *string `json:"error"`
Entity *string `json:"entity"`
}
Application validation status
type ApplicationsInfo ¶ added in v0.45.0
type ApplicationsInfo struct {
// Items
Items []*ApplicationItemInfo `json:"items"`
// Metadata
Metadata *ApplicationsInfoMetadata `json:"metadata"`
}
type ApplicationsInfoMetadata ¶ added in v0.45.0
type AppsRelations ¶
type AppsRelations struct {
// Entities referencing this entity
ReferencedBy []*ApplicationRef `json:"referencedBy"`
// Entities referenced by this enitity
References []*ApplicationRef `json:"references"`
}
Application relations
type ArgoCDApplicationDestination ¶ added in v0.37.7
type ArgoCDApplicationDestination struct {
// Cluster name
Name *string `json:"name"`
// Cluster url
Server *string `json:"server"`
// Namespace
Namespace *string `json:"namespace"`
}
Argo CD Application destination config
type ArgoCDApplicationSpecSource ¶ added in v0.52.0
type ArgoCDApplicationSpecSource struct {
// Path
Path *string `json:"path"`
// Repo url
RepoURL string `json:"repoURL"`
// Branch/Tag or chart version (for helm)
TargetRevision *string `json:"targetRevision"`
// Chart name
Chart *string `json:"chart"`
}
Argo CD Application spec source
type ArgoCDApplicationStatus ¶
type ArgoCDApplicationStatus struct {
// Sync status
SyncStatus SyncStatus `json:"syncStatus"`
// Sync started at
SyncStartedAt *string `json:"syncStartedAt"`
// Sync finished at
SyncFinishedAt *string `json:"syncFinishedAt"`
// Health status
HealthStatus *HealthStatus `json:"healthStatus"`
// Health message
HealthMessage *string `json:"healthMessage"`
// Revision
Revision string `json:"revision"`
// Version
Version string `json:"version"`
// CommitAuthor
CommitAuthor *string `json:"commitAuthor"`
// CommitAvatar
CommitAvatar *string `json:"commitAvatar"`
// CommitUrl
CommitURL *string `json:"commitUrl"`
// CommitMessage
CommitMessage *string `json:"commitMessage"`
// CommitDate
CommitDate *string `json:"commitDate"`
// History Id
HistoryID *int `json:"historyId"`
// History Id
MinHistoryID *int `json:"minHistoryId"`
}
Argo CD Application status
type ArgoCDNotification ¶ added in v0.37.7
type ArgoCDNotification interface {
IsArgoCDNotification()
}
ArgoCD Notification
type ArgoCdDeepLinkInfo ¶ added in v0.54.0
type ArgoCdDeepLinksResponse ¶ added in v0.54.0
type ArgoCdDeepLinksResponse struct {
// Argo CD deep links response
Items []*ArgoCdDeepLinkInfo `json:"items"`
}
type ArgoEventsNotification ¶ added in v0.37.7
type ArgoEventsNotification interface {
IsArgoEventsNotification()
}
ArgoEvents Notification
type ArgoHubTemplate ¶ added in v0.37.7
type ArgoHubTemplate struct {
// Version
ID *string `json:"id"`
// Manifest
Manifest *string `json:"manifest"`
// Manifest url
ManifestURL *string `json:"manifestUrl"`
// Description
Description *string `json:"description"`
// Categories
Categories []*string `json:"categories"`
}
Argo Hub Template
type ArgoHubTemplates ¶ added in v0.37.7
type ArgoHubTemplates struct {
// Starter template name
Data []*ArgoHubTemplatesSlice `json:"data"`
}
Argo Hub Templates
type ArgoHubTemplatesFilterArgs ¶ added in v0.37.7
type ArgoHubTemplatesFilterArgs struct {
// Filter Argo Hub Templates by category
Category *string `json:"category"`
// Filter Argo Hub Templates by name
Name *string `json:"name"`
}
Argo Hub templates filter arguments
type ArgoHubTemplatesSlice ¶ added in v0.37.7
type ArgoHubTemplatesSlice struct {
// Template name
Name *string `json:"name"`
// Versions
Versions []*ArgoHubTemplate `json:"versions"`
// Latest version
LatestVersion *ArgoHubTemplate `json:"latestVersion"`
}
Argo Hub Templates Slice
type ArtifactDiscriminator ¶ added in v0.52.0
type ArtifactDiscriminator string
const ( // outputs ArtifactDiscriminatorOutputs ArtifactDiscriminator = "OUTPUTS" )
func (ArtifactDiscriminator) IsValid ¶ added in v0.52.0
func (e ArtifactDiscriminator) IsValid() bool
func (ArtifactDiscriminator) MarshalGQL ¶ added in v0.52.0
func (e ArtifactDiscriminator) MarshalGQL(w io.Writer)
func (ArtifactDiscriminator) String ¶ added in v0.52.0
func (e ArtifactDiscriminator) String() string
func (*ArtifactDiscriminator) UnmarshalGQL ¶ added in v0.52.0
func (e *ArtifactDiscriminator) UnmarshalGQL(v interface{}) error
type AuditEdge ¶ added in v0.47.2
type AuditEdge struct {
// Node contains the actual audit record
Node *AuditEntity `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
Audit Edge
type AuditEntity ¶ added in v0.47.2
type AuditEntity struct {
// Timestamp
Timestamp *string `json:"timestamp"`
// AccountId
AccountID *string `json:"accountId"`
// AccountName
AccountName *string `json:"accountName"`
// UserId
UserID *string `json:"userId"`
// UserName
UserName *string `json:"userName"`
// Action
Action string `json:"action"`
// AuthEntityType
AuthEntityType string `json:"authEntityType"`
// EventType
EventType string `json:"eventType"`
// EntityType
EntityType string `json:"entityType"`
// EntityId
EntityID *string `json:"entityId"`
// EntityName
EntityName string `json:"entityName"`
// Runtime
Runtime *string `json:"runtime"`
// IP
IP *string `json:"ip"`
// Method
Method *string `json:"method"`
// Url
URL *string `json:"url"`
// Params
Params *string `json:"params"`
// Query
Query *string `json:"query"`
// Headers
Headers *string `json:"headers"`
// Payload
Payload *string `json:"payload"`
// Status
Status *int `json:"status"`
// Response
Response *string `json:"response"`
}
Audit Entity Record
type AuditFilterArgs ¶ added in v0.47.2
type AuditFilterArgs struct {
// Status
Status *int `json:"status"`
}
Args to filter audit
type AuditSlice ¶ added in v0.47.2
type AuditSlice struct {
// Audit edges
Edges []*AuditEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
Audit Slice
type Auth0sso ¶ added in v0.37.7
type Auth0sso struct {
// ID
ID string `json:"id"`
// Client type
ClientType string `json:"clientType"`
// Client name
ClientName string `json:"clientName"`
// Display name
DisplayName string `json:"displayName"`
// Accounts
Accounts []*string `json:"accounts"`
// Access token
AccessToken *string `json:"accessToken"`
// Client Id, appId in Azure
ClientID *string `json:"clientId"`
// Client secret
ClientSecret *string `json:"clientSecret"`
// Onprem default IDP
OnpremDefaultIdp *bool `json:"onpremDefaultIdp"`
// Redirect url
RedirectURL *string `json:"redirectUrl"`
// Redirect ui url
RedirectUIURL *string `json:"redirectUiUrl"`
// Login url
LoginURL *string `json:"loginUrl"`
// Default
Default *bool `json:"default"`
// Scopes
Scopes []*string `json:"scopes"`
// Client host
ClientHost *string `json:"clientHost"`
}
Auth0SSO
type AvgChangeFailureRateStatistics ¶ added in v0.43.5
type AvgChangeFailureRateStatistics struct {
// Avg change failure rate data
Data []*DoraStatisticsData `json:"data"`
// Time period data
TimePeriodData *StatsTimePeriodData `json:"timePeriodData"`
// Avg change failure rate info
Info *DoraStatisticsSummery `json:"info"`
}
Stats for avg change failure rate
type AvgTimeToRestoreServiceStatistics ¶ added in v0.43.5
type AvgTimeToRestoreServiceStatistics struct {
// Avg time to restore service data
Data []*DoraStatisticsData `json:"data"`
// Time period data
TimePeriodData *StatsTimePeriodData `json:"timePeriodData"`
// Avg time to restore service info
Info *DoraStatisticsSummery `json:"info"`
}
Stats for Avg time to restore service
type AzureSso ¶ added in v0.37.7
type AzureSso struct {
// ID
ID string `json:"id"`
// Client type
ClientType string `json:"clientType"`
// Client name
ClientName string `json:"clientName"`
// Display name
DisplayName string `json:"displayName"`
// Accounts
Accounts []*string `json:"accounts"`
// Access token
AccessToken *string `json:"accessToken"`
// Client Id, appId in Azure
ClientID *string `json:"clientId"`
// Client secret
ClientSecret *string `json:"clientSecret"`
// Onprem default IDP
OnpremDefaultIdp *bool `json:"onpremDefaultIdp"`
// Redirect url
RedirectURL *string `json:"redirectUrl"`
// Redirect ui url
RedirectUIURL *string `json:"redirectUiUrl"`
// Login url
LoginURL *string `json:"loginUrl"`
// Default
Default *bool `json:"default"`
// Client host
ClientHost *string `json:"clientHost"`
// Tenant
Tenant *string `json:"tenant"`
// Object Id in Azure
AppID *string `json:"appId"`
// Scopes
Scopes []*string `json:"scopes"`
// Cookie key
CookieKey *string `json:"cookieKey"`
// Cookie iv
CookieIv *string `json:"cookieIv"`
// Auto group sync
AutoGroupSync *bool `json:"autoGroupSync"`
// Sync interval
SyncInterval *string `json:"syncInterval"`
}
AzureSSO
type BaseReference ¶ added in v0.37.9
type BaseReference struct {
// Object metadata
Metadata *EntityReferenceMeta `json:"metadata"`
}
references info
type BitbucketCloudTriggerConditions ¶ added in v0.48.0
type BitbucketCloudTriggerConditions struct {
// Event type from mapping (push, pull_request etc.)
EventType string `json:"eventType"`
// EventSource name (for backward converting from trigger conditions)
EventSource *string `json:"eventSource"`
// EventSource event name (for backward converting from trigger conditions)
EventSourceEvent *string `json:"eventSourceEvent"`
// Dependency name (for backward converting from trigger conditions)
Dependency *string `json:"dependency"`
// Repositories
Repositories []string `json:"repositories"`
// Filters for this trigger condition
Filters *TriggerConditionFilters `json:"filters"`
// Parameters choosen for each event type (push, pull_request...)
Parameters []*TriggerConditionParameter `json:"parameters"`
// Repo filter argumets
Repo *RepoBitbucketCloudFilterArgs `json:"repo"`
}
BitbucketCloud trigger conditions
type BitbucketCloudTriggerConditionsArgs ¶ added in v0.48.0
type BitbucketCloudTriggerConditionsArgs struct {
// Specific gitlab event (push, push.heads, pull_request etc.)
EventType string `json:"eventType"`
// EventSource name (for backward converting from trigger conditions)
EventSource *string `json:"eventSource"`
// EventSource event name (for backward converting from trigger conditions)
EventSourceEvent *string `json:"eventSourceEvent"`
// Dependency name (for backward converting from trigger conditions)
Dependency *string `json:"dependency"`
// Repositories
Repositories []string `json:"repositories"`
// Filters for this trigger condition
Filters *TriggerConditionFiltersArgs `json:"filters"`
// Parameters choosen for each event type (push, pull_request...)
Parameters []*TriggerConditionParameterArgs `json:"parameters"`
// repo filter argumets
Repo *RepoBitbucketCloudFilterArgsInput `json:"repo"`
// serverCertSecret refers the secret that contains the server cert.
ServerCertSecret *SecretKeySelector `json:"serverCertSecret"`
}
BitbucketCloud trigger conditions
type BitbucketServerTriggerConditions ¶ added in v0.46.0
type BitbucketServerTriggerConditions struct {
// Event type from mapping (push, pull_request etc.)
EventType string `json:"eventType"`
// EventSource name (for backward converting from trigger conditions)
EventSource *string `json:"eventSource"`
// EventSource event name (for backward converting from trigger conditions)
EventSourceEvent *string `json:"eventSourceEvent"`
// Dependency name (for backward converting from trigger conditions)
Dependency *string `json:"dependency"`
// Repositories
Repositories []string `json:"repositories"`
// Bitbucket Server url
BaseURL string `json:"baseUrl"`
// Filters for this trigger condition
Filters *TriggerConditionFilters `json:"filters"`
// Parameters choosen for each event type (push, pull_request...)
Parameters []*TriggerConditionParameter `json:"parameters"`
}
BitbucketServer trigger conditions
type BitbucketServerTriggerConditionsArgs ¶ added in v0.46.0
type BitbucketServerTriggerConditionsArgs struct {
// Specific gitlab event (push, push.heads, pull_request etc.)
EventType string `json:"eventType"`
// EventSource name (for backward converting from trigger conditions)
EventSource *string `json:"eventSource"`
// EventSource event name (for backward converting from trigger conditions)
EventSourceEvent *string `json:"eventSourceEvent"`
// Dependency name (for backward converting from trigger conditions)
Dependency *string `json:"dependency"`
// Repositories
Repositories []string `json:"repositories"`
// Base url
BaseURL string `json:"baseUrl"`
// Filters for this trigger condition
Filters *TriggerConditionFiltersArgs `json:"filters"`
// Parameters choosen for each event type (push, pull_request...)
Parameters []*TriggerConditionParameterArgs `json:"parameters"`
// serverCertSecret refers the secret that contains the server cert.
ServerCertSecret *SecretKeySelector `json:"serverCertSecret"`
}
BitbucketServer trigger conditions
type Build ¶ added in v0.37.4
type Build struct {
// Build Id
ID string `json:"id"`
// PipelineRef
Pipeline *PipelineRef `json:"pipeline"`
}
Build Entity
type CacheInfo ¶ added in v0.37.9
type CacheInfo struct {
// ResourcesCount holds number of observed Kubernetes resources
ResourcesCount *int `json:"resourcesCount"`
// APIsCount holds number of observed Kubernetes API count
ApisCount *int `json:"apisCount"`
// LastCacheSyncTime holds time of most recent cache synchronization
LastCacheSyncTime *string `json:"lastCacheSyncTime"`
}
ClusterCacheInfo contains information about the cluster cache
type CalendarEventPayloadData ¶
type CalendarEventPayloadData struct {
// Event payload type
Type PayloadDataTypes `json:"type"`
// Event uid
UID string `json:"uid"`
// Event source name
EventSource *string `json:"eventSource"`
// The relevant event name in the event source
EventName *string `json:"eventName"`
// TBD
Schedule *string `json:"schedule"`
// TBD
Interval *string `json:"interval"`
// TBD
Timezone *string `json:"timezone"`
// TBD
Metadata *string `json:"metadata"`
}
Calendar event payload data
func (CalendarEventPayloadData) IsEventPayloadData ¶
func (CalendarEventPayloadData) IsEventPayloadData()
type CalendarTriggerConditions ¶ added in v0.37.9
type CalendarTriggerConditions struct {
// EventSource name (for backward converting from trigger conditions)
EventSource *string `json:"eventSource"`
// EventSource event name (for backward converting from trigger conditions)
EventSourceEvent *string `json:"eventSourceEvent"`
// Dependency name (for backward converting from trigger conditions)
Dependency *string `json:"dependency"`
// Number of seconds, minutes, hours, etc..
Interval *string `json:"interval"`
// Cron expression
Schedule *string `json:"schedule"`
// TimeZone
Timezone *string `json:"timezone"`
// Metadata
Metadata *string `json:"metadata"`
}
Calendar trigger conditions
type CalendarTriggerConditionsArgs ¶ added in v0.37.9
type CalendarTriggerConditionsArgs struct {
// EventSource name (for backward converting from trigger conditions)
EventSource *string `json:"eventSource"`
// EventSource event name (for backward converting from trigger conditions)
EventSourceEvent *string `json:"eventSourceEvent"`
// Dependency name (for backward converting from trigger conditions)
Dependency *string `json:"dependency"`
// Number of seconds, minutes, hours, etc..
Interval *string `json:"interval"`
// Cron expression
Schedule *string `json:"schedule"`
// TimeZone
Timezone *string `json:"timezone"`
// Metadata
Metadata *string `json:"metadata"`
}
Calendar trigger conditions
type ChildApplicationField ¶ added in v0.37.4
type ChildApplicationField struct {
// Name
Name string `json:"name"`
// Repo
Repo *string `json:"repo"`
// Cluster
Cluster *string `json:"cluster"`
// Status
Status *SyncStatus `json:"status"`
}
ChildApplicationField Entity
type ChildWorkflowRef ¶ added in v0.44.2
type ChildWorkflowRef struct {
// Child workflow
Workflow *Workflow `json:"workflow"`
// Child workflow type
Type *string `json:"type"`
// Node ref
NodeRef *string `json:"nodeRef"`
}
Child workflow reference
type ClassicPipelineDurationMetric ¶ added in v0.55.0
type ClassicPipelineDurationMetric struct {
// Duration Name
DurationName DurationName `json:"durationName"`
// Duration statistics
DurationStats *ClassicPipelineMetric `json:"durationStats"`
}
Classic pipeline duration stats
type ClassicPipelineMetric ¶ added in v0.55.0
type ClassicPipelineMetric struct {
// Info
Info *PipelineClassicStatsInfo `json:"info"`
// Data
Data []*TimeSeriesDataRecord `json:"data"`
}
Classic pipeline metric
type ClassicPipelinePerformanceRecord ¶ added in v0.55.0
type ClassicPipelinePerformanceRecord struct {
// Pipeline Id
PipelineID string `json:"pipelineId"`
// Pipeline Name
PipelineName string `json:"pipelineName"`
// Project Id
ProjectID *string `json:"projectId"`
// Project Name
ProjectName *string `json:"projectName"`
// Number of exeuctions statistic
Executions *MetricWithTrend `json:"executions"`
// Pipeline Duration Statitstic
Duration *MetricWithTrend `json:"duration"`
// Is Deleted
IsDeleted bool `json:"isDeleted"`
}
Classic Pipeline Performance Record
type ClassicPipelineStatistics ¶ added in v0.55.0
type ClassicPipelineStatistics struct {
// Success Rate stats
SuccessRateStats *ClassicPipelineMetric `json:"successRateStats"`
// Duration stats
DurationStats []*ClassicPipelineDurationMetric `json:"durationStats"`
}
Pipeline statistics to be used in analytics module
type ClassicPipelinesPerformanceStatistics ¶ added in v0.55.0
type ClassicPipelinesPerformanceStatistics struct {
// Performance stats
PerformancesStats []*ClassicPipelinePerformanceRecord `json:"performancesStats"`
// Duration type
DurationType *PipelineClassicStatisticDurationMetricType `json:"durationType"`
// Time dimension info
Info *StatsTimePeriodData `json:"info"`
}
Classic Pipelines Performance Statistics
type ClientIP ¶ added in v0.37.0
type ClientIP struct {
// TimeoutSeconds
TimeoutSeconds *int `json:"timeoutSeconds"`
}
ClientIP
type CloudBuilds ¶ added in v0.55.0
type CloudBuilds struct {
// Is cloud builds activated
IsActivated *bool `json:"isActivated"`
// Who was it performed by
PerformedBy *string `json:"performedBy"`
// Is cloud builds requested
IsRequested *bool `json:"isRequested"`
// Date
Date *string `json:"date"`
}
Cloud Builds
type Cluster ¶ added in v0.37.9
type Cluster struct {
// Object metadata
Metadata *ObjectMeta `json:"metadata"`
// Errors
Errors []Error `json:"errors"`
// Entities referencing this entity
ReferencedBy []BaseEntity `json:"referencedBy"`
// Entities referenced by this enitity
References []BaseEntity `json:"references"`
// Server is the API server URL of the Kubernetes cluster
Server string `json:"server"`
// Holds list of namespaces which are accessible in that cluster. Cluster level resources will be ignored if namespace list is not empty.
Namespaces []string `json:"namespaces"`
// RefreshRequestedAt holds time when cluster cache refresh has been requested
RefreshRequestedAt *string `json:"refreshRequestedAt"`
// Shard contains optional shard number. Calculated on the fly by the application controller if not specified.
Shard *int `json:"shard"`
// Indicates if cluster level resources should be managed. This setting is used only if cluster is connected in a namespaced mode.
ClusterResources bool `json:"clusterResources"`
// Info holds information about cluster cache and state
Info *ClusterInfo `json:"info"`
}
Cluster entity
func (Cluster) IsBaseEntity ¶ added in v0.37.9
func (Cluster) IsBaseEntity()
type ClusterConnectionStatus ¶ added in v0.37.9
type ClusterConnectionStatus string
ConnectionState contains information about remote resource connection state, currently used for clusters and repositories
const ( // ConnectionStatusFailed indicates that a connection attempt has failed ClusterConnectionStatusFailed ClusterConnectionStatus = "Failed" // ConnectionStatusSuccessful indicates that a connection has been successfully established ClusterConnectionStatusSuccessful ClusterConnectionStatus = "Successful" // ConnectionStatusUnknown indicates that the connection status could not be reliably determined ClusterConnectionStatusUnknown ClusterConnectionStatus = "Unknown" )
func (ClusterConnectionStatus) IsValid ¶ added in v0.37.9
func (e ClusterConnectionStatus) IsValid() bool
func (ClusterConnectionStatus) MarshalGQL ¶ added in v0.37.9
func (e ClusterConnectionStatus) MarshalGQL(w io.Writer)
func (ClusterConnectionStatus) String ¶ added in v0.37.9
func (e ClusterConnectionStatus) String() string
func (*ClusterConnectionStatus) UnmarshalGQL ¶ added in v0.37.9
func (e *ClusterConnectionStatus) UnmarshalGQL(v interface{}) error
type ClusterEdge ¶ added in v0.37.9
type ClusterEdge struct {
// Node contains the actual cluster data
Node *Cluster `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
Cluster Edge
func (ClusterEdge) IsEdge ¶ added in v0.37.9
func (ClusterEdge) IsEdge()
type ClusterInfo ¶ added in v0.37.9
type ClusterInfo struct {
// ConnectionState contains information about the connection to the cluster
ConnectionState *ConnectionState `json:"connectionState"`
// ServerVersion contains information about the Kubernetes version of the cluster
ServerVersion *string `json:"serverVersion"`
// CacheInfo contains information about the cluster cache
CacheInfo *CacheInfo `json:"cacheInfo"`
// ApplicationsCount is the number of applications managed by Argo CD on the cluster
ApplicationsCount int `json:"applicationsCount"`
// APIVersions contains list of API versions supported by the cluster
APIVersions []*string `json:"apiVersions"`
}
ClusterInfo contains information about the cluster
type ClusterNamesDDRecord ¶ added in v0.52.0
type ClusterNamesDDRecord struct {
// Name
Name string `json:"name"`
// Is Deleted
IsDeleted bool `json:"isDeleted"`
}
Cluster Names Record For Dropdown
type ClusterSlice ¶ added in v0.37.9
type ClusterSlice struct {
// Cluster edges
Edges []*ClusterEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
Cluster Slice
func (ClusterSlice) IsSlice ¶ added in v0.37.9
func (ClusterSlice) IsSlice()
type ClusterURLDDRecord ¶ added in v0.52.0
type ClusterURLDDRecord struct {
// Name
Name string `json:"name"`
// Url
URL string `json:"url"`
// Is Deleted
IsDeleted bool `json:"isDeleted"`
}
Cluster Url Record For Dropdown
type ClustersStatistics ¶ added in v0.38.1
type ClustersStatistics struct {
// Total clusters number
Total int `json:"total"`
// Number of connected runtimes
Connected int `json:"connected"`
// Number of failed connection clusters
Failed int `json:"failed"`
// Number of unknown connection clusters
Unknown int `json:"unknown"`
}
Clusters statistics
type Commit ¶ added in v0.37.0
type Commit struct {
// Commit sha
Sha string `json:"sha"`
// Committer
Committer *Committer `json:"committer"`
}
Commit
type CommitFilesArgs ¶ added in v0.37.0
type CommitFilesArgs struct {
// Git integration name, if not provided will use the default one
IntegrationName *string `json:"integrationName"`
// Branch name, if empty - will use the repo's defaultBranch (usually 'main')
BranchName *string `json:"branchName"`
// Repository full name in format {owner}/{name}
Repo string `json:"repo"`
// Files to commit
Files []*File `json:"files"`
// Commit messege
Msg *string `json:"msg"`
// Description messege
Description *string `json:"description"`
// Forced Commit flag -> If true will commit even if one of the files is outdated
Force *bool `json:"force"`
// allow empty commit
AllowEmpty *bool `json:"allowEmpty"`
}
Commit files to a git repository args
type Commits ¶ added in v0.38.1
type Commits struct {
// url
URL *string `json:"url"`
// userName
UserName *string `json:"userName"`
// sha
Sha *string `json:"sha"`
// message
Message *string `json:"message"`
// commitDate
CommitDate *string `json:"commitDate"`
}
Commits
type CommitsOutput ¶ added in v0.38.1
type CommitsOutput struct {
// Commit url
URL string `json:"url"`
// Commit author
UserName string `json:"userName"`
// Commit sha
Sha string `json:"sha"`
// Commit message
Message string `json:"message"`
}
Commits output
type Committer ¶ added in v0.37.0
type Committer struct {
// Committer name
Name string `json:"name"`
// Committer email
Email *string `json:"email"`
// Committer avatar url
AvatarURL *string `json:"avatarUrl"`
// Committer page url
ProfileURL *string `json:"profileUrl"`
}
Git committer profile
type CommitterLabel ¶ added in v0.37.4
type CommitterLabel struct {
// UserName
UserName string `json:"userName"`
// Avatar
Avatar *string `json:"avatar"`
// Comitter commits list
Commits []*CommitsOutput `json:"commits"`
}
Committer Label
type CommonGitEventPayloadData ¶
type CommonGitEventPayloadData interface {
IsCommonGitEventPayloadData()
}
"Common events properties
type Component ¶
type Component struct {
// Object metadata
Metadata *ObjectMeta `json:"metadata"`
// Errors
Errors []Error `json:"errors"`
// Entities referencing this entity
ReferencedBy []BaseEntity `json:"referencedBy"`
// Entities referenced by this enitity
References []BaseEntity `json:"references"`
// Self entity reference for the real k8s entity in case of codefresh logical entity
Self *Application `json:"self"`
// History of the component
History *CompositeSlice `json:"history"`
// Sync status
SyncStatus SyncStatus `json:"syncStatus"`
// Health status
HealthStatus *HealthStatus `json:"healthStatus"`
// Health message
HealthMessage *string `json:"healthMessage"`
// Projects
Projects []string `json:"projects"`
// Component's version
Version string `json:"version"`
}
Component entity
func (Component) IsBaseEntity ¶
func (Component) IsBaseEntity()
func (Component) IsK8sLogicEntity ¶
func (Component) IsK8sLogicEntity()
func (Component) IsProjectBasedEntity ¶
func (Component) IsProjectBasedEntity()
type ComponentDependenciesContent ¶ added in v0.58.0
type ComponentDependenciesContent struct {
// Source of dependencies
Source *string `json:"source"`
// Yaml of dependencies
Content *string `json:"content"`
}
Yaml contents of dependencies description
type ComponentEdge ¶
type ComponentEdge struct {
// Node contains the actual component data
Node *Component `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
Component Edge
func (ComponentEdge) IsEdge ¶
func (ComponentEdge) IsEdge()
type ComponentNotification ¶ added in v0.37.7
type ComponentNotification struct {
// Sync status
SyncStatus SyncStatus `json:"syncStatus"`
// Health status
HealthStatus HealthStatus `json:"healthStatus"`
// Revision
Revision string `json:"revision"`
// Metadata object of the k8s entity
Metadata *ObjectMeta `json:"metadata"`
// Action type
Action *NotificationActionType `json:"action"`
// Notification unique id
ID string `json:"id"`
// Account id
AccountID string `json:"accountId"`
// Text of error or warning message
Text *string `json:"text"`
// Notification kind
Kind string `json:"kind"`
// State of notification
State *NotificationState `json:"state"`
// Timestamp of notification
Timestamp string `json:"timestamp"`
// Notification type
NotificationType NotificationType `json:"notificationType"`
}
Component Notification
func (ComponentNotification) IsArgoCDNotification ¶ added in v0.37.7
func (ComponentNotification) IsArgoCDNotification()
func (ComponentNotification) IsGitOpsNotification ¶ added in v0.37.7
func (ComponentNotification) IsGitOpsNotification()
func (ComponentNotification) IsNotification ¶ added in v0.37.7
func (ComponentNotification) IsNotification()
type ComponentSlice ¶
type ComponentSlice struct {
// Component edges
Edges []*ComponentEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
Component Slice
func (ComponentSlice) IsSlice ¶
func (ComponentSlice) IsSlice()
type CompositeSlice ¶
type CompositeSlice struct {
// GitOps edges
Edges []*GitOpsEdge `json:"edges"`
// Slice information
PageInfo []*CompositeSliceInfo `json:"pageInfo"`
// Indicate if there is next slice
HasNextPage bool `json:"hasNextPage"`
// Indicate if there is previous slice
HasPrevPage bool `json:"hasPrevPage"`
}
Composite Slice
type CompositeSliceInfo ¶
type CompositeSliceInfo struct {
// Key of the slice
Key string `json:"key"`
// Cursor for the first result in the slice
StartCursor *string `json:"startCursor"`
// Cursor for the last result in the slice
EndCursor *string `json:"endCursor"`
}
Infomration about a slice of a specific kind
type CompositeSlicePaginationArgs ¶
type CompositeSlicePaginationArgs struct {
// References a specific key
Key string `json:"key"`
// Returns entities after the provided cursor
After *string `json:"after"`
// Returns entities before the provided cursor
Before *string `json:"before"`
// Returns the first X entities
First *int `json:"first"`
// Returns the last X entities
Last *int `json:"last"`
}
Pagination arguments to request kind-slice
type ConfigMapFormData ¶ added in v0.43.5
type ConfigMapFormData struct {
// Metadata
Metadata *ConfigMapMetadata `json:"metadata"`
// Data
Data *string `json:"data"`
// Data
BinaryData *string `json:"binaryData"`
// Sync status
SyncStatus *SyncStatus `json:"syncStatus"`
}
ConfigMap Form Data object
type ConfigMapMetadata ¶ added in v0.43.5
type ConfigMapMetadata struct {
// Name
Name *string `json:"name"`
// Namespace
Namespace *string `json:"namespace"`
// Runtime
Runtime *string `json:"runtime"`
// Labels
Labels []*StringPair `json:"labels"`
}
ConfigMapMetadata
type ConnectionState ¶ added in v0.37.9
type ConnectionState struct {
// Status contains the current status indicator for the connection
Status ClusterConnectionStatus `json:"status"`
// Message contains human readable information about the connection status
Message *string `json:"message"`
// AttemptedAt contains the timestamp when this connection status has been determined
AttemptedAt *string `json:"attemptedAt"`
}
ConnectionState contains information about remote resource connection state, currently used for clusters and repositories
type CreateArgoRolloutsInput ¶ added in v0.43.1
type CreateComponentInput ¶ added in v0.41.0
type CreateComponentInput struct {
// App name
AppName string `json:"appName"`
// The source watched by the git-source
AppSpecifier string `json:"appSpecifier"`
// The server on which the resources will be applied
DestServer string `json:"destServer"`
// The server on which the resources will be applied
DestNamespace string `json:"destNamespace"`
}
type CreateEnvironmentArgs ¶ added in v0.57.1
type CreateEnvironmentArgs struct {
// Environment name
Name string `json:"name"`
// Kind of environment
Kind EnvironmentKind `json:"kind"`
// List of clusters that belong to this environment
Clusters []*EnvironmentClusterInput `json:"clusters"`
}
Create Environment Input
type CreateGitSourceInput ¶ added in v0.41.0
type CreateGitSourceInput struct {
// App name
AppName string `json:"appName"`
// The path to the source watched by the git-source
AppSpecifier string `json:"appSpecifier"`
// The server on which the resources will be applied
DestServer string `json:"destServer"`
// The namespace on which the resources will be applied
DestNamespace *string `json:"destNamespace"`
// The labels of the git-source
Labels *string `json:"labels"`
// Files to be included
Include *string `json:"include"`
// Files to be excluded
Exclude *string `json:"exclude"`
// Is this a codefresh internal git-source
IsInternal *bool `json:"isInternal"`
}
type CreateGitSourcePlaceholderInput ¶ added in v0.43.5
type CreateGitSourcePlaceholderInput struct {
// App name
AppName string `json:"appName"`
// The path to the source watched by the git-source
AppSpecifier string `json:"appSpecifier"`
// The server on which the resources will be applied
DestServer string `json:"destServer"`
// The server on which the resources will be applied
DestNamespace string `json:"destNamespace"`
// The labels of the git-source
Labels *string `json:"labels"`
// Files to be included
Include *string `json:"include"`
// Files to be excluded
Exclude *string `json:"exclude"`
// Is this a codefresh internal git-source
IsInternal *bool `json:"isInternal"`
// Is this a restricted git-source
IsRestricted *bool `json:"isRestricted"`
}
Input for git-source placeholder
type CreateProductArgs ¶ added in v0.57.1
type CreateProductArgs struct {
// Product name
Name string `json:"name"`
// Custom Annotation pair 'key=value' used for auto-linking applications, empty array if not set
CustomAnnotationPairs []*string `json:"customAnnotationPairs"`
// Tags list
Tags []*string `json:"tags"`
}
Create Product Input
type CreateRestrictedGitSourceInput ¶ added in v0.57.1
type CreateRestrictedGitSourceInput struct {
// App name
AppName string `json:"appName"`
// The path to the source watched by the git-source
AppSpecifier string `json:"appSpecifier"`
// The generated AppProject's sourceNamespace
SourceNamespace string `json:"sourceNamespace"`
// The generated AppProject's destinations array
Destinations []*AppProjectDestinationInput `json:"destinations"`
// The generated AppProject's sourceRepos array
SourceRepos []string `json:"sourceRepos"`
// Files to be included
Include *string `json:"include"`
// Files to be excluded
Exclude *string `json:"exclude"`
}
type CreateWorkflowFromWorkflowTemplateResponse ¶ added in v0.37.9
type CreateWorkflowFromWorkflowTemplateResponse struct {
// The newly created workflow name
NewWorkflowName string `json:"newWorkflowName"`
}
Response for creating workflow from workflow template manifest
type DataFilter ¶ added in v0.37.0
type DataFilter struct {
// Comparator compares the event data with a user given value. Can be '>=', '>', '=', '!=', '<', or '<='. Is optional, and if left blank treated as equality '='.
Comparator *string `json:"comparator"`
// Path is the JSONPath of the event's (JSON decoded) data key Path is a series of keys separated by a dot. A key may contain wildcard characters '*' and '?'. To access an array value use the index as the key.
Path string `json:"path"`
// Template is a go-template for extracting a string from the event's data. A Template is evaluated with provided path, type and value. The templating follows the standard go-template syntax as well as sprig's extra functions
Template *string `json:"template"`
// Type contains the JSON type of the data
Type string `json:"type"`
// Value is the allowed string values for this key Booleans are passed using strconv.ParseBool() Numbers are parsed using as float64 using strconv.ParseFloat() Strings are taken as is Nils this value is ignored
Value []*string `json:"value"`
}
Data filter is the raw argo events DataFilter ported from their types
type DataFilterArgs ¶ added in v0.37.7
type DataFilterArgs struct {
// Comparator compares the event data with a user given value. Can be '>=', '>', '=', '!=', '<', or '<='. Is optional, and if left blank treated as equality '='.
Comparator *string `json:"comparator"`
// Path is the JSONPath of the event's (JSON decoded) data key Path is a series of keys separated by a dot. A key may contain wildcard characters '*' and '?'. To access an array value use the index as the key.
Path string `json:"path"`
// Template is a go-template for extracting a string from the event's data. A Template is evaluated with provided path, type and value. The templating follows the standard go-template syntax as well as sprig's extra functions
Template *string `json:"template"`
// Type contains the JSON type of the data
Type string `json:"type"`
// Value is the allowed string values for this key Booleans are passed using strconv.ParseBool() Numbers are parsed using as float64 using strconv.ParseFloat() Strings are taken as is Nils this value is ignored
Value []*string `json:"value"`
}
Data filter is the raw argo events DataFilter ported from their types
type DataRetention ¶ added in v0.37.7
type DataRetention struct {
// Weeks
Weeks *int `json:"weeks"`
}
DataRetention
type DefaultDindResources ¶ added in v0.37.7
type DefaultDindResources struct {
// Requests
Requests *ResourcesRequests `json:"requests"`
}
DefaultDindResources
type DeleteApplicationInput ¶ added in v0.41.0
type DeleteApplicationInput struct {
// App name
AppName string `json:"appName"`
}
type DeleteEnvironmentArgs ¶ added in v0.57.1
type DeleteEnvironmentArgs struct {
// Id of the environment
ID string `json:"id"`
}
Delete Environment Input
type DeleteFilesArgs ¶ added in v0.37.0
type DeleteFilesArgs struct {
// Git integration name, if not provided will use the default one
IntegrationName *string `json:"integrationName"`
// Branch name, if empty - will use the repo's defaultBranch (usually 'main')
BranchName *string `json:"branchName"`
// Repository name in format {owner}/{name}
Repo string `json:"repo"`
// File paths to delete
Paths []string `json:"paths"`
// Commit messege
Msg *string `json:"msg"`
// Description messege
Description *string `json:"description"`
}
Delete files from a git repository args
type DeleteProductArgs ¶ added in v0.57.1
type DeleteProductArgs struct {
// Id of the Product
ID string `json:"id"`
}
Delete Product Input
type Deployment ¶ added in v0.37.4
type Deployment struct {
// Object metadata
Metadata *ObjectMeta `json:"metadata"`
// Errors
Errors []Error `json:"errors"`
// Entities referencing this entity
ReferencedBy []BaseEntity `json:"referencedBy"`
// Entities referenced by this enitity
References []BaseEntity `json:"references"`
// History of the generic entity
History *GitOpsSlice `json:"history"`
// Version of the entity
Version *int `json:"version"`
// Is this the latest version of this entity
Latest *bool `json:"latest"`
// Entity source
Source *GitopsEntitySource `json:"source"`
// Sync status
SyncStatus SyncStatus `json:"syncStatus"`
// Health status
HealthStatus *HealthStatus `json:"healthStatus"`
// Health message
HealthMessage *string `json:"healthMessage"`
// Desired manifest
DesiredManifest *string `json:"desiredManifest"`
// Actual manifest
ActualManifest *string `json:"actualManifest"`
// Projects
Projects []string `json:"projects"`
// Deployment Entity
Spec *DeploymentSpec `json:"spec"`
// Deployment Status
Status *DeploymentStatus `json:"status"`
}
Deployment entity
func (Deployment) IsBaseEntity ¶ added in v0.37.4
func (Deployment) IsBaseEntity()
func (Deployment) IsEntity ¶ added in v0.37.4
func (Deployment) IsEntity()
func (Deployment) IsGitopsEntity ¶ added in v0.37.4
func (Deployment) IsGitopsEntity()
func (Deployment) IsProjectBasedEntity ¶ added in v0.37.4
func (Deployment) IsProjectBasedEntity()
type DeploymentContainer ¶ added in v0.37.4
type DeploymentContainer struct {
// Containers
Name *string `json:"name"`
// Image
Image *string `json:"image"`
// ImagePullPolicy
ImagePullPolicy *ImagePullPolicy `json:"imagePullPolicy"`
}
Container
type DeploymentEdge ¶ added in v0.37.4
type DeploymentEdge struct {
// Node contains the actual Deployment data
Node *Deployment `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
Deployment Edge
func (DeploymentEdge) IsEdge ¶ added in v0.37.4
func (DeploymentEdge) IsEdge()
type DeploymentFrequencyStatistics ¶ added in v0.43.5
type DeploymentFrequencyStatistics struct {
// Deployment frequency statistics data
Data []*DoraStatisticsData `json:"data"`
// Time period data
TimePeriodData *StatsTimePeriodData `json:"timePeriodData"`
// Deployments frequency info
Info *DoraStatisticsSummery `json:"info"`
}
Stats for deployment frequency
type DeploymentSlice ¶ added in v0.37.4
type DeploymentSlice struct {
// Deployment edges
Edges []*DeploymentEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
Deployment Slice
func (DeploymentSlice) IsSlice ¶ added in v0.37.4
func (DeploymentSlice) IsSlice()
type DeploymentSpec ¶ added in v0.37.4
type DeploymentSpec struct {
// Template
Template *PodTemplateSpec `json:"template"`
// Replicas
Replicas *int `json:"replicas"`
}
Deployment Spec
type DeploymentSpecPart ¶ added in v0.37.4
type DeploymentSpecPart struct {
// Metadata
Metadata *ObjectMeta `json:"metadata"`
// Status
Status *DeploymentStatus `json:"status"`
// Containers
Containers []*DeploymentContainer `json:"containers"`
}
DeploymentSpecPart
type DeploymentStatistics ¶ added in v0.37.9
type DeploymentStatistics struct {
// Time period data
TimePeriodData *StatsTimePeriodData `json:"timePeriodData"`
// Deployment statistics data
Data []*DeploymentStatisticsData `json:"data"`
// Deplyment statistics total
Info []*DeploymentStatisticsInfo `json:"info"`
}
Deployment statistics
type DeploymentStatisticsData ¶ added in v0.37.9
type DeploymentStatisticsData struct {
// Time
Time string `json:"time"`
// Deployment status
Status DeploymentStatisticsStatus `json:"status"`
// Number Of Syncs
Value int `json:"value"`
}
Stats data for deployments - holds daily stats
type DeploymentStatisticsInfo ¶ added in v0.37.9
type DeploymentStatisticsInfo struct {
// Deployment status
Status DeploymentStatisticsStatus `json:"status"`
// Total number of deployments in the given time period
TotalDeployments *MetricWithTrend `json:"totalDeployments"`
// Last deployment
LastDeployment *MetricWithTrend `json:"lastDeployment"`
}
Stats info for deployments holds total data for each of the statuses
type DeploymentStatisticsStatus ¶ added in v0.41.2
type DeploymentStatisticsStatus string
Deployment Statistics Status
const ( DeploymentStatisticsStatusAll DeploymentStatisticsStatus = "ALL" DeploymentStatisticsStatusDegraded DeploymentStatisticsStatus = "DEGRADED" DeploymentStatisticsStatusDegradedAndRollback DeploymentStatisticsStatus = "DEGRADED_AND_ROLLBACK" DeploymentStatisticsStatusHealthy DeploymentStatisticsStatus = "HEALTHY" DeploymentStatisticsStatusRollback DeploymentStatisticsStatus = "ROLLBACK" )
func (DeploymentStatisticsStatus) IsValid ¶ added in v0.41.2
func (e DeploymentStatisticsStatus) IsValid() bool
func (DeploymentStatisticsStatus) MarshalGQL ¶ added in v0.41.2
func (e DeploymentStatisticsStatus) MarshalGQL(w io.Writer)
func (DeploymentStatisticsStatus) String ¶ added in v0.41.2
func (e DeploymentStatisticsStatus) String() string
func (*DeploymentStatisticsStatus) UnmarshalGQL ¶ added in v0.41.2
func (e *DeploymentStatisticsStatus) UnmarshalGQL(v interface{}) error
type DeploymentStatus ¶ added in v0.37.4
type DeploymentStatus struct {
// Replicas
Replicas *int `json:"replicas"`
// AvailableReplicas
AvailableReplicas *int `json:"availableReplicas"`
// ReadyReplicas
ReadyReplicas *int `json:"readyReplicas"`
UnavailableReplicas *int `json:"unavailableReplicas"`
// UpdatedReplicas
UpdatedReplicas *int `json:"updatedReplicas"`
}
Deployment Status
type DisplayStrategy ¶ added in v0.52.0
type DisplayStrategy string
const ( // ALL_PARAMETERS DisplayStrategyAllParameters DisplayStrategy = "ALL_PARAMETERS" // ALL_SECTIONS DisplayStrategyAllSections DisplayStrategy = "ALL_SECTIONS" // SELECTED_SECTIONS DisplayStrategySelectedSections DisplayStrategy = "SELECTED_SECTIONS" )
func (DisplayStrategy) IsValid ¶ added in v0.52.0
func (e DisplayStrategy) IsValid() bool
func (DisplayStrategy) MarshalGQL ¶ added in v0.52.0
func (e DisplayStrategy) MarshalGQL(w io.Writer)
func (DisplayStrategy) String ¶ added in v0.52.0
func (e DisplayStrategy) String() string
func (*DisplayStrategy) UnmarshalGQL ¶ added in v0.52.0
func (e *DisplayStrategy) UnmarshalGQL(v interface{}) error
type DoraGeneralStatistics ¶ added in v0.43.5
type DoraGeneralStatistics struct {
// Total
Total float64 `json:"total"`
}
General stats data
type DoraMetricsGeneralStatistics ¶ added in v0.43.5
type DoraMetricsGeneralStatistics struct {
// Deployments
Deployments *DoraGeneralStatistics `json:"deployments"`
// Rollback
Rollbacks *DoraGeneralStatistics `json:"rollbacks"`
// Failure rate
FailureRate *DoraGeneralStatistics `json:"failureRate"`
// Commit / pull request
CommitOrPullRequests *DoraGeneralStatistics `json:"commitOrPullRequests"`
}
General dora metrics stats data
type DoraStatisticsData ¶ added in v0.43.5
type DoraStatisticsData struct {
// Time
Time string `json:"time"`
// Number of deployment
Value float64 `json:"value"`
}
Stats data for deployment frequency
type DoraStatisticsSummery ¶ added in v0.43.5
type DoraStatisticsSummery struct {
// Avg
Summery float64 `json:"summery"`
}
Stats summery for all dora graphs
type DurationName ¶ added in v0.55.0
type DurationName string
Duration Name
const ( DurationNameDelayDuration DurationName = "DELAY_DURATION" DurationNameInitializingDuration DurationName = "INITIALIZING_DURATION" DurationNamePendingApprovalDuration DurationName = "PENDING_APPROVAL_DURATION" DurationNamePendingConcurrencyDuration DurationName = "PENDING_CONCURRENCY_DURATION" DurationNameRunningDuration DurationName = "RUNNING_DURATION" DurationNameTotalDuration DurationName = "TOTAL_DURATION" )
func (DurationName) IsValid ¶ added in v0.55.0
func (e DurationName) IsValid() bool
func (DurationName) MarshalGQL ¶ added in v0.55.0
func (e DurationName) MarshalGQL(w io.Writer)
func (DurationName) String ¶ added in v0.55.0
func (e DurationName) String() string
func (*DurationName) UnmarshalGQL ¶ added in v0.55.0
func (e *DurationName) UnmarshalGQL(v interface{}) error
type EditGitIntegrationArgs ¶
type EditGitIntegrationArgs struct {
// Git integration name
Name *string `json:"name"`
// The address of the git provider api
APIURL *string `json:"apiUrl"`
// Sharing policy
SharingPolicy SharingPolicy `json:"sharingPolicy"`
}
Git integration edit args
type EditGitSourceInput ¶ added in v0.41.0
type EditGitSourceInput struct {
// App name
AppName string `json:"appName"`
// The path to the source watched by the git-source, including srcRepo, srcPath, srcTargetRevision
AppSpecifier string `json:"appSpecifier"`
// Files to be included
Include *string `json:"include"`
// Files to be excluded
Exclude *string `json:"exclude"`
}
type EditRestrictedGitSourceInput ¶ added in v0.57.1
type EditRestrictedGitSourceInput struct {
// App name
AppName string `json:"appName"`
// The path to the source watched by the git-source, including srcRepo, srcPath, srcTargetRevision
AppSpecifier string `json:"appSpecifier"`
// The generated AppProject's sourceNamespace
SourceNamespace string `json:"sourceNamespace"`
// The generated AppProject's destinations array
Destinations []*AppProjectDestinationInput `json:"destinations"`
// The generated AppProject's sourceRepos array
SourceRepos []string `json:"sourceRepos"`
// Files to be included
Include *string `json:"include"`
// Files to be excluded
Exclude *string `json:"exclude"`
}
type EditUserToAccountArgs ¶
type EditUserToAccountArgs struct {
// User email
UserEmail string `json:"userEmail"`
// Is user Admin
IsAdmin bool `json:"isAdmin"`
// Users chosen sso id
Sso *string `json:"sso"`
// The user id
ID string `json:"id"`
// The current status of this user
Status string `json:"status"`
}
Args to edit user to account
type EntityReferenceMeta ¶ added in v0.37.9
type EntityReferenceMeta struct {
// GVK/group
Group string `json:"group"`
// GVK/version
Version string `json:"version"`
// GVK/kind
Kind string `json:"kind"`
// Runtime
Runtime string `json:"runtime"`
// Resource name
Name string `json:"name"`
// Resource namespace
Namespace string `json:"namespace"`
}
Entity Reference Meta
type Environment ¶ added in v0.57.1
type Environment struct {
// Entity db id
ID string `json:"id"`
// Environment name
Name string `json:"name"`
// Kind of environment
Kind EnvironmentKind `json:"kind"`
// Position of the environment on the dashboard
Position float64 `json:"position"`
// List of clusters that belong to this environment
Clusters []*EnvironmentCluster `json:"clusters"`
// List of userIds that mark resource as favorite
Favorites []string `json:"favorites"`
// Is favorite
Favorite bool `json:"favorite"`
}
Environment Entity
func (Environment) IsFavorableNotK8s ¶ added in v0.57.1
func (Environment) IsFavorableNotK8s()
func (Environment) IsFavorableNotK8sEntity ¶ added in v0.57.1
func (Environment) IsFavorableNotK8sEntity()
type EnvironmentCluster ¶ added in v0.57.1
type EnvironmentCluster struct {
// Runtime name
RuntimeName string `json:"runtimeName"`
// Cluster name
Name string `json:"name"`
// Cluster address
Server string `json:"server"`
// Cluster namespaces
Namespaces []string `json:"namespaces"`
}
Environment Cluster
type EnvironmentClusterInput ¶ added in v0.57.1
type EnvironmentClusterInput struct {
// Runtime name
RuntimeName string `json:"runtimeName"`
// Cluster name
Name string `json:"name"`
// Cluster address
Server string `json:"server"`
// Cluster namespaces
Namespaces []string `json:"namespaces"`
}
Environment Cluster
type EnvironmentConcurrency ¶ added in v0.37.7
type EnvironmentConcurrency struct {
// Price
Price *BasePrice `json:"price"`
// Amount
Amount *int `json:"amount"`
// Min
Min *int `json:"min"`
}
EnvironmentConcurrency
type EnvironmentFilterArgs ¶ added in v0.57.1
type EnvironmentFilterArgs struct {
// Partial name (case insensitive)
PartialName *string `json:"partialName"`
// Filter by user favorite
Favorite *bool `json:"favorite"`
}
Args to filter ApplicationGroup
type EnvironmentKind ¶ added in v0.57.1
type EnvironmentKind string
Kind of environment
const ( EnvironmentKindNonProd EnvironmentKind = "NON_PROD" EnvironmentKindProd EnvironmentKind = "PROD" )
func (EnvironmentKind) IsValid ¶ added in v0.57.1
func (e EnvironmentKind) IsValid() bool
func (EnvironmentKind) MarshalGQL ¶ added in v0.57.1
func (e EnvironmentKind) MarshalGQL(w io.Writer)
func (EnvironmentKind) String ¶ added in v0.57.1
func (e EnvironmentKind) String() string
func (*EnvironmentKind) UnmarshalGQL ¶ added in v0.57.1
func (e *EnvironmentKind) UnmarshalGQL(v interface{}) error
type EnvironmentRelativePos ¶ added in v0.57.1
type EnvironmentRelativePos string
"Relative position of the moved environment in relation to the target environment"
const ( EnvironmentRelativePosAfter EnvironmentRelativePos = "AFTER" EnvironmentRelativePosBefore EnvironmentRelativePos = "BEFORE" )
func (EnvironmentRelativePos) IsValid ¶ added in v0.57.1
func (e EnvironmentRelativePos) IsValid() bool
func (EnvironmentRelativePos) MarshalGQL ¶ added in v0.57.1
func (e EnvironmentRelativePos) MarshalGQL(w io.Writer)
func (EnvironmentRelativePos) String ¶ added in v0.57.1
func (e EnvironmentRelativePos) String() string
func (*EnvironmentRelativePos) UnmarshalGQL ¶ added in v0.57.1
func (e *EnvironmentRelativePos) UnmarshalGQL(v interface{}) error
type ErrorContext ¶
type ErrorContext struct {
// Repo url
RepoURL string `json:"repoURL"`
// Related revision
Revision string `json:"revision"`
// Git commit message
CommitMessage *string `json:"commitMessage"`
// Git commit date
CommitDate *string `json:"commitDate"`
// Git commit author
CommitAuthor *string `json:"commitAuthor"`
// Path to related file
Path string `json:"path"`
// Related line
Line *int `json:"line"`
// Commit url
CommitURL *string `json:"commitUrl"`
// Commit url with file
FileURL *string `json:"fileUrl"`
}
Error Context
type ErrorLevels ¶
type ErrorLevels string
Error severity levels
const ( // Error - The resource will not function correctly ErrorLevelsError ErrorLevels = "ERROR" // Warning - The resource may not function correctly ErrorLevelsWarning ErrorLevels = "WARNING" )
func (ErrorLevels) IsValid ¶
func (e ErrorLevels) IsValid() bool
func (ErrorLevels) MarshalGQL ¶
func (e ErrorLevels) MarshalGQL(w io.Writer)
func (ErrorLevels) String ¶
func (e ErrorLevels) String() string
func (*ErrorLevels) UnmarshalGQL ¶
func (e *ErrorLevels) UnmarshalGQL(v interface{}) error
type EventPayload ¶
type EventPayload struct {
// UID of event
UID *string `json:"uid"`
// Content of the event
Data *string `json:"data"`
// Time
Time *string `json:"time"`
// Event source
EventSource *EventSource `json:"eventSource"`
// Event name
EventName *string `json:"eventName"`
// Event type
EventType *string `json:"eventType"`
// Account
Account *string `json:"account"`
// Runtime
Runtime *string `json:"runtime"`
}
Event payload entity
func (EventPayload) IsEntity ¶
func (EventPayload) IsEntity()
type EventPayloadData ¶
type EventPayloadData interface {
IsEventPayloadData()
}
Event payload data types
type EventPayloadEdge ¶
type EventPayloadEdge struct {
// Node contains the actual event payload data
Node *EventPayload `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
EventPayload Edge
func (EventPayloadEdge) IsEdge ¶
func (EventPayloadEdge) IsEdge()
type EventPayloadSlice ¶
type EventPayloadSlice struct {
// EventPayload edges
Edges []*EventPayloadEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
EventPayload Slice
func (EventPayloadSlice) IsSlice ¶
func (EventPayloadSlice) IsSlice()
type EventSource ¶
type EventSource struct {
// Object metadata
Metadata *ObjectMeta `json:"metadata"`
// Errors
Errors []Error `json:"errors"`
// Entities referencing this entity
ReferencedBy []BaseEntity `json:"referencedBy"`
// Entities referenced by this enitity
References []BaseEntity `json:"references"`
// History of the event-source
History *GitOpsSlice `json:"history"`
// Version of the entity
Version *int `json:"version"`
// Is this the latest version of this entity
Latest *bool `json:"latest"`
// Entity source
Source *GitopsEntitySource `json:"source"`
// Sync status
SyncStatus SyncStatus `json:"syncStatus"`
// Health status
HealthStatus *HealthStatus `json:"healthStatus"`
// Health message
HealthMessage *string `json:"healthMessage"`
// Desired manifest
DesiredManifest *string `json:"desiredManifest"`
// Actual manifest
ActualManifest *string `json:"actualManifest"`
// Projects
Projects []string `json:"projects"`
}
Event source entity
func (EventSource) IsBaseEntity ¶
func (EventSource) IsBaseEntity()
func (EventSource) IsEntity ¶
func (EventSource) IsEntity()
func (EventSource) IsGitopsEntity ¶
func (EventSource) IsGitopsEntity()
func (EventSource) IsProjectBasedEntity ¶
func (EventSource) IsProjectBasedEntity()
type EventSourceEdge ¶
type EventSourceEdge struct {
// Node contains the actual event source data
Node *EventSource `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
Event source Edge
func (EventSourceEdge) IsEdge ¶
func (EventSourceEdge) IsEdge()
type EventSourceSlice ¶
type EventSourceSlice struct {
// Event source edges
Edges []*EventSourceEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
Event source Slice
func (EventSourceSlice) IsSlice ¶
func (EventSourceSlice) IsSlice()
type EventSourceType ¶ added in v0.37.4
type EventSourceType struct {
// Logic name
Key string `json:"key"`
// Human friendly name
Name string `json:"name"`
// List of the supported events by this event source type. CAP know how to filter this kind of events.
Events []*SupportedEventMapping `json:"events"`
}
Event source type
type Exception ¶ added in v0.37.8
type Exception struct {
// Execption type
Type *ExceptionType `json:"type"`
// Exception level
Global *bool `json:"global"`
// Exception description
Description *ExceptionDescription `json:"description"`
// Exception code
Code *int `json:"code"`
// Exception line
Line *int `json:"line"`
}
Exception
type ExceptionDescription ¶ added in v0.38.1
type ExceptionDescription struct {
// description message
Message string `json:"message"`
// Exception level
References []*BaseReference `json:"references"`
}
Exception description
type ExceptionType ¶ added in v0.37.8
type ExceptionType string
Exception level
const ( // Error ExceptionTypeError ExceptionType = "ERROR" // Warning ExceptionTypeWarning ExceptionType = "WARNING" )
func (ExceptionType) IsValid ¶ added in v0.37.8
func (e ExceptionType) IsValid() bool
func (ExceptionType) MarshalGQL ¶ added in v0.37.8
func (e ExceptionType) MarshalGQL(w io.Writer)
func (ExceptionType) String ¶ added in v0.37.8
func (e ExceptionType) String() string
func (*ExceptionType) UnmarshalGQL ¶ added in v0.37.8
func (e *ExceptionType) UnmarshalGQL(v interface{}) error
type FavorableNotK8s ¶ added in v0.57.1
type FavorableNotK8s interface {
IsFavorableNotK8s()
}
Favorable
type FavorableNotK8sEntity ¶ added in v0.57.1
type FavorableNotK8sEntity interface {
IsFavorableNotK8sEntity()
}
Favorable Not K8s Entity
type FavoriteInfoArgs ¶ added in v0.37.0
type FavoriteInfoArgs struct {
// Event-source kind
Kind string `json:"kind"`
// Event-source group
Group string `json:"group"`
// Event-source group
Version string `json:"version"`
// Event-source runtime name
Runtime string `json:"runtime"`
// Event-source name
Name string `json:"name"`
// Event-source namespace
Namespace *string `json:"namespace"`
// Event-source cluster URL
Cluster *string `json:"cluster"`
}
Args to set favorite for entity
type File ¶ added in v0.37.0
type File struct {
// File full path
Path string `json:"path"`
// File revision
Revision *string `json:"revision"`
// File data
Data string `json:"data"`
}
File
type FromState ¶ added in v0.37.4
type FromState struct {
// Services - for Deployments
Services []*ServiceItem `json:"services"`
// Rollouts
Rollouts []*ReleaseRolloutState `json:"rollouts"`
}
From State Entity
type GeneralStatistics ¶ added in v0.38.1
type GeneralStatistics struct {
// Runtimes statistics
Runtimes *RuntimesStatistics `json:"runtimes"`
// Clusters statistics
Clusters *ClustersStatistics `json:"clusters"`
}
Returns runtimes and clusters statistics
type GenerateImageReportSnippetInput ¶ added in v0.46.0
type GenerateImageReportSnippetInput struct {
// type
Type SupportedSnippetTypes `json:"type"`
// Arguments list
Args []*ImageReportSnippetArgument `json:"args"`
}
Generate image report snippet input
type GenericEntity ¶
type GenericEntity struct {
// Object metadata
Metadata *ObjectMeta `json:"metadata"`
// Errors
Errors []Error `json:"errors"`
// Entities referencing this entity
ReferencedBy []BaseEntity `json:"referencedBy"`
// Entities referenced by this enitity
References []BaseEntity `json:"references"`
// History of the generic entity
History *GitOpsSlice `json:"history"`
// Version of the entity
Version *int `json:"version"`
// Is this the latest version of this entity
Latest *bool `json:"latest"`
// Entity source
Source *GitopsEntitySource `json:"source"`
// Sync status
SyncStatus SyncStatus `json:"syncStatus"`
// Health status
HealthStatus *HealthStatus `json:"healthStatus"`
// Health message
HealthMessage *string `json:"healthMessage"`
// Desired manifest
DesiredManifest *string `json:"desiredManifest"`
// Actual manifest
ActualManifest *string `json:"actualManifest"`
// Projects
Projects []string `json:"projects"`
}
Generic entity
func (GenericEntity) IsBaseEntity ¶
func (GenericEntity) IsBaseEntity()
func (GenericEntity) IsEntity ¶
func (GenericEntity) IsEntity()
func (GenericEntity) IsGitopsEntity ¶
func (GenericEntity) IsGitopsEntity()
func (GenericEntity) IsProjectBasedEntity ¶
func (GenericEntity) IsProjectBasedEntity()
type GenericEntityEdge ¶
type GenericEntityEdge struct {
// Node contains the actual app-project data
Node *GenericEntity `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
GenericEntity Edge
func (GenericEntityEdge) IsEdge ¶
func (GenericEntityEdge) IsEdge()
type GenericEntitySlice ¶
type GenericEntitySlice struct {
// GenericEntity edges
Edges []*GenericEntityEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
GenericEntity Slice
func (GenericEntitySlice) IsSlice ¶
func (GenericEntitySlice) IsSlice()
type GenericErrorNotification ¶ added in v0.37.7
type GenericErrorNotification struct {
// Notification unique id
ID string `json:"id"`
// Account id
AccountID string `json:"accountId"`
// Notification type
Type *string `json:"type"`
// Text of error or warning message
Text *string `json:"text"`
// Notification kind
Kind string `json:"kind"`
// State of notification
State *NotificationState `json:"state"`
// Timestamp of notification
Timestamp string `json:"timestamp"`
// Notification type
NotificationType NotificationType `json:"notificationType"`
// Metadata object of the k8s entity
Metadata *ObjectMeta `json:"metadata"`
// Action type
Action *NotificationActionType `json:"action"`
}
Argo events generic Error Notification
func (GenericErrorNotification) IsArgoEventsNotification ¶ added in v0.37.7
func (GenericErrorNotification) IsArgoEventsNotification()
func (GenericErrorNotification) IsNotification ¶ added in v0.37.7
func (GenericErrorNotification) IsNotification()
type GetApplicationParamsInput ¶ added in v0.43.5
type GetApplicationParamsInput struct {
// Forces application reconciliation if set to true.
Refresh *RefreshType `json:"refresh"`
// When specified with a watch call, shows changes that occur after that particular version of a resource.
ResourceVersion *string `json:"resourceVersion"`
}
type GitAuthConfig ¶ added in v0.43.5
type GitAuthConfig struct {
// Metadata
Metadata *ConfigMapMetadata `json:"metadata"`
// Data
Data *GitAuthProvidersData `json:"data"`
// Sync status
SyncStatus SyncStatus `json:"syncStatus"`
// Entity source
Source *GitConfigEntitySource `json:"source"`
}
GitAuthConfig
type GitAuthConfigFormData ¶ added in v0.43.5
type GitAuthConfigFormData struct {
// Metadata
Metadata *ConfigMapMetadata `json:"metadata"`
// Data
Data *GitAuthProvidersData `json:"data"`
// Sync status
SyncStatus *SyncStatus `json:"syncStatus"`
}
GitAuthConfig form data object
type GitAuthMode ¶ added in v0.43.5
type GitAuthMode string
GitAuthMode
const ( // CODEFRESH mode GitAuthModeCodefresh GitAuthMode = "CODEFRESH" // CUSTOM mode GitAuthModeCustom GitAuthMode = "CUSTOM" // PAT mode GitAuthModePat GitAuthMode = "PAT" )
func (GitAuthMode) IsValid ¶ added in v0.43.5
func (e GitAuthMode) IsValid() bool
func (GitAuthMode) MarshalGQL ¶ added in v0.43.5
func (e GitAuthMode) MarshalGQL(w io.Writer)
func (GitAuthMode) String ¶ added in v0.43.5
func (e GitAuthMode) String() string
func (*GitAuthMode) UnmarshalGQL ¶ added in v0.43.5
func (e *GitAuthMode) UnmarshalGQL(v interface{}) error
type GitAuthProviderConfig ¶ added in v0.43.5
type GitAuthProviderConfig struct {
// Provider
Provider string `json:"provider"`
// Mode
Mode GitAuthMode `json:"mode"`
// AppName
AppName *string `json:"appName"`
// Secret
Secret *SecretData `json:"secret"`
}
GitAuthProviderConfigData
type GitAuthProvidersData ¶ added in v0.43.5
type GitAuthProvidersData struct {
// Config
Config *GitAuthProviderConfig `json:"config"`
}
GitAuthProvidersData
type GitAuthenticationDetails ¶ added in v0.44.2
type GitAuthenticationDetails struct {
// Git Provider
Provider GitProviders `json:"provider"`
// Git provider API url
APIURL *string `json:"apiUrl"`
// Username
Username *string `json:"username"`
// Password
Password *string `json:"password"`
// Refresh Token
RefreshToken *string `json:"refreshToken"`
}
Git authentication details - can be provided instead of git integration
type GitConfigEntitySource ¶ added in v0.43.8
type GitConfigEntitySource struct {
// GitSource
GitSource *string `json:"gitSource"`
// RepoURL
RepoURL *string `json:"repoURL"`
// Path
Path *string `json:"path"`
// Revision
Revision *string `json:"revision"`
// CommitMessage
CommitMessage *string `json:"commitMessage"`
// CommitDate
CommitDate *string `json:"commitDate"`
// CommitAuthor
CommitAuthor *string `json:"commitAuthor"`
// SyncStartedAt
SyncStartedAt *string `json:"syncStartedAt"`
// SyncFinishedAt
SyncFinishedAt *string `json:"syncFinishedAt"`
// ResourceAction
ResourceAction *ResourceAction `json:"resourceAction"`
}
GitConfigEntitySource
type GitIntegration ¶
type GitIntegration struct {
// Git integration name
Name string `json:"name"`
// Sharing policy
SharingPolicy SharingPolicy `json:"sharingPolicy"`
// Git provider
Provider GitProviders `json:"provider"`
// The address of the git provider api
APIURL string `json:"apiUrl"`
// Deprecated: List of user ids that registered themselves to this git integration
RegisteredUsers []string `json:"registeredUsers"`
// Git integration registrations for users
Users []*UserGitIntegration `json:"users"`
}
Git integration
func (GitIntegration) IsIntegration ¶
func (GitIntegration) IsIntegration()
type GitOpsEdge ¶
type GitOpsEdge struct {
// Node contains the actual component data
Node GitopsEntity `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
GitOps Edge
type GitOpsNotification ¶ added in v0.37.7
type GitOpsNotification interface {
IsGitOpsNotification()
}
Notification That is part of a process
type GitOpsSettings ¶ added in v0.52.0
type GitOpsSettings struct {
// Account id
AccountID string `json:"accountId"`
// Is hide runtime hosted boxes in ui
IsHideHostedRuntimeBoxes bool `json:"isHideHostedRuntimeBoxes"`
}
GitOps settings
type GitOpsSlice ¶
type GitOpsSlice struct {
// GitOps edges
Edges []*GitOpsEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
GitOps Slice
type GitOrganization ¶ added in v0.44.2
type GitOrganization struct {
// Name
Name string `json:"name"`
}
GitOrganization
type GitOrganizationsArgs ¶ added in v0.44.2
type GitOrganizationsArgs struct {
// Git integration name, if not provided will use the default one
IntegrationName *string `json:"integrationName"`
// Git authentication details - can be provided instead of integration name
AuthDetails *GitAuthenticationDetails `json:"authDetails"`
}
Git Organizations Args
type GitPRComment ¶
type GitPRComment struct {
// Comment message
Message string `json:"message"`
// Comment author
Author string `json:"author"`
// Comment author association
AuthorAssociation *string `json:"authorAssociation"`
}
"PR Comment data
type GitPREventPayloadData ¶
type GitPREventPayloadData struct {
// Event payload type
Type PayloadDataTypes `json:"type"`
// Event uid
UID string `json:"uid"`
// Event source name
EventSource *string `json:"eventSource"`
// The relevant event name in the event source
EventName *string `json:"eventName"`
// Name of the git event
Event string `json:"event"`
// Git provider
Provider string `json:"provider"`
// Repository
Repository *WorkflowRepository `json:"repository"`
// Event initiator
Initiator *Initiator `json:"initiator"`
// Event timestamp
Timestamp *string `json:"timestamp"`
// PR data
Pr *GitPr `json:"pr"`
}
"PR event
func (GitPREventPayloadData) IsCommonGitEventPayloadData ¶
func (GitPREventPayloadData) IsCommonGitEventPayloadData()
func (GitPREventPayloadData) IsEventPayloadData ¶
func (GitPREventPayloadData) IsEventPayloadData()
type GitPr ¶
type GitPr struct {
// PR action
Action string `json:"action"`
// PR id
ID string `json:"id"`
// PR title
Title string `json:"title"`
// PR url
URL string `json:"url"`
// PR number
Number int `json:"number"`
// PR labels
Labels []string `json:"labels"`
// PR head
Head *GitPushCommitRevision `json:"head"`
// PR target
Target *GitPushCommitTargetRevision `json:"target"`
// Indicates if a PR was merged
Merged *bool `json:"merged"`
// Indicates if a PR comes from forked repo
Fork *GitPrFork `json:"fork"`
// PR comment
Comment *GitPRComment `json:"comment"`
// Modified files
ModifiedFiles []string `json:"modifiedFiles"`
}
"PR data
type GitPrFork ¶
type GitPrFork struct {
// Repository
Repository *WorkflowRepository `json:"repository"`
}
"PR fork data
type GitProviders ¶
type GitProviders string
Git providers
const ( // Bitbucket cloud GitProvidersBitbucket GitProviders = "BITBUCKET" // Bitbucket server GitProvidersBitbucketServer GitProviders = "BITBUCKET_SERVER" // Gerrit GitProvidersGerrit GitProviders = "GERRIT" // Github GitProvidersGithub GitProviders = "GITHUB" // Gitlab GitProvidersGitlab GitProviders = "GITLAB" )
func (GitProviders) IsValid ¶
func (e GitProviders) IsValid() bool
func (GitProviders) MarshalGQL ¶
func (e GitProviders) MarshalGQL(w io.Writer)
func (GitProviders) String ¶
func (e GitProviders) String() string
func (*GitProviders) UnmarshalGQL ¶
func (e *GitProviders) UnmarshalGQL(v interface{}) error
type GitPushCommit ¶
type GitPushCommit struct {
// Commit message
Message string `json:"message"`
// Commit url
URL string `json:"url"`
// Push revision
Head *GitPushCommitRevision `json:"head"`
// Push subject type
SubjectType GitPushPayloadDataTypes `json:"subjectType"`
// Modified files
ModifiedFiles []string `json:"modifiedFiles"`
}
"Push commit event data
func (GitPushCommit) IsGitPush ¶
func (GitPushCommit) IsGitPush()
type GitPushCommitRevision ¶
type GitPushCommitRevision struct {
// Branch name
Branch string `json:"branch"`
// Branch URL
BranchURL string `json:"branchURL"`
// SHA
Sha string `json:"sha"`
// SHA URL
ShaURL string `json:"shaURL"`
}
"Commit revision data
type GitPushCommitTargetRevision ¶
type GitPushCommitTargetRevision struct {
// Branch name
Branch string `json:"branch"`
// Branch URL
BranchURL string `json:"branchURL"`
// SHA
Sha *string `json:"sha"`
// SHA URL
ShaURL *string `json:"shaURL"`
}
"PR target commit revision data
type GitPushEventPayloadData ¶
type GitPushEventPayloadData struct {
// Event payload type
Type PayloadDataTypes `json:"type"`
// Event uid
UID string `json:"uid"`
// Event source name
EventSource *string `json:"eventSource"`
// The relevant event name in the event source
EventName *string `json:"eventName"`
// Name of the git event
Event string `json:"event"`
// Git provider
Provider string `json:"provider"`
// Repository
Repository *WorkflowRepository `json:"repository"`
// Event initiator
Initiator *Initiator `json:"initiator"`
// Event timestamp
Timestamp *string `json:"timestamp"`
// Push data
Push GitPush `json:"push"`
}
"Push event
func (GitPushEventPayloadData) IsCommonGitEventPayloadData ¶
func (GitPushEventPayloadData) IsCommonGitEventPayloadData()
func (GitPushEventPayloadData) IsEventPayloadData ¶
func (GitPushEventPayloadData) IsEventPayloadData()
type GitPushPayloadDataTypes ¶
type GitPushPayloadDataTypes string
Types of push event
const ( GitPushPayloadDataTypesBranch GitPushPayloadDataTypes = "branch" GitPushPayloadDataTypesTag GitPushPayloadDataTypes = "tag" )
func (GitPushPayloadDataTypes) IsValid ¶
func (e GitPushPayloadDataTypes) IsValid() bool
func (GitPushPayloadDataTypes) MarshalGQL ¶
func (e GitPushPayloadDataTypes) MarshalGQL(w io.Writer)
func (GitPushPayloadDataTypes) String ¶
func (e GitPushPayloadDataTypes) String() string
func (*GitPushPayloadDataTypes) UnmarshalGQL ¶
func (e *GitPushPayloadDataTypes) UnmarshalGQL(v interface{}) error
type GitPushTag ¶
type GitPushTag struct {
// Commit message
Message string `json:"message"`
// Commit url
URL string `json:"url"`
// Tag revision
Head *GitPushTagRevision `json:"head"`
// Push subject type
SubjectType GitPushPayloadDataTypes `json:"subjectType"`
// Modified files
ModifiedFiles []string `json:"modifiedFiles"`
}
"Push commit event data
func (GitPushTag) IsGitPush ¶
func (GitPushTag) IsGitPush()
type GitPushTagRevision ¶
type GitPushTagRevision struct {
// Tag name
Tag string `json:"tag"`
// Tag URL
TagURL string `json:"tagURL"`
// SHA
Sha string `json:"sha"`
// SHA URL
ShaURL string `json:"shaURL"`
}
"Tag revision data
type GitRelease ¶
type GitRelease struct {
// Release action
Action string `json:"action"`
// Release id
ID string `json:"id"`
// Release name
Name string `json:"name"`
// Release tag name
TagName string `json:"tagName"`
// Indicates if current release is a pre release
IsPreRelease bool `json:"isPreRelease"`
}
"Release data
type GitReleaseEventPayloadData ¶
type GitReleaseEventPayloadData struct {
// Event payload type
Type PayloadDataTypes `json:"type"`
// Event uid
UID string `json:"uid"`
// The relevant event name in the event source
EventName *string `json:"eventName"`
// Event source name
EventSource *string `json:"eventSource"`
// Name of the git event
Event string `json:"event"`
// Git provider
Provider string `json:"provider"`
// Repository
Repository *WorkflowRepository `json:"repository"`
// Event initiator
Initiator *Initiator `json:"initiator"`
// Event timestamp
Timestamp *string `json:"timestamp"`
// Release data
Release *GitRelease `json:"release"`
}
"Release event
func (GitReleaseEventPayloadData) IsCommonGitEventPayloadData ¶
func (GitReleaseEventPayloadData) IsCommonGitEventPayloadData()
func (GitReleaseEventPayloadData) IsEventPayloadData ¶
func (GitReleaseEventPayloadData) IsEventPayloadData()
type GitRepositoriesArgs ¶ added in v0.37.0
type GitRepositoriesArgs struct {
// Git integration name, if not provided will use the default one
IntegrationName *string `json:"integrationName"`
// If empty will return first page
Page *int `json:"page"`
// Default 100, max 200 results per page
Limit *int `json:"limit"`
}
Git Repositories Args
type GitSource ¶
type GitSource struct {
// Object metadata
Metadata *ObjectMeta `json:"metadata"`
// Errors
Errors []Error `json:"errors"`
// Entities referencing this entity
ReferencedBy []BaseEntity `json:"referencedBy"`
// Entities referenced by this enitity
References []BaseEntity `json:"references"`
// Self entity reference for the real k8s entity in case of codefresh logical entity
Self *Application `json:"self"`
// History of the GitSource
History *CompositeSlice `json:"history"`
// Sync status
SyncStatus SyncStatus `json:"syncStatus"`
// Health status
HealthStatus *HealthStatus `json:"healthStatus"`
// Health message
HealthMessage *string `json:"healthMessage"`
// Is this a restricted git-source
IsRestricted bool `json:"isRestricted"`
// Projects
Projects []string `json:"projects"`
// Permissions to this git source
Permissions []*Permission `json:"permissions"`
}
Git source entity
func (GitSource) IsBaseEntity ¶
func (GitSource) IsBaseEntity()
func (GitSource) IsK8sLogicEntity ¶
func (GitSource) IsK8sLogicEntity()
func (GitSource) IsProjectBasedEntity ¶
func (GitSource) IsProjectBasedEntity()
type GitSourceEdge ¶
type GitSourceEdge struct {
// Node contains the actual git source data
Node *GitSource `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
Git source Edge
func (GitSourceEdge) IsEdge ¶
func (GitSourceEdge) IsEdge()
type GitSourceNotification ¶ added in v0.37.0
type GitSourceNotification struct {
// Commit information that triggered sync
Source *GitopsEntitySource `json:"source"`
// Link to the git-source in git provider
GsRepoLink *string `json:"gsRepoLink"`
// Sync status
GsSyncStatus SyncStatus `json:"gsSyncStatus"`
// Revision
Revision string `json:"revision"`
// Metadata object of the k8s entity
Metadata *ObjectMeta `json:"metadata"`
// Action type
Action *NotificationActionType `json:"action"`
// Notification unique id
ID string `json:"id"`
// Account id
AccountID string `json:"accountId"`
// Text of error or warning message
Text *string `json:"text"`
// Notification kind
Kind string `json:"kind"`
// State of notification
State *NotificationState `json:"state"`
// Timestamp of notification
Timestamp string `json:"timestamp"`
// Notification type
NotificationType NotificationType `json:"notificationType"`
}
Git Source Notification
func (GitSourceNotification) IsArgoCDNotification ¶ added in v0.37.7
func (GitSourceNotification) IsArgoCDNotification()
func (GitSourceNotification) IsGitOpsNotification ¶ added in v0.37.7
func (GitSourceNotification) IsGitOpsNotification()
func (GitSourceNotification) IsNotification ¶ added in v0.37.7
func (GitSourceNotification) IsNotification()
type GitSourceSlice ¶
type GitSourceSlice struct {
// Git source edges
Edges []*GitSourceEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
Git source Slice
func (GitSourceSlice) IsSlice ¶
func (GitSourceSlice) IsSlice()
type GitUnknownEventPayloadData ¶
type GitUnknownEventPayloadData struct {
// Event payload type
Type PayloadDataTypes `json:"type"`
// Event uid
UID string `json:"uid"`
// Event source name
EventSource *string `json:"eventSource"`
// The relevant event name in the event source
EventName *string `json:"eventName"`
// Name of the git event
Event string `json:"event"`
// Git provider
Provider string `json:"provider"`
// Repository
Repository *WorkflowRepository `json:"repository"`
// Event timestamp
Timestamp *string `json:"timestamp"`
// Event initiator
Initiator *Initiator `json:"initiator"`
}
"Unknown Git event
func (GitUnknownEventPayloadData) IsCommonGitEventPayloadData ¶
func (GitUnknownEventPayloadData) IsCommonGitEventPayloadData()
func (GitUnknownEventPayloadData) IsEventPayloadData ¶
func (GitUnknownEventPayloadData) IsEventPayloadData()
type GithubEvent ¶
type GithubEvent struct {
// Name
Name string `json:"name"`
// Repository owner
Owner string `json:"owner"`
// Repository names
Repositories []string `json:"repositories"`
// Webhook events
Events []string `json:"events"`
}
Github event
func (GithubEvent) IsEvent ¶
func (GithubEvent) IsEvent()
type GithubTriggerConditions ¶ added in v0.37.7
type GithubTriggerConditions struct {
// Event type from mapping (push, pull_request etc.)
EventType string `json:"eventType"`
// EventSource name (for backward converting from trigger conditions)
EventSource *string `json:"eventSource"`
// EventSource event name (for backward converting from trigger conditions)
EventSourceEvent *string `json:"eventSourceEvent"`
// Base url for github enterprise
BaseURL *string `json:"baseUrl"`
// Dependency name (for backward converting from trigger conditions)
Dependency *string `json:"dependency"`
// Repositories
Repositories []string `json:"repositories"`
// Filters for this trigger condition
Filters *TriggerConditionFilters `json:"filters"`
// Parameters chosen for each event type (push, pull_request...)
Parameters []*TriggerConditionParameter `json:"parameters"`
}
Github trigger conditions
type GithubTriggerConditionsArgs ¶ added in v0.37.7
type GithubTriggerConditionsArgs struct {
// Specific github event (push, push.heads, pull_request etc.)
EventType string `json:"eventType"`
// EventSource name (for backward converting from trigger conditions)
EventSource *string `json:"eventSource"`
// EventSource event name (for backward converting from trigger conditions)
EventSourceEvent *string `json:"eventSourceEvent"`
// Dependency name (for backward converting from trigger conditions)
Dependency *string `json:"dependency"`
// Base url for github enterprise
BaseURL *string `json:"baseUrl"`
// Repositories
Repositories []*string `json:"repositories"`
// Filters for this trigger condition
Filters *TriggerConditionFiltersArgs `json:"filters"`
// Parameters choosen for each event type (push, pull_request...)
Parameters []*TriggerConditionParameterArgs `json:"parameters"`
// serverCertSecret refers the secret that contains the server cert.
ServerCertSecret *SecretKeySelector `json:"serverCertSecret"`
}
Github trigger conditions
type GitlabTriggerConditions ¶ added in v0.45.0
type GitlabTriggerConditions struct {
// Event type from mapping (push, pull_request etc.)
EventType string `json:"eventType"`
// EventSource name (for backward converting from trigger conditions)
EventSource *string `json:"eventSource"`
// EventSource event name (for backward converting from trigger conditions)
EventSourceEvent *string `json:"eventSourceEvent"`
// Dependency name (for backward converting from trigger conditions)
Dependency *string `json:"dependency"`
// Repositories
Repositories []string `json:"repositories"`
// Gitlab enterprise url
BaseURL *string `json:"baseUrl"`
// Filters for this trigger condition
Filters *TriggerConditionFilters `json:"filters"`
// Parameters choosen for each event type (push, pull_request...)
Parameters []*TriggerConditionParameter `json:"parameters"`
}
Gitlab trigger conditions
type GitlabTriggerConditionsArgs ¶ added in v0.45.0
type GitlabTriggerConditionsArgs struct {
// Specific gitlab event (push, push.heads, pull_request etc.)
EventType string `json:"eventType"`
// EventSource name (for backward converting from trigger conditions)
EventSource *string `json:"eventSource"`
// EventSource event name (for backward converting from trigger conditions)
EventSourceEvent *string `json:"eventSourceEvent"`
// Dependency name (for backward converting from trigger conditions)
Dependency *string `json:"dependency"`
// Repositories
Repositories []string `json:"repositories"`
// Base url
BaseURL *string `json:"baseUrl"`
// Filters for this trigger condition
Filters *TriggerConditionFiltersArgs `json:"filters"`
// Parameters choosen for each event type (push, pull_request...)
Parameters []*TriggerConditionParameterArgs `json:"parameters"`
// serverCertSecret refers the secret that contains the server cert.
ServerCertSecret *SecretKeySelector `json:"serverCertSecret"`
}
Gitlab trigger conditions
type GitopsEntitySource ¶
type GitopsEntitySource struct {
// Entity source
GitSource *GitSource `json:"gitSource"`
// Repo URL
RepoURL *string `json:"repoURL"`
// Path
Path *string `json:"path"`
// Full web url to file in commit
FileURL *string `json:"fileURL"`
// Git revision
Revision *string `json:"revision"`
// Git commit message
CommitMessage *string `json:"commitMessage"`
// Git commit date
CommitDate *string `json:"commitDate"`
// Git commit web url
CommitURL *string `json:"commitURL"`
// Git commit author
CommitAuthor *string `json:"commitAuthor"`
// Author web profile url
ProfileURL *string `json:"profileURL"`
// Author avatar url
AvatarURL *string `json:"avatarURL"`
// Git manifest
GitManifest *string `json:"gitManifest"`
// The resource action
ResourceAction *ResourceAction `json:"resourceAction"`
}
Gitops entity source
type GitopsRelease ¶ added in v0.37.4
type GitopsRelease struct {
// Object metadata
ApplicationMetadata *ObjectMeta `json:"applicationMetadata"`
// History id
HistoryID int `json:"historyId"`
// Related argocd history id
ArgoHistoryID *int `json:"argoHistoryId"`
// Application field
Application *ApplicationField `json:"application"`
// Operation State (argo)
OperationState *ApplicationOperationState `json:"operationState"`
// Child applications
ChildApps []*ChildApplicationField `json:"childApps"`
// From state
FromState *FromState `json:"fromState"`
// To state
ToState *ToState `json:"toState"`
// Transition
Transition *Transition `json:"transition"`
// Current release flag
Current *bool `json:"current"`
}
Gitops Release Entity
type GitopsReleaseApplicationArgs ¶ added in v0.37.7
type GitopsReleaseApplicationArgs struct {
// App Group name
AppGroupName *string `json:"appGroupName"`
// Runtime
Runtime *string `json:"runtime"`
// Name
Name *string `json:"name"`
// Namespace
Namespace *string `json:"namespace"`
// Group
Group *string `json:"group"`
// Version
Version *string `json:"version"`
// Kind
Kind *string `json:"kind"`
}
Args to define application
type GitopsReleaseChartRecord ¶ added in v0.37.7
type GitopsReleaseChartRecord struct {
// Date
Date string `json:"date"`
// Date
Releases []*GitopsReleaseChartRelease `json:"releases"`
}
Gitops Release chart record
type GitopsReleaseChartRelease ¶ added in v0.37.7
type GitopsReleaseChartRelease struct {
// Date
SyncStartedAt *string `json:"syncStartedAt"`
// Health status
HealthStatus HealthStatus `json:"healthStatus"`
// History id
HistoryID int `json:"historyId"`
// Object metadata
ApplicationMetadata *ObjectMeta `json:"applicationMetadata"`
}
Gitops Release chart release
type GitopsReleaseEdge ¶ added in v0.37.4
type GitopsReleaseEdge struct {
// Node contains the actual application data
Node *GitopsRelease `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
Release Edge
type GitopsReleaseFilterArgs ¶ added in v0.37.4
type GitopsReleaseFilterArgs struct {
// Runtime
Runtime *string `json:"runtime"`
// Name
Name *string `json:"name"`
// Namespace
Namespace *string `json:"namespace"`
// Group
Group *string `json:"group"`
// Version
Version *string `json:"version"`
// Kind
Kind *string `json:"kind"`
// HistoryId
HistoryID *int `json:"historyId"`
// Issue key
IssueKey *string `json:"issueKey"`
// PR key
PrKey *string `json:"prKey"`
// Committer
Committer *string `json:"committer"`
// Issue key array
IssueKeys []string `json:"issueKeys"`
// PR key array
PrKeys []string `json:"prKeys"`
// Committers array
Committers []string `json:"committers"`
// Filter workflows from a specific start date
SyncStartDateFrom *string `json:"syncStartDateFrom"`
// Filter workflows to a specific start date
SyncStartDateTo *string `json:"syncStartDateTo"`
// Start date
StartDate *string `json:"startDate"`
// End date
EndDate *string `json:"endDate"`
// Jira report filter
JiraReportFilter *bool `json:"jiraReportFilter"`
// App Group name
AppGroupName *string `json:"appGroupName"`
}
Args to filter release
type GitopsReleaseSlice ¶ added in v0.37.4
type GitopsReleaseSlice struct {
// Release edges
Edges []*GitopsReleaseEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
Gitops Release Slice
type GitopsReleasesSortingField ¶ added in v0.37.8
type GitopsReleasesSortingField string
Gitops Releases Sorting field
const ( // By date GitopsReleasesSortingFieldCreatedAt GitopsReleasesSortingField = "createdAt" // By health status GitopsReleasesSortingFieldHealthStatus GitopsReleasesSortingField = "healthStatus" // By history id (for chronological sorting) GitopsReleasesSortingFieldHistoryID GitopsReleasesSortingField = "historyId" // By sync status GitopsReleasesSortingFieldSyncStatus GitopsReleasesSortingField = "syncStatus" )
func (GitopsReleasesSortingField) IsValid ¶ added in v0.37.8
func (e GitopsReleasesSortingField) IsValid() bool
func (GitopsReleasesSortingField) MarshalGQL ¶ added in v0.37.8
func (e GitopsReleasesSortingField) MarshalGQL(w io.Writer)
func (GitopsReleasesSortingField) String ¶ added in v0.37.8
func (e GitopsReleasesSortingField) String() string
func (*GitopsReleasesSortingField) UnmarshalGQL ¶ added in v0.37.8
func (e *GitopsReleasesSortingField) UnmarshalGQL(v interface{}) error
type GoogleSso ¶ added in v0.37.7
type GoogleSso struct {
// ID
ID string `json:"id"`
// Client type
ClientType string `json:"clientType"`
// Client name
ClientName string `json:"clientName"`
// Display name
DisplayName string `json:"displayName"`
// Accounts
Accounts []*string `json:"accounts"`
// Access token
AccessToken *string `json:"accessToken"`
// Client Id, appId in Azure
ClientID *string `json:"clientId"`
// Client secret
ClientSecret *string `json:"clientSecret"`
// Onprem default IDP
OnpremDefaultIdp *bool `json:"onpremDefaultIdp"`
// Redirect url
RedirectURL *string `json:"redirectUrl"`
// Redirect ui url
RedirectUIURL *string `json:"redirectUiUrl"`
// Login url
LoginURL *string `json:"loginUrl"`
// Default
Default *bool `json:"default"`
// ClientHost
ClientHost *string `json:"clientHost"`
// Scopes
Scopes []*string `json:"scopes"`
// Keyfile
Keyfile *string `json:"keyfile"`
// Subject
Subject *string `json:"subject"`
// Auto group sync
AutoGroupSync *bool `json:"autoGroupSync"`
// Sync interval
SyncInterval *string `json:"syncInterval"`
// SyncField
SyncField *string `json:"syncField"`
}
GoogleSSO
type HealthError ¶
type HealthError struct {
// Level
Level ErrorLevels `json:"level"`
// Title
Title string `json:"title"`
// Message
Message string `json:"message"`
// Suggestion
Suggestion *string `json:"suggestion"`
// The entity related to this error
Object BaseEntity `json:"object"`
// Error code
Code HealthErrorCodes `json:"code"`
// Last time this error has been seen
LastSeen string `json:"lastSeen"`
}
Health Error
func (HealthError) IsError ¶
func (HealthError) IsError()
type HealthErrorCodes ¶
type HealthErrorCodes string
Health Error codes
const ( // The resource has a reference to a non-existing resource HealthErrorCodesBrokenReference HealthErrorCodes = "BROKEN_REFERENCE" // The runtime is not active HealthErrorCodesInactiveRuntime HealthErrorCodes = "INACTIVE_RUNTIME" // The resource has insufficient resources HealthErrorCodesInsufficientResources HealthErrorCodes = "INSUFFICIENT_RESOURCES" // Runtime Installation error HealthErrorCodesRuntimeInstallationError HealthErrorCodes = "RUNTIME_INSTALLATION_ERROR" // Transitive health error that originates from one of referenced entities HealthErrorCodesTransitiveError HealthErrorCodes = "TRANSITIVE_ERROR" // Uknown sync error HealthErrorCodesUnknown HealthErrorCodes = "UNKNOWN" )
func (HealthErrorCodes) IsValid ¶
func (e HealthErrorCodes) IsValid() bool
func (HealthErrorCodes) MarshalGQL ¶
func (e HealthErrorCodes) MarshalGQL(w io.Writer)
func (HealthErrorCodes) String ¶
func (e HealthErrorCodes) String() string
func (*HealthErrorCodes) UnmarshalGQL ¶
func (e *HealthErrorCodes) UnmarshalGQL(v interface{}) error
type HealthErrorInput ¶
type HealthErrorInput struct {
// Level
Level ErrorLevels `json:"level"`
// Message
Message string `json:"message"`
}
Health Error Input
type HealthStatus ¶
type HealthStatus string
Health Status
const ( // resource status indicates failure HealthStatusDegraded HealthStatus = "DEGRADED" // resource is healthy HealthStatusHealthy HealthStatus = "HEALTHY" // resource is missing from the cluster HealthStatusMissing HealthStatus = "MISSING" // resource not yet healthy but has a chance to become healthy HealthStatusProgressing HealthStatus = "PROGRESSING" // resource is suspended (for example: cronjob) HealthStatusSuspended HealthStatus = "SUSPENDED" // CUSTOM status, used in case when resource update process was interrupted by new changes HealthStatusTerminated HealthStatus = "TERMINATED" // health assessment failed HealthStatusUnknown HealthStatus = "UNKNOWN" )
func (HealthStatus) IsValid ¶
func (e HealthStatus) IsValid() bool
func (HealthStatus) MarshalGQL ¶
func (e HealthStatus) MarshalGQL(w io.Writer)
func (HealthStatus) String ¶
func (e HealthStatus) String() string
func (*HealthStatus) UnmarshalGQL ¶
func (e *HealthStatus) UnmarshalGQL(v interface{}) error
type HelmSource ¶ added in v0.53.0
type HierarchyRef ¶ added in v0.37.7
type HierarchyRef struct {
// Name
Name *string `json:"name"`
// Group
Group string `json:"group"`
// Version
Version string `json:"version"`
// Kind
Kind string `json:"kind"`
// Namespace
Namespace *string `json:"namespace"`
// Ref line number
Line *int `json:"line"`
}
Workflow template ref Hierarchy
type HierarchyStep ¶ added in v0.37.7
type HierarchyStep struct {
// Step name
Name string `json:"name"`
// Line number of the step
Line *int `json:"line"`
}
WorkflowTemplate Hierarchy Step
type HierarchyTemplate ¶ added in v0.37.7
type HierarchyTemplate struct {
// Template name
Name string `json:"name"`
// Line number of the step
Line *int `json:"line"`
// Steps
Steps []*HierarchyStep `json:"steps"`
}
WorkflowTemplate Steps Template
type HierarchyTemplates ¶ added in v0.37.7
type HierarchyTemplates struct {
// WorkflowTemlate name
Name *string `json:"name"`
// WorkflowTemlate name line number
Line *int `json:"line"`
// WorkflowTemplate templates structer heiarchy
Steps []*HierarchyTemplate `json:"steps"`
// WorkflowTemplate templates structer heiarchy
Refs []*HierarchyRef `json:"refs"`
}
WorkflowTemplate templates hierarchy
type IDDiscriminator ¶ added in v0.52.0
type IDDiscriminator string
const ( // workflows IDDiscriminatorWorkflows IDDiscriminator = "WORKFLOWS" // archived-workflows IDDiscriminatorArchivedWorkflows IDDiscriminator = "ARCHIVED_WORKFLOWS" )
func (IDDiscriminator) IsValid ¶ added in v0.52.0
func (e IDDiscriminator) IsValid() bool
func (IDDiscriminator) MarshalGQL ¶ added in v0.52.0
func (e IDDiscriminator) MarshalGQL(w io.Writer)
func (IDDiscriminator) String ¶ added in v0.52.0
func (e IDDiscriminator) String() string
func (*IDDiscriminator) UnmarshalGQL ¶ added in v0.52.0
func (e *IDDiscriminator) UnmarshalGQL(v interface{}) error
type Icon ¶ added in v0.52.0
type Icon struct {
// Icon Name
Name string `json:"name"`
// Icon type
Type IconType `json:"type"`
// Icon path
Path *string `json:"path"`
}
Icon type
type IconType ¶ added in v0.52.0
type IconType string
func (IconType) MarshalGQL ¶ added in v0.52.0
func (*IconType) UnmarshalGQL ¶ added in v0.52.0
type ImageApplication ¶ added in v0.37.7
type ImageApplication struct {
// Application Ref metadata
ApplicationRef *ObjectMeta `json:"applicationRef"`
// Argo CD application destination config
ApplicationDestination *ArgoCDApplicationDestination `json:"applicationDestination"`
// Application git info
ApplicationGitInfo *ImageApplicationGitInfo `json:"applicationGitInfo"`
// Image repository name
RepositoryName string `json:"repositoryName"`
// Tag
Tag string `json:"tag"`
// Image binary id
BinaryID string `json:"binaryId"`
// Image service name
ServiceName *string `json:"serviceName"`
// Related binary
Binary *ImageBinary `json:"binary"`
// Currently deployed
CurrentlyDeployed bool `json:"currentlyDeployed"`
// Image name
ImageName *string `json:"imageName"`
// Image registry domain
ImageRegistryDomain ImageRegistryType `json:"imageRegistryDomain"`
}
Image application
type ImageApplicationCommitAuthor ¶ added in v0.37.7
type ImageApplicationCommitAuthor struct {
// Username
Username *string `json:"username"`
// Profile Url
ProfileURL *string `json:"profileUrl"`
// Avatar Url
AvatarURL *string `json:"avatarUrl"`
}
Application Commit Author
type ImageApplicationGitInfo ¶ added in v0.37.7
type ImageApplicationGitInfo struct {
// Git repo url
RepoURL *string `json:"repoURL"`
// Git branch
Branch *string `json:"branch"`
// Commit author
Author *ImageApplicationCommitAuthor `json:"author"`
// Commit message
CommitMessage *string `json:"commitMessage"`
// Commit url
CommitURL *string `json:"commitUrl"`
}
Image Application Git Info
type ImageBinariesInfo ¶ added in v0.55.0
type ImageBinariesInfo struct {
// ImageBinaries
Images []*ImageBinary `json:"images"`
// PRs annotations
Prs []*Annotation `json:"prs"`
// Issues annotations
Issues []*Annotation `json:"issues"`
// Generic annotations
Annotations []*Annotation `json:"annotations"`
// Dockerfile
DockerFile *string `json:"dockerFile"`
// Branch
Branch *string `json:"branch"`
// Commit
Commit *string `json:"commit"`
// CommitMsg
CommitMsg *string `json:"commitMsg"`
// CommitURL
CommitURL *string `json:"commitURL"`
// Git repository
GitRepository *string `json:"gitRepository"`
// Runtime
Runtime *RuntimeInfo `json:"runtime"`
// Author
Author *ImageBinaryAuthor `json:"author"`
}
Image binary info
type ImageBinary ¶ added in v0.37.4
type ImageBinary struct {
// Runtime
Runtime *RuntimeInfo `json:"runtime"`
// Id
ID string `json:"id"`
// Created
Created string `json:"created"`
// Last update
LastUpdate string `json:"lastUpdate"`
// ImageName
ImageName string `json:"imageName"`
// Image repository name
RepositoryName string `json:"repositoryName"`
// Branch
Branch *string `json:"branch"`
// Commit
Commit *string `json:"commit"`
// CommitMsg
CommitMsg *string `json:"commitMsg"`
// CommitURL
CommitURL *string `json:"commitURL"`
// Git repository
GitRepository *string `json:"gitRepository"`
// Git provider
GitProvider *string `json:"gitProvider"`
// AccountId
AccountID string `json:"accountId"`
// DockerFile
DockerFile *string `json:"dockerFile"`
// Size
Size *int `json:"size"`
// OS
Os *string `json:"os"`
// Architecture
Architecture *string `json:"architecture"`
// Info
Info *string `json:"info"`
// Author
Author *ImageBinaryAuthor `json:"author"`
// Workflow name
WorkflowName *string `json:"workflowName"`
// Workflow url
WorkflowURL *string `json:"workflowUrl"`
// CI provider
CiProvider *string `json:"ciProvider"`
// Logs url
LogsURL *string `json:"logsUrl"`
// Image registry
ImageRegistryDomains []ImageRegistryType `json:"imageRegistryDomains"`
// Image hash
Hash *string `json:"hash"`
// Image internal ID
InternalImageID *string `json:"internalImageId"`
// Image repo digest
RepoDigest *string `json:"repoDigest"`
// Image domain
ImageDomain ImageRegistryType `json:"imageDomain"`
}
Image binary entity
func (ImageBinary) IsEntity ¶ added in v0.37.4
func (ImageBinary) IsEntity()
type ImageBinaryAuthor ¶ added in v0.37.7
type ImageBinaryAuthor struct {
// Username
Username *string `json:"username"`
// Full name
FullName *string `json:"fullName"`
// Profile Url
ProfileURL *string `json:"profileUrl"`
// Avatar Url
AvatarURL *string `json:"avatarUrl"`
}
ImageBinaryAuthor
type ImageBinaryAuthorOutput ¶ added in v0.37.7
type ImageBinaryAuthorOutput struct {
// Username
Username *string `json:"username"`
// Avatar URL
AvatarURL *string `json:"avatarUrl"`
}
ImageBinaryAuthorOutput
type ImageBinaryEdge ¶ added in v0.37.4
type ImageBinaryEdge struct {
// Node contains the actual image binary data
Node *ImageBinary `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
Image Binary Edge
func (ImageBinaryEdge) IsEdge ¶ added in v0.37.4
func (ImageBinaryEdge) IsEdge()
type ImageBinaryOutput ¶ added in v0.37.4
type ImageBinaryOutput struct {
// Id
ID string `json:"id"`
// ImageName
ImageName string `json:"imageName"`
// Branch
Branch *string `json:"branch"`
// Commit
Commit *string `json:"commit"`
// CommitMsg
CommitMsg *string `json:"commitMsg"`
// CommitURL
CommitURL *string `json:"commitURL"`
// DockerFile
DockerFile *string `json:"dockerFile"`
// Size
Size *int `json:"size"`
// Os
Os *string `json:"os"`
// Architecture
Architecture *string `json:"architecture"`
// Info
Info *string `json:"info"`
// Info
Author *ImageBinaryAuthorOutput `json:"author"`
// Workflow name
WorkflowName *string `json:"workflowName"`
// Workflow url
WorkflowURL *string `json:"workflowUrl"`
// CI provider
CiProvider *string `json:"ciProvider"`
// Logs url
LogsURL *string `json:"logsUrl"`
// Image hash
Hash *string `json:"hash"`
// Image internal ID
InternalImageID *string `json:"internalImageId"`
// Image repo digest
RepoDigest *string `json:"repoDigest"`
}
ImageBinaryOutput
type ImageBinarySlice ¶ added in v0.37.4
type ImageBinarySlice struct {
// Image edges
Edges []*ImageBinaryEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
Images Binary Slice
func (ImageBinarySlice) IsSlice ¶ added in v0.37.4
func (ImageBinarySlice) IsSlice()
type ImageDetails ¶ added in v0.47.0
type ImageDetails struct {
// Image name
Name *string `json:"name"`
// Registry type
Type *ImageRegistryType `json:"type"`
// Link
Link *string `json:"link"`
}
Image Details
type ImageLayerOutput ¶ added in v0.52.0
type ImageLayerOutput struct {
// Created
Created string `json:"created"`
// Instruction
Instruction string `json:"instruction"`
// Size
Size int `json:"size"`
// Args
Args *string `json:"args"`
}
ImageLayerOutput
type ImageLayersOutput ¶ added in v0.52.0
type ImageLayersOutput struct {
// AccountId
AccountID string `json:"accountId"`
// Created
Created string `json:"created"`
// Image
Image string `json:"image"`
// LayerDigests
LayerDigests []string `json:"layerDigests"`
// Layers
Layers []*ImageLayerOutput `json:"layers"`
}
ImageLayersOutput
type ImagePullPolicy ¶ added in v0.37.4
type ImagePullPolicy string
Image pull policy Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated
const ( ImagePullPolicyAlways ImagePullPolicy = "Always" ImagePullPolicyIfNotPresent ImagePullPolicy = "IfNotPresent" ImagePullPolicyNever ImagePullPolicy = "Never" )
func (ImagePullPolicy) IsValid ¶ added in v0.37.4
func (e ImagePullPolicy) IsValid() bool
func (ImagePullPolicy) MarshalGQL ¶ added in v0.37.4
func (e ImagePullPolicy) MarshalGQL(w io.Writer)
func (ImagePullPolicy) String ¶ added in v0.37.4
func (e ImagePullPolicy) String() string
func (*ImagePullPolicy) UnmarshalGQL ¶ added in v0.37.4
func (e *ImagePullPolicy) UnmarshalGQL(v interface{}) error
type ImageRegistry ¶ added in v0.37.4
type ImageRegistry struct {
// Binary Id
BinaryID string `json:"binaryId"`
// Created
Created string `json:"created"`
// AccountId
AccountID string `json:"accountId"`
// Image repository name
RepositoryName string `json:"repositoryName"`
// Repo digest
RepoDigest *string `json:"repoDigest"`
// Tags
Tags []*ImageTag `json:"tags"`
// Registry
Registry *Registry `json:"registry"`
// Image internal id
InternalImageID *string `json:"internalImageId"`
}
Image Registry entity
func (ImageRegistry) IsEntity ¶ added in v0.37.4
func (ImageRegistry) IsEntity()
type ImageRegistryEdge ¶ added in v0.37.4
type ImageRegistryEdge struct {
// Node contains the actual image registry data
Node *ImageRegistry `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
Image Registry Edge
func (ImageRegistryEdge) IsEdge ¶ added in v0.37.4
func (ImageRegistryEdge) IsEdge()
type ImageRegistryOutput ¶ added in v0.37.4
type ImageRegistryOutput struct {
// Binary Id
BinaryID string `json:"binaryId"`
// Created
Created string `json:"created"`
// Image name
ImageName *string `json:"imageName"`
// Repo digest
RepoDigest *string `json:"repoDigest"`
// Tags
Tags []*ImageTagOutput `json:"tags"`
// Registry
Registry *RegistryOutput `json:"registry"`
// Image internal id
InternalImageID *string `json:"internalImageId"`
}
ImageRegistryOutput
type ImageRegistrySlice ¶ added in v0.37.4
type ImageRegistrySlice struct {
// Image registry edges
Edges []*ImageRegistryEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
Images Registry Slice
func (ImageRegistrySlice) IsSlice ¶ added in v0.37.4
func (ImageRegistrySlice) IsSlice()
type ImageRegistryType ¶ added in v0.37.4
type ImageRegistryType string
Image registry domain types
const ( // Docker hub ImageRegistryTypeDockerHub ImageRegistryType = "DOCKER_HUB" // Amazon ECR ImageRegistryTypeEcr ImageRegistryType = "ECR" // Google container Registry ImageRegistryTypeGcr ImageRegistryType = "GCR" // Ghcr ImageRegistryTypeGhcr ImageRegistryType = "GHCR" // Jfrog ImageRegistryTypeJfrog ImageRegistryType = "JFROG" // Other type ImageRegistryTypeOther ImageRegistryType = "OTHER" // Quay ImageRegistryTypeQuay ImageRegistryType = "QUAY" )
func (ImageRegistryType) IsValid ¶ added in v0.37.4
func (e ImageRegistryType) IsValid() bool
func (ImageRegistryType) MarshalGQL ¶ added in v0.37.4
func (e ImageRegistryType) MarshalGQL(w io.Writer)
func (ImageRegistryType) String ¶ added in v0.37.4
func (e ImageRegistryType) String() string
func (*ImageRegistryType) UnmarshalGQL ¶ added in v0.37.4
func (e *ImageRegistryType) UnmarshalGQL(v interface{}) error
type ImageRepoTag ¶ added in v0.37.4
type ImageRepoTag struct {
// Image repository name
RepositoryName string `json:"repositoryName"`
// Tag
Tag string `json:"tag"`
// Created Date
Created string `json:"created"`
// Related binaries
Binaries []*ImageBinary `json:"binaries"`
// Image applications
Applications []*ImageApplication `json:"applications"`
}
Image Repo Tag entity
func (ImageRepoTag) IsEntity ¶ added in v0.37.4
func (ImageRepoTag) IsEntity()
type ImageRepoTagEdge ¶ added in v0.37.4
type ImageRepoTagEdge struct {
// Node contains the actual image repo tag data
Node *ImageRepoTag `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
Image repo tag Edge
func (ImageRepoTagEdge) IsEdge ¶ added in v0.37.4
func (ImageRepoTagEdge) IsEdge()
type ImageRepoTagSlice ¶ added in v0.37.4
type ImageRepoTagSlice struct {
// Image Repository edges
Edges []*ImageRepoTagEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
Images repo tag Slice
func (ImageRepoTagSlice) IsSlice ¶ added in v0.37.4
func (ImageRepoTagSlice) IsSlice()
type ImageRepoTagSortingField ¶ added in v0.37.4
type ImageRepoTagSortingField string
Image Repo Tag Sorting field
const ( // Tag name ImageRepoTagSortingFieldTag ImageRepoTagSortingField = "tag" )
func (ImageRepoTagSortingField) IsValid ¶ added in v0.37.4
func (e ImageRepoTagSortingField) IsValid() bool
func (ImageRepoTagSortingField) MarshalGQL ¶ added in v0.37.4
func (e ImageRepoTagSortingField) MarshalGQL(w io.Writer)
func (ImageRepoTagSortingField) String ¶ added in v0.37.4
func (e ImageRepoTagSortingField) String() string
func (*ImageRepoTagSortingField) UnmarshalGQL ¶ added in v0.37.4
func (e *ImageRepoTagSortingField) UnmarshalGQL(v interface{}) error
type ImageReportSnippetArgument ¶ added in v0.46.0
type ImageReportSnippetArgument struct {
// argument name
Name string `json:"name"`
// argument value
Value string `json:"value"`
}
Image report snippet argument
type ImageRepository ¶ added in v0.37.4
type ImageRepository struct {
// Image repository name
Name string `json:"name"`
// Account Id
AccountID string `json:"accountId"`
// Last update
LastUpdate string `json:"lastUpdate"`
// Image repository registry domain types
RegistryDomains []ImageRegistryType `json:"registryDomains"`
// Image applications
Applications []*ImageApplication `json:"applications"`
}
Image Repository entity
func (ImageRepository) IsEntity ¶ added in v0.37.4
func (ImageRepository) IsEntity()
type ImageRepositoryEdge ¶ added in v0.37.4
type ImageRepositoryEdge struct {
// Node contains the actual image registry data
Node *ImageRepository `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
Image Repository Edge
func (ImageRepositoryEdge) IsEdge ¶ added in v0.37.4
func (ImageRepositoryEdge) IsEdge()
type ImageRepositorySlice ¶ added in v0.37.4
type ImageRepositorySlice struct {
// Image Repository edges
Edges []*ImageRepositoryEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
Images Repository Slice
func (ImageRepositorySlice) IsSlice ¶ added in v0.37.4
func (ImageRepositorySlice) IsSlice()
type ImageRepositorySortingField ¶ added in v0.37.4
type ImageRepositorySortingField string
Image Repository Sorting field
const ( // Last Update ImageRepositorySortingFieldLastUpdate ImageRepositorySortingField = "lastUpdate" // Image repo name ImageRepositorySortingFieldName ImageRepositorySortingField = "name" )
func (ImageRepositorySortingField) IsValid ¶ added in v0.37.4
func (e ImageRepositorySortingField) IsValid() bool
func (ImageRepositorySortingField) MarshalGQL ¶ added in v0.37.4
func (e ImageRepositorySortingField) MarshalGQL(w io.Writer)
func (ImageRepositorySortingField) String ¶ added in v0.37.4
func (e ImageRepositorySortingField) String() string
func (*ImageRepositorySortingField) UnmarshalGQL ¶ added in v0.37.4
func (e *ImageRepositorySortingField) UnmarshalGQL(v interface{}) error
type ImageTag ¶ added in v0.37.4
type ImageTag struct {
// Registry
Registry *string `json:"registry"`
// Tag
Tag string `json:"tag"`
// Created
Created string `json:"created"`
}
ImageTag
type ImageTagOutput ¶ added in v0.37.4
type ImageTagOutput struct {
// Registry
Registry *string `json:"registry"`
// Tag
Tag string `json:"tag"`
// Created
Created string `json:"created"`
}
ImageTagInput
type Images ¶ added in v0.37.4
type Images struct {
// Name
Name *string `json:"name"`
// Image
Image *string `json:"image"`
// RepositoryName
RepositoryName *string `json:"repositoryName"`
// BinaryId
BinaryID *string `json:"binaryId"`
// WorkflowName
WorkflowName *string `json:"workflowName"`
// WorkflowUrl
WorkflowURL *string `json:"workflowUrl"`
// CiProvider
CiProvider *string `json:"ciProvider"`
}
Images Entity
type InitManagedRuntimeArgs ¶ added in v0.44.2
type InitManagedRuntimeArgs struct {
// Git provider
Provider GitProviders `json:"provider"`
// The address of the git provider api
APIURL *string `json:"apiUrl"`
// Sharing policy
SharingPolicy SharingPolicy `json:"sharingPolicy"`
// Token
Token string `json:"token"`
// Refresh Token
RefreshToken *string `json:"refreshToken"`
// Username (required for bitbucket)
Username *string `json:"username"`
// Suggested ISC repo
SuggestedIscRepo string `json:"suggestedIscRepo"`
// Suggested Git source repo
SuggestedGsRepo string `json:"suggestedGsRepo"`
}
type Initiator ¶
type Initiator struct {
// Git user username
UserName string `json:"userName"`
// Git user id
UserID string `json:"userId"`
// Git user email
UserEmail string `json:"userEmail"`
// Link to the user avatar image
UserAvatarURL string `json:"userAvatarUrl"`
// Link to the user git profile
UserProfileURL string `json:"userProfileUrl"`
}
"Event initiator
type InputArgoCDApplicationDestination ¶ added in v0.45.0
type InputArgoCDApplicationDestination struct {
// Cluster name
Name *string `json:"name"`
// Cluster url
Server *string `json:"server"`
// Namespace
Namespace *string `json:"namespace"`
}
Input for Argo CD Application destination config
type InstallationStatus ¶
type InstallationStatus string
Installation Status
const ( // installation is completed InstallationStatusCompleted InstallationStatus = "COMPLETED" // installation failed InstallationStatusFailed InstallationStatus = "FAILED" // installation is in progress InstallationStatusInProgress InstallationStatus = "IN_PROGRESS" )
func (InstallationStatus) IsValid ¶
func (e InstallationStatus) IsValid() bool
func (InstallationStatus) MarshalGQL ¶
func (e InstallationStatus) MarshalGQL(w io.Writer)
func (InstallationStatus) String ¶
func (e InstallationStatus) String() string
func (*InstallationStatus) UnmarshalGQL ¶
func (e *InstallationStatus) UnmarshalGQL(v interface{}) error
type InstallationType ¶ added in v0.52.0
type InstallationType string
Installation type
const ( // CLI InstallationTypeCli InstallationType = "CLI" // Helm InstallationTypeHelm InstallationType = "HELM" // Hosted InstallationTypeHosted InstallationType = "HOSTED" )
func (InstallationType) IsValid ¶ added in v0.52.0
func (e InstallationType) IsValid() bool
func (InstallationType) MarshalGQL ¶ added in v0.52.0
func (e InstallationType) MarshalGQL(w io.Writer)
func (InstallationType) String ¶ added in v0.52.0
func (e InstallationType) String() string
func (*InstallationType) UnmarshalGQL ¶ added in v0.52.0
func (e *InstallationType) UnmarshalGQL(v interface{}) error
type IntegrationConfig ¶ added in v0.44.2
type IntegrationConfig struct {
// Object metadata
Metadata *ObjectMeta `json:"metadata"`
// Errors
Errors []Error `json:"errors"`
// Entities referencing this entity
ReferencedBy []BaseEntity `json:"referencedBy"`
// Entities referenced by this enitity
References []BaseEntity `json:"references"`
// History of the generic entity
History *GitOpsSlice `json:"history"`
// Version of the entity
Version *int `json:"version"`
// Is this the latest version of this entity
Latest *bool `json:"latest"`
// Entity source
Source *GitopsEntitySource `json:"source"`
// Sync status
SyncStatus SyncStatus `json:"syncStatus"`
// Health status
HealthStatus *HealthStatus `json:"healthStatus"`
// Health message
HealthMessage *string `json:"healthMessage"`
// Desired manifest
DesiredManifest *string `json:"desiredManifest"`
// Actual manifest
ActualManifest *string `json:"actualManifest"`
// Projects
Projects []string `json:"projects"`
// Self entity reference for the real k8s entity in case of codefresh logical entity
Self *GenericEntity `json:"self"`
// Integration Type
IntegrationType string `json:"integrationType"`
// Integration Type
ProviderInfo *string `json:"providerInfo"`
}
Integration entity
func (IntegrationConfig) IsBaseEntity ¶ added in v0.44.2
func (IntegrationConfig) IsBaseEntity()
func (IntegrationConfig) IsGitopsEntity ¶ added in v0.44.2
func (IntegrationConfig) IsGitopsEntity()
func (IntegrationConfig) IsProjectBasedEntity ¶ added in v0.44.2
func (IntegrationConfig) IsProjectBasedEntity()
type IntegrationConsumer ¶ added in v0.50.0
type IntegrationConsumer string
Integration Consumer
const ( // Jira Write Back IntegrationConsumerJiraWriteBack IntegrationConsumer = "JIRA_WRITE_BACK" )
func (IntegrationConsumer) IsValid ¶ added in v0.50.0
func (e IntegrationConsumer) IsValid() bool
func (IntegrationConsumer) MarshalGQL ¶ added in v0.50.0
func (e IntegrationConsumer) MarshalGQL(w io.Writer)
func (IntegrationConsumer) String ¶ added in v0.50.0
func (e IntegrationConsumer) String() string
func (*IntegrationConsumer) UnmarshalGQL ¶ added in v0.50.0
func (e *IntegrationConsumer) UnmarshalGQL(v interface{}) error
type IntegrationEdge ¶ added in v0.44.2
type IntegrationEdge struct {
// Node contains the actual application data
Node *IntegrationEntity `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
Application Edge
type IntegrationEntity ¶ added in v0.43.5
type IntegrationEntity struct {
// Name
Name *string `json:"name"`
// Integration type usually consists of `<type>.<subtype>`, for example `issue.jira`.
//
// Take a look on libs/db/src/entities/common/integration/operation-state.types.ts to see the allowed values
Type *string `json:"type"`
// Provider info contains all non-secure data related to the integration,
// for example `host` and `username` for `registry.quay` integration.
//
// Depends on the integration `type`
ProviderInfo *string `json:"providerInfo"`
// Runtimes
Runtimes []string `json:"runtimes"`
// Sync Status
SyncStatus *SyncStatus `json:"syncStatus"`
// All runtimes enabled
IsAllRuntimes *bool `json:"isAllRuntimes"`
// Enabled integration consumers
EnabledIntegrationConsumers []*IntegrationConsumer `json:"enabledIntegrationConsumers"`
}
Integration
type IntegrationFilterArgs ¶ added in v0.44.2
type IntegrationFilterArgs struct {
// Name
Name *string `json:"name"`
// Integration type usually consists of `<type>.<subtype>`, for example `issue.jira`.
//
// Take a look on libs/db/src/entities/common/integration/operation-state.types.ts to see the allowed values
Type *string `json:"type"`
// Category type
CategoryType *string `json:"categoryType"`
// Ci tool
CiTool *SupportedCITools `json:"ciTool"`
// Runtime name
Runtime *string `json:"runtime"`
// Include default integrations
IncludeDefaultIntegrations *bool `json:"includeDefaultIntegrations"`
// Enabled Integration Consumers
EnabledIntegrationConsumers []*IntegrationConsumer `json:"enabledIntegrationConsumers"`
// Exclude not supported enrichment integrations
ExcludeNotSupportedEnrichment *bool `json:"excludeNotSupportedEnrichment"`
}
Args to filter annotation
type IntegrationFlowInput ¶ added in v0.44.2
type IntegrationFlowInput struct {
// The server on which the resources will be applied
Metadata *IntegrationFlowInputMetadata `json:"metadata"`
// Intended operation over integration
Operation ResourceOperation `json:"operation"`
// Provider info specific for integration type
ProviderInfo string `json:"providerInfo"`
// Secure data specific for integration type
SecureData *string `json:"secureData"`
Options *IntegrationFlowOptions `json:"options"`
}
IntegrationFlowInput
type IntegrationFlowInputMetadata ¶ added in v0.44.2
type IntegrationFlowInputMetadata struct {
// Name
Name string `json:"name"`
// Type
Type string `json:"type"`
// Runtimes
Runtimes []*string `json:"runtimes"`
// Flag if to use all runtimes instead specific
IsAllRuntimes bool `json:"isAllRuntimes"`
// Enabled Integration Consumers
EnabledIntegrationConsumers []*IntegrationConsumer `json:"enabledIntegrationConsumers"`
}
IntegrationFlowInputMetadata
type IntegrationFlowOptions ¶ added in v0.45.0
type IntegrationFlowOptions struct {
SkipTestConnection *bool `json:"skipTestConnection"`
}
type IntegrationGenerationInput ¶ added in v0.44.2
type IntegrationGenerationInput struct {
// Metadata
Metadata *IntegrationGenerationMetadata `json:"metadata"`
// Provider info
ProviderInfo string `json:"providerInfo"`
// Intended operation over integration
Operation ResourceOperation `json:"operation"`
// Yaml containing encrypted sealed secret
SealedSecretYaml *string `json:"sealedSecretYaml"`
}
IntegrationGenerationInput
type IntegrationGenerationMetadata ¶ added in v0.44.2
type IntegrationGenerationMetadata struct {
// Name
Name string `json:"name"`
// Type
Type string `json:"type"`
// Runtimes
Runtimes []string `json:"runtimes"`
// IsAllRuntimes
IsAllRuntimes bool `json:"isAllRuntimes"`
// Enabled Integration Consumers
EnabledIntegrationConsumers []*IntegrationConsumer `json:"enabledIntegrationConsumers"`
}
IntegrationGenerationInput
type IntegrationGenerationOutput ¶ added in v0.44.2
type IntegrationGenerationOutput struct {
// Operations
Operations []*RuntimeOperation `json:"operations"`
// Manifests
Manifests []*ResourceManifest `json:"manifests"`
}
IntegrationGenerationInput
type IntegrationSecret ¶ added in v0.44.2
type IntegrationSecret struct {
// Object metadata
Metadata *ObjectMeta `json:"metadata"`
// Errors
Errors []Error `json:"errors"`
// Entities referencing this entity
ReferencedBy []BaseEntity `json:"referencedBy"`
// Entities referenced by this enitity
References []BaseEntity `json:"references"`
// History of the generic entity
History *GitOpsSlice `json:"history"`
// Version of the entity
Version *int `json:"version"`
// Is this the latest version of this entity
Latest *bool `json:"latest"`
// Entity source
Source *GitopsEntitySource `json:"source"`
// Sync status
SyncStatus SyncStatus `json:"syncStatus"`
// Health status
HealthStatus *HealthStatus `json:"healthStatus"`
// Health message
HealthMessage *string `json:"healthMessage"`
// Desired manifest
DesiredManifest *string `json:"desiredManifest"`
// Actual manifest
ActualManifest *string `json:"actualManifest"`
// Projects
Projects []string `json:"projects"`
// Self entity reference for the real k8s entity in case of codefresh logical entity
Self *GenericEntity `json:"self"`
// Integration Type
IntegrationType string `json:"integrationType"`
// Integration Name
IntegrationName string `json:"integrationName"`
// Secret Type
SecretType SecretType `json:"secretType"`
}
Integration entity
func (IntegrationSecret) IsBaseEntity ¶ added in v0.44.2
func (IntegrationSecret) IsBaseEntity()
func (IntegrationSecret) IsGitopsEntity ¶ added in v0.44.2
func (IntegrationSecret) IsGitopsEntity()
func (IntegrationSecret) IsProjectBasedEntity ¶ added in v0.44.2
func (IntegrationSecret) IsProjectBasedEntity()
type IntegrationSlice ¶ added in v0.44.2
type IntegrationSlice struct {
// Integration edges
Edges []*IntegrationEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
Integration Slice
type IssueValue ¶ added in v0.37.4
type IssueValue struct {
// Issue url
URL string `json:"url"`
// Issue title
Title string `json:"title"`
// Issue status
Status string `json:"status"`
// Issue avatar URL
AvatarURL *string `json:"avatarURL"`
// Issue assignee
Assignee *string `json:"assignee"`
}
Issue value
type JiraCommand ¶ added in v0.52.0
type JiraCommand struct {
// Command
Command *string `json:"command"`
}
Jira command
type JiraDeployment ¶ added in v0.52.0
type JiraDeployment struct {
// DeploymentSequenceNumber
DeploymentSequenceNumber float64 `json:"deploymentSequenceNumber"`
// UpdateSequenceNumber
UpdateSequenceNumber float64 `json:"updateSequenceNumber"`
// IssueKeys
IssueKeys []*string `json:"issueKeys"`
// Associations
Associations []*string `json:"associations"`
// DisplayName
DisplayName string `json:"displayName"`
// Url
URL string `json:"url"`
// Description
Description string `json:"description"`
// LastUpdated
LastUpdated string `json:"lastUpdated"`
// Label
Label *string `json:"label"`
// State
State *string `json:"state"`
// Pipeline
Pipeline *JiraPipeline `json:"pipeline"`
// Environment
Environment *JiraEnvironment `json:"environment"`
// Commands
Commands []*JiraCommand `json:"commands"`
// SchemaVersion
SchemaVersion *string `json:"schemaVersion"`
}
Jira Deployments
type JiraDeploymentsOutput ¶ added in v0.52.0
type JiraDeploymentsOutput struct {
// Jira Deployment
Deployments []*JiraDeployment `json:"deployments"`
// Exist Candidates To Report
ExistCandidatesToReport *bool `json:"existCandidatesToReport"`
}
jira Deployments output
type JiraEnvironment ¶ added in v0.52.0
type JiraEnvironment struct {
// Id
ID string `json:"id"`
// DisplayName
DisplayName string `json:"displayName"`
// Type
Type string `json:"type"`
}
Jira environment
type JiraPipeline ¶ added in v0.52.0
type JiraPipeline struct {
// Id
ID string `json:"id"`
// DisplayName
DisplayName string `json:"displayName"`
// Url
URL string `json:"url"`
}
Jira pipeline
type K8sEntityID ¶ added in v0.37.4
type K8sEntityID struct {
// name
Name string `json:"name"`
// namespace
Namespace *string `json:"namespace"`
}
K8s entity id
type KeycloakSso ¶ added in v0.37.7
type KeycloakSso struct {
// ID
ID string `json:"id"`
// Client type
ClientType string `json:"clientType"`
// Client name
ClientName string `json:"clientName"`
// Display name
DisplayName string `json:"displayName"`
// Accounts
Accounts []*string `json:"accounts"`
// Access token
AccessToken *string `json:"accessToken"`
// Client Id, appId in Azure
ClientID *string `json:"clientId"`
// Client secret
ClientSecret *string `json:"clientSecret"`
// Onprem default IDP
OnpremDefaultIdp *bool `json:"onpremDefaultIdp"`
// Redirect url
RedirectURL *string `json:"redirectUrl"`
// Redirect ui url
RedirectUIURL *string `json:"redirectUiUrl"`
// Login url
LoginURL *string `json:"loginUrl"`
// Default
Default *bool `json:"default"`
// Host
Host *string `json:"host"`
// Realm
Realm *string `json:"realm"`
}
KeycloakSSO
func (KeycloakSso) IsIDP ¶ added in v0.37.7
func (KeycloakSso) IsIDP()
type LabelArrays ¶ added in v0.40.0
Label arrays
type LdapSso ¶ added in v0.37.7
type LdapSso struct {
// ID
ID string `json:"id"`
// Client type
ClientType string `json:"clientType"`
// Client name
ClientName string `json:"clientName"`
// Display name
DisplayName string `json:"displayName"`
// Accounts
Accounts []*string `json:"accounts"`
// Access token
AccessToken *string `json:"accessToken"`
// Client Id, appId in Azure
ClientID *string `json:"clientId"`
// Client secret
ClientSecret *string `json:"clientSecret"`
// Onprem default IDP
OnpremDefaultIdp *bool `json:"onpremDefaultIdp"`
// Redirect url
RedirectURL *string `json:"redirectUrl"`
// Redirect ui url
RedirectUIURL *string `json:"redirectUiUrl"`
// Login url
LoginURL *string `json:"loginUrl"`
// Default
Default *bool `json:"default"`
// Password
Password *string `json:"password"`
// URL
URL *string `json:"url"`
// Distinguished name
DistinguishedName *string `json:"distinguishedName"`
// Search base
SearchBase *string `json:"searchBase"`
// Search filter
SearchFilter *string `json:"searchFilter"`
// Certificate
Certificate *string `json:"certificate"`
// Allowed groups for sync
AllowedGroupsForSync *string `json:"allowedGroupsForSync"`
// Search base for sync
SearchBaseForSync *string `json:"searchBaseForSync"`
}
LdapSSO
type LeadTimeForChangesStatistics ¶ added in v0.43.5
type LeadTimeForChangesStatistics struct {
// Lead time for changes statistics data
Data []*DoraStatisticsData `json:"data"`
// Time period data
TimePeriodData *StatsTimePeriodData `json:"timePeriodData"`
// Lead time for changes statistics info
Info *DoraStatisticsSummery `json:"info"`
}
Stats for lead time for changes statistics
type LoadBalancer ¶ added in v0.44.2
type LoadBalancer struct {
// Ingress
Ingress []*Ingress `json:"ingress"`
}
LoadBalancer
type LogicEntityID ¶ added in v0.37.4
type LogicEntityID struct {
// id
ID string `json:"id"`
}
Logic entity id
type ManagedResource ¶ added in v0.43.5
type ManagedResource struct {
Diff *string `json:"diff"`
Group *string `json:"group"`
Hook *bool `json:"hook"`
Managed *bool `json:"managed"`
Kind *string `json:"kind"`
LiveState *string `json:"liveState"`
Modified *bool `json:"modified"`
Name *string `json:"name"`
Namespace *string `json:"namespace"`
NormalizedLiveState *string `json:"normalizedLiveState"`
PredictedLiveState *string `json:"predictedLiveState"`
ResourceVersion *string `json:"resourceVersion"`
TargetState *string `json:"targetState"`
Status *SyncStatus `json:"status"`
CreatedAt *string `json:"createdAt"`
Health *ApplicationResourceHealthStatusInfo `json:"health"`
}
Managed Resource
type ManagedResources ¶ added in v0.43.5
type ManagedResources struct {
Items []*ManagedResource `json:"items"`
}
Managed Resources
type Mapping ¶ added in v0.37.4
type Mapping struct {
// Name of the variable
VarName string `json:"varName"`
// Description of the variable
Description string `json:"description"`
// Indicates if the mapping should be used in filtering expressions. Some mappings can be useless for filtering, like GIT_REPO that will be the same for each event.
Filter bool `json:"filter"`
}
Mapping between the var name and the path to the value in event payload
type MetricMeasurement ¶ added in v0.43.5
type MetricMeasurement struct {
// Finished at date
FinishedAt *string `json:"finishedAt"`
// Started at date
StartedAt *string `json:"startedAt"`
// Analysis Phase
Phase *AnalysisPhases `json:"phase"`
// Measurements metadata object (@job-name etc.)
Metadata *string `json:"metadata"`
// Measurement value
Value *string `json:"value"`
}
MetricMeasurement
type MetricResult ¶ added in v0.43.5
type MetricResult struct {
// Name
Name string `json:"name"`
// Provider type
ProviderType AnalysisMetricProviderTypes `json:"providerType"`
// Phase
Phase AnalysisPhases `json:"phase"`
// Measurements
Measurements []*MetricMeasurement `json:"measurements"`
// Message
Message *string `json:"message"`
// Successful measurements
Successful *int `json:"successful"`
// Failed measurements
Failed *int `json:"failed"`
// Inconclusive measurements
Inconclusive *int `json:"inconclusive"`
// Error measurements
Error *int `json:"error"`
// Failure Limit
FailureLimit *int `json:"failureLimit"`
// Inconclusive Limit
InconclusiveLimit *int `json:"inconclusiveLimit"`
// Measurements count
Count *int `json:"count"`
// Consecutive error limit
ConsecutiveErrorLimit *int `json:"consecutiveErrorLimit"`
}
Metric result
type MetricWithTrend ¶
type MetricWithTrend struct {
// Metric value
Value int `json:"value"`
// Percent Diff between the current time period and the previous time period
PctDiffFromLastTimeFrame *float64 `json:"pctDiffFromLastTimeFrame"`
}
Pipeline metric with trend
type NameValueCodeOutput ¶ added in v0.38.1
type NameValueCodeOutput struct {
// Name
Name string `json:"name"`
// Value
Value string `json:"value"`
// Code
Code *bool `json:"code"`
}
Object with name / value / code fields
type NameValueOutput ¶ added in v0.37.9
type NameValueOutput struct {
// Name
Name string `json:"name"`
// Value
Value string `json:"value"`
}
Object with name and value fields
type NamedResource ¶ added in v0.44.2
type NamedResource struct {
// Name
Name string `json:"name"`
}
Named Resource
type NodeStatus ¶
type NodeStatus struct {
// Type
Type string `json:"type"`
// Name
Name string `json:"name"`
// Display name
DisplayName string `json:"displayName"`
// Template Name
TemplateName *string `json:"templateName"`
// Node children
Children []*string `json:"children"`
// Current step phase
Phase *WorkflowNodePhases `json:"phase"`
// Progress
Progress *string `json:"progress"`
// Message
Message *string `json:"message"`
// Start time
StartedAt *string `json:"startedAt"`
// Finish time
FinishedAt *string `json:"finishedAt"`
// Inputs
Inputs *string `json:"inputs"`
// Outputs
Outputs *string `json:"outputs"`
// Script
Script *string `json:"script"`
// Previous statuses
Statuses []*StatusHistoryItem `json:"statuses"`
// Id
ID *string `json:"id"`
// Resources Duration
ResourcesDuration *string `json:"resourcesDuration"`
// Template Ref
TemplateRef *string `json:"templateRef"`
// Host node name
HostNodeName *string `json:"hostNodeName"`
// Template
Template *string `json:"template"`
// Template scope
TemplateScope *string `json:"templateScope"`
}
Node status
type Notification ¶ added in v0.37.0
type Notification interface {
IsNotification()
}
Notification Base type
type NotificationActionType ¶ added in v0.37.7
type NotificationActionType string
Notification action type
const ( // Add action NotificationActionTypeAdded NotificationActionType = "ADDED" // Remove action NotificationActionTypeRemoved NotificationActionType = "REMOVED" // Update action NotificationActionTypeUpdate NotificationActionType = "UPDATE" )
func (NotificationActionType) IsValid ¶ added in v0.37.7
func (e NotificationActionType) IsValid() bool
func (NotificationActionType) MarshalGQL ¶ added in v0.37.7
func (e NotificationActionType) MarshalGQL(w io.Writer)
func (NotificationActionType) String ¶ added in v0.37.7
func (e NotificationActionType) String() string
func (*NotificationActionType) UnmarshalGQL ¶ added in v0.37.7
func (e *NotificationActionType) UnmarshalGQL(v interface{}) error
type NotificationEdge ¶ added in v0.37.0
type NotificationEdge struct {
// Node contains the actual notification data
Node Notification `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
Notification Edge
type NotificationSlice ¶ added in v0.37.0
type NotificationSlice struct {
// Notification edges
Edges []*NotificationEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
Notification Slice
type NotificationState ¶ added in v0.37.7
type NotificationState string
Notification State
const ( // Failed state NotificationStateFailed NotificationState = "FAILED" // In progress state NotificationStateInProgress NotificationState = "IN_PROGRESS" // Success state NotificationStateSuccess NotificationState = "SUCCESS" )
func (NotificationState) IsValid ¶ added in v0.37.7
func (e NotificationState) IsValid() bool
func (NotificationState) MarshalGQL ¶ added in v0.37.7
func (e NotificationState) MarshalGQL(w io.Writer)
func (NotificationState) String ¶ added in v0.37.7
func (e NotificationState) String() string
func (*NotificationState) UnmarshalGQL ¶ added in v0.37.7
func (e *NotificationState) UnmarshalGQL(v interface{}) error
type NotificationType ¶ added in v0.37.0
type NotificationType string
Notification Type
const ( // Event that are coming from argo cd NotificationTypeArgoCdEvent NotificationType = "ARGO_CD_EVENT" // Event that are coming from argo events NotificationTypeArgoEventsEvent NotificationType = "ARGO_EVENTS_EVENT" // Generic Event NotificationTypeGenericEvent NotificationType = "GENERIC_EVENT" )
func (NotificationType) IsValid ¶ added in v0.37.0
func (e NotificationType) IsValid() bool
func (NotificationType) MarshalGQL ¶ added in v0.37.0
func (e NotificationType) MarshalGQL(w io.Writer)
func (NotificationType) String ¶ added in v0.37.0
func (e NotificationType) String() string
func (*NotificationType) UnmarshalGQL ¶ added in v0.37.0
func (e *NotificationType) UnmarshalGQL(v interface{}) error
type ObjectMeta ¶
type ObjectMeta struct {
// Group
Group string `json:"group"`
// Version
Version string `json:"version"`
// Kind
Kind string `json:"kind"`
// Name
Name string `json:"name"`
// Description
Description *string `json:"description"`
// Namespace
Namespace *string `json:"namespace"`
// Runtime
Runtime string `json:"runtime"`
// Cluster URL
Cluster *string `json:"cluster"`
// Account name
Account string `json:"account"`
// Labels
Labels []*StringPair `json:"labels"`
// Annotations
Annotations []*StringPair `json:"annotations"`
// Last updated
LastUpdated *string `json:"lastUpdated"`
// Created
Created *string `json:"created"`
// K8s object uid
UID *string `json:"uid"`
// Favorite
Favorite *bool `json:"favorite"`
// Revision number
Revision *int `json:"revision"`
}
Object metadata
type OktaSso ¶ added in v0.37.7
type OktaSso struct {
// ID
ID string `json:"id"`
// Client type
ClientType string `json:"clientType"`
// Client name
ClientName string `json:"clientName"`
// Display name
DisplayName string `json:"displayName"`
// Accounts
Accounts []*string `json:"accounts"`
// Access token
AccessToken *string `json:"accessToken"`
// Client Id, appId in Azure
ClientID *string `json:"clientId"`
// Client secret
ClientSecret *string `json:"clientSecret"`
// Onprem default IDP
OnpremDefaultIdp *bool `json:"onpremDefaultIdp"`
// Redirect url
RedirectURL *string `json:"redirectUrl"`
// Redirect ui url
RedirectUIURL *string `json:"redirectUiUrl"`
// Login url
LoginURL *string `json:"loginUrl"`
// Default
Default *bool `json:"default"`
// Scopes
Scopes []*string `json:"scopes"`
// Client host
ClientHost *string `json:"clientHost"`
// AutoGroupSync
AutoGroupSync *bool `json:"autoGroupSync"`
// Sync interval
SyncInterval *string `json:"syncInterval"`
// App Id
AppID *string `json:"appId"`
// Sync mirror accounts
SyncMirrorAccounts []*string `json:"syncMirrorAccounts"`
// Remove deactivated users after sync
RemoveDeactivatedUsers *bool `json:"removeDeactivatedUsers"`
// Activate user after sync
ActivateUserAfterSync *bool `json:"activateUserAfterSync"`
}
OktaSSO
type OneTimeToken ¶ added in v0.38.1
type OneTimeToken struct {
// One time access token
AccessToken string `json:"accessToken"`
}
"get one time token for a user
type OneloginSso ¶ added in v0.37.7
type OneloginSso struct {
// ID
ID string `json:"id"`
// Client type
ClientType string `json:"clientType"`
// Client name
ClientName string `json:"clientName"`
// Display name
DisplayName string `json:"displayName"`
// Accounts
Accounts []*string `json:"accounts"`
// Access token
AccessToken *string `json:"accessToken"`
// Client Id, appId in Azure
ClientID *string `json:"clientId"`
// Client secret
ClientSecret *string `json:"clientSecret"`
// Onprem default IDP
OnpremDefaultIdp *bool `json:"onpremDefaultIdp"`
// Redirect url
RedirectURL *string `json:"redirectUrl"`
// Redirect ui url
RedirectUIURL *string `json:"redirectUiUrl"`
// Login url
LoginURL *string `json:"loginUrl"`
// Default
Default *bool `json:"default"`
// Client host
ClientHost *string `json:"clientHost"`
// API client id
APIClientID *string `json:"apiClientId"`
// API client id
APIClientSecret *string `json:"apiClientSecret"`
}
OneloginSSO
func (OneloginSso) IsIDP ¶ added in v0.37.7
func (OneloginSso) IsIDP()
type Pack ¶ added in v0.37.7
type Pack struct {
// Metadata
Metadata *PackMetadata `json:"metadata"`
// Workflows
Workflows *WorkflowConcurrency `json:"workflows"`
// Runtime
Runtime *PackRuntime `json:"runtime"`
// Id
ID *string `json:"id"`
}
Pack
type PackMetadata ¶ added in v0.37.7
type PackMetadata struct {
// Description
Description *string `json:"description"`
// Name
Name *string `json:"name"`
}
PackMetadata
type PackRuntime ¶ added in v0.37.7
type PackRuntime struct {
// DefaultDindResources
DefaultDindResources *DefaultDindResources `json:"defaultDindResources"`
// Name
Name *string `json:"name"`
// OS
Os *string `json:"os"`
// Architecture
Architecture *string `json:"architecture"`
// CPU
CPU *string `json:"cpu"`
// Memory
Memory *string `json:"memory"`
// Storage
Storage *string `json:"storage"`
// DindStorage
DindStorage *string `json:"dindStorage"`
}
PackRuntime
type ParentWorkflowRef ¶ added in v0.44.2
type ParentWorkflowRef struct {
// Parent workflow
Workflow *Workflow `json:"workflow"`
// Parent workflow type
Type *string `json:"type"`
}
Parent workflow reference
type PastDue ¶ added in v0.37.7
type PastDue struct {
// IsPastDue
IsPastDue *bool `json:"isPastDue"`
// ShowPastDueWarning
ShowPastDueWarning *bool `json:"showPastDueWarning"`
}
PastDue
type PayloadDataTypes ¶
type PayloadDataTypes string
Types of event payload
const ( PayloadDataTypesCalendar PayloadDataTypes = "calendar" PayloadDataTypesGit PayloadDataTypes = "git" PayloadDataTypesUnknown PayloadDataTypes = "unknown" )
func (PayloadDataTypes) IsValid ¶
func (e PayloadDataTypes) IsValid() bool
func (PayloadDataTypes) MarshalGQL ¶
func (e PayloadDataTypes) MarshalGQL(w io.Writer)
func (PayloadDataTypes) String ¶
func (e PayloadDataTypes) String() string
func (*PayloadDataTypes) UnmarshalGQL ¶
func (e *PayloadDataTypes) UnmarshalGQL(v interface{}) error
type Permission ¶ added in v0.37.4
type Permission struct {
// The id of the user with the permission
UserID string `json:"userId"`
// Has read permission?
Read bool `json:"read"`
// Has write permission?
Write bool `json:"write"`
// Deprecated: The user with the permission
User *User `json:"user"`
}
Permission model
type PermissionInput ¶ added in v0.37.4
type PermissionInput struct {
// The id of the user the permission
UserID string `json:"userId"`
// Has read permission?
Read bool `json:"read"`
// Has write permission?
Write bool `json:"write"`
}
Permission input
type Pipeline ¶
type Pipeline struct {
// Object metadata
Metadata *ObjectMeta `json:"metadata"`
// Errors
Errors []Error `json:"errors"`
// Entities referencing this entity
ReferencedBy []BaseEntity `json:"referencedBy"`
// Entities referenced by this enitity
References []BaseEntity `json:"references"`
// Self entity reference for the real k8s entity in case of codefresh logical entity
Self *Sensor `json:"self"`
// History of the pipeline
History *CompositeSlice `json:"history"`
// Sync status
SyncStatus SyncStatus `json:"syncStatus"`
// Health status
HealthStatus *HealthStatus `json:"healthStatus"`
// Health message
HealthMessage *string `json:"healthMessage"`
// Projects
Projects []string `json:"projects"`
// Trigger name
Spec *PipelineSpec `json:"spec"`
// Statistics
Statistics *PipelineStatistics `json:"statistics"`
// List of last N workflows
RecentActivity *WorkflowSlice `json:"recentActivity"`
}
Pipeline entity
func (Pipeline) IsBaseEntity ¶
func (Pipeline) IsBaseEntity()
func (Pipeline) IsK8sLogicEntity ¶
func (Pipeline) IsK8sLogicEntity()
func (Pipeline) IsProjectBasedEntity ¶
func (Pipeline) IsProjectBasedEntity()
type PipelineAverageDurationStats ¶
type PipelineAverageDurationStats struct {
// Info
Info *PipelineAverageDurationStatsInfo `json:"info"`
// Data
Data []*PipelineAverageDurationStatsData `json:"data"`
}
Pipeline statistics for average duration
type PipelineAverageDurationStatsData ¶
type PipelineAverageDurationStatsData struct {
// Time
Time *string `json:"time"`
// Average duration
AverageDuration *float64 `json:"averageDuration"`
}
Stats data for pipline average duration
type PipelineAverageDurationStatsInfo ¶
type PipelineAverageDurationStatsInfo struct {
// Time period data
TimePeriodData *StatsTimePeriodData `json:"timePeriodData"`
// Total average duration for the all time period
AverageDuration float64 `json:"averageDuration"`
// Diff in avarages between the current time period and the previous time period
PctDiffFromLastTimeFrame *float64 `json:"pctDiffFromLastTimeFrame"`
}
Stats info for pipeline success rate.
type PipelineClassicStatisticDurationMetricType ¶ added in v0.55.0
type PipelineClassicStatisticDurationMetricType string
Pipeline statistics sort by duration type
const ( PipelineClassicStatisticDurationMetricTypeAverageDuration PipelineClassicStatisticDurationMetricType = "AVERAGE_DURATION" PipelineClassicStatisticDurationMetricTypeP50Duration PipelineClassicStatisticDurationMetricType = "P50_DURATION" PipelineClassicStatisticDurationMetricTypeP90Duration PipelineClassicStatisticDurationMetricType = "P90_DURATION" )
func (PipelineClassicStatisticDurationMetricType) IsValid ¶ added in v0.55.0
func (e PipelineClassicStatisticDurationMetricType) IsValid() bool
func (PipelineClassicStatisticDurationMetricType) MarshalGQL ¶ added in v0.55.0
func (e PipelineClassicStatisticDurationMetricType) MarshalGQL(w io.Writer)
func (PipelineClassicStatisticDurationMetricType) String ¶ added in v0.55.0
func (e PipelineClassicStatisticDurationMetricType) String() string
func (*PipelineClassicStatisticDurationMetricType) UnmarshalGQL ¶ added in v0.55.0
func (e *PipelineClassicStatisticDurationMetricType) UnmarshalGQL(v interface{}) error
type PipelineClassicStatsInfo ¶ added in v0.55.0
type PipelineClassicStatsInfo struct {
// Time period data
TimePeriodData *StatsTimePeriodData `json:"timePeriodData"`
// Value for the all time period
Value *MetricWithTrend `json:"value"`
}
Stats info for pipeline success rate.
type PipelineCommittersStats ¶
type PipelineCommittersStats struct {
// Info
Info *PipelineCommittersStatsInfo `json:"info"`
// Data
Data []*PipelineCommittersStatsData `json:"data"`
}
Pipeline statistics for pipline success rate
type PipelineCommittersStatsData ¶
type PipelineCommittersStatsData struct {
// Time
Time *string `json:"time"`
// Committers
Committers *int `json:"committers"`
}
Stats data for pipline committers
type PipelineCommittersStatsInfo ¶
type PipelineCommittersStatsInfo struct {
// Time period data
TimePeriodData *StatsTimePeriodData `json:"timePeriodData"`
// Total number of committers for the all time period
TotalCommitters int `json:"totalCommitters"`
// Diff in totals between the current time period and the previous time period
PctDiffFromLastTimeFrame *float64 `json:"pctDiffFromLastTimeFrame"`
}
Stats info for pipeline committers.
type PipelineConfig ¶ added in v0.52.0
type PipelineConfig struct {
// General Pipeline Config
General *PipelineConfigGeneral `json:"general"`
// Pipeline YAML Config
Yaml *PipelineConfigYaml `json:"yaml"`
// Pipeline Execution Config
Execution *PipelineConfigExecution `json:"execution"`
// Pending Approval Config
PendingApproval *PipelineConfigPendingApproval `json:"pendingApproval"`
// Pipeline service account
ServiceAccount *string `json:"serviceAccount"`
// Enable argo workflows pipelines
EnableArgoWorkflows *bool `json:"enableArgoWorkflows"`
}
Pipeline config
type PipelineConfigExecution ¶ added in v0.52.0
type PipelineConfigExecution struct {
// Keeping PVS for pending approval steps
KeepPVCsForPendingApproval *bool `json:"keepPVCsForPendingApproval"`
// Include builds that are pending for approval to the number of concurrent builds
PendingApprovalConcurrencyApplied *bool `json:"pendingApprovalConcurrencyApplied"`
// Marketplace registry
MarketplaceRegistry *string `json:"marketplaceRegistry"`
}
Pipeline Execution Config
type PipelineConfigGeneral ¶ added in v0.52.0
type PipelineConfigGeneral struct {
// Templates
Templates *bool `json:"templates"`
// Clone
Clone *bool `json:"clone"`
}
General Pipeline Config
type PipelineConfigPendingApproval ¶ added in v0.52.0
type PipelineConfigPendingApproval struct {
// Pending approval confirmation modal window
PendingApprovalConfirmation *string `json:"pendingApprovalConfirmation"`
}
Pipeline Execution Config
type PipelineConfigYaml ¶ added in v0.52.0
type PipelineConfigYaml struct {
// Enable inline YAMLs
Inline *bool `json:"inline"`
// Enable YAMLs from repository
Git *bool `json:"git"`
// Enable YAMLs from URL
URL *bool `json:"url"`
}
Pipeline YAML Config
type PipelineEdge ¶
type PipelineEdge struct {
// Node contains the actual pipeline data
Node *Pipeline `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
Pipeline Edge
func (PipelineEdge) IsEdge ¶
func (PipelineEdge) IsEdge()
type PipelineExecutionsStats ¶
type PipelineExecutionsStats struct {
// Info
Info *PipelineExecutionsStatsInfo `json:"info"`
// Data
Data []*PipelineExecutionsStatsData `json:"data"`
}
Pipeline statistics for pipline executions
type PipelineExecutionsStatsData ¶
type PipelineExecutionsStatsData struct {
// Time
Time *string `json:"time"`
// Executions
Executions *int `json:"executions"`
}
Stats data for pipline executions
type PipelineExecutionsStatsInfo ¶
type PipelineExecutionsStatsInfo struct {
// Time period data
TimePeriodData *StatsTimePeriodData `json:"timePeriodData"`
// Total number of executions for the all time period
TotalExecutions int `json:"totalExecutions"`
// Diff in totals between the current time period and the previous time period
PctDiffFromLastTimeFrame *float64 `json:"pctDiffFromLastTimeFrame"`
}
Stats info for pipeline executions.
type PipelineOrderedStatistics ¶
type PipelineOrderedStatistics struct {
// Pipeline name
PipelineName string `json:"pipelineName"`
// Pipeline namespace
PipelineNamespace string `json:"pipelineNamespace"`
// Runtime
Runtime string `json:"runtime"`
// Position
Position int `json:"position"`
// Position Diff from last time frame
PositionDiffFromLastTimeFrame *int `json:"positionDiffFromLastTimeFrame"`
// Success Rate stats
SuccessRateStats *MetricWithTrend `json:"successRateStats"`
// Average duration stats
AverageDurationStats *MetricWithTrend `json:"averageDurationStats"`
// Execution stats
ExecutionsStats *MetricWithTrend `json:"executionsStats"`
}
Pipeline Ordered statistics
type PipelineRef ¶ added in v0.37.4
type PipelineRef struct {
// Id
ID string `json:"id"`
// Name
Name string `json:"name"`
// Project
Project string `json:"project"`
// ProjectId
ProjectID string `json:"projectId"`
}
Pipeline Reference
type PipelineSlice ¶
type PipelineSlice struct {
// Pipeline edges
Edges []*PipelineEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
Pipeline Slice
func (PipelineSlice) IsSlice ¶
func (PipelineSlice) IsSlice()
type PipelineSpec ¶
type PipelineSpec struct {
// Trigger
Trigger string `json:"trigger"`
}
Pipeline Spec
type PipelineStatistics ¶
type PipelineStatistics struct {
// Success Rate stats
SuccessRateStats *PipelineSuccessRateStats `json:"successRateStats"`
// Average duration stats
AverageDurationStats *PipelineAverageDurationStats `json:"averageDurationStats"`
// Execution stats
ExecutionsStats *PipelineExecutionsStats `json:"executionsStats"`
// Committers stats
CommittersStats *PipelineCommittersStats `json:"committersStats"`
}
Pipeline statistics to be used in analytics module
type PipelineStepStatistics ¶
type PipelineStepStatistics struct {
// Step Name
StepName *string `json:"stepName"`
// Template Name
TemplateName *string `json:"templateName"`
// Workflow Template
WorkflowTemplate *string `json:"workflowTemplate"`
// Node Type
NodeType *string `json:"nodeType"`
// Step Average duration
AverageDurationStats *MetricWithTrend `json:"averageDurationStats"`
// Step Executions count
ExecutionsStats *MetricWithTrend `json:"executionsStats"`
// Step Average CPU usage
CPUStats *MetricWithTrend `json:"cpuStats"`
// Step Average Memory
MemoryStats *MetricWithTrend `json:"memoryStats"`
// Step Errors count
ErrorsCountStats *MetricWithTrend `json:"errorsCountStats"`
}
Pipeline Step
type PipelineSuccessRateStats ¶
type PipelineSuccessRateStats struct {
// Info
Info *PipelineSuccessRateStatsInfo `json:"info"`
// Data
Data []*PipelineSuccessRateStatsData `json:"data"`
}
Pipeline statistics for pipline success rate
type PipelineSuccessRateStatsData ¶
type PipelineSuccessRateStatsData struct {
// Time
Time *string `json:"time"`
// Success rate
SuccessRate *int `json:"successRate"`
}
Stats data for pipline success rate
type PipelineSuccessRateStatsInfo ¶
type PipelineSuccessRateStatsInfo struct {
// Time period data
TimePeriodData *StatsTimePeriodData `json:"timePeriodData"`
// Total average success rate for the all time period
AverageSuccessRate int `json:"averageSuccessRate"`
// Diff in avarages between the current time period and the previous time period
PctDiffFromLastTimeFrame *float64 `json:"pctDiffFromLastTimeFrame"`
}
Stats info for pipeline success rate.
type PipelinesFilterArgs ¶
type PipelinesFilterArgs struct {
// Filter pipelines from a specific project
Project *string `json:"project"`
// Filter pipelines from a specific runtime
Runtime *string `json:"runtime"`
// Filter pipelines from a specific runtime
Namespace *string `json:"namespace"`
// Filter pipelines from a specific cluster URL
Cluster *string `json:"cluster"`
// Filter pipelines from a specific pipeline
Name *string `json:"name"`
// Filter pipelines from a specific groups
Groups []*string `json:"groups"`
// Filter pipelines from a specific versions
Versions []*string `json:"versions"`
// Filter pipelines by workflowTemplate
WorkflowTemplate *string `json:"workflowTemplate"`
}
Pipeline filter arguments
type Plan ¶ added in v0.37.7
type Plan struct {
// Stripe
Stripe *Stripe `json:"stripe"`
// Trial
Trial *Trial `json:"trial"`
// BasePrice
BasePrice *BasePrice `json:"basePrice"`
// Workflows
Workflows *PlanWorkflows `json:"workflows"`
// Environments
Environments *PlanEnvironment `json:"environments"`
// DataRetention
DataRetention *DataRetention `json:"dataRetention"`
// Collaborators
Collaborators *PlanCollaborators `json:"collaborators"`
// PastDue
PastDue *PastDue `json:"pastDue"`
// NewPricingModel
NewPricingModel *bool `json:"newPricingModel"`
// Azure
Azure *bool `json:"azure"`
// Currency
Currency *string `json:"currency"`
// Default
Default *bool `json:"default"`
// Dedicated
Dedicated *bool `json:"dedicated"`
// PrivateRepo
PrivateRepo *bool `json:"privateRepo"`
// PaymentInterval
PaymentInterval *string `json:"paymentInterval"`
// IsWiredTransfer
IsWiredTransfer *bool `json:"isWiredTransfer"`
// Packs
Packs []*Pack `json:"packs"`
// TotalPrice
TotalPrice *int `json:"totalPrice"`
// DisplayName
DisplayName *string `json:"displayName"`
// Id
ID *string `json:"id"`
// DefaultPack
DefaultPack *string `json:"defaultPack"`
// Segment
Segment *string `json:"segment"`
// MRR
Mrr *int `json:"mrr"`
// ARR
Arr *int `json:"arr"`
}
Plan
type PlanCollaborators ¶ added in v0.37.7
type PlanCollaborators struct {
// Limit
Limit *int `json:"limit"`
}
PlanCollaborators
type PlanEnvironment ¶ added in v0.37.7
type PlanEnvironment struct {
// Concurrency
Concurrency *EnvironmentConcurrency `json:"concurrency"`
}
PlanEnvironment
type PlanWorkflows ¶ added in v0.37.7
type PlanWorkflows struct {
// Concurrency
Concurrency *WorkflowConcurrency `json:"concurrency"`
}
PlanWorkflows
type PodEventsEntry ¶ added in v0.37.9
type PodEventsEntry struct {
// podName
PodName string `json:"podName"`
// Timestamp
Timestamp string `json:"timestamp"`
// Message
Message string `json:"message"`
// Reason
Reason string `json:"reason"`
// Type
Type string `json:"type"`
}
PodEventsEntry
type PodEventsResponse ¶ added in v0.37.9
type PodEventsResponse struct {
// Data
Data *PodEventsEntry `json:"data"`
// Error
Error *string `json:"error"`
// done
Done *bool `json:"done"`
}
Response Pod Events
type PodSpec ¶ added in v0.37.4
type PodSpec struct {
// Containers
Containers []*DeploymentContainer `json:"containers"`
}
Pod Spec
type PodTemplateSpec ¶ added in v0.37.4
type PodTemplateSpec struct {
// Metadata
Metadata *ObjectMeta `json:"metadata"`
// Spec
Spec *PodSpec `json:"spec"`
}
PodTemplate Spec
type PredefinedFilter ¶ added in v0.37.7
type PredefinedFilter struct {
// Key is the name of predefined filter
Key string `json:"key"`
// Value is the allowed string values for this key Booleans are passed using strconv.ParseBool() Numbers are parsed using as float64 using strconv.ParseFloat() Strings are taken as is Nils this value is ignored
Value []string `json:"value"`
// Comparator compares the event data with a user given value. Can be '>=', '>', '=', '!=', '<', or '<='. Is optional, and if left blank treated as equality '='.
Comparator *string `json:"comparator"`
}
Predefined filter is similar to Classic Codefresh filters by branch, repo etc.
type PredefinedFilterArgs ¶ added in v0.37.7
type PredefinedFilterArgs struct {
// Key is the name of predefined filter
Key string `json:"key"`
// Value is the allowed string values for this key Booleans are passed using strconv.ParseBool() Numbers are parsed using as float64 using strconv.ParseFloat() Strings are taken as is Nils this value is ignored
Value []string `json:"value"`
// Comparator compares the event data with a user given value. Can be '>=', '>', '=', '!=', '<', or '<='. Is optional, and if left blank treated as equality '='.
Comparator *string `json:"comparator"`
}
Predefined filter is similar to Classic Codefresh filters by branch, repo etc.
type Product ¶ added in v0.57.1
type Product struct {
// Entity db id
ID string `json:"id"`
// Group name
Name string `json:"name"`
// Favorites
Favorites []string `json:"favorites"`
// Is group marked as favorite (user scope)
Favorite *bool `json:"favorite"`
// Annotaion pairs array strings(key=value)
AnnotationPairs []*string `json:"annotationPairs"`
// Custom Annotation pair 'key=value' used for auto-linking applications, empty string if not set
CustomAnnotationPairs []*string `json:"customAnnotationPairs"`
// List of environments that has at least 1 product component associated with this product
Environments []*Environment `json:"environments"`
// Tags list
Tags []*string `json:"tags"`
}
Product Entity
func (Product) IsFavorableNotK8s ¶ added in v0.57.1
func (Product) IsFavorableNotK8s()
func (Product) IsFavorableNotK8sEntity ¶ added in v0.57.1
func (Product) IsFavorableNotK8sEntity()
type ProductApplication ¶ added in v0.57.1
type ProductApplication struct {
// Entity id object
Self *ProductApplicationEntityID `json:"self"`
// Runtime name
Runtime string `json:"runtime"`
// Deployed to object
DeployedTo *ProductApplicationDeployedTo `json:"deployedTo"`
// Product App Application Status object
Status *ProductApplicationStatus `json:"status"`
// Annotaion pairs array strings(key=value)
AnnotationPairs []*string `json:"annotationPairs"`
// Latest application release
Release *ProductApplicationRelease `json:"release"`
// Version of product and dependencies
AppVersions *ProductComponentVersions `json:"appVersions"`
}
Product App application
type ProductApplicationDeployedTo ¶ added in v0.57.1
type ProductApplicationDeployedTo struct {
// Destination cluster name
Name *string `json:"name"`
// Destination server url
Server *string `json:"server"`
// Destination namespace
Namespace *string `json:"namespace"`
}
Product Application deployed to
type ProductApplicationEntityID ¶ added in v0.57.1
type ProductApplicationEntityID struct {
// Group
Group string `json:"group"`
// Version
Version string `json:"version"`
// Kind
Kind string `json:"kind"`
// Name
Name string `json:"name"`
// Cluster
Cluster string `json:"cluster"`
// Namespace
Namespace *string `json:"namespace"`
}
Product application entity id
type ProductApplicationRelease ¶ added in v0.57.1
type ProductApplicationRelease struct {
// History id
HistoryID int `json:"historyId"`
// Related argocd history id
ArgoHistoryID *int `json:"argoHistoryId"`
// Application field
Application *ApplicationField `json:"application"`
// Child applications
ChildApps []*ChildApplicationField `json:"childApps"`
// From state
FromState *FromState `json:"fromState"`
// To state
ToState *ToState `json:"toState"`
// Transition
Transition *Transition `json:"transition"`
}
Product Application Release
type ProductApplicationStatus ¶ added in v0.57.1
type ProductApplicationStatus struct {
// Application sync status
Sync *SyncStatus `json:"sync"`
// Application health status
Health *HealthStatus `json:"health"`
}
Product App deployed to
type ProductComponent ¶ added in v0.57.1
type ProductComponent struct {
// Entity db id
ID string `json:"id"`
// Component name
Name string `json:"name"`
// Product app type
Type ProductComponentType `json:"type"`
// Application
Application *ProductApplication `json:"application"`
// Promotion workflow
PromotedBy *ProductComponentPromotedByWorkflow `json:"promotedBy"`
// ID of product to which component is manually attached
ManuallyAttachedToProductID *string `json:"manuallyAttachedToProductId"`
// Resolved when product app attached to specific product or null if unassigned. Normally should be 1 or 0. If more this means that collision in relation present and component belongs to different products
Products []*Product `json:"products"`
// Resolved when product app attached to specific environment or null if unassigned
Environments []*Environment `json:"environments"`
// Favorites
Favorites []string `json:"favorites"`
// Is group marked as favorite (user scope)
Favorite *bool `json:"favorite"`
}
Product Component Entity
func (ProductComponent) IsEntity ¶ added in v0.57.1
func (ProductComponent) IsEntity()
func (ProductComponent) IsFavorableNotK8s ¶ added in v0.57.1
func (ProductComponent) IsFavorableNotK8s()
type ProductComponentEdge ¶ added in v0.57.1
type ProductComponentEdge struct {
// Node contains the actual Product data
Node *ProductComponent `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
Product component Edge
func (ProductComponentEdge) IsEdge ¶ added in v0.57.1
func (ProductComponentEdge) IsEdge()
type ProductComponentFilterArgs ¶ added in v0.57.1
type ProductComponentFilterArgs struct {
// Partial name (case insensitive)
PartialName *string `json:"partialName"`
// Application names
AppNames []*string `json:"appNames"`
// Filter by user favorite
Favorite *bool `json:"favorite"`
// Issue key array
IssueKeys []string `json:"issueKeys"`
// PR key array
PrKeys []string `json:"prKeys"`
// Committers array
Committers []string `json:"committers"`
// Images array
Images []string `json:"images"`
// Product names array
Products []string `json:"products"`
// If 'true' returns unassigned components, 'false' ignored
NotInProduct *bool `json:"notInProduct"`
// Environments names array
Environments []string `json:"environments"`
// If 'true' returns components that belong to any environment, 'false' ignored
InEnvironment *bool `json:"inEnvironment"`
// By application health status
HealthStatuses []HealthStatus `json:"healthStatuses"`
}
Args to filter Product Components
type ProductComponentPromotedByWorkflow ¶ added in v0.58.0
type ProductComponentPromotedByWorkflow struct {
// Workflow name
WorkflowName string `json:"workflowName"`
// Workflow status
Status WorkflowPhases `json:"status"`
// Git commit SHA that triggered the workflow
Revision string `json:"revision"`
// Workflow start time
StartedAt *string `json:"startedAt"`
// Workflow finish time
FinishedAt *string `json:"finishedAt"`
}
Info about the workflow that promoted component
type ProductComponentSortArg ¶ added in v0.57.1
type ProductComponentSortArg struct {
// Field for sorting
Field ProductComponentSortingField `json:"field"`
// Order
Order SortingOrder `json:"order"`
}
Product Component sorting arguments
type ProductComponentSortingField ¶ added in v0.57.1
type ProductComponentSortingField string
Product Components Sorting field
const ( // By name ProductComponentSortingFieldName ProductComponentSortingField = "name" // By updated at ProductComponentSortingFieldUpdatedAt ProductComponentSortingField = "updatedAt" )
func (ProductComponentSortingField) IsValid ¶ added in v0.57.1
func (e ProductComponentSortingField) IsValid() bool
func (ProductComponentSortingField) MarshalGQL ¶ added in v0.57.1
func (e ProductComponentSortingField) MarshalGQL(w io.Writer)
func (ProductComponentSortingField) String ¶ added in v0.57.1
func (e ProductComponentSortingField) String() string
func (*ProductComponentSortingField) UnmarshalGQL ¶ added in v0.57.1
func (e *ProductComponentSortingField) UnmarshalGQL(v interface{}) error
type ProductComponentType ¶ added in v0.57.1
type ProductComponentType string
Product Component types
const ( // Argo application ProductComponentTypeArgoApplication ProductComponentType = "ARGO_APPLICATION" // Helm - not implemented yet ProductComponentTypeHelm ProductComponentType = "HELM" )
func (ProductComponentType) IsValid ¶ added in v0.57.1
func (e ProductComponentType) IsValid() bool
func (ProductComponentType) MarshalGQL ¶ added in v0.57.1
func (e ProductComponentType) MarshalGQL(w io.Writer)
func (ProductComponentType) String ¶ added in v0.57.1
func (e ProductComponentType) String() string
func (*ProductComponentType) UnmarshalGQL ¶ added in v0.57.1
func (e *ProductComponentType) UnmarshalGQL(v interface{}) error
type ProductComponentVersions ¶ added in v0.58.0
type ProductComponentVersions struct {
// AppVersion
AppVersion *string `json:"appVersion"`
// VersionSources as yaml resources
VersionSources []*ComponentDependenciesContent `json:"versionSources"`
// Versions
VersionSummary []*SingleComponentDependency `json:"versionSummary"`
}
Version of product and dependencies
type ProductComponentsSlice ¶ added in v0.57.1
type ProductComponentsSlice struct {
// Product app edges
Edges []*ProductComponentEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
Product components Slice
func (ProductComponentsSlice) IsSlice ¶ added in v0.57.1
func (ProductComponentsSlice) IsSlice()
type ProductEdge ¶ added in v0.57.1
type ProductEdge struct {
// Node contains the actual Product data
Node *Product `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
Product Edge
func (ProductEdge) IsEdge ¶ added in v0.57.1
func (ProductEdge) IsEdge()
type ProductEnvironmentStatistic ¶ added in v0.57.1
type ProductEnvironmentStatistic struct {
// Entity db id
EnvID string `json:"envId"`
// Environment name
Name string `json:"name"`
// Kind of environment
Kind EnvironmentKind `json:"kind"`
// Kind of environment
ComponentsAmount int `json:"componentsAmount"`
// Position of environment
Position int `json:"position"`
}
Product Environment Statistic item
type ProductFilterArgs ¶ added in v0.57.1
type ProductFilterArgs struct {
// Partial name (case insensitive)
PartialName *string `json:"partialName"`
// Application names
AppNames []*string `json:"appNames"`
// Environments names
Environments []*string `json:"environments"`
// Filter by user favorite
Favorite *bool `json:"favorite"`
}
Args to filter Product
type ProductSlice ¶ added in v0.57.1
type ProductSlice struct {
// Product edges
Edges []*ProductEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
Product Slice
func (ProductSlice) IsSlice ¶ added in v0.57.1
func (ProductSlice) IsSlice()
type ProductSortArg ¶ added in v0.57.1
type ProductSortArg struct {
// Field for sorting
Field ProductSortingField `json:"field"`
// Order
Order SortingOrder `json:"order"`
}
Product sorting arguments
type ProductSortingField ¶ added in v0.57.1
type ProductSortingField string
Product Sorting field
const ( // By name ProductSortingFieldName ProductSortingField = "name" // By updated at ProductSortingFieldUpdatedAt ProductSortingField = "updatedAt" )
func (ProductSortingField) IsValid ¶ added in v0.57.1
func (e ProductSortingField) IsValid() bool
func (ProductSortingField) MarshalGQL ¶ added in v0.57.1
func (e ProductSortingField) MarshalGQL(w io.Writer)
func (ProductSortingField) String ¶ added in v0.57.1
func (e ProductSortingField) String() string
func (*ProductSortingField) UnmarshalGQL ¶ added in v0.57.1
func (e *ProductSortingField) UnmarshalGQL(v interface{}) error
type ProductStatistic ¶ added in v0.57.1
type ProductStatistic struct {
// Entity db id
ID string `json:"id"`
// Group name
Name string `json:"name"`
// Entironments
Environments []*ProductEnvironmentStatistic `json:"environments"`
}
Product Statistic item
type Project ¶
type Project struct {
// Project name
Name string `json:"name"`
// Project description
Description *string `json:"description"`
}
Project entity
type ProjectBasedEntity ¶
type ProjectBasedEntity interface {
IsProjectBasedEntity()
}
Project based entity
type ProjectEdge ¶
type ProjectEdge struct {
// Node contains the actual project data
Node *Project `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
Project Edge
func (ProjectEdge) IsEdge ¶
func (ProjectEdge) IsEdge()
type ProjectSlice ¶
type ProjectSlice struct {
// Project edges
Edges []*ProjectEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
Project Slice
func (ProjectSlice) IsSlice ¶
func (ProjectSlice) IsSlice()
type PromotionDiffFile ¶ added in v0.58.0
type PromotionDiffResult ¶ added in v0.57.1
type PromotionDiffResult struct {
// Git integration name, if not provided will use the default one
IntegrationName *string `json:"integrationName"`
// Branch name, if empty - will use the repo's defaultBranch (usually 'main')
BranchName string `json:"branchName"`
// Repository full name in format {owner}/{name}
Repo string `json:"repo"`
// Files to commit
Files []*PromotionDiffFile `json:"files"`
}
Promotion Diff Result
type PromotionType ¶ added in v0.57.1
type PromotionType string
Promotion Type
const ( PromotionTypeCommit PromotionType = "commit" PromotionTypePullRequest PromotionType = "pullRequest" )
func (PromotionType) IsValid ¶ added in v0.57.1
func (e PromotionType) IsValid() bool
func (PromotionType) MarshalGQL ¶ added in v0.57.1
func (e PromotionType) MarshalGQL(w io.Writer)
func (PromotionType) String ¶ added in v0.57.1
func (e PromotionType) String() string
func (*PromotionType) UnmarshalGQL ¶ added in v0.57.1
func (e *PromotionType) UnmarshalGQL(v interface{}) error
type PullRequestCommitter ¶ added in v0.37.4
type PullRequestCommitter struct {
// userName
UserName string `json:"userName"`
// avatar
Avatar *string `json:"avatar"`
}
PullRequestCommitter
type PullRequestValue ¶ added in v0.37.4
type PullRequestValue struct {
// url
URL string `json:"url"`
// title
Title string `json:"title"`
// committers
Committers []*PullRequestCommitter `json:"committers"`
// commits
Commits []*Commits `json:"commits"`
// id
ID *string `json:"id"`
}
PullRequest value
type ReadFileArgs ¶ added in v0.37.0
type ReadFileArgs struct {
// Git integration name, if not provided will use the default one
IntegrationName *string `json:"integrationName"`
// Git reference name (branch/revision/commit-hash)
Ref string `json:"ref"`
// Repository full name in format {owner}/{name}
Repo string `json:"repo"`
// File full path
Path string `json:"path"`
}
Read file from a git repository args
type RefreshOptions ¶ added in v0.48.0
type RefreshOptions struct {
Refresh RefreshOptionsTypes `json:"refresh"`
}
type RefreshOptionsTypes ¶ added in v0.48.0
type RefreshOptionsTypes string
const ( RefreshOptionsTypesNormal RefreshOptionsTypes = "normal" RefreshOptionsTypesHard RefreshOptionsTypes = "hard" )
func (RefreshOptionsTypes) IsValid ¶ added in v0.48.0
func (e RefreshOptionsTypes) IsValid() bool
func (RefreshOptionsTypes) MarshalGQL ¶ added in v0.48.0
func (e RefreshOptionsTypes) MarshalGQL(w io.Writer)
func (RefreshOptionsTypes) String ¶ added in v0.48.0
func (e RefreshOptionsTypes) String() string
func (*RefreshOptionsTypes) UnmarshalGQL ¶ added in v0.48.0
func (e *RefreshOptionsTypes) UnmarshalGQL(v interface{}) error
type RefreshResponse ¶ added in v0.48.0
type RefreshResponse struct {
// metadata
Metadata *RefreshResponseMetadata `json:"metadata"`
}
type RefreshResponseMetadata ¶ added in v0.48.0
type RefreshResponseMetadata struct {
Name *string `json:"name"`
}
type RefreshType ¶ added in v0.43.5
type RefreshType string
RefreshType specifies how to refresh the sources of a given application
const ( // normal RefreshTypeNormal RefreshType = "normal" // hard RefreshTypeHard RefreshType = "hard" )
func (RefreshType) IsValid ¶ added in v0.43.5
func (e RefreshType) IsValid() bool
func (RefreshType) MarshalGQL ¶ added in v0.43.5
func (e RefreshType) MarshalGQL(w io.Writer)
func (RefreshType) String ¶ added in v0.43.5
func (e RefreshType) String() string
func (*RefreshType) UnmarshalGQL ¶ added in v0.43.5
func (e *RefreshType) UnmarshalGQL(v interface{}) error
type RegisterToGitIntegrationArgs ¶
type RegisterToGitIntegrationArgs struct {
// Git integration name, if not provided will use the default one
Name *string `json:"name"`
// Token
Token string `json:"token"`
// Refresh Token, required when using Bitbucket with OAuth
RefreshToken *string `json:"refreshToken"`
// Username to use for authentication, required for Bitbucket if not using OAuth
Username *string `json:"username"`
// Deprecated (ignored): User Id
UserID *string `json:"userId"`
// Deprecated (ignored): Account Id
AccountID *string `json:"accountId"`
// Deprecated (ignored): Is User an Admin
IsAdmin *bool `json:"isAdmin"`
// Token Type - git runtime token / git user git token, default is USER_TOKEN
TokenType *TokenType `json:"tokenType"`
}
Register to Git integration args
type Registry ¶ added in v0.37.4
type Registry struct {
// Domain
Domain string `json:"domain"`
// Registry type
Type ImageRegistryType `json:"type"`
// Repository prefix derived from image name: `domain + repository/prefix[/any] + imageName
RepositoryPrefix *string `json:"repositoryPrefix"`
// Original Repository Prefix
OriginalRepositoryPrefix *string `json:"originalRepositoryPrefix"`
}
Registry
type RegistryOutput ¶ added in v0.37.4
type RegistryOutput struct {
// Id
ID *string `json:"id"`
// Domain
Domain string `json:"domain"`
// Repository prefix derived from image name: `domain + repository/prefix[/any] + imageName
RepositoryPrefix *string `json:"repositoryPrefix"`
// OriginalRepositoryPrefix
OriginalRepositoryPrefix *string `json:"originalRepositoryPrefix"`
}
RegistryOutput
type Release ¶
type Release struct {
// Runtime version (backward compatability, not used anywhere)
Version string `json:"version"`
// Runtime version
RuntimeVersion string `json:"runtimeVersion"`
// Chart version (only exists in helm runtime)
ChartVersion *string `json:"chartVersion"`
// Has security vulnerabilities
HasSecurityVulnerabilities *bool `json:"hasSecurityVulnerabilities"`
}
Release Entity - represents a Codefresh runtime release
type ReleaseRolloutDisabledReasons ¶ added in v0.57.1
type ReleaseRolloutDisabledReasons string
Release Rollout Disabled Reasons
const ( // Happens only when new commit occured (non-image change) while Rollout was progressing ReleaseRolloutDisabledReasonsRestartedDueNewCommit ReleaseRolloutDisabledReasons = "RESTARTED_DUE_NEW_COMMIT" )
func (ReleaseRolloutDisabledReasons) IsValid ¶ added in v0.57.1
func (e ReleaseRolloutDisabledReasons) IsValid() bool
func (ReleaseRolloutDisabledReasons) MarshalGQL ¶ added in v0.57.1
func (e ReleaseRolloutDisabledReasons) MarshalGQL(w io.Writer)
func (ReleaseRolloutDisabledReasons) String ¶ added in v0.57.1
func (e ReleaseRolloutDisabledReasons) String() string
func (*ReleaseRolloutDisabledReasons) UnmarshalGQL ¶ added in v0.57.1
func (e *ReleaseRolloutDisabledReasons) UnmarshalGQL(v interface{}) error
type ReleaseRolloutState ¶ added in v0.37.7
type ReleaseRolloutState struct {
// Name
Name string `json:"name"`
// UID
UID *string `json:"uid"`
// Revision
CurrentRevision int `json:"currentRevision"`
// Disable rollout access on ui
Disabled *ReleaseRolloutDisabledReasons `json:"disabled"`
// Status of the process
Phase RolloutPhases `json:"phase"`
// Health message
Message *string `json:"message"`
// Name of current strategy
CurrentStrategyName RolloutStrategyNames `json:"currentStrategyName"`
// Number of steps
Steps *int `json:"steps"`
// Current step index
CurrentStepIndex *int `json:"currentStepIndex"`
// Current step spec
CurrentStepSpec *string `json:"currentStepSpec"`
// Services
Services []*string `json:"services"`
// Status of PrePromotion analysis
PrePromotionAnalysisRunStatus *RolloutAnalysisStatus `json:"prePromotionAnalysisRunStatus"`
// Status of postPromotion analysis
PostPromotionAnalysisRunStatus *RolloutAnalysisStatus `json:"postPromotionAnalysisRunStatus"`
// Status of inline analyses
StepsAnalysisRunStatuses []*RolloutAnalysisStatus `json:"stepsAnalysisRunStatuses"`
// Status of background status
BackgroundAnalysisRunStatus *RolloutAnalysisStatus `json:"backgroundAnalysisRunStatus"`
// Revision info
RevisionInfo *RevisionInfo `json:"revisionInfo"`
// Is rollout complete
IsComplete bool `json:"isComplete"`
// Is rollout paused (taken from status.paused)
Paused *bool `json:"paused"`
// Set to true only when analysis run status become inconclusive
PausedInconclusive *bool `json:"pausedInconclusive"`
}
Rollout Rollout State
type ReleaseServiceState ¶ added in v0.37.4
type ReleaseServiceState struct {
// Images
Images []*Images `json:"images"`
// SyncStatus
SyncStatus *SyncStatus `json:"syncStatus"`
// Replicas
Replicas *int `json:"replicas"`
// Available Replicas
AvailableReplicas *int `json:"availableReplicas"`
}
ReleaseServiceState Entity
type RenewAccessTokenResponse ¶ added in v0.37.4
type RenewAccessTokenResponse struct {
// The access token to use for the next requests
NewAccessToken *string `json:"newAccessToken"`
}
"response for renew access token
type ReplicaSet ¶ added in v0.52.0
type ReplicaSet struct {
// Object metadata
Metadata *ObjectMeta `json:"metadata"`
// Errors
Errors []Error `json:"errors"`
// Entities referencing this entity
ReferencedBy []BaseEntity `json:"referencedBy"`
// Entities referenced by this enitity
References []BaseEntity `json:"references"`
// History of the application
History *GitOpsSlice `json:"history"`
// Image
Image string `json:"image"`
// Replicas
Replicas int `json:"replicas"`
// Ready Replicas
ReadyReplicas int `json:"readyReplicas"`
// Current Replicas
CurrentReplicas int `json:"currentReplicas"`
// Available Replicas
AvailableReplicas int `json:"availableReplicas"`
// Updated Replicas
UpdatedReplicas int `json:"updatedReplicas"`
// Actual manifest
ActualManifest string `json:"actualManifest"`
}
ReplicaSet entity
func (ReplicaSet) IsBaseEntity ¶ added in v0.52.0
func (ReplicaSet) IsBaseEntity()
func (ReplicaSet) IsEntity ¶ added in v0.52.0
func (ReplicaSet) IsEntity()
type ReplicaSetEdge ¶ added in v0.52.0
type ReplicaSetEdge struct {
// Node contains the actual ReplicaSet data
Node *ReplicaSet `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
ReplicaSet Edge
func (ReplicaSetEdge) IsEdge ¶ added in v0.52.0
func (ReplicaSetEdge) IsEdge()
type ReplicaSetSlice ¶ added in v0.52.0
type ReplicaSetSlice struct {
// ReplicaSet edges
Edges []*ReplicaSetEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
ReplicaSet Slice
func (ReplicaSetSlice) IsSlice ¶ added in v0.52.0
func (ReplicaSetSlice) IsSlice()
type RepoBitbucketCloudFilterArgs ¶ added in v0.48.0
type RepoBitbucketCloudFilterArgs struct {
// Repo owner
Owner string `json:"owner"`
// Repo projectKey
ProjectKey string `json:"projectKey"`
// Repo name
RepositorySlug string `json:"repositorySlug"`
}
RepoBitbucketCloudFilterArgs
type RepoBitbucketCloudFilterArgsInput ¶ added in v0.48.0
type RepoBitbucketCloudFilterArgsInput struct {
// Repo owner
Owner string `json:"owner"`
// Repo projectKey
ProjectKey string `json:"projectKey"`
// Repo name
RepositorySlug string `json:"repositorySlug"`
}
RepoBitbucketCloudFilterArgs
type ReportRuntimeErrorsArgs ¶
type ReportRuntimeErrorsArgs struct {
// Name of the Runtime
Runtime string `json:"runtime"`
// Errors
Errors []*HealthErrorInput `json:"errors"`
}
Runtime Errors Report Arguments
type RepositoriesFilterArgs ¶ added in v0.37.0
type RepositoriesFilterArgs struct {
// Filter repository by name
Name *string `json:"name"`
}
Repositories filter arguments
type RepositoriesPage ¶ added in v0.37.0
type RepositoriesPage struct {
// An aray of Repositories in the page
Data []*Repository `json:"data"`
// Page number
Page int `json:"page"`
// How many repo in a page
Count int `json:"count"`
// Has next page?
HasNext bool `json:"hasNext"`
}
Repositories Page
type Repository ¶
type Repository struct {
// Repo id
ID string `json:"id"`
// Git provider
Provider GitProviders `json:"provider"`
// Repository full name in format {owner}/{name}
FullName string `json:"fullName"`
// Is the repo private ?
IsRepoPrivate bool `json:"isRepoPrivate"`
// Last time a commit was pushed to one of the branches
PushedAt string `json:"pushedAt"`
// Number of open issues
OpenIssues int `json:"openIssues"`
// Clone url
CloneURL string `json:"cloneUrl"`
// ssh url
SSHURL string `json:"sshUrl"`
// Repo owner login
OwnerLogin string `json:"ownerLogin"`
// Repo owner avatar url
OwnerAvatarURL string `json:"ownerAvatarUrl"`
// Repo creator
RepoCreator *string `json:"repoCreator"`
// Organization name
Org *string `json:"org"`
// Default branch name
DefaultBranch string `json:"defaultBranch"`
// Has admin permissions ?
IsRepoAdmin *bool `json:"isRepoAdmin"`
// Repository url
WebURL string `json:"webUrl"`
// Project name
Project *string `json:"project"`
}
Repository
type RepositoryAppDetailsOutput ¶ added in v0.37.9
type RepositoryAppDetailsOutput struct {
// Type
Type string `json:"type"`
// ConfigManagementPlugin holds config management plugin specific options
Plugin *RepositoryAppPluginOutput `json:"plugin"`
// Kustomize holds kustomize specific options
Kustomize *RepositoryAppKustomizeOutput `json:"kustomize"`
// Ksonnet holds ksonnet specific options
Ksonnet *RepositoryAppKsonnetOutput `json:"ksonnet"`
// Helm holds helm specific options
Helm *RepositoryAppHelmOutput `json:"helm"`
// Directory holds path/directory specific options
Directory *RepositoryAppDirectoryOutput `json:"directory"`
}
type RepositoryAppDirectoryJsonnetExtVarsOutput ¶ added in v0.37.9
type RepositoryAppDirectoryJsonnetOutput ¶ added in v0.37.9
type RepositoryAppDirectoryJsonnetOutput struct {
// Jsonnet external vars list
ExtVars []*RepositoryAppDirectoryJsonnetExtVarsOutput `json:"extVars"`
// Libs names list
Libs []string `json:"libs"`
// Tlas vars list
Tlas []*RepositoryAppDirectoryJsonnetTlasOutput `json:"tlas"`
}
type RepositoryAppDirectoryJsonnetTlasOutput ¶ added in v0.37.9
type RepositoryAppDirectoryOutput ¶ added in v0.37.9
type RepositoryAppDirectoryOutput struct {
// Exclude contains a glob pattern to match paths against that should be explicitly excluded from being used during manifest generation
Exclude *string `json:"exclude"`
// Include contains a glob pattern to match paths against that should be explicitly included during manifest generation
Include *string `json:"include"`
// Holds options specific to Jsonnet
Jsonnet *RepositoryAppDirectoryJsonnetOutput `json:"jsonnet"`
// Recurse specifies whether to scan a directory recursively for manifests
Recurse *bool `json:"recurse"`
}
type RepositoryAppHelmFileParameterOutput ¶ added in v0.37.9
type RepositoryAppHelmOutput ¶ added in v0.37.9
type RepositoryAppHelmOutput struct {
// File paraments list
FileParameters []*RepositoryAppHelmFileParameterOutput `json:"fileParameters"`
// Paraments list
Parameters []*RepositoryAppHelmParameterOutput `json:"parameters"`
// Release name
ReleaseName *string `json:"releaseName"`
// List of values files inside app
ValueFiles []string `json:"valueFiles"`
// Values inside app
Values *string `json:"values"`
// Version
Version *string `json:"version"`
}
type RepositoryAppHelmParameterOutput ¶ added in v0.37.9
type RepositoryAppKsonnetEnvironmentDestinationOutput ¶ added in v0.37.9
type RepositoryAppKsonnetEnvironmentOutput ¶ added in v0.37.9
type RepositoryAppKsonnetEnvironmentOutput struct {
// Environment name
Key *string `json:"key"`
// Ksonnet environmet details
Value *RepositoryAppKsonnetEnvironmentValueOutput `json:"value"`
}
type RepositoryAppKsonnetEnvironmentValueOutput ¶ added in v0.37.9
type RepositoryAppKsonnetEnvironmentValueOutput struct {
// Name
Name *string `json:"name"`
// k8s version
K8sVersion *string `json:"k8sVersion"`
// Destination options
Destination *RepositoryAppKsonnetEnvironmentDestinationOutput `json:"destination"`
}
type RepositoryAppKsonnetOutput ¶ added in v0.37.9
type RepositoryAppKsonnetOutput struct {
// Environments list
Environments []*RepositoryAppKsonnetEnvironmentOutput `json:"environments"`
// Ksonnet parameters list
Parameters []*RepositoryAppKsonnetParametersOutput `json:"parameters"`
}
type RepositoryAppKsonnetParametersOutput ¶ added in v0.37.9
type RepositoryAppKustomizeOutput ¶ added in v0.37.9
type RepositoryAppKustomizeOutput struct {
// Common Annotations
CommonAnnotations []*StringPair `json:"commonAnnotations"`
// Common Labels
CommonLabels []*StringPair `json:"commonLabels"`
// Force common annotations flag
ForceCommonAnnotations *bool `json:"forceCommonAnnotations"`
// Force common labels flag
ForceCommonLabels *bool `json:"forceCommonLabels"`
// Images list
Images []string `json:"images"`
// Name prefix
NamePrefix *string `json:"namePrefix"`
// Name suffix
NameSuffix *string `json:"nameSuffix"`
// Version
Version *string `json:"version"`
}
type RepositoryAppOutput ¶ added in v0.37.9
type RepositoryAppPluginOutput ¶ added in v0.37.9
type RepositoryAppPluginOutput struct {
// Envs list
Env []*NameValueOutput `json:"env"`
// Plugin name
Name *string `json:"name"`
}
type RepositoryBranchesAndTagsOutput ¶ added in v0.37.9
type RepositoryHelmChartItemOutput ¶ added in v0.37.9
type Resource ¶ added in v0.43.5
type Resource struct {
Manifest string `json:"manifest"`
}
Resource
type ResourceAction ¶
type ResourceAction string
Resource action
const ( // Added ResourceActionAdded ResourceAction = "ADDED" // Deleted ResourceActionDeleted ResourceAction = "DELETED" // Updated ResourceActionUpdated ResourceAction = "UPDATED" )
func (ResourceAction) IsValid ¶
func (e ResourceAction) IsValid() bool
func (ResourceAction) MarshalGQL ¶
func (e ResourceAction) MarshalGQL(w io.Writer)
func (ResourceAction) String ¶
func (e ResourceAction) String() string
func (*ResourceAction) UnmarshalGQL ¶
func (e *ResourceAction) UnmarshalGQL(v interface{}) error
type ResourceEvent ¶
type ResourceEvent struct {
// Name
Name string `json:"name"`
// Group
Group string `json:"group"`
// Version
Version string `json:"version"`
// Kind
Kind string `json:"kind"`
// Namespace
Namespace string `json:"namespace"`
}
Resource event
func (ResourceEvent) IsEvent ¶
func (ResourceEvent) IsEvent()
type ResourceException ¶ added in v0.37.8
type ResourceException struct {
// Full filename with path
Filename *string `json:"filename"`
// K8s kind
Kind string `json:"kind"`
// List of execptions for the provided resource
Exceptions []*Exception `json:"exceptions"`
}
Resource Exception
type ResourceHostInfo ¶ added in v0.37.9
type ResourceHostInfo struct {
ResourceName *string `json:"resourceName"`
RequestedByNeighbors *int `json:"requestedByNeighbors"`
Capacity *int `json:"capacity"`
}
Resource host info
type ResourceManifest ¶ added in v0.37.7
type ResourceManifest struct {
// Full filename with path
Filename *string `json:"filename"`
// Status: created, updated, deleted
Status *string `json:"status"`
// K8s kind
Kind string `json:"kind"`
// File contents
Content string `json:"content"`
// Old file contents
OldContent *string `json:"oldContent"`
// Git commit sha
Revision *string `json:"revision"`
// Entities referenced by this resource
ReferencedBy []*BaseReference `json:"referencedBy"`
}
Resource manifest
type ResourceManifestInput ¶ added in v0.37.8
type ResourceManifestInput struct {
// Full filename with path
Filename *string `json:"filename"`
// Status: created, updated, deleted
Status *string `json:"status"`
// K8s kind
Kind string `json:"kind"`
// Old file contents
OldContent *string `json:"oldContent"`
// File contents
Content string `json:"content"`
}
Resource manifest
type ResourceOperation ¶ added in v0.45.0
type ResourceOperation string
ResourceOperation
const ( // Create resources ResourceOperationCreate ResourceOperation = "CREATE" // Delete resources ResourceOperationDelete ResourceOperation = "DELETE" // Update resources ResourceOperationUpdate ResourceOperation = "UPDATE" )
func (ResourceOperation) IsValid ¶ added in v0.45.0
func (e ResourceOperation) IsValid() bool
func (ResourceOperation) MarshalGQL ¶ added in v0.45.0
func (e ResourceOperation) MarshalGQL(w io.Writer)
func (ResourceOperation) String ¶ added in v0.45.0
func (e ResourceOperation) String() string
func (*ResourceOperation) UnmarshalGQL ¶ added in v0.45.0
func (e *ResourceOperation) UnmarshalGQL(v interface{}) error
type ResourceTree ¶ added in v0.37.9
type ResourceTree struct {
Nodes []*ResourceTreeNode `json:"nodes"`
Hosts []*ResourceTreeHost `json:"hosts"`
}
Resource tree
type ResourceTreeHealthStatus ¶ added in v0.37.9
type ResourceTreeHealthStatus struct {
Status *string `json:"status"`
}
Resource tree health statue
type ResourceTreeHost ¶ added in v0.37.9
type ResourceTreeHost struct {
Name *string `json:"name"`
ResourcesInfo []*ResourceHostInfo `json:"resourcesInfo"`
}
Resource tree host
type ResourceTreeNode ¶ added in v0.37.9
type ResourceTreeNode struct {
Version *string `json:"version"`
Group *string `json:"group"`
Kind *string `json:"kind"`
Namespace *string `json:"namespace"`
Name *string `json:"name"`
UID *string `json:"uid"`
ParentRefs []*ResourceTreeParentNode `json:"parentRefs"`
ResourceVersion *string `json:"resourceVersion"`
CreatedAt *string `json:"createdAt"`
Info []*ResourceTreeNodeInfo `json:"info"`
Images []string `json:"images"`
Health *ResourceTreeHealthStatus `json:"health"`
Status *SyncStatus `json:"status"`
Manifest *string `json:"manifest"`
// Available only for managed resources
Labels *string `json:"labels"`
// Available only for managed resources
Annotations *string `json:"annotations"`
}
Resource tree node
type ResourceTreeNodeInfo ¶ added in v0.37.9
Resource tree node info
type ResourceTreeParentNode ¶ added in v0.37.9
type ResourceTreeParentNode struct {
Kind string `json:"kind"`
Namespace *string `json:"namespace"`
Name string `json:"name"`
UID string `json:"uid"`
}
Resource tree parent node
type ResourcesRequests ¶ added in v0.37.7
type ResourcesRequests struct {
// CPU
CPU *string `json:"cpu"`
// Memory
Memory *string `json:"memory"`
}
ResourcesRequests
type RetryStrategy ¶ added in v0.45.0
type RevisionInfo ¶ added in v0.37.7
type RevisionInfo struct {
// Image Name
Image string `json:"image"`
// Image details
ImageDetails *RolloutImageDetails `json:"imageDetails"`
// Current traffic weight directed to this revision
Weight int `json:"weight"`
// Current replicas
Replicas *int `json:"replicas"`
// Current ready replicas
ReadyReplicas *int `json:"readyReplicas"`
// Current total replicas
CurrentReplicas *int `json:"currentReplicas"`
// Current available replicas
AvailableReplicas *int `json:"availableReplicas"`
UnavailableReplicas *int `json:"unavailableReplicas"`
// Updated replicas
UpdatedReplicas *int `json:"updatedReplicas"`
}
Revision Info Entity
type RollbackAvailabilityInfo ¶ added in v0.52.0
type RollbackAvailabilityInfo struct {
// Is rollback allowed for this rollout
Allowed bool `json:"allowed"`
// Is this rollout is latest one or not
IsLatestRollout bool `json:"isLatestRollout"`
// Is this rollout replicaset resource still exists in cluster as per history settings
InRevisionsHistory bool `json:"inRevisionsHistory"`
// Current revision history limit which is set in latest rollout of the application
RevisionHistoryLimitSettings int `json:"revisionHistoryLimitSettings"`
// Revision of latest rollout
LatestRevision int `json:"latestRevision"`
}
Rollback Availability Info
type Rollout ¶ added in v0.37.7
type Rollout struct {
// Object metadata
Metadata *ObjectMeta `json:"metadata"`
// Errors
Errors []Error `json:"errors"`
// Entities referenced by this enitity
References []BaseEntity `json:"references"`
// Entities referencing this entity
ReferencedBy []BaseEntity `json:"referencedBy"`
// History of the entity
History *GitOpsSlice `json:"history"`
// Version of the entity
Version *int `json:"version"`
// Is this the latest version of this entity
Latest *bool `json:"latest"`
// Entity source
Source *GitopsEntitySource `json:"source"`
// Sync status
SyncStatus SyncStatus `json:"syncStatus"`
// Health status
HealthStatus *HealthStatus `json:"healthStatus"`
// Health message
HealthMessage *string `json:"healthMessage"`
// Desired manifest
DesiredManifest *string `json:"desiredManifest"`
// Actual manifest
ActualManifest *string `json:"actualManifest"`
// Projects
Projects []string `json:"projects"`
// Spec
Spec *RolloutSpec `json:"spec"`
// Status
Status *RolloutStatus `json:"status"`
// Performed Actions (from codefresh)
PerformedActions *RolloutPerformedActions `json:"performedActions"`
// Rollback info
RollbackAvailability *RollbackAvailabilityInfo `json:"rollbackAvailability"`
}
"Rollout Entity
func (Rollout) IsBaseEntity ¶ added in v0.37.7
func (Rollout) IsBaseEntity()
func (Rollout) IsGitopsEntity ¶ added in v0.43.2
func (Rollout) IsGitopsEntity()
func (Rollout) IsProjectBasedEntity ¶ added in v0.37.7
func (Rollout) IsProjectBasedEntity()
type RolloutAnalysisRunStatus ¶ added in v0.53.0
type RolloutAnalysisRunStatus struct {
// Number of erroneous measurments
Name string `json:"name"`
// Status
Status AnalysisPhases `json:"status"`
// Message
Message *string `json:"message"`
}
Rollout Analysis Run Status
type RolloutAnalysisStatus ¶ added in v0.37.7
type RolloutAnalysisStatus struct {
// Number of erroneous measurments
Error int `json:"error"`
// Number of failed measurments
Failed int `json:"failed"`
// Number of inconclusive measurments
Inconclusive int `json:"inconclusive"`
// Name of the analysis
Name string `json:"name"`
// The summary state of the analysis, taking into account defined limits
Phase string `json:"phase"`
// Number of successful measurments
Successful int `json:"successful"`
}
Rollout Analysis Status
type RolloutCanaryInlineAnalysisStep ¶ added in v0.43.5
type RolloutCanaryInlineAnalysisStep struct {
// Replicas
Templates []*RolloutInlineAnalysisTemplate `json:"templates"`
// Name value args list
Args []*NameValueOutput `json:"args"`
}
Rollout Set Canary Scale Step
type RolloutCanaryPauseStep ¶ added in v0.43.5
type RolloutCanaryPauseStep struct {
// Duration settings
Duration *string `json:"duration"`
}
Rollout Canary Pause Step
type RolloutCanarySetScaleStep ¶ added in v0.43.5
type RolloutCanarySetScaleStep struct {
// Replicas
Replicas *int `json:"replicas"`
// Weight
Weight *int `json:"weight"`
// Match Traffic Weight
MatchTrafficWeight *bool `json:"matchTrafficWeight"`
}
Rollout Set Canary Scale Step
type RolloutCanaryStatus ¶ added in v0.53.0
type RolloutCanaryStatus struct {
// Status of current step analysis
CurrentStepAnalysisRunStatus *RolloutAnalysisRunStatus `json:"currentStepAnalysisRunStatus"`
// Status of background status
BackgroundAnalysisRunStatus *RolloutAnalysisRunStatus `json:"backgroundAnalysisRunStatus"`
}
Rollout Canary Status
type RolloutCanaryStep ¶ added in v0.43.5
type RolloutCanaryStep struct {
// Set weight
SetWeight *int `json:"setWeight"`
// Pause settings
Pause *RolloutCanaryPauseStep `json:"pause"`
// Set canary scal
SetCanaryScale *RolloutCanarySetScaleStep `json:"setCanaryScale"`
// Inline analysis
Analysis *RolloutCanaryInlineAnalysisStep `json:"analysis"`
// Inline experiment
Experiment *RolloutInlineExperimentTemplate `json:"experiment"`
// Related Analysis Runs array
AnalysisRuns []*AnalysisRun `json:"analysisRuns"`
}
Rollout Canary Step
type RolloutEdge ¶ added in v0.37.7
type RolloutEdge struct {
// Node contains the actual rollout data
Node *Rollout `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
Rollout Edge
func (RolloutEdge) IsEdge ¶ added in v0.37.7
func (RolloutEdge) IsEdge()
type RolloutImageDetails ¶ added in v0.37.10
type RolloutImageDetails struct {
// Image name
Image string `json:"image"`
// Image repository name
RepositoryName string `json:"repositoryName"`
// Image binary id
BinaryID string `json:"binaryId"`
// Workflow name
WorkflowName *string `json:"workflowName"`
// Workflow url
WorkflowURL *string `json:"workflowUrl"`
// CI provider
CiProvider *string `json:"ciProvider"`
}
Rollout Image Details
type RolloutInlineAnalysisTemplate ¶ added in v0.43.5
type RolloutInlineAnalysisTemplate struct {
// Template name
TemplateName string `json:"templateName"`
}
Rollout Set Canary Scale Step
type RolloutInlineExperimentAnalyses ¶ added in v0.43.5
type RolloutInlineExperimentAnalyses struct {
// Name
Name string `json:"name"`
// Template name
TemplateName string `json:"templateName"`
}
Rollout Set Canary Scale Step
type RolloutInlineExperimentTemplate ¶ added in v0.43.5
type RolloutInlineExperimentTemplate struct {
// Duration
Duration *string `json:"duration"`
// Templates
Templates []*RolloutInlineExperimentTemplates `json:"templates"`
// Analyses
Analyses []*RolloutInlineExperimentAnalyses `json:"analyses"`
}
Rollout Set Canary Scale Step
type RolloutInlineExperimentTemplates ¶ added in v0.43.5
type RolloutInlineExperimentTemplates struct {
// Name
Name string `json:"name"`
// Spec ref
SpecRef string `json:"specRef"`
}
Rollout Set Canary Scale Step
type RolloutPerformedActions ¶ added in v0.52.0
type RolloutPerformedActions struct {
// Skipped Steps
SkippedSteps []*RolloutSkippedStep `json:"skippedSteps"`
// Promote full details
PromoteFull *RolloutPromoteFullDetails `json:"promoteFull"`
}
Rollout Performed Actions
type RolloutPhases ¶ added in v0.37.7
type RolloutPhases string
Rollout Phases
const ( // Degraded RolloutPhasesDegraded RolloutPhases = "Degraded" // Healthy RolloutPhasesHealthy RolloutPhases = "Healthy" // Paused RolloutPhasesPaused RolloutPhases = "Paused" // Progressing RolloutPhasesProgressing RolloutPhases = "Progressing" // Terminated RolloutPhasesTerminated RolloutPhases = "Terminated" // Unknown RolloutPhasesUnknown RolloutPhases = "Unknown" )
func (RolloutPhases) IsValid ¶ added in v0.37.7
func (e RolloutPhases) IsValid() bool
func (RolloutPhases) MarshalGQL ¶ added in v0.37.7
func (e RolloutPhases) MarshalGQL(w io.Writer)
func (RolloutPhases) String ¶ added in v0.37.7
func (e RolloutPhases) String() string
func (*RolloutPhases) UnmarshalGQL ¶ added in v0.37.7
func (e *RolloutPhases) UnmarshalGQL(v interface{}) error
type RolloutPromoteFullDetails ¶ added in v0.52.0
type RolloutPromoteFullDetails struct {
// Date when action was performed
PerformedAt string `json:"performedAt"`
// Canary step index (0+)
FromStep *int `json:"fromStep"`
}
Rollout Promote Full Details
type RolloutRollbackResponse ¶ added in v0.52.0
type RolloutRollbackResponse struct {
// Rollout name
Rollout string `json:"rollout"`
// New rollout revision
NewRevision int `json:"newRevision"`
}
Rollout Rollback Response
type RolloutRollbackRevisionsComparenceResponse ¶ added in v0.52.0
type RolloutRollbackRevisionsComparenceResponse struct {
// Rollout
Rollout *Rollout `json:"rollout"`
// Actual/current rollout manifest
ActualManifest string `json:"actualManifest"`
// State in case of rollback
RollbackManifest *string `json:"rollbackManifest"`
}
Rollout Rollback Revisions Comparence Response
type RolloutSkippedStep ¶ added in v0.52.0
type RolloutSkippedStep struct {
// Step index (0+)
Index int `json:"index"`
// Date when action was performed
PerformedAt string `json:"performedAt"`
}
Rollout Skipped Step
type RolloutSlice ¶ added in v0.37.7
type RolloutSlice struct {
// Rollout edges
Edges []*RolloutEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
Rollout Slice
func (RolloutSlice) IsSlice ¶ added in v0.37.7
func (RolloutSlice) IsSlice()
type RolloutSpec ¶ added in v0.37.7
type RolloutSpec struct {
// Strategy
Strategy *RolloutStrategy `json:"strategy"`
// Desired replicas
DesiredReplicas int `json:"desiredReplicas"`
// Revision History Limit
RevisionHistoryLimit int `json:"revisionHistoryLimit"`
}
Rollout Spec
type RolloutStatus ¶ added in v0.37.7
type RolloutStatus struct {
// Index of the current step that is being executed
CurrentStepIndex *int `json:"currentStepIndex"`
// Status of the process
Phase string `json:"phase"`
// Health message
Message *string `json:"message"`
// Current ready replicas
ReadyReplicas *int `json:"readyReplicas"`
// Current total replicas
CurrentReplicas *int `json:"currentReplicas"`
// Current available replicas
AvailableReplicas *int `json:"availableReplicas"`
// Updated replicas
UpdatedReplicas *int `json:"updatedReplicas"`
// Current traffic weight of the new version
WeightOfNew int `json:"weightOfNew"`
// Is the rollout aborted
Abort *bool `json:"abort"`
// Is the rollout paused
Paused *bool `json:"paused"`
// Is the rollout fully promoted
PromoteFull *bool `json:"promoteFull"`
// Canary status
Canary *RolloutCanaryStatus `json:"canary"`
}
Rollout Status
type RolloutStepDetails ¶ added in v0.52.0
type RolloutStepDetails struct {
// Step status
Status *RolloutStepStatus `json:"status"`
}
Rollout Step Details
type RolloutStepStatus ¶ added in v0.52.0
type RolloutStepStatus string
Rollout Step Status
const ( // ACTIVE RolloutStepStatusActive RolloutStepStatus = "ACTIVE" // FAILED RolloutStepStatusFailed RolloutStepStatus = "FAILED" // PASSED RolloutStepStatusPassed RolloutStepStatus = "PASSED" // PAUSED INCONCLUSIVE RolloutStepStatusPausedInconclusive RolloutStepStatus = "PAUSED_INCONCLUSIVE" // PAUSED INDEFINITE RolloutStepStatusPausedIndefinite RolloutStepStatus = "PAUSED_INDEFINITE" // PENDING RolloutStepStatusPending RolloutStepStatus = "PENDING" // TERMINATED RolloutStepStatusTerminated RolloutStepStatus = "TERMINATED" )
func (RolloutStepStatus) IsValid ¶ added in v0.52.0
func (e RolloutStepStatus) IsValid() bool
func (RolloutStepStatus) MarshalGQL ¶ added in v0.52.0
func (e RolloutStepStatus) MarshalGQL(w io.Writer)
func (RolloutStepStatus) String ¶ added in v0.52.0
func (e RolloutStepStatus) String() string
func (*RolloutStepStatus) UnmarshalGQL ¶ added in v0.52.0
func (e *RolloutStepStatus) UnmarshalGQL(v interface{}) error
type RolloutStrategy ¶ added in v0.37.7
type RolloutStrategy struct {
// Name
Name string `json:"name"`
// Rollout new image
NewImage string `json:"newImage"`
// Rollout new image details
NewImageRegistry *ImageRegistry `json:"newImageRegistry"`
// Steps
Steps []*RolloutCanaryStep `json:"steps"`
// The name of the service pointing to the old version
CurrentService *string `json:"currentService"`
// The name of the service pointing to the new version
NewService *string `json:"newService"`
// Canary background analysis run details
BackgroundAnalysisRun *AnalysisRun `json:"backgroundAnalysisRun"`
// Canary background analysis starting step
BackgoundAnalysisSpec *string `json:"backgoundAnalysisSpec"`
// Blue-green pre promotion analysis run details
PrePromotionAnalysisRun *AnalysisRun `json:"prePromotionAnalysisRun"`
// Blue-green post promotion analysis run details
PostPromotionAnalysisRun *AnalysisRun `json:"postPromotionAnalysisRun"`
}
Rollout Strategy
type RolloutStrategyNames ¶ added in v0.37.7
type RolloutStrategyNames string
Rollout Strategy Names
const ( // BlueGreen RolloutStrategyNamesBlueGreen RolloutStrategyNames = "blueGreen" // Canary RolloutStrategyNamesCanary RolloutStrategyNames = "canary" )
func (RolloutStrategyNames) IsValid ¶ added in v0.37.7
func (e RolloutStrategyNames) IsValid() bool
func (RolloutStrategyNames) MarshalGQL ¶ added in v0.37.7
func (e RolloutStrategyNames) MarshalGQL(w io.Writer)
func (RolloutStrategyNames) String ¶ added in v0.37.7
func (e RolloutStrategyNames) String() string
func (*RolloutStrategyNames) UnmarshalGQL ¶ added in v0.37.7
func (e *RolloutStrategyNames) UnmarshalGQL(v interface{}) error
type RolloutTransition ¶ added in v0.37.7
type RolloutTransition struct {
// Name
Name string `json:"name"`
// From
From *ReleaseRolloutState `json:"from"`
// To
To *ReleaseRolloutState `json:"to"`
// Rollbacks
Rollbacks []*RolloutTransition `json:"rollbacks"`
}
RolloutTransition Entity
type Runtime ¶
type Runtime struct {
// Object metadata
Metadata *ObjectMeta `json:"metadata"`
// Errors
Errors []Error `json:"errors"`
// Entities referencing this entity
ReferencedBy []BaseEntity `json:"referencedBy"`
// Entities referenced by this enitity
References []BaseEntity `json:"references"`
// Self entity reference for the real k8s entity in case of codefresh logical entity
Self *GenericEntity `json:"self"`
// History of the runtime
History *CompositeSlice `json:"history"`
// Sync status
SyncStatus SyncStatus `json:"syncStatus"`
// Health status
HealthStatus *HealthStatus `json:"healthStatus"`
// Health message
HealthMessage *string `json:"healthMessage"`
// Projects
Projects []string `json:"projects"`
// K8s cluster where the runtime is running
Cluster *string `json:"cluster"`
// Type of installation CLI|HELM|HOSTED
InstallationType InstallationType `json:"installationType"`
// Runtime is managed
Managed bool `json:"managed"`
// Ignore security and git token updates users
IgnoreSecurityAndGitTokenUpdatesUsers []string `json:"ignoreSecurityAndGitTokenUpdatesUsers"`
// At least one remote cluster is connected (for managed runtimes)
IsRemoteClusterConnected bool `json:"isRemoteClusterConnected"`
// Ingress host of the runtime
IngressHost *string `json:"ingressHost"`
// Internal Ingress host of the runtime - for app proxy usage only
InternalIngressHost *string `json:"internalIngressHost"`
// Ingress class of the runtime
IngressClass *string `json:"ingressClass"`
// Ingress controller of the runtime
IngressController *string `json:"ingressController"`
// Gateway name
GatewayName *string `json:"gatewayName"`
// Gateway namespace
GatewayNamespace *string `json:"gatewayNamespace"`
// Runtime version
RuntimeVersion *string `json:"runtimeVersion"`
// Chart version
ChartVersion *string `json:"chartVersion"`
// Runtime release information
RuntimeRelease *Release `json:"runtimeRelease"`
// Last Updated
LastUpdated *string `json:"lastUpdated"`
// Installation Status
InstallationStatus InstallationStatus `json:"installationStatus"`
// Repo URL with optional path and branch info
Repo *string `json:"repo"`
// Clusters managed by this runtime
ManagedClusters []*Cluster `json:"managedClusters"`
// Total number of clusters managed by this runtime
ManagedClustersNum int `json:"managedClustersNum"`
// Runtime features
Features []*RuntimeFeature `json:"features"`
// The git provider of the installation repo
GitProvider *GitProviders `json:"gitProvider"`
// The access mode to the runtime - INGRESS|TUNNEL
AccessMode AccessMode `json:"accessMode"`
// Flag for managed runtime to indicate if ISC was initialized
IscInitialized *bool `json:"iscInitialized"`
// True if lastHeartbeat was recent than some cutoff (if no lastHeartbeat available, checks updatedAt instead)
Available bool `json:"available"`
// Status
Status *RuntimeStatus `json:"status"`
}
Runtime entity
func (Runtime) IsBaseEntity ¶
func (Runtime) IsBaseEntity()
func (Runtime) IsK8sLogicEntity ¶
func (Runtime) IsK8sLogicEntity()
func (Runtime) IsProjectBasedEntity ¶
func (Runtime) IsProjectBasedEntity()
type RuntimeCreationResponse ¶
type RuntimeCreationResponse struct {
// The runtime access token that will be used for requests from the runtime
NewAccessToken string `json:"newAccessToken"`
// The name of the newly created runtime
Name string `json:"name"`
}
Response for creating a runtime
type RuntimeEdge ¶
type RuntimeEdge struct {
// Node contains the actual runtime data
Node *Runtime `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
Runtime Edge
func (RuntimeEdge) IsEdge ¶
func (RuntimeEdge) IsEdge()
type RuntimeFeature ¶ added in v0.44.2
type RuntimeFeature struct {
// Runtime feature name
Name string `json:"name"`
// Is feature supported
Supported bool `json:"supported"`
// Minimal runtime version supporting the feature
RequiredVersion *string `json:"requiredVersion"`
}
Runtime Feature
type RuntimeInfo ¶ added in v0.47.0
type RuntimeInfo struct {
// Name
Name *string `json:"name"`
}
RuntimeInfo
type RuntimeInstallationArgs ¶
type RuntimeInstallationArgs struct {
// Name of the Runtime
RuntimeName string `json:"runtimeName"`
// Namespace of the Runtime
RuntimeNamespace *string `json:"runtimeNamespace"`
// Cluster
Cluster string `json:"cluster"`
// Type of installation CLI|HELM|HOSTED
InstallationType *InstallationType `json:"installationType"`
// Managed runtime (default false)
Managed *bool `json:"managed"`
// The git provider of the installation repo
GitProvider *GitProviders `json:"gitProvider"`
// Runtime Version
RuntimeVersion string `json:"runtimeVersion"`
// Chart Version
ChartVersion *string `json:"chartVersion"`
// The names of the components to be installed as placeholders
ComponentNames []string `json:"componentNames"`
// Ingress Host
IngressHost *string `json:"ingressHost"`
// Internal Ingress Host
InternalIngressHost *string `json:"internalIngressHost"`
// Ingress class name
IngressClass *string `json:"ingressClass"`
// Ingress controller name
IngressController *string `json:"ingressController"`
// Gateway name
GatewayName *string `json:"gatewayName"`
// Gateway namespace
GatewayNamespace *string `json:"gatewayNamespace"`
// Repo URL with optional path and branch info
Repo *string `json:"repo"`
// Does runtime installed from an existing repo
Recover *bool `json:"recover"`
// The access mode to the runtime - INGRESS|TUNNEL
AccessMode *AccessMode `json:"accessMode"`
}
Runtime Installation Arguments
type RuntimeIntegration ¶ added in v0.44.2
type RuntimeIntegration struct {
// Name
Name string `json:"name"`
// Type
Type string `json:"type"`
// Config Name
Config *NamedResource `json:"config"`
// Secret Name
Secret *NamedResource `json:"secret"`
}
Runtime Integarion Response
type RuntimeNotification ¶ added in v0.37.0
type RuntimeNotification struct {
// Metadata object of the k8s entity
Metadata *ObjectMeta `json:"metadata"`
// Action type
Action *NotificationActionType `json:"action"`
// Notification unique id
ID string `json:"id"`
// Account id
AccountID string `json:"accountId"`
// Text of error or warning message
Text *string `json:"text"`
// Notification kind
Kind string `json:"kind"`
// State of notification
State *NotificationState `json:"state"`
// Timestamp of notification
Timestamp string `json:"timestamp"`
// Notification type
NotificationType NotificationType `json:"notificationType"`
}
Runtume Notification
func (RuntimeNotification) IsArgoCDNotification ¶ added in v0.37.7
func (RuntimeNotification) IsArgoCDNotification()
func (RuntimeNotification) IsNotification ¶ added in v0.37.7
func (RuntimeNotification) IsNotification()
type RuntimeOperation ¶ added in v0.44.2
type RuntimeOperation struct {
// Runtime
Runtime string `json:"runtime"`
// Runtime
Name string `json:"name"`
// Runtime
Action RuntimeOperationAction `json:"action"`
}
IntegrationGenerationInput
type RuntimeOperationAction ¶ added in v0.44.2
type RuntimeOperationAction string
RuntimeOperationAction
const ( // Delete resources from runtime RuntimeOperationActionDelete RuntimeOperationAction = "DELETE" // Upsert resources to runtime RuntimeOperationActionUpsert RuntimeOperationAction = "UPSERT" )
func (RuntimeOperationAction) IsValid ¶ added in v0.44.2
func (e RuntimeOperationAction) IsValid() bool
func (RuntimeOperationAction) MarshalGQL ¶ added in v0.44.2
func (e RuntimeOperationAction) MarshalGQL(w io.Writer)
func (RuntimeOperationAction) String ¶ added in v0.44.2
func (e RuntimeOperationAction) String() string
func (*RuntimeOperationAction) UnmarshalGQL ¶ added in v0.44.2
func (e *RuntimeOperationAction) UnmarshalGQL(v interface{}) error
type RuntimeSlice ¶
type RuntimeSlice struct {
// Runtime edges
Edges []*RuntimeEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
Runtime Slice
func (RuntimeSlice) IsSlice ¶
func (RuntimeSlice) IsSlice()
type RuntimeStatus ¶ added in v0.55.0
type RuntimeStatus struct {
// App-Proxy Started
AppProxyStarted *AppProxyInfo `json:"appProxyStarted"`
// Default Git Integration
DefaultGitIntegration *AppProxyInfo `json:"defaultGitIntegration"`
// Encryption Key
EncryptionKey *AppProxyInfo `json:"encryptionKey"`
// Encryption IV
EncryptionIv *AppProxyInfo `json:"encryptionIv"`
// Event-Reporter Argo-CD Token
EventReporterArgoCDToken *AppProxyInfo `json:"eventReporterArgoCDToken"`
// ISC
Isc *AppProxyInfo `json:"isc"`
// Runtime Git Token
RuntimeGitToken *AppProxyInfo `json:"runtimeGitToken"`
// Runtime Sync Mode
SyncMode RuntimeSyncMode `json:"syncMode"`
}
RuntimeStatus
type RuntimeSyncMode ¶ added in v0.55.0
type RuntimeSyncMode string
Runtime Sync Mode
const ( // GITOPS RuntimeSyncModeGitops RuntimeSyncMode = "GITOPS" // HELM RuntimeSyncModeHelm RuntimeSyncMode = "HELM" // UNKNOWN RuntimeSyncModeUnknown RuntimeSyncMode = "UNKNOWN" )
func (RuntimeSyncMode) IsValid ¶ added in v0.55.0
func (e RuntimeSyncMode) IsValid() bool
func (RuntimeSyncMode) MarshalGQL ¶ added in v0.55.0
func (e RuntimeSyncMode) MarshalGQL(w io.Writer)
func (RuntimeSyncMode) String ¶ added in v0.55.0
func (e RuntimeSyncMode) String() string
func (*RuntimeSyncMode) UnmarshalGQL ¶ added in v0.55.0
func (e *RuntimeSyncMode) UnmarshalGQL(v interface{}) error
type RuntimesStatistics ¶ added in v0.38.1
type RuntimesStatistics struct {
// Total runtimes number
Total int `json:"total"`
// Number of unhealthy runtimes
Unhealthy int `json:"unhealthy"`
}
Runtimes statistics
type SSOArgs ¶ added in v0.37.7
type SSOArgs struct {
// Id
ID *string `json:"id"`
// Accounts
Accounts []*string `json:"accounts"`
// Client type
ClientType string `json:"clientType"`
// Client name
ClientName *string `json:"clientName"`
// Display name
DisplayName string `json:"displayName"`
// Client Id, appId in Azure
ClientID *string `json:"clientId"`
// Client secret
ClientSecret *string `json:"clientSecret"`
// Onprem default IDP
OnpremDefaultIdp *bool `json:"onpremDefaultIdp"`
// Access token
AccessToken *string `json:"accessToken"`
// Entry point
EntryPoint *string `json:"entryPoint"`
// Callback url
CallbackURL *string `json:"callbackUrl"`
// Cert
Cert *string `json:"cert"`
// Provider
Provider *string `json:"provider"`
// Keyfile
Keyfile *string `json:"keyfile"`
// Subject
Subject *string `json:"subject"`
// Auto group sync
AutoGroupSync *bool `json:"autoGroupSync"`
// Sync interval
SyncInterval *string `json:"syncInterval"`
// SyncField
SyncField *string `json:"syncField"`
// App Id
AppID *string `json:"appId"`
// Tenant
Tenant *string `json:"tenant"`
// Password
Password *string `json:"password"`
// URL
URL *string `json:"url"`
// Distinguished name
DistinguishedName *string `json:"distinguishedName"`
// Search base
SearchBase *string `json:"searchBase"`
// Search filter
SearchFilter *string `json:"searchFilter"`
// Certificate
Certificate *string `json:"certificate"`
// Allowed groups for sync
AllowedGroupsForSync *string `json:"allowedGroupsForSync"`
// Search base for sync
SearchBaseForSync *string `json:"searchBaseForSync"`
// Client host
ClientHost *string `json:"clientHost"`
// API client id
APIClientID *string `json:"apiClientId"`
// API client id
APIClientSecret *string `json:"apiClientSecret"`
// Login url
LoginURL *string `json:"loginUrl"`
// Redirect url
RedirectURL *string `json:"redirectUrl"`
// Redirect ui url
RedirectUIURL *string `json:"redirectUiUrl"`
// Host
Host *string `json:"host"`
// Realm
Realm *string `json:"realm"`
// Default
Default *bool `json:"default"`
// Activate user after sync
ActivateUserAfterSync *bool `json:"activateUserAfterSync"`
// Sync mirror accounts
SyncMirrorAccounts []*string `json:"syncMirrorAccounts"`
// Remove deactivated users after sync
RemoveDeactivatedUsers *bool `json:"removeDeactivatedUsers"`
}
SSOArgs
type SamlSso ¶ added in v0.37.7
type SamlSso struct {
// ID
ID string `json:"id"`
// Client type
ClientType string `json:"clientType"`
// Client name
ClientName string `json:"clientName"`
// Display name
DisplayName string `json:"displayName"`
// Accounts
Accounts []*string `json:"accounts"`
// Access token
AccessToken *string `json:"accessToken"`
// Client Id, appId in Azure
ClientID *string `json:"clientId"`
// Client secret
ClientSecret *string `json:"clientSecret"`
// Onprem default IDP
OnpremDefaultIdp *bool `json:"onpremDefaultIdp"`
// Redirect url
RedirectURL *string `json:"redirectUrl"`
// Redirect ui url
RedirectUIURL *string `json:"redirectUiUrl"`
// Login url
LoginURL *string `json:"loginUrl"`
// Default
Default *bool `json:"default"`
// Entry point
EntryPoint *string `json:"entryPoint"`
// Callback url
CallbackURL *string `json:"callbackUrl"`
// Cert
Cert *string `json:"cert"`
// Provider
Provider *string `json:"provider"`
// Keyfile
Keyfile *string `json:"keyfile"`
// Subject
Subject *string `json:"subject"`
// Auto group sync
AutoGroupSync *bool `json:"autoGroupSync"`
// Sync interval
SyncInterval *string `json:"syncInterval"`
// SyncField
SyncField *string `json:"syncField"`
// Client host
ClientHost *string `json:"clientHost"`
// Application ID
AppID *string `json:"appId"`
// Activate user after sync
ActivateUserAfterSync *bool `json:"activateUserAfterSync"`
}
SamlSSO
type SealSecretInput ¶ added in v0.44.2
type SealSecretOutput ¶ added in v0.44.2
type SealSecretOutput struct {
// Seal secret output
Output string `json:"output"`
}
type SecretData ¶ added in v0.43.5
type SecretData struct {
// Name
Name string `json:"name"`
// Namespace
Namespace string `json:"namespace"`
// Path
Path *SecretPath `json:"path"`
}
SecretData
type SecretKeySelector ¶ added in v0.57.1
type SecretKeySelector struct {
// Name of the referent.
Name string `json:"name"`
// The key of the secret to select from. Must be a valid secret key.
Key string `json:"key"`
}
SecretKeySelector selects a key of a Secret.
type SecretKeySelectorResponse ¶ added in v0.57.1
type SecretKeySelectorResponse struct {
// Name of the referent.
Name string `json:"name"`
// The key of the secret to select from. Must be a valid secret key.
Key string `json:"key"`
}
SecretKeySelectorResponse selects a key of a Secret.
type SecretPath ¶ added in v0.43.5
type SecretPath struct {
// AppId
AppID string `json:"appId"`
// ClientId
ClientID string `json:"clientId"`
// ClientSecret
ClientSecret string `json:"clientSecret"`
// Url
URL string `json:"url"`
}
SecretPath
type SecretType ¶ added in v0.43.5
type SecretType string
Integration Entity Type
const ( // External Secret SecretTypeExternalSecret SecretType = "EXTERNAL_SECRET" // Sealed Secret SecretTypeSealedSecret SecretType = "SEALED_SECRET" )
func (SecretType) IsValid ¶ added in v0.43.5
func (e SecretType) IsValid() bool
func (SecretType) MarshalGQL ¶ added in v0.43.5
func (e SecretType) MarshalGQL(w io.Writer)
func (SecretType) String ¶ added in v0.43.5
func (e SecretType) String() string
func (*SecretType) UnmarshalGQL ¶ added in v0.43.5
func (e *SecretType) UnmarshalGQL(v interface{}) error
type Section ¶ added in v0.52.0
type Section struct {
// Section display name
DisplayName string `json:"displayName"`
// Section type
Type string `json:"type"`
// Icon
Icon *Icon `json:"icon"`
// Description
Description string `json:"description"`
// Parameters
Parameters *string `json:"parameters"`
// Display strategy
DisplayStrategy DisplayStrategy `json:"displayStrategy"`
// Sub sections
Sections []*Section `json:"sections"`
// Required
Required bool `json:"required"`
}
App Proxy Image report information
type SecurityInfo ¶
type SecurityInfo struct {
// Security duration limit in minutes, before inactive user will be logged out of the app
InactivityThreshold *int `json:"inactivityThreshold"`
}
Security info for account
type SecurityInfoArgs ¶
type SecurityInfoArgs struct {
// Security duration limit in minutes, before inactive user will be logged out of the app
InactivityThreshold *int `json:"inactivityThreshold"`
}
Args to set security for account
type Sensor ¶
type Sensor struct {
// Object metadata
Metadata *ObjectMeta `json:"metadata"`
// Errors
Errors []Error `json:"errors"`
// Entities referencing this entity
ReferencedBy []BaseEntity `json:"referencedBy"`
// Entities referenced by this enitity
References []BaseEntity `json:"references"`
// History of the sensor
History *GitOpsSlice `json:"history"`
// Version of the entity
Version *int `json:"version"`
// Is this the latest version of this entity
Latest *bool `json:"latest"`
// Entity source
Source *GitopsEntitySource `json:"source"`
// Sync status
SyncStatus SyncStatus `json:"syncStatus"`
// Health status
HealthStatus *HealthStatus `json:"healthStatus"`
// Health message
HealthMessage *string `json:"healthMessage"`
// Desired manifest
DesiredManifest *string `json:"desiredManifest"`
// Actual manifest
ActualManifest *string `json:"actualManifest"`
// Projects
Projects []string `json:"projects"`
}
Sensor entity
func (Sensor) IsBaseEntity ¶
func (Sensor) IsBaseEntity()
func (Sensor) IsGitopsEntity ¶
func (Sensor) IsGitopsEntity()
func (Sensor) IsProjectBasedEntity ¶
func (Sensor) IsProjectBasedEntity()
type SensorEdge ¶
type SensorEdge struct {
// Node contains the actual sensor data
Node *Sensor `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
Sensor Edge
func (SensorEdge) IsEdge ¶
func (SensorEdge) IsEdge()
type SensorSlice ¶
type SensorSlice struct {
// Sensor edges
Edges []*SensorEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
Sensor Slice
func (SensorSlice) IsSlice ¶
func (SensorSlice) IsSlice()
type ServiceEntity ¶ added in v0.37.0
type ServiceEntity struct {
// Object metadata
Metadata *ObjectMeta `json:"metadata"`
// Errors
Errors []Error `json:"errors"`
// Entities referencing this entity
ReferencedBy []BaseEntity `json:"referencedBy"`
// Entities referenced by this enitity
References []BaseEntity `json:"references"`
// History of the generic entity
History *GitOpsSlice `json:"history"`
// Version of the entity
Version *int `json:"version"`
// Is this the latest version of this entity
Latest *bool `json:"latest"`
// Entity source
Source *GitopsEntitySource `json:"source"`
// Sync status
SyncStatus SyncStatus `json:"syncStatus"`
// Health status
HealthStatus *HealthStatus `json:"healthStatus"`
// Health message
HealthMessage *string `json:"healthMessage"`
// Desired manifest
DesiredManifest *string `json:"desiredManifest"`
// Actual manifest
ActualManifest *string `json:"actualManifest"`
// Projects
Projects []string `json:"projects"`
// ServiceSpec
Spec *ServiceSpec `json:"spec"`
// ServiceStatus
Status *ServiceStatus `json:"status"`
// Deployment Spec Part
Deployments []*DeploymentSpecPart `json:"deployments"`
}
Service entity
func (ServiceEntity) IsBaseEntity ¶ added in v0.37.0
func (ServiceEntity) IsBaseEntity()
func (ServiceEntity) IsEntity ¶ added in v0.37.0
func (ServiceEntity) IsEntity()
func (ServiceEntity) IsGitopsEntity ¶ added in v0.37.0
func (ServiceEntity) IsGitopsEntity()
func (ServiceEntity) IsProjectBasedEntity ¶ added in v0.37.0
func (ServiceEntity) IsProjectBasedEntity()
type ServiceEntityEdge ¶ added in v0.37.0
type ServiceEntityEdge struct {
// Node contains the actual Service data
Node *ServiceEntity `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
Service Entity Edge
func (ServiceEntityEdge) IsEdge ¶ added in v0.37.0
func (ServiceEntityEdge) IsEdge()
type ServiceEntitySlice ¶ added in v0.37.0
type ServiceEntitySlice struct {
// Service edges
Edges []*ServiceEntityEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
Service Slice
func (ServiceEntitySlice) IsSlice ¶ added in v0.37.0
func (ServiceEntitySlice) IsSlice()
type ServiceItem ¶ added in v0.37.4
type ServiceItem struct {
// Name
Name *string `json:"name"`
}
Service Item Entity
type ServicePort ¶ added in v0.37.0
type ServicePort struct {
// AppProtocol
AppProtocol *string `json:"appProtocol"`
// Name
Name *string `json:"name"`
// NodePort
NodePort *int `json:"nodePort"`
// Port
Port *int `json:"port"`
// Protocol
Protocol *string `json:"protocol"`
// TargetPort
TargetPort *string `json:"targetPort"`
}
ServicePort
type ServiceSortingField ¶ added in v0.37.4
type ServiceSortingField string
Service Sorting field
const ( // Last Update ServiceSortingFieldLastUpdate ServiceSortingField = "lastUpdate" // Service Name ServiceSortingFieldServiceName ServiceSortingField = "serviceName" )
func (ServiceSortingField) IsValid ¶ added in v0.37.4
func (e ServiceSortingField) IsValid() bool
func (ServiceSortingField) MarshalGQL ¶ added in v0.37.4
func (e ServiceSortingField) MarshalGQL(w io.Writer)
func (ServiceSortingField) String ¶ added in v0.37.4
func (e ServiceSortingField) String() string
func (*ServiceSortingField) UnmarshalGQL ¶ added in v0.37.4
func (e *ServiceSortingField) UnmarshalGQL(v interface{}) error
type ServiceSpec ¶ added in v0.37.0
type ServiceSpec struct {
// AllocateLoadBalancerNodePorts
AllocateLoadBalancerNodePorts *bool `json:"allocateLoadBalancerNodePorts"`
// ClusterIP
ClusterIP *string `json:"clusterIP"`
// ClusterIPs
ClusterIPs []*string `json:"clusterIPs"`
// ExternalIPs
ExternalIPs []*string `json:"externalIPs"`
// ExternalName
ExternalName *string `json:"externalName"`
// ExternalTrafficPolicy
ExternalTrafficPolicy *string `json:"externalTrafficPolicy"`
// HealthCheckNodePort
HealthCheckNodePort *int `json:"healthCheckNodePort"`
// InternalTrafficPolicy
InternalTrafficPolicy *string `json:"internalTrafficPolicy"`
// IpFamilies
IPFamilies []*string `json:"ipFamilies"`
// IpFamilyPolicy
IPFamilyPolicy *string `json:"ipFamilyPolicy"`
// LoadBalancerClass
LoadBalancerClass *string `json:"loadBalancerClass"`
// LoadBalancerIP
LoadBalancerIP *string `json:"loadBalancerIP"`
// LoadBalancerSourceRanges
LoadBalancerSourceRanges []*string `json:"loadBalancerSourceRanges"`
// Ports
Ports []*ServicePort `json:"ports"`
// PublishNotReadyAddresses
PublishNotReadyAddresses *bool `json:"publishNotReadyAddresses"`
// Selector
Selector []*StringPair `json:"selector"`
// SessionAffinity
SessionAffinity *string `json:"sessionAffinity"`
// SessionAffinityConfig
SessionAffinityConfig *SessionAffinityConfig `json:"sessionAffinityConfig"`
// Type
Type *ServiceType `json:"type"`
}
ServiceSpec
type ServiceStatus ¶ added in v0.44.2
type ServiceStatus struct {
// LoadBalancer
LoadBalancer *LoadBalancer `json:"loadBalancer"`
}
ServiceStatus
type ServiceTransition ¶ added in v0.37.4
type ServiceTransition struct {
// Name
Name string `json:"name"`
// From
From *ReleaseServiceState `json:"from"`
// To
To *ReleaseServiceState `json:"to"`
}
ServiceTransition Entity
type ServiceType ¶ added in v0.37.0
type ServiceType string
ServiceType
const ( ServiceTypeClusterIP ServiceType = "ClusterIP" ServiceTypeExternalName ServiceType = "ExternalName" ServiceTypeLoadBalancer ServiceType = "LoadBalancer" ServiceTypeNodePort ServiceType = "NodePort" )
func (ServiceType) IsValid ¶ added in v0.37.0
func (e ServiceType) IsValid() bool
func (ServiceType) MarshalGQL ¶ added in v0.37.0
func (e ServiceType) MarshalGQL(w io.Writer)
func (ServiceType) String ¶ added in v0.37.0
func (e ServiceType) String() string
func (*ServiceType) UnmarshalGQL ¶ added in v0.37.0
func (e *ServiceType) UnmarshalGQL(v interface{}) error
type SessionAffinityConfig ¶ added in v0.37.0
type SessionAffinityConfig struct {
// ClientIP
ClientIP *ClientIP `json:"clientIP"`
}
SessionAffinityConfig
type SetAccountAllowedDomainsArgs ¶
type SetAccountAllowedDomainsArgs struct {
// Controls if this account can edit its allowedDomains
EnabledAllowedDomains *bool `json:"enabledAllowedDomains"`
// All allowed domains for this account
AllowedDomains []string `json:"allowedDomains"`
}
Args to set allowed domains for account
type SetGitSourcePermissionArgs ¶ added in v0.37.4
type SetGitSourcePermissionArgs struct {
// The name of the git-source the update is for
GitSource string `json:"gitSource"`
// The namespace of the git-source
Namespace *string `json:"namespace"`
// The new permission to set
Permission *PermissionInput `json:"permission"`
}
Args to set the permissions of a specific user to a git-source
type SharingPolicy ¶
type SharingPolicy string
Sharing policy
const ( // Only account admins see this integration SharingPolicyAccountAdmins SharingPolicy = "ACCOUNT_ADMINS" // All users in account can see this integration SharingPolicyAllUsersInAccount SharingPolicy = "ALL_USERS_IN_ACCOUNT" )
func (SharingPolicy) IsValid ¶
func (e SharingPolicy) IsValid() bool
func (SharingPolicy) MarshalGQL ¶
func (e SharingPolicy) MarshalGQL(w io.Writer)
func (SharingPolicy) String ¶
func (e SharingPolicy) String() string
func (*SharingPolicy) UnmarshalGQL ¶
func (e *SharingPolicy) UnmarshalGQL(v interface{}) error
type SingleComponentDependency ¶ added in v0.58.0
type SingleComponentDependency struct {
// Name of dependency
Name string `json:"name"`
// Version
Version string `json:"version"`
}
Single dependency item
type SliceInfo ¶
type SliceInfo struct {
// Cursor for the first result in the slice
StartCursor *string `json:"startCursor"`
// Cursor for the last result in the slice
EndCursor *string `json:"endCursor"`
// Indicate if there is next slice
HasNextPage bool `json:"hasNextPage"`
// Indicate if there is previous slice
HasPrevPage bool `json:"hasPrevPage"`
}
Information about current slice
type SlicePaginationArgs ¶
type SlicePaginationArgs struct {
// Returns entities after the provided cursor
After *string `json:"after"`
// Returns entities before the provided cursor
Before *string `json:"before"`
// Returns the first X entities
First *int `json:"first"`
// Returns the last X entities
Last *int `json:"last"`
}
Pagination arguments to request slice
type SortingOrder ¶ added in v0.37.0
type SortingOrder string
Sorting order
const ( // ascending SortingOrderAsc SortingOrder = "asc" // descending SortingOrderDesc SortingOrder = "desc" )
func (SortingOrder) IsValid ¶ added in v0.37.0
func (e SortingOrder) IsValid() bool
func (SortingOrder) MarshalGQL ¶ added in v0.37.0
func (e SortingOrder) MarshalGQL(w io.Writer)
func (SortingOrder) String ¶ added in v0.37.0
func (e SortingOrder) String() string
func (*SortingOrder) UnmarshalGQL ¶ added in v0.37.0
func (e *SortingOrder) UnmarshalGQL(v interface{}) error
type SpecificTriggerConditions ¶ added in v0.37.7
type SpecificTriggerConditions struct {
// Github trigger conditions
Github []*GithubTriggerConditions `json:"github"`
// Gitlab trigger conditions
Gitlab []*GitlabTriggerConditions `json:"gitlab"`
// BitbucketServer trigger conditions
Bitbucketserver []*BitbucketServerTriggerConditions `json:"bitbucketserver"`
// BitbucketCloud trigger conditions
Bitbucket []*BitbucketCloudTriggerConditions `json:"bitbucket"`
// Calendar trigger conditions
Calendar []*CalendarTriggerConditions `json:"calendar"`
}
Object of specific trigger conditions
type SpecificTriggerConditionsArgs ¶ added in v0.37.7
type SpecificTriggerConditionsArgs struct {
// Github trigger conditions
Github []*GithubTriggerConditionsArgs `json:"github"`
// Gitlab trigger conditions
Gitlab []*GitlabTriggerConditionsArgs `json:"gitlab"`
// BitbucketServer trigger conditions
Bitbucketserver []*BitbucketServerTriggerConditionsArgs `json:"bitbucketserver"`
// BitbucketCloud trigger conditions
Bitbucket []*BitbucketCloudTriggerConditionsArgs `json:"bitbucket"`
// Calendar trigger conditions
Calendar []*CalendarTriggerConditionsArgs `json:"calendar"`
}
Object of specific trigger conditions
type Sso ¶
type Sso struct {
// The sso id
ID string `json:"id"`
// Client type name
ClientType *string `json:"clientType"`
// Display name
DisplayName *string `json:"displayName"`
}
Sso
type StatsTimePeriodData ¶
type StatsTimePeriodData struct {
// Granularity for the graph X Axis
Granularity *string `json:"granularity"`
// Date range for the statistics
DateRange []*string `json:"dateRange"`
// Prev data range
PrevDateRange []*string `json:"prevDateRange"`
}
Statistics time period meta data
type StatusHistoryItem ¶
type StatusHistoryItem struct {
// The time the status started
Since string `json:"since"`
// Phase
Phase WorkflowNodePhases `json:"phase"`
// Message
Message *string `json:"message"`
}
Workflow status history item
type Strategy ¶ added in v0.40.0
type Strategy struct {
// Strategy name
Name string `json:"name"`
// Strategy arguments
Args *StrategyArgs `json:"args"`
}
type StrategyArgs ¶ added in v0.40.0
type StrategyArgs struct {
// new name
NewName string `json:"newName"`
}
Strategy arguments
type StringPair ¶
Label
type Stripe ¶ added in v0.37.7
type Stripe struct {
// Name
HardCodedPlan *bool `json:"hardCodedPlan"`
// Plan id
PlanID *string `json:"planId"`
// Subscription id
SubscriptionID *string `json:"subscriptionId"`
// Customer id
CustomerID *string `json:"customerId"`
}
Stripe
type SupportedCITools ¶ added in v0.47.0
type SupportedCITools string
Supported CI Tools
const ( // CLASSIC SupportedCIToolsClassic SupportedCITools = "classic" // GITHUB_ACTIONS SupportedCIToolsGithubActions SupportedCITools = "github_actions" // JENKINS SupportedCIToolsJenkins SupportedCITools = "jenkins" )
func (SupportedCITools) IsValid ¶ added in v0.47.0
func (e SupportedCITools) IsValid() bool
func (SupportedCITools) MarshalGQL ¶ added in v0.47.0
func (e SupportedCITools) MarshalGQL(w io.Writer)
func (SupportedCITools) String ¶ added in v0.47.0
func (e SupportedCITools) String() string
func (*SupportedCITools) UnmarshalGQL ¶ added in v0.47.0
func (e *SupportedCITools) UnmarshalGQL(v interface{}) error
type SupportedEventMapping ¶ added in v0.37.4
type SupportedEventMapping struct {
// Logic name
Key string `json:"key"`
// Human friendly name
Name string `json:"name"`
// Mappings between the var name and the path to the value in event payload
Mappings []*Mapping `json:"mappings"`
}
Event filter
type SupportedSnippetTypes ¶ added in v0.46.0
type SupportedSnippetTypes string
const ( // GITHUB_ACTIONS SupportedSnippetTypesGithubActions SupportedSnippetTypes = "github_actions" // CLASSIC SupportedSnippetTypesClassic SupportedSnippetTypes = "classic" // JENKINS_AGENT SupportedSnippetTypesJenkinsAgent SupportedSnippetTypes = "jenkins_agent" // JENKINS_SHELL SupportedSnippetTypesJenkinsShell SupportedSnippetTypes = "jenkins_shell" )
func (SupportedSnippetTypes) IsValid ¶ added in v0.46.0
func (e SupportedSnippetTypes) IsValid() bool
func (SupportedSnippetTypes) MarshalGQL ¶ added in v0.46.0
func (e SupportedSnippetTypes) MarshalGQL(w io.Writer)
func (SupportedSnippetTypes) String ¶ added in v0.46.0
func (e SupportedSnippetTypes) String() string
func (*SupportedSnippetTypes) UnmarshalGQL ¶ added in v0.46.0
func (e *SupportedSnippetTypes) UnmarshalGQL(v interface{}) error
type SwitchAccountResponse ¶
type SwitchAccountResponse struct {
// The token to use for the next requests
NewAccessToken *string `json:"newAccessToken"`
}
"response for request to switch account
type SyncActionOnResource ¶ added in v0.48.0
type SyncActionOnResource string
SyncResourceAction
const ( // Configured / updated SyncActionOnResourceConfigured SyncActionOnResource = "Configured" // Created SyncActionOnResourceCreated SyncActionOnResource = "Created" // Pruned SyncActionOnResourcePruned SyncActionOnResource = "Pruned" // Prune Skipped SyncActionOnResourcePruneSkipped SyncActionOnResource = "PruneSkipped" // Sync Failed SyncActionOnResourceSyncFailed SyncActionOnResource = "SyncFailed" // Unchanged SyncActionOnResourceUnchanged SyncActionOnResource = "Unchanged" // Unknown SyncActionOnResourceUnknown SyncActionOnResource = "Unknown" )
func (SyncActionOnResource) IsValid ¶ added in v0.48.0
func (e SyncActionOnResource) IsValid() bool
func (SyncActionOnResource) MarshalGQL ¶ added in v0.48.0
func (e SyncActionOnResource) MarshalGQL(w io.Writer)
func (SyncActionOnResource) String ¶ added in v0.48.0
func (e SyncActionOnResource) String() string
func (*SyncActionOnResource) UnmarshalGQL ¶ added in v0.48.0
func (e *SyncActionOnResource) UnmarshalGQL(v interface{}) error
type SyncError ¶
type SyncError struct {
// Level
Level ErrorLevels `json:"level"`
// Title
Title string `json:"title"`
// Message
Message string `json:"message"`
// Suggestion
Suggestion *string `json:"suggestion"`
// The entity related to this error
Object BaseEntity `json:"object"`
// Error code
Code SyncErrorCodes `json:"code"`
// Last time this error has been seen
LastSeen string `json:"lastSeen"`
// Error gitops context
Context *ErrorContext `json:"context"`
}
Sync Error
type SyncErrorCodes ¶
type SyncErrorCodes string
Sync Error codes
const ( // The resource desired state has an invalid state and cannot be synced to the cluster SyncErrorCodesInvalidSpec SyncErrorCodes = "INVALID_SPEC" // Sync error for cases when sync operation lasts more than X minutes SyncErrorCodesLongSync SyncErrorCodes = "LONG_SYNC" // Sync in impossible due to missing rollouts components SyncErrorCodesMissingRolloutsComponent SyncErrorCodes = "MISSING_ROLLOUTS_COMPONENT" // Uknown sync error SyncErrorCodesUnknown SyncErrorCodes = "UNKNOWN" )
func (SyncErrorCodes) IsValid ¶
func (e SyncErrorCodes) IsValid() bool
func (SyncErrorCodes) MarshalGQL ¶
func (e SyncErrorCodes) MarshalGQL(w io.Writer)
func (SyncErrorCodes) String ¶
func (e SyncErrorCodes) String() string
func (*SyncErrorCodes) UnmarshalGQL ¶
func (e *SyncErrorCodes) UnmarshalGQL(v interface{}) error
type SyncHookType ¶ added in v0.48.0
type SyncHookType string
SyncHookType
const ( // PostSync SyncHookTypePostSync SyncHookType = "PostSync" // PreSync SyncHookTypePreSync SyncHookType = "PreSync" // Skip SyncHookTypeSkip SyncHookType = "Skip" // Sync SyncHookTypeSync SyncHookType = "Sync" // SyncFail SyncHookTypeSyncFail SyncHookType = "SyncFail" )
func (SyncHookType) IsValid ¶ added in v0.48.0
func (e SyncHookType) IsValid() bool
func (SyncHookType) MarshalGQL ¶ added in v0.48.0
func (e SyncHookType) MarshalGQL(w io.Writer)
func (SyncHookType) String ¶ added in v0.48.0
func (e SyncHookType) String() string
func (*SyncHookType) UnmarshalGQL ¶ added in v0.48.0
func (e *SyncHookType) UnmarshalGQL(v interface{}) error
type SyncOperationPhase ¶ added in v0.48.0
type SyncOperationPhase string
SyncOperationPhase
const ( // Error SyncOperationPhaseError SyncOperationPhase = "Error" // Failed SyncOperationPhaseFailed SyncOperationPhase = "Failed" // Running SyncOperationPhaseRunning SyncOperationPhase = "Running" // Succeeded SyncOperationPhaseSucceeded SyncOperationPhase = "Succeeded" // Terminating SyncOperationPhaseTerminating SyncOperationPhase = "Terminating" // Unknown SyncOperationPhaseUnknown SyncOperationPhase = "Unknown" )
func (SyncOperationPhase) IsValid ¶ added in v0.48.0
func (e SyncOperationPhase) IsValid() bool
func (SyncOperationPhase) MarshalGQL ¶ added in v0.48.0
func (e SyncOperationPhase) MarshalGQL(w io.Writer)
func (SyncOperationPhase) String ¶ added in v0.48.0
func (e SyncOperationPhase) String() string
func (*SyncOperationPhase) UnmarshalGQL ¶ added in v0.48.0
func (e *SyncOperationPhase) UnmarshalGQL(v interface{}) error
type SyncOptions ¶ added in v0.45.0
type SyncOptions struct {
// DryRun
DryRun *bool `json:"dryRun"`
// infos
Infos []*SyncInfos `json:"infos"`
// Manifest
Manifests []*string `json:"manifests"`
// Name
Name *string `json:"name"`
// prune
Prune *bool `json:"prune"`
// Resources
Resources []*SyncResource `json:"resources"`
// retryStrategy
RetryStrategy *RetryStrategy `json:"retryStrategy"`
// revision
Revision *string `json:"revision"`
// strategy
Strategy *SyncStrategy `json:"strategy"`
// syncOptions
SyncOptions *SyncSyncOptions `json:"syncOptions"`
}
type SyncPhase ¶ added in v0.48.0
type SyncPhase string
SyncPhase
func (SyncPhase) MarshalGQL ¶ added in v0.48.0
func (*SyncPhase) UnmarshalGQL ¶ added in v0.48.0
type SyncResource ¶ added in v0.45.0
type SyncResponse ¶ added in v0.45.0
type SyncResponse struct {
// metadata
Metadata *SyncResponseMetadata `json:"metadata"`
}
type SyncResponseMetadata ¶ added in v0.45.0
type SyncResponseMetadata struct {
Name *string `json:"name"`
}
type SyncResultCode ¶ added in v0.48.0
type SyncResultCode string
SyncResultCode
const ( // Pruned SyncResultCodePruned SyncResultCode = "Pruned" // PruneSkipped SyncResultCodePruneSkipped SyncResultCode = "PruneSkipped" // Synced SyncResultCodeSynced SyncResultCode = "Synced" // SyncFailed SyncResultCodeSyncFailed SyncResultCode = "SyncFailed" )
func (SyncResultCode) IsValid ¶ added in v0.48.0
func (e SyncResultCode) IsValid() bool
func (SyncResultCode) MarshalGQL ¶ added in v0.48.0
func (e SyncResultCode) MarshalGQL(w io.Writer)
func (SyncResultCode) String ¶ added in v0.48.0
func (e SyncResultCode) String() string
func (*SyncResultCode) UnmarshalGQL ¶ added in v0.48.0
func (e *SyncResultCode) UnmarshalGQL(v interface{}) error
type SyncResultResource ¶ added in v0.48.0
type SyncResultResource struct {
// Group
Group string `json:"group"`
// Version
Version string `json:"version"`
// Kind
Kind string `json:"kind"`
// Name
Name string `json:"name"`
// Namespace
Namespace *string `json:"namespace"`
// Message
Message *string `json:"message"`
// Sync Action On Resource
SyncActionOnResource *SyncActionOnResource `json:"syncActionOnResource"`
// Status
Status *SyncResultCode `json:"status"`
// Sync Phase
SyncPhase *SyncPhase `json:"syncPhase"`
// Hook Phase
HookPhase *SyncOperationPhase `json:"hookPhase"`
// Hook Type
HookType *SyncHookType `json:"hookType"`
}
ApplicationSyncResult
type SyncStatus ¶
type SyncStatus string
Sync status
const ( // Out of sync SyncStatusOutOfSync SyncStatus = "OUT_OF_SYNC" // Synced SyncStatusSynced SyncStatus = "SYNCED" // Syncing SyncStatusSyncing SyncStatus = "SYNCING" // Unknown SyncStatusUnknown SyncStatus = "UNKNOWN" )
func (SyncStatus) IsValid ¶
func (e SyncStatus) IsValid() bool
func (SyncStatus) MarshalGQL ¶
func (e SyncStatus) MarshalGQL(w io.Writer)
func (SyncStatus) String ¶
func (e SyncStatus) String() string
func (*SyncStatus) UnmarshalGQL ¶
func (e *SyncStatus) UnmarshalGQL(v interface{}) error
type SyncStrategy ¶ added in v0.45.0
type SyncStrategy struct {
// apply
Apply *SyncStrategyForce `json:"apply"`
// hook
Hook *SyncStrategyForce `json:"hook"`
}
type SyncStrategyForce ¶ added in v0.45.0
type SyncStrategyForce struct {
// force
Force *bool `json:"force"`
}
type SyncSyncOptions ¶ added in v0.45.0
type SyncSyncOptions struct {
// items
Items []*string `json:"items"`
}
type SystemType ¶ added in v0.52.0
type SystemType string
Types of system type
const ( SystemTypeClassic SystemType = "CLASSIC" SystemTypeGitops SystemType = "GITOPS" SystemTypeGitopsAndClassic SystemType = "GITOPS_AND_CLASSIC" SystemTypeProjectOne SystemType = "PROJECT_ONE" )
func (SystemType) IsValid ¶ added in v0.52.0
func (e SystemType) IsValid() bool
func (SystemType) MarshalGQL ¶ added in v0.52.0
func (e SystemType) MarshalGQL(w io.Writer)
func (SystemType) String ¶ added in v0.52.0
func (e SystemType) String() string
func (*SystemType) UnmarshalGQL ¶ added in v0.52.0
func (e *SystemType) UnmarshalGQL(v interface{}) error
type SystemTypeOutput ¶ added in v0.52.0
type SystemTypeOutput struct {
// SystemType
SystemType SystemType `json:"systemType"`
}
SystemTypeOutput
type Team ¶ added in v0.57.1
type Team struct {
// Team name
Name string `json:"name"`
// Team ID
ID string `json:"id"`
// Account ID
Account *string `json:"account"`
// List of users in team
Users []*User `json:"users"`
// Team tags
Tags []*string `json:"tags"`
// Team type
Type *TeamType `json:"type"`
// Team ref id
RefID *string `json:"refId"`
// Team source
Source *TeamSource `json:"source"`
}
Team
type TeamSource ¶ added in v0.57.1
type TeamSource string
Team sources
const ( // auth0 TeamSourceAuth0 TeamSource = "AUTH0" // azure TeamSourceAzure TeamSource = "AZURE" // github TeamSourceGithub TeamSource = "GITHUB" // google TeamSourceGoogle TeamSource = "GOOGLE" // keycloak TeamSourceKeycloak TeamSource = "KEYCLOAK" // ldap TeamSourceLdap TeamSource = "LDAP" // okta TeamSourceOkta TeamSource = "OKTA" // onelogin TeamSourceOnelogin TeamSource = "ONELOGIN" )
func (TeamSource) IsValid ¶ added in v0.57.1
func (e TeamSource) IsValid() bool
func (TeamSource) MarshalGQL ¶ added in v0.57.1
func (e TeamSource) MarshalGQL(w io.Writer)
func (TeamSource) String ¶ added in v0.57.1
func (e TeamSource) String() string
func (*TeamSource) UnmarshalGQL ¶ added in v0.57.1
func (e *TeamSource) UnmarshalGQL(v interface{}) error
type TeamType ¶ added in v0.57.1
type TeamType string
Types of team
func (TeamType) MarshalGQL ¶ added in v0.57.1
func (*TeamType) UnmarshalGQL ¶ added in v0.57.1
type TeminateApplicationOperationResponse ¶ added in v0.48.0
type TeminateApplicationOperationResponse struct {
// Is operation terminated
Terminated *bool `json:"terminated"`
}
Teminate Application Operation Response
type TimeSeriesDataRecord ¶ added in v0.55.0
type TimeSeriesDataRecord struct {
// Time
Time string `json:"time"`
// Value
Value int `json:"value"`
}
Time Series Data Record
type ToState ¶ added in v0.37.4
type ToState struct {
// Services - for Deployments
Services []*ServiceItem `json:"services"`
// Rollouts
Rollouts []*ReleaseRolloutState `json:"rollouts"`
}
To State Entity
type TokenType ¶ added in v0.52.0
type TokenType string
RefreshType specifies how to refresh the sources of a given application
func (TokenType) MarshalGQL ¶ added in v0.52.0
func (*TokenType) UnmarshalGQL ¶ added in v0.52.0
type Transition ¶ added in v0.37.4
type Transition struct {
// Services
Services []*ServiceTransition `json:"services"`
// Rollouts
Rollouts []*RolloutTransition `json:"rollouts"`
}
Transition Entity
type Trial ¶ added in v0.37.7
type Trial struct {
// Trialing
Trialing *bool `json:"trialing"`
// IsRuntimePaying
IsRuntimePaying *bool `json:"isRuntimePaying"`
// TrialWillEndNotified
TrialWillEndNotified *bool `json:"trialWillEndNotified"`
// TrialEndedNotified
TrialEndedNotified *bool `json:"trialEndedNotified"`
// Type
Type *string `json:"type"`
// PreviousSegment
PreviousSegment *string `json:"previousSegment"`
// TrialEnd
TrialEnd *string `json:"trialEnd"`
}
Trial
type TriggerConditionDataFilters ¶ added in v0.37.7
type TriggerConditionDataFilters struct {
// Implicit filters are derived from Event Type (push.heads, pull_request.merge etc)
Implicit []*DataFilter `json:"implicit"`
// Custom are just regular data filters added by the user
Custom []*DataFilter `json:"custom"`
// Predefinded are the filters like by branch, by repo etc
Predefined []*PredefinedFilter `json:"predefined"`
}
Differentiated DataFilters
type TriggerConditionDataFiltersArgs ¶ added in v0.37.7
type TriggerConditionDataFiltersArgs struct {
// Implicit filters are derived from Event Type (push.heads, pull_request.merge etc)
Implicit []*DataFilterArgs `json:"implicit"`
// Custom are just regular data filters added by the user
Custom []*DataFilterArgs `json:"custom"`
// Predefinded are the filters like by branch, by repo etc
Predefined []*PredefinedFilterArgs `json:"predefined"`
}
Differentiated DataFilters
type TriggerConditionFilters ¶ added in v0.37.7
type TriggerConditionFilters struct {
// Data are DataFilters from argo events
Data *TriggerConditionDataFilters `json:"data"`
}
TriggerConditions filters object
type TriggerConditionFiltersArgs ¶ added in v0.37.7
type TriggerConditionFiltersArgs struct {
// Data are DataFilters from argo events
Data *TriggerConditionDataFiltersArgs `json:"data"`
}
TriggerConditions filters object
type TriggerConditionParameter ¶ added in v0.37.7
type TriggerConditionParameter struct {
// Corresponding name of the workflow parameter on sensor to be injected instead
Name string `json:"name"`
// String containing gotemplate
DataTemplate string `json:"dataTemplate"`
// Operation is what to do with the existing value at Dest, whether to 'prepend', 'overwrite', or 'append' it
Operation *string `json:"operation"`
}
Parameters choosen for each event type (push, pull_request...)
type TriggerConditionParameterArgs ¶ added in v0.37.7
type TriggerConditionParameterArgs struct {
// Corresponding name of the workflow parameter on sensor to be injected instead
Name string `json:"name"`
// String containing gotemplate
DataTemplate string `json:"dataTemplate"`
// Operation is what to do with the existing value at Dest, whether to 'prepend', 'overwrite', or 'append' it
Operation *string `json:"operation"`
}
Parameters choosen for each event type (push, pull_request...)
type TriggerConditions ¶ added in v0.37.7
type TriggerConditions struct {
// Conditions
Conditions *SpecificTriggerConditions `json:"conditions"`
// Submitted workflow configuration
Workflow *TriggerConditionsWorkflow `json:"workflow"`
}
Trigger Conditions that tell how a pipeline is being triggered
type TriggerConditionsArgs ¶ added in v0.37.7
type TriggerConditionsArgs struct {
// Sensor name
SensorName string `json:"sensorName"`
// Trigger name
TriggerName string `json:"triggerName"`
// Ingress host (SET ON BACKEND)
IngressHost *string `json:"ingressHost"`
// Conditions
Conditions *SpecificTriggerConditionsArgs `json:"conditions"`
// Submitted workflow configuration
Workflow *TriggerConditionsWorkflowArgs `json:"workflow"`
}
Trigger Conditions that tell how a pipeline is being triggered
type TriggerConditionsWorkflow ¶ added in v0.37.7
type TriggerConditionsWorkflow struct {
// Name of the referenced WorkflowTemplate
Name string `json:"name"`
// Entrypoint template of the referenced WorkflowTemplate (can be set just on the WorkflowTemplate, so may be null here)
Entrypoint *string `json:"entrypoint"`
// Default workflow parameters to be passed from sensor
Parameters []*WorkflowParameter `json:"parameters"`
}
Submitted workflow template configuration and default parameters
type TriggerConditionsWorkflowArgs ¶ added in v0.37.7
type TriggerConditionsWorkflowArgs struct {
// Name of the referenced WorkflowTemplate
Name string `json:"name"`
// Entrypoint template of the referenced WorkflowTemplate (can be set just on the WorkflowTemplate, so may be null here)
Entrypoint *string `json:"entrypoint"`
// Default workflow parameters to be passed from sensor
Parameters []*WorkflowParameterArgs `json:"parameters"`
}
Submitted workflow template configuration and default parameters
type UnknownEventPayloadData ¶
type UnknownEventPayloadData struct {
// Event payload type
Type PayloadDataTypes `json:"type"`
// Event uid
UID string `json:"uid"`
// Event source name
EventSource *string `json:"eventSource"`
// The relevant event name in the event source
EventName *string `json:"eventName"`
// Event name
Event string `json:"event"`
}
Calendar event payload data
func (UnknownEventPayloadData) IsEventPayloadData ¶
func (UnknownEventPayloadData) IsEventPayloadData()
type UpdateEnvironmentArgs ¶ added in v0.57.1
type UpdateEnvironmentArgs struct {
// Id of the environment
ID string `json:"id"`
// Environment name
Name string `json:"name"`
// Kind of environment
Kind EnvironmentKind `json:"kind"`
// List of clusters that belong to this environment
Clusters []*EnvironmentClusterInput `json:"clusters"`
}
Update Environment Input
type UpdateGitSourcePermissionsArgs ¶ added in v0.37.4
type UpdateGitSourcePermissionsArgs struct {
// The name of the git-source the update is for
GitSource string `json:"gitSource"`
// The namespace of the git-source
Namespace *string `json:"namespace"`
// The set of permissions
Permissions []*PermissionInput `json:"permissions"`
}
Args to update the permissions of a git-source
type UpdateProductArgs ¶ added in v0.57.1
type UpdateProductArgs struct {
// Id of the Product
ID string `json:"id"`
// Product name
Name string `json:"name"`
// Custom Annotation pair 'key=value' used for auto-linking applications, empty string if not set
CustomAnnotationPairs []*string `json:"customAnnotationPairs"`
// Tags list
Tags []*string `json:"tags"`
}
Update Product Input
type UpdateRuntimeGitTokenArgs ¶ added in v0.37.9
type UpdateRuntimeGitTokenArgs struct {
// Token
Token string `json:"token"`
// Refresh Token
RefreshToken *string `json:"refreshToken"`
// The address of the git provider api, default is https://api.github.com
APIURL *string `json:"apiUrl"`
// Git provider, default is GITHUB
Provider *GitProviders `json:"provider"`
// User Name
Username *string `json:"username"`
}
Update runtime git token args
type User ¶
type User struct {
// The user id
ID string `json:"id"`
// The user name
Name string `json:"name"`
// The user email
Email string `json:"email"`
// User image url
AvatarURL *string `json:"avatarUrl"`
// Is the user have system admin permission
IsAdmin *bool `json:"isAdmin"`
// The accounts the this user have acsess to
Accounts []*Account `json:"accounts"`
// The default account for this user
ActiveAccount *Account `json:"activeAccount"`
// The customers that this user is in
Customers []Customer `json:"customers"`
// The current status of this user
Status string `json:"status"`
// Register date
RegisterDate *string `json:"registerDate"`
// Last time user logged in to the system
LastLoginDate *string `json:"lastLoginDate"`
// User chosen sso of active account
Sso *string `json:"sso"`
// User settings
Settings *UserSettings `json:"settings"`
// GitOps settings
GitOpsSettings []*GitOpsSettings `json:"gitOpsSettings"`
// Runtime name
RuntimeName *string `json:"runtimeName"`
}
User
type UserDetailsArgs ¶ added in v0.45.0
type UserDetailsArgs struct {
// User settings
Settings *UserSettingsArgs `json:"settings"`
}
Args to edit user details
type UserGitIntegration ¶ added in v0.37.9
type UserGitIntegration struct {
// User ID
UserID string `json:"userId"`
// Is user git token valid
IsValid bool `json:"isValid"`
}
User git integration
type UserSettings ¶ added in v0.45.0
type UserSettings struct {
// Allow admin to login
AllowAdminToLogin *bool `json:"allowAdminToLogin"`
// Display welcome screen
DisplayWelcomeScreen *bool `json:"displayWelcomeScreen"`
}
User settings
type UserSettingsArgs ¶ added in v0.45.0
type UserSettingsArgs struct {
// Allow admin to login
AllowAdminToLogin *bool `json:"allowAdminToLogin"`
}
Args to edit settings user details
type ValidateGitProviderArgs ¶ added in v0.52.0
type ValidateGitProviderArgs struct {
// Git Provider
Provider GitProviders `json:"provider"`
// Git provider API url, required only for on perm git providers
APIURL *string `json:"apiUrl"`
// Username
Username *string `json:"username"`
// Password
Token string `json:"token"`
// Refresh Token
RefreshToken *string `json:"refreshToken"`
// Token Type - git runtime token / git user git token, default is RUNTIME_TOKEN
TokenType *TokenType `json:"tokenType"`
}
Git validate provider Args
type Workflow ¶
type Workflow struct {
// Object metadata
Metadata *ObjectMeta `json:"metadata"`
// Errors
Errors []Error `json:"errors"`
// Entities referencing this entity
ReferencedBy []BaseEntity `json:"referencedBy"`
// Entities referenced by this enitity
References []BaseEntity `json:"references"`
// Projects
Projects []string `json:"projects"`
// Workflow spec
Spec *WorkflowSpec `json:"spec"`
// Workflow status
Status *WorkflowStatus `json:"status"`
// Initiator of the workflow
Initiator *WorkflowInitiator `json:"initiator"`
// Events payload Data
EventsPayloadData []EventPayloadData `json:"eventsPayloadData"`
// Events payload references
EventsPayload []string `json:"eventsPayload"`
// Pipeline reference
Pipeline *Pipeline `json:"pipeline"`
// Actual manifest
ActualManifest *string `json:"actualManifest"`
// Workflow URL. Maybe empty if the runtime was deleted.
URL *string `json:"url"`
// Workflow's runtime ingress host. Maybe empty if the runtime was deleted.
IngressHost *string `json:"ingressHost"`
// Workflow's runtime version. Maybe empty if the runtime was deleted.
RuntimeVersion *string `json:"runtimeVersion"`
// Indicates that workflow was created by platform/app-proxy and the value shows the flow that caused the creation
OriginatedFrom *string `json:"originatedFrom"`
// Workflows which executed by this workflow
ChildWorkflows []*ChildWorkflowRef `json:"childWorkflows"`
// Parent workflow that executed this workflow
ParentWorkflow *ParentWorkflowRef `json:"parentWorkflow"`
// Image details that was created from report image workflow execution.
ImageDetails *ImageDetails `json:"imageDetails"`
}
Workflow entity
func (Workflow) IsBaseEntity ¶
func (Workflow) IsBaseEntity()
func (Workflow) IsK8sStandardEntity ¶
func (Workflow) IsK8sStandardEntity()
func (Workflow) IsProjectBasedEntity ¶
func (Workflow) IsProjectBasedEntity()
type WorkflowArguments ¶ added in v0.37.9
type WorkflowArguments struct {
// Workflow parameters
Parameters []*WorkflowParameter `json:"parameters"`
}
WorkflowArguments
type WorkflowConcurrency ¶ added in v0.37.7
type WorkflowConcurrency struct {
// Concurrency
Concurrency *WorkflowConcurrencyInfo `json:"concurrency"`
}
WorkflowConcurrency
type WorkflowConcurrencyInfo ¶ added in v0.37.7
type WorkflowConcurrencyInfo struct {
// Price
Price *BasePrice `json:"price"`
// Amount
Amount *int `json:"amount"`
// Absorb
Absorb *int `json:"absorb"`
// Min
Min *int `json:"min"`
// Max
Max *int `json:"max"`
// AllowUnlimited
AllowUnlimited *bool `json:"allowUnlimited"`
}
WorkflowConcurrency
type WorkflowConditions ¶ added in v0.37.4
type WorkflowConditions struct {
// Type
Type *string `json:"type"`
// Status
Status *string `json:"status"`
}
Workflow conditions
type WorkflowContainerSpec ¶
type WorkflowContainerSpec struct {
// Name
Name *string `json:"name"`
// Image
Image *string `json:"image"`
// Command array
Command []*string `json:"command"`
// Args
Args []*string `json:"args"`
// Env map
Env []*StringPair `json:"env"`
}
Workflow step
type WorkflowContainerTemplate ¶
type WorkflowContainerTemplate struct {
// Name
Name string `json:"name"`
// Daemon
Daemon *bool `json:"daemon"`
// Container
Container *WorkflowContainerSpec `json:"container"`
}
Workflow container template
func (WorkflowContainerTemplate) IsWorkflowSpecTemplate ¶
func (WorkflowContainerTemplate) IsWorkflowSpecTemplate()
type WorkflowDAGTask ¶
type WorkflowDAGTask struct {
// Name
Name string `json:"name"`
// Template to execute
TemplateName *string `json:"templateName"`
// Workflow template ref
WorkflowTemplateRef *WorkflowTemplateRef `json:"workflowTemplateRef"`
}
Workflow DAG task
type WorkflowDAGTemplate ¶
type WorkflowDAGTemplate struct {
// Name
Name string `json:"name"`
// Tasks
Tasks []*WorkflowDAGTask `json:"tasks"`
// Fail on first failed task
FailFast *bool `json:"failFast"`
}
Workflow DAG template
func (WorkflowDAGTemplate) IsWorkflowSpecTemplate ¶
func (WorkflowDAGTemplate) IsWorkflowSpecTemplate()
type WorkflowEdge ¶
type WorkflowEdge struct {
// Node contains the actual workflow data
Node *Workflow `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
Workflow Edge
func (WorkflowEdge) IsEdge ¶
func (WorkflowEdge) IsEdge()
type WorkflowInitiator ¶ added in v0.37.9
type WorkflowInitiator struct {
// Initiator name
Name string `json:"name"`
// Initiator avatar URL
AvatarURL *string `json:"avatarURL"`
}
If the workflow created through the wt playground it will contain username and avatar URL of codefresh user. If the workflow was triggered by some GIT event it will contain username and avatar URL of git user. Otherwise this field will be empty.
type WorkflowLastExecution ¶ added in v0.37.9
type WorkflowLastExecution struct {
// Arguments
Arguments *WorkflowArguments `json:"arguments"`
}
Workflow last execution object
type WorkflowLogEntry ¶ added in v0.37.7
type WorkflowLogEntry struct {
// Pod Name
PodName string `json:"podName"`
// Timestamp
Timestamp *string `json:"timestamp"`
// Content
Content string `json:"content"`
}
WorkflowLogEntry
type WorkflowLogsResponse ¶ added in v0.37.8
type WorkflowLogsResponse struct {
// Data
Data *WorkflowLogEntry `json:"data"`
// Error
Error *string `json:"error"`
// done
Done *bool `json:"done"`
}
type WorkflowNodePhases ¶
type WorkflowNodePhases string
Workflow nodes WorkflowPhases
const ( // Error WorkflowNodePhasesError WorkflowNodePhases = "Error" // Failed WorkflowNodePhasesFailed WorkflowNodePhases = "Failed" // Omitted WorkflowNodePhasesOmitted WorkflowNodePhases = "Omitted" // Pending WorkflowNodePhasesPending WorkflowNodePhases = "Pending" // Running WorkflowNodePhasesRunning WorkflowNodePhases = "Running" // Skipped WorkflowNodePhasesSkipped WorkflowNodePhases = "Skipped" // Succeeded WorkflowNodePhasesSucceeded WorkflowNodePhases = "Succeeded" )
func (WorkflowNodePhases) IsValid ¶
func (e WorkflowNodePhases) IsValid() bool
func (WorkflowNodePhases) MarshalGQL ¶
func (e WorkflowNodePhases) MarshalGQL(w io.Writer)
func (WorkflowNodePhases) String ¶
func (e WorkflowNodePhases) String() string
func (*WorkflowNodePhases) UnmarshalGQL ¶
func (e *WorkflowNodePhases) UnmarshalGQL(v interface{}) error
type WorkflowOrigins ¶ added in v0.44.2
type WorkflowOrigins string
Name of the flows that can be the workflow origins
const ( // workflow was created as a result of image reporting/enrichment by unknown source WorkflowOriginsCiEnrichment WorkflowOrigins = "CI_ENRICHMENT" // workflow was created as a result of image reporting/enrichment by github-action plugin WorkflowOriginsCiEnrichmentCodefreshClassic WorkflowOrigins = "CI_ENRICHMENT_CODEFRESH_CLASSIC" // workflow was created as a result of image reporting/enrichment by github-action plugin WorkflowOriginsCiEnrichmentGa WorkflowOrigins = "CI_ENRICHMENT_GA" // workflow was created as a result of image reporting/enrichment by jenkins plugin WorkflowOriginsCiEnrichmentJenkins WorkflowOrigins = "CI_ENRICHMENT_JENKINS" // workflow without specific origin, regular pipeline workflow WorkflowOriginsCommon WorkflowOrigins = "COMMON" // workflow was create as a result of running the workflow template WorkflowOriginsPlayground WorkflowOrigins = "PLAYGROUND" )
func (WorkflowOrigins) IsValid ¶ added in v0.44.2
func (e WorkflowOrigins) IsValid() bool
func (WorkflowOrigins) MarshalGQL ¶ added in v0.44.2
func (e WorkflowOrigins) MarshalGQL(w io.Writer)
func (WorkflowOrigins) String ¶ added in v0.44.2
func (e WorkflowOrigins) String() string
func (*WorkflowOrigins) UnmarshalGQL ¶ added in v0.44.2
func (e *WorkflowOrigins) UnmarshalGQL(v interface{}) error
type WorkflowParameter ¶ added in v0.37.7
type WorkflowParameter struct {
// Name
Name string `json:"name"`
// Value
Value *string `json:"value"`
// Default value
Default *string `json:"default"`
}
Workflow Parameter object
type WorkflowParameterArgs ¶ added in v0.37.7
type WorkflowParameterArgs struct {
// Name
Name string `json:"name"`
// Value
Value *string `json:"value"`
// Default value
Default *string `json:"default"`
}
Workflow Parameter object
type WorkflowParameterInput ¶ added in v0.37.9
type WorkflowPhases ¶
type WorkflowPhases string
Workflow WorkflowPhases
const ( // Error WorkflowPhasesError WorkflowPhases = "Error" // Failed WorkflowPhasesFailed WorkflowPhases = "Failed" // Pending WorkflowPhasesPending WorkflowPhases = "Pending" // Running WorkflowPhasesRunning WorkflowPhases = "Running" // Succeeded WorkflowPhasesSucceeded WorkflowPhases = "Succeeded" // Unknown WorkflowPhasesUnknown WorkflowPhases = "Unknown" )
func (WorkflowPhases) IsValid ¶
func (e WorkflowPhases) IsValid() bool
func (WorkflowPhases) MarshalGQL ¶
func (e WorkflowPhases) MarshalGQL(w io.Writer)
func (WorkflowPhases) String ¶
func (e WorkflowPhases) String() string
func (*WorkflowPhases) UnmarshalGQL ¶
func (e *WorkflowPhases) UnmarshalGQL(v interface{}) error
type WorkflowRepository ¶ added in v0.37.0
type WorkflowRepository struct {
// Repository name
Name string `json:"name"`
// Repository owner
Owner string `json:"owner"`
// Repository name in format {owner}/{name}
FullName string `json:"fullName"`
// Repository URL
URL string `json:"url"`
}
"Repository data for workflows
type WorkflowResourceTemplate ¶
type WorkflowResourceTemplate struct {
// Name
Name string `json:"name"`
}
Workflow Resource template
func (WorkflowResourceTemplate) IsWorkflowSpecTemplate ¶
func (WorkflowResourceTemplate) IsWorkflowSpecTemplate()
type WorkflowResourcesDuration ¶ added in v0.37.4
type WorkflowResourcesDuration struct {
// Cpu
CPU *int `json:"cpu"`
// Memory
Memory *int `json:"memory"`
}
Workflow resources duration
type WorkflowResubmitResponse ¶ added in v0.37.4
type WorkflowResubmitResponse struct {
// The newly created workflow name
NewWorkflowName string `json:"newWorkflowName"`
}
Response for resubmitting a workflow
type WorkflowScriptTemplate ¶
type WorkflowScriptTemplate struct {
// Name
Name string `json:"name"`
}
Workflow script template
func (WorkflowScriptTemplate) IsWorkflowSpecTemplate ¶
func (WorkflowScriptTemplate) IsWorkflowSpecTemplate()
type WorkflowSlice ¶
type WorkflowSlice struct {
// Workflow edges
Edges []*WorkflowEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
Workflow Slice
func (WorkflowSlice) IsSlice ¶
func (WorkflowSlice) IsSlice()
type WorkflowSpec ¶
type WorkflowSpec struct {
// Entrypoint
Entrypoint *string `json:"entrypoint"`
// Templates
Templates []WorkflowSpecTemplate `json:"templates"`
// Workflow template reference
WorkflowTemplateRef *WorkflowTemplateRef `json:"workflowTemplateRef"`
}
Workflow spec
type WorkflowSpecNameOnlyTemplate ¶
type WorkflowSpecNameOnlyTemplate struct {
// Name
Name string `json:"name"`
}
Workflow spec name only template
func (WorkflowSpecNameOnlyTemplate) IsWorkflowSpecTemplate ¶
func (WorkflowSpecNameOnlyTemplate) IsWorkflowSpecTemplate()
type WorkflowSpecTemplate ¶
type WorkflowSpecTemplate interface {
IsWorkflowSpecTemplate()
}
Workflow spec template
type WorkflowStatus ¶
type WorkflowStatus struct {
// Start time
StartedAt *string `json:"startedAt"`
// Finish time
FinishedAt *string `json:"finishedAt"`
// Current workflow phase
Phase WorkflowPhases `json:"phase"`
// Progress
Progress *string `json:"progress"`
// Current workflow nodes status
Nodes []*NodeStatus `json:"nodes"`
// Message
Message *string `json:"message"`
// Previous statuses
Statuses []*StatusHistoryItem `json:"statuses"`
// Stored Templates
StoredTemplates *string `json:"storedTemplates"`
// Stored workflow template spec
StoredWorkflowTemplateSpec *string `json:"storedWorkflowTemplateSpec"`
// Conditions
Conditions []*WorkflowConditions `json:"conditions"`
// Resources duration
ResourcesDuration *WorkflowResourcesDuration `json:"resourcesDuration"`
// Amount of running pods
RunningPodsCount int `json:"runningPodsCount"`
// Name of the first running pod
ActivePodName *string `json:"activePodName"`
// Current workflow failed nodes status
FailedNodes []*NodeStatus `json:"failedNodes"`
}
Workflow status
type WorkflowStep ¶
type WorkflowStep struct {
// Name
Name string `json:"name"`
// Template to execute
TemplateName *string `json:"templateName"`
// Workflow template ref
WorkflowTemplateRef *WorkflowTemplateRef `json:"workflowTemplateRef"`
}
Workflow step
type WorkflowStepsTemplate ¶
type WorkflowStepsTemplate struct {
// Name
Name string `json:"name"`
// Steps
Steps [][]*WorkflowStep `json:"steps"`
}
Workflow steps template
func (WorkflowStepsTemplate) IsWorkflowSpecTemplate ¶
func (WorkflowStepsTemplate) IsWorkflowSpecTemplate()
type WorkflowSuspendedTemplate ¶
type WorkflowSuspendedTemplate struct {
// Name
Name string `json:"name"`
}
Workflow Resource template
func (WorkflowSuspendedTemplate) IsWorkflowSpecTemplate ¶
func (WorkflowSuspendedTemplate) IsWorkflowSpecTemplate()
type WorkflowTemplate ¶
type WorkflowTemplate struct {
// Object metadata
Metadata *ObjectMeta `json:"metadata"`
// Errors
Errors []Error `json:"errors"`
// Entities referencing this entity
ReferencedBy []BaseEntity `json:"referencedBy"`
// Entities referenced by this enitity
References []BaseEntity `json:"references"`
// History of the workflow-template
History *GitOpsSlice `json:"history"`
// Version of the entity
Version *int `json:"version"`
// Is this the latest version of this entity
Latest *bool `json:"latest"`
// Entity source
Source *GitopsEntitySource `json:"source"`
// Sync status
SyncStatus SyncStatus `json:"syncStatus"`
// Health status
HealthStatus *HealthStatus `json:"healthStatus"`
// Health message
HealthMessage *string `json:"healthMessage"`
// Desired manifest
DesiredManifest *string `json:"desiredManifest"`
// Actual manifest
ActualManifest *string `json:"actualManifest"`
// Projects
Projects []string `json:"projects"`
// Workflow spec
Spec *WorkflowSpec `json:"spec"`
}
Workflow template entity
func (WorkflowTemplate) IsBaseEntity ¶
func (WorkflowTemplate) IsBaseEntity()
func (WorkflowTemplate) IsEntity ¶
func (WorkflowTemplate) IsEntity()
func (WorkflowTemplate) IsGitopsEntity ¶
func (WorkflowTemplate) IsGitopsEntity()
func (WorkflowTemplate) IsProjectBasedEntity ¶
func (WorkflowTemplate) IsProjectBasedEntity()
type WorkflowTemplateEdge ¶
type WorkflowTemplateEdge struct {
// Node contains the actual workflow template data
Node *WorkflowTemplate `json:"node"`
// Cursor
Cursor string `json:"cursor"`
}
Workflow template Edge
func (WorkflowTemplateEdge) IsEdge ¶
func (WorkflowTemplateEdge) IsEdge()
type WorkflowTemplateRef ¶
type WorkflowTemplateRef struct {
// Name
Name *string `json:"name"`
// Group
Group string `json:"group"`
// Version
Version string `json:"version"`
// Kind
Kind string `json:"kind"`
// Namespace
Namespace *string `json:"namespace"`
}
Workflow template ref
type WorkflowTemplateSlice ¶
type WorkflowTemplateSlice struct {
// Workflow template edges
Edges []*WorkflowTemplateEdge `json:"edges"`
// Slice information
PageInfo *SliceInfo `json:"pageInfo"`
}
WorkflowTemplate Slice
func (WorkflowTemplateSlice) IsSlice ¶
func (WorkflowTemplateSlice) IsSlice()
type WorkflowTemplatesFilterArgs ¶ added in v0.37.4
type WorkflowTemplatesFilterArgs struct {
// Filter WorkflowTemplates from a specific project
Project *string `json:"project"`
// Filter WorkflowTemplates from a specific runtime
Runtime *string `json:"runtime"`
// Filter WorkflowTemplates from a specific cluster URL
Cluster *string `json:"cluster"`
// Filter WorkflowTemplates by name
Name *string `json:"name"`
// Filter WorkflowTemplates by namespace
Namespace *string `json:"namespace"`
// Filter WorkflowTemplates by group
Groups []*string `json:"groups"`
// Filter WorkflowTemplates by version
Versions []*string `json:"versions"`
// Filter WorkflowTemplates by git source
GitSource *string `json:"gitSource"`
}
Workflow template filter arguments