Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Token string
)
Functions ¶
func CustomMarshal ¶
CustomMarshal marshals based on type
Types ¶
type Request ¶
type Request struct { Data map[string]string `json:"data"` Options Options `json:"options,omitempty"` Versions []int `json:"versions,omitempty"` }
Request json type to push data
type Result ¶
type Result struct { Renewable bool Warnings string Auth string Errors []string Data data Metadata resultMetadata LeaseID string `json:"lease_id"` WrapInfo string `json:"wrap_info"` RequestID string `json:"request_id"` LeaseDuration int `json:"lease_duration"` }
Result json type to loop over keys
func DeleteStore ¶
DeleteStore deletes item with key
func QueryStore ¶
QueryStore connects to vault's pki store
Click to show internal directories.
Click to hide internal directories.