Documentation ¶
Index ¶
Constants ¶
View Source
const IpAddressResource string = "ip-address"
View Source
const ServiceName string = "tenancies"
View Source
const TenancyResource string = "tenancy"
Variables ¶
View Source
var ( List = func() api.Operation { return api.List("list_tenancies") } Add = func() api.Operation { return api.Add("add_tenancy") } Find = func() api.Operation { return api.Find("find_tenancy") } Exists = func() api.Operation { return api.Exists("tenancy_exists") } Delete = func() api.Operation { return api.Delete("delete_tenancy") } SetActive = func() api.Operation { return api.Update("set_tenancy_active") } SetPath = func() api.Operation { return api.Update("set_tenancy_path") } SetShadowPath = func() api.Operation { return api.Update("set_tenancy_shadow_path") } SetRole = func() api.Operation { return api.Update("set_tenancy_role") } SetCustomer = func() api.Operation { return api.Update("set_tenancy_customer") } ChangePoolOrDb = func() api.Operation { return api.UpdatePartial("change_tenancy_pool_or_db") } AddIpAddress = func() api.Operation { return api.Add("add_tenancy_ip_address") } DeleteIpAddress = func() api.Operation { return api.Update("delete_tenancy_ip_address") } ListIpAddresses = func() api.Operation { return api.List("list_tenancy_ip_address") } SetDbRole = func() api.Operation { return api.Update("set_db_role") } SetPathBlocked = func() api.Operation { return api.UpdatePartial("set_path_blocked") } )
Functions ¶
This section is empty.
Types ¶
type DeleteTenancyCmd ¶
type DeleteTenancyCmd struct {
WithDatabase bool `json:"with_database"`
}
type IpAddressCmd ¶
type IpAddressCmd = multitenancy.IpAddressCmd
type ListIpAddressesResponse ¶
type ListIpAddressesResponse = api.ResponseList[*multitenancy.TenancyIpAddressItem]
type ListTenanciesResponse ¶
type ListTenanciesResponse = api.ResponseList[*multitenancy.TenancyItem]
type TenancyResponse ¶
type TenancyResponse struct { api.ResponseBase *multitenancy.TenancyItem }
Click to show internal directories.
Click to hide internal directories.