Documentation ¶
Index ¶
- Constants
- type EdgeConfig
- func (e *EdgeConfig) DisableCreate(opts ...entityConfigOption) *EdgeConfig
- func (e *EdgeConfig) DisableDelete(opts ...entityConfigOption) *EdgeConfig
- func (e *EdgeConfig) DisableRead(opts ...entityConfigOption) *EdgeConfig
- func (e *EdgeConfig) DisableUpdate(opts ...entityConfigOption) *EdgeConfig
- func (e *EdgeConfig) EnableCreate(opts ...edgeConfigOption) *EdgeConfig
- func (e *EdgeConfig) EnableDelete(opts ...edgeConfigOption) *EdgeConfig
- func (e *EdgeConfig) EnableRead(opts ...entityConfigOption) *EdgeConfig
- func (e *EdgeConfig) EnableUpdate(opts ...edgeConfigOption) *EdgeConfig
- func (c *EdgeConfig) GetCreateEnabled(mode string) *bool
- func (c *EdgeConfig) GetDeleteEnabled(mode string) *bool
- func (c *EdgeConfig) GetReadEnabled(mode string) *bool
- func (c *EdgeConfig) GetUpdateEnabled(mode string) *bool
- func (*EdgeConfig) Name() string
- type EntityConfig
- func (c *EntityConfig) DisableCreate(opts ...entityConfigOption) *EntityConfig
- func (c *EntityConfig) DisableDelete(opts ...entityConfigOption) *EntityConfig
- func (c *EntityConfig) DisableReadMany(opts ...entityConfigOption) *EntityConfig
- func (c *EntityConfig) DisableReadOne(opts ...entityConfigOption) *EntityConfig
- func (c *EntityConfig) DisableUpdate(opts ...entityConfigOption) *EntityConfig
- func (c *EntityConfig) EnableCreate(opts ...entityConfigOption) *EntityConfig
- func (c *EntityConfig) EnableDelete(opts ...entityConfigOption) *EntityConfig
- func (c *EntityConfig) EnableReadMany(opts ...entityConfigOption) *EntityConfig
- func (c *EntityConfig) EnableReadOne(opts ...entityConfigOption) *EntityConfig
- func (c *EntityConfig) EnableUpdate(opts ...entityConfigOption) *EntityConfig
- func (c *EntityConfig) GetCreateOpEnabled(mode string) *bool
- func (c *EntityConfig) GetDeleteOpEnabled(mode string) *bool
- func (c *EntityConfig) GetReadManyOpEnabled(mode string) *bool
- func (c *EntityConfig) GetReadOneOpEnabled(mode string) *bool
- func (c *EntityConfig) GetUpdateOpEnabled(mode string) *bool
- func (c *EntityConfig) Name() string
- type FieldConfig
- func (c *FieldConfig) EnableFilter(opts ...fieldConfigOption) *FieldConfig
- func (c *FieldConfig) GetEnableFilter(mode string) *bool
- func (c *FieldConfig) GetPublic(mode string) *bool
- func (c *FieldConfig) Name() string
- func (c *FieldConfig) SetPrivate(opts ...fieldConfigOption) *FieldConfig
- func (c *FieldConfig) SetPublic(opts ...fieldConfigOption) *FieldConfig
- type Modes
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
Click to show internal directories.
Click to hide internal directories.