-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12443 from aruiz14/rework-gitrepo-status-resource…
…s-2.9 [2.9] Use BundleDeployment status to calculate GitRepo resources
- Loading branch information
Showing
12 changed files
with
261 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
export interface BundleResourceKey { | ||
kind: string, | ||
apiVersion: string, | ||
namespace?: string, | ||
name: string, | ||
} | ||
|
||
export interface BundleDeploymentResource extends BundleResourceKey { | ||
createdAt?: string, | ||
} | ||
|
||
export interface BundleModifiedResource extends BundleResourceKey { | ||
missing?: boolean, | ||
delete?: boolean, | ||
patch: string, | ||
} | ||
|
||
export interface BundleNonReadyResource extends BundleResourceKey { | ||
summary: { [state: string]: string } | ||
} | ||
|
||
export interface BundleNonReadyBundle { | ||
modifiedStatus: BundleModifiedResource[], | ||
nonReadyStatus: BundleNonReadyResource[], | ||
} | ||
|
||
export interface BundleDeploymentStatus { | ||
resources?: BundleDeploymentResource[], | ||
modifiedStatus?: BundleModifiedResource[], | ||
nonReadyStatus?: BundleNonReadyResource[], | ||
} | ||
|
||
export interface BundleStatusSummary { | ||
nonReadyResources?: BundleNonReadyBundle[], | ||
} | ||
|
||
export interface BundleStatus { | ||
resourceKey?: BundleResourceKey[], | ||
summary?: BundleStatusSummary, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.