fake

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2020 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeClient

type FakeClient struct {
	FakeGetPlans          func(instance string) ([]types.Plan, *http.Response, error)
	FakeGetFlavors        func(instance string) ([]types.Flavor, *http.Response, error)
	FakeScale             func(args client.ScaleArgs) (*http.Response, error)
	FakeUpdateCertificate func(args client.UpdateCertificateArgs) (*http.Response, error)
	FakeUpdateBlock       func(args client.UpdateBlockArgs) (*http.Response, error)
	FakeDeleteBlock       func(args client.DeleteBlockArgs) (*http.Response, error)
	FakeListBlocks        func(args client.ListBlocksArgs) ([]client.Block, *http.Response, error)
	FakeDeleteRoute       func(args client.DeleteRouteArgs) (*http.Response, error)
	FakeListRoutes        func(args client.ListRoutesArgs) ([]client.Route, *http.Response, error)
	FakeUpdateRoute       func(args client.UpdateRouteArgs) (*http.Response, error)
}

func (*FakeClient) DeleteBlock

func (f *FakeClient) DeleteBlock(ctx context.Context, args client.DeleteBlockArgs) (*http.Response, error)

func (*FakeClient) DeleteRoute

func (f *FakeClient) DeleteRoute(ctx context.Context, args client.DeleteRouteArgs) (*http.Response, error)

func (*FakeClient) GetFlavors

func (f *FakeClient) GetFlavors(ctx context.Context, instance string) ([]types.Flavor, *http.Response, error)

func (*FakeClient) GetPlans

func (f *FakeClient) GetPlans(ctx context.Context, instance string) ([]types.Plan, *http.Response, error)

func (*FakeClient) ListBlocks

func (f *FakeClient) ListBlocks(ctx context.Context, args client.ListBlocksArgs) ([]client.Block, *http.Response, error)

func (*FakeClient) ListRoutes

func (f *FakeClient) ListRoutes(ctx context.Context, args client.ListRoutesArgs) ([]client.Route, *http.Response, error)

func (*FakeClient) Scale

func (f *FakeClient) Scale(ctx context.Context, args client.ScaleArgs) (*http.Response, error)

func (*FakeClient) UpdateBlock

func (f *FakeClient) UpdateBlock(ctx context.Context, args client.UpdateBlockArgs) (*http.Response, error)

func (*FakeClient) UpdateCertificate

func (f *FakeClient) UpdateCertificate(ctx context.Context, args client.UpdateCertificateArgs) (*http.Response, error)

func (*FakeClient) UpdateRoute

func (f *FakeClient) UpdateRoute(ctx context.Context, args client.UpdateRouteArgs) (*http.Response, error)

Jump to

Keyboard shortcuts

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