DockerImage
Base class for system objects stored in the database in a structured manner. Contains base properties: id, name and path
Extends
Constructors
new DockerImage()
new DockerImage(
dart
):DockerImage
Parameters
Parameter | Type |
---|---|
dart | any |
Returns
Overrides
Source
src/api/grok_shared.api.g.ts:96
Properties
Property | Modifier | Type | Default value | Inherited from |
---|---|---|---|---|
dart | public | any | undefined | Entity .dart |
STATUS_BUILDING | static | string | 'building' | - |
STATUS_ERROR | static | string | 'error' | - |
STATUS_PENDING_BUILD | static | string | 'pending build' | - |
STATUS_READY | static | string | 'ready' | - |
dbTableName | static | string | 'dockerfiles' | - |
Accessors
author
get
author():User
Who created entity *
Returns
Source
completed
get
completed():boolean
Returns
boolean
Source
src/api/grok_shared.api.g.ts:125
createdOn
get
createdOn():Dayjs
Time when entity was created *
Returns
Dayjs
Source
description
get
description():string
set
description(x
):void
Parameters
Parameter | Type |
---|---|
x | string |
Returns
string
Source
src/api/grok_shared.api.g.ts:109
dockerFullName
get
dockerFullName():string
Returns
string
Source
src/api/grok_shared.api.g.ts:129
dockerName
get
dockerName():string
set
dockerName(x
):void
Parameters
Parameter | Type |
---|---|
x | string |
Returns
string
Source
src/api/grok_shared.api.g.ts:115
dockerfile
get
dockerfile():string
set
dockerfile(x
):void
Parameters
Parameter | Type |
---|---|
x | string |
Returns
string
Source
src/api/grok_shared.api.g.ts:111
dockerfilePath
get
dockerfilePath():string
set
dockerfilePath(x
):void
Parameters
Parameter | Type |
---|---|
x | string |
Returns
string
Source
src/api/grok_shared.api.g.ts:119
friendlyName
get
friendlyName():string
Entity friendly name
set
friendlyName(x
):void
Parameters
Parameter | Type |
---|---|
x | string |
Returns
string
Source
iconStatus
get
iconStatus():string
Returns
string
Source
src/api/grok_shared.api.g.ts:127
id
get
id():string
Entity ID (GUID)
set
id(x
):void
Parameters
Parameter | Type |
---|---|
x | string |
Returns
string
Source
logs
get
logs():string
set
logs(x
):void
Parameters
Parameter | Type |
---|---|
x | string |
Returns
string
Source
src/api/grok_shared.api.g.ts:123
name
get
name():string
Entity short name
set
name(x
):void
Parameters
Parameter | Type |
---|---|
x | string |
Returns
string
Source
nqName
get
nqName():string
Entity full-qualified name
Returns
string
Source
path
get
path():string
Entity path
Returns
string
Source
status
get
status():string
set
status(x
):void
Parameters
Parameter | Type |
---|---|
x | string |
Returns
string
Source
src/api/grok_shared.api.g.ts:113
updatedBy
get
updatedBy():string
set
updatedBy(x
):void
Parameters
Parameter | Type |
---|---|
x | string |
Returns
string
Source
src/api/grok_shared.api.g.ts:121
updatedOn
get
updatedOn():null
|Dayjs
Time when entity was updated *
Returns
null
| Dayjs
Source
version
get
version():string
set
version(x
):void
Parameters
Parameter | Type |
---|---|
x | string |
Returns
string
Source
src/api/grok_shared.api.g.ts:117
Methods
getProperties()
getProperties():
Promise
<object
>
Gets entity properties
Returns
Promise
<object
>
Inherited from
Source
hasTag()
hasTag(
tag
):boolean
Parameters
Parameter | Type |
---|---|
tag | string |
Returns
boolean
Inherited from
Source
newId()
newId():
void
Generates new id for this entity.
Returns
void
Inherited from
Source
setProperties()
setProperties(
props
):Promise
<any
>
Sets entity properties
Parameters
Parameter | Type |
---|---|
props | object |
Returns
Promise
<any
>
Inherited from
Source
tag()
tag(
tag
):boolean
Adds a specified tag
Parameters
Parameter | Type |
---|---|
tag | string |
Returns
boolean
Inherited from
Source
toString()
toString():
string
Returns a string representing the object
Returns
string
Inherited from
Source
unTag()
unTag(
tag
):boolean
Removes a specified tag
Parameters
Parameter | Type |
---|---|
tag | string |
Returns
boolean
Inherited from
Source
fromJson()
static
fromJson(map
):DockerImage
Parameters
Parameter | Type |
---|---|
map | object |