Documentation ¶
Index ¶
- type FakeClient
- func (f *FakeClient) DeleteBlock(ctx context.Context, args client.DeleteBlockArgs) (*http.Response, error)
- func (f *FakeClient) DeleteRoute(ctx context.Context, args client.DeleteRouteArgs) (*http.Response, error)
- func (f *FakeClient) GetFlavors(ctx context.Context, instance string) ([]types.Flavor, *http.Response, error)
- func (f *FakeClient) GetPlans(ctx context.Context, instance string) ([]types.Plan, *http.Response, error)
- func (f *FakeClient) Info(ctx context.Context, args client.InfoArgs) (*types.InstanceInfo, *http.Response, error)
- func (f *FakeClient) ListBlocks(ctx context.Context, args client.ListBlocksArgs) ([]types.Block, *http.Response, error)
- func (f *FakeClient) ListRoutes(ctx context.Context, args client.ListRoutesArgs) ([]types.Route, *http.Response, error)
- func (f *FakeClient) Scale(ctx context.Context, args client.ScaleArgs) (*http.Response, error)
- func (f *FakeClient) UpdateBlock(ctx context.Context, args client.UpdateBlockArgs) (*http.Response, error)
- func (f *FakeClient) UpdateCertificate(ctx context.Context, args client.UpdateCertificateArgs) (*http.Response, error)
- func (f *FakeClient) UpdateRoute(ctx context.Context, args client.UpdateRouteArgs) (*http.Response, error)
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) ([]types.Block, *http.Response, error) FakeDeleteRoute func(args client.DeleteRouteArgs) (*http.Response, error) FakeListRoutes func(args client.ListRoutesArgs) ([]types.Route, *http.Response, error) FakeUpdateRoute func(args client.UpdateRouteArgs) (*http.Response, error) FakeInfo func(args client.InfoArgs) (*types.InstanceInfo, *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 (*FakeClient) Info ¶ added in v0.7.4
func (f *FakeClient) Info(ctx context.Context, args client.InfoArgs) (*types.InstanceInfo, *http.Response, error)
func (*FakeClient) ListBlocks ¶
func (f *FakeClient) ListBlocks(ctx context.Context, args client.ListBlocksArgs) ([]types.Block, *http.Response, error)
func (*FakeClient) ListRoutes ¶
func (f *FakeClient) ListRoutes(ctx context.Context, args client.ListRoutesArgs) ([]types.Route, *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)
Click to show internal directories.
Click to hide internal directories.