nfv

package
v0.0.0-...-b0a6671 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPatchesChanged

func CheckPatchesChanged(response *sppv1.SppNfvResponse, patches []sppv1.PatchOption) bool

checkPatchesChanged returns ture if patches has been changed

func CheckResourcesChanged

func CheckResourcesChanged(response *sppv1.SppNfvResponse, resources []string) ([]string, []string)

checkResourcesChanged returns resources deleted and added by comparing response and resources given

func CheckResourcesExist

func CheckResourcesExist(response *sppv1.SppNfvResponse) bool

checkResourcesExist returns ture if vhost or ring exist in response

func PutPatches

func PutPatches(patch sppv1.PatchOption, base_url string) bool

putPatches make http request with put method

func PutResources

func PutResources(resource string, base_url string, action string) bool

putResources make http request with put method

Types

This section is empty.

Jump to

Keyboard shortcuts

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