idpctl

command module
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2024 License: MIT Imports: 5 Imported by: 0

README

CircleCI codecov Go Report Card Go Reference

Internal Developer Platform

An Internal Developer Platform (IDP) is built by a platform team to build golden paths and enable developer self-service.

Why a client?

Internal developer portals serve as the interface through which developers can discover and access internal developer platform capabilities.

Separating the client from the service allows us to make sure they move independently.

Client

The client is broken down to different commands.

Pipeline
❯ ./idpctl pipeline --help
Manage pipelines.

Usage:
  idpctl pipeline [flags]

Flags:
  -c, --create string    create a pipeline (path to file)
  -d, --delete string    delete a pipeline (the id of the pipeline)
  -g, --get string       retrieve a pipeline (the id of the pipeline)
  -h, --help             help for pipeline
  -t, --trigger string   trigger a pipeline (the id of the pipeline)
  -u, --update string    update a pipeline (id of the pipeline and the path to file, e.g. id:path

Global Flags:
  -i, --input string   input config location (format kind:location)

Design

The design is heavily influenced by https://github.com/alexfalkowski/servicectl.

Development

If you would like to contribute, here is how you can get started.

Structure

The project follows the structure in golang-standards/project-layout.

Dependencies

Please make sure that you have the following installed:

  • Ruby
  • Golang
Style

This project favours the Uber Go Style Guide

Setup

Let's get you setup.

Submodules

We need to get the git submodules.

git submodule sync
git submodule update --init
Application

To get the application running, do the following:

  1. Let's get the dependencies:
make go-dep
  1. Let's build the application:
make build
  1. Let's create a pipeline:
make pipeline=pipeline create
Features

If you want to run the features, do the following:

  1. Let's get the dependencies:
make ruby-dep
  1. Let's run the features:
make features
Changes

To see what has changed, please have a look at CHANGELOG.md

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL