How to use the sfctl.apiclient.mesh_code_package_create function in sfctl

To help you get started, we’ve selected a few sfctl examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github microsoft / service-fabric-cli / src / sfctl / commands.py View on Github external
# Mesh standard commands
        # ---------------
        with CommandGroup(self, 'mesh gateway', mesh_gateway_func_path,
                          client_factory=mesh_gateway_create) as group:
            group.command('show', 'get')
            group.command('delete', 'delete')
            group.command('list', 'list')

        with CommandGroup(self, 'mesh network', mesh_network_func_path,
                          client_factory=mesh_network_create) as group:
            group.command('show', 'get')
            group.command('delete', 'delete')
            group.command('list', 'list')

        with CommandGroup(self, 'mesh code-package-log', mesh_code_package_func_path,
                          client_factory=mesh_code_package_create) as group:
            group.command('get', 'get_container_logs')

        with CommandGroup(self, 'mesh secret', mesh_secret_func_path,
                          client_factory=mesh_secret_create) as group:
            group.command('show', 'get')
            group.command('delete', 'delete')
            group.command('list', 'list')

        with CommandGroup(self, 'mesh secretvalue', mesh_secret_value_func_path,
                          client_factory=mesh_secret_value_create) as group:
            group.command('delete', 'delete')
            group.command('list', 'list')

        with CommandGroup(self, 'mesh app', mesh_application_func_path,
                          client_factory=mesh_app_create) as group:
            group.command('show', 'get')