зеркало из https://github.com/docker/node-sdk.git
Merge pull request #28 from chris-crone/rename-repo
Rename repo docker/api -> docker/compose-cli
This commit is contained in:
Коммит
64bb1939bd
|
@ -12,7 +12,7 @@ const download = async () => {
|
|||
|
||||
const latestReleases = await octokit.repos.listReleases({
|
||||
owner: 'docker',
|
||||
repo: 'api',
|
||||
repo: 'compose-cli',
|
||||
page: 1,
|
||||
per_page: 1,
|
||||
});
|
||||
|
@ -38,7 +38,7 @@ const download = async () => {
|
|||
Accept: 'application/octet-stream',
|
||||
},
|
||||
owner: 'docker',
|
||||
repo: 'api',
|
||||
repo: 'compose-cli',
|
||||
asset_id: linuxAsset.id,
|
||||
access_token: process.env.DOCKER_GITHUB_TOKEN,
|
||||
});
|
||||
|
|
|
@ -4,14 +4,14 @@ import { Readable } from 'stream';
|
|||
import { Octokit } from '@octokit/rest';
|
||||
|
||||
const octokit = new Octokit({
|
||||
auth: process.env.GITHUB_TOKEN,
|
||||
auth: process.env.DOCKER_GITHUB_TOKEN,
|
||||
});
|
||||
|
||||
const get = async (p: string) => {
|
||||
try {
|
||||
const response = await octokit.repos.getContent({
|
||||
owner: 'docker',
|
||||
repo: 'api',
|
||||
repo: 'compose-cli',
|
||||
path: p,
|
||||
});
|
||||
if (Array.isArray(response.data)) {
|
||||
|
|
|
@ -17,7 +17,7 @@ syntax = "proto3";
|
|||
|
||||
package com.docker.api.protos.compose.v1;
|
||||
|
||||
option go_package = "github.com/docker/api/protos/compose/v1;v1";
|
||||
option go_package = "github.com/docker/compose-cli/protos/compose/v1;v1";
|
||||
|
||||
service Compose {
|
||||
rpc Up(ComposeUpRequest) returns (ComposeUpResponse);
|
||||
|
|
|
@ -17,7 +17,7 @@ syntax = "proto3";
|
|||
|
||||
package com.docker.api.protos.containers.v1;
|
||||
|
||||
option go_package = "github.com/docker/api/protos/containers/v1;v1";
|
||||
option go_package = "github.com/docker/compose-cli/protos/containers/v1;v1";
|
||||
|
||||
service Containers {
|
||||
rpc List(ListRequest) returns (ListResponse);
|
||||
|
|
|
@ -17,7 +17,7 @@ syntax = "proto3";
|
|||
|
||||
package com.docker.api.protos.context.v1;
|
||||
|
||||
option go_package = "github.com/docker/api/protos/context/v1;v1";
|
||||
option go_package = "github.com/docker/compose-cli/protos/context/v1;v1";
|
||||
|
||||
service Contexts {
|
||||
// Sets the current request for all calls
|
||||
|
|
|
@ -19,7 +19,7 @@ package com.docker.api.protos.streams.v1;
|
|||
|
||||
import "google/protobuf/any.proto";
|
||||
|
||||
option go_package = "github.com/docker/api/protos/streams/v1;v1";
|
||||
option go_package = "github.com/docker/compose-cli/protos/streams/v1;v1";
|
||||
|
||||
service Streaming {
|
||||
rpc NewStream(stream google.protobuf.Any) returns (stream google.protobuf.Any);
|
||||
|
|
Загрузка…
Ссылка в новой задаче