Documentation
¶
Overview ¶
Copyright 2019 Cohesity Inc.
Copyright 2019 Cohesity Inc.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SEARCH ¶
type SEARCH interface { SearchProtectionRuns(string) (*models.ProtectionRunResponse, error) SearchProtectionSources(*string, []string, []models.EnvironmentSearchProtectionSourcesEnum, []int64, []models.PhysicalServerHostTypeEnum, []string, *int64, *int64) ([]*models.ProtectionSourceResponse, error) }
* Interface for the SEARCH_IMPL
type SEARCH_IMPL ¶
type SEARCH_IMPL struct {
// contains filtered or unexported fields
}
* Client structure as interface implementation
func NewSEARCH ¶
func NewSEARCH(config configuration.CONFIGURATION) *SEARCH_IMPL
* Factory for the SEARCH interaface returning SEARCH_IMPL
func (*SEARCH_IMPL) SearchProtectionRuns ¶
func (me *SEARCH_IMPL) SearchProtectionRuns( muuid string) (*models.ProtectionRunResponse, error)
*
- Returns the information of latest snapshot of a particular object across
- all snapshot target locations.
- @param string muuid parameter: Required
- @return Returns the *models.ProtectionRunResponse response from the API call
func (*SEARCH_IMPL) SearchProtectionSources ¶
func (me *SEARCH_IMPL) SearchProtectionSources( searchString *string, protectionStatus []string, environments []models.EnvironmentSearchProtectionSourcesEnum, lastProtectionJobRunStatus []int64, physicalServerHostTypes []models.PhysicalServerHostTypeEnum, registeredSourceUuids []string, startIndex *int64, pageCount *int64) ([]*models.ProtectionSourceResponse, error)
*
- Returns list of all the objects along with the protection status information.
- @param *string searchString parameter: Optional
- @param []string protectionStatus parameter: Optional
- @param []models.EnvironmentSearchProtectionSourcesEnum environments parameter: Optional
- @param []int64 lastProtectionJobRunStatus parameter: Optional
- @param []models.PhysicalServerHostTypeEnum physicalServerHostTypes parameter: Optional
- @param []string registeredSourceUuids parameter: Optional
- @param *int64 startIndex parameter: Optional
- @param *int64 pageCount parameter: Optional
- @return Returns the []*models.ProtectionSourceResponse response from the API call
Click to show internal directories.
Click to hide internal directories.