dto

package
v0.0.0-...-aec1c34 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListPolicyRequest

type ListPolicyRequest struct {
	Sub          string `json:"sub"`
	ResourceType string `json:"resource_type"`
}

type ListPolicyResponse

type ListPolicyResponse struct {
	Policies []string `json:"policies"`
}

type Policy

type Policy struct {
	Sub          string `json:"subject"`
	ResourceType string `json:"resource_type"`
	ResourceID   string `json:"resource_id"`
	Action       string `json:"action"`
}

type RemovePolicyRequest

type RemovePolicyRequest struct {
	*Policy
}

type UpsertPolicyRequest

type UpsertPolicyRequest struct {
	*Policy
}

Jump to

Keyboard shortcuts

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