bytemark-client

module
v2.5.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2017 License: MIT

README

Bytemark command-line client

Build Status Coverage Status

Installation

If you're just looking to get started you can find the most recent stable release on our download page.

If you wish to build, and install, the latest stable-release from source you can do so with:

go get github.com/BytemarkHosting/bytemark-client/cmd/bytemark

Tracking Development

If you prefer to track our in-development branch you can do that via:

go get -d github.com/BytemarkHosting/bytemark-client/cmd/bytemark
cd $GOPATH/src/github.com/BytemarkHosting/bytemark-client/
git checkout develop
cd cmd/bytemark
go build

If you have problems to report, or contributions to make, feel free to use the issue-tracker

Compatibility Guarantee

In go, semantic versioning is pretty hard. We guarantee that the following types of changes will not occur between minor versions within the lib package and all packages under its path (e.g. lib/brain)

  • Publicly-exported functions and methods will not be removed, renamed, nor will their prototypes change.
  • Publicly-exported struct-type fields will not be removed, renamed, nor will their types change.
  • Publicly-exported variables and constants will not be removed, renamed, nor will their types change.

It's suggested that you avoid using struct embedding or interface composition with multiple types if any of those types are from bytemark-client/lib or any packages inside - bytemark-client's types are wont to have extra fields and methods added.

Breaking API change

The following breaking API change to the 'lib' package occurred in version 2.0.

  • the packages lib/spp, lib/brain and lib/billing are being created.
  • lib.CreditCard is moving to lib/spp.CreditCard
  • lib.Person is moving to lib/billing.Person
  • lib.billingAccount is moving to lib/billing.Account
  • lib.brainAccount is moving to lib/brain.Account
  • the following types are moving from lib to the same name under lib/brain:
    • Disc
    • Group
    • ImageInstall.go
    • IP
    • IPCreateRequest
    • IPs
    • IPSpec
    • NIC
    • StoragePool
    • User
    • VirtualMachine
    • VirtualMachineSpec
  • lib.VirtualMachineName is being renamed to lib.ServerName
  • lib.ParseVirtualMachineName is being renamed to lib.ParseServerName

If you require the old API for longer you can use gopkg.in/BytemarkHosting/bytemark-client.v1/lib to refer to the package prior to this change.

Directories

Path Synopsis
cmd
bytemark
Package client provides a client application (in main) and an API library (in lib) for Bytemark's self-service hosting.
Package client provides a client application (in main) and an API library (in lib) for Bytemark's self-service hosting.
bytemark/util/sizespec
Package sizespec implements a parser for size specifications.
Package sizespec implements a parser for size specifications.
lib
Package lib provides an API library to integrate your project with Bytemark's self-service hosting.
Package lib provides an API library to integrate your project with Bytemark's self-service hosting.
spp
util
log

Jump to

Keyboard shortcuts

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