Semua parameter agent json sama dengan parameter LIBKNOT
perhatikan json berikut ini :
{
"command-set": {
| # Traefik Gateway - Development Environment | |
| image: | |
| registry: docker.io | |
| repository: traefik | |
| pullPolicy: IfNotPresent | |
| deployment: | |
| enabled: true | |
| kind: Deployment |
Semua parameter agent json sama dengan parameter LIBKNOT
perhatikan json berikut ini :
{
"command-set": {
| #!/bin/bash -v | |
| yum -y install mariadb mariadb-server | |
| touch /var/log/mariadb/mariadb.log | |
| chown mysql.mysql /var/log/mariadb/mariadb.log | |
| systemctl start mariadb.service | |
| # Setup MySQL root password and create a user | |
| mysqladmin -u root password $db_rootpassword | |
| cat << EOF | mysql -u root --password=$db_rootpassword |
| # from py2.6 distr | |
| # -*- coding: utf-8 -*- | |
| """ | |
| ast | |
| ~~~ | |
| The `ast` module helps Python applications to process trees of the Python | |
| abstract syntax grammar. The abstract syntax itself might change with | |
| each Python release; this module helps to find out programmatically what |
| { | |
| "networks": { | |
| "network-coba": { | |
| "parameters": { | |
| "cidr": "192.168.3.0/24", | |
| "gateway": "192.168.3.1" | |
| }, | |
| "template": "private" | |
| } | |
| }, |
| { | |
| "instances": { | |
| "plesk-ibnu": { | |
| "parameters": { | |
| "activation_key": "A00000-AXQJ04-KSA781-G1PF82-68F726", | |
| "email": "[email protected]", | |
| "flavor": "SS2.2", | |
| "key_name": "pb-key", | |
| "password": "123456", | |
| "private_network": "pb-net", |
| { | |
| "networks": { | |
| "network-coba": { | |
| "parameters": { | |
| "cidr": "192.168.3.0/24", | |
| "gateway": "192.168.3.1" | |
| }, | |
| "template": "private" | |
| } | |
| }, |
| from flask import Flask, jsonify | |
| from datetime import datetime | |
| from app import db | |
| class Provinsi(db.Model): | |
| ''' | |
| Tabel Provinsi | |
| ''' | |
| __tablename__ = 'provinsi' |
| def checkIsPalindrom(kata_str): | |
| calback = False | |
| pola = [ | |
| 'a','i','u','e','o', | |
| 'ka','ki','ku','ke','ko', | |
| 'sa','shi','su','se','so', | |
| 'ta','chi','tsu','te','to', | |
| 'na','ni','nu','ne','no', | |
| 'ha','hi','fu','he','ho', | |
| 'ma','mi','mu','me','mo', |
| http://example.com/api/book?key=ImhDM1Y0WGZUU2JlNmFSZVYuaGFuZHJ5bGFnaS5pMnNHMTFseWFUMEUxcnNhIg.K2JCKMF1gbBMrkr-viW8TY7dv0U | |
| http://example.com/api/book?page=2&<key> (untuk mendapatkan list buku perhalaman) | |
| http://example.com/api/book?limit=30&<key> (untuk mendapatkan list buku dengan jumlah limit tertentu) | |
| http://example.com/api/book?page=2&limit=30&<key> (untuk mendapatkan list buku keduanya) | |
| [ | |
| [ | |
| { | |
| "code": 200, | |
| "msg": "success", |