Documentation ¶
Index ¶
- Variables
- type APIToken
- type Account
- type AccountCollaborators
- type AccountFeatures
- type AddUserToAccountArgs
- type Annotation
- type AnnotationArgs
- type AnnotationEdge
- type AnnotationFilterArgs
- type AnnotationSlice
- type AppProjectReadModelEventPayload
- type Application
- type ApplicationEdge
- type ApplicationField
- type ApplicationFormData
- type ApplicationFormDestination
- type ApplicationFormInputData
- type ApplicationFormInputDestination
- type ApplicationFormInputMetadata
- type ApplicationFormInputSource
- type ApplicationFormInputSourceDirectory
- type ApplicationFormInputSourceDirectoryJsonnet
- type ApplicationFormInputSourceHelm
- type ApplicationFormInputSourceKsonnet
- type ApplicationFormInputSourceKustomize
- type ApplicationFormInputSourcePlugin
- type ApplicationFormInputSyncAutomatedPolicy
- type ApplicationFormInputSyncPolicy
- type ApplicationFormInputSyncRetryBackoffOptions
- type ApplicationFormInputSyncRetryOptions
- 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 ApplicationJSON
- type ApplicationManifestHierarchy
- type ApplicationOrderedStatistics
- type ApplicationOrderedStatisticsData
- type ApplicationReadModelEventPayload
- type ApplicationRef
- type ApplicationSet
- type ApplicationSetEdge
- type ApplicationSetSlice
- type ApplicationSlice
- type ApplicationTreeFilterArgs
- type ApplicationTreeHealthStatusStatisticRecord
- type ApplicationTreeItem
- type ApplicationTreeSortArg
- type ApplicationTreeSortingField
- type ApplicationsFilterArgs
- type AppsRelations
- type ArgoCDApplicationDestination
- type ArgoCDApplicationStatus
- type ArgoCDNotification
- type ArgoEventsNotification
- type ArgoHubTemplate
- type ArgoHubTemplates
- type ArgoHubTemplatesFilterArgs
- type ArgoHubTemplatesSlice
- type Auth0sso
- type AzureSso
- type BaseEntity
- type BasePrice
- type BaseReference
- type Build
- type CacheInfo
- type CacheInfoInput
- type CalendarEventPayloadData
- type CalendarTriggerConditions
- type CalendarTriggerConditionsArgs
- type ChildApplicationField
- type ClientIP
- type Cluster
- type ClusterConnectionStatus
- type ClusterConnectionStatusInput
- type ClusterEdge
- type ClusterInfo
- type ClusterInfoInput
- type ClusterSlice
- type ClusterUpsertArgs
- type ClustersStatistics
- type Commits
- type CommitsOutput
- type CommitterLabel
- type CommonGitEventPayloadData
- type Component
- type ComponentEdge
- type ComponentNotification
- type ComponentReadModelEventPayload
- type ComponentSlice
- type CompositeSlice
- type CompositeSliceInfo
- type CompositeSlicePaginationArgs
- type ConnectionState
- type ConnectionStateInput
- type Customer
- type DataFilter
- type DataFilterArgs
- type DataRetention
- type DefaultDindResources
- type Deployment
- type DeploymentContainer
- type DeploymentEdge
- type DeploymentReadModelEventPayload
- type DeploymentSlice
- type DeploymentSpec
- type DeploymentSpecPart
- type DeploymentStatistics
- type DeploymentStatisticsData
- type DeploymentStatisticsInfo
- type DeploymentStatisticsStatus
- type DeploymentStatus
- type Edge
- type EditUserToAccountArgs
- type Entity
- type EntityReference
- type EntityReferenceMeta
- type EnvironmentConcurrency
- type Error
- type ErrorContext
- type ErrorLevels
- type Event
- type EventPayload
- type EventPayloadData
- type EventPayloadEdge
- type EventPayloadReadModelEventPayload
- type EventPayloadSlice
- type EventSource
- type EventSourceEdge
- type EventSourceReadModelEventPayload
- type EventSourceSlice
- type EventSourceType
- type Favorable
- type FavoriteInfoArgs
- type FromState
- type GeneralStatistics
- type GenericEntity
- type GenericEntityEdge
- type GenericEntitySlice
- type GenericErrorNotification
- type GitAuthConfigFormInputData
- type GitAuthConfigFormInputMetadata
- type GitAuthConfigFormInputSpec
- type GitAuthProvider
- type GitOpsEdge
- type GitOpsNotification
- type GitOpsSlice
- type GitPRComment
- type GitPREventPayloadData
- type GitPr
- type GitPrFork
- type GitPush
- type GitPushCommit
- type GitPushCommitRevision
- type GitPushCommitTargetRevision
- type GitPushEventPayloadData
- type GitPushPayloadDataTypes
- type GitPushTag
- type GitPushTagRevision
- type GitRelease
- type GitReleaseEventPayloadData
- type GitSource
- type GitSourceEdge
- type GitSourceNotification
- type GitSourceReadModelEventPayload
- type GitSourceSlice
- type GitUnknownEventPayloadData
- type GithubEvent
- type GithubTriggerConditions
- type GithubTriggerConditionsArgs
- type GitopsEntity
- type GitopsEntitySource
- type GitopsRelease
- type GitopsReleaseApplicationArgs
- type GitopsReleaseChartRecord
- type GitopsReleaseChartRelease
- type GitopsReleaseEdge
- type GitopsReleaseFilterArgs
- type GitopsReleaseSlice
- type GitopsReleaseSortArg
- type GitopsReleasesSortingField
- type GoogleSso
- type HealthError
- type HealthErrorCodes
- type HealthErrorInput
- type HealthStatus
- type HierarchyRef
- type HierarchyStep
- type HierarchyTemplate
- type HierarchyTemplates
- type HistoryArgs
- type IDP
- type ImageApplication
- type ImageApplicationCommitAuthor
- type ImageApplicationGitInfo
- type ImageBinary
- type ImageBinaryAuthor
- type ImageBinaryAuthorInput
- type ImageBinaryAuthorOutput
- type ImageBinaryEdge
- type ImageBinaryInput
- type ImageBinaryOutput
- type ImageBinarySlice
- type ImagePullPolicy
- type ImageRegistry
- type ImageRegistryEdge
- type ImageRegistryInput
- type ImageRegistryOutput
- type ImageRegistrySlice
- type ImageRegistryType
- type ImageRepoTag
- type ImageRepoTagEdge
- type ImageRepoTagFilterArgs
- type ImageRepoTagSlice
- type ImageRepoTagSortArg
- type ImageRepoTagSortingField
- type ImageRepository
- type ImageRepositoryEdge
- type ImageRepositoryFilterArgs
- type ImageRepositorySlice
- type ImageRepositorySortArg
- type ImageRepositorySortingField
- type ImageTag
- type ImageTagInput
- type ImageTagOutput
- type Images
- type Initiator
- type InstallationStatus
- type IssueValue
- type K8sEntityID
- type K8sLogicEntity
- type K8sStandardEntity
- type KeycloakSso
- type LabelArrays
- type LdapSso
- type LogicEntityID
- type Mapping
- type MetricWithTrend
- type NameReferenceInput
- type NameValueCodeInput
- type NameValueCodeOutput
- type NameValueInput
- type NameValueOutput
- type NamespacedFindManyArgs
- type NodeStatus
- type Notification
- type NotificationActionType
- type NotificationEdge
- type NotificationReadModelEventPayload
- type NotificationSlice
- type NotificationState
- type NotificationType
- type ObjectMeta
- type OktaSso
- type OneTimeToken
- type OneloginSso
- type Pack
- type PackMetadata
- type PackRuntime
- type PastDue
- type PayloadDataTypes
- type Permission
- type PermissionInput
- type Pipeline
- type PipelineAverageDurationStats
- type PipelineAverageDurationStatsData
- type PipelineAverageDurationStatsInfo
- type PipelineCommittersStats
- type PipelineCommittersStatsData
- type PipelineCommittersStatsInfo
- type PipelineEdge
- type PipelineExecutionsStats
- type PipelineExecutionsStatsData
- type PipelineExecutionsStatsInfo
- type PipelineOrderedStatistics
- type PipelineReadModelEventPayload
- type PipelineRef
- type PipelineSlice
- type PipelineSpec
- type PipelineStatistics
- type PipelineStatisticsSortByMeasure
- type PipelineStepStatistics
- type PipelineSuccessRateStats
- type PipelineSuccessRateStatsData
- type PipelineSuccessRateStatsInfo
- type PipelinesFilterArgs
- type Plan
- type PlanCollaborators
- type PlanEnvironment
- type PlanWorkflows
- type PodSpec
- type PodTemplateSpec
- type PredefinedFilter
- type PredefinedFilterArgs
- type Project
- type ProjectBasedEntity
- type ProjectEdge
- type ProjectReadModelEventPayload
- type ProjectSlice
- type PullRequestCommitter
- type PullRequestValue
- type ReadModelEventPayload
- type ReadModelEventResponse
- type Registry
- type RegistryInput
- type RegistryOutput
- type Release
- type ReleaseRolloutState
- type ReleaseServiceState
- type RenewAccessTokenResponse
- type ReportRuntimeErrorsArgs
- type ResourceAction
- type ResourceEvent
- type ResourceManifest
- type ResourcesRequests
- type RevisionInfo
- type Rollout
- type RolloutAnalysisStatus
- type RolloutEdge
- type RolloutFilterArgs
- type RolloutImageDetails
- type RolloutPhases
- type RolloutSlice
- type RolloutSpec
- type RolloutStatus
- type RolloutStrategy
- type RolloutStrategyNames
- type RolloutTransition
- type Runtime
- type RuntimeCreationResponse
- type RuntimeEdge
- type RuntimeInstallationArgs
- type RuntimeNotification
- type RuntimeReadModelEventPayload
- type RuntimeSlice
- type RuntimesStatistics
- type SSOArgs
- type SamlSso
- type SecretFieldPaths
- type SecurityInfo
- type SecurityInfoArgs
- type Sensor
- type SensorEdge
- type SensorReadModelEventPayload
- type SensorSlice
- type ServiceEntity
- type ServiceEntityEdge
- type ServiceEntitySlice
- type ServiceItem
- type ServicePort
- type ServiceReadModelEventPayload
- type ServiceSortArg
- type ServiceSortingField
- type ServiceSpec
- type ServiceTransition
- type ServiceType
- type ServicesFilterArgs
- type SessionAffinityConfig
- type SetAccountAllowedDomainsArgs
- type SetGitSourcePermissionArgs
- type Slice
- type SliceInfo
- type SlicePaginationArgs
- type SortingOrder
- type SpecificTriggerConditions
- type SpecificTriggerConditionsArgs
- type Sso
- type StatisticsFilterTimeRange
- type StatisticsGranularity
- type StatsTimePeriodData
- type StatusHistoryItem
- type StringPair
- type Stripe
- type SupportedEventMapping
- type SwitchAccountResponse
- type SyncError
- type SyncErrorCodes
- type SyncStatus
- type SyncSuccess
- type ToState
- 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 UIDReferenceInput
- type UnknownEventPayloadData
- type UpdateGitSourcePermissionsArgs
- type User
- 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 WorkflowNodePhases
- type WorkflowParameter
- type WorkflowParameterArgs
- type WorkflowPhases
- type WorkflowReadModelEventPayload
- type WorkflowRepository
- type WorkflowResourceTemplate
- type WorkflowResourcesDuration
- type WorkflowScriptTemplate
- type WorkflowSlice
- type WorkflowSpec
- type WorkflowSpecNameOnlyTemplate
- type WorkflowSpecTemplate
- type WorkflowStatisticsFilterArgs
- type WorkflowStatus
- type WorkflowStep
- type WorkflowStepsTemplate
- type WorkflowSuspendedTemplate
- type WorkflowTemplate
- type WorkflowTemplateEdge
- type WorkflowTemplateReadModelEventPayload
- type WorkflowTemplateRef
- type WorkflowTemplateSlice
- type WorkflowTemplatesFilterArgs
- type WorkflowsFilterArgs
Constants ¶
This section is empty.
Variables ¶
var AllApplicationTreeSortingField = []ApplicationTreeSortingField{ ApplicationTreeSortingFieldHealthStatus, ApplicationTreeSortingFieldKind, ApplicationTreeSortingFieldLastUpdated, ApplicationTreeSortingFieldName, ApplicationTreeSortingFieldRuntime, ApplicationTreeSortingFieldSyncStatus, }
var AllClusterConnectionStatus = []ClusterConnectionStatus{ ClusterConnectionStatusFailed, ClusterConnectionStatusSuccessful, ClusterConnectionStatusUnknown, }
var AllClusterConnectionStatusInput = []ClusterConnectionStatusInput{ ClusterConnectionStatusInputFailed, ClusterConnectionStatusInputSuccessful, ClusterConnectionStatusInputUnknown, }
var AllDeploymentStatisticsStatus = []DeploymentStatisticsStatus{ DeploymentStatisticsStatusAll, DeploymentStatisticsStatusDegraded, DeploymentStatisticsStatusDegradedAndRollback, DeploymentStatisticsStatusHealthy, DeploymentStatisticsStatusRollback, }
var AllErrorLevels = []ErrorLevels{ ErrorLevelsError, ErrorLevelsWarning, }
var AllGitAuthProvider = []GitAuthProvider{ GitAuthProviderGithub, }
var AllGitPushPayloadDataTypes = []GitPushPayloadDataTypes{ GitPushPayloadDataTypesBranch, GitPushPayloadDataTypesTag, }
var AllGitopsReleasesSortingField = []GitopsReleasesSortingField{ GitopsReleasesSortingFieldHealthStatus, GitopsReleasesSortingFieldHistoryID, GitopsReleasesSortingFieldSyncStatus, }
var AllHealthErrorCodes = []HealthErrorCodes{ HealthErrorCodesBrokenReference, HealthErrorCodesInactiveRuntime, HealthErrorCodesInsufficientResources, HealthErrorCodesRuntimeInstallationError, HealthErrorCodesTransitiveError, HealthErrorCodesUnknown, }
var AllHealthStatus = []HealthStatus{ HealthStatusDegraded, HealthStatusHealthy, HealthStatusMissing, HealthStatusProgressing, HealthStatusSuspended, HealthStatusUnknown, }
var AllImagePullPolicy = []ImagePullPolicy{ ImagePullPolicyAlways, ImagePullPolicyIfNotPresent, ImagePullPolicyNever, }
var AllImageRegistryType = []ImageRegistryType{ ImageRegistryTypeDockerHub, ImageRegistryTypeEcr, ImageRegistryTypeGcr, ImageRegistryTypeOther, ImageRegistryTypeQuay, }
var AllImageRepoTagSortingField = []ImageRepoTagSortingField{ ImageRepoTagSortingFieldTag, }
var AllImageRepositorySortingField = []ImageRepositorySortingField{ ImageRepositorySortingFieldLastUpdate, ImageRepositorySortingFieldName, }
var AllInstallationStatus = []InstallationStatus{ InstallationStatusCompleted, InstallationStatusFailed, InstallationStatusInProgress, }
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 AllPipelineStatisticsSortByMeasure = []PipelineStatisticsSortByMeasure{ PipelineStatisticsSortByMeasureAverageDuration, PipelineStatisticsSortByMeasureExecutions, }
var AllResourceAction = []ResourceAction{ ResourceActionAdded, ResourceActionDeleted, ResourceActionUpdated, }
var AllRolloutPhases = []RolloutPhases{ RolloutPhasesDegraded, RolloutPhasesHealthy, RolloutPhasesPaused, RolloutPhasesProgressing, RolloutPhasesUnknown, }
var AllRolloutStrategyNames = []RolloutStrategyNames{ RolloutStrategyNamesBlueGreen, RolloutStrategyNamesCanary, }
var AllServiceSortingField = []ServiceSortingField{ ServiceSortingFieldLastUpdate, ServiceSortingFieldServiceName, }
var AllServiceType = []ServiceType{ ServiceTypeClusterIP, ServiceTypeExternalName, ServiceTypeLoadBalancer, ServiceTypeNodePort, }
var AllSortingOrder = []SortingOrder{ SortingOrderAsc, SortingOrderDesc, }
var AllStatisticsFilterTimeRange = []StatisticsFilterTimeRange{ StatisticsFilterTimeRangeLast24Months, StatisticsFilterTimeRangeLast30Days, StatisticsFilterTimeRangeLast52Weeks, StatisticsFilterTimeRangeLast7Days, StatisticsFilterTimeRangeLast90Days, }
var AllStatisticsGranularity = []StatisticsGranularity{ StatisticsGranularityDay, StatisticsGranularityMonth, StatisticsGranularityWeek, }
var AllSyncErrorCodes = []SyncErrorCodes{ SyncErrorCodesInvalidSpec, SyncErrorCodesUnknown, }
var AllSyncStatus = []SyncStatus{ SyncStatusOutOfSync, SyncStatusSynced, SyncStatusSyncing, SyncStatusUnknown, }
var AllSyncSuccess = []SyncSuccess{ SyncSuccessFailure, SyncSuccessSuccess, }
var AllWorkflowNodePhases = []WorkflowNodePhases{ WorkflowNodePhasesError, WorkflowNodePhasesFailed, WorkflowNodePhasesOmitted, WorkflowNodePhasesPending, WorkflowNodePhasesRunning, WorkflowNodePhasesSkipped, WorkflowNodePhasesSucceeded, }
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 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"` }
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 ¶ added in v0.34.4
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"` // Application Dasboard CSDP ApplicationDashboard *bool `json:"applicationDashboard"` // Show CSDP runtime resources in applications list ShowCSDPRuntimeResources *bool `json:"showCSDPRuntimeResources"` // Shows button that links to classic codefresh ShowClassicCodefreshButton *bool `json:"showClassicCodefreshButton"` // Add ability to create new application CsdpApplicationCreation *bool `json:"csdpApplicationCreation"` // Support ability to use oauth2 for automatic registration Oauth2AutomaticRegistration *bool `json:"oauth2AutomaticRegistration"` // Support ability to add integrations CsdpIntegrations *bool `json:"csdpIntegrations"` }
Account Features flags
type AddUserToAccountArgs ¶ added in v0.35.3
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 Annotation ¶ added in v0.37.4
type Annotation struct { // Annotation type Type *string `json:"type"` // Annotation value Value *string `json:"value"` // Annotation accountId AccountID *string `json:"accountId"` // 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"` // Event-source issueValue IssueValue *IssueValue `json:"issueValue"` // Event-source pullRequestValue PullRequestValue *PullRequestValue `json:"pullRequestValue"` }
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 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"` }
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 AppProjectReadModelEventPayload ¶ added in v0.34.6
type AppProjectReadModelEventPayload struct { // Type of DB entity EntityType string `json:"entityType"` // Type of DB event upsert/delete EventType string `json:"eventType"` // Reference to entity Item *EntityReference `json:"item"` }
AppProjectReadModelEventPayload type
func (AppProjectReadModelEventPayload) IsReadModelEventPayload ¶ added in v0.34.6
func (AppProjectReadModelEventPayload) IsReadModelEventPayload()
type Application ¶ added in v0.30.3
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"` // 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"` }
Application entity
func (Application) IsApplicationTreeItem ¶ added in v0.37.7
func (Application) IsApplicationTreeItem()
func (Application) IsBaseEntity ¶ added in v0.30.3
func (Application) IsBaseEntity()
func (Application) IsEntity ¶ added in v0.30.3
func (Application) IsEntity()
func (Application) IsFavorable ¶ added in v0.37.0
func (Application) IsFavorable()
func (Application) IsGitopsEntity ¶ added in v0.30.3
func (Application) IsGitopsEntity()
func (Application) IsProjectBasedEntity ¶ added in v0.30.3
func (Application) IsProjectBasedEntity()
func (*Application) UnmarshalJSON ¶ added in v0.37.8
func (a *Application) UnmarshalJSON(data []byte) error
type ApplicationEdge ¶ added in v0.30.3
type ApplicationEdge struct { // Node contains the actual application data Node *Application `json:"node"` // Cursor Cursor string `json:"cursor"` }
Application Edge
func (ApplicationEdge) IsEdge ¶ added in v0.30.3
func (ApplicationEdge) IsEdge()
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"` // 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"` }
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 ApplicationFormInputData ¶ added in v0.37.9
type ApplicationFormInputData struct { // Metadata Metadata *ApplicationFormInputMetadata `json:"metadata"` // Destination info Destination *ApplicationFormInputDestination `json:"destination"` // Application source Source *ApplicationFormInputSource `json:"source"` // Project of application Project string `json:"project"` // Sync policy settings SyncPolicy *ApplicationFormInputSyncPolicy `json:"syncPolicy"` }
Application form input data object
type ApplicationFormInputDestination ¶ added in v0.37.9
type ApplicationFormInputDestination struct { // Cluster name Name *string `json:"name"` // Destination namespace Namespace *string `json:"namespace"` // Cluster address Server *string `json:"server"` }
Application form Destination
type ApplicationFormInputMetadata ¶ added in v0.37.9
type ApplicationFormInputMetadata struct { // Application name Name string `json:"name"` // Application namespace Namespace *string `json:"namespace"` }
Application form metadata
type ApplicationFormInputSource ¶ added in v0.37.9
type ApplicationFormInputSource 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 *ApplicationFormInputSourceDirectory `json:"directory"` // HEML Helm *ApplicationFormInputSourceHelm `json:"helm"` // Kustomize Kustomize *ApplicationFormInputSourceKustomize `json:"kustomize"` // Ksonnet Ksonnet *ApplicationFormInputSourceKsonnet `json:"ksonnet"` // Plugin Plugin *ApplicationFormInputSourcePlugin `json:"plugin"` }
Application form Source
type ApplicationFormInputSourceDirectory ¶ added in v0.37.9
type ApplicationFormInputSourceDirectory struct { // Directory recurse Recurse *bool `json:"recurse"` // Directory jsonnet options Jsonnet *ApplicationFormInputSourceDirectoryJsonnet `json:"jsonnet"` }
Application form Source Directory
type ApplicationFormInputSourceDirectoryJsonnet ¶ added in v0.37.9
type ApplicationFormInputSourceDirectoryJsonnet struct { // Top level vars Tlas []*NameValueCodeInput `json:"tlas"` // External vars ExtVars []*NameValueCodeInput `json:"extVars"` }
Application form Source Directory Jsonnet
type ApplicationFormInputSourceHelm ¶ added in v0.37.9
type ApplicationFormInputSourceHelm struct { // Values Values *string `json:"values"` // Value files ValueFiles []*string `json:"valueFiles"` // Parameters Parameters []*NameValueInput `json:"parameters"` }
Application form Source Helm
type ApplicationFormInputSourceKsonnet ¶ added in v0.37.9
type ApplicationFormInputSourceKsonnet struct { // Environment Environment string `json:"environment"` }
Application form Source Ksonnet
type ApplicationFormInputSourceKustomize ¶ added in v0.37.9
type ApplicationFormInputSourceKustomize struct { // Name prefix NamePrefix *string `json:"namePrefix"` // Name suffix NameSuffix *string `json:"nameSuffix"` // Images Images []*string `json:"images"` }
Application form Source Kustomize
type ApplicationFormInputSourcePlugin ¶ added in v0.37.9
type ApplicationFormInputSourcePlugin struct { // Plagin name Name string `json:"name"` // Array of env variables Env []*NameValueInput `json:"env"` }
Application form Source Plugin
type ApplicationFormInputSyncAutomatedPolicy ¶ added in v0.37.9
type ApplicationFormInputSyncAutomatedPolicy struct { // Prune policy flag Prune bool `json:"prune"` // Self heal policy flag SelfHeal bool `json:"selfHeal"` }
Application form Sync Automated Policy
type ApplicationFormInputSyncPolicy ¶ added in v0.37.9
type ApplicationFormInputSyncPolicy struct { // Automated sync policy options Automated *ApplicationFormInputSyncAutomatedPolicy `json:"automated"` // Sync options SyncOptions []*string `json:"syncOptions"` // Retry options Retry *ApplicationFormInputSyncRetryOptions `json:"retry"` }
Application form Sync Policy
type ApplicationFormInputSyncRetryBackoffOptions ¶ added in v0.37.9
type ApplicationFormInputSyncRetryBackoffOptions struct { // Duration Duration string `json:"duration"` // Max duration MaxDuration string `json:"maxDuration"` // Factor Factor int `json:"factor"` }
Application form Sync Policy retry options
type ApplicationFormInputSyncRetryOptions ¶ added in v0.37.9
type ApplicationFormInputSyncRetryOptions struct { // Retries amount Limit int `json:"limit"` // Backoff options Backoff *ApplicationFormInputSyncRetryBackoffOptions `json:"backoff"` }
Application form Sync Policy retry options
type ApplicationFormMetadata ¶ added in v0.37.9
type ApplicationFormMetadata struct { // Application name Name string `json:"name"` // Application namespace Namespace *string `json:"namespace"` }
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"` }
Application form Source
type ApplicationFormSourceDirectory ¶ added in v0.37.9
type ApplicationFormSourceDirectory struct { // Directory recurse Recurse *bool `json:"recurse"` // 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"` }
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"` }
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 ApplicationJSON ¶ added in v0.37.8
type ApplicationJSON struct { // Object metadata Metadata *ObjectMeta `json:"metadata"` // Errors Errors []SyncError `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"` // 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"` }
Application entity
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 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 ApplicationReadModelEventPayload ¶ added in v0.34.6
type ApplicationReadModelEventPayload struct { // Type of DB entity EntityType string `json:"entityType"` // Type of DB event upsert/delete EventType string `json:"eventType"` // Reference to entity Item *EntityReference `json:"item"` }
ApplicationReadModelEventPayload type
func (ApplicationReadModelEventPayload) IsReadModelEventPayload ¶ added in v0.34.6
func (ApplicationReadModelEventPayload) IsReadModelEventPayload()
type ApplicationRef ¶ added in v0.35.4
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 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"` // 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 ¶ added in v0.30.3
type ApplicationSlice struct { // Application edges Edges []*ApplicationEdge `json:"edges"` // Slice information PageInfo *SliceInfo `json:"pageInfo"` }
Application Slice
func (ApplicationSlice) IsSlice ¶ added in v0.30.3
func (ApplicationSlice) IsSlice()
type ApplicationTreeFilterArgs ¶ added in v0.37.7
type ApplicationTreeFilterArgs struct { // Filter applications from a specific project Project *string `json:"project"` // Filter applications from a specific runtime Runtime *string `json:"runtime"` // Filter applications from runtime list Runtimes []*string `json:"runtimes"` // Filter applications by list of names Applications []*string `json:"applications"` // Filter applications by name fragment ApplicationName *string `json:"applicationName"` // Filter applications by status Statuses []*SyncStatus `json:"statuses"` // Filter applications by health status HealthStatuses []*HealthStatus `json:"healthStatuses"` // Filter applications by namespace list Namespaces []*string `json:"namespaces"` // Filter applications by namespace Namespace *string `json:"namespace"` // Filter applications by kind Kinds []*string `json:"kinds"` // Filter applications by cluster urls list ClusterUrls []*string `json:"clusterUrls"` // Filter applications by cluster url ClusterURL *string `json:"clusterUrl"` // Filter applications by favorite using userId UserID *string `json:"userId"` // Filter applications by favorite Favorite *bool `json:"favorite"` // Filter applications by labels Labels []*string `json:"labels"` }
Application tree filter arguments
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 ApplicationTreeSortArg ¶ added in v0.37.7
type ApplicationTreeSortArg struct { // Field for sorting Field ApplicationTreeSortingField `json:"field"` // Order Order SortingOrder `json:"order"` }
Application tree sorting arguments
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 ApplicationsFilterArgs ¶ added in v0.36.1
type ApplicationsFilterArgs struct { // Filter applications from a specific project Project *string `json:"project"` // Filter applications from a specific runtime Runtime *string `json:"runtime"` // Filter applications from runtime list Runtimes []*string `json:"runtimes"` // Filter applications by list of names Applications []*string `json:"applications"` // Filter applications by name fragment ApplicationName *string `json:"applicationName"` // Filter applications by status Statuses []*SyncStatus `json:"statuses"` // Filter applications by health status HealthStatuses []*HealthStatus `json:"healthStatuses"` // Filter applications by namespace list Namespaces []*string `json:"namespaces"` // Filter applications by namespace Namespace *string `json:"namespace"` // Filter applications by kind Kinds []*string `json:"kinds"` // Filter applications by cluster urls list ClusterUrls []*string `json:"clusterUrls"` // Filter applications by cluster url ClusterURL *string `json:"clusterUrl"` // Filter applications by favorite using userId UserID *string `json:"userId"` // Filter applications by favorite Favorite *bool `json:"favorite"` // Filter applications by labels Labels []*string `json:"labels"` }
Application filter arguments
type AppsRelations ¶ added in v0.35.4
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 ArgoCDApplicationStatus ¶ added in v0.31.2
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"` }
Argo CD Application status
type ArgoCDNotification ¶ added in v0.37.7
type ArgoCDNotification interface {
IsArgoCDNotification()
}
ArgoCD Notification
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 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 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 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 CacheInfoInput ¶ added in v0.37.9
type CacheInfoInput struct { // Number of observed Kubernetes resources ResourcesCount *int `json:"resourcesCount"` // Number of observed Kubernetes API count ApisCount *int `json:"apisCount"` // Last cache sync time LastCacheSyncTime *string `json:"lastCacheSyncTime"` }
Cluster cache info input
type CalendarEventPayloadData ¶ added in v0.30.3
type CalendarEventPayloadData struct { // Event payload type Type PayloadDataTypes `json:"type"` // 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 ¶ added in v0.30.3
func (CalendarEventPayloadData) IsEventPayloadData()
type CalendarTriggerConditions ¶ added in v0.37.9
type CalendarTriggerConditions struct { // EventSource name (for backvard converting from trigger conditions) EventSource *string `json:"eventSource"` // EventSource event name (for backvard converting from trigger conditions) EventSourceEvent *string `json:"eventSourceEvent"` // Dependency name (for backvard 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 backvard converting from trigger conditions) EventSource *string `json:"eventSource"` // EventSource event name (for backvard converting from trigger conditions) EventSourceEvent *string `json:"eventSourceEvent"` // Dependency name (for backvard 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 ClientIP ¶ added in v0.37.0
type ClientIP struct { // TimeoutSeconds TimeoutSeconds *int `json:"timeoutSeconds"` }
ClientIP
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 ClusterConnectionStatusInput ¶ added in v0.37.9
type ClusterConnectionStatusInput string
Cluster connection status input
const ( // Indicates that a connection attempt has failed ClusterConnectionStatusInputFailed ClusterConnectionStatusInput = "Failed" // Indicates that a connection has been successfully established ClusterConnectionStatusInputSuccessful ClusterConnectionStatusInput = "Successful" // Indicates that the connection status could not be reliably determined ClusterConnectionStatusInputUnknown ClusterConnectionStatusInput = "Unknown" )
func (ClusterConnectionStatusInput) IsValid ¶ added in v0.37.9
func (e ClusterConnectionStatusInput) IsValid() bool
func (ClusterConnectionStatusInput) MarshalGQL ¶ added in v0.37.9
func (e ClusterConnectionStatusInput) MarshalGQL(w io.Writer)
func (ClusterConnectionStatusInput) String ¶ added in v0.37.9
func (e ClusterConnectionStatusInput) String() string
func (*ClusterConnectionStatusInput) UnmarshalGQL ¶ added in v0.37.9
func (e *ClusterConnectionStatusInput) 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 ClusterInfoInput ¶ added in v0.37.9
type ClusterInfoInput struct { // Connection state ConnectionState *ConnectionStateInput `json:"connectionState"` // The Kubernetes version of the cluster ServerVersion *string `json:"serverVersion"` // Cache info CacheInfo *CacheInfoInput `json:"cacheInfo"` // 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"` }
Cluster info input
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 ClusterUpsertArgs ¶ added in v0.37.9
type ClusterUpsertArgs struct { // Cluster name Name string `json:"name"` // The runtime of which the cluster belongs Runtime string `json:"runtime"` // Cluster server URL Server string `json:"server"` // Cluster info Info *ClusterInfoInput `json:"info"` }
Cluster upsert args
type ClustersStatistics ¶ added in v0.38.1
type ClustersStatistics struct { // Total clusters number Total int `json:"total"` // Number of unhealthy runtimes Unhealthy int `json:"unhealthy"` }
Clusters statistics
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"` }
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 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 ¶ added in v0.31.2
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 ¶ added in v0.30.3
func (Component) IsK8sLogicEntity()
func (Component) IsProjectBasedEntity ¶
func (Component) IsProjectBasedEntity()
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 ComponentReadModelEventPayload ¶ added in v0.34.6
type ComponentReadModelEventPayload struct { // Type of DB entity EntityType string `json:"entityType"` // Type of DB event upsert/delete EventType string `json:"eventType"` // Reference to entity Item *EntityReference `json:"item"` }
ComponentReadModelEventPayload type
func (ComponentReadModelEventPayload) IsReadModelEventPayload ¶ added in v0.34.6
func (ComponentReadModelEventPayload) IsReadModelEventPayload()
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 ¶ added in v0.35.4
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 ¶ added in v0.35.4
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 ¶ added in v0.35.4
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 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 ConnectionStateInput ¶ added in v0.37.9
type ConnectionStateInput struct { // Current status indicator for the connection Status ClusterConnectionStatusInput `json:"status"` // Human readable information about the connection status Message *string `json:"message"` // Last attempt for connection AttemptedAt *string `json:"attemptedAt"` }
Cluster connection state input
type DataFilter ¶ added in v0.37.7
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 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 DeploymentReadModelEventPayload ¶ added in v0.37.4
type DeploymentReadModelEventPayload struct { // Type of DB entity EntityType string `json:"entityType"` // Type of DB event upsert/delete EventType string `json:"eventType"` // Runtime Runtime *string `json:"runtime"` // Reference to entity Item *EntityReference `json:"item"` }
DeploymentReadModelEventPayload type
func (DeploymentReadModelEventPayload) IsReadModelEventPayload ¶ added in v0.37.4
func (DeploymentReadModelEventPayload) IsReadModelEventPayload()
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 EditUserToAccountArgs ¶ added in v0.35.4
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 EntityReference ¶ added in v0.34.6
type EntityReference 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"` }
Db Entity Reference
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 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 ErrorContext ¶ added in v0.32.3
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 ¶ added in v0.32.3
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 ¶ added in v0.32.3
func (e ErrorLevels) IsValid() bool
func (ErrorLevels) MarshalGQL ¶ added in v0.32.3
func (e ErrorLevels) MarshalGQL(w io.Writer)
func (ErrorLevels) String ¶ added in v0.32.3
func (e ErrorLevels) String() string
func (*ErrorLevels) UnmarshalGQL ¶ added in v0.32.3
func (e *ErrorLevels) UnmarshalGQL(v interface{}) error
type EventPayload ¶ added in v0.30.3
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 ¶ added in v0.30.3
func (EventPayload) IsEntity()
type EventPayloadData ¶ added in v0.30.3
type EventPayloadData interface {
IsEventPayloadData()
}
Event payload data types
type EventPayloadEdge ¶ added in v0.30.3
type EventPayloadEdge struct { // Node contains the actual event payload data Node *EventPayload `json:"node"` // Cursor Cursor string `json:"cursor"` }
EventPayload Edge
func (EventPayloadEdge) IsEdge ¶ added in v0.30.3
func (EventPayloadEdge) IsEdge()
type EventPayloadReadModelEventPayload ¶ added in v0.34.6
type EventPayloadReadModelEventPayload struct { // Type of DB entity EntityType string `json:"entityType"` // Type of DB event upsert/delete EventType string `json:"eventType"` // Reference to entity Item *EntityReference `json:"item"` }
EventPayloadReadModelEventPayload type
func (EventPayloadReadModelEventPayload) IsReadModelEventPayload ¶ added in v0.34.6
func (EventPayloadReadModelEventPayload) IsReadModelEventPayload()
type EventPayloadSlice ¶ added in v0.30.3
type EventPayloadSlice struct { // EventPayload edges Edges []*EventPayloadEdge `json:"edges"` // Slice information PageInfo *SliceInfo `json:"pageInfo"` }
EventPayload Slice
func (EventPayloadSlice) IsSlice ¶ added in v0.30.3
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 EventSourceReadModelEventPayload ¶ added in v0.34.6
type EventSourceReadModelEventPayload struct { // Type of DB entity EntityType string `json:"entityType"` // Type of DB event upsert/delete EventType string `json:"eventType"` // Reference to entity Item *EntityReference `json:"item"` }
EventSourceReadModelEventPayload type
func (EventSourceReadModelEventPayload) IsReadModelEventPayload ¶ added in v0.34.6
func (EventSourceReadModelEventPayload) IsReadModelEventPayload()
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.7
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 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"` }
Args to set favorite for entity
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 GenericEntity ¶ added in v0.34.11
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 ¶ added in v0.34.11
func (GenericEntity) IsBaseEntity()
func (GenericEntity) IsEntity ¶ added in v0.34.11
func (GenericEntity) IsEntity()
func (GenericEntity) IsGitopsEntity ¶ added in v0.34.11
func (GenericEntity) IsGitopsEntity()
func (GenericEntity) IsProjectBasedEntity ¶ added in v0.34.11
func (GenericEntity) IsProjectBasedEntity()
type GenericEntityEdge ¶ added in v0.34.11
type GenericEntityEdge struct { // Node contains the actual app-project data Node *GenericEntity `json:"node"` // Cursor Cursor string `json:"cursor"` }
GenericEntity Edge
func (GenericEntityEdge) IsEdge ¶ added in v0.34.11
func (GenericEntityEdge) IsEdge()
type GenericEntitySlice ¶ added in v0.34.11
type GenericEntitySlice struct { // GenericEntity edges Edges []*GenericEntityEdge `json:"edges"` // Slice information PageInfo *SliceInfo `json:"pageInfo"` }
GenericEntity Slice
func (GenericEntitySlice) IsSlice ¶ added in v0.34.11
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 GitAuthConfigFormInputData ¶ added in v0.38.1
type GitAuthConfigFormInputData struct { // Metadata Metadata *GitAuthConfigFormInputMetadata `json:"metadata"` // Spec Spec *GitAuthConfigFormInputSpec `json:"spec"` }
GitAuthConfig form input data object
type GitAuthConfigFormInputMetadata ¶ added in v0.38.1
type GitAuthConfigFormInputMetadata struct { // Application namespace Namespace *string `json:"namespace"` }
GitAuthConfig form metadata
type GitAuthConfigFormInputSpec ¶ added in v0.38.1
type GitAuthConfigFormInputSpec struct { // Git Provider Provider GitAuthProvider `json:"provider"` // Secret name SecretName string `json:"secretName"` // Secret namespace SecretNamespace *string `json:"secretNamespace"` // Secret filed paths Path *SecretFieldPaths `json:"path"` }
GitAuthConfig form spec
type GitAuthProvider ¶ added in v0.38.1
type GitAuthProvider string
GitAuthProvider names
const (
GitAuthProviderGithub GitAuthProvider = "github"
)
func (GitAuthProvider) IsValid ¶ added in v0.38.1
func (e GitAuthProvider) IsValid() bool
func (GitAuthProvider) MarshalGQL ¶ added in v0.38.1
func (e GitAuthProvider) MarshalGQL(w io.Writer)
func (GitAuthProvider) String ¶ added in v0.38.1
func (e GitAuthProvider) String() string
func (*GitAuthProvider) UnmarshalGQL ¶ added in v0.38.1
func (e *GitAuthProvider) UnmarshalGQL(v interface{}) error
type GitOpsEdge ¶ added in v0.34.6
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 GitOpsSlice ¶ added in v0.34.6
type GitOpsSlice struct { // GitOps edges Edges []*GitOpsEdge `json:"edges"` // Slice information PageInfo *SliceInfo `json:"pageInfo"` }
GitOps Slice
type GitPRComment ¶ added in v0.31.2
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 ¶ added in v0.31.2
type GitPREventPayloadData struct { // Event payload type Type PayloadDataTypes `json:"type"` // 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 ¶ added in v0.31.2
func (GitPREventPayloadData) IsCommonGitEventPayloadData()
func (GitPREventPayloadData) IsEventPayloadData ¶ added in v0.31.2
func (GitPREventPayloadData) IsEventPayloadData()
type GitPr ¶ added in v0.31.2
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 ¶ added in v0.32.5
type GitPrFork struct { // Repository Repository *WorkflowRepository `json:"repository"` }
"PR fork data
type GitPushCommit ¶ added in v0.32.5
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 ¶ added in v0.32.5
func (GitPushCommit) IsGitPush()
type GitPushCommitRevision ¶ added in v0.32.5
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 ¶ added in v0.32.5
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 ¶ added in v0.32.5
type GitPushEventPayloadData struct { // Event payload type Type PayloadDataTypes `json:"type"` // 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 ¶ added in v0.32.5
func (GitPushEventPayloadData) IsCommonGitEventPayloadData()
func (GitPushEventPayloadData) IsEventPayloadData ¶ added in v0.32.5
func (GitPushEventPayloadData) IsEventPayloadData()
type GitPushPayloadDataTypes ¶ added in v0.32.5
type GitPushPayloadDataTypes string
Types of push event
const ( GitPushPayloadDataTypesBranch GitPushPayloadDataTypes = "branch" GitPushPayloadDataTypesTag GitPushPayloadDataTypes = "tag" )
func (GitPushPayloadDataTypes) IsValid ¶ added in v0.32.5
func (e GitPushPayloadDataTypes) IsValid() bool
func (GitPushPayloadDataTypes) MarshalGQL ¶ added in v0.32.5
func (e GitPushPayloadDataTypes) MarshalGQL(w io.Writer)
func (GitPushPayloadDataTypes) String ¶ added in v0.32.5
func (e GitPushPayloadDataTypes) String() string
func (*GitPushPayloadDataTypes) UnmarshalGQL ¶ added in v0.32.5
func (e *GitPushPayloadDataTypes) UnmarshalGQL(v interface{}) error
type GitPushTag ¶ added in v0.32.5
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 ¶ added in v0.32.5
func (GitPushTag) IsGitPush()
type GitPushTagRevision ¶ added in v0.32.5
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 ¶ added in v0.31.2
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 ¶ added in v0.31.2
type GitReleaseEventPayloadData struct { // Event payload type Type PayloadDataTypes `json:"type"` // 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 ¶ added in v0.31.2
func (GitReleaseEventPayloadData) IsCommonGitEventPayloadData()
func (GitReleaseEventPayloadData) IsEventPayloadData ¶ added in v0.31.2
func (GitReleaseEventPayloadData) IsEventPayloadData()
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"` // 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 ¶ added in v0.30.3
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.36.1
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 GitSourceReadModelEventPayload ¶ added in v0.34.6
type GitSourceReadModelEventPayload struct { // Type of DB entity EntityType string `json:"entityType"` // Type of DB event upsert/delete EventType string `json:"eventType"` // Reference to entity Item *EntityReference `json:"item"` }
GitSourceReadModelEventPayload type
func (GitSourceReadModelEventPayload) IsReadModelEventPayload ¶ added in v0.34.6
func (GitSourceReadModelEventPayload) IsReadModelEventPayload()
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 ¶ added in v0.32.3
type GitUnknownEventPayloadData struct { // Event payload type Type PayloadDataTypes `json:"type"` // 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 ¶ added in v0.32.3
func (GitUnknownEventPayloadData) IsCommonGitEventPayloadData()
func (GitUnknownEventPayloadData) IsEventPayloadData ¶ added in v0.32.3
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 { // Specific github event (push, push.heads, pull_request etc.) EventType string `json:"eventType"` // EventSource name (for backvard converting from trigger conditions) EventSource *string `json:"eventSource"` // EventSource event name (for backvard converting from trigger conditions) EventSourceEvent *string `json:"eventSourceEvent"` // Dependency name (for backvard 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"` }
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 backvard converting from trigger conditions) EventSource *string `json:"eventSource"` // EventSource event name (for backvard converting from trigger conditions) EventSourceEvent *string `json:"eventSourceEvent"` // Dependency name (for backvard 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"` }
Github 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"` // 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"` // Current release flag Current *bool `json:"current"` }
Gitops Release Entity
type GitopsReleaseApplicationArgs ¶ added in v0.37.7
type GitopsReleaseApplicationArgs 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"` }
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"` }
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"` }
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 GitopsReleaseSortArg ¶ added in v0.37.8
type GitopsReleaseSortArg struct { // Field for sorting Field GitopsReleasesSortingField `json:"field"` // Order Order SortingOrder `json:"order"` }
Gitops releases sorting arguments
type GitopsReleasesSortingField ¶ added in v0.37.8
type GitopsReleasesSortingField string
Gitops Releases Sorting field
const ( // 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 ¶ added in v0.32.3
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 ¶ added in v0.32.3
func (HealthError) IsError()
type HealthErrorCodes ¶ added in v0.32.3
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 ¶ added in v0.32.3
func (e HealthErrorCodes) IsValid() bool
func (HealthErrorCodes) MarshalGQL ¶ added in v0.32.3
func (e HealthErrorCodes) MarshalGQL(w io.Writer)
func (HealthErrorCodes) String ¶ added in v0.32.3
func (e HealthErrorCodes) String() string
func (*HealthErrorCodes) UnmarshalGQL ¶ added in v0.32.3
func (e *HealthErrorCodes) UnmarshalGQL(v interface{}) error
type HealthErrorInput ¶ added in v0.35.4
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" // 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 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 HistoryArgs ¶ added in v0.35.4
type HistoryArgs struct { // History Pagination arguments Pagination []*CompositeSlicePaginationArgs `json:"pagination"` // Page Size PageSize *int `json:"pageSize"` // Sync Success - SUCCESS/FAILURE SyncSuccess *SyncSuccess `json:"syncSuccess"` // Repo Repo *string `json:"repo"` }
History arguments
type ImageApplication ¶ added in v0.37.7
type ImageApplication struct { // Application Ref metadata ApplicationRef *ObjectMeta `json:"applicationRef"` // 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"` // Related binary Binary *ImageBinary `json:"binary"` // Currently deployed CurrentlyDeployed bool `json:"currentlyDeployed"` }
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 ImageBinary ¶ added in v0.37.4
type ImageBinary struct { // 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"` // 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"` // Logs url LogsURL *string `json:"logsUrl"` // Image registry ImageRegistryDomains []*ImageRegistryType `json:"imageRegistryDomains"` }
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 ImageBinaryAuthorInput ¶ added in v0.37.7
type ImageBinaryAuthorInput struct { // Username Username *string `json:"username"` }
ImageBinaryAuthorInput
type ImageBinaryAuthorOutput ¶ added in v0.37.7
type ImageBinaryAuthorOutput struct { // Username Username *string `json:"username"` }
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 ImageBinaryInput ¶ added in v0.37.4
type ImageBinaryInput struct { // Id ID string `json:"id"` // Created Created string `json:"created"` // 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 *ImageBinaryAuthorInput `json:"author"` // Workflow name WorkflowName *string `json:"workflowName"` // Workflow url WorkflowURL *string `json:"workflowUrl"` // Logs url LogsURL *string `json:"logsUrl"` }
ImageBinaryInput
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"` // Logs url LogsURL *string `json:"logsUrl"` }
ImageBinaryInput
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 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 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 ImageRegistryInput ¶ added in v0.37.4
type ImageRegistryInput 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 []*ImageTagInput `json:"tags"` // Registry Registry *RegistryInput `json:"registry"` }
ImageRegistryInput
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"` }
ImageRegistryInput
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" // 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 ImageRepoTagFilterArgs ¶ added in v0.37.4
type ImageRepoTagFilterArgs struct { // Filter image repo tags by image name RepositoryName string `json:"repositoryName"` // Filter image repo tags by tag Tag *string `json:"tag"` // Filter image repo tags by registry type RegistryTypes []*ImageRegistryType `json:"registryTypes"` // Filter image repo tags by git branch GitBranch *string `json:"gitBranch"` // Filter image repo tags by git repositories GitRepositories []*string `json:"gitRepositories"` // Filter image repositories by deployed application names DeployedApplications []*string `json:"deployedApplications"` // Filter image repo tags by currently deployed apps flag CurrentlyDeployed *bool `json:"currentlyDeployed"` }
Image repo tags filter arguments
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 ImageRepoTagSortArg ¶ added in v0.37.4
type ImageRepoTagSortArg struct { // Field for sorting Field ImageRepoTagSortingField `json:"field"` // Order Order SortingOrder `json:"order"` }
Image repository sorting arguments
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 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 ImageRepositoryFilterArgs ¶ added in v0.37.4
type ImageRepositoryFilterArgs struct { // Filter image repositories by image repository name Name *string `json:"name"` // Filter image repositories by image repository names array Names []*string `json:"names"` // Filter image repositories by tag Tag *string `json:"tag"` // Filter image repositories by registry type RegistryTypes []*ImageRegistryType `json:"registryTypes"` // Filter image repositories by git branch GitBranch *string `json:"gitBranch"` // Filter image repositories by git repositories GitRepositories []*string `json:"gitRepositories"` // Filter image repositories by deployed application names DeployedApplications []*string `json:"deployedApplications"` // Filter image repositories by currently deployed apps flag CurrentlyDeployed *bool `json:"currentlyDeployed"` }
Image repository filter arguments
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 ImageRepositorySortArg ¶ added in v0.37.4
type ImageRepositorySortArg struct { // Field for sorting Field ImageRepositorySortingField `json:"field"` // Order Order SortingOrder `json:"order"` }
Image repository sorting arguments
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 ImageTagInput ¶ added in v0.37.4
type ImageTagInput struct { // Registry Registry *string `json:"registry"` // Tag Tag string `json:"tag"` // Created Created string `json:"created"` }
ImageTagInput
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"` }
Images Entity
type Initiator ¶ added in v0.31.2
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 InstallationStatus ¶ added in v0.34.4
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 ¶ added in v0.34.4
func (e InstallationStatus) IsValid() bool
func (InstallationStatus) MarshalGQL ¶ added in v0.34.4
func (e InstallationStatus) MarshalGQL(w io.Writer)
func (InstallationStatus) String ¶ added in v0.34.4
func (e InstallationStatus) String() string
func (*InstallationStatus) UnmarshalGQL ¶ added in v0.34.4
func (e *InstallationStatus) UnmarshalGQL(v interface{}) error
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 K8sEntityID ¶ added in v0.37.4
type K8sEntityID struct { // name Name string `json:"name"` // namespace Namespace *string `json:"namespace"` }
K8s entity id
type K8sLogicEntity ¶ added in v0.30.3
type K8sLogicEntity interface {
IsK8sLogicEntity()
}
K8s logic entity
type K8sStandardEntity ¶ added in v0.30.3
type K8sStandardEntity interface {
IsK8sStandardEntity()
}
Base entity
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 LogicEntityID ¶ added in v0.37.4
type LogicEntityID struct { // id ID string `json:"id"` }
Logic entity id
type Mapping ¶ added in v0.37.7
type Mapping struct { // Name of the variable VarName string `json:"varName"` // Description of the variable Description string `json:"description"` // Path of variable value inside of event payload Path string `json:"path"` // Golang template with .Input argument that equals to the value from path Template string `json:"template"` // 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 MetricWithTrend ¶ added in v0.36.1
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 NameReferenceInput ¶ added in v0.37.4
type NameReferenceInput 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"` }
Reference Entity by runtime/name/namespace
type NameValueCodeInput ¶ added in v0.38.1
type NameValueCodeInput struct { // Name Name string `json:"name"` // Value Value string `json:"value"` // Code Code *bool `json:"code"` }
Object with name / value / code fields
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 NameValueInput ¶ added in v0.37.9
type NameValueInput struct { // Name Name string `json:"name"` // Value Value string `json:"value"` }
Object with name and value 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 NamespacedFindManyArgs ¶ added in v0.36.1
type NamespacedFindManyArgs struct { // Runtime name Runtime string `json:"runtime"` // Names Names []string `json:"names"` // Namespace Namespace string `json:"namespace"` }
retriving many entities matching name
type NodeStatus ¶ added in v0.30.3
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.36.1
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.36.1
type NotificationEdge struct { // Node contains the actual notification data Node Notification `json:"node"` // Cursor Cursor string `json:"cursor"` }
Notification Edge
type NotificationReadModelEventPayload ¶ added in v0.36.1
type NotificationReadModelEventPayload struct { // Type of DB entity EntityType string `json:"entityType"` // Type of DB event upsert/delete EventType string `json:"eventType"` // Reference to entity Item *EntityReference `json:"item"` // Payload of event Notification Notification `json:"notification"` }
NotificationReadModelEventPayload
func (NotificationReadModelEventPayload) IsReadModelEventPayload ¶ added in v0.36.1
func (NotificationReadModelEventPayload) IsReadModelEventPayload()
type NotificationSlice ¶ added in v0.36.1
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.36.1
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.36.1
func (e NotificationType) IsValid() bool
func (NotificationType) MarshalGQL ¶ added in v0.36.1
func (e NotificationType) MarshalGQL(w io.Writer)
func (NotificationType) String ¶ added in v0.36.1
func (e NotificationType) String() string
func (*NotificationType) UnmarshalGQL ¶ added in v0.36.1
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"` }
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"` // App Id AppID *string `json:"appId"` }
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 PastDue ¶ added in v0.37.7
type PastDue struct { // IsPastDue IsPastDue *bool `json:"isPastDue"` // ShowPastDueWarning ShowPastDueWarning *bool `json:"showPastDueWarning"` }
PastDue
type PayloadDataTypes ¶ added in v0.31.2
type PayloadDataTypes string
Types of event payload
const ( PayloadDataTypesCalendar PayloadDataTypes = "calendar" PayloadDataTypesGit PayloadDataTypes = "git" PayloadDataTypesUnknown PayloadDataTypes = "unknown" )
func (PayloadDataTypes) IsValid ¶ added in v0.31.2
func (e PayloadDataTypes) IsValid() bool
func (PayloadDataTypes) MarshalGQL ¶ added in v0.31.2
func (e PayloadDataTypes) MarshalGQL(w io.Writer)
func (PayloadDataTypes) String ¶ added in v0.31.2
func (e PayloadDataTypes) String() string
func (*PayloadDataTypes) UnmarshalGQL ¶ added in v0.31.2
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 ¶ added in v0.30.3
func (Pipeline) IsK8sLogicEntity()
func (Pipeline) IsProjectBasedEntity ¶
func (Pipeline) IsProjectBasedEntity()
type PipelineAverageDurationStats ¶ added in v0.32.3
type PipelineAverageDurationStats struct { // Info Info *PipelineAverageDurationStatsInfo `json:"info"` // Data Data []*PipelineAverageDurationStatsData `json:"data"` }
Pipeline statistics for average duration
type PipelineAverageDurationStatsData ¶ added in v0.32.3
type PipelineAverageDurationStatsData struct { // Time Time *string `json:"time"` // Average duration AverageDuration *float64 `json:"averageDuration"` }
Stats data for pipline average duration
type PipelineAverageDurationStatsInfo ¶ added in v0.32.3
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 PipelineCommittersStats ¶ added in v0.34.10
type PipelineCommittersStats struct { // Info Info *PipelineCommittersStatsInfo `json:"info"` // Data Data []*PipelineCommittersStatsData `json:"data"` }
Pipeline statistics for pipline success rate
type PipelineCommittersStatsData ¶ added in v0.34.10
type PipelineCommittersStatsData struct { // Time Time *string `json:"time"` // Committers Committers *int `json:"committers"` }
Stats data for pipline committers
type PipelineCommittersStatsInfo ¶ added in v0.34.10
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 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 ¶ added in v0.32.3
type PipelineExecutionsStats struct { // Info Info *PipelineExecutionsStatsInfo `json:"info"` // Data Data []*PipelineExecutionsStatsData `json:"data"` }
Pipeline statistics for pipline executions
type PipelineExecutionsStatsData ¶ added in v0.32.3
type PipelineExecutionsStatsData struct { // Time Time *string `json:"time"` // Executions Executions *int `json:"executions"` }
Stats data for pipline executions
type PipelineExecutionsStatsInfo ¶ added in v0.32.3
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 ¶ added in v0.35.4
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 PipelineReadModelEventPayload ¶ added in v0.34.6
type PipelineReadModelEventPayload struct { // Type of DB entity EntityType string `json:"entityType"` // Type of DB event upsert/delete EventType string `json:"eventType"` // Reference to entity Item *EntityReference `json:"item"` }
PipelineReadModelEventPayload type
func (PipelineReadModelEventPayload) IsReadModelEventPayload ¶ added in v0.34.6
func (PipelineReadModelEventPayload) IsReadModelEventPayload()
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 ¶ added in v0.32.3
type PipelineSpec struct { // Trigger Trigger string `json:"trigger"` }
Pipeline Spec
type PipelineStatistics ¶ added in v0.32.3
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 PipelineStatisticsSortByMeasure ¶ added in v0.35.4
type PipelineStatisticsSortByMeasure string
Pipeline statistics sort by measure
const ( PipelineStatisticsSortByMeasureAverageDuration PipelineStatisticsSortByMeasure = "AVERAGE_DURATION" PipelineStatisticsSortByMeasureExecutions PipelineStatisticsSortByMeasure = "EXECUTIONS" )
func (PipelineStatisticsSortByMeasure) IsValid ¶ added in v0.35.4
func (e PipelineStatisticsSortByMeasure) IsValid() bool
func (PipelineStatisticsSortByMeasure) MarshalGQL ¶ added in v0.35.4
func (e PipelineStatisticsSortByMeasure) MarshalGQL(w io.Writer)
func (PipelineStatisticsSortByMeasure) String ¶ added in v0.35.4
func (e PipelineStatisticsSortByMeasure) String() string
func (*PipelineStatisticsSortByMeasure) UnmarshalGQL ¶ added in v0.35.4
func (e *PipelineStatisticsSortByMeasure) UnmarshalGQL(v interface{}) error
type PipelineStepStatistics ¶ added in v0.36.1
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 ¶ added in v0.32.3
type PipelineSuccessRateStats struct { // Info Info *PipelineSuccessRateStatsInfo `json:"info"` // Data Data []*PipelineSuccessRateStatsData `json:"data"` }
Pipeline statistics for pipline success rate
type PipelineSuccessRateStatsData ¶ added in v0.32.3
type PipelineSuccessRateStatsData struct { // Time Time *string `json:"time"` // Success rate SuccessRate *int `json:"successRate"` }
Stats data for pipline success rate
type PipelineSuccessRateStatsInfo ¶ added in v0.32.3
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 ¶ added in v0.32.3
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 by workflowTemplate WorkflowTemplate *string `json:"workflowTemplate"` }
Pipeline filter arguments
type Plan ¶ added in v0.35.2
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 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 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 ProjectReadModelEventPayload ¶ added in v0.34.6
type ProjectReadModelEventPayload struct { // Type of DB entity EntityType string `json:"entityType"` // Type of DB event upsert/delete EventType string `json:"eventType"` // Reference to entity Item *EntityReference `json:"item"` }
ProjectReadModelEventPayload type
func (ProjectReadModelEventPayload) IsReadModelEventPayload ¶ added in v0.34.6
func (ProjectReadModelEventPayload) IsReadModelEventPayload()
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 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"` }
PullRequest value
type ReadModelEventPayload ¶ added in v0.34.6
type ReadModelEventPayload interface {
IsReadModelEventPayload()
}
ReadModelEventPayload base interface
type ReadModelEventResponse ¶ added in v0.34.6
type ReadModelEventResponse struct { // Account ID AccountID string `json:"accountId"` // Time of event Time string `json:"time"` // Payload of event Payload ReadModelEventPayload `json:"payload"` }
ReadModelEventResponse
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 RegistryInput ¶ added in v0.37.4
type RegistryInput 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"` }
RegistryInput
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"` }
RegistryInput
type Release ¶ added in v0.30.3
type Release struct { // Release version Version string `json:"version"` // Has security vulnerabilities HasSecurityVulnerabilities *bool `json:"hasSecurityVulnerabilities"` }
Release Entity - represents a Codefresh runtime release
type ReleaseRolloutState ¶ added in v0.37.7
type ReleaseRolloutState struct { // Name Name string `json:"name"` // Revision CurrentRevision int `json:"currentRevision"` // Status of the process Phase RolloutPhases `json:"phase"` // Name of current strategy CurrentStrategyName RolloutStrategyNames `json:"currentStrategyName"` // Number of steps Steps *int `json:"steps"` // Current step index CurrentStepIndex *int `json:"currentStepIndex"` // Services Services []*string `json:"services"` // Status of PrePromotion analysis PrePromotionAnalysisRunStatus *RolloutAnalysisStatus `json:"prePromotionAnalysisRunStatus"` // Status of postPromotion analysis PostPromotionAnalysisRunStatus *RolloutAnalysisStatus `json:"postPromotionAnalysisRunStatus"` // Status of inline analysis CurrentStepAnalysisRunStatus *RolloutAnalysisStatus `json:"currentStepAnalysisRunStatus"` // Status of background status BackgroundAnalysisRunStatus *RolloutAnalysisStatus `json:"backgroundAnalysisRunStatus"` // Revision info RevisionInfo *RevisionInfo `json:"revisionInfo"` // Is rollout complete IsComplete bool `json:"isComplete"` }
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 ReportRuntimeErrorsArgs ¶ added in v0.35.4
type ReportRuntimeErrorsArgs struct { // Name of the Runtime Runtime string `json:"runtime"` // Errors Errors []*HealthErrorInput `json:"errors"` }
Runtime Errors Report Arguments
type ResourceAction ¶ added in v0.34.10
type ResourceAction string
Resource action
const ( // Added ResourceActionAdded ResourceAction = "ADDED" // Deleted ResourceActionDeleted ResourceAction = "DELETED" // Updated ResourceActionUpdated ResourceAction = "UPDATED" )
func (ResourceAction) IsValid ¶ added in v0.34.10
func (e ResourceAction) IsValid() bool
func (ResourceAction) MarshalGQL ¶ added in v0.34.10
func (e ResourceAction) MarshalGQL(w io.Writer)
func (ResourceAction) String ¶ added in v0.34.10
func (e ResourceAction) String() string
func (*ResourceAction) UnmarshalGQL ¶ added in v0.34.10
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 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"` // Entities referenced by this resource ReferencedBy []*BaseReference `json:"referencedBy"` }
Resource manifest
type ResourcesRequests ¶ added in v0.37.7
type ResourcesRequests struct { // CPU CPU *string `json:"cpu"` // Memory Memory *string `json:"memory"` }
ResourcesRequests
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 Rollout ¶ added in v0.37.7
type Rollout 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"` // Actual manifest ActualManifest *string `json:"actualManifest"` // Spec Spec *RolloutSpec `json:"spec"` // Status Status *RolloutStatus `json:"status"` }
"Rollout Entity
func (Rollout) IsBaseEntity ¶ added in v0.37.7
func (Rollout) IsBaseEntity()
func (Rollout) IsK8sStandardEntity ¶ added in v0.37.7
func (Rollout) IsK8sStandardEntity()
func (Rollout) IsProjectBasedEntity ¶ added in v0.37.7
func (Rollout) IsProjectBasedEntity()
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 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 RolloutFilterArgs ¶ added in v0.37.7
type RolloutFilterArgs struct { // Filter rollouts from a specific project Project *string `json:"project"` // Filter rollouts from a specific runtime Runtime *string `json:"runtime"` // Filter rollouts from a specific cluster url Cluster *string `json:"cluster"` }
Rollout filter arguments
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"` }
Rollout Image Details
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" // 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 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"` }
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"` // 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"` // Status of inline analysis CurrentStepAnalysisRunStatus *RolloutAnalysisStatus `json:"currentStepAnalysisRunStatus"` // Status of background status BackgroundAnalysisRunStatus *RolloutAnalysisStatus `json:"backgroundAnalysisRunStatus"` }
Rollout Status
type RolloutStrategy ¶ added in v0.37.7
type RolloutStrategy struct { // Name Name string `json:"name"` // Steps Steps []*string `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"` }
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"` }
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"` // Ingress host of the runtime IngressHost *string `json:"ingressHost"` // Ingress class of the runtime IngressClass *string `json:"ingressClass"` // Ingress controller of the runtime IngressController *string `json:"ingressController"` // Runtime version RuntimeVersion *string `json:"runtimeVersion"` // 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 entity
func (Runtime) IsBaseEntity ¶
func (Runtime) IsBaseEntity()
func (Runtime) IsK8sLogicEntity ¶ added in v0.30.3
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 RuntimeInstallationArgs ¶ added in v0.34.6
type RuntimeInstallationArgs struct { // Name of the Runtime RuntimeName string `json:"runtimeName"` // Cluster Cluster string `json:"cluster"` // Runtime Version RuntimeVersion string `json:"runtimeVersion"` // The names of the components to be installed as placeholders ComponentNames []string `json:"componentNames"` // Ingress Host IngressHost *string `json:"ingressHost"` // Ingress class name IngressClass *string `json:"ingressClass"` // Ingress controller name IngressController *string `json:"ingressController"` // Repo URL with optional path and branch info Repo *string `json:"repo"` }
Runtime Installation Arguments
type RuntimeNotification ¶ added in v0.36.1
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 RuntimeReadModelEventPayload ¶ added in v0.34.6
type RuntimeReadModelEventPayload struct { // Type of DB entity EntityType string `json:"entityType"` // Type of DB event upsert/delete EventType string `json:"eventType"` // Reference to entity Item *EntityReference `json:"item"` }
RuntimeReadModelEventPayload type
func (RuntimeReadModelEventPayload) IsReadModelEventPayload ¶ added in v0.34.6
func (RuntimeReadModelEventPayload) IsReadModelEventPayload()
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 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"` }
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"` }
SamlSSO
type SecretFieldPaths ¶ added in v0.38.1
type SecretFieldPaths struct { // AppId AppID string `json:"appId"` // ClientId ClientID string `json:"clientId"` // ClientSecret ClientSecret string `json:"clientSecret"` // Url URL string `json:"url"` }
SecretFieldPaths
type SecurityInfo ¶ added in v0.35.4
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 ¶ added in v0.35.4
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 SensorReadModelEventPayload ¶ added in v0.34.6
type SensorReadModelEventPayload struct { // Type of DB entity EntityType string `json:"entityType"` // Type of DB event upsert/delete EventType string `json:"eventType"` // Reference to entity Item *EntityReference `json:"item"` }
SensorReadModelEventPayload type
func (SensorReadModelEventPayload) IsReadModelEventPayload ¶ added in v0.34.6
func (SensorReadModelEventPayload) IsReadModelEventPayload()
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"` // 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 ServiceReadModelEventPayload ¶ added in v0.37.4
type ServiceReadModelEventPayload struct { // Type of DB entity EntityType string `json:"entityType"` // Type of DB event upsert/delete EventType string `json:"eventType"` // Runtime Runtime *string `json:"runtime"` // Reference to entity Item *EntityReference `json:"item"` }
ServiceReadModelEventPayload type
func (ServiceReadModelEventPayload) IsReadModelEventPayload ¶ added in v0.37.4
func (ServiceReadModelEventPayload) IsReadModelEventPayload()
type ServiceSortArg ¶ added in v0.37.4
type ServiceSortArg struct { // Field for sorting Field ServiceSortingField `json:"field"` // Order Order SortingOrder `json:"order"` }
Service sorting arguments
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 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 ServicesFilterArgs ¶ added in v0.37.0
type ServicesFilterArgs struct { // Filter services from a specific project Project *string `json:"project"` // Filter services from a specific runtime Runtime *string `json:"runtime"` // Filter services from a specific namespaces Namespace []*string `json:"namespace"` // Filter services from a specific application Application *string `json:"application"` // Filter services with a specific health statuses HealthStatus []*HealthStatus `json:"healthStatus"` // Filter services by name fragment ServiceName *string `json:"serviceName"` // Filter services by cluster URL Cluster *string `json:"cluster"` }
Services filter arguments
type SessionAffinityConfig ¶ added in v0.37.0
type SessionAffinityConfig struct { // ClientIP ClientIP *ClientIP `json:"clientIP"` }
SessionAffinityConfig
type SetAccountAllowedDomainsArgs ¶ added in v0.35.4
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 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.36.1
type SortingOrder string
Sorting order
const ( // ascending SortingOrderAsc SortingOrder = "asc" // descending SortingOrderDesc SortingOrder = "desc" )
func (SortingOrder) IsValid ¶ added in v0.36.1
func (e SortingOrder) IsValid() bool
func (SortingOrder) MarshalGQL ¶ added in v0.36.1
func (e SortingOrder) MarshalGQL(w io.Writer)
func (SortingOrder) String ¶ added in v0.36.1
func (e SortingOrder) String() string
func (*SortingOrder) UnmarshalGQL ¶ added in v0.36.1
func (e *SortingOrder) UnmarshalGQL(v interface{}) error
type SpecificTriggerConditions ¶ added in v0.37.7
type SpecificTriggerConditions struct { // Github trigger conditions Github []*GithubTriggerConditions `json:"github"` // 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"` // Calendar trigger conditions Calendar []*CalendarTriggerConditionsArgs `json:"calendar"` }
Object of specific trigger conditions
type Sso ¶ added in v0.35.2
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 StatisticsFilterTimeRange ¶ added in v0.37.9
type StatisticsFilterTimeRange string
Time range filter possible values
const ( StatisticsFilterTimeRangeLast24Months StatisticsFilterTimeRange = "LAST_24_MONTHS" StatisticsFilterTimeRangeLast30Days StatisticsFilterTimeRange = "LAST_30_DAYS" StatisticsFilterTimeRangeLast52Weeks StatisticsFilterTimeRange = "LAST_52_WEEKS" StatisticsFilterTimeRangeLast7Days StatisticsFilterTimeRange = "LAST_7_DAYS" StatisticsFilterTimeRangeLast90Days StatisticsFilterTimeRange = "LAST_90_DAYS" )
func (StatisticsFilterTimeRange) IsValid ¶ added in v0.37.9
func (e StatisticsFilterTimeRange) IsValid() bool
func (StatisticsFilterTimeRange) MarshalGQL ¶ added in v0.37.9
func (e StatisticsFilterTimeRange) MarshalGQL(w io.Writer)
func (StatisticsFilterTimeRange) String ¶ added in v0.37.9
func (e StatisticsFilterTimeRange) String() string
func (*StatisticsFilterTimeRange) UnmarshalGQL ¶ added in v0.37.9
func (e *StatisticsFilterTimeRange) UnmarshalGQL(v interface{}) error
type StatisticsGranularity ¶ added in v0.40.0
type StatisticsGranularity string
Granularity options for statistics
const ( StatisticsGranularityDay StatisticsGranularity = "day" StatisticsGranularityMonth StatisticsGranularity = "month" StatisticsGranularityWeek StatisticsGranularity = "week" )
func (StatisticsGranularity) IsValid ¶ added in v0.40.0
func (e StatisticsGranularity) IsValid() bool
func (StatisticsGranularity) MarshalGQL ¶ added in v0.40.0
func (e StatisticsGranularity) MarshalGQL(w io.Writer)
func (StatisticsGranularity) String ¶ added in v0.40.0
func (e StatisticsGranularity) String() string
func (*StatisticsGranularity) UnmarshalGQL ¶ added in v0.40.0
func (e *StatisticsGranularity) UnmarshalGQL(v interface{}) error
type StatsTimePeriodData ¶ added in v0.32.3
type StatsTimePeriodData struct { // Granularity for the graph X Axis Granularity *string `json:"granularity"` // Date range for the statistics DateRange []*string `json:"dateRange"` }
Statistics time period meta data
type StatusHistoryItem ¶ added in v0.30.3
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 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 SupportedEventMapping ¶ added in v0.37.7
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 SwitchAccountResponse ¶
type SwitchAccountResponse struct { // The token to use for the next requests NewAccessToken *string `json:"newAccessToken"` }
"response for request to switch account
type SyncError ¶ added in v0.32.3
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 ¶ added in v0.32.3
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" // Uknown sync error SyncErrorCodesUnknown SyncErrorCodes = "UNKNOWN" )
func (SyncErrorCodes) IsValid ¶ added in v0.32.3
func (e SyncErrorCodes) IsValid() bool
func (SyncErrorCodes) MarshalGQL ¶ added in v0.32.3
func (e SyncErrorCodes) MarshalGQL(w io.Writer)
func (SyncErrorCodes) String ¶ added in v0.32.3
func (e SyncErrorCodes) String() string
func (*SyncErrorCodes) UnmarshalGQL ¶ added in v0.32.3
func (e *SyncErrorCodes) UnmarshalGQL(v interface{}) error
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 SyncSuccess ¶ added in v0.34.10
type SyncSuccess string
Sync success/failure
const ( // FAILURE - when SyncStatus is OUT_OF_SYNC or UNKNOWN SyncSuccessFailure SyncSuccess = "FAILURE" // SUCCESS - when SyncStatus is SYNCED SyncSuccessSuccess SyncSuccess = "SUCCESS" )
func (SyncSuccess) IsValid ¶ added in v0.34.10
func (e SyncSuccess) IsValid() bool
func (SyncSuccess) MarshalGQL ¶ added in v0.34.10
func (e SyncSuccess) MarshalGQL(w io.Writer)
func (SyncSuccess) String ¶ added in v0.34.10
func (e SyncSuccess) String() string
func (*SyncSuccess) UnmarshalGQL ¶ added in v0.34.10
func (e *SyncSuccess) UnmarshalGQL(v interface{}) error
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 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 UIDReferenceInput ¶ added in v0.37.4
type UIDReferenceInput struct { // GVK/group Group string `json:"group"` // GVK/version Version string `json:"version"` // GVK/kind Kind string `json:"kind"` // Unique ID UID string `json:"uid"` }
Reference Entity by uid
type UnknownEventPayloadData ¶ added in v0.31.2
type UnknownEventPayloadData struct { // Event payload type Type PayloadDataTypes `json:"type"` // 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 ¶ added in v0.31.2
func (UnknownEventPayloadData) IsEventPayloadData()
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 User ¶ added in v0.35.2
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
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"` // Indicator of workflow created by running workflow-template Playground *bool `json:"playground"` }
Workflow entity
func (Workflow) IsBaseEntity ¶
func (Workflow) IsBaseEntity()
func (Workflow) IsK8sStandardEntity ¶ added in v0.30.3
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 ¶ added in v0.30.3
type WorkflowContainerTemplate struct { // Name Name string `json:"name"` // Daemon Daemon *bool `json:"daemon"` // Container Container *WorkflowContainerSpec `json:"container"` }
Workflow container template
func (WorkflowContainerTemplate) IsWorkflowSpecTemplate ¶ added in v0.30.3
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 WorkflowNodePhases ¶ added in v0.34.6
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 ¶ added in v0.34.6
func (e WorkflowNodePhases) IsValid() bool
func (WorkflowNodePhases) MarshalGQL ¶ added in v0.34.6
func (e WorkflowNodePhases) MarshalGQL(w io.Writer)
func (WorkflowNodePhases) String ¶ added in v0.34.6
func (e WorkflowNodePhases) String() string
func (*WorkflowNodePhases) UnmarshalGQL ¶ added in v0.34.6
func (e *WorkflowNodePhases) 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 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 WorkflowReadModelEventPayload ¶ added in v0.34.6
type WorkflowReadModelEventPayload struct { // Type of DB entity EntityType string `json:"entityType"` // Type of DB event upsert/delete EventType string `json:"eventType"` // Reference to entity Item *EntityReference `json:"item"` }
WorkflowReadModelEventPayload type
func (WorkflowReadModelEventPayload) IsReadModelEventPayload ¶ added in v0.34.6
func (WorkflowReadModelEventPayload) IsReadModelEventPayload()
type WorkflowRepository ¶ added in v0.36.1
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 ¶ added in v0.30.3
type WorkflowResourceTemplate struct { // Name Name string `json:"name"` }
Workflow Resource template
func (WorkflowResourceTemplate) IsWorkflowSpecTemplate ¶ added in v0.30.3
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 WorkflowScriptTemplate ¶ added in v0.30.3
type WorkflowScriptTemplate struct { // Name Name string `json:"name"` }
Workflow script template
func (WorkflowScriptTemplate) IsWorkflowSpecTemplate ¶ added in v0.30.3
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 ¶ added in v0.31.2
type WorkflowSpecNameOnlyTemplate struct { // Name Name string `json:"name"` }
Workflow spec name only template
func (WorkflowSpecNameOnlyTemplate) IsWorkflowSpecTemplate ¶ added in v0.31.2
func (WorkflowSpecNameOnlyTemplate) IsWorkflowSpecTemplate()
type WorkflowSpecTemplate ¶
type WorkflowSpecTemplate interface {
IsWorkflowSpecTemplate()
}
Workflow spec template
type WorkflowStatisticsFilterArgs ¶ added in v0.35.3
type WorkflowStatisticsFilterArgs struct { // Filter pipelines from a specific pipeline TimeRange StatisticsFilterTimeRange `json:"timeRange"` // Repository name RepoName []*string `json:"repoName"` // workflow status Status []*WorkflowPhases `json:"status"` // Git Event Type GitEventType []*string `json:"gitEventType"` // Initiator Initiator []*string `json:"initiator"` // Brnach Name Branch []*string `json:"branch"` // Pipeline Name PipelineName []*string `json:"pipelineName"` // Pipeline namespace PipelineNamespace []*string `json:"pipelineNamespace"` // Runtime Runtime []*string `json:"runtime"` }
Pipeline filter arguments
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"` }
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 ¶ added in v0.30.3
type WorkflowSuspendedTemplate struct { // Name Name string `json:"name"` }
Workflow Resource template
func (WorkflowSuspendedTemplate) IsWorkflowSpecTemplate ¶ added in v0.30.3
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 WorkflowTemplateReadModelEventPayload ¶ added in v0.34.6
type WorkflowTemplateReadModelEventPayload struct { // Type of DB entity EntityType string `json:"entityType"` // Type of DB event upsert/delete EventType string `json:"eventType"` // Reference to entity Item *EntityReference `json:"item"` }
WorkflowTemplateReadModelEventPayload type
func (WorkflowTemplateReadModelEventPayload) IsReadModelEventPayload ¶ added in v0.34.6
func (WorkflowTemplateReadModelEventPayload) IsReadModelEventPayload()
type WorkflowTemplateRef ¶ added in v0.30.3
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 git source GitSource *string `json:"gitSource"` }
Workflow template filter arguments
type WorkflowsFilterArgs ¶ added in v0.30.3
type WorkflowsFilterArgs struct { // Filter workflows from a specific project Project *string `json:"project"` // Filter workflows from a specific runtime Runtime *string `json:"runtime"` // Filter workflows from a specific namespace Namespace *string `json:"namespace"` // Filter workflows from a specific cluster URL Cluster *string `json:"cluster"` // Filter workflows filer by pipelines Pipelines *NamespacedFindManyArgs `json:"pipelines"` // Filter workflows from a specific repositories Repositories []*string `json:"repositories"` // Filter workflows from a specific branches Branches []*string `json:"branches"` // Filter workflows from a specific event types EventTypes []*string `json:"eventTypes"` // Filter workflows from a specific initiators Initiators []*string `json:"initiators"` // Filter workflows from a specific statuses Statuses []*WorkflowPhases `json:"statuses"` // Filter workflows from a specific start date StartDateFrom *string `json:"startDateFrom"` // Filter workflows to a specific start date StartDateTo *string `json:"startDateTo"` // Filter workflows by workflowTemplate WorkflowTemplate *string `json:"workflowTemplate"` // Filter workflows created by running workflow-template Playground *bool `json:"playground"` // Filter workflows by workflowTemplate clusterScope WorkflowTemplateClusterScope *bool `json:"workflowTemplateClusterScope"` }
Workflow filter arguments