util

package
v1.7.26 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(name string) bool

func ToCanonicalString

func ToCanonicalString(obj interface{}) (string, error)

Types

type Assertion

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

type AssertionEffect struct {
	// contains filtered or unexported fields
}

type DomainSignedPolicyData

type DomainSignedPolicyData struct {
	KeyId            string            `json:"keyId"`
	Signature        string            `json:"signature"`
	SignedPolicyData *SignedPolicyData `json:"signedPolicyData"`
}

type Policy

type Policy struct {
	Assertions []*Assertion   `json:"assertions,omitempty"`
	Modified   *rdl.Timestamp `json:"modified,omitempty"`
	Name       string         `json:"name,omitempty"`
}

type PolicyData

type PolicyData struct {
	Domain   string    `json:"domain,omitempty"`
	Policies []*Policy `json:"policies,omitempty"`
}

type SignedPolicyData

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"`
}

Jump to

Keyboard shortcuts

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