Documentation
¶
Index ¶
- type TenancyClient
- func (t *TenancyClient) Activate(ctx op_context.Context, id string, idIsDisplay ...bool) error
- func (t *TenancyClient) Add(ctx op_context.Context, tenancy *multitenancy.TenancyData) (*multitenancy.TenancyItem, error)
- func (t *TenancyClient) AddIpAddress(ctx op_context.Context, id string, ipAddress string, tag string, ...) error
- func (t *TenancyClient) ChangePoolOrDb(ctx op_context.Context, id string, poolId string, dbName string, ...) error
- func (t *TenancyClient) Deactivate(ctx op_context.Context, id string, idIsDisplay ...bool) error
- func (t *TenancyClient) Delete(ctx op_context.Context, id string, withDb bool, idIsDisplay ...bool) error
- func (t *TenancyClient) DeleteIpAddress(ctx op_context.Context, id string, ipAddress string, tag string, ...) error
- func (t *TenancyClient) Exists(ctx op_context.Context, fields db.Fields) (bool, error)
- func (t *TenancyClient) Find(ctx op_context.Context, id string, idIsDisplay ...bool) (*multitenancy.TenancyItem, error)
- func (t *TenancyClient) List(ctx op_context.Context, filter *db.Filter) ([]*multitenancy.TenancyItem, int64, error)
- func (t *TenancyClient) ListIpAddresses(ctx op_context.Context, filter *db.Filter) ([]*multitenancy.TenancyIpAddressItem, int64, error)
- func (t *TenancyClient) SetActive(ctx op_context.Context, id string, active bool, idIsDisplay ...bool) error
- func (t *TenancyClient) SetCustomer(ctx op_context.Context, id string, customerId string, idIsDisplay ...bool) error
- func (t *TenancyClient) SetDbRole(ctx op_context.Context, id string, role string, idIsDisplay ...bool) error
- func (t *TenancyClient) SetPath(ctx op_context.Context, id string, path string, idIsDisplay ...bool) error
- func (t *TenancyClient) SetPathBlocked(ctx op_context.Context, id string, blocked bool, ...) error
- func (t *TenancyClient) SetRole(ctx op_context.Context, id string, role string, idIsDisplay ...bool) error
- func (t *TenancyClient) SetShadowPath(ctx op_context.Context, id string, path string, idIsDisplay ...bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TenancyClient ¶
type TenancyClient struct { api_client.ServiceClient TenanciesResource api.Resource TenancyResource api.Resource IpAddressesResource api.Resource // contains filtered or unexported fields }
func NewTenancyClient ¶
func NewTenancyClient(client api_client.Client) *TenancyClient
func (*TenancyClient) Activate ¶
func (t *TenancyClient) Activate(ctx op_context.Context, id string, idIsDisplay ...bool) error
func (*TenancyClient) Add ¶
func (t *TenancyClient) Add(ctx op_context.Context, tenancy *multitenancy.TenancyData) (*multitenancy.TenancyItem, error)
func (*TenancyClient) AddIpAddress ¶
func (t *TenancyClient) AddIpAddress(ctx op_context.Context, id string, ipAddress string, tag string, idIsDisplay ...bool) error
func (*TenancyClient) ChangePoolOrDb ¶
func (t *TenancyClient) ChangePoolOrDb(ctx op_context.Context, id string, poolId string, dbName string, idIsDisplay ...bool) error
func (*TenancyClient) Deactivate ¶
func (t *TenancyClient) Deactivate(ctx op_context.Context, id string, idIsDisplay ...bool) error
func (*TenancyClient) Delete ¶
func (t *TenancyClient) Delete(ctx op_context.Context, id string, withDb bool, idIsDisplay ...bool) error
func (*TenancyClient) DeleteIpAddress ¶
func (t *TenancyClient) DeleteIpAddress(ctx op_context.Context, id string, ipAddress string, tag string, idIsDisplay ...bool) error
func (*TenancyClient) Exists ¶
func (t *TenancyClient) Exists(ctx op_context.Context, fields db.Fields) (bool, error)
func (*TenancyClient) Find ¶
func (t *TenancyClient) Find(ctx op_context.Context, id string, idIsDisplay ...bool) (*multitenancy.TenancyItem, error)
func (*TenancyClient) List ¶
func (t *TenancyClient) List(ctx op_context.Context, filter *db.Filter) ([]*multitenancy.TenancyItem, int64, error)
func (*TenancyClient) ListIpAddresses ¶
func (t *TenancyClient) ListIpAddresses(ctx op_context.Context, filter *db.Filter) ([]*multitenancy.TenancyIpAddressItem, int64, error)
func (*TenancyClient) SetActive ¶
func (t *TenancyClient) SetActive(ctx op_context.Context, id string, active bool, idIsDisplay ...bool) error
func (*TenancyClient) SetCustomer ¶
func (t *TenancyClient) SetCustomer(ctx op_context.Context, id string, customerId string, idIsDisplay ...bool) error
func (*TenancyClient) SetDbRole ¶
func (t *TenancyClient) SetDbRole(ctx op_context.Context, id string, role string, idIsDisplay ...bool) error
func (*TenancyClient) SetPath ¶
func (t *TenancyClient) SetPath(ctx op_context.Context, id string, path string, idIsDisplay ...bool) error
func (*TenancyClient) SetPathBlocked ¶
func (t *TenancyClient) SetPathBlocked(ctx op_context.Context, id string, blocked bool, mode multitenancy.TenancyBlockPathMode, idIsDisplay ...bool) error
func (*TenancyClient) SetRole ¶
func (t *TenancyClient) SetRole(ctx op_context.Context, id string, role string, idIsDisplay ...bool) error
func (*TenancyClient) SetShadowPath ¶
func (t *TenancyClient) SetShadowPath(ctx op_context.Context, id string, path string, idIsDisplay ...bool) error
Click to show internal directories.
Click to hide internal directories.