tenancy_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: 7 Imported by: 0

Documentation

Index

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 (*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 (*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

Jump to

Keyboard shortcuts

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