Documentation ¶
Index ¶
- func DisableMaintenance(params MaintenanceParams) error
- func EnableMaintenace(params MaintenanceParams) error
- func Get(params GetParams) (*models.ConstructorInfo, error)
- func List(params ListParams) (*models.ConstructorOverview, error)
- func Resync(params ResyncParams) error
- func ResyncAll(params ResyncAllParams) (*models.ModelVersionIndexSynchronizationResults, error)
- type GetParams
- type ListParams
- type MaintenanceParams
- type ResyncAllParams
- type ResyncParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisableMaintenance ¶
func DisableMaintenance(params MaintenanceParams) error
DisableMaintenance unsets the constructor to operational mode
func EnableMaintenace ¶
func EnableMaintenace(params MaintenanceParams) error
EnableMaintenace sets the constructor to operational mode
func Get ¶
func Get(params GetParams) (*models.ConstructorInfo, error)
Get returns information about a specific constructor
func List ¶
func List(params ListParams) (*models.ConstructorOverview, error)
List gets the list of constuctors for a region
func Resync ¶
func Resync(params ResyncParams) error
Resync forces indexer to immediately resynchronize the search index and cache for a given constructor.
func ResyncAll ¶
func ResyncAll(params ResyncAllParams) (*models.ModelVersionIndexSynchronizationResults, error)
ResyncAll asynchronously resynchronizes the search index for all constructors.
Types ¶
type ListParams ¶
ListParams is the generic set of parameters used for any constructor call
func (ListParams) Validate ¶
func (params ListParams) Validate() error
Validate checks the parameters
type MaintenanceParams ¶
MaintenanceParams is the set of parameters required for EnableMaintenace and DisableMaintenance
func (MaintenanceParams) Validate ¶
func (params MaintenanceParams) Validate() error
Validate checks the parameters
type ResyncAllParams ¶
ResyncAllParams is consumed by ResyncAll
func (ResyncAllParams) Validate ¶
func (params ResyncAllParams) Validate() error
Validate ensures the parameters are usable by the consuming function.
type ResyncParams ¶
ResyncParams is consumed by Resync
func (ResyncParams) Validate ¶
func (params ResyncParams) Validate() error
Validate ensures the parameters are usable by the consuming function.