-
Notifications
You must be signed in to change notification settings - Fork 309
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NAS-130470 / 24.10 / Adds back container functionality (#10410)
* NAS-130470: Fixes `app.image.delete` * NAS-130470: Added back `app.image.dockerhub_rate_limit` * NAS-130470: Added back tests * NAS-130470: Removed update dialog and references. Also fixes app.image.pull calls * NAS-130470: Removes calls to update images * NAS-130470: Remove docker images related comments * NAS-130470: Changes role * NAS-130470: Fix tag * NAS-130470: Update app-containers-card.component.ts * NAS-130470: Fix import order * NAS-130470: Fix import order * NAS-130470: Fix tests * NAS-130470: Update apps.module.ts
- Loading branch information
Showing
117 changed files
with
121 additions
and
971 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,39 @@ | ||
import { ApiTimestamp } from 'app/interfaces/api-date.interface'; | ||
|
||
export interface PullContainerImageParams { | ||
authentication?: { | ||
auth_config?: { | ||
username: string; | ||
password: string; | ||
}; | ||
from_image: string; | ||
tag?: string; | ||
image: string; | ||
} | ||
|
||
export type DeleteContainerImageParams = [ | ||
id: string, | ||
forceSetting?: { force: boolean }, | ||
]; | ||
|
||
export interface PullContainerImageResponse { | ||
status: string; | ||
} | ||
|
||
export interface ParsedRepoTag { | ||
image: string; | ||
tag: string; | ||
registry: string; | ||
complete_tag: string; | ||
} | ||
|
||
export interface ContainerImage { | ||
created: ApiTimestamp; | ||
dangling: boolean; | ||
id: string; | ||
labels: Record<string, string>; | ||
repo_digests: string[]; | ||
repo_tags: string[]; | ||
repo_digests: string[]; | ||
size: number; | ||
system_image: boolean; | ||
update_available: boolean; | ||
dangling: boolean; | ||
created: ApiTimestamp; | ||
author: string; | ||
comment: string; | ||
parsed_repo_tags: ParsedRepoTag[]; | ||
|
||
state?: string; | ||
} |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
export interface DockerHubRateLimit { | ||
total_pull_limit: number; | ||
total_time_limit_in_secs: number; | ||
remaining_pull_limit: number; | ||
remaining_time_limit_in_secs: number; | ||
total_pull_limit?: number | null; | ||
total_time_limit_in_secs?: number | null; | ||
remaining_pull_limit?: number | null; | ||
remaining_time_limit_in_secs?: number | null; | ||
error?: string | null; | ||
} |
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
Oops, something went wrong.