routes

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

type ROUTES

type ROUTES interface {
	DeleteRoute(*models.DeleteRouteParam) error

	GetRoutes() ([]*models.Route, error)

	AddRoute(*models.Route) (*models.Route, error)
}

* Interface for the ROUTES_IMPL

type ROUTES_IMPL

type ROUTES_IMPL struct {
	// contains filtered or unexported fields
}

* Client structure as interface implementation

func NewROUTES

func NewROUTES(config configuration.CONFIGURATION) *ROUTES_IMPL

* Factory for the ROUTES interaface returning ROUTES_IMPL

func (*ROUTES_IMPL) AddRoute

func (me *ROUTES_IMPL) AddRoute(
	body *models.Route) (*models.Route, error)

*

  • Returns the create status upon completion.
  • @param *models.Route body parameter: Optional
  • @return Returns the *models.Route response from the API call

func (*ROUTES_IMPL) DeleteRoute

func (me *ROUTES_IMPL) DeleteRoute(
	body *models.DeleteRouteParam) error

*

  • Returns the delete status upon completion.
  • @param *models.DeleteRouteParam body parameter: Optional
  • @return Returns the response from the API call

func (*ROUTES_IMPL) GetRoutes

func (me *ROUTES_IMPL) GetRoutes() ([]*models.Route, error)

*

  • Returns the Static Routes for the Cohesity Cluster.
  • @return Returns the []*models.Route response from the API call

Jump to

Keyboard shortcuts

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