Documentation ¶
Index ¶
- type API
- type Backend
- func (_m *Backend) Create(ctx context.Context, definition backend.Definition) (v1.Backend, error)
- func (_m *Backend) DeleteByID(ctx context.Context, identifier string) error
- func (_m *Backend) Get(ctx context.Context, page int, limit int) ([]backend.BackendInfo, error)
- func (_m *Backend) GetByID(ctx context.Context, identifier string) (v1.Backend, error)
- func (_m *Backend) GetPage(ctx context.Context, page int, limit int, opts ...param.Parameter) (pagination.Page, error)
- func (_m *Backend) NextPage(ctx context.Context, page pagination.Page) (pagination.Page, error)
- func (_m *Backend) Update(ctx context.Context, identifier string, definition backend.Definition) (v1.Backend, error)
- type Bind
- func (_m *Bind) Create(ctx context.Context, definition bind.Definition) (v1.Bind, error)
- func (_m *Bind) DeleteByID(ctx context.Context, identifier string) error
- func (_m *Bind) Get(ctx context.Context, page int, limit int) ([]bind.BindInfo, error)
- func (_m *Bind) GetByID(ctx context.Context, identifier string) (v1.Bind, error)
- func (_m *Bind) GetPage(ctx context.Context, page int, limit int, opts ...param.Parameter) (pagination.Page, error)
- func (_m *Bind) NextPage(ctx context.Context, page pagination.Page) (pagination.Page, error)
- func (_m *Bind) Update(ctx context.Context, identifier string, definition bind.Definition) (v1.Bind, error)
- type CloudDNS
- type Frontend
- func (_m *Frontend) Create(ctx context.Context, definition frontend.Definition) (v1.Frontend, error)
- func (_m *Frontend) DeleteByID(ctx context.Context, identifier string) error
- func (_m *Frontend) Get(ctx context.Context, page int, limit int) ([]frontend.FrontendInfo, error)
- func (_m *Frontend) GetByID(ctx context.Context, identifier string) (v1.Frontend, error)
- func (_m *Frontend) GetPage(ctx context.Context, page int, limit int, opts ...param.Parameter) (pagination.Page, error)
- func (_m *Frontend) NextPage(ctx context.Context, page pagination.Page) (pagination.Page, error)
- func (_m *Frontend) Update(ctx context.Context, identifier string, definition frontend.Definition) (v1.Frontend, error)
- type Info
- type LBaaS
- type LoadBalancer
- func (_m *LoadBalancer) Get(ctx context.Context, page int, limit int) ([]loadbalancer.LoadBalancerInfo, error)
- func (_m *LoadBalancer) GetByID(ctx context.Context, identifier string) (v1.LoadBalancer, error)
- func (_m *LoadBalancer) GetPage(ctx context.Context, page int, limit int, opts ...param.Parameter) (pagination.Page, error)
- func (_m *LoadBalancer) NextPage(ctx context.Context, page pagination.Page) (pagination.Page, error)
- type PowerControl
- func (_m *PowerControl) AwaitCompletion(ctx context.Context, vmID string, taskID string) error
- func (_m *PowerControl) Get(ctx context.Context, vmIdentifier string) (powercontrol.State, error)
- func (_m *PowerControl) Set(ctx context.Context, vmIdentifier string, request powercontrol.Request) (powercontrol.Task, error)
- type Search
- type Server
- func (_m *Server) Create(ctx context.Context, definition server.Definition) (v1.Server, error)
- func (_m *Server) DeleteByID(ctx context.Context, identifier string) error
- func (_m *Server) Get(ctx context.Context, page int, limit int) ([]server.ServerInfo, error)
- func (_m *Server) GetByID(ctx context.Context, identifier string) (v1.Server, error)
- func (_m *Server) GetPage(ctx context.Context, page int, limit int, opts ...param.Parameter) (pagination.Page, error)
- func (_m *Server) NextPage(ctx context.Context, page pagination.Page) (pagination.Page, error)
- func (_m *Server) Update(ctx context.Context, identifier string, definition server.Definition) (v1.Server, error)
- type VMList
- type VSphere
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
API is an autogenerated mock type for the API type
type Backend ¶
Backend is an autogenerated mock type for the API type
func (*Backend) DeleteByID ¶
DeleteByID provides a mock function with given fields: ctx, identifier
func (*Backend) GetPage ¶
func (_m *Backend) GetPage(ctx context.Context, page int, limit int, opts ...param.Parameter) (pagination.Page, error)
GetPage provides a mock function with given fields: ctx, page, limit, opts
func (*Backend) NextPage ¶
func (_m *Backend) NextPage(ctx context.Context, page pagination.Page) (pagination.Page, error)
NextPage provides a mock function with given fields: ctx, page
type Bind ¶
Bind is an autogenerated mock type for the API type
func (*Bind) DeleteByID ¶
DeleteByID provides a mock function with given fields: ctx, identifier
func (*Bind) GetPage ¶
func (_m *Bind) GetPage(ctx context.Context, page int, limit int, opts ...param.Parameter) (pagination.Page, error)
GetPage provides a mock function with given fields: ctx, page, limit, opts
func (*Bind) NextPage ¶
func (_m *Bind) NextPage(ctx context.Context, page pagination.Page) (pagination.Page, error)
NextPage provides a mock function with given fields: ctx, page
type Frontend ¶
Frontend is an autogenerated mock type for the API type
func (*Frontend) Create ¶
func (_m *Frontend) Create(ctx context.Context, definition frontend.Definition) (v1.Frontend, error)
Create provides a mock function with given fields: ctx, definition
func (*Frontend) DeleteByID ¶
DeleteByID provides a mock function with given fields: ctx, identifier
func (*Frontend) GetPage ¶
func (_m *Frontend) GetPage(ctx context.Context, page int, limit int, opts ...param.Parameter) (pagination.Page, error)
GetPage provides a mock function with given fields: ctx, page, limit, opts
func (*Frontend) NextPage ¶
func (_m *Frontend) NextPage(ctx context.Context, page pagination.Page) (pagination.Page, error)
NextPage provides a mock function with given fields: ctx, page
type LBaaS ¶
LBaaS is an autogenerated mock type for the API type
func (*LBaaS) LoadBalancer ¶
func (_m *LBaaS) LoadBalancer() loadbalancer.API
LoadBalancer provides a mock function with given fields:
type LoadBalancer ¶
LoadBalancer is an autogenerated mock type for the API type
func (*LoadBalancer) Get ¶
func (_m *LoadBalancer) Get(ctx context.Context, page int, limit int) ([]loadbalancer.LoadBalancerInfo, error)
Get provides a mock function with given fields: ctx, page, limit
func (*LoadBalancer) GetByID ¶
func (_m *LoadBalancer) GetByID(ctx context.Context, identifier string) (v1.LoadBalancer, error)
GetByID provides a mock function with given fields: ctx, identifier
func (*LoadBalancer) GetPage ¶
func (_m *LoadBalancer) GetPage(ctx context.Context, page int, limit int, opts ...param.Parameter) (pagination.Page, error)
GetPage provides a mock function with given fields: ctx, page, limit, opts
func (*LoadBalancer) NextPage ¶
func (_m *LoadBalancer) NextPage(ctx context.Context, page pagination.Page) (pagination.Page, error)
NextPage provides a mock function with given fields: ctx, page
type PowerControl ¶
PowerControl is an autogenerated mock type for the API type
func (*PowerControl) AwaitCompletion ¶
AwaitCompletion provides a mock function with given fields: ctx, vmID, taskID
func (*PowerControl) Get ¶
func (_m *PowerControl) Get(ctx context.Context, vmIdentifier string) (powercontrol.State, error)
Get provides a mock function with given fields: ctx, vmIdentifier
func (*PowerControl) Set ¶
func (_m *PowerControl) Set(ctx context.Context, vmIdentifier string, request powercontrol.Request) (powercontrol.Task, error)
Set provides a mock function with given fields: ctx, vmIdentifier, request
type Server ¶
Server is an autogenerated mock type for the API type
func (*Server) DeleteByID ¶
DeleteByID provides a mock function with given fields: ctx, identifier
func (*Server) GetPage ¶
func (_m *Server) GetPage(ctx context.Context, page int, limit int, opts ...param.Parameter) (pagination.Page, error)
GetPage provides a mock function with given fields: ctx, page, limit, opts
func (*Server) NextPage ¶
func (_m *Server) NextPage(ctx context.Context, page pagination.Page) (pagination.Page, error)
NextPage provides a mock function with given fields: ctx, page
type VSphere ¶
VSphere is an autogenerated mock type for the API type
func (*VSphere) PowerControl ¶
func (_m *VSphere) PowerControl() powercontrol.API
PowerControl provides a mock function with given fields:
func (*VSphere) Provisioning ¶
func (_m *VSphere) Provisioning() provisioning.API
Provisioning provides a mock function with given fields: