ptr

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToNSGSlice

ToNSGSlice returns a slice of NSG values, that are dereferenced if the passed in pointer was not nil. Returns an empty slice zero value if the pointer was nil.

func ToString

func ToString(p *string) (v string)

ToString returns string value dereferenced if the passed in pointer was not nil. Returns a string zero value if the pointer was nil.

func ToStringSlice

func ToStringSlice(vs []*string) []string

ToStringSlice returns a slice of string values, that are dereferenced if the passed in pointer was not nil. Returns a string zero value if the pointer was nil.

func ToSubnetSlice added in v0.21.0

ToSubnetSlice returns a slice of Subnet values, that are dereferenced if the passed in pointer was not nil. Returns an empty slice zero value if the pointer was nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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