search

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

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

* 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL