Documentation ¶
Index ¶
- func CheckPatchesChanged(response *sppv1.SppNfvResponse, patches []sppv1.PatchOption) bool
- func CheckResourcesChanged(response *sppv1.SppNfvResponse, resources []string) ([]string, []string)
- func CheckResourcesExist(response *sppv1.SppNfvResponse) bool
- func PutPatches(patch sppv1.PatchOption, base_url string) bool
- func PutResources(resource string, base_url string, action string) bool
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.