Documentation ¶
Index ¶
- func Create(ctx context.Context, datacenterInput *apicontracts.DatacenterModel, ...) (*apicontracts.Datacenter, error)
- func GetAllByUser(ctx context.Context) (*[]apicontracts.Datacenter, error)
- func GetById(ctx context.Context, datacenterId string) (*apicontracts.Datacenter, error)
- func GetByName(ctx context.Context, datacenterName string) (*apicontracts.Datacenter, error)
- func Update(ctx context.Context, datacenterId string, ...) (*apicontracts.Datacenter, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(ctx context.Context, datacenterInput *apicontracts.DatacenterModel, user *identitymodels.User) (*apicontracts.Datacenter, error)
func GetAllByUser ¶
func GetAllByUser(ctx context.Context) (*[]apicontracts.Datacenter, error)
func GetById ¶
func GetById(ctx context.Context, datacenterId string) (*apicontracts.Datacenter, error)
func GetByName ¶
func GetByName(ctx context.Context, datacenterName string) (*apicontracts.Datacenter, error)
func Update ¶
func Update(ctx context.Context, datacenterId string, datacenterInput *apicontracts.DatacenterModel, user *identitymodels.User) (*apicontracts.Datacenter, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.