Documentation ¶
Index ¶
- type FakeClient
- func (f *FakeClient) AddAccessControlList(ctx context.Context, instance, host string, port int) error
- func (f *FakeClient) AddExtraFiles(ctx context.Context, args client.ExtraFilesArgs) error
- func (f *FakeClient) Debug(ctx context.Context, args client.DebugArgs) (*websocket.Conn, error)
- func (f *FakeClient) DeleteBlock(ctx context.Context, args client.DeleteBlockArgs) error
- func (f *FakeClient) DeleteCertManager(ctx context.Context, instance, issuer string) error
- func (f *FakeClient) DeleteCertificate(ctx context.Context, args client.DeleteCertificateArgs) error
- func (f *FakeClient) DeleteExtraFiles(ctx context.Context, args client.DeleteExtraFilesArgs) error
- func (f *FakeClient) DeleteRoute(ctx context.Context, args client.DeleteRouteArgs) error
- func (f *FakeClient) Exec(ctx context.Context, args client.ExecArgs) (*websocket.Conn, error)
- func (f *FakeClient) GetExtraFile(ctx context.Context, args client.GetExtraFileArgs) (types.RpaasFile, error)
- func (f *FakeClient) GetFlavors(ctx context.Context, instance string) ([]types.Flavor, error)
- func (f *FakeClient) GetPlans(ctx context.Context, instance string) ([]types.Plan, error)
- func (f *FakeClient) Info(ctx context.Context, args client.InfoArgs) (*types.InstanceInfo, error)
- func (f *FakeClient) ListAccessControlList(ctx context.Context, instance string) ([]types.AllowedUpstream, error)
- func (f *FakeClient) ListBlocks(ctx context.Context, args client.ListBlocksArgs) ([]types.Block, error)
- func (f *FakeClient) ListCertManagerRequests(ctx context.Context, instance string) ([]types.CertManager, error)
- func (f *FakeClient) ListExtraFiles(ctx context.Context, args client.ListExtraFilesArgs) ([]types.RpaasFile, error)
- func (f *FakeClient) ListRoutes(ctx context.Context, args client.ListRoutesArgs) ([]types.Route, error)
- func (f *FakeClient) Log(ctx context.Context, args client.LogArgs) error
- func (f *FakeClient) RemoveAccessControlList(ctx context.Context, instance, host string, port int) error
- func (f *FakeClient) Scale(ctx context.Context, args client.ScaleArgs) error
- func (f *FakeClient) SetService(service string) (client.Client, error)
- func (f *FakeClient) UpdateBlock(ctx context.Context, args client.UpdateBlockArgs) error
- func (f *FakeClient) UpdateCertManager(ctx context.Context, args client.UpdateCertManagerArgs) error
- func (f *FakeClient) UpdateCertificate(ctx context.Context, args client.UpdateCertificateArgs) error
- func (f *FakeClient) UpdateExtraFiles(ctx context.Context, args client.ExtraFilesArgs) error
- func (f *FakeClient) UpdateRoute(ctx context.Context, args client.UpdateRouteArgs) 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, error) FakeGetFlavors func(instance string) ([]types.Flavor, error) FakeScale func(args client.ScaleArgs) error FakeUpdateCertificate func(args client.UpdateCertificateArgs) error FakeDeleteCertificate func(args client.DeleteCertificateArgs) error FakeUpdateBlock func(args client.UpdateBlockArgs) error FakeDeleteBlock func(args client.DeleteBlockArgs) error FakeListBlocks func(args client.ListBlocksArgs) ([]types.Block, error) FakeDeleteRoute func(args client.DeleteRouteArgs) error FakeListRoutes func(args client.ListRoutesArgs) ([]types.Route, error) FakeUpdateRoute func(args client.UpdateRouteArgs) error FakeInfo func(args client.InfoArgs) (*types.InstanceInfo, error) FakeExec func(ctx context.Context, args client.ExecArgs) (*websocket.Conn, error) FakeDebug func(ctx context.Context, args client.DebugArgs) (*websocket.Conn, error) FakeAddAccessControlList func(instance, host string, port int) error FakeListAccessControlList func(instance string) ([]types.AllowedUpstream, error) FakeRemoveAccessControlList func(instance, host string, port int) error FakeSetService func(service string) error FakeListCertManagerRequests func(instance string) ([]types.CertManager, error) FakeUpdateCertManager func(args client.UpdateCertManagerArgs) error FakeDeleteCertManager func(instance, issuer string) error FakeLog func(args client.LogArgs) error FakeAddExtraFiles func(args client.ExtraFilesArgs) error FakeUpdateExtraFiles func(args client.ExtraFilesArgs) error FakeDeleteExtraFiles func(args client.DeleteExtraFilesArgs) error FakeListExtraFiles func(args client.ListExtraFilesArgs) ([]types.RpaasFile, error) FakeGetExtraFile func(args client.GetExtraFileArgs) (types.RpaasFile, error) }
func (*FakeClient) AddAccessControlList ¶ added in v0.13.0
func (*FakeClient) AddExtraFiles ¶ added in v0.27.5
func (f *FakeClient) AddExtraFiles(ctx context.Context, args client.ExtraFilesArgs) error
func (*FakeClient) DeleteBlock ¶
func (f *FakeClient) DeleteBlock(ctx context.Context, args client.DeleteBlockArgs) error
func (*FakeClient) DeleteCertManager ¶ added in v0.15.0
func (f *FakeClient) DeleteCertManager(ctx context.Context, instance, issuer string) error
func (*FakeClient) DeleteCertificate ¶ added in v0.13.0
func (f *FakeClient) DeleteCertificate(ctx context.Context, args client.DeleteCertificateArgs) error
func (*FakeClient) DeleteExtraFiles ¶ added in v0.27.5
func (f *FakeClient) DeleteExtraFiles(ctx context.Context, args client.DeleteExtraFilesArgs) error
func (*FakeClient) DeleteRoute ¶
func (f *FakeClient) DeleteRoute(ctx context.Context, args client.DeleteRouteArgs) error
func (*FakeClient) GetExtraFile ¶ added in v0.27.5
func (f *FakeClient) GetExtraFile(ctx context.Context, args client.GetExtraFileArgs) (types.RpaasFile, error)
func (*FakeClient) GetFlavors ¶
func (*FakeClient) Info ¶ added in v0.7.4
func (f *FakeClient) Info(ctx context.Context, args client.InfoArgs) (*types.InstanceInfo, error)
func (*FakeClient) ListAccessControlList ¶ added in v0.13.0
func (f *FakeClient) ListAccessControlList(ctx context.Context, instance string) ([]types.AllowedUpstream, error)
func (*FakeClient) ListBlocks ¶
func (f *FakeClient) ListBlocks(ctx context.Context, args client.ListBlocksArgs) ([]types.Block, error)
func (*FakeClient) ListCertManagerRequests ¶ added in v0.23.1
func (f *FakeClient) ListCertManagerRequests(ctx context.Context, instance string) ([]types.CertManager, error)
func (*FakeClient) ListExtraFiles ¶ added in v0.27.5
func (f *FakeClient) ListExtraFiles(ctx context.Context, args client.ListExtraFilesArgs) ([]types.RpaasFile, error)
func (*FakeClient) ListRoutes ¶
func (f *FakeClient) ListRoutes(ctx context.Context, args client.ListRoutesArgs) ([]types.Route, error)
func (*FakeClient) RemoveAccessControlList ¶ added in v0.13.0
func (*FakeClient) SetService ¶ added in v0.13.0
func (f *FakeClient) SetService(service string) (client.Client, error)
func (*FakeClient) UpdateBlock ¶
func (f *FakeClient) UpdateBlock(ctx context.Context, args client.UpdateBlockArgs) error
func (*FakeClient) UpdateCertManager ¶ added in v0.15.0
func (f *FakeClient) UpdateCertManager(ctx context.Context, args client.UpdateCertManagerArgs) error
func (*FakeClient) UpdateCertificate ¶
func (f *FakeClient) UpdateCertificate(ctx context.Context, args client.UpdateCertificateArgs) error
func (*FakeClient) UpdateExtraFiles ¶ added in v0.27.5
func (f *FakeClient) UpdateExtraFiles(ctx context.Context, args client.ExtraFilesArgs) error
func (*FakeClient) UpdateRoute ¶
func (f *FakeClient) UpdateRoute(ctx context.Context, args client.UpdateRouteArgs) error
Click to show internal directories.
Click to hide internal directories.