Versions in this module Expand all Collapse all v0 v0.7.6 Jul 23, 2020 Changes in this version type EnvSearchParameters + CreatedSince time.Duration + Repos []string + Statuses []EnvironmentStatus type EventLog + GitHubDeliveryID uuid.UUID + func (el *EventLog) ScanValuesWithStatus() []interface{} + func (el EventLog) ColumnsWithStatus() string type RepoRevisionData + IsFork bool + type UISession struct + Authenticated bool + ClientIP string + Created time.Time + EncryptedUserToken []byte + Expires time.Time + GitHubUser string + ID int + State []byte + TargetRoute string + Updated pq.NullTime + UserAgent string + func (uis *UISession) EncryptandSetUserToken(tkn []byte, key [32]byte) error + func (uis *UISession) GetUserToken(key [32]byte) (string, error) + func (uis *UISession) InsertValues() []interface{} + func (uis *UISession) ScanValues() []interface{} + func (uis UISession) Columns() string + func (uis UISession) HasEncryptedToken() bool + func (uis UISession) InsertColumns() string + func (uis UISession) InsertParams() string + func (uis UISession) IsExpired() bool + func (uis UISession) IsValid() bool v0.7.5 Mar 27, 2020 Changes in this version + type ConfigProcessingDuration struct + func (d *ConfigProcessingDuration) UnmarshalJSON(b []byte) error + func (d ConfigProcessingDuration) MarshalJSON() ([]byte, error) type EventLog + LogKey uuid.UUID + Status EventStatusSummary + type EventStatus int + const DoneStatus + const FailedStatus + const PendingStatus + const UnknownEventStatus + func (i EventStatus) String() string + type EventStatusSummary struct + Config EventStatusSummaryConfig + Tree map[string]EventStatusTreeNode + func (es *EventStatusSummary) Scan(value interface{}) error + func (es EventStatusSummary) Value() (driver.Value, error) + type EventStatusSummaryConfig struct + Branch string + Completed time.Time + EnvName string + GitHubUser string + K8sNamespace string + ProcessingTime ConfigProcessingDuration + PullRequest uint + RefMap map[string]string + RenderedStatus RenderedEventStatus + Revision string + Started time.Time + Status EventStatus + TriggeringRepo string + Type EventStatusType + type EventStatusTreeNode struct + Chart EventStatusTreeNodeChart + Image EventStatusTreeNodeImage + Parent string + type EventStatusTreeNodeChart struct + Completed time.Time + Started time.Time + Status NodeChartStatus + type EventStatusTreeNodeImage struct + Completed time.Time + Error bool + Name string + Started time.Time + type EventStatusType int + const CreateEvent + const DestroyEvent + const UnknownEventStatusType + const UpdateEvent + func (i EventStatusType) String() string + type NodeChartStatus int + const DoneChartStatus + const FailedChartStatus + const InstallingChartStatus + const UnknownChartStatus + const UpgradingChartStatus + const WaitingChartStatus + func (i NodeChartStatus) String() string + type RenderedEventStatus struct + Description string + LinkTargetURL string v0.7.0 Feb 11, 2020 Changes in this version + var DefaultCommitStatusTemplates = map[string]CommitStatusTemplate + type CommitStatus int + const CommitStatusFailure + const CommitStatusPending + const CommitStatusSuccess + func (ncs CommitStatus) Key() string + type CommitStatusTemplate struct + Description string + TargetURL string + func (cs CommitStatusTemplate) Render(d NotificationData) (*RenderedCommitStatus, error) + type CommitStatuses struct + Templates map[string]CommitStatusTemplate type GitHubNotifications + CommitStatuses CommitStatuses type NotificationData + Event string + type RenderedCommitStatus struct + Description string + TargetURL string v0.6.2 Feb 25, 2019 Changes in this version + const DefaultChartTagValue + const DefaultDockerfilePath + const DefaultEnvNameValue + const DefaultNamespaceValue + var DefaultNotificationTemplates = map[string]NotificationTemplate + func GetName(repo string) string + type DependencyDeclaration struct + Direct []RepoConfigDependency + Environment []RepoConfigDependency + func (dd DependencyDeclaration) All() []RepoConfigDependency + func (dd DependencyDeclaration) Count() int + func (dd DependencyDeclaration) RefMapCount() int + func (dd DependencyDeclaration) ValidateNames() (bool, error) + type EnvSearchParameters struct + Pr uint + Repo string + SourceBranch string + SourceSHA string + Status EnvironmentStatus + TrackingRef string + User string + type EnvironmentStatus int + const Destroyed + const Failure + const Spawned + const Success + const UnknownStatus + const Updating + func EnvironmentStatusFromString(es string) (EnvironmentStatus, error) + func (i EnvironmentStatus) String() string + type EventLog struct + Created time.Time + EnvName string + ID uuid.UUID + Log []string + PullRequest uint + Repo string + Updated pq.NullTime + WebhookPayload []byte + func (el *EventLog) InsertValues() []interface{} + func (el *EventLog) ScanValues() []interface{} + func (el EventLog) Columns() string + func (el EventLog) InsertColumns() string + func (el EventLog) InsertParams() string + type GitHubNotifications struct + PRComments bool + type HelmRelease struct + Created time.Time + EnvName string + ID uint + K8sNamespace string + Name string + Release string + RevisionSHA string + func (hr *HelmRelease) InsertValues() []interface{} + func (hr *HelmRelease) ScanValues() []interface{} + func (hr HelmRelease) Columns() string + func (hr HelmRelease) InsertColumns() string + func (hr HelmRelease) InsertParams() string + type KubernetesEnvironment struct + ConfigSignature []byte + Created time.Time + EnvName string + Namespace string + Privileged bool + RefMapJSON string + RepoConfigYAML []byte + TillerAddr string + Updated pq.NullTime + func (ke *KubernetesEnvironment) InsertValues() []interface{} + func (ke *KubernetesEnvironment) ScanValues() []interface{} + func (ke *KubernetesEnvironment) UpdateValues() []interface{} + func (ke KubernetesEnvironment) Columns() string + func (ke KubernetesEnvironment) InsertColumns() string + func (ke KubernetesEnvironment) InsertParams() string + func (ke KubernetesEnvironment) UpdateColumns() string + func (ke KubernetesEnvironment) UpdateParams() string + type NotificationData struct + BaseBranch string + BaseSHA string + CommitMessage string + EnvName string + ErrorMessage string + K8sNamespace string + PullRequest uint + Repo string + SourceBranch string + SourceSHA string + User string + type NotificationTemplate struct + Sections []NotificationTemplateSection + Title string + func (nt NotificationTemplate) Render(d NotificationData) (*RenderedNotification, error) + type NotificationTemplateSection struct + Style string + Text string + Title string + type Notifications struct + GitHub GitHubNotifications + Slack SlackNotifications + Templates map[string]NotificationTemplate + func (n *Notifications) FillMissingTemplates() + type QADestroyReason int + const CreateFoundStale + const DestroyApiRequest + const EnvironmentLimitExceeded + const ReapAgeFailure + const ReapAgeSpawned + const ReapEnvironmentLimitExceeded + const ReapPrClosed + func (i QADestroyReason) String() string + type QAEnvironment struct + AminoEnvironmentID int + AminoKubernetesNamespace string + AminoServiceToPort map[string]int64 + AminoServiceToPortRaw map[string]string + BaseBranch string + BaseSHA string + CommitSHAMap RefMap + Created time.Time + CreatedDate string + Events []QAEnvironmentEvent + Hostname string + Name string + PullRequest uint + QAType string + RawEvents []string + RawStatus string + RefMap RefMap + Repo string + SourceBranch string + SourceRef string + SourceSHA string + Status EnvironmentStatus + User string + func (qa *QAEnvironment) SetCreatedDate() + func (qa QAEnvironment) RepoRevisionDataFromQA() *RepoRevisionData + func (qae *QAEnvironment) AfterInsert(db orm.DB) error + func (qae *QAEnvironment) AfterSelect(db orm.DB) error + func (qae *QAEnvironment) AminoServiceToPortHStore() *hstore.Hstore + func (qae *QAEnvironment) BeforeInsert(db orm.DB) error + func (qae *QAEnvironment) CommitSHAMapHStore() *hstore.Hstore + func (qae *QAEnvironment) ProcessAminoServiceToPort() error + func (qae *QAEnvironment) ProcessEvents() error + func (qae *QAEnvironment) ProcessHStores() error + func (qae *QAEnvironment) ProcessRaw() error + func (qae *QAEnvironment) ProcessStatus() + func (qae *QAEnvironment) RefMapHStore() *hstore.Hstore + func (qae *QAEnvironment) ScanValues() []interface{} + func (qae *QAEnvironment) SetRaw() error + func (qae QAEnvironment) Columns() string + func (qae QAEnvironment) InsertParams() string + type QAEnvironmentEvent struct + Message string + Timestamp time.Time + type QAEnvironments []QAEnvironment + func (slice QAEnvironments) Len() int + func (slice QAEnvironments) Less(i, j int) bool + func (slice QAEnvironments) Swap(i, j int) + type QAType struct + BranchOverrides map[string]string + CreatedAt time.Time + EnvType string + ID int + Name string + OtherRepos []string + TargetBranch string + TargetBranches []string + TargetRepo string + Template string + TrackRefs []string + UpdatedAt time.Time + Version uint + func (qat *QAType) FromYAML(data []byte) error + type RefMap map[string]string + type RenderedNotification struct + Sections []RenderedNotificationSection + Title string + type RenderedNotificationSection struct + Style string + Text string + Title string + type RepoConfig struct + Application RepoConfigAppMetadata + Dependencies DependencyDeclaration + Notifications Notifications + TargetBranches []string + TrackBranches []string + Version uint + func (rc RepoConfig) CommitSHAMap() (RefMap, error) + func (rc RepoConfig) ConfigSignature() [32]byte + func (rc RepoConfig) NameToRefMap() map[string]string + func (rc RepoConfig) RefMap() (RefMap, error) + type RepoConfigAppMetadata struct + Branch string + ChartPath string + ChartRepoPath string + ChartTagValue string + ChartVarsPath string + ChartVarsRepoPath string + DockerfilePath string + EnvNameValue string + Image string + NamespaceValue string + Ref string + Repo string + ValueOverrides []string + func (ram *RepoConfigAppMetadata) SetValueDefaults() + type RepoConfigDependency struct + AppMetadata RepoConfigAppMetadata + ChartPath string + ChartRepoPath string + ChartVarsPath string + ChartVarsRepoPath string + DefaultBranch string + DisableBranchMatch bool + Name string + Parent string + Repo string + Requires []string + ValueOverrides []string + func (rcd RepoConfigDependency) BranchMatchable() bool + type RepoRevisionData struct + BaseBranch string + BaseSHA string + PullRequest uint + Repo string + SourceBranch string + SourceRef string + SourceSHA string + User string + type SlackNotifications struct + Channels *[]string + DisableGithubUserDM bool + Users []string