ports

package
v0.4.17 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UpdateResult

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

UpdateResult represents the result of a enable or disable operation. Call its Extract method to interpret it as a Interface.

func DisablePortSecurity

func DisablePortSecurity(c *gcorecloud.ServiceClient, portID string) (r UpdateResult)

DisablePortSecurity

func EnablePortSecurity

func EnablePortSecurity(c *gcorecloud.ServiceClient, portID string) (r UpdateResult)

EnablePortSecurity

func (UpdateResult) Extract

func (r UpdateResult) Extract() (*instances.Interface, error)

Extract is a function that accepts a result and extracts a security group resource.

func (UpdateResult) ExtractInto

func (r UpdateResult) ExtractInto(v interface{}) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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