tenancy_api

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

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 ListTenanciesResponse

type ListTenanciesResponse = api.ResponseList[*multitenancy.TenancyItem]

type TenancyResponse

type TenancyResponse struct {
	api.ResponseBase
	*multitenancy.TenancyItem
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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