Documentation ¶
Index ¶
- Variables
- func AssetIDsToStrings(ids []AssetID) []string
- func AuthRequestIDToKeys(ids []AuthRequestID) []string
- func ClusterIDsToStrings(ids []ClusterID) []string
- func DatasetIDsToStrings(ids []DatasetID) []string
- func DatasetSchemaFieldIDsToStrings(ids []DatasetSchemaFieldID) []string
- func DatasetSchemaIDsToStrings(ids []DatasetSchemaID) []string
- func InfoboxFieldIDsToStrings(ids []InfoboxFieldID) []string
- func LayerIDsToStrings(ids []LayerID) []string
- func PluginIDsToStrings(ids []PluginID) []string
- func ProjectIDsToStrings(ids []ProjectID) []string
- func PropertyIDsToStrings(ids []PropertyID) []string
- func PropertyItemIDsToStrings(ids []PropertyItemID) []string
- func PropertySchemaIDsToStrings(ids []PropertySchemaID) []string
- func SceneIDsToStrings(ids []SceneID) []string
- func TagIDsToStrings(ids []TagID) []string
- func TeamIDsToStrings(ids []TeamID) []string
- func UserIDsToStrings(ids []UserID) []string
- func WidgetIDsToStrings(ids []WidgetID) []string
- type AssetID
- func AssetIDFrom(i string) (nid AssetID, err error)
- func AssetIDFromRef(i *string) *AssetID
- func AssetIDFromRefID(i *ID) *AssetID
- func AssetIDsFrom(ids []string) ([]AssetID, error)
- func AssetIDsFromID(ids []ID) []AssetID
- func AssetIDsFromIDRef(ids []*ID) []AssetID
- func MustAssetID(i string) AssetID
- func NewAssetID() AssetID
- func (d AssetID) Contains(ids []AssetID) bool
- func (d *AssetID) CopyRef() *AssetID
- func (d AssetID) GoString() string
- func (d AssetID) ID() ID
- func (d *AssetID) IDRef() *ID
- func (d AssetID) IsNil() bool
- func (d *AssetID) IsNilRef() bool
- func (d *AssetID) MarhsalJSON() ([]byte, error)
- func (d *AssetID) MarshalText() ([]byte, error)
- func (d AssetID) Ref() *AssetID
- func (d AssetID) RefString() *string
- func (d AssetID) String() string
- func (d *AssetID) StringRef() *string
- func (d *AssetID) UnmarhsalJSON(bs []byte) (err error)
- func (d *AssetID) UnmarshalText(text []byte) (err error)
- type AssetIDSet
- type AuthRequestID
- func AuthRequestIDFrom(i string) (nid AuthRequestID, err error)
- func AuthRequestIDFromRef(i *string) *AuthRequestID
- func AuthRequestIDFromRefID(i *ID) *AuthRequestID
- func AuthRequestIDsFrom(ids []string) ([]AuthRequestID, error)
- func AuthRequestIDsFromID(ids []ID) []AuthRequestID
- func AuthRequestIDsFromIDRef(ids []*ID) []AuthRequestID
- func MustAuthRequestID(i string) AuthRequestID
- func NewAuthRequestID() AuthRequestID
- func (d AuthRequestID) Contains(ids []AuthRequestID) bool
- func (d *AuthRequestID) CopyRef() *AuthRequestID
- func (d AuthRequestID) GoString() string
- func (d AuthRequestID) ID() ID
- func (d *AuthRequestID) IDRef() *ID
- func (d AuthRequestID) IsNil() bool
- func (d *AuthRequestID) MarhsalJSON() ([]byte, error)
- func (d *AuthRequestID) MarshalText() ([]byte, error)
- func (d AuthRequestID) Ref() *AuthRequestID
- func (d AuthRequestID) RefString() *string
- func (d AuthRequestID) String() string
- func (d *AuthRequestID) StringRef() *string
- func (d *AuthRequestID) UnmarhsalJSON(bs []byte) (err error)
- func (d *AuthRequestID) UnmarshalText(text []byte) (err error)
- type AuthRequestIDSet
- func (s *AuthRequestIDSet) Add(p ...AuthRequestID)
- func (s *AuthRequestIDSet) AddRef(p *AuthRequestID)
- func (s *AuthRequestIDSet) All() []AuthRequestID
- func (s *AuthRequestIDSet) Clear()
- func (s *AuthRequestIDSet) Clone() *AuthRequestIDSet
- func (s *AuthRequestIDSet) Has(p AuthRequestID) bool
- func (s *AuthRequestIDSet) Merge(s2 *AuthRequestIDSet) *AuthRequestIDSet
- type ClusterID
- func ClusterIDFrom(i string) (nid ClusterID, err error)
- func ClusterIDFromRef(i *string) *ClusterID
- func ClusterIDFromRefID(i *ID) *ClusterID
- func ClusterIDsFrom(ids []string) ([]ClusterID, error)
- func ClusterIDsFromID(ids []ID) []ClusterID
- func ClusterIDsFromIDRef(ids []*ID) []ClusterID
- func MustClusterID(i string) ClusterID
- func NewClusterID() ClusterID
- func (d ClusterID) Contains(ids []ClusterID) bool
- func (d *ClusterID) CopyRef() *ClusterID
- func (d ClusterID) GoString() string
- func (d ClusterID) ID() ID
- func (d *ClusterID) IDRef() *ID
- func (d ClusterID) IsNil() bool
- func (d *ClusterID) IsNilRef() bool
- func (d *ClusterID) MarhsalJSON() ([]byte, error)
- func (d *ClusterID) MarshalText() ([]byte, error)
- func (d ClusterID) Ref() *ClusterID
- func (d ClusterID) RefString() *string
- func (d ClusterID) String() string
- func (d *ClusterID) StringRef() *string
- func (d *ClusterID) UnmarhsalJSON(bs []byte) (err error)
- func (d *ClusterID) UnmarshalText(text []byte) (err error)
- type ClusterIDSet
- func (s *ClusterIDSet) Add(p ...ClusterID)
- func (s *ClusterIDSet) AddRef(p *ClusterID)
- func (s *ClusterIDSet) All() []ClusterID
- func (s *ClusterIDSet) Clear()
- func (s *ClusterIDSet) Clone() *ClusterIDSet
- func (s *ClusterIDSet) Has(p ClusterID) bool
- func (s *ClusterIDSet) Merge(s2 *ClusterIDSet) *ClusterIDSet
- type DatasetID
- func DatasetIDFrom(i string) (nid DatasetID, err error)
- func DatasetIDFromRef(i *string) *DatasetID
- func DatasetIDFromRefID(i *ID) *DatasetID
- func DatasetIDsFrom(ids []string) ([]DatasetID, error)
- func DatasetIDsFromID(ids []ID) []DatasetID
- func DatasetIDsFromIDRef(ids []*ID) []DatasetID
- func MustDatasetID(i string) DatasetID
- func NewDatasetID() DatasetID
- func (d DatasetID) Contains(ids []DatasetID) bool
- func (d *DatasetID) CopyRef() *DatasetID
- func (d DatasetID) GoString() string
- func (d DatasetID) ID() ID
- func (d *DatasetID) IDRef() *ID
- func (d DatasetID) IsNil() bool
- func (d *DatasetID) IsNilRef() bool
- func (d *DatasetID) MarhsalJSON() ([]byte, error)
- func (d *DatasetID) MarshalText() ([]byte, error)
- func (d DatasetID) Ref() *DatasetID
- func (d DatasetID) RefString() *string
- func (d DatasetID) String() string
- func (d *DatasetID) StringRef() *string
- func (d *DatasetID) UnmarhsalJSON(bs []byte) (err error)
- func (d *DatasetID) UnmarshalText(text []byte) (err error)
- type DatasetIDSet
- func (s *DatasetIDSet) Add(p ...DatasetID)
- func (s *DatasetIDSet) AddRef(p *DatasetID)
- func (s *DatasetIDSet) All() []DatasetID
- func (s *DatasetIDSet) Clear()
- func (s *DatasetIDSet) Clone() *DatasetIDSet
- func (s *DatasetIDSet) Has(p DatasetID) bool
- func (s *DatasetIDSet) Merge(s2 *DatasetIDSet) *DatasetIDSet
- type DatasetSchemaFieldID
- func DatasetSchemaFieldIDFrom(i string) (nid DatasetSchemaFieldID, err error)
- func DatasetSchemaFieldIDFromRef(i *string) *DatasetSchemaFieldID
- func DatasetSchemaFieldIDFromRefID(i *ID) *DatasetSchemaFieldID
- func DatasetSchemaFieldIDsFrom(ids []string) ([]DatasetSchemaFieldID, error)
- func DatasetSchemaFieldIDsFromID(ids []ID) []DatasetSchemaFieldID
- func DatasetSchemaFieldIDsFromIDRef(ids []*ID) []DatasetSchemaFieldID
- func MustDatasetSchemaFieldID(i string) DatasetSchemaFieldID
- func NewDatasetSchemaFieldID() DatasetSchemaFieldID
- func (d DatasetSchemaFieldID) Contains(ids []DatasetSchemaFieldID) bool
- func (d *DatasetSchemaFieldID) CopyRef() *DatasetSchemaFieldID
- func (d DatasetSchemaFieldID) GoString() string
- func (d DatasetSchemaFieldID) ID() ID
- func (d *DatasetSchemaFieldID) IDRef() *ID
- func (d DatasetSchemaFieldID) IsNil() bool
- func (d *DatasetSchemaFieldID) IsNilRef() bool
- func (d *DatasetSchemaFieldID) MarhsalJSON() ([]byte, error)
- func (d *DatasetSchemaFieldID) MarshalText() ([]byte, error)
- func (d DatasetSchemaFieldID) Ref() *DatasetSchemaFieldID
- func (d DatasetSchemaFieldID) RefString() *string
- func (d DatasetSchemaFieldID) String() string
- func (d *DatasetSchemaFieldID) StringRef() *string
- func (d *DatasetSchemaFieldID) UnmarhsalJSON(bs []byte) (err error)
- func (d *DatasetSchemaFieldID) UnmarshalText(text []byte) (err error)
- type DatasetSchemaFieldIDSet
- func (s *DatasetSchemaFieldIDSet) Add(p ...DatasetSchemaFieldID)
- func (s *DatasetSchemaFieldIDSet) AddRef(p *DatasetSchemaFieldID)
- func (s *DatasetSchemaFieldIDSet) All() []DatasetSchemaFieldID
- func (s *DatasetSchemaFieldIDSet) Clear()
- func (s *DatasetSchemaFieldIDSet) Clone() *DatasetSchemaFieldIDSet
- func (s *DatasetSchemaFieldIDSet) Has(p DatasetSchemaFieldID) bool
- func (s *DatasetSchemaFieldIDSet) Merge(s2 *DatasetSchemaFieldIDSet) *DatasetSchemaFieldIDSet
- type DatasetSchemaID
- func DatasetSchemaIDFrom(i string) (nid DatasetSchemaID, err error)
- func DatasetSchemaIDFromRef(i *string) *DatasetSchemaID
- func DatasetSchemaIDFromRefID(i *ID) *DatasetSchemaID
- func DatasetSchemaIDsFrom(ids []string) ([]DatasetSchemaID, error)
- func DatasetSchemaIDsFromID(ids []ID) []DatasetSchemaID
- func DatasetSchemaIDsFromIDRef(ids []*ID) []DatasetSchemaID
- func MustDatasetSchemaID(i string) DatasetSchemaID
- func NewDatasetSchemaID() DatasetSchemaID
- func (d DatasetSchemaID) Contains(ids []DatasetSchemaID) bool
- func (d *DatasetSchemaID) CopyRef() *DatasetSchemaID
- func (d DatasetSchemaID) GoString() string
- func (d DatasetSchemaID) ID() ID
- func (d *DatasetSchemaID) IDRef() *ID
- func (d DatasetSchemaID) IsNil() bool
- func (d *DatasetSchemaID) IsNilRef() bool
- func (d *DatasetSchemaID) MarhsalJSON() ([]byte, error)
- func (d *DatasetSchemaID) MarshalText() ([]byte, error)
- func (d DatasetSchemaID) Ref() *DatasetSchemaID
- func (d DatasetSchemaID) RefString() *string
- func (d DatasetSchemaID) String() string
- func (d *DatasetSchemaID) StringRef() *string
- func (d *DatasetSchemaID) UnmarhsalJSON(bs []byte) (err error)
- func (d *DatasetSchemaID) UnmarshalText(text []byte) (err error)
- type DatasetSchemaIDSet
- func (s *DatasetSchemaIDSet) Add(p ...DatasetSchemaID)
- func (s *DatasetSchemaIDSet) AddRef(p *DatasetSchemaID)
- func (s *DatasetSchemaIDSet) All() []DatasetSchemaID
- func (s *DatasetSchemaIDSet) Clear()
- func (s *DatasetSchemaIDSet) Clone() *DatasetSchemaIDSet
- func (s *DatasetSchemaIDSet) Has(p DatasetSchemaID) bool
- func (s *DatasetSchemaIDSet) Merge(s2 *DatasetSchemaIDSet) *DatasetSchemaIDSet
- type ID
- func AssetIDsToID(ids []AssetID) []ID
- func AssetIDsToIDRef(ids []*AssetID) []*ID
- func AuthRequestIDsToID(ids []AuthRequestID) []ID
- func AuthRequestIDsToIDRef(ids []*AuthRequestID) []*ID
- func ClusterIDsToID(ids []ClusterID) []ID
- func ClusterIDsToIDRef(ids []*ClusterID) []*ID
- func DatasetIDsToID(ids []DatasetID) []ID
- func DatasetIDsToIDRef(ids []*DatasetID) []*ID
- func DatasetSchemaFieldIDsToID(ids []DatasetSchemaFieldID) []ID
- func DatasetSchemaFieldIDsToIDRef(ids []*DatasetSchemaFieldID) []*ID
- func DatasetSchemaIDsToID(ids []DatasetSchemaID) []ID
- func DatasetSchemaIDsToIDRef(ids []*DatasetSchemaID) []*ID
- func FromID(id string) (ID, error)
- func FromIDRef(id *string) *ID
- func InfoboxFieldIDsToID(ids []InfoboxFieldID) []ID
- func InfoboxFieldIDsToIDRef(ids []*InfoboxFieldID) []*ID
- func LayerIDsToID(ids []LayerID) []ID
- func LayerIDsToIDRef(ids []*LayerID) []*ID
- func MustBeID(id string) ID
- func New() ID
- func NewAllID(n int) []ID
- func NewIDWith(id string) (ID, error)
- func ProjectIDsToID(ids []ProjectID) []ID
- func ProjectIDsToIDRef(ids []*ProjectID) []*ID
- func PropertyIDsToID(ids []PropertyID) []ID
- func PropertyIDsToIDRef(ids []*PropertyID) []*ID
- func PropertyItemIDsToID(ids []PropertyItemID) []ID
- func PropertyItemIDsToIDRef(ids []*PropertyItemID) []*ID
- func SceneIDsToID(ids []SceneID) []ID
- func SceneIDsToIDRef(ids []*SceneID) []*ID
- func TagIDsToID(ids []TagID) []ID
- func TagIDsToIDRef(ids []*TagID) []*ID
- func TeamIDsToID(ids []TeamID) []ID
- func TeamIDsToIDRef(ids []*TeamID) []*ID
- func UserIDsToID(ids []UserID) []ID
- func UserIDsToIDRef(ids []*UserID) []*ID
- func WidgetIDsToID(ids []WidgetID) []ID
- func WidgetIDsToIDRef(ids []*WidgetID) []*ID
- type InfoboxFieldID
- func InfoboxFieldIDFrom(i string) (nid InfoboxFieldID, err error)
- func InfoboxFieldIDFromRef(i *string) *InfoboxFieldID
- func InfoboxFieldIDFromRefID(i *ID) *InfoboxFieldID
- func InfoboxFieldIDsFrom(ids []string) ([]InfoboxFieldID, error)
- func InfoboxFieldIDsFromID(ids []ID) []InfoboxFieldID
- func InfoboxFieldIDsFromIDRef(ids []*ID) []InfoboxFieldID
- func MustInfoboxFieldID(i string) InfoboxFieldID
- func NewInfoboxFieldID() InfoboxFieldID
- func (d InfoboxFieldID) Contains(ids []InfoboxFieldID) bool
- func (d *InfoboxFieldID) CopyRef() *InfoboxFieldID
- func (d InfoboxFieldID) GoString() string
- func (d InfoboxFieldID) ID() ID
- func (d *InfoboxFieldID) IDRef() *ID
- func (d InfoboxFieldID) IsNil() bool
- func (d *InfoboxFieldID) IsNilRef() bool
- func (d *InfoboxFieldID) MarhsalJSON() ([]byte, error)
- func (d *InfoboxFieldID) MarshalText() ([]byte, error)
- func (d InfoboxFieldID) Ref() *InfoboxFieldID
- func (d InfoboxFieldID) RefString() *string
- func (d InfoboxFieldID) String() string
- func (d *InfoboxFieldID) StringRef() *string
- func (d *InfoboxFieldID) UnmarhsalJSON(bs []byte) (err error)
- func (d *InfoboxFieldID) UnmarshalText(text []byte) (err error)
- type InfoboxFieldIDSet
- func (s *InfoboxFieldIDSet) Add(p ...InfoboxFieldID)
- func (s *InfoboxFieldIDSet) AddRef(p *InfoboxFieldID)
- func (s *InfoboxFieldIDSet) All() []InfoboxFieldID
- func (s *InfoboxFieldIDSet) Clear()
- func (s *InfoboxFieldIDSet) Clone() *InfoboxFieldIDSet
- func (s *InfoboxFieldIDSet) Has(p InfoboxFieldID) bool
- func (s *InfoboxFieldIDSet) Merge(s2 *InfoboxFieldIDSet) *InfoboxFieldIDSet
- type LayerID
- func LayerIDFrom(i string) (nid LayerID, err error)
- func LayerIDFromRef(i *string) *LayerID
- func LayerIDFromRefID(i *ID) *LayerID
- func LayerIDsFrom(ids []string) ([]LayerID, error)
- func LayerIDsFromID(ids []ID) []LayerID
- func LayerIDsFromIDRef(ids []*ID) []LayerID
- func MustLayerID(i string) LayerID
- func NewLayerID() LayerID
- func (d LayerID) Contains(ids []LayerID) bool
- func (d *LayerID) CopyRef() *LayerID
- func (d LayerID) GoString() string
- func (d LayerID) ID() ID
- func (d *LayerID) IDRef() *ID
- func (d LayerID) IsNil() bool
- func (d *LayerID) IsNilRef() bool
- func (d *LayerID) MarhsalJSON() ([]byte, error)
- func (d *LayerID) MarshalText() ([]byte, error)
- func (d LayerID) Ref() *LayerID
- func (d LayerID) RefString() *string
- func (d LayerID) String() string
- func (d *LayerID) StringRef() *string
- func (d *LayerID) UnmarhsalJSON(bs []byte) (err error)
- func (d *LayerID) UnmarshalText(text []byte) (err error)
- type LayerIDSet
- type PluginExtensionID
- type PluginID
- func (d PluginID) Clone() PluginID
- func (d *PluginID) CopyRef() *PluginID
- func (d PluginID) Equal(d2 PluginID) bool
- func (d PluginID) IsNil() bool
- func (d *PluginID) MarshalText() ([]byte, error)
- func (d PluginID) Name() string
- func (d PluginID) Ref() *PluginID
- func (d PluginID) Scene() *SceneID
- func (d PluginID) String() (s string)
- func (d *PluginID) StringRef() *string
- func (d PluginID) System() bool
- func (d *PluginID) UnmarshalText(text []byte) (err error)
- func (d PluginID) Validate() bool
- func (d PluginID) Version() semver.Version
- func (d PluginID) WithScene(sid *SceneID) PluginID
- type ProjectID
- func MustProjectID(i string) ProjectID
- func NewProjectID() ProjectID
- func ProjectIDFrom(i string) (nid ProjectID, err error)
- func ProjectIDFromRef(i *string) *ProjectID
- func ProjectIDFromRefID(i *ID) *ProjectID
- func ProjectIDsFrom(ids []string) ([]ProjectID, error)
- func ProjectIDsFromID(ids []ID) []ProjectID
- func ProjectIDsFromIDRef(ids []*ID) []ProjectID
- func (d ProjectID) Contains(ids []ProjectID) bool
- func (d *ProjectID) CopyRef() *ProjectID
- func (d ProjectID) GoString() string
- func (d ProjectID) ID() ID
- func (d *ProjectID) IDRef() *ID
- func (d ProjectID) IsNil() bool
- func (d *ProjectID) IsNilRef() bool
- func (d *ProjectID) MarhsalJSON() ([]byte, error)
- func (d *ProjectID) MarshalText() ([]byte, error)
- func (d ProjectID) Ref() *ProjectID
- func (d ProjectID) RefString() *string
- func (d ProjectID) String() string
- func (d *ProjectID) StringRef() *string
- func (d *ProjectID) UnmarhsalJSON(bs []byte) (err error)
- func (d *ProjectID) UnmarshalText(text []byte) (err error)
- type ProjectIDSet
- func (s *ProjectIDSet) Add(p ...ProjectID)
- func (s *ProjectIDSet) AddRef(p *ProjectID)
- func (s *ProjectIDSet) All() []ProjectID
- func (s *ProjectIDSet) Clear()
- func (s *ProjectIDSet) Clone() *ProjectIDSet
- func (s *ProjectIDSet) Has(p ProjectID) bool
- func (s *ProjectIDSet) Merge(s2 *ProjectIDSet) *ProjectIDSet
- type PropertyID
- func MustPropertyID(i string) PropertyID
- func NewPropertyID() PropertyID
- func PropertyIDFrom(i string) (nid PropertyID, err error)
- func PropertyIDFromRef(i *string) *PropertyID
- func PropertyIDFromRefID(i *ID) *PropertyID
- func PropertyIDsFrom(ids []string) ([]PropertyID, error)
- func PropertyIDsFromID(ids []ID) []PropertyID
- func PropertyIDsFromIDRef(ids []*ID) []PropertyID
- func (d PropertyID) Contains(ids []PropertyID) bool
- func (d *PropertyID) CopyRef() *PropertyID
- func (d PropertyID) GoString() string
- func (d PropertyID) ID() ID
- func (d *PropertyID) IDRef() *ID
- func (d PropertyID) IsNil() bool
- func (d *PropertyID) IsNilRef() bool
- func (d *PropertyID) MarhsalJSON() ([]byte, error)
- func (d *PropertyID) MarshalText() ([]byte, error)
- func (d PropertyID) Ref() *PropertyID
- func (d PropertyID) RefString() *string
- func (d PropertyID) String() string
- func (d *PropertyID) StringRef() *string
- func (d *PropertyID) UnmarhsalJSON(bs []byte) (err error)
- func (d *PropertyID) UnmarshalText(text []byte) (err error)
- type PropertyIDSet
- func (s *PropertyIDSet) Add(p ...PropertyID)
- func (s *PropertyIDSet) AddRef(p *PropertyID)
- func (s *PropertyIDSet) All() []PropertyID
- func (s *PropertyIDSet) Clear()
- func (s *PropertyIDSet) Clone() *PropertyIDSet
- func (s *PropertyIDSet) Has(p PropertyID) bool
- func (s *PropertyIDSet) Merge(s2 *PropertyIDSet) *PropertyIDSet
- type PropertyItemID
- func MustPropertyItemID(i string) PropertyItemID
- func NewPropertyItemID() PropertyItemID
- func PropertyItemIDFrom(i string) (nid PropertyItemID, err error)
- func PropertyItemIDFromRef(i *string) *PropertyItemID
- func PropertyItemIDFromRefID(i *ID) *PropertyItemID
- func PropertyItemIDsFrom(ids []string) ([]PropertyItemID, error)
- func PropertyItemIDsFromID(ids []ID) []PropertyItemID
- func PropertyItemIDsFromIDRef(ids []*ID) []PropertyItemID
- func (d PropertyItemID) Contains(ids []PropertyItemID) bool
- func (d *PropertyItemID) CopyRef() *PropertyItemID
- func (d PropertyItemID) GoString() string
- func (d PropertyItemID) ID() ID
- func (d *PropertyItemID) IDRef() *ID
- func (d PropertyItemID) IsNil() bool
- func (d *PropertyItemID) IsNilRef() bool
- func (d *PropertyItemID) MarhsalJSON() ([]byte, error)
- func (d *PropertyItemID) MarshalText() ([]byte, error)
- func (d PropertyItemID) Ref() *PropertyItemID
- func (d PropertyItemID) RefString() *string
- func (d PropertyItemID) String() string
- func (d *PropertyItemID) StringRef() *string
- func (d *PropertyItemID) UnmarhsalJSON(bs []byte) (err error)
- func (d *PropertyItemID) UnmarshalText(text []byte) (err error)
- type PropertyItemIDSet
- func (s *PropertyItemIDSet) Add(p ...PropertyItemID)
- func (s *PropertyItemIDSet) AddRef(p *PropertyItemID)
- func (s *PropertyItemIDSet) All() []PropertyItemID
- func (s *PropertyItemIDSet) Clear()
- func (s *PropertyItemIDSet) Clone() *PropertyItemIDSet
- func (s *PropertyItemIDSet) Has(p PropertyItemID) bool
- func (s *PropertyItemIDSet) Merge(s2 *PropertyItemIDSet) *PropertyItemIDSet
- type PropertySchemaFieldID
- type PropertySchemaGroupID
- type PropertySchemaID
- func MustPropertySchemaID(id string) PropertySchemaID
- func NewPropertySchemaID(p PluginID, name string) PropertySchemaID
- func PropertySchemaIDFrom(id string) (PropertySchemaID, error)
- func PropertySchemaIDFromRef(id *string) *PropertySchemaID
- func PropertySchemaIDsFrom(ids []string) ([]PropertySchemaID, error)
- func (d PropertySchemaID) Clone() PropertySchemaID
- func (d *PropertySchemaID) CopyRef() *PropertySchemaID
- func (d PropertySchemaID) Equal(d2 PropertySchemaID) bool
- func (d PropertySchemaID) ID() string
- func (d PropertySchemaID) IsNil() bool
- func (d *PropertySchemaID) MarshalText() ([]byte, error)
- func (d PropertySchemaID) Plugin() PluginID
- func (d PropertySchemaID) Ref() *PropertySchemaID
- func (d PropertySchemaID) String() string
- func (d *PropertySchemaID) StringRef() *string
- func (d *PropertySchemaID) UnmarshalText(text []byte) (err error)
- func (d PropertySchemaID) WithPlugin(plugin PluginID) PropertySchemaID
- type SceneID
- func MustSceneID(i string) SceneID
- func NewSceneID() SceneID
- func SceneIDFrom(i string) (nid SceneID, err error)
- func SceneIDFromRef(i *string) *SceneID
- func SceneIDFromRefID(i *ID) *SceneID
- func SceneIDsFrom(ids []string) ([]SceneID, error)
- func SceneIDsFromID(ids []ID) []SceneID
- func SceneIDsFromIDRef(ids []*ID) []SceneID
- func (d SceneID) Contains(ids []SceneID) bool
- func (d *SceneID) CopyRef() *SceneID
- func (d SceneID) GoString() string
- func (d SceneID) ID() ID
- func (d *SceneID) IDRef() *ID
- func (d SceneID) IsNil() bool
- func (d *SceneID) IsNilRef() bool
- func (d *SceneID) MarhsalJSON() ([]byte, error)
- func (d *SceneID) MarshalText() ([]byte, error)
- func (d SceneID) Ref() *SceneID
- func (d SceneID) RefString() *string
- func (d SceneID) String() string
- func (d *SceneID) StringRef() *string
- func (d *SceneID) UnmarhsalJSON(bs []byte) (err error)
- func (d *SceneID) UnmarshalText(text []byte) (err error)
- type SceneIDSet
- type TagID
- func (d TagID) Contains(ids []TagID) bool
- func (d *TagID) CopyRef() *TagID
- func (d TagID) GoString() string
- func (d TagID) ID() ID
- func (d *TagID) IDRef() *ID
- func (d TagID) IsNil() bool
- func (d *TagID) IsNilRef() bool
- func (d *TagID) MarhsalJSON() ([]byte, error)
- func (d *TagID) MarshalText() ([]byte, error)
- func (d TagID) Ref() *TagID
- func (d TagID) RefString() *string
- func (d TagID) String() string
- func (d *TagID) StringRef() *string
- func (d *TagID) UnmarhsalJSON(bs []byte) (err error)
- func (d *TagID) UnmarshalText(text []byte) (err error)
- type TagIDSet
- type TeamID
- func MustTeamID(i string) TeamID
- func NewTeamID() TeamID
- func TeamIDFrom(i string) (nid TeamID, err error)
- func TeamIDFromRef(i *string) *TeamID
- func TeamIDFromRefID(i *ID) *TeamID
- func TeamIDsFrom(ids []string) ([]TeamID, error)
- func TeamIDsFromID(ids []ID) []TeamID
- func TeamIDsFromIDRef(ids []*ID) []TeamID
- func (d TeamID) Contains(ids []TeamID) bool
- func (d *TeamID) CopyRef() *TeamID
- func (d TeamID) GoString() string
- func (d TeamID) ID() ID
- func (d *TeamID) IDRef() *ID
- func (d TeamID) IsNil() bool
- func (d *TeamID) IsNilRef() bool
- func (d *TeamID) MarhsalJSON() ([]byte, error)
- func (d *TeamID) MarshalText() ([]byte, error)
- func (d TeamID) Ref() *TeamID
- func (d TeamID) RefString() *string
- func (d TeamID) String() string
- func (d *TeamID) StringRef() *string
- func (d *TeamID) UnmarhsalJSON(bs []byte) (err error)
- func (d *TeamID) UnmarshalText(text []byte) (err error)
- type TeamIDSet
- type UserID
- func MustUserID(i string) UserID
- func NewUserID() UserID
- func UserIDFrom(i string) (nid UserID, err error)
- func UserIDFromRef(i *string) *UserID
- func UserIDFromRefID(i *ID) *UserID
- func UserIDsFrom(ids []string) ([]UserID, error)
- func UserIDsFromID(ids []ID) []UserID
- func UserIDsFromIDRef(ids []*ID) []UserID
- func (d UserID) Contains(ids []UserID) bool
- func (d *UserID) CopyRef() *UserID
- func (d UserID) GoString() string
- func (d UserID) ID() ID
- func (d *UserID) IDRef() *ID
- func (d UserID) IsNil() bool
- func (d *UserID) IsNilRef() bool
- func (d *UserID) MarhsalJSON() ([]byte, error)
- func (d *UserID) MarshalText() ([]byte, error)
- func (d UserID) Ref() *UserID
- func (d UserID) RefString() *string
- func (d UserID) String() string
- func (d *UserID) StringRef() *string
- func (d *UserID) UnmarhsalJSON(bs []byte) (err error)
- func (d *UserID) UnmarshalText(text []byte) (err error)
- type UserIDSet
- type WidgetID
- func MustWidgetID(i string) WidgetID
- func NewWidgetID() WidgetID
- func WidgetIDFrom(i string) (nid WidgetID, err error)
- func WidgetIDFromRef(i *string) *WidgetID
- func WidgetIDFromRefID(i *ID) *WidgetID
- func WidgetIDsFrom(ids []string) ([]WidgetID, error)
- func WidgetIDsFromID(ids []ID) []WidgetID
- func WidgetIDsFromIDRef(ids []*ID) []WidgetID
- func (d WidgetID) Contains(ids []WidgetID) bool
- func (d *WidgetID) CopyRef() *WidgetID
- func (d WidgetID) GoString() string
- func (d WidgetID) ID() ID
- func (d *WidgetID) IDRef() *ID
- func (d WidgetID) IsNil() bool
- func (d *WidgetID) IsNilRef() bool
- func (d *WidgetID) MarhsalJSON() ([]byte, error)
- func (d *WidgetID) MarshalText() ([]byte, error)
- func (d WidgetID) Ref() *WidgetID
- func (d WidgetID) RefString() *string
- func (d WidgetID) String() string
- func (d *WidgetID) StringRef() *string
- func (d *WidgetID) UnmarhsalJSON(bs []byte) (err error)
- func (d *WidgetID) UnmarshalText(text []byte) (err error)
- type WidgetIDSet
Constants ¶
This section is empty.
Variables ¶
var (
ErrInvalidID = errors.New("invalid ID")
)
var (
OfficialPluginID = PluginID{/* contains filtered or unexported fields */}
)
Functions ¶
func AssetIDsToStrings ¶ added in v0.4.0
AssetIDsToStrings converts IDs into a string slice.
func AuthRequestIDToKeys ¶ added in v0.6.0
func AuthRequestIDToKeys(ids []AuthRequestID) []string
AuthRequestIDToKeys converts IDs into a string slice.
func ClusterIDsToStrings ¶ added in v0.4.0
ClusterIDsToStrings converts IDs into a string slice.
func DatasetIDsToStrings ¶ added in v0.4.0
DatasetIDsToStrings converts IDs into a string slice.
func DatasetSchemaFieldIDsToStrings ¶ added in v0.4.0
func DatasetSchemaFieldIDsToStrings(ids []DatasetSchemaFieldID) []string
DatasetSchemaFieldIDsToStrings converts IDs into a string slice.
func DatasetSchemaIDsToStrings ¶ added in v0.4.0
func DatasetSchemaIDsToStrings(ids []DatasetSchemaID) []string
DatasetSchemaIDsToStrings converts IDs into a string slice.
func InfoboxFieldIDsToStrings ¶ added in v0.4.0
func InfoboxFieldIDsToStrings(ids []InfoboxFieldID) []string
InfoboxFieldIDsToStrings converts IDs into a string slice.
func LayerIDsToStrings ¶ added in v0.4.0
LayerIDsToStrings converts IDs into a string slice.
func PluginIDsToStrings ¶ added in v0.4.0
PluginIDToKeys converts IDs into a string slice.
func ProjectIDsToStrings ¶ added in v0.4.0
ProjectIDsToStrings converts IDs into a string slice.
func PropertyIDsToStrings ¶ added in v0.4.0
func PropertyIDsToStrings(ids []PropertyID) []string
PropertyIDsToStrings converts IDs into a string slice.
func PropertyItemIDsToStrings ¶ added in v0.4.0
func PropertyItemIDsToStrings(ids []PropertyItemID) []string
PropertyItemIDsToStrings converts IDs into a string slice.
func PropertySchemaIDsToStrings ¶ added in v0.4.0
func PropertySchemaIDsToStrings(ids []PropertySchemaID) []string
PropertySchemaIDToKeys converts IDs into a string slice.
func SceneIDsToStrings ¶ added in v0.4.0
SceneIDsToStrings converts IDs into a string slice.
func TagIDsToStrings ¶ added in v0.4.0
TagIDsToStrings converts IDs into a string slice.
func TeamIDsToStrings ¶ added in v0.4.0
TeamIDsToStrings converts IDs into a string slice.
func UserIDsToStrings ¶ added in v0.4.0
UserIDsToStrings converts IDs into a string slice.
func WidgetIDsToStrings ¶ added in v0.4.0
WidgetIDsToStrings converts IDs into a string slice.
Types ¶
type AssetID ¶
type AssetID ID
AssetID is an ID for Asset.
func AssetIDFrom ¶
AssetIDFrom generates a new AssetID from a string.
func AssetIDFromRef ¶
AssetIDFromRef generates a new AssetID from a string ref.
func AssetIDFromRefID ¶
AssetIDFromRefID generates a new AssetID from a ref of a generic ID.
func AssetIDsFrom ¶
AssetIDsFrom converts a string slice into a ID slice.
func AssetIDsFromID ¶
AssetIDsFromID converts a generic ID slice into a ID slice.
func AssetIDsFromIDRef ¶
AssetIDsFromIDRef converts a ref of a generic ID slice into a ID slice.
func MustAssetID ¶
MustAssetID generates a new AssetID from a string, but panics if the string cannot be parsed.
func (*AssetID) MarhsalJSON ¶
MarhsalJSON implements json.Marhsaler interface
func (*AssetID) MarshalText ¶
MarshalText implements encoding.TextMarshaler interface
func (*AssetID) UnmarhsalJSON ¶
UnmarhsalJSON implements json.Unmarshaler interface
func (*AssetID) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler interface
type AssetIDSet ¶
type AssetIDSet struct {
// contains filtered or unexported fields
}
AssetIDSet represents a set of AssetIDs
func (*AssetIDSet) Add ¶
func (s *AssetIDSet) Add(p ...AssetID)
Add adds a new ID if it does not exists in the set
func (*AssetIDSet) AddRef ¶
func (s *AssetIDSet) AddRef(p *AssetID)
AddRef adds a new ID ref if it does not exists in the set
func (*AssetIDSet) Has ¶
func (s *AssetIDSet) Has(p AssetID) bool
Has checks if the ID exists in the set
func (*AssetIDSet) Merge ¶
func (s *AssetIDSet) Merge(s2 *AssetIDSet) *AssetIDSet
Merge returns a merged set
type AuthRequestID ¶ added in v0.6.0
type AuthRequestID ID
AuthRequestID is an ID for AuthRequest.
func AuthRequestIDFrom ¶ added in v0.6.0
func AuthRequestIDFrom(i string) (nid AuthRequestID, err error)
AuthRequestIDFrom generates a new AuthRequestID from a string.
func AuthRequestIDFromRef ¶ added in v0.6.0
func AuthRequestIDFromRef(i *string) *AuthRequestID
AuthRequestIDFromRef generates a new AuthRequestID from a string ref.
func AuthRequestIDFromRefID ¶ added in v0.6.0
func AuthRequestIDFromRefID(i *ID) *AuthRequestID
AuthRequestIDFromRefID generates a new AuthRequestID from a ref of a generic ID.
func AuthRequestIDsFrom ¶ added in v0.6.0
func AuthRequestIDsFrom(ids []string) ([]AuthRequestID, error)
AuthRequestIDsFrom converts a string slice into a ID slice.
func AuthRequestIDsFromID ¶ added in v0.6.0
func AuthRequestIDsFromID(ids []ID) []AuthRequestID
AuthRequestIDsFromID converts a generic ID slice into a ID slice.
func AuthRequestIDsFromIDRef ¶ added in v0.6.0
func AuthRequestIDsFromIDRef(ids []*ID) []AuthRequestID
AuthRequestIDsFromIDRef converts a ref of a generic ID slice into a ID slice.
func MustAuthRequestID ¶ added in v0.6.0
func MustAuthRequestID(i string) AuthRequestID
MustAuthRequestID generates a new AuthRequestID from a string, but panics if the string cannot be parsed.
func NewAuthRequestID ¶ added in v0.6.0
func NewAuthRequestID() AuthRequestID
NewAuthRequestID generates a new AuthRequestId.
func (AuthRequestID) Contains ¶ added in v0.6.0
func (d AuthRequestID) Contains(ids []AuthRequestID) bool
Contains returns whether the id is contained in the slice.
func (*AuthRequestID) CopyRef ¶ added in v0.6.0
func (d *AuthRequestID) CopyRef() *AuthRequestID
CopyRef returns a copy of a reference.
func (AuthRequestID) GoString ¶ added in v0.6.0
func (d AuthRequestID) GoString() string
GoString implements fmt.GoStringer interface.
func (*AuthRequestID) IDRef ¶ added in v0.6.0
func (d *AuthRequestID) IDRef() *ID
IDRef returns a reference of a domain id.
func (AuthRequestID) IsNil ¶ added in v0.6.0
func (d AuthRequestID) IsNil() bool
Ref returns true if a ID is nil or zero-value
func (*AuthRequestID) MarhsalJSON ¶ added in v0.6.0
func (d *AuthRequestID) MarhsalJSON() ([]byte, error)
MarhsalJSON implements json.Marhsaler interface
func (*AuthRequestID) MarshalText ¶ added in v0.6.0
func (d *AuthRequestID) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler interface
func (AuthRequestID) Ref ¶ added in v0.6.0
func (d AuthRequestID) Ref() *AuthRequestID
Ref returns a reference.
func (AuthRequestID) RefString ¶ added in v0.6.0
func (d AuthRequestID) RefString() *string
RefString returns a reference of string representation.
func (AuthRequestID) String ¶ added in v0.6.0
func (d AuthRequestID) String() string
String returns a string representation.
func (*AuthRequestID) StringRef ¶ added in v0.6.0
func (d *AuthRequestID) StringRef() *string
StringRef returns a reference of a string representation.
func (*AuthRequestID) UnmarhsalJSON ¶ added in v0.6.0
func (d *AuthRequestID) UnmarhsalJSON(bs []byte) (err error)
UnmarhsalJSON implements json.Unmarshaler interface
func (*AuthRequestID) UnmarshalText ¶ added in v0.6.0
func (d *AuthRequestID) UnmarshalText(text []byte) (err error)
UnmarshalText implements encoding.TextUnmarshaler interface
type AuthRequestIDSet ¶ added in v0.6.0
type AuthRequestIDSet struct {
// contains filtered or unexported fields
}
AuthRequestIDSet represents a set of AuthRequestIDs
func NewAuthRequestIDSet ¶ added in v0.6.0
func NewAuthRequestIDSet() *AuthRequestIDSet
NewAuthRequestIDSet creates a new AuthRequestIDSet
func (*AuthRequestIDSet) Add ¶ added in v0.6.0
func (s *AuthRequestIDSet) Add(p ...AuthRequestID)
Add adds a new ID if it does not exists in the set
func (*AuthRequestIDSet) AddRef ¶ added in v0.6.0
func (s *AuthRequestIDSet) AddRef(p *AuthRequestID)
AddRef adds a new ID ref if it does not exists in the set
func (*AuthRequestIDSet) All ¶ added in v0.6.0
func (s *AuthRequestIDSet) All() []AuthRequestID
All returns stored all IDs as a slice
func (*AuthRequestIDSet) Clear ¶ added in v0.6.0
func (s *AuthRequestIDSet) Clear()
Clear clears all stored IDs
func (*AuthRequestIDSet) Clone ¶ added in v0.6.0
func (s *AuthRequestIDSet) Clone() *AuthRequestIDSet
Clone returns a cloned set
func (*AuthRequestIDSet) Has ¶ added in v0.6.0
func (s *AuthRequestIDSet) Has(p AuthRequestID) bool
Has checks if the ID exists in the set
func (*AuthRequestIDSet) Merge ¶ added in v0.6.0
func (s *AuthRequestIDSet) Merge(s2 *AuthRequestIDSet) *AuthRequestIDSet
Merge returns a merged set
type ClusterID ¶ added in v0.3.0
type ClusterID ID
ClusterID is an ID for Cluster.
func ClusterIDFrom ¶ added in v0.3.0
ClusterIDFrom generates a new ClusterID from a string.
func ClusterIDFromRef ¶ added in v0.3.0
ClusterIDFromRef generates a new ClusterID from a string ref.
func ClusterIDFromRefID ¶ added in v0.3.0
ClusterIDFromRefID generates a new ClusterID from a ref of a generic ID.
func ClusterIDsFrom ¶ added in v0.3.0
ClusterIDsFrom converts a string slice into a ID slice.
func ClusterIDsFromID ¶ added in v0.3.0
ClusterIDsFromID converts a generic ID slice into a ID slice.
func ClusterIDsFromIDRef ¶ added in v0.3.0
ClusterIDsFromIDRef converts a ref of a generic ID slice into a ID slice.
func MustClusterID ¶ added in v0.3.0
MustClusterID generates a new ClusterID from a string, but panics if the string cannot be parsed.
func NewClusterID ¶ added in v0.3.0
func NewClusterID() ClusterID
NewClusterID generates a new ClusterId.
func (ClusterID) Contains ¶ added in v0.3.0
Contains returns whether the id is contained in the slice.
func (*ClusterID) MarhsalJSON ¶ added in v0.3.0
MarhsalJSON implements json.Marhsaler interface
func (*ClusterID) MarshalText ¶ added in v0.3.0
MarshalText implements encoding.TextMarshaler interface
func (ClusterID) RefString ¶ added in v0.3.0
StringRef returns a reference of the string representation.
func (*ClusterID) StringRef ¶ added in v0.3.0
StringRef returns a reference of a string representation.
func (*ClusterID) UnmarhsalJSON ¶ added in v0.3.0
UnmarhsalJSON implements json.Unmarshaler interface
func (*ClusterID) UnmarshalText ¶ added in v0.3.0
UnmarshalText implements encoding.TextUnmarshaler interface
type ClusterIDSet ¶ added in v0.3.0
type ClusterIDSet struct {
// contains filtered or unexported fields
}
ClusterIDSet represents a set of ClusterIDs
func NewClusterIDSet ¶ added in v0.3.0
func NewClusterIDSet() *ClusterIDSet
NewClusterIDSet creates a new ClusterIDSet
func (*ClusterIDSet) Add ¶ added in v0.3.0
func (s *ClusterIDSet) Add(p ...ClusterID)
Add adds a new ID if it does not exists in the set
func (*ClusterIDSet) AddRef ¶ added in v0.3.0
func (s *ClusterIDSet) AddRef(p *ClusterID)
AddRef adds a new ID ref if it does not exists in the set
func (*ClusterIDSet) All ¶ added in v0.3.0
func (s *ClusterIDSet) All() []ClusterID
All returns stored all IDs as a slice
func (*ClusterIDSet) Clear ¶ added in v0.3.0
func (s *ClusterIDSet) Clear()
Clear clears all stored IDs
func (*ClusterIDSet) Clone ¶ added in v0.3.0
func (s *ClusterIDSet) Clone() *ClusterIDSet
Clone returns a cloned set
func (*ClusterIDSet) Has ¶ added in v0.3.0
func (s *ClusterIDSet) Has(p ClusterID) bool
Has checks if the ID exists in the set
func (*ClusterIDSet) Merge ¶ added in v0.3.0
func (s *ClusterIDSet) Merge(s2 *ClusterIDSet) *ClusterIDSet
Merge returns a merged set
type DatasetID ¶
type DatasetID ID
DatasetID is an ID for Dataset.
func DatasetIDFrom ¶
DatasetIDFrom generates a new DatasetID from a string.
func DatasetIDFromRef ¶
DatasetIDFromRef generates a new DatasetID from a string ref.
func DatasetIDFromRefID ¶
DatasetIDFromRefID generates a new DatasetID from a ref of a generic ID.
func DatasetIDsFrom ¶
DatasetIDsFrom converts a string slice into a ID slice.
func DatasetIDsFromID ¶
DatasetIDsFromID converts a generic ID slice into a ID slice.
func DatasetIDsFromIDRef ¶
DatasetIDsFromIDRef converts a ref of a generic ID slice into a ID slice.
func MustDatasetID ¶
MustDatasetID generates a new DatasetID from a string, but panics if the string cannot be parsed.
func (*DatasetID) MarhsalJSON ¶
MarhsalJSON implements json.Marhsaler interface
func (*DatasetID) MarshalText ¶
MarshalText implements encoding.TextMarshaler interface
func (*DatasetID) UnmarhsalJSON ¶
UnmarhsalJSON implements json.Unmarshaler interface
func (*DatasetID) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler interface
type DatasetIDSet ¶
type DatasetIDSet struct {
// contains filtered or unexported fields
}
DatasetIDSet represents a set of DatasetIDs
func NewDatasetIDSet ¶
func NewDatasetIDSet() *DatasetIDSet
NewDatasetIDSet creates a new DatasetIDSet
func (*DatasetIDSet) Add ¶
func (s *DatasetIDSet) Add(p ...DatasetID)
Add adds a new ID if it does not exists in the set
func (*DatasetIDSet) AddRef ¶
func (s *DatasetIDSet) AddRef(p *DatasetID)
AddRef adds a new ID ref if it does not exists in the set
func (*DatasetIDSet) All ¶
func (s *DatasetIDSet) All() []DatasetID
All returns stored all IDs as a slice
func (*DatasetIDSet) Clone ¶
func (s *DatasetIDSet) Clone() *DatasetIDSet
Clone returns a cloned set
func (*DatasetIDSet) Has ¶
func (s *DatasetIDSet) Has(p DatasetID) bool
Has checks if the ID exists in the set
func (*DatasetIDSet) Merge ¶
func (s *DatasetIDSet) Merge(s2 *DatasetIDSet) *DatasetIDSet
Merge returns a merged set
type DatasetSchemaFieldID ¶
type DatasetSchemaFieldID ID
DatasetSchemaFieldID is an ID for DatasetSchemaField.
func DatasetSchemaFieldIDFrom ¶
func DatasetSchemaFieldIDFrom(i string) (nid DatasetSchemaFieldID, err error)
DatasetSchemaFieldIDFrom generates a new DatasetSchemaFieldID from a string.
func DatasetSchemaFieldIDFromRef ¶
func DatasetSchemaFieldIDFromRef(i *string) *DatasetSchemaFieldID
DatasetSchemaFieldIDFromRef generates a new DatasetSchemaFieldID from a string ref.
func DatasetSchemaFieldIDFromRefID ¶
func DatasetSchemaFieldIDFromRefID(i *ID) *DatasetSchemaFieldID
DatasetSchemaFieldIDFromRefID generates a new DatasetSchemaFieldID from a ref of a generic ID.
func DatasetSchemaFieldIDsFrom ¶
func DatasetSchemaFieldIDsFrom(ids []string) ([]DatasetSchemaFieldID, error)
DatasetSchemaFieldIDsFrom converts a string slice into a ID slice.
func DatasetSchemaFieldIDsFromID ¶
func DatasetSchemaFieldIDsFromID(ids []ID) []DatasetSchemaFieldID
DatasetSchemaFieldIDsFromID converts a generic ID slice into a ID slice.
func DatasetSchemaFieldIDsFromIDRef ¶
func DatasetSchemaFieldIDsFromIDRef(ids []*ID) []DatasetSchemaFieldID
DatasetSchemaFieldIDsFromIDRef converts a ref of a generic ID slice into a ID slice.
func MustDatasetSchemaFieldID ¶
func MustDatasetSchemaFieldID(i string) DatasetSchemaFieldID
MustDatasetSchemaFieldID generates a new DatasetSchemaFieldID from a string, but panics if the string cannot be parsed.
func NewDatasetSchemaFieldID ¶
func NewDatasetSchemaFieldID() DatasetSchemaFieldID
NewDatasetSchemaFieldID generates a new DatasetSchemaFieldId.
func (DatasetSchemaFieldID) Contains ¶
func (d DatasetSchemaFieldID) Contains(ids []DatasetSchemaFieldID) bool
Contains returns whether the id is contained in the slice.
func (*DatasetSchemaFieldID) CopyRef ¶
func (d *DatasetSchemaFieldID) CopyRef() *DatasetSchemaFieldID
CopyRef returns a copy of a reference.
func (DatasetSchemaFieldID) GoString ¶
func (d DatasetSchemaFieldID) GoString() string
GoString implements fmt.GoStringer interface.
func (*DatasetSchemaFieldID) IDRef ¶
func (d *DatasetSchemaFieldID) IDRef() *ID
IDRef returns a reference of a domain id.
func (DatasetSchemaFieldID) IsNil ¶
func (d DatasetSchemaFieldID) IsNil() bool
IsNil returns true if a ID is zero-value
func (*DatasetSchemaFieldID) IsNilRef ¶ added in v0.4.0
func (d *DatasetSchemaFieldID) IsNilRef() bool
IsNilRef returns true if a ID is nil or zero-value
func (*DatasetSchemaFieldID) MarhsalJSON ¶
func (d *DatasetSchemaFieldID) MarhsalJSON() ([]byte, error)
MarhsalJSON implements json.Marhsaler interface
func (*DatasetSchemaFieldID) MarshalText ¶
func (d *DatasetSchemaFieldID) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler interface
func (DatasetSchemaFieldID) Ref ¶
func (d DatasetSchemaFieldID) Ref() *DatasetSchemaFieldID
Ref returns a reference.
func (DatasetSchemaFieldID) RefString ¶
func (d DatasetSchemaFieldID) RefString() *string
StringRef returns a reference of the string representation.
func (DatasetSchemaFieldID) String ¶
func (d DatasetSchemaFieldID) String() string
String returns a string representation.
func (*DatasetSchemaFieldID) StringRef ¶
func (d *DatasetSchemaFieldID) StringRef() *string
StringRef returns a reference of a string representation.
func (*DatasetSchemaFieldID) UnmarhsalJSON ¶
func (d *DatasetSchemaFieldID) UnmarhsalJSON(bs []byte) (err error)
UnmarhsalJSON implements json.Unmarshaler interface
func (*DatasetSchemaFieldID) UnmarshalText ¶
func (d *DatasetSchemaFieldID) UnmarshalText(text []byte) (err error)
UnmarshalText implements encoding.TextUnmarshaler interface
type DatasetSchemaFieldIDSet ¶
type DatasetSchemaFieldIDSet struct {
// contains filtered or unexported fields
}
DatasetSchemaFieldIDSet represents a set of DatasetSchemaFieldIDs
func NewDatasetSchemaFieldIDSet ¶
func NewDatasetSchemaFieldIDSet() *DatasetSchemaFieldIDSet
NewDatasetSchemaFieldIDSet creates a new DatasetSchemaFieldIDSet
func (*DatasetSchemaFieldIDSet) Add ¶
func (s *DatasetSchemaFieldIDSet) Add(p ...DatasetSchemaFieldID)
Add adds a new ID if it does not exists in the set
func (*DatasetSchemaFieldIDSet) AddRef ¶
func (s *DatasetSchemaFieldIDSet) AddRef(p *DatasetSchemaFieldID)
AddRef adds a new ID ref if it does not exists in the set
func (*DatasetSchemaFieldIDSet) All ¶
func (s *DatasetSchemaFieldIDSet) All() []DatasetSchemaFieldID
All returns stored all IDs as a slice
func (*DatasetSchemaFieldIDSet) Clear ¶
func (s *DatasetSchemaFieldIDSet) Clear()
Clear clears all stored IDs
func (*DatasetSchemaFieldIDSet) Clone ¶
func (s *DatasetSchemaFieldIDSet) Clone() *DatasetSchemaFieldIDSet
Clone returns a cloned set
func (*DatasetSchemaFieldIDSet) Has ¶
func (s *DatasetSchemaFieldIDSet) Has(p DatasetSchemaFieldID) bool
Has checks if the ID exists in the set
func (*DatasetSchemaFieldIDSet) Merge ¶
func (s *DatasetSchemaFieldIDSet) Merge(s2 *DatasetSchemaFieldIDSet) *DatasetSchemaFieldIDSet
Merge returns a merged set
type DatasetSchemaID ¶
type DatasetSchemaID ID
DatasetSchemaID is an ID for DatasetSchema.
func DatasetSchemaIDFrom ¶
func DatasetSchemaIDFrom(i string) (nid DatasetSchemaID, err error)
DatasetSchemaIDFrom generates a new DatasetSchemaID from a string.
func DatasetSchemaIDFromRef ¶
func DatasetSchemaIDFromRef(i *string) *DatasetSchemaID
DatasetSchemaIDFromRef generates a new DatasetSchemaID from a string ref.
func DatasetSchemaIDFromRefID ¶
func DatasetSchemaIDFromRefID(i *ID) *DatasetSchemaID
DatasetSchemaIDFromRefID generates a new DatasetSchemaID from a ref of a generic ID.
func DatasetSchemaIDsFrom ¶
func DatasetSchemaIDsFrom(ids []string) ([]DatasetSchemaID, error)
DatasetSchemaIDsFrom converts a string slice into a ID slice.
func DatasetSchemaIDsFromID ¶
func DatasetSchemaIDsFromID(ids []ID) []DatasetSchemaID
DatasetSchemaIDsFromID converts a generic ID slice into a ID slice.
func DatasetSchemaIDsFromIDRef ¶
func DatasetSchemaIDsFromIDRef(ids []*ID) []DatasetSchemaID
DatasetSchemaIDsFromIDRef converts a ref of a generic ID slice into a ID slice.
func MustDatasetSchemaID ¶
func MustDatasetSchemaID(i string) DatasetSchemaID
MustDatasetSchemaID generates a new DatasetSchemaID from a string, but panics if the string cannot be parsed.
func NewDatasetSchemaID ¶
func NewDatasetSchemaID() DatasetSchemaID
NewDatasetSchemaID generates a new DatasetSchemaId.
func (DatasetSchemaID) Contains ¶
func (d DatasetSchemaID) Contains(ids []DatasetSchemaID) bool
Contains returns whether the id is contained in the slice.
func (*DatasetSchemaID) CopyRef ¶
func (d *DatasetSchemaID) CopyRef() *DatasetSchemaID
CopyRef returns a copy of a reference.
func (DatasetSchemaID) GoString ¶
func (d DatasetSchemaID) GoString() string
GoString implements fmt.GoStringer interface.
func (*DatasetSchemaID) IDRef ¶
func (d *DatasetSchemaID) IDRef() *ID
IDRef returns a reference of a domain id.
func (DatasetSchemaID) IsNil ¶
func (d DatasetSchemaID) IsNil() bool
IsNil returns true if a ID is zero-value
func (*DatasetSchemaID) IsNilRef ¶ added in v0.4.0
func (d *DatasetSchemaID) IsNilRef() bool
IsNilRef returns true if a ID is nil or zero-value
func (*DatasetSchemaID) MarhsalJSON ¶
func (d *DatasetSchemaID) MarhsalJSON() ([]byte, error)
MarhsalJSON implements json.Marhsaler interface
func (*DatasetSchemaID) MarshalText ¶
func (d *DatasetSchemaID) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler interface
func (DatasetSchemaID) Ref ¶
func (d DatasetSchemaID) Ref() *DatasetSchemaID
Ref returns a reference.
func (DatasetSchemaID) RefString ¶
func (d DatasetSchemaID) RefString() *string
StringRef returns a reference of the string representation.
func (DatasetSchemaID) String ¶
func (d DatasetSchemaID) String() string
String returns a string representation.
func (*DatasetSchemaID) StringRef ¶
func (d *DatasetSchemaID) StringRef() *string
StringRef returns a reference of a string representation.
func (*DatasetSchemaID) UnmarhsalJSON ¶
func (d *DatasetSchemaID) UnmarhsalJSON(bs []byte) (err error)
UnmarhsalJSON implements json.Unmarshaler interface
func (*DatasetSchemaID) UnmarshalText ¶
func (d *DatasetSchemaID) UnmarshalText(text []byte) (err error)
UnmarshalText implements encoding.TextUnmarshaler interface
type DatasetSchemaIDSet ¶
type DatasetSchemaIDSet struct {
// contains filtered or unexported fields
}
DatasetSchemaIDSet represents a set of DatasetSchemaIDs
func NewDatasetSchemaIDSet ¶
func NewDatasetSchemaIDSet() *DatasetSchemaIDSet
NewDatasetSchemaIDSet creates a new DatasetSchemaIDSet
func (*DatasetSchemaIDSet) Add ¶
func (s *DatasetSchemaIDSet) Add(p ...DatasetSchemaID)
Add adds a new ID if it does not exists in the set
func (*DatasetSchemaIDSet) AddRef ¶
func (s *DatasetSchemaIDSet) AddRef(p *DatasetSchemaID)
AddRef adds a new ID ref if it does not exists in the set
func (*DatasetSchemaIDSet) All ¶
func (s *DatasetSchemaIDSet) All() []DatasetSchemaID
All returns stored all IDs as a slice
func (*DatasetSchemaIDSet) Clone ¶
func (s *DatasetSchemaIDSet) Clone() *DatasetSchemaIDSet
Clone returns a cloned set
func (*DatasetSchemaIDSet) Has ¶
func (s *DatasetSchemaIDSet) Has(p DatasetSchemaID) bool
Has checks if the ID exists in the set
func (*DatasetSchemaIDSet) Merge ¶
func (s *DatasetSchemaIDSet) Merge(s2 *DatasetSchemaIDSet) *DatasetSchemaIDSet
Merge returns a merged set
type ID ¶
type ID struct {
// contains filtered or unexported fields
}
func AssetIDsToID ¶
AssetIDsToID converts a ID slice into a generic ID slice.
func AssetIDsToIDRef ¶
AssetIDsToIDRef converts a ID ref slice into a generic ID ref slice.
func AuthRequestIDsToID ¶ added in v0.6.0
func AuthRequestIDsToID(ids []AuthRequestID) []ID
AuthRequestIDsToID converts a ID slice into a generic ID slice.
func AuthRequestIDsToIDRef ¶ added in v0.6.0
func AuthRequestIDsToIDRef(ids []*AuthRequestID) []*ID
AuthRequestIDsToIDRef converts a ID ref slice into a generic ID ref slice.
func ClusterIDsToID ¶ added in v0.3.0
ClusterIDsToID converts a ID slice into a generic ID slice.
func ClusterIDsToIDRef ¶ added in v0.3.0
ClusterIDsToIDRef converts a ID ref slice into a generic ID ref slice.
func DatasetIDsToID ¶
DatasetIDsToID converts a ID slice into a generic ID slice.
func DatasetIDsToIDRef ¶
DatasetIDsToIDRef converts a ID ref slice into a generic ID ref slice.
func DatasetSchemaFieldIDsToID ¶
func DatasetSchemaFieldIDsToID(ids []DatasetSchemaFieldID) []ID
DatasetSchemaFieldIDsToID converts a ID slice into a generic ID slice.
func DatasetSchemaFieldIDsToIDRef ¶
func DatasetSchemaFieldIDsToIDRef(ids []*DatasetSchemaFieldID) []*ID
DatasetSchemaFieldIDsToIDRef converts a ID ref slice into a generic ID ref slice.
func DatasetSchemaIDsToID ¶
func DatasetSchemaIDsToID(ids []DatasetSchemaID) []ID
DatasetSchemaIDsToID converts a ID slice into a generic ID slice.
func DatasetSchemaIDsToIDRef ¶
func DatasetSchemaIDsToIDRef(ids []*DatasetSchemaID) []*ID
DatasetSchemaIDsToIDRef converts a ID ref slice into a generic ID ref slice.
func InfoboxFieldIDsToID ¶
func InfoboxFieldIDsToID(ids []InfoboxFieldID) []ID
InfoboxFieldIDsToID converts a ID slice into a generic ID slice.
func InfoboxFieldIDsToIDRef ¶
func InfoboxFieldIDsToIDRef(ids []*InfoboxFieldID) []*ID
InfoboxFieldIDsToIDRef converts a ID ref slice into a generic ID ref slice.
func LayerIDsToID ¶
LayerIDsToID converts a ID slice into a generic ID slice.
func LayerIDsToIDRef ¶
LayerIDsToIDRef converts a ID ref slice into a generic ID ref slice.
func ProjectIDsToID ¶
ProjectIDsToID converts a ID slice into a generic ID slice.
func ProjectIDsToIDRef ¶
ProjectIDsToIDRef converts a ID ref slice into a generic ID ref slice.
func PropertyIDsToID ¶
func PropertyIDsToID(ids []PropertyID) []ID
PropertyIDsToID converts a ID slice into a generic ID slice.
func PropertyIDsToIDRef ¶
func PropertyIDsToIDRef(ids []*PropertyID) []*ID
PropertyIDsToIDRef converts a ID ref slice into a generic ID ref slice.
func PropertyItemIDsToID ¶
func PropertyItemIDsToID(ids []PropertyItemID) []ID
PropertyItemIDsToID converts a ID slice into a generic ID slice.
func PropertyItemIDsToIDRef ¶
func PropertyItemIDsToIDRef(ids []*PropertyItemID) []*ID
PropertyItemIDsToIDRef converts a ID ref slice into a generic ID ref slice.
func SceneIDsToID ¶
SceneIDsToID converts a ID slice into a generic ID slice.
func SceneIDsToIDRef ¶
SceneIDsToIDRef converts a ID ref slice into a generic ID ref slice.
func TagIDsToID ¶
TagIDsToID converts a ID slice into a generic ID slice.
func TagIDsToIDRef ¶
TagIDsToIDRef converts a ID ref slice into a generic ID ref slice.
func TeamIDsToID ¶
TeamIDsToID converts a ID slice into a generic ID slice.
func TeamIDsToIDRef ¶
TeamIDsToIDRef converts a ID ref slice into a generic ID ref slice.
func UserIDsToID ¶
UserIDsToID converts a ID slice into a generic ID slice.
func UserIDsToIDRef ¶
UserIDsToIDRef converts a ID ref slice into a generic ID ref slice.
func WidgetIDsToID ¶
WidgetIDsToID converts a ID slice into a generic ID slice.
func WidgetIDsToIDRef ¶
WidgetIDsToIDRef converts a ID ref slice into a generic ID ref slice.
type InfoboxFieldID ¶
type InfoboxFieldID ID
InfoboxFieldID is an ID for InfoboxField.
func InfoboxFieldIDFrom ¶
func InfoboxFieldIDFrom(i string) (nid InfoboxFieldID, err error)
InfoboxFieldIDFrom generates a new InfoboxFieldID from a string.
func InfoboxFieldIDFromRef ¶
func InfoboxFieldIDFromRef(i *string) *InfoboxFieldID
InfoboxFieldIDFromRef generates a new InfoboxFieldID from a string ref.
func InfoboxFieldIDFromRefID ¶
func InfoboxFieldIDFromRefID(i *ID) *InfoboxFieldID
InfoboxFieldIDFromRefID generates a new InfoboxFieldID from a ref of a generic ID.
func InfoboxFieldIDsFrom ¶
func InfoboxFieldIDsFrom(ids []string) ([]InfoboxFieldID, error)
InfoboxFieldIDsFrom converts a string slice into a ID slice.
func InfoboxFieldIDsFromID ¶
func InfoboxFieldIDsFromID(ids []ID) []InfoboxFieldID
InfoboxFieldIDsFromID converts a generic ID slice into a ID slice.
func InfoboxFieldIDsFromIDRef ¶
func InfoboxFieldIDsFromIDRef(ids []*ID) []InfoboxFieldID
InfoboxFieldIDsFromIDRef converts a ref of a generic ID slice into a ID slice.
func MustInfoboxFieldID ¶
func MustInfoboxFieldID(i string) InfoboxFieldID
MustInfoboxFieldID generates a new InfoboxFieldID from a string, but panics if the string cannot be parsed.
func NewInfoboxFieldID ¶
func NewInfoboxFieldID() InfoboxFieldID
NewInfoboxFieldID generates a new InfoboxFieldId.
func (InfoboxFieldID) Contains ¶
func (d InfoboxFieldID) Contains(ids []InfoboxFieldID) bool
Contains returns whether the id is contained in the slice.
func (*InfoboxFieldID) CopyRef ¶
func (d *InfoboxFieldID) CopyRef() *InfoboxFieldID
CopyRef returns a copy of a reference.
func (InfoboxFieldID) GoString ¶
func (d InfoboxFieldID) GoString() string
GoString implements fmt.GoStringer interface.
func (*InfoboxFieldID) IDRef ¶
func (d *InfoboxFieldID) IDRef() *ID
IDRef returns a reference of a domain id.
func (InfoboxFieldID) IsNil ¶
func (d InfoboxFieldID) IsNil() bool
IsNil returns true if a ID is zero-value
func (*InfoboxFieldID) IsNilRef ¶ added in v0.4.0
func (d *InfoboxFieldID) IsNilRef() bool
IsNilRef returns true if a ID is nil or zero-value
func (*InfoboxFieldID) MarhsalJSON ¶
func (d *InfoboxFieldID) MarhsalJSON() ([]byte, error)
MarhsalJSON implements json.Marhsaler interface
func (*InfoboxFieldID) MarshalText ¶
func (d *InfoboxFieldID) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler interface
func (InfoboxFieldID) RefString ¶
func (d InfoboxFieldID) RefString() *string
StringRef returns a reference of the string representation.
func (InfoboxFieldID) String ¶
func (d InfoboxFieldID) String() string
String returns a string representation.
func (*InfoboxFieldID) StringRef ¶
func (d *InfoboxFieldID) StringRef() *string
StringRef returns a reference of a string representation.
func (*InfoboxFieldID) UnmarhsalJSON ¶
func (d *InfoboxFieldID) UnmarhsalJSON(bs []byte) (err error)
UnmarhsalJSON implements json.Unmarshaler interface
func (*InfoboxFieldID) UnmarshalText ¶
func (d *InfoboxFieldID) UnmarshalText(text []byte) (err error)
UnmarshalText implements encoding.TextUnmarshaler interface
type InfoboxFieldIDSet ¶
type InfoboxFieldIDSet struct {
// contains filtered or unexported fields
}
InfoboxFieldIDSet represents a set of InfoboxFieldIDs
func NewInfoboxFieldIDSet ¶
func NewInfoboxFieldIDSet() *InfoboxFieldIDSet
NewInfoboxFieldIDSet creates a new InfoboxFieldIDSet
func (*InfoboxFieldIDSet) Add ¶
func (s *InfoboxFieldIDSet) Add(p ...InfoboxFieldID)
Add adds a new ID if it does not exists in the set
func (*InfoboxFieldIDSet) AddRef ¶
func (s *InfoboxFieldIDSet) AddRef(p *InfoboxFieldID)
AddRef adds a new ID ref if it does not exists in the set
func (*InfoboxFieldIDSet) All ¶
func (s *InfoboxFieldIDSet) All() []InfoboxFieldID
All returns stored all IDs as a slice
func (*InfoboxFieldIDSet) Clone ¶
func (s *InfoboxFieldIDSet) Clone() *InfoboxFieldIDSet
Clone returns a cloned set
func (*InfoboxFieldIDSet) Has ¶
func (s *InfoboxFieldIDSet) Has(p InfoboxFieldID) bool
Has checks if the ID exists in the set
func (*InfoboxFieldIDSet) Merge ¶
func (s *InfoboxFieldIDSet) Merge(s2 *InfoboxFieldIDSet) *InfoboxFieldIDSet
Merge returns a merged set
type LayerID ¶
type LayerID ID
LayerID is an ID for Layer.
func LayerIDFrom ¶
LayerIDFrom generates a new LayerID from a string.
func LayerIDFromRef ¶
LayerIDFromRef generates a new LayerID from a string ref.
func LayerIDFromRefID ¶
LayerIDFromRefID generates a new LayerID from a ref of a generic ID.
func LayerIDsFrom ¶
LayerIDsFrom converts a string slice into a ID slice.
func LayerIDsFromID ¶
LayerIDsFromID converts a generic ID slice into a ID slice.
func LayerIDsFromIDRef ¶
LayerIDsFromIDRef converts a ref of a generic ID slice into a ID slice.
func MustLayerID ¶
MustLayerID generates a new LayerID from a string, but panics if the string cannot be parsed.
func (*LayerID) MarhsalJSON ¶
MarhsalJSON implements json.Marhsaler interface
func (*LayerID) MarshalText ¶
MarshalText implements encoding.TextMarshaler interface
func (*LayerID) UnmarhsalJSON ¶
UnmarhsalJSON implements json.Unmarshaler interface
func (*LayerID) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler interface
type LayerIDSet ¶
type LayerIDSet struct {
// contains filtered or unexported fields
}
LayerIDSet represents a set of LayerIDs
func (*LayerIDSet) Add ¶
func (s *LayerIDSet) Add(p ...LayerID)
Add adds a new ID if it does not exists in the set
func (*LayerIDSet) AddRef ¶
func (s *LayerIDSet) AddRef(p *LayerID)
AddRef adds a new ID ref if it does not exists in the set
func (*LayerIDSet) Has ¶
func (s *LayerIDSet) Has(p LayerID) bool
Has checks if the ID exists in the set
func (*LayerIDSet) Merge ¶
func (s *LayerIDSet) Merge(s2 *LayerIDSet) *LayerIDSet
Merge returns a merged set
type PluginExtensionID ¶
type PluginExtensionID string
func PluginExtensionIDFromRef ¶
func PluginExtensionIDFromRef(id *string) *PluginExtensionID
func (*PluginExtensionID) CopyRef ¶
func (id *PluginExtensionID) CopyRef() *PluginExtensionID
func (PluginExtensionID) Ref ¶
func (id PluginExtensionID) Ref() *PluginExtensionID
func (PluginExtensionID) String ¶
func (id PluginExtensionID) String() string
func (*PluginExtensionID) StringRef ¶
func (id *PluginExtensionID) StringRef() *string
type PluginID ¶
type PluginID struct {
// contains filtered or unexported fields
}
PluginID is an ID for Plugin.
func MustPluginID ¶
MustPluginID generates a new id.PluginID from a string, but panics if the string cannot be parsed.
func PluginIDFrom ¶
PluginIDFrom generates a new id.PluginID from a string.
func PluginIDFromRef ¶
PluginIDFromRef generates a new id.PluginID from a string ref.
func PluginIDsFrom ¶
PluginIDsFrom converts a string slice into a ID slice.
func (*PluginID) MarshalText ¶
MarshalText implements encoding.TextMarshaler interface
func (PluginID) Scene ¶
Scene returns a scene ID of the plugin. It indicates this plugin is private and available for only the specific scene.
func (*PluginID) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler interface
type ProjectID ¶
type ProjectID ID
ProjectID is an ID for Project.
func MustProjectID ¶
MustProjectID generates a new ProjectID from a string, but panics if the string cannot be parsed.
func ProjectIDFrom ¶
ProjectIDFrom generates a new ProjectID from a string.
func ProjectIDFromRef ¶
ProjectIDFromRef generates a new ProjectID from a string ref.
func ProjectIDFromRefID ¶
ProjectIDFromRefID generates a new ProjectID from a ref of a generic ID.
func ProjectIDsFrom ¶
ProjectIDsFrom converts a string slice into a ID slice.
func ProjectIDsFromID ¶
ProjectIDsFromID converts a generic ID slice into a ID slice.
func ProjectIDsFromIDRef ¶
ProjectIDsFromIDRef converts a ref of a generic ID slice into a ID slice.
func (*ProjectID) MarhsalJSON ¶
MarhsalJSON implements json.Marhsaler interface
func (*ProjectID) MarshalText ¶
MarshalText implements encoding.TextMarshaler interface
func (*ProjectID) UnmarhsalJSON ¶
UnmarhsalJSON implements json.Unmarshaler interface
func (*ProjectID) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler interface
type ProjectIDSet ¶
type ProjectIDSet struct {
// contains filtered or unexported fields
}
ProjectIDSet represents a set of ProjectIDs
func NewProjectIDSet ¶
func NewProjectIDSet() *ProjectIDSet
NewProjectIDSet creates a new ProjectIDSet
func (*ProjectIDSet) Add ¶
func (s *ProjectIDSet) Add(p ...ProjectID)
Add adds a new ID if it does not exists in the set
func (*ProjectIDSet) AddRef ¶
func (s *ProjectIDSet) AddRef(p *ProjectID)
AddRef adds a new ID ref if it does not exists in the set
func (*ProjectIDSet) All ¶
func (s *ProjectIDSet) All() []ProjectID
All returns stored all IDs as a slice
func (*ProjectIDSet) Clone ¶
func (s *ProjectIDSet) Clone() *ProjectIDSet
Clone returns a cloned set
func (*ProjectIDSet) Has ¶
func (s *ProjectIDSet) Has(p ProjectID) bool
Has checks if the ID exists in the set
func (*ProjectIDSet) Merge ¶
func (s *ProjectIDSet) Merge(s2 *ProjectIDSet) *ProjectIDSet
Merge returns a merged set
type PropertyID ¶
type PropertyID ID
PropertyID is an ID for Property.
func MustPropertyID ¶
func MustPropertyID(i string) PropertyID
MustPropertyID generates a new PropertyID from a string, but panics if the string cannot be parsed.
func PropertyIDFrom ¶
func PropertyIDFrom(i string) (nid PropertyID, err error)
PropertyIDFrom generates a new PropertyID from a string.
func PropertyIDFromRef ¶
func PropertyIDFromRef(i *string) *PropertyID
PropertyIDFromRef generates a new PropertyID from a string ref.
func PropertyIDFromRefID ¶
func PropertyIDFromRefID(i *ID) *PropertyID
PropertyIDFromRefID generates a new PropertyID from a ref of a generic ID.
func PropertyIDsFrom ¶
func PropertyIDsFrom(ids []string) ([]PropertyID, error)
PropertyIDsFrom converts a string slice into a ID slice.
func PropertyIDsFromID ¶
func PropertyIDsFromID(ids []ID) []PropertyID
PropertyIDsFromID converts a generic ID slice into a ID slice.
func PropertyIDsFromIDRef ¶
func PropertyIDsFromIDRef(ids []*ID) []PropertyID
PropertyIDsFromIDRef converts a ref of a generic ID slice into a ID slice.
func (PropertyID) Contains ¶
func (d PropertyID) Contains(ids []PropertyID) bool
Contains returns whether the id is contained in the slice.
func (*PropertyID) CopyRef ¶
func (d *PropertyID) CopyRef() *PropertyID
CopyRef returns a copy of a reference.
func (PropertyID) GoString ¶
func (d PropertyID) GoString() string
GoString implements fmt.GoStringer interface.
func (*PropertyID) IDRef ¶
func (d *PropertyID) IDRef() *ID
IDRef returns a reference of a domain id.
func (*PropertyID) IsNilRef ¶ added in v0.4.0
func (d *PropertyID) IsNilRef() bool
IsNilRef returns true if a ID is nil or zero-value
func (*PropertyID) MarhsalJSON ¶
func (d *PropertyID) MarhsalJSON() ([]byte, error)
MarhsalJSON implements json.Marhsaler interface
func (*PropertyID) MarshalText ¶
func (d *PropertyID) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler interface
func (PropertyID) RefString ¶
func (d PropertyID) RefString() *string
StringRef returns a reference of the string representation.
func (PropertyID) String ¶
func (d PropertyID) String() string
String returns a string representation.
func (*PropertyID) StringRef ¶
func (d *PropertyID) StringRef() *string
StringRef returns a reference of a string representation.
func (*PropertyID) UnmarhsalJSON ¶
func (d *PropertyID) UnmarhsalJSON(bs []byte) (err error)
UnmarhsalJSON implements json.Unmarshaler interface
func (*PropertyID) UnmarshalText ¶
func (d *PropertyID) UnmarshalText(text []byte) (err error)
UnmarshalText implements encoding.TextUnmarshaler interface
type PropertyIDSet ¶
type PropertyIDSet struct {
// contains filtered or unexported fields
}
PropertyIDSet represents a set of PropertyIDs
func NewPropertyIDSet ¶
func NewPropertyIDSet() *PropertyIDSet
NewPropertyIDSet creates a new PropertyIDSet
func (*PropertyIDSet) Add ¶
func (s *PropertyIDSet) Add(p ...PropertyID)
Add adds a new ID if it does not exists in the set
func (*PropertyIDSet) AddRef ¶
func (s *PropertyIDSet) AddRef(p *PropertyID)
AddRef adds a new ID ref if it does not exists in the set
func (*PropertyIDSet) All ¶
func (s *PropertyIDSet) All() []PropertyID
All returns stored all IDs as a slice
func (*PropertyIDSet) Clone ¶
func (s *PropertyIDSet) Clone() *PropertyIDSet
Clone returns a cloned set
func (*PropertyIDSet) Has ¶
func (s *PropertyIDSet) Has(p PropertyID) bool
Has checks if the ID exists in the set
func (*PropertyIDSet) Merge ¶
func (s *PropertyIDSet) Merge(s2 *PropertyIDSet) *PropertyIDSet
Merge returns a merged set
type PropertyItemID ¶
type PropertyItemID ID
PropertyItemID is an ID for PropertyItem.
func MustPropertyItemID ¶
func MustPropertyItemID(i string) PropertyItemID
MustPropertyItemID generates a new PropertyItemID from a string, but panics if the string cannot be parsed.
func NewPropertyItemID ¶
func NewPropertyItemID() PropertyItemID
NewPropertyItemID generates a new PropertyItemId.
func PropertyItemIDFrom ¶
func PropertyItemIDFrom(i string) (nid PropertyItemID, err error)
PropertyItemIDFrom generates a new PropertyItemID from a string.
func PropertyItemIDFromRef ¶
func PropertyItemIDFromRef(i *string) *PropertyItemID
PropertyItemIDFromRef generates a new PropertyItemID from a string ref.
func PropertyItemIDFromRefID ¶
func PropertyItemIDFromRefID(i *ID) *PropertyItemID
PropertyItemIDFromRefID generates a new PropertyItemID from a ref of a generic ID.
func PropertyItemIDsFrom ¶
func PropertyItemIDsFrom(ids []string) ([]PropertyItemID, error)
PropertyItemIDsFrom converts a string slice into a ID slice.
func PropertyItemIDsFromID ¶
func PropertyItemIDsFromID(ids []ID) []PropertyItemID
PropertyItemIDsFromID converts a generic ID slice into a ID slice.
func PropertyItemIDsFromIDRef ¶
func PropertyItemIDsFromIDRef(ids []*ID) []PropertyItemID
PropertyItemIDsFromIDRef converts a ref of a generic ID slice into a ID slice.
func (PropertyItemID) Contains ¶
func (d PropertyItemID) Contains(ids []PropertyItemID) bool
Contains returns whether the id is contained in the slice.
func (*PropertyItemID) CopyRef ¶
func (d *PropertyItemID) CopyRef() *PropertyItemID
CopyRef returns a copy of a reference.
func (PropertyItemID) GoString ¶
func (d PropertyItemID) GoString() string
GoString implements fmt.GoStringer interface.
func (*PropertyItemID) IDRef ¶
func (d *PropertyItemID) IDRef() *ID
IDRef returns a reference of a domain id.
func (PropertyItemID) IsNil ¶
func (d PropertyItemID) IsNil() bool
IsNil returns true if a ID is zero-value
func (*PropertyItemID) IsNilRef ¶ added in v0.4.0
func (d *PropertyItemID) IsNilRef() bool
IsNilRef returns true if a ID is nil or zero-value
func (*PropertyItemID) MarhsalJSON ¶
func (d *PropertyItemID) MarhsalJSON() ([]byte, error)
MarhsalJSON implements json.Marhsaler interface
func (*PropertyItemID) MarshalText ¶
func (d *PropertyItemID) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler interface
func (PropertyItemID) RefString ¶
func (d PropertyItemID) RefString() *string
StringRef returns a reference of the string representation.
func (PropertyItemID) String ¶
func (d PropertyItemID) String() string
String returns a string representation.
func (*PropertyItemID) StringRef ¶
func (d *PropertyItemID) StringRef() *string
StringRef returns a reference of a string representation.
func (*PropertyItemID) UnmarhsalJSON ¶
func (d *PropertyItemID) UnmarhsalJSON(bs []byte) (err error)
UnmarhsalJSON implements json.Unmarshaler interface
func (*PropertyItemID) UnmarshalText ¶
func (d *PropertyItemID) UnmarshalText(text []byte) (err error)
UnmarshalText implements encoding.TextUnmarshaler interface
type PropertyItemIDSet ¶
type PropertyItemIDSet struct {
// contains filtered or unexported fields
}
PropertyItemIDSet represents a set of PropertyItemIDs
func NewPropertyItemIDSet ¶
func NewPropertyItemIDSet() *PropertyItemIDSet
NewPropertyItemIDSet creates a new PropertyItemIDSet
func (*PropertyItemIDSet) Add ¶
func (s *PropertyItemIDSet) Add(p ...PropertyItemID)
Add adds a new ID if it does not exists in the set
func (*PropertyItemIDSet) AddRef ¶
func (s *PropertyItemIDSet) AddRef(p *PropertyItemID)
AddRef adds a new ID ref if it does not exists in the set
func (*PropertyItemIDSet) All ¶
func (s *PropertyItemIDSet) All() []PropertyItemID
All returns stored all IDs as a slice
func (*PropertyItemIDSet) Clone ¶
func (s *PropertyItemIDSet) Clone() *PropertyItemIDSet
Clone returns a cloned set
func (*PropertyItemIDSet) Has ¶
func (s *PropertyItemIDSet) Has(p PropertyItemID) bool
Has checks if the ID exists in the set
func (*PropertyItemIDSet) Merge ¶
func (s *PropertyItemIDSet) Merge(s2 *PropertyItemIDSet) *PropertyItemIDSet
Merge returns a merged set
type PropertySchemaFieldID ¶
type PropertySchemaFieldID string
func PropertySchemaFieldIDFrom ¶
func PropertySchemaFieldIDFrom(str *string) *PropertySchemaFieldID
func (*PropertySchemaFieldID) CopyRef ¶
func (id *PropertySchemaFieldID) CopyRef() *PropertySchemaFieldID
func (PropertySchemaFieldID) Ref ¶
func (id PropertySchemaFieldID) Ref() *PropertySchemaFieldID
func (PropertySchemaFieldID) String ¶
func (id PropertySchemaFieldID) String() string
func (*PropertySchemaFieldID) StringRef ¶
func (id *PropertySchemaFieldID) StringRef() *string
type PropertySchemaGroupID ¶ added in v0.2.0
type PropertySchemaGroupID string
func PropertySchemaGroupIDFrom ¶ added in v0.2.0
func PropertySchemaGroupIDFrom(str *string) *PropertySchemaGroupID
func (*PropertySchemaGroupID) CopyRef ¶ added in v0.2.0
func (id *PropertySchemaGroupID) CopyRef() *PropertySchemaGroupID
func (PropertySchemaGroupID) Ref ¶ added in v0.2.0
func (id PropertySchemaGroupID) Ref() *PropertySchemaGroupID
func (PropertySchemaGroupID) String ¶ added in v0.2.0
func (id PropertySchemaGroupID) String() string
func (*PropertySchemaGroupID) StringRef ¶ added in v0.2.0
func (id *PropertySchemaGroupID) StringRef() *string
type PropertySchemaID ¶
type PropertySchemaID struct {
// contains filtered or unexported fields
}
PropertySchemaID is an ID for PropertySchema.
func MustPropertySchemaID ¶
func MustPropertySchemaID(id string) PropertySchemaID
MustPropertySchemaID generates a new PropertySchemaID from a string, but panics if the string cannot be parsed.
func NewPropertySchemaID ¶ added in v0.5.0
func NewPropertySchemaID(p PluginID, name string) PropertySchemaID
NewPropertySchemaID generates a new PropertySchemaID from a plugin ID and name.
func PropertySchemaIDFrom ¶
func PropertySchemaIDFrom(id string) (PropertySchemaID, error)
PropertySchemaIDFrom generates a new PropertySchemaID from a string.
func PropertySchemaIDFromRef ¶
func PropertySchemaIDFromRef(id *string) *PropertySchemaID
PropertySchemaIDFromRef generates a new PropertySchemaID from a string ref.
func PropertySchemaIDsFrom ¶
func PropertySchemaIDsFrom(ids []string) ([]PropertySchemaID, error)
PropertySchemaIDsFrom converts a string slice into a ID slice.
func (PropertySchemaID) Clone ¶ added in v0.4.0
func (d PropertySchemaID) Clone() PropertySchemaID
Clone duplicates the PropertySchemaID
func (*PropertySchemaID) CopyRef ¶
func (d *PropertySchemaID) CopyRef() *PropertySchemaID
CopyRef returns a copy of a reference.
func (PropertySchemaID) Equal ¶
func (d PropertySchemaID) Equal(d2 PropertySchemaID) bool
Equal returns true if two IDs are equal.
func (PropertySchemaID) ID ¶
func (d PropertySchemaID) ID() string
ID returns a fragment of just ID.
func (PropertySchemaID) IsNil ¶
func (d PropertySchemaID) IsNil() bool
IsNil checks if ID is empty or not.
func (*PropertySchemaID) MarshalText ¶
func (d *PropertySchemaID) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler interface
func (PropertySchemaID) Plugin ¶
func (d PropertySchemaID) Plugin() PluginID
Plugin returns a fragment of plugin ID.
func (PropertySchemaID) Ref ¶
func (d PropertySchemaID) Ref() *PropertySchemaID
Ref returns a reference.
func (PropertySchemaID) String ¶
func (d PropertySchemaID) String() string
String returns a string representation.
func (*PropertySchemaID) StringRef ¶
func (d *PropertySchemaID) StringRef() *string
StringRef returns a reference of a string representation.
func (*PropertySchemaID) UnmarshalText ¶
func (d *PropertySchemaID) UnmarshalText(text []byte) (err error)
UnmarshalText implements encoding.TextUnmarshaler interface
func (PropertySchemaID) WithPlugin ¶ added in v0.5.0
func (d PropertySchemaID) WithPlugin(plugin PluginID) PropertySchemaID
WithPlugin duplicates the PropertySchemaID but its plugin ID is changed
type SceneID ¶
type SceneID ID
SceneID is an ID for Scene.
func MustSceneID ¶
MustSceneID generates a new SceneID from a string, but panics if the string cannot be parsed.
func SceneIDFrom ¶
SceneIDFrom generates a new SceneID from a string.
func SceneIDFromRef ¶
SceneIDFromRef generates a new SceneID from a string ref.
func SceneIDFromRefID ¶
SceneIDFromRefID generates a new SceneID from a ref of a generic ID.
func SceneIDsFrom ¶
SceneIDsFrom converts a string slice into a ID slice.
func SceneIDsFromID ¶
SceneIDsFromID converts a generic ID slice into a ID slice.
func SceneIDsFromIDRef ¶
SceneIDsFromIDRef converts a ref of a generic ID slice into a ID slice.
func (*SceneID) MarhsalJSON ¶
MarhsalJSON implements json.Marhsaler interface
func (*SceneID) MarshalText ¶
MarshalText implements encoding.TextMarshaler interface
func (*SceneID) UnmarhsalJSON ¶
UnmarhsalJSON implements json.Unmarshaler interface
func (*SceneID) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler interface
type SceneIDSet ¶
type SceneIDSet struct {
// contains filtered or unexported fields
}
SceneIDSet represents a set of SceneIDs
func (*SceneIDSet) Add ¶
func (s *SceneIDSet) Add(p ...SceneID)
Add adds a new ID if it does not exists in the set
func (*SceneIDSet) AddRef ¶
func (s *SceneIDSet) AddRef(p *SceneID)
AddRef adds a new ID ref if it does not exists in the set
func (*SceneIDSet) Has ¶
func (s *SceneIDSet) Has(p SceneID) bool
Has checks if the ID exists in the set
func (*SceneIDSet) Merge ¶
func (s *SceneIDSet) Merge(s2 *SceneIDSet) *SceneIDSet
Merge returns a merged set
type TagID ¶
type TagID ID
TagID is an ID for Tag.
func MustTagID ¶
MustTagID generates a new TagID from a string, but panics if the string cannot be parsed.
func TagIDFromRef ¶
TagIDFromRef generates a new TagID from a string ref.
func TagIDFromRefID ¶
TagIDFromRefID generates a new TagID from a ref of a generic ID.
func TagIDsFrom ¶
TagIDsFrom converts a string slice into a ID slice.
func TagIDsFromID ¶
TagIDsFromID converts a generic ID slice into a ID slice.
func TagIDsFromIDRef ¶
TagIDsFromIDRef converts a ref of a generic ID slice into a ID slice.
func (*TagID) MarhsalJSON ¶
MarhsalJSON implements json.Marhsaler interface
func (*TagID) MarshalText ¶
MarshalText implements encoding.TextMarshaler interface
func (*TagID) UnmarhsalJSON ¶
UnmarhsalJSON implements json.Unmarshaler interface
func (*TagID) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler interface
type TagIDSet ¶
type TagIDSet struct {
// contains filtered or unexported fields
}
TagIDSet represents a set of TagIDs
type TeamID ¶
type TeamID ID
TeamID is an ID for Team.
func MustTeamID ¶
MustTeamID generates a new TeamID from a string, but panics if the string cannot be parsed.
func TeamIDFrom ¶
TeamIDFrom generates a new TeamID from a string.
func TeamIDFromRef ¶
TeamIDFromRef generates a new TeamID from a string ref.
func TeamIDFromRefID ¶
TeamIDFromRefID generates a new TeamID from a ref of a generic ID.
func TeamIDsFrom ¶
TeamIDsFrom converts a string slice into a ID slice.
func TeamIDsFromID ¶
TeamIDsFromID converts a generic ID slice into a ID slice.
func TeamIDsFromIDRef ¶
TeamIDsFromIDRef converts a ref of a generic ID slice into a ID slice.
func (*TeamID) MarhsalJSON ¶
MarhsalJSON implements json.Marhsaler interface
func (*TeamID) MarshalText ¶
MarshalText implements encoding.TextMarshaler interface
func (*TeamID) UnmarhsalJSON ¶
UnmarhsalJSON implements json.Unmarshaler interface
func (*TeamID) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler interface
type TeamIDSet ¶
type TeamIDSet struct {
// contains filtered or unexported fields
}
TeamIDSet represents a set of TeamIDs
type UserID ¶
type UserID ID
UserID is an ID for User.
func MustUserID ¶
MustUserID generates a new UserID from a string, but panics if the string cannot be parsed.
func UserIDFrom ¶
UserIDFrom generates a new UserID from a string.
func UserIDFromRef ¶
UserIDFromRef generates a new UserID from a string ref.
func UserIDFromRefID ¶
UserIDFromRefID generates a new UserID from a ref of a generic ID.
func UserIDsFrom ¶
UserIDsFrom converts a string slice into a ID slice.
func UserIDsFromID ¶
UserIDsFromID converts a generic ID slice into a ID slice.
func UserIDsFromIDRef ¶
UserIDsFromIDRef converts a ref of a generic ID slice into a ID slice.
func (*UserID) MarhsalJSON ¶
MarhsalJSON implements json.Marhsaler interface
func (*UserID) MarshalText ¶
MarshalText implements encoding.TextMarshaler interface
func (*UserID) UnmarhsalJSON ¶
UnmarhsalJSON implements json.Unmarshaler interface
func (*UserID) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler interface
type UserIDSet ¶
type UserIDSet struct {
// contains filtered or unexported fields
}
UserIDSet represents a set of UserIDs
type WidgetID ¶
type WidgetID ID
WidgetID is an ID for Widget.
func MustWidgetID ¶
MustWidgetID generates a new WidgetID from a string, but panics if the string cannot be parsed.
func WidgetIDFrom ¶
WidgetIDFrom generates a new WidgetID from a string.
func WidgetIDFromRef ¶
WidgetIDFromRef generates a new WidgetID from a string ref.
func WidgetIDFromRefID ¶
WidgetIDFromRefID generates a new WidgetID from a ref of a generic ID.
func WidgetIDsFrom ¶
WidgetIDsFrom converts a string slice into a ID slice.
func WidgetIDsFromID ¶
WidgetIDsFromID converts a generic ID slice into a ID slice.
func WidgetIDsFromIDRef ¶
WidgetIDsFromIDRef converts a ref of a generic ID slice into a ID slice.
func (*WidgetID) MarhsalJSON ¶
MarhsalJSON implements json.Marhsaler interface
func (*WidgetID) MarshalText ¶
MarshalText implements encoding.TextMarshaler interface
func (*WidgetID) UnmarhsalJSON ¶
UnmarhsalJSON implements json.Unmarshaler interface
func (*WidgetID) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler interface
type WidgetIDSet ¶
type WidgetIDSet struct {
// contains filtered or unexported fields
}
WidgetIDSet represents a set of WidgetIDs
func (*WidgetIDSet) Add ¶
func (s *WidgetIDSet) Add(p ...WidgetID)
Add adds a new ID if it does not exists in the set
func (*WidgetIDSet) AddRef ¶
func (s *WidgetIDSet) AddRef(p *WidgetID)
AddRef adds a new ID ref if it does not exists in the set
func (*WidgetIDSet) All ¶
func (s *WidgetIDSet) All() []WidgetID
All returns stored all IDs as a slice
func (*WidgetIDSet) Has ¶
func (s *WidgetIDSet) Has(p WidgetID) bool
Has checks if the ID exists in the set
func (*WidgetIDSet) Merge ¶
func (s *WidgetIDSet) Merge(s2 *WidgetIDSet) *WidgetIDSet
Merge returns a merged set
Source Files ¶
- asset_gen.go
- auth_request_gen.go
- cluster_gen.go
- dataset_gen.go
- dataset_schema_field_gen.go
- dataset_schema_gen.go
- gen.go
- id.go
- infobox_field_gen.go
- layer_gen.go
- plugin.go
- plugin_extension.go
- project_gen.go
- property_gen.go
- property_item_gen.go
- property_schema.go
- property_schema_field.go
- property_schema_group.go
- scene_gen.go
- tag_gen.go
- team_gen.go
- user_gen.go
- widget_gen.go