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:237
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
getauthor():User
Who created entity *
Returns
Source
completed
getcompleted():boolean
Returns
boolean
Source
src/api/grok_shared.api.g.ts:266
createdOn
getcreatedOn():Dayjs
Time when entity was created *
Returns
Dayjs
Source
description
getdescription():string
setdescription(x):void
Parameters
| Parameter | Type |
|---|---|
x | string |
Returns
string
Source
src/api/grok_shared.api.g.ts:250
dockerFullName
getdockerFullName():string
Returns
string
Source
src/api/grok_shared.api.g.ts:270
dockerName
getdockerName():string
setdockerName(x):void
Parameters
| Parameter | Type |
|---|---|
x | string |
Returns
string
Source
src/api/grok_shared.api.g.ts:256
dockerfile
getdockerfile():string
setdockerfile(x):void
Parameters
| Parameter | Type |
|---|---|
x | string |
Returns
string
Source
src/api/grok_shared.api.g.ts:252
dockerfilePath
getdockerfilePath():string
setdockerfilePath(x):void
Parameters
| Parameter | Type |
|---|---|
x | string |
Returns
string
Source
src/api/grok_shared.api.g.ts:260
friendlyName
getfriendlyName():string
Entity friendly name
setfriendlyName(x):void
Parameters
| Parameter | Type |
|---|---|
x | string |
Returns
string
Source
iconStatus
geticonStatus():string
Returns
string
Source
src/api/grok_shared.api.g.ts:268
id
getid():string
Entity ID (GUID)
setid(x):void
Parameters
| Parameter | Type |
|---|---|
x | string |
Returns
string
Source
logs
getlogs():string
setlogs(x):void
Parameters
| Parameter | Type |
|---|---|
x | string |
Returns
string
Source
src/api/grok_shared.api.g.ts:264
name
getname():string
Entity short name
setname(x):void
Parameters
| Parameter | Type |
|---|---|
x | string |
Returns
string
Source
nqName
getnqName():string
Entity full-qualified name
Returns
string
Source
path
getpath():string
Entity path
Returns
string
Source
status
getstatus():string
setstatus(x):void
Parameters
| Parameter | Type |
|---|---|
x | string |
Returns
string
Source
src/api/grok_shared.api.g.ts:254
updatedBy
getupdatedBy():string
setupdatedBy(x):void
Parameters
| Parameter | Type |
|---|---|
x | string |
Returns
string
Source
src/api/grok_shared.api.g.ts:262
updatedOn
getupdatedOn():null|Dayjs
Time when entity was updated *
Returns
null | Dayjs
Source
version
getversion():string
setversion(x):void
Parameters
| Parameter | Type |
|---|---|
x | string |
Returns
string
Source
src/api/grok_shared.api.g.ts:258
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()
staticfromJson(map):DockerImage
Parameters
| Parameter | Type |
|---|---|
map | object |