def transport_param(image):
transports = {SkopeoTransport.CONTAINERS_STORAGE: "<STR_LIT>",<EOL>SkopeoTransport.DIRECTORY: "<STR_LIT>",<EOL>SkopeoTransport.DOCKER: "<STR_LIT>",<EOL>SkopeoTransport.DOCKER_ARCHIVE: "<STR_LIT>",<EOL>SkopeoTransport.DOCKER_DAEMON: "<STR_LIT>",<EOL>SkopeoTransport.OCI: "<STR_LIT>",<EOL>SkopeoTransport.OSTREE: "<STR_LIT>"}<EOL>transport = image.transport<EOL>tag = image.tag<EOL>repository = image.name<EOL>path = image.path<EOL>if not transport:<EOL><INDENT>transport = SkopeoTransport.DOCKER<EOL><DEDENT>command = transports[transport]<EOL>path_required = [SkopeoTransport.DIRECTORY, SkopeoTransport.DOCKER_ARCHIVE, SkopeoTransport.OCI]<EOL>if transport in path_required and path is None:<EOL><INDENT>raise ValueError(transports[transport] + "<STR_LIT>")<EOL><DEDENT>if transport == SkopeoTransport.DIRECTORY:<EOL><INDENT>return command + path<EOL><DEDENT>if transport == SkopeoTransport.DOCKER_ARCHIVE:<EOL><INDENT>command += path<EOL>if repository is None:<EOL><INDENT>return command<EOL><DEDENT>command += "<STR_LIT::>"<EOL><DEDENT>if transport in [SkopeoTransport.CONTAINERS_STORAGE, SkopeoTransport.DOCKER,<EOL>SkopeoTransport.DOCKER_ARCHIVE, transport.DOCKER_DAEMON]:<EOL><INDENT>return command + repository + "<STR_LIT::>" + tag<EOL><DEDENT>if transport == SkopeoTransport.OCI:<EOL><INDENT>return command + path + "<STR_LIT::>" + tag<EOL><DEDENT>if transport == SkopeoTransport.OSTREE:<EOL><INDENT>return command + repository + ("<STR_LIT:@>" + path if path else "<STR_LIT>")<EOL><DEDENT>raise ConuException("<STR_LIT>")<EOL>
Parse DockerImage info into skopeo parameter

    :param image: DockerImage
    :return: string. skopeo parameter specifying image