client

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Claim added in v0.1.15

type Claim interface {
	Status([]*lang.Claim, api.ClaimQueryFlag) (*api.ClaimsStatus, error)
}

Claim is the interface for managing Claim

type Core

type Core interface {
	Policy() Policy
	Claim() Claim
	Revision() Revision
	State() State
	User() User
	Version() Version
}

Core is the Core API client interface

type Policy

Policy is the interface for managing Policy

type Revision

type Revision interface {
	Show(gen runtime.Generation) (*engine.Revision, error)
}

Revision is the interface for getting Revisions

type State added in v0.1.8

type State interface {
	Reset(bool) (*api.PolicyUpdateResult, error)
}

State is the interface for resetting Actual State

type User added in v0.1.8

type User interface {
	Login(username, password string) (*api.AuthSuccess, error)
}

User is the interface for auth and user management

type Version

type Version interface {
	Show() (*version.BuildInfo, error)
}

Version is the interface for getting current server version

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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