# Anchor
click_link 'Save'
# Button
click_button 'awesome'
# Both above
This file contains hidden or 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
| apiVersion: carto.run/v1alpha1 | |
| kind: ClusterBlueprint | |
| metadata: | |
| name: web-supplychain | |
| spec: | |
| outputTypeRef: | |
| name: image | |
| outputs: | |
| - name: digest |
This file contains hidden or 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
| apiVersion: carto.run/v1alpha1 | |
| kind: ClusterSupplyChain | |
| metadata: | |
| name: gitops-supply-chain | |
| spec: | |
| selector: | |
| matchLabels: | |
| workload-type: web | |
| matchFields: | |
| - {key: ".spec.target", operation: In, value: ["gitops"]} |
This file contains hidden or 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
| private function isACommand(commandClazz:Class):Boolean | |
| { | |
| if(describeType(commandClazz).factory.method.(@name == "execute").length() > 0) | |
| { | |
| return true; | |
| } | |
| return false; | |
| } |
This file contains hidden or 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
| override public function areObjectsEqual(accountVO1:AdminDataVO, accountVO2:AdminDataVO):Boolean | |
| { | |
| var result:Boolean = false; | |
| if( (accountVO1.password == accountVO2.password ) && | |
| (accountVO1.email == accountVO2.email ) && | |
| (accountVO1.serverID == accountVO2.serverID ) && | |
| (accountVO1.dataSetID == accountVO2.dataSetID ) && | |
| (accountVO1.pluginMixID == accountVO2.pluginMixID ) && | |
| (accountVO1.adminPluginMixID == accountVO2.adminPluginMixID ) && |
This file contains hidden or 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
| private function compareData(editedVO:AdminDataVO):void | |
| { | |
| var currentStoredVO:AdminDataVO = editingModel.itemBeingEdited; | |
| if(!comparator.areObjectsEqual(currentStoredVO, editedVO)) | |
| { | |
| var keepHandler:Function = function():void { editingModel.updateItem(editedVO) }; | |
| var discardHandler:Function = function():void {}; |