fake_client

package
v0.14.10 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudAccounts

type CloudAccounts struct {
	Collection
}

type Collection

type Collection struct {
	ListFn            func(model.List) error
	CreateFn          func(model.Model) error
	GetFn             func(interface{}, model.Model) error
	GetWithIncludesFn func(interface{}, model.Model, []string) error
	UpdateFn          func(interface{}, model.Model) error
	DeleteFn          func(interface{}, model.Model) error
}

func (*Collection) Create

func (c *Collection) Create(m model.Model) error

func (*Collection) Delete

func (c *Collection) Delete(id interface{}, m model.Model) error

func (*Collection) Get

func (c *Collection) Get(id interface{}, m model.Model) error

func (*Collection) GetWithIncludes

func (c *Collection) GetWithIncludes(id interface{}, m model.Model, includes []string) error

func (*Collection) List

func (c *Collection) List(list model.List) error

func (*Collection) Update

func (c *Collection) Update(id interface{}, m model.Model) error

type HelmCharts added in v0.14.0

type HelmCharts struct {
	Collection
}

type HelmReleases added in v0.14.0

type HelmReleases struct {
	Collection
}

type HelmRepos added in v0.14.0

type HelmRepos struct {
	Collection
}

type KubeResources

type KubeResources struct {
	Collection
	StartFn func(*int64, *model.KubeResource) error
	StopFn  func(*int64, *model.KubeResource) error
}

func (*KubeResources) Start

func (c *KubeResources) Start(id *int64, m *model.KubeResource) error

func (*KubeResources) Stop

func (c *KubeResources) Stop(id *int64, m *model.KubeResource) error

type Kubes

type Kubes struct {
	Collection
	ProvisionFn func(*int64, *model.Kube) error
}

func (*Kubes) Provision added in v0.11.4

func (c *Kubes) Provision(id *int64, m *model.Kube) error

type LoadBalancers added in v0.14.0

type LoadBalancers struct {
	Collection
}

type Nodes

type Nodes struct {
	Collection
}

type Sessions

type Sessions struct {
	Collection
}

type Users

type Users struct {
	Collection
	RegenerateAPITokenFn func(interface{}, *model.User) error
}

func (*Users) RegenerateAPIToken

func (c *Users) RegenerateAPIToken(id interface{}, m *model.User) error

type Volumes

type Volumes struct {
	Collection
}

Jump to

Keyboard shortcuts

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