示例#1
0
def run(dry_run=False,
        thread_pool_size=10,
        internal=None,
        use_jump_host=True,
        defer=None):
    providers = ['route']
    orb.QONTRACT_INTEGRATION = QONTRACT_INTEGRATION
    orb.QONTRACT_INTEGRATION_VERSION = QONTRACT_INTEGRATION_VERSION

    orb.run(dry_run=dry_run,
            thread_pool_size=thread_pool_size,
            internal=internal,
            use_jump_host=use_jump_host,
            providers=providers)
示例#2
0
def run(
    dry_run,
    thread_pool_size=10,
    internal=None,
    use_jump_host=True,
    cluster_name=None,
    namespace_name=None,
    defer=None,
):
    providers = ["resource", "resource-template"]
    orb.QONTRACT_INTEGRATION = QONTRACT_INTEGRATION
    orb.QONTRACT_INTEGRATION_VERSION = QONTRACT_INTEGRATION_VERSION

    ri = orb.run(
        dry_run=dry_run,
        thread_pool_size=thread_pool_size,
        internal=internal,
        use_jump_host=use_jump_host,
        providers=providers,
        cluster_name=cluster_name,
        namespace_name=namespace_name,
        init_api_resources=True,
    )

    # check for unused resources types
    # listed under `managedResourceTypes`
    ob.check_unused_resource_types(ri)
示例#3
0
def run(dry_run,
        thread_pool_size=10,
        internal=None,
        use_jump_host=True,
        cluster_name=None,
        namespace_name=None,
        defer=None):
    providers = ['route']
    orb.QONTRACT_INTEGRATION = QONTRACT_INTEGRATION
    orb.QONTRACT_INTEGRATION_VERSION = QONTRACT_INTEGRATION_VERSION

    orb.run(dry_run=dry_run,
            thread_pool_size=thread_pool_size,
            internal=internal,
            use_jump_host=use_jump_host,
            providers=providers,
            cluster_name=cluster_name,
            namespace_name=namespace_name)
示例#4
0
def run(dry_run, thread_pool_size=10, internal=None,
        use_jump_host=True, defer=None):
    providers = ['resource', 'resource-template']
    orb.QONTRACT_INTEGRATION = QONTRACT_INTEGRATION
    orb.QONTRACT_INTEGRATION_VERSION = QONTRACT_INTEGRATION_VERSION

    ri = orb.run(dry_run=dry_run,
                 thread_pool_size=thread_pool_size,
                 internal=internal,
                 use_jump_host=use_jump_host,
                 providers=providers)

    # check for unused resources types
    # listed under `managedResourceTypes`
    ob.check_unused_resource_types(ri)