Documentation ¶
Index ¶
- func BatchCreate(params []warrant.TenantParams) ([]warrant.Tenant, error)
- func Create(params *warrant.TenantParams) (*warrant.Tenant, error)
- func Delete(tenantId string) error
- func Get(tenantId string) (*warrant.Tenant, error)
- func ListTenants(listParams *warrant.ListTenantParams) ([]warrant.Tenant, error)
- func ListTenantsForUser(userId string, listParams *warrant.ListTenantParams) ([]warrant.Tenant, error)
- func Update(tenantId string, params *warrant.TenantParams) (*warrant.Tenant, error)
- type Client
- func (c Client) BatchCreate(params []warrant.TenantParams) ([]warrant.Tenant, error)
- func (c Client) Create(params *warrant.TenantParams) (*warrant.Tenant, error)
- func (c Client) Delete(tenantId string) error
- func (c Client) Get(tenantId string) (*warrant.Tenant, error)
- func (c Client) ListTenants(listParams *warrant.ListTenantParams) ([]warrant.Tenant, error)
- func (c Client) ListTenantsForUser(userId string, listParams *warrant.ListTenantParams) ([]warrant.Tenant, error)
- func (c Client) Update(tenantId string, params *warrant.TenantParams) (*warrant.Tenant, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BatchCreate ¶
func BatchCreate(params []warrant.TenantParams) ([]warrant.Tenant, error)
func ListTenants ¶
func ListTenants(listParams *warrant.ListTenantParams) ([]warrant.Tenant, error)
func ListTenantsForUser ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(config config.ClientConfig) Client
func (Client) BatchCreate ¶
func (Client) ListTenants ¶
func (Client) ListTenantsForUser ¶
Click to show internal directories.
Click to hide internal directories.