fake

package
v0.0.0-...-62801f1 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2020 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 FakeBoskosClient

type FakeBoskosClient struct {
	// contains filtered or unexported fields
}

FakeBoskosClient implements boskos.Operation

func (*FakeBoskosClient) AcquireGKEProject

func (c *FakeBoskosClient) AcquireGKEProject(resType string) (*boskoscommon.Resource, error)

AcquireGKEProject fakes to be no op

func (*FakeBoskosClient) GetResources

func (c *FakeBoskosClient) GetResources() []*boskoscommon.Resource

func (*FakeBoskosClient) NewGKEProject

func (c *FakeBoskosClient) NewGKEProject(name string)

NewGKEProject adds Boskos resources for testing purpose

func (*FakeBoskosClient) ReleaseGKEProject

func (c *FakeBoskosClient) ReleaseGKEProject(name string) error

ReleaseGKEProject fakes to be no op

Jump to

Keyboard shortcuts

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