Compare commits
	
		
			23 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					181812d321 | ||
| 
						 | 
					0d4bfc5e25 | ||
| 
						 | 
					33b33aff11 | ||
| 
						 | 
					506e03bbf7 | ||
| 
						 | 
					1f7385da36 | ||
| 
						 | 
					d0036f177f | ||
| 
						 | 
					07e3571a78 | ||
| 
						 | 
					3662cfb03c | ||
| 
						 | 
					9ba92162a4 | ||
| 
						 | 
					8ff7881971 | ||
| 
						 | 
					43be83330e | ||
| 
						 | 
					275f72de12 | ||
| 
						 | 
					e94cfea3c2 | ||
| 
						 | 
					c8d7e165a7 | ||
| 
						 | 
					bc608c302e | ||
| 
						 | 
					b5a4ee3b12 | ||
| 
						 | 
					5b8c1249e6 | ||
| 
						 | 
					e4f7f2410e | ||
| 
						 | 
					d8b95a2921 | ||
| 
						 | 
					513e6f4e07 | ||
| 
						 | 
					8146169e18 | ||
| 
						 | 
					a620ef1c32 | ||
| 
						 | 
					c81c9a4e7f | 
							
								
								
									
										23
									
								
								.babelrc
									
									
									
									
									
								
							
							
						
						
									
										23
									
								
								.babelrc
									
									
									
									
									
								
							@@ -1,18 +1,9 @@
 | 
			
		||||
{
 | 
			
		||||
  "presets": [
 | 
			
		||||
    [
 | 
			
		||||
      "@babel/preset-env",
 | 
			
		||||
      {
 | 
			
		||||
        "modules": false
 | 
			
		||||
      }
 | 
			
		||||
    ]
 | 
			
		||||
  ],
 | 
			
		||||
  "plugins": [
 | 
			
		||||
    [
 | 
			
		||||
      "@babel/plugin-transform-runtime",
 | 
			
		||||
      {
 | 
			
		||||
        "regenerator": true
 | 
			
		||||
      }
 | 
			
		||||
    ]
 | 
			
		||||
  ]
 | 
			
		||||
  "presets": [["@babel/preset-env", { "modules": false }]],
 | 
			
		||||
  "plugins": [["@babel/plugin-transform-runtime", { "regenerator": true }]],
 | 
			
		||||
  "env": {
 | 
			
		||||
    "test": {
 | 
			
		||||
      "presets": [["@babel/preset-env", { "targets": { "node": "current" } }]]
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								.github/goreleaser/Dockerfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/goreleaser/Dockerfile
									
									
									
									
										vendored
									
									
								
							@@ -1,4 +1,4 @@
 | 
			
		||||
FROM goreleaser/goreleaser:v0.106
 | 
			
		||||
FROM goreleaser/goreleaser:latest
 | 
			
		||||
 | 
			
		||||
RUN go get -u github.com/gobuffalo/packr/packr
 | 
			
		||||
RUN apk --no-cache add nodejs-current nodejs-npm && npm i -g npm
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										19
									
								
								.github/main.workflow
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										19
									
								
								.github/main.workflow
									
									
									
									
										vendored
									
									
								
							@@ -1,23 +1,28 @@
 | 
			
		||||
workflow "Release" {
 | 
			
		||||
workflow "Build, Test and Release" {
 | 
			
		||||
  on = "push"
 | 
			
		||||
  resolves = [
 | 
			
		||||
    "release",
 | 
			
		||||
    "Release",
 | 
			
		||||
  ]
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
action "test" {
 | 
			
		||||
action "go test" {
 | 
			
		||||
  uses = "./.github/golang/"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
action "is-tag" {
 | 
			
		||||
action "npm test" {
 | 
			
		||||
  uses = "actions/npm@master"
 | 
			
		||||
  args = "it"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
action "Tag" {
 | 
			
		||||
  uses = "actions/bin/filter@master"
 | 
			
		||||
  needs = ["test"]
 | 
			
		||||
  needs = ["go test", "npm test"]
 | 
			
		||||
  args = "tag"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
action "release" {
 | 
			
		||||
action "Release" {
 | 
			
		||||
  uses = "./.github/goreleaser/"
 | 
			
		||||
  needs = ["is-tag"]
 | 
			
		||||
  needs = ["Tag"]
 | 
			
		||||
  args = "release"
 | 
			
		||||
  secrets = ["GITHUB_TOKEN", "DOCKER_USERNAME", "DOCKER_PASSWORD"]
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -13,14 +13,14 @@ builds:
 | 
			
		||||
      - amd64
 | 
			
		||||
      - arm
 | 
			
		||||
      - arm64
 | 
			
		||||
archive:
 | 
			
		||||
  replacements:
 | 
			
		||||
    amd64: 64-bit
 | 
			
		||||
    386: 32-bit
 | 
			
		||||
    arm64: ARM_64-bit
 | 
			
		||||
    arm: ARM_32-bit
 | 
			
		||||
    linux: Linux
 | 
			
		||||
    darwin: Darwin
 | 
			
		||||
archives:
 | 
			
		||||
  - replacements:
 | 
			
		||||
      amd64: 64-bit
 | 
			
		||||
      386: 32-bit
 | 
			
		||||
      arm64: ARM_64-bit
 | 
			
		||||
      arm: ARM_32-bit
 | 
			
		||||
      linux: Linux
 | 
			
		||||
      darwin: Darwin
 | 
			
		||||
checksum:
 | 
			
		||||
  name_template: "checksums.txt"
 | 
			
		||||
snapshot:
 | 
			
		||||
@@ -36,3 +36,12 @@ dockers:
 | 
			
		||||
      - "amir20/dozzle:{{ .Tag }}"
 | 
			
		||||
      - "amir20/dozzle:v{{ .Major }}.{{ .Minor }}"
 | 
			
		||||
      - amir20/dozzle:latest
 | 
			
		||||
    build_flag_templates:
 | 
			
		||||
      - "--label=org.label-schema.schema-version=1.0"
 | 
			
		||||
      - "--label=org.label-schema.build-date={{.Date}}"
 | 
			
		||||
      - "--label=org.label-schema.vcs-ref={{.ShortCommit}}"
 | 
			
		||||
      - "--label=org.label-schema.version={{.Version}}"
 | 
			
		||||
      - "--label=org.label-schema.name=Dozzle"
 | 
			
		||||
      - "--label=org.label-schema.url=https://dozzle.dev/"
 | 
			
		||||
      - "--label=org.label-schema.vcs-url=https://github.com/amir20/dozzle"
 | 
			
		||||
      - "--label=org.label-schema.description=Dozzle is a real-time log viewer for docker containers."
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										45
									
								
								assets/App.spec.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										45
									
								
								assets/App.spec.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,45 @@
 | 
			
		||||
import fetchMock from "fetch-mock";
 | 
			
		||||
import EventSource from "eventsourcemock";
 | 
			
		||||
import { shallowMount, RouterLinkStub } from "@vue/test-utils";
 | 
			
		||||
import App from "./App";
 | 
			
		||||
 | 
			
		||||
describe("<App />", () => {
 | 
			
		||||
  const stubs = { RouterLink: RouterLinkStub, "router-view": true };
 | 
			
		||||
  beforeEach(() => {
 | 
			
		||||
    global.BASE_PATH = "";
 | 
			
		||||
    global.EventSource = EventSource;
 | 
			
		||||
    fetchMock.getOnce("/api/containers.json", [{ id: "abc", name: "Test 1" }, { id: "xyz", name: "Test 2" }]);
 | 
			
		||||
  });
 | 
			
		||||
  afterEach(() => fetchMock.reset());
 | 
			
		||||
 | 
			
		||||
  test("is a Vue instance", async () => {
 | 
			
		||||
    const wrapper = shallowMount(App, { stubs });
 | 
			
		||||
    expect(wrapper.isVueInstance()).toBeTruthy();
 | 
			
		||||
  });
 | 
			
		||||
 | 
			
		||||
  test("has right title", async () => {
 | 
			
		||||
    const wrapper = shallowMount(App, { stubs });
 | 
			
		||||
    await fetchMock.flush();
 | 
			
		||||
    expect(wrapper.vm.title).toContain("2 containers");
 | 
			
		||||
  });
 | 
			
		||||
 | 
			
		||||
  test("renders correctly", async () => {
 | 
			
		||||
    const wrapper = shallowMount(App, { stubs });
 | 
			
		||||
    await fetchMock.flush();
 | 
			
		||||
    expect(wrapper.element).toMatchSnapshot();
 | 
			
		||||
  });
 | 
			
		||||
 | 
			
		||||
  test("renders router-link correctly", async () => {
 | 
			
		||||
    const wrapper = shallowMount(App, { stubs });
 | 
			
		||||
    await fetchMock.flush();
 | 
			
		||||
    expect(wrapper.find(RouterLinkStub).props().to).toMatchInlineSnapshot(`
 | 
			
		||||
      Object {
 | 
			
		||||
        "name": "container",
 | 
			
		||||
        "params": Object {
 | 
			
		||||
          "id": "abc",
 | 
			
		||||
          "name": "Test 1",
 | 
			
		||||
        },
 | 
			
		||||
      }
 | 
			
		||||
    `);
 | 
			
		||||
  });
 | 
			
		||||
});
 | 
			
		||||
@@ -31,19 +31,19 @@ export default {
 | 
			
		||||
  name: "App",
 | 
			
		||||
  data() {
 | 
			
		||||
    return {
 | 
			
		||||
      title: "Dozzle",
 | 
			
		||||
      title: "",
 | 
			
		||||
      containers: [],
 | 
			
		||||
      showNav: false
 | 
			
		||||
    };
 | 
			
		||||
  },
 | 
			
		||||
  metaInfo() {
 | 
			
		||||
    return {
 | 
			
		||||
      title: this.title
 | 
			
		||||
      title: this.title,
 | 
			
		||||
      titleTemplate: "%s - Dozzle"
 | 
			
		||||
    };
 | 
			
		||||
  },
 | 
			
		||||
  async created() {
 | 
			
		||||
    await this.fetchContainerList();
 | 
			
		||||
    this.title = `${this.containers.length} containers - Dozzle`;
 | 
			
		||||
    es = new EventSource(`${BASE_PATH}/api/events/stream`);
 | 
			
		||||
    es.addEventListener("containers-changed", e => setTimeout(this.fetchContainerList, 1000), false);
 | 
			
		||||
  },
 | 
			
		||||
@@ -56,6 +56,7 @@ export default {
 | 
			
		||||
  methods: {
 | 
			
		||||
    async fetchContainerList() {
 | 
			
		||||
      this.containers = await (await fetch(`${BASE_PATH}/api/containers.json`)).json();
 | 
			
		||||
      this.title = `${this.containers.length} containers`;
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  watch: {
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										63
									
								
								assets/__snapshots__/App.spec.js.snap
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										63
									
								
								assets/__snapshots__/App.spec.js.snap
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,63 @@
 | 
			
		||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
 | 
			
		||||
 | 
			
		||||
exports[`<App /> renders correctly 1`] = `
 | 
			
		||||
<div
 | 
			
		||||
  class="columns is-marginless"
 | 
			
		||||
>
 | 
			
		||||
  <aside
 | 
			
		||||
    class="column menu is-2-desktop is-3-tablet"
 | 
			
		||||
  >
 | 
			
		||||
    <a
 | 
			
		||||
      class="navbar-burger burger is-white is-hidden-tablet is-pulled-right"
 | 
			
		||||
      role="button"
 | 
			
		||||
    >
 | 
			
		||||
      <span />
 | 
			
		||||
       
 | 
			
		||||
      <span />
 | 
			
		||||
       
 | 
			
		||||
      <span />
 | 
			
		||||
    </a>
 | 
			
		||||
     
 | 
			
		||||
    <h1
 | 
			
		||||
      class="title has-text-warning is-marginless"
 | 
			
		||||
    >
 | 
			
		||||
      Dozzle
 | 
			
		||||
    </h1>
 | 
			
		||||
     
 | 
			
		||||
    <p
 | 
			
		||||
      class="menu-label is-hidden-mobile"
 | 
			
		||||
    >
 | 
			
		||||
      Containers
 | 
			
		||||
    </p>
 | 
			
		||||
     
 | 
			
		||||
    <ul
 | 
			
		||||
      class="menu-list is-hidden-mobile"
 | 
			
		||||
    >
 | 
			
		||||
      <li>
 | 
			
		||||
        <a>
 | 
			
		||||
          <div
 | 
			
		||||
            class="hide-overflow"
 | 
			
		||||
          >
 | 
			
		||||
            Test 1
 | 
			
		||||
          </div>
 | 
			
		||||
        </a>
 | 
			
		||||
      </li>
 | 
			
		||||
      <li>
 | 
			
		||||
        <a>
 | 
			
		||||
          <div
 | 
			
		||||
            class="hide-overflow"
 | 
			
		||||
          >
 | 
			
		||||
            Test 2
 | 
			
		||||
          </div>
 | 
			
		||||
        </a>
 | 
			
		||||
      </li>
 | 
			
		||||
    </ul>
 | 
			
		||||
  </aside>
 | 
			
		||||
   
 | 
			
		||||
  <div
 | 
			
		||||
    class="column is-offset-2-desktop is-offset-3-tablet"
 | 
			
		||||
  >
 | 
			
		||||
    <router-view-stub />
 | 
			
		||||
  </div>
 | 
			
		||||
</div>
 | 
			
		||||
`;
 | 
			
		||||
							
								
								
									
										63
									
								
								assets/__snapshots__/app.spec.js.snap
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										63
									
								
								assets/__snapshots__/app.spec.js.snap
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,63 @@
 | 
			
		||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
 | 
			
		||||
 | 
			
		||||
exports[`<App /> renders correctly 1`] = `
 | 
			
		||||
<div
 | 
			
		||||
  class="columns is-marginless"
 | 
			
		||||
>
 | 
			
		||||
  <aside
 | 
			
		||||
    class="column menu is-2-desktop is-3-tablet"
 | 
			
		||||
  >
 | 
			
		||||
    <a
 | 
			
		||||
      class="navbar-burger burger is-white is-hidden-tablet is-pulled-right"
 | 
			
		||||
      role="button"
 | 
			
		||||
    >
 | 
			
		||||
      <span />
 | 
			
		||||
       
 | 
			
		||||
      <span />
 | 
			
		||||
       
 | 
			
		||||
      <span />
 | 
			
		||||
    </a>
 | 
			
		||||
     
 | 
			
		||||
    <h1
 | 
			
		||||
      class="title has-text-warning is-marginless"
 | 
			
		||||
    >
 | 
			
		||||
      Dozzle
 | 
			
		||||
    </h1>
 | 
			
		||||
     
 | 
			
		||||
    <p
 | 
			
		||||
      class="menu-label is-hidden-mobile"
 | 
			
		||||
    >
 | 
			
		||||
      Containers
 | 
			
		||||
    </p>
 | 
			
		||||
     
 | 
			
		||||
    <ul
 | 
			
		||||
      class="menu-list is-hidden-mobile"
 | 
			
		||||
    >
 | 
			
		||||
      <li>
 | 
			
		||||
        <a>
 | 
			
		||||
          <div
 | 
			
		||||
            class="hide-overflow"
 | 
			
		||||
          >
 | 
			
		||||
            Test 1
 | 
			
		||||
          </div>
 | 
			
		||||
        </a>
 | 
			
		||||
      </li>
 | 
			
		||||
      <li>
 | 
			
		||||
        <a>
 | 
			
		||||
          <div
 | 
			
		||||
            class="hide-overflow"
 | 
			
		||||
          >
 | 
			
		||||
            Test 2
 | 
			
		||||
          </div>
 | 
			
		||||
        </a>
 | 
			
		||||
      </li>
 | 
			
		||||
    </ul>
 | 
			
		||||
  </aside>
 | 
			
		||||
   
 | 
			
		||||
  <div
 | 
			
		||||
    class="column is-offset-2-desktop is-offset-3-tablet"
 | 
			
		||||
  >
 | 
			
		||||
    <router-view-stub />
 | 
			
		||||
  </div>
 | 
			
		||||
</div>
 | 
			
		||||
`;
 | 
			
		||||
							
								
								
									
										45
									
								
								assets/app.spec.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										45
									
								
								assets/app.spec.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,45 @@
 | 
			
		||||
import fetchMock from "fetch-mock";
 | 
			
		||||
import EventSource from "eventsourcemock";
 | 
			
		||||
import { shallowMount, RouterLinkStub } from "@vue/test-utils";
 | 
			
		||||
import App from "./App";
 | 
			
		||||
 | 
			
		||||
describe("<App />", () => {
 | 
			
		||||
  const stubs = { RouterLink: RouterLinkStub, "router-view": true };
 | 
			
		||||
  beforeEach(() => {
 | 
			
		||||
    global.BASE_PATH = "";
 | 
			
		||||
    global.EventSource = EventSource;
 | 
			
		||||
    fetchMock.getOnce("/api/containers.json", [{ id: "abc", name: "Test 1" }, { id: "xyz", name: "Test 2" }]);
 | 
			
		||||
  });
 | 
			
		||||
  afterEach(() => fetchMock.reset());
 | 
			
		||||
 | 
			
		||||
  test("is a Vue instance", async () => {
 | 
			
		||||
    const wrapper = shallowMount(App, { stubs });
 | 
			
		||||
    expect(wrapper.isVueInstance()).toBeTruthy();
 | 
			
		||||
  });
 | 
			
		||||
 | 
			
		||||
  test("has right title", async () => {
 | 
			
		||||
    const wrapper = shallowMount(App, { stubs });
 | 
			
		||||
    await fetchMock.flush();
 | 
			
		||||
    expect(wrapper.vm.title).toContain("2 containers");
 | 
			
		||||
  });
 | 
			
		||||
 | 
			
		||||
  test("renders correctly", async () => {
 | 
			
		||||
    const wrapper = shallowMount(App, { stubs });
 | 
			
		||||
    await fetchMock.flush();
 | 
			
		||||
    expect(wrapper.element).toMatchSnapshot();
 | 
			
		||||
  });
 | 
			
		||||
 | 
			
		||||
  test("renders router-link correctly", async () => {
 | 
			
		||||
    const wrapper = shallowMount(App, { stubs });
 | 
			
		||||
    await fetchMock.flush();
 | 
			
		||||
    expect(wrapper.find(RouterLinkStub).props().to).toMatchInlineSnapshot(`
 | 
			
		||||
      Object {
 | 
			
		||||
        "name": "container",
 | 
			
		||||
        "params": Object {
 | 
			
		||||
          "id": "abc",
 | 
			
		||||
          "name": "Test 1",
 | 
			
		||||
        },
 | 
			
		||||
      }
 | 
			
		||||
    `);
 | 
			
		||||
  });
 | 
			
		||||
});
 | 
			
		||||
							
								
								
									
										55
									
								
								assets/pages/Container.spec.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										55
									
								
								assets/pages/Container.spec.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,55 @@
 | 
			
		||||
import EventSource from "eventsourcemock";
 | 
			
		||||
import { sources } from "eventsourcemock";
 | 
			
		||||
import { shallowMount } from "@vue/test-utils";
 | 
			
		||||
import Container from "./Container";
 | 
			
		||||
 | 
			
		||||
describe("<Container />", () => {
 | 
			
		||||
  beforeEach(() => {
 | 
			
		||||
    global.BASE_PATH = "";
 | 
			
		||||
    global.EventSource = EventSource;
 | 
			
		||||
  });
 | 
			
		||||
 | 
			
		||||
  test("is a Vue instance", async () => {
 | 
			
		||||
    const wrapper = shallowMount(Container);
 | 
			
		||||
    expect(wrapper.isVueInstance()).toBeTruthy();
 | 
			
		||||
  });
 | 
			
		||||
 | 
			
		||||
  test("renders correctly", async () => {
 | 
			
		||||
    const wrapper = shallowMount(Container);
 | 
			
		||||
    expect(wrapper.element).toMatchSnapshot();
 | 
			
		||||
  });
 | 
			
		||||
 | 
			
		||||
  test("should connect to EventSource", async () => {
 | 
			
		||||
    shallowMount(Container, {
 | 
			
		||||
      propsData: { id: "abc" }
 | 
			
		||||
    });
 | 
			
		||||
    sources["/api/logs/stream?id=abc"].emitOpen();
 | 
			
		||||
    expect(sources["/api/logs/stream?id=abc"].readyState).toBe(1);
 | 
			
		||||
  });
 | 
			
		||||
 | 
			
		||||
  test("should close EventSource", async () => {
 | 
			
		||||
    const wrapper = shallowMount(Container, {
 | 
			
		||||
      propsData: { id: "abc" }
 | 
			
		||||
    });
 | 
			
		||||
    sources["/api/logs/stream?id=abc"].emitOpen();
 | 
			
		||||
    wrapper.destroy();
 | 
			
		||||
    expect(sources["/api/logs/stream?id=abc"].readyState).toBe(2);
 | 
			
		||||
  });
 | 
			
		||||
 | 
			
		||||
  test("should parse messages", async () => {
 | 
			
		||||
    const wrapper = shallowMount(Container, {
 | 
			
		||||
      propsData: { id: "abc" }
 | 
			
		||||
    });
 | 
			
		||||
    sources["/api/logs/stream?id=abc"].emitOpen();
 | 
			
		||||
    sources["/api/logs/stream?id=abc"].emitMessage({ data: `2019-06-13T00:55:42.459034602Z "This is a message."` });
 | 
			
		||||
    const [{ dateRelative, ...other }, _] = wrapper.vm.messages;
 | 
			
		||||
 | 
			
		||||
    expect(other).toMatchInlineSnapshot(`
 | 
			
		||||
      Object {
 | 
			
		||||
        "date": 2019-06-13T00:55:42.459Z,
 | 
			
		||||
        "key": 0,
 | 
			
		||||
        "message": " \\"This is a message.\\"",
 | 
			
		||||
      }
 | 
			
		||||
    `);
 | 
			
		||||
  });
 | 
			
		||||
});
 | 
			
		||||
@@ -23,14 +23,18 @@
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
import { formatRelative } from "date-fns";
 | 
			
		||||
import AnsiConvertor from "ansi-to-html";
 | 
			
		||||
import ScrollbarNotification from "../components/ScrollbarNotification";
 | 
			
		||||
 | 
			
		||||
const ansiConvertor = new AnsiConvertor();
 | 
			
		||||
 | 
			
		||||
let es = null;
 | 
			
		||||
let nextId = 0;
 | 
			
		||||
const parseMessage = data => {
 | 
			
		||||
 | 
			
		||||
function parseMessage(data) {
 | 
			
		||||
  const date = new Date(data.substring(0, 30));
 | 
			
		||||
  const dateRelative = formatRelative(date, new Date());
 | 
			
		||||
  const message = data.substring(30);
 | 
			
		||||
  const message = ansiConvertor.toHtml(data.substring(30));
 | 
			
		||||
  const key = nextId++;
 | 
			
		||||
  return {
 | 
			
		||||
    key,
 | 
			
		||||
@@ -38,7 +42,7 @@ const parseMessage = data => {
 | 
			
		||||
    dateRelative,
 | 
			
		||||
    message
 | 
			
		||||
  };
 | 
			
		||||
};
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export default {
 | 
			
		||||
  props: ["id", "name"],
 | 
			
		||||
@@ -91,7 +95,7 @@ export default {
 | 
			
		||||
      }
 | 
			
		||||
      es = new EventSource(`${BASE_PATH}/api/logs/stream?id=${id}`);
 | 
			
		||||
      es.onmessage = e => this.messages.push(parseMessage(e.data));
 | 
			
		||||
      this.title = `${this.name} - Dozzle`;
 | 
			
		||||
      this.title = `${this.name}`;
 | 
			
		||||
    },
 | 
			
		||||
    onKeyDown(e) {
 | 
			
		||||
      if ((e.metaKey || e.ctrlKey) && e.key === "f") {
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										14
									
								
								assets/pages/Index.spec.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								assets/pages/Index.spec.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
import { shallowMount } from "@vue/test-utils";
 | 
			
		||||
import Index from "./Index";
 | 
			
		||||
 | 
			
		||||
describe("<Index />", () => {
 | 
			
		||||
  test("is a Vue instance", () => {
 | 
			
		||||
    const wrapper = shallowMount(Index);
 | 
			
		||||
    expect(wrapper.isVueInstance()).toBeTruthy();
 | 
			
		||||
  });
 | 
			
		||||
 | 
			
		||||
  test("renders correctly", () => {
 | 
			
		||||
    const wrapper = shallowMount(Index);
 | 
			
		||||
    expect(wrapper.element).toMatchSnapshot();
 | 
			
		||||
  });
 | 
			
		||||
});
 | 
			
		||||
							
								
								
									
										50
									
								
								assets/pages/__snapshots__/Container.spec.js.snap
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										50
									
								
								assets/pages/__snapshots__/Container.spec.js.snap
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,50 @@
 | 
			
		||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
 | 
			
		||||
 | 
			
		||||
exports[`<Container /> renders correctly 1`] = `
 | 
			
		||||
<div
 | 
			
		||||
  class="is-fullheight"
 | 
			
		||||
>
 | 
			
		||||
  <div
 | 
			
		||||
    class="search columns is-gapless is-vcentered"
 | 
			
		||||
    style="display: none;"
 | 
			
		||||
  >
 | 
			
		||||
    <div
 | 
			
		||||
      class="column"
 | 
			
		||||
    >
 | 
			
		||||
      <p
 | 
			
		||||
        class="control has-icons-left"
 | 
			
		||||
      >
 | 
			
		||||
        <input
 | 
			
		||||
          class="input"
 | 
			
		||||
          placeholder="Filter"
 | 
			
		||||
          type="text"
 | 
			
		||||
        />
 | 
			
		||||
         
 | 
			
		||||
        <span
 | 
			
		||||
          class="icon is-small is-left"
 | 
			
		||||
        >
 | 
			
		||||
          <i
 | 
			
		||||
            class="fas fa-search"
 | 
			
		||||
          />
 | 
			
		||||
        </span>
 | 
			
		||||
      </p>
 | 
			
		||||
    </div>
 | 
			
		||||
     
 | 
			
		||||
    <div
 | 
			
		||||
      class="column is-1 has-text-centered"
 | 
			
		||||
    >
 | 
			
		||||
      <button
 | 
			
		||||
        class="delete is-medium"
 | 
			
		||||
      />
 | 
			
		||||
    </div>
 | 
			
		||||
  </div>
 | 
			
		||||
   
 | 
			
		||||
  <ul
 | 
			
		||||
    class="events"
 | 
			
		||||
  />
 | 
			
		||||
   
 | 
			
		||||
  <scrollbar-notification-stub
 | 
			
		||||
    messages=""
 | 
			
		||||
  />
 | 
			
		||||
</div>
 | 
			
		||||
`;
 | 
			
		||||
							
								
								
									
										21
									
								
								assets/pages/__snapshots__/Index.spec.js.snap
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								assets/pages/__snapshots__/Index.spec.js.snap
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
 | 
			
		||||
 | 
			
		||||
exports[`<Index /> renders correctly 1`] = `
 | 
			
		||||
<div
 | 
			
		||||
  class="hero is-fullheight is-dark"
 | 
			
		||||
>
 | 
			
		||||
  <div
 | 
			
		||||
    class="hero-body"
 | 
			
		||||
  >
 | 
			
		||||
    <div
 | 
			
		||||
      class="container has-text-centered"
 | 
			
		||||
    >
 | 
			
		||||
      <h1
 | 
			
		||||
        class="title"
 | 
			
		||||
      >
 | 
			
		||||
        Please choose a container from the list to view the logs
 | 
			
		||||
      </h1>
 | 
			
		||||
    </div>
 | 
			
		||||
  </div>
 | 
			
		||||
</div>
 | 
			
		||||
`;
 | 
			
		||||
							
								
								
									
										10
									
								
								go.mod
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								go.mod
									
									
									
									
									
								
							@@ -21,24 +21,20 @@ require (
 | 
			
		||||
	github.com/docker/go-units v0.4.0 // indirect
 | 
			
		||||
	github.com/gobuffalo/packd v0.1.0 // indirect
 | 
			
		||||
	github.com/gobuffalo/packr v1.25.0
 | 
			
		||||
	github.com/gogo/protobuf v1.2.1 // indirect
 | 
			
		||||
	github.com/google/go-cmp v0.3.0 // indirect
 | 
			
		||||
	github.com/gorilla/mux v1.7.1
 | 
			
		||||
	github.com/gorilla/mux v1.7.2
 | 
			
		||||
	github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect
 | 
			
		||||
	github.com/magiconair/properties v1.8.1
 | 
			
		||||
	github.com/opencontainers/go-digest v1.0.0-rc1 // indirect
 | 
			
		||||
	github.com/opencontainers/image-spec v1.0.1 // indirect
 | 
			
		||||
	github.com/sergi/go-diff v1.0.0 // indirect
 | 
			
		||||
	github.com/sirupsen/logrus v1.4.1
 | 
			
		||||
	github.com/sirupsen/logrus v1.4.2
 | 
			
		||||
	github.com/spf13/pflag v1.0.3
 | 
			
		||||
	github.com/spf13/viper v1.3.2
 | 
			
		||||
	github.com/spf13/viper v1.4.0
 | 
			
		||||
	github.com/stretchr/objx v0.2.0 // indirect
 | 
			
		||||
	github.com/stretchr/testify v1.3.0
 | 
			
		||||
	golang.org/x/net v0.0.0-20190509222800-a4d6f7feada5 // indirect
 | 
			
		||||
	golang.org/x/sync v0.0.0-20190423024810-112230192c58 // indirect
 | 
			
		||||
	golang.org/x/sys v0.0.0-20190509141414-a5b02f93d862 // indirect
 | 
			
		||||
	golang.org/x/text v0.3.2 // indirect
 | 
			
		||||
	golang.org/x/time v0.0.0-20190308202827-9d24e82272b4 // indirect
 | 
			
		||||
	google.golang.org/grpc v1.20.1 // indirect
 | 
			
		||||
	gotest.tools v2.2.0+incompatible // indirect
 | 
			
		||||
)
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										76
									
								
								go.sum
									
									
									
									
									
								
							
							
						
						
									
										76
									
								
								go.sum
									
									
									
									
									
								
							@@ -6,16 +6,27 @@ github.com/Microsoft/go-winio v0.4.12 h1:xAfWHN1IrQ0NJ9TBC0KBZoqLjzDTr1ML+4MywiU
 | 
			
		||||
github.com/Microsoft/go-winio v0.4.12/go.mod h1:VhR8bwka0BXejwEJY73c50VrPtXAaKcyvVC4A4RozmA=
 | 
			
		||||
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 h1:TngWCqHvy9oXAN6lEVMRuU21PR1EtLVZJmdB18Gu3Rw=
 | 
			
		||||
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5/go.mod h1:lmUJ/7eu/Q8D7ML55dXQrVaamCz2vxCfdQBasLZfHKk=
 | 
			
		||||
github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
 | 
			
		||||
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
 | 
			
		||||
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
 | 
			
		||||
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8=
 | 
			
		||||
github.com/beme/abide v0.0.0-20181227202223-4c487ef9d895 h1:gKYojZRR5Nko2XJrcAEiQpBQbir/wzsNqGqtOjKJU6g=
 | 
			
		||||
github.com/beme/abide v0.0.0-20181227202223-4c487ef9d895/go.mod h1:6+8gCKsZnxzhGTmKRh4BSkLos9CbWRJNcrp55We4SqQ=
 | 
			
		||||
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
 | 
			
		||||
github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8=
 | 
			
		||||
github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc=
 | 
			
		||||
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
 | 
			
		||||
github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk=
 | 
			
		||||
github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
 | 
			
		||||
github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk=
 | 
			
		||||
github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk=
 | 
			
		||||
github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
 | 
			
		||||
github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA=
 | 
			
		||||
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
 | 
			
		||||
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
 | 
			
		||||
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
 | 
			
		||||
github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ=
 | 
			
		||||
github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no=
 | 
			
		||||
github.com/docker/distribution v2.6.0-rc.1.0.20180820212402-02bf4a2887a4+incompatible h1:x3ZXVm6ovZmIA+s9MEdSXjdyd5Zbd5VPBcda2KrSuWk=
 | 
			
		||||
github.com/docker/distribution v2.6.0-rc.1.0.20180820212402-02bf4a2887a4+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
 | 
			
		||||
github.com/docker/engine v0.0.0-20180816081446-320063a2ad06 h1:CcxlLWAS/9b46iqHDTBlALJZF9atXVNjeymdCNrUfnY=
 | 
			
		||||
@@ -26,6 +37,11 @@ github.com/docker/go-units v0.4.0 h1:3uh0PgVws3nIA0Q+MwDC8yjEPf9zjRfZZWXZYDct3Tw
 | 
			
		||||
github.com/docker/go-units v0.4.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk=
 | 
			
		||||
github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I=
 | 
			
		||||
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
 | 
			
		||||
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
 | 
			
		||||
github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
 | 
			
		||||
github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE=
 | 
			
		||||
github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk=
 | 
			
		||||
github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY=
 | 
			
		||||
github.com/gobuffalo/attrs v0.0.0-20190224210810-a9411de4debd/go.mod h1:4duuawTqi2wkkpB4ePgWMaai6/Kc6WEz83bhFwpHzj0=
 | 
			
		||||
github.com/gobuffalo/depgen v0.0.0-20190329151759-d478694a28d3/go.mod h1:3STtPUQYuzV0gBVOY3vy6CfMm/ljR4pABfrTeHNLHUY=
 | 
			
		||||
github.com/gobuffalo/envy v1.6.15/go.mod h1:n7DRkBerg/aorDM8kbduw5dN3oXGswK5liaSCx4T5NI=
 | 
			
		||||
@@ -50,28 +66,42 @@ github.com/gobuffalo/packr/v2 v2.0.9/go.mod h1:emmyGweYTm6Kdper+iywB6YK5YzuKchGt
 | 
			
		||||
github.com/gobuffalo/packr/v2 v2.1.0/go.mod h1:n90ZuXIc2KN2vFAOQascnPItp9A2g9QYSvYvS3AjQEM=
 | 
			
		||||
github.com/gobuffalo/syncx v0.0.0-20190224160051-33c29581e754 h1:tpom+2CJmpzAWj5/VEHync2rJGi+epHNIeRSWjzGA+4=
 | 
			
		||||
github.com/gobuffalo/syncx v0.0.0-20190224160051-33c29581e754/go.mod h1:HhnNqWY95UYwwW3uSASeV7vtgYkT2t16hJgV3AEPUpw=
 | 
			
		||||
github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
 | 
			
		||||
github.com/gogo/protobuf v1.2.1 h1:/s5zKNz0uPFCZ5hddgPdo2TK2TVrUNMn0OOX8/aZMTE=
 | 
			
		||||
github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4=
 | 
			
		||||
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58=
 | 
			
		||||
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
 | 
			
		||||
github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
 | 
			
		||||
github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
 | 
			
		||||
github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM=
 | 
			
		||||
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
 | 
			
		||||
github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
 | 
			
		||||
github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
 | 
			
		||||
github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
 | 
			
		||||
github.com/google/go-cmp v0.3.0 h1:crn/baboCvb5fXaQ0IJ1SGTsTVrWpDsCWC8EGETZijY=
 | 
			
		||||
github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
 | 
			
		||||
github.com/gorilla/mux v1.7.1 h1:Dw4jY2nghMMRsh1ol8dv1axHkDwMQK2DHerMNJsIpJU=
 | 
			
		||||
github.com/gorilla/mux v1.7.1/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs=
 | 
			
		||||
github.com/gorilla/mux v1.7.2 h1:zoNxOV7WjqXptQOVngLmcSQgXmgk4NMz1HibBchjl/I=
 | 
			
		||||
github.com/gorilla/mux v1.7.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs=
 | 
			
		||||
github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ=
 | 
			
		||||
github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs=
 | 
			
		||||
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk=
 | 
			
		||||
github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY=
 | 
			
		||||
github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
 | 
			
		||||
github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
 | 
			
		||||
github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
 | 
			
		||||
github.com/joho/godotenv v1.3.0 h1:Zjp+RcGpHhGlrMbJzXTrZZPrWj+1vfm90La1wgB6Bhc=
 | 
			
		||||
github.com/joho/godotenv v1.3.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg=
 | 
			
		||||
github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo=
 | 
			
		||||
github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
 | 
			
		||||
github.com/karrick/godirwalk v1.8.0/go.mod h1:H5KPZjojv4lE+QYImBI8xVtrBRgYrIVsaRPx4tDPEn4=
 | 
			
		||||
github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q=
 | 
			
		||||
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
 | 
			
		||||
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
 | 
			
		||||
github.com/konsorten/go-windows-terminal-sequences v1.0.2 h1:DB17ag19krx9CFsz4o3enTrPXyIXCl+2iCXH/aMAp9s=
 | 
			
		||||
github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
 | 
			
		||||
github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
 | 
			
		||||
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
 | 
			
		||||
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
 | 
			
		||||
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
 | 
			
		||||
@@ -80,8 +110,11 @@ github.com/magiconair/properties v1.8.1 h1:ZC2Vc7/ZFkGmsVC9KvOjumD+G5lXy2RtTKyzR
 | 
			
		||||
github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
 | 
			
		||||
github.com/markbates/oncer v0.0.0-20181203154359-bf2de49a0be2/go.mod h1:Ld9puTsIW75CHf65OeIOkyKbteujpZVXDpWK6YGZbxE=
 | 
			
		||||
github.com/markbates/safe v1.0.1/go.mod h1:nAqgmRi7cY2nqMc92/bSEeQA+R4OheNU2T1kNSCBdG0=
 | 
			
		||||
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
 | 
			
		||||
github.com/mitchellh/mapstructure v1.1.2 h1:fmNYVwqnSfB9mZU6OS2O6GsXM+wcskZDuKQzvN1EDeE=
 | 
			
		||||
github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
 | 
			
		||||
github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U=
 | 
			
		||||
github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U=
 | 
			
		||||
github.com/opencontainers/go-digest v1.0.0-rc1 h1:WzifXhOVOEOuFYOJAW6aQqW0TooG2iki3E3Ii+WN7gQ=
 | 
			
		||||
github.com/opencontainers/go-digest v1.0.0-rc1/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s=
 | 
			
		||||
github.com/opencontainers/image-spec v1.0.1 h1:JMemWkRwHx4Zj+fVxWoMCFm/8sYGGrUVojFA6h/TRcI=
 | 
			
		||||
@@ -93,15 +126,30 @@ github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=
 | 
			
		||||
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
 | 
			
		||||
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
 | 
			
		||||
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
 | 
			
		||||
github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw=
 | 
			
		||||
github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso=
 | 
			
		||||
github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
 | 
			
		||||
github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
 | 
			
		||||
github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro=
 | 
			
		||||
github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4=
 | 
			
		||||
github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
 | 
			
		||||
github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA=
 | 
			
		||||
github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU=
 | 
			
		||||
github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg=
 | 
			
		||||
github.com/rogpeppe/go-internal v1.1.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
 | 
			
		||||
github.com/rogpeppe/go-internal v1.2.2/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
 | 
			
		||||
github.com/rogpeppe/go-internal v1.3.0 h1:RR9dF3JtopPvtkroDZuVD7qquD0bnHlKSqaQhgwt8yk=
 | 
			
		||||
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
 | 
			
		||||
github.com/sergi/go-diff v1.0.0 h1:Kpca3qRNrduNnOQeazBd0ysaKrUJiIuISHxogkT9RPQ=
 | 
			
		||||
github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo=
 | 
			
		||||
github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
 | 
			
		||||
github.com/sirupsen/logrus v1.4.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
 | 
			
		||||
github.com/sirupsen/logrus v1.4.1 h1:GL2rEmy6nsikmW0r8opw9JIRScdMF5hA8cOYLH7In1k=
 | 
			
		||||
github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q=
 | 
			
		||||
github.com/sirupsen/logrus v1.4.2 h1:SPIRibHv4MatM3XXNO2BJeFLZwZ2LvZgfQ5+UNI2im4=
 | 
			
		||||
github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
 | 
			
		||||
github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM=
 | 
			
		||||
github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA=
 | 
			
		||||
github.com/spf13/afero v1.1.2 h1:m8/z1t7/fwjysjQRYbP0RD+bUIF/8tJwPdEZsI83ACI=
 | 
			
		||||
github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ=
 | 
			
		||||
github.com/spf13/cast v1.3.0 h1:oget//CVOEoFewqQxwr0Ej5yjygnqGkvggSE/gB35Q8=
 | 
			
		||||
@@ -113,6 +161,8 @@ github.com/spf13/pflag v1.0.3 h1:zPAT6CGy6wXeQ7NtTnaTerfKOsV6V6F8agHXFiazDkg=
 | 
			
		||||
github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
 | 
			
		||||
github.com/spf13/viper v1.3.2 h1:VUFqw5KcqRf7i70GOzW7N+Q7+gxVBkSSqiXB12+JQ4M=
 | 
			
		||||
github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s=
 | 
			
		||||
github.com/spf13/viper v1.4.0 h1:yXHLWeravcrgGyFSyCgdYpXQ9dR9c/WED3pg1RhxqEU=
 | 
			
		||||
github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE=
 | 
			
		||||
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
 | 
			
		||||
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
 | 
			
		||||
github.com/stretchr/objx v0.2.0 h1:Hbg2NidpLE8veEBkEZTL3CvlkUIVzuU9jDplZO54c48=
 | 
			
		||||
@@ -120,26 +170,45 @@ github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoH
 | 
			
		||||
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
 | 
			
		||||
github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q=
 | 
			
		||||
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
 | 
			
		||||
github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
 | 
			
		||||
github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc=
 | 
			
		||||
github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0=
 | 
			
		||||
github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU=
 | 
			
		||||
github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q=
 | 
			
		||||
go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=
 | 
			
		||||
go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=
 | 
			
		||||
go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0=
 | 
			
		||||
go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q=
 | 
			
		||||
golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
 | 
			
		||||
golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
 | 
			
		||||
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
 | 
			
		||||
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
 | 
			
		||||
golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
 | 
			
		||||
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
 | 
			
		||||
golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
 | 
			
		||||
golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
 | 
			
		||||
golang.org/x/net v0.0.0-20190311183353-d8887717615a h1:oWX7TPOiFAMXLq8o0ikBYfCJVlRHBcsciT5bXOrH628=
 | 
			
		||||
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
 | 
			
		||||
golang.org/x/net v0.0.0-20190509222800-a4d6f7feada5 h1:6M3SDHlHHDCx2PcQw3S4KsR170vGqDhJDOmpVd4Hjak=
 | 
			
		||||
golang.org/x/net v0.0.0-20190509222800-a4d6f7feada5/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
 | 
			
		||||
golang.org/x/net v0.0.0-20190522155817-f3200d17e092 h1:4QSRKanuywn15aTZvI/mIDEgPQpswuFndXpOj3rKEco=
 | 
			
		||||
golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks=
 | 
			
		||||
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
 | 
			
		||||
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
 | 
			
		||||
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
 | 
			
		||||
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
 | 
			
		||||
golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
 | 
			
		||||
golang.org/x/sync v0.0.0-20190412183630-56d357773e84/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
 | 
			
		||||
golang.org/x/sync v0.0.0-20190423024810-112230192c58 h1:8gQV6CLnAEikrhgkHFbMAEhagSSnXWGV915qUMm9mrU=
 | 
			
		||||
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
 | 
			
		||||
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
 | 
			
		||||
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
 | 
			
		||||
golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
 | 
			
		||||
golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
 | 
			
		||||
golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
 | 
			
		||||
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a h1:1BGLXjeY4akVXGgbC9HugT3Jv3hCI0z56oJR5vAMgBU=
 | 
			
		||||
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
 | 
			
		||||
golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
 | 
			
		||||
golang.org/x/sys v0.0.0-20190509141414-a5b02f93d862 h1:rM0ROo5vb9AdYJi1110yjWGMej9ITfKddS89P3Fkhug=
 | 
			
		||||
golang.org/x/sys v0.0.0-20190509141414-a5b02f93d862/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
 | 
			
		||||
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
 | 
			
		||||
@@ -149,17 +218,24 @@ golang.org/x/time v0.0.0-20190308202827-9d24e82272b4 h1:SvFZT6jyqRaOeXpc5h/JSfZe
 | 
			
		||||
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
 | 
			
		||||
golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
 | 
			
		||||
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
 | 
			
		||||
golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
 | 
			
		||||
golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
 | 
			
		||||
golang.org/x/tools v0.0.0-20190329151228-23e29df326fe/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
 | 
			
		||||
golang.org/x/tools v0.0.0-20190404132500-923d25813098/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
 | 
			
		||||
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
 | 
			
		||||
google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8 h1:Nw54tB0rB7hY/N0NQvRW8DG4Yk3Q6T9cu9RcFQDu1tc=
 | 
			
		||||
google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
 | 
			
		||||
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
 | 
			
		||||
google.golang.org/grpc v1.20.1 h1:Hz2g2wirWK7H0qIIhGIqRGTuMwTE8HEKFnDZZ7lm9NU=
 | 
			
		||||
google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38=
 | 
			
		||||
google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM=
 | 
			
		||||
gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
 | 
			
		||||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
 | 
			
		||||
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
 | 
			
		||||
gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
 | 
			
		||||
gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo=
 | 
			
		||||
gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74=
 | 
			
		||||
gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
 | 
			
		||||
gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw=
 | 
			
		||||
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
 | 
			
		||||
gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo=
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2178
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										2178
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										55
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										55
									
								
								package.json
									
									
									
									
									
								
							@@ -1,6 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
 "name": "dozzle",
 | 
			
		||||
 "version": "1.10.1",
 | 
			
		||||
 "version": "1.11.0",
 | 
			
		||||
 "description": "Realtime log viewer for docker containers. ",
 | 
			
		||||
 "scripts": {
 | 
			
		||||
  "prestart": "npm run clean",
 | 
			
		||||
@@ -10,7 +10,8 @@
 | 
			
		||||
  "prebuild": "npm run clean",
 | 
			
		||||
  "build": "npx parcel build --no-source-maps --public-url '__BASE__' assets/index.html -d static",
 | 
			
		||||
  "clean": "rm -rf static/ a_main-packr.go",
 | 
			
		||||
  "release": "goreleaser --rm-dist"
 | 
			
		||||
  "release": "goreleaser --rm-dist",
 | 
			
		||||
  "test": "jest"
 | 
			
		||||
 },
 | 
			
		||||
 "repository": {
 | 
			
		||||
  "type": "git",
 | 
			
		||||
@@ -23,23 +24,33 @@
 | 
			
		||||
 },
 | 
			
		||||
 "homepage": "https://github.com/amir20/dozzle#readme",
 | 
			
		||||
 "dependencies": {
 | 
			
		||||
  "ansi-to-html": "^0.6.11",
 | 
			
		||||
  "bulma": "^0.7.5",
 | 
			
		||||
  "date-fns": "^2.0.0-alpha.25",
 | 
			
		||||
  "date-fns": "^2.0.0-alpha.32",
 | 
			
		||||
  "vue": "^2.6.10",
 | 
			
		||||
  "vue-meta": "^1.6.0",
 | 
			
		||||
  "vue-meta": "^2.0.3",
 | 
			
		||||
  "vue-router": "^3.0.6"
 | 
			
		||||
 },
 | 
			
		||||
 "devDependencies": {
 | 
			
		||||
  "@babel/core": "^7.4.4",
 | 
			
		||||
  "@babel/core": "^7.4.5",
 | 
			
		||||
  "@babel/plugin-transform-runtime": "^7.4.4",
 | 
			
		||||
  "@vue/component-compiler-utils": "^3.0.0",
 | 
			
		||||
  "@vue/test-utils": "^1.0.0-beta.29",
 | 
			
		||||
  "babel-core": "^7.0.0-bridge.0",
 | 
			
		||||
  "babel-jest": "^24.8.0",
 | 
			
		||||
  "concurrently": "^4.1.0",
 | 
			
		||||
  "husky": "^2.3.0",
 | 
			
		||||
  "lint-staged": "^8.1.7",
 | 
			
		||||
  "eventsourcemock": "^2.0.0",
 | 
			
		||||
  "fetch-mock": "^7.3.3",
 | 
			
		||||
  "husky": "^2.4.1",
 | 
			
		||||
  "jest": "^24.8.0",
 | 
			
		||||
  "jest-serializer-vue": "^2.0.2",
 | 
			
		||||
  "lint-staged": "^8.2.0",
 | 
			
		||||
  "node-fetch": "^2.6.0",
 | 
			
		||||
  "parcel-bundler": "^1.12.3",
 | 
			
		||||
  "prettier": "^1.17.1",
 | 
			
		||||
  "sass": "^1.20.1",
 | 
			
		||||
  "prettier": "^1.18.2",
 | 
			
		||||
  "sass": "^1.21.0",
 | 
			
		||||
  "vue-hot-reload-api": "^2.3.3",
 | 
			
		||||
  "vue-jest": "^3.0.4",
 | 
			
		||||
  "vue-template-compiler": "^2.6.10"
 | 
			
		||||
 },
 | 
			
		||||
 "husky": {
 | 
			
		||||
@@ -59,5 +70,31 @@
 | 
			
		||||
 ],
 | 
			
		||||
 "alias": {
 | 
			
		||||
  "vue": "./node_modules/vue/dist/vue.esm.js"
 | 
			
		||||
 },
 | 
			
		||||
 "jest": {
 | 
			
		||||
  "moduleFileExtensions": [
 | 
			
		||||
   "js",
 | 
			
		||||
   "json",
 | 
			
		||||
   "vue"
 | 
			
		||||
  ],
 | 
			
		||||
  "coveragePathIgnorePatterns": [
 | 
			
		||||
   "node_modules"
 | 
			
		||||
  ],
 | 
			
		||||
  "testPathIgnorePatterns": [
 | 
			
		||||
   "node_modules"
 | 
			
		||||
  ],
 | 
			
		||||
  "transformIgnorePatterns": [
 | 
			
		||||
   "node_modules"
 | 
			
		||||
  ],
 | 
			
		||||
  "watchPathIgnorePatterns": [
 | 
			
		||||
   "<rootDir>/node_modules/"
 | 
			
		||||
  ],
 | 
			
		||||
  "snapshotSerializers": [
 | 
			
		||||
   "jest-serializer-vue"
 | 
			
		||||
  ],
 | 
			
		||||
  "transform": {
 | 
			
		||||
   ".*\\.vue$": "vue-jest",
 | 
			
		||||
   ".+\\.js$": "babel-jest"
 | 
			
		||||
  }
 | 
			
		||||
 }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user