package
Version:
v1.8.2
Opens a new window with list of versions in this module.
Published: Sep 28, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package util provides utility types and functions
for zpe-updater.
Exists checks if the file with the given name
exists or not.
func ToCanonicalString(obj interface{}) (string, error)
type Assertion struct {
Action string `json:"action,omitempty"`
Effect string `json:"effect,omitempty"`
Id int64 `json:"id,omitempty"`
Resource string `json:"resource,omitempty"`
Role string `json:"role,omitempty"`
}
type AssertionEffect struct {
}
type DomainSignedPolicyData struct {
KeyId string `json:"keyId"`
Signature string `json:"signature"`
SignedPolicyData *SignedPolicyData `json:"signedPolicyData"`
}
type Policy struct {
Assertions []*Assertion `json:"assertions,omitempty"`
Modified *rdl.Timestamp `json:"modified,omitempty"`
Name string `json:"name,omitempty"`
}
type PolicyData struct {
Domain string `json:"domain,omitempty"`
Policies []*Policy `json:"policies,omitempty"`
}
type SignedPolicyData struct {
Expires *rdl.Timestamp `json:"expires"`
Modified *rdl.Timestamp `json:"modified"`
PolicyData *PolicyData `json:"policyData"`
ZmsKeyId string `json:"zmsKeyId"`
ZmsSignature string `json:"zmsSignature"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.