@shepherdorg/ui-graphql-client
TypeScript icon, indicating that this package has built-in type declarations

3.3.1 • Public • Published

Shepherd UI API

This project hosts a utility for interacting with the shepherd-ui API

Example Usage

const client = createClient('http://localhost:8080/graphql')

client.upsertDeployment([
  {
    id: 'dev-images-fluentd2',
    display_name: 'Fluentd aws appender 2',
    last_deployment_timestamp: '2019-10-17T16:02:20.500Z',
    last_deployment_version: '1.0.1',
    herd_key: 'images-fluentd2',
    env: 'dev',
    description: '',
    deployer_role: 'Install',
    deployment_type: 'Kubernetes',
    hyperlinks: [
      {
        url: 'http://jenkins.org.is:8082/job/dockerimages/',
        title: 'Builds',
      },
      {
        url: 'https://gitlab.org.is/tmdev/dockerimages',
        title: 'Git source',
      },
    ],
  },
])

Readme

Keywords

none

Package Sidebar

Install

npm i @shepherdorg/ui-graphql-client

Weekly Downloads

26

Version

3.3.1

License

MIT

Unpacked Size

28.9 kB

Total Files

12

Last publish

Collaborators

  • nordfjord
  • stefaneg