Documentation ¶
Index ¶
- type AddPool
- type AddService
- type AddServiceToPool
- type DeletePool
- type DeleteService
- type FindPool
- type FindService
- type ListPoolServices
- type ListPools
- type ListServicePools
- type ListServices
- type PoolClient
- func (p *PoolClient) AddPool(ctx op_context.Context, pool pool.Pool) (pool.Pool, error)
- func (p *PoolClient) AddService(ctx op_context.Context, service pool.PoolService) (pool.PoolService, error)
- func (p *PoolClient) AddServiceToPool(ctx op_context.Context, poolId string, serviceId string, role string, ...) error
- func (p *PoolClient) DeletePool(ctx op_context.Context, id string, idIsName ...bool) error
- func (p *PoolClient) DeleteService(ctx op_context.Context, id string, idIsName ...bool) error
- func (p *PoolClient) FindPool(ctx op_context.Context, id string, idIsName ...bool) (pool.Pool, error)
- func (p *PoolClient) FindService(ctx op_context.Context, id string, idIsName ...bool) (pool.PoolService, error)
- func (p *PoolClient) GetPoolBindings(ctx op_context.Context, id string, idIsName ...bool) ([]*pool.PoolServiceBinding, error)
- func (p *PoolClient) GetPools(ctx op_context.Context, filter *db.Filter) ([]*pool.PoolBase, int64, error)
- func (p *PoolClient) GetServiceBindings(ctx op_context.Context, id string, idIsName ...bool) ([]*pool.PoolServiceBinding, error)
- func (p *PoolClient) GetServices(ctx op_context.Context, filter *db.Filter) ([]*pool.PoolServiceBase, int64, error)
- func (p *PoolClient) RemoveAllServicesFromPool(ctx op_context.Context, id string, idIsName ...bool) error
- func (p *PoolClient) RemoveServiceFromAllPools(ctx op_context.Context, id string, idIsName ...bool) error
- func (p *PoolClient) RemoveServiceFromPool(ctx op_context.Context, poolId string, role string, idIsName ...bool) error
- func (p *PoolClient) UpdatePool(ctx op_context.Context, id string, fields db.Fields, idIsName ...bool) (pool.Pool, error)
- func (p *PoolClient) UpdateService(ctx op_context.Context, id string, fields db.Fields, idIsName ...bool) (pool.PoolService, error)
- type RemoveAllServicesFromPool
- type RemoveServiceFromAllPools
- type RemoveServiceFromPool
- type UpdatePool
- type UpdateService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddPool ¶
type AddPool struct {
// contains filtered or unexported fields
}
func (*AddPool) Exec ¶
func (a *AddPool) Exec(client api_client.Client, ctx op_context.Context, operation api.Operation) error
type AddService ¶
type AddService struct {
// contains filtered or unexported fields
}
func (*AddService) Exec ¶
func (a *AddService) Exec(client api_client.Client, ctx op_context.Context, operation api.Operation) error
type AddServiceToPool ¶
type AddServiceToPool struct {
pool.PoolServiceAssociationCmd
}
func (*AddServiceToPool) Exec ¶
func (a *AddServiceToPool) Exec(client api_client.Client, ctx op_context.Context, operation api.Operation) error
type DeletePool ¶
type DeletePool struct{}
func (*DeletePool) Exec ¶
func (a *DeletePool) Exec(client api_client.Client, ctx op_context.Context, operation api.Operation) error
type DeleteService ¶
type DeleteService struct{}
func (*DeleteService) Exec ¶
func (a *DeleteService) Exec(client api_client.Client, ctx op_context.Context, operation api.Operation) error
type FindPool ¶
type FindPool struct {
// contains filtered or unexported fields
}
func (*FindPool) Exec ¶
func (a *FindPool) Exec(client api_client.Client, ctx op_context.Context, operation api.Operation) error
type FindService ¶
type FindService struct {
// contains filtered or unexported fields
}
func (*FindService) Exec ¶
func (a *FindService) Exec(client api_client.Client, ctx op_context.Context, operation api.Operation) error
type ListPoolServices ¶
type ListPoolServices struct {
// contains filtered or unexported fields
}
func (*ListPoolServices) Exec ¶
func (a *ListPoolServices) Exec(client api_client.Client, ctx op_context.Context, operation api.Operation) error
type ListPools ¶
type ListPools struct {
// contains filtered or unexported fields
}
func (*ListPools) Exec ¶
func (a *ListPools) Exec(client api_client.Client, ctx op_context.Context, operation api.Operation) error
type ListServicePools ¶
type ListServicePools struct {
// contains filtered or unexported fields
}
func (*ListServicePools) Exec ¶
func (a *ListServicePools) Exec(client api_client.Client, ctx op_context.Context, operation api.Operation) error
type ListServices ¶
type ListServices struct {
// contains filtered or unexported fields
}
func (*ListServices) Exec ¶
func (a *ListServices) Exec(client api_client.Client, ctx op_context.Context, operation api.Operation) error
type PoolClient ¶
type PoolClient struct { api_client.ServiceClient PoolsResource api.Resource PoolResource api.Resource ServicesResource api.Resource ServiceResource api.Resource // contains filtered or unexported fields }
func NewPoolClient ¶
func NewPoolClient(client api_client.Client) *PoolClient
func (*PoolClient) AddPool ¶
func (p *PoolClient) AddPool(ctx op_context.Context, pool pool.Pool) (pool.Pool, error)
func (*PoolClient) AddService ¶
func (p *PoolClient) AddService(ctx op_context.Context, service pool.PoolService) (pool.PoolService, error)
func (*PoolClient) AddServiceToPool ¶
func (p *PoolClient) AddServiceToPool(ctx op_context.Context, poolId string, serviceId string, role string, idIsName ...bool) error
func (*PoolClient) DeletePool ¶
func (p *PoolClient) DeletePool(ctx op_context.Context, id string, idIsName ...bool) error
func (*PoolClient) DeleteService ¶
func (p *PoolClient) DeleteService(ctx op_context.Context, id string, idIsName ...bool) error
func (*PoolClient) FindPool ¶
func (p *PoolClient) FindPool(ctx op_context.Context, id string, idIsName ...bool) (pool.Pool, error)
func (*PoolClient) FindService ¶
func (p *PoolClient) FindService(ctx op_context.Context, id string, idIsName ...bool) (pool.PoolService, error)
func (*PoolClient) GetPoolBindings ¶
func (p *PoolClient) GetPoolBindings(ctx op_context.Context, id string, idIsName ...bool) ([]*pool.PoolServiceBinding, error)
func (*PoolClient) GetPools ¶
func (p *PoolClient) GetPools(ctx op_context.Context, filter *db.Filter) ([]*pool.PoolBase, int64, error)
func (*PoolClient) GetServiceBindings ¶
func (p *PoolClient) GetServiceBindings(ctx op_context.Context, id string, idIsName ...bool) ([]*pool.PoolServiceBinding, error)
func (*PoolClient) GetServices ¶
func (p *PoolClient) GetServices(ctx op_context.Context, filter *db.Filter) ([]*pool.PoolServiceBase, int64, error)
func (*PoolClient) RemoveAllServicesFromPool ¶
func (p *PoolClient) RemoveAllServicesFromPool(ctx op_context.Context, id string, idIsName ...bool) error
func (*PoolClient) RemoveServiceFromAllPools ¶
func (p *PoolClient) RemoveServiceFromAllPools(ctx op_context.Context, id string, idIsName ...bool) error
func (*PoolClient) RemoveServiceFromPool ¶
func (p *PoolClient) RemoveServiceFromPool(ctx op_context.Context, poolId string, role string, idIsName ...bool) error
func (*PoolClient) UpdatePool ¶
func (p *PoolClient) UpdatePool(ctx op_context.Context, id string, fields db.Fields, idIsName ...bool) (pool.Pool, error)
func (*PoolClient) UpdateService ¶
func (p *PoolClient) UpdateService(ctx op_context.Context, id string, fields db.Fields, idIsName ...bool) (pool.PoolService, error)
type RemoveAllServicesFromPool ¶
type RemoveAllServicesFromPool struct{}
func (*RemoveAllServicesFromPool) Exec ¶
func (a *RemoveAllServicesFromPool) Exec(client api_client.Client, ctx op_context.Context, operation api.Operation) error
type RemoveServiceFromAllPools ¶
type RemoveServiceFromAllPools struct{}
func (*RemoveServiceFromAllPools) Exec ¶
func (a *RemoveServiceFromAllPools) Exec(client api_client.Client, ctx op_context.Context, operation api.Operation) error
type RemoveServiceFromPool ¶
type RemoveServiceFromPool struct{}
func (*RemoveServiceFromPool) Exec ¶
func (a *RemoveServiceFromPool) Exec(client api_client.Client, ctx op_context.Context, operation api.Operation) error
type UpdatePool ¶
type UpdatePool struct {
// contains filtered or unexported fields
}
func (*UpdatePool) Exec ¶
func (a *UpdatePool) Exec(client api_client.Client, ctx op_context.Context, operation api.Operation) error
type UpdateService ¶
type UpdateService struct {
// contains filtered or unexported fields
}
func (*UpdateService) Exec ¶
func (a *UpdateService) Exec(client api_client.Client, ctx op_context.Context, operation api.Operation) error
Source Files ¶
- add_pool.go
- add_service.go
- add_service_to_pool.go
- delete_pool.go
- delete_service.go
- find_pool.go
- find_service.go
- list_pool_services.go
- list_pools.go
- list_service_pools.go
- list_services.go
- pool_client.go
- remove_all_services_from_pool.go
- remove_service_from_all_pools.go
- remove_service_from_pool.go
- update_pool.go
- update_service.go
Click to show internal directories.
Click to hide internal directories.