resourcestore

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

resourcestore package provides a store to store permission resource mappings

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

func New

func New() *Store

func (*Store) Add

func (s *Store) Add(res resourceset.Resource, permission accesstypes.Permission, fields []string) error

func (*Store) Fields

func (s *Store) Fields(parent resourceset.Resource, permission accesstypes.Permission) []string

func (*Store) PermissionsWithFields

func (s *Store) PermissionsWithFields(parent resourceset.Resource) map[accesstypes.Permission][]string

Jump to

Keyboard shortcuts

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