columnset

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2024 License: MIT Imports: 5 Imported by: 1

Documentation

Overview

package columnset provides types to store columns that a given user has access to view

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ColumnSet

type ColumnSet interface {
	StructFields(ctx context.Context) ([]accesstypes.Field, error)
}

func NewColumnSet

func NewColumnSet[T any](rSet *resourceset.ResourceSet, permissionChecker accesstypes.Enforcer, domainFromCtx DomainFromCtx, userFromCtx UserFromCtx) (ColumnSet, error)

type DomainFromCtx

type DomainFromCtx func(context.Context) accesstypes.Domain

type UserFromCtx

type UserFromCtx func(context.Context) accesstypes.User

Jump to

Keyboard shortcuts

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