annotations

package
v0.0.32 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const EdgeConfigID = "EdgeConfig"
View Source
const EntityConfigID = "EntityConfig"
View Source
const (
	FieldConfigID = "FieldConfig"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EdgeConfig

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

func Edge

func Edge() *EdgeConfig

func (*EdgeConfig) DisableCreate added in v0.0.30

func (e *EdgeConfig) DisableCreate(opts ...entityConfigOption) *EdgeConfig

func (*EdgeConfig) DisableDelete added in v0.0.30

func (e *EdgeConfig) DisableDelete(opts ...entityConfigOption) *EdgeConfig

func (*EdgeConfig) DisableRead

func (e *EdgeConfig) DisableRead(opts ...entityConfigOption) *EdgeConfig

func (*EdgeConfig) DisableUpdate added in v0.0.30

func (e *EdgeConfig) DisableUpdate(opts ...entityConfigOption) *EdgeConfig

func (*EdgeConfig) EnableCreate added in v0.0.30

func (e *EdgeConfig) EnableCreate(opts ...edgeConfigOption) *EdgeConfig

func (*EdgeConfig) EnableDelete added in v0.0.30

func (e *EdgeConfig) EnableDelete(opts ...edgeConfigOption) *EdgeConfig

func (*EdgeConfig) EnableRead

func (e *EdgeConfig) EnableRead(opts ...entityConfigOption) *EdgeConfig

func (*EdgeConfig) EnableUpdate added in v0.0.30

func (e *EdgeConfig) EnableUpdate(opts ...edgeConfigOption) *EdgeConfig

func (*EdgeConfig) GetCreateEnabled added in v0.0.30

func (c *EdgeConfig) GetCreateEnabled(mode string) *bool

func (*EdgeConfig) GetDeleteEnabled added in v0.0.30

func (c *EdgeConfig) GetDeleteEnabled(mode string) *bool

func (*EdgeConfig) GetReadEnabled

func (c *EdgeConfig) GetReadEnabled(mode string) *bool

func (*EdgeConfig) GetUpdateEnabled added in v0.0.30

func (c *EdgeConfig) GetUpdateEnabled(mode string) *bool

func (*EdgeConfig) Name

func (*EdgeConfig) Name() string

type EntityConfig

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

func Entity

func Entity() *EntityConfig

func (*EntityConfig) DisableCreate

func (c *EntityConfig) DisableCreate(opts ...entityConfigOption) *EntityConfig

func (*EntityConfig) DisableDelete

func (c *EntityConfig) DisableDelete(opts ...entityConfigOption) *EntityConfig

func (*EntityConfig) DisableReadMany

func (c *EntityConfig) DisableReadMany(opts ...entityConfigOption) *EntityConfig

func (*EntityConfig) DisableReadOne

func (c *EntityConfig) DisableReadOne(opts ...entityConfigOption) *EntityConfig

func (*EntityConfig) DisableUpdate

func (c *EntityConfig) DisableUpdate(opts ...entityConfigOption) *EntityConfig

func (*EntityConfig) EnableCreate

func (c *EntityConfig) EnableCreate(opts ...entityConfigOption) *EntityConfig

func (*EntityConfig) EnableDelete

func (c *EntityConfig) EnableDelete(opts ...entityConfigOption) *EntityConfig

func (*EntityConfig) EnableReadMany

func (c *EntityConfig) EnableReadMany(opts ...entityConfigOption) *EntityConfig

func (*EntityConfig) EnableReadOne

func (c *EntityConfig) EnableReadOne(opts ...entityConfigOption) *EntityConfig

func (*EntityConfig) EnableUpdate

func (c *EntityConfig) EnableUpdate(opts ...entityConfigOption) *EntityConfig

func (*EntityConfig) GetCreateOpEnabled

func (c *EntityConfig) GetCreateOpEnabled(mode string) *bool

func (*EntityConfig) GetDeleteOpEnabled

func (c *EntityConfig) GetDeleteOpEnabled(mode string) *bool

func (*EntityConfig) GetReadManyOpEnabled

func (c *EntityConfig) GetReadManyOpEnabled(mode string) *bool

func (*EntityConfig) GetReadOneOpEnabled

func (c *EntityConfig) GetReadOneOpEnabled(mode string) *bool

func (*EntityConfig) GetUpdateOpEnabled

func (c *EntityConfig) GetUpdateOpEnabled(mode string) *bool

func (*EntityConfig) Name

func (c *EntityConfig) Name() string

type FieldConfig

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

func Field

func Field() *FieldConfig

func (*FieldConfig) EnableFilter added in v0.0.30

func (c *FieldConfig) EnableFilter(opts ...fieldConfigOption) *FieldConfig

func (*FieldConfig) GetEnableFilter added in v0.0.30

func (c *FieldConfig) GetEnableFilter(mode string) *bool

func (*FieldConfig) GetPublic

func (c *FieldConfig) GetPublic(mode string) *bool

func (*FieldConfig) Name

func (c *FieldConfig) Name() string

func (*FieldConfig) SetPrivate

func (c *FieldConfig) SetPrivate(opts ...fieldConfigOption) *FieldConfig

func (*FieldConfig) SetPublic

func (c *FieldConfig) SetPublic(opts ...fieldConfigOption) *FieldConfig

type Modes

type Modes []string

func (Modes) IsGlobalOption

func (m Modes) IsGlobalOption()

func (Modes) IsOption

func (m Modes) IsOption()

Jump to

Keyboard shortcuts

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