client

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Core

type Core interface {
	Policy() Policy
	Endpoints() Endpoints
	Revision() Revision
	Version() Version
}

Core is the Core API client interface

type Endpoints

type Endpoints interface {
	Show() (*api.Endpoints, error)
}

Endpoints is the interface for getting info about endpoints

type Policy

type Policy interface {
	Show(gen runtime.Generation) (*engine.PolicyData, error)
	Apply([]runtime.Object) (*api.PolicyUpdateResult, error)
	Delete([]runtime.Object) (*api.PolicyUpdateResult, error)
}

Policy is the interface for managing Policy

type Revision

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

Revision is the interface for getting Revisions

type Version

type Version interface {
	Show() (*api.Version, 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