package parseutil

import "github.com/hashicorp/vault/sdk/helper/parseutil"

DEPRECATED: this has been moved to go-secure-stdlib and will be removed

Index

Functions

func ParseAbsoluteTime

func ParseAbsoluteTime(in interface{}) (time.Time, error)

func ParseAddrs

func ParseAddrs(addrs interface{}) ([]*sockaddr.SockAddrMarshaler, error)

func ParseBool

func ParseBool(in interface{}) (bool, error)

func ParseCapacityString

func ParseCapacityString(in interface{}) (uint64, error)

func ParseCommaStringSlice

func ParseCommaStringSlice(in interface{}) ([]string, error)

func ParseDurationSecond

func ParseDurationSecond(in interface{}) (time.Duration, error)

func ParseInt

func ParseInt(in interface{}) (int64, error)

func ParseString

func ParseString(in interface{}) (string, error)

Source Files

parseutil.go

Version
v0.18.0 (latest)
Published
Jun 5, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
1 month ago

Tools for package owners.