Example #1
0
def nodes(exp):
    "Select nodes based on a regular expression"
    for node in instances(exp):
        use(node)
    for node in cf_instances(exp):
        use(node)
Example #2
0
def preview():
    "Preview nodes"
    for node in instances('preview-.*'):
        use(node)
    for node in cf_instances('preview-.*'):
        use(node)
Example #3
0
def production():
    "Production nodes"
    for node in instances('production-.*'):
        use(node)
    for node in cf_instances('production-.*'):
        use(node)
Example #4
0
def all():
    "All nodes"
    for node in instances():
        use(node)
    for node in cf_instances():
        use(node)
Example #5
0
def cloudflare(exp='.*'):
    for node in cf_instances(exp):
        use(node)
Example #6
0
def nodes(exp):
    "Select nodes based on a regular expression"
    for node in instances(exp):
        use(node)
    for node in cf_instances(exp):
        use(node)
Example #7
0
def production():
    "Production nodes"
    for node in instances("production-.*"):
        use(node)
    for node in cf_instances("production-.*"):
        use(node)
Example #8
0
def preview():
    "Preview nodes"
    for node in instances("preview-.*"):
        use(node)
    for node in cf_instances("preview-.*"):
        use(node)
Example #9
0
def cloudflare(exp=".*"):
    for node in cf_instances(exp):
        use(node)
Example #10
0
def all():
    "All nodes"
    for node in instances():
        use(node)
    for node in cf_instances():
        use(node)