-
Notifications
You must be signed in to change notification settings - Fork 311
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NAS-132301 / 25.04 / Adapt changes for boot environments (#11012)
* NAS-132301: Adapt changes for boot environments * NAS-132301: Adapt changes for boot environments * NAS-132301: Adapt changes for boot environments * NAS-132301: Adapt changes for boot environments * NAS-132301: Adapt changes for boot environments * NAS-132301: Update tests * NAS-132301: Remove legacy eslint settings * NAS-132301: Update tests
- Loading branch information
1 parent
cd50b8d
commit 1f6c5cd
Showing
108 changed files
with
228 additions
and
775 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,59 @@ | ||
import { ApiTimestamp } from 'app/interfaces/api-date.interface'; | ||
|
||
export interface BootEnvironment { | ||
/** | ||
* The name of the boot environment. | ||
*/ | ||
id: string; | ||
|
||
/** | ||
* The name of the dataset representing the boot environment. | ||
*/ | ||
dataset: string; | ||
|
||
/** | ||
* If `true`, represents the `currently` running boot environment. | ||
*/ | ||
active: boolean; | ||
|
||
/** | ||
* If `true`, represents the boot environment that will become the running boot environment at `next boot`. | ||
*/ | ||
activated: boolean; | ||
|
||
/** | ||
* Represents when the boot environment was created. | ||
*/ | ||
created: ApiTimestamp; | ||
|
||
/** | ||
* An integer representing the number of bytes used by the boot environment. | ||
*/ | ||
used_bytes: number; | ||
|
||
/** | ||
* A human-readable string representing the total number of space used by the boot environment. | ||
*/ | ||
used: string; | ||
|
||
/** | ||
* When set to `false`, will be automatically deleted during an upgrade procedure | ||
* if there isn’t enough room on the boot drive to apply said update. | ||
*/ | ||
keep: boolean; | ||
|
||
/** | ||
* If `true` indicates whether the boot environment may be `activated`. | ||
*/ | ||
can_activate: boolean; | ||
} | ||
|
||
export type BootenvCloneParams = [{ | ||
id: string; | ||
target: string; | ||
}]; | ||
|
||
export type BootenvKeepParams = [{ | ||
id: string; | ||
value: boolean; | ||
}]; |
This file was deleted.
Oops, something went wrong.
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.