Documentation ¶
Index ¶
- func DisableMaintenance(params MaintenanceParams) error
- func EnableMaintenace(params MaintenanceParams) error
- func Get(params GetParams) (*models.ConstructorInfo, error)
- func List(params Params) (*models.ConstructorOverview, error)
- func Resync(params ResyncParams) error
- func ResyncAll(params Params) (*models.ModelVersionIndexSynchronizationResults, error)
- type GetParams
- type MaintenanceParams
- type Params
- 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 Params) (*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.
Types ¶
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 ResyncParams ¶
ResyncParams is consumed by Resync
func (ResyncParams) Validate ¶
func (params ResyncParams) Validate() error
Validate ensures the parameters are usable by the consuming function.
Click to show internal directories.
Click to hide internal directories.