console.targets #
fn add #
fn add(conf_ Config, t &NewTarget, raw bool) !
add adds a new target to the server's list.
fn build_target #
fn build_target(conf Config, target_id int, force bool, timeout int) !
build locally builds the target with the given id.
fn cmd #
pub fn cmd() cli.Command
cmd returns the cli submodule that handles the targets API interaction
fn info #
fn info(conf_ Config, id string) !
info shows detailed information for a given target.
fn remove #
fn remove(conf_ Config, id string) !
remove removes a target from the server's list.
fn list #
fn list(conf_ Config, filter TargetFilter, raw bool) !
list prints out a list of all repositories.
fn patch #
fn patch(conf_ Config, id string, params map[string]string) !
patch patches a given target with the provided params.
struct Config #
struct Config {
address string [required]
api_key string [required]
base_image string = 'archlinux:base-devel'
}