pool_client

package
v0.0.0-...-8122643 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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

type RemoveServiceFromAllPools

type RemoveServiceFromAllPools struct{}

func (*RemoveServiceFromAllPools) Exec

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

Jump to

Keyboard shortcuts

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