package pointerutil
import "github.com/hashicorp/vault/sdk/helper/pointerutil"
Index ¶
- func BoolPtr(b bool) *bool
- func FileModePtr(o os.FileMode) *os.FileMode
- func Int64Ptr(i int64) *int64
- func StringPtr(s string) *string
- func TimeDurationPtr(duration string) *time.Duration
Functions ¶
func BoolPtr ¶
BoolPtr returns a pointer to a boolean value
func FileModePtr ¶
FileModePtr returns a pointer to the given os.FileMode
func Int64Ptr ¶
Int64Ptr returns a pointer to an int64 value
func StringPtr ¶
StringPtr returns a pointer to a string value
func TimeDurationPtr ¶
TimeDurationPtr returns a pointer to a time duration value
Source Files ¶
- Version
- v0.18.0 (latest)
- Published
- Jun 5, 2025
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 1 month ago –
Tools for package owners.