lockable-resource

get info

get all

all items information

labels

resources

  • or

Get resource by label

  • or

if label validated

Get free number of label

management

create new item

  • or

[!TIP]

setup test labels

clean up environment

change label by certain condition

Objective :

add the keyword `marslo_` as prefix of labels whose label isn't belongs to `keyword` list.

** prevent repeat to add ** :

  • List keyword = [ 'project1', 'project2', 'keyword', 'marslo_' ]

  • or

  • r.setLabels( 'marslo_' + r.labels.split('marslo_').last() )

  • show result

reserve & unlock

by cli

by api

functions

isLabelExists

  • or

isResourceExists

  • or

  • or using findAll for multiple find

    • or

get label by name

set Label

with Closure

get resource status

removeLabelByName

Last updated

Was this helpful?