Documentation ¶
Index ¶
- Constants
- func AsAnyCastAccess(access ProjectAccess) gotenresource.Access
- type Descriptor
- func (d *Descriptor) GetNameDescriptor() *gotenresource.NameDescriptor
- func (d *Descriptor) GetResourceTypeName() *gotenresource.TypeName
- func (d *Descriptor) NewGetQuery() gotenresource.GetQuery
- func (d *Descriptor) NewListQuery() gotenresource.ListQuery
- func (d *Descriptor) NewNameList(size, reserved int) gotenresource.NameList
- func (d *Descriptor) NewParentNameList(size, reserved int) gotenresource.ParentNameList
- func (d *Descriptor) NewParentReferenceList(size, reserved int) gotenresource.ParentReferenceList
- func (d *Descriptor) NewQueryResultChange() gotenresource.QueryResultChange
- func (d *Descriptor) NewQueryResultSnapshot() gotenresource.QueryResultSnapshot
- func (d *Descriptor) NewReferenceList(size, reserved int) gotenresource.ReferenceList
- func (d *Descriptor) NewResource() gotenresource.Resource
- func (d *Descriptor) NewResourceChange() gotenresource.ResourceChange
- func (d *Descriptor) NewResourceChangeList(size, reserved int) gotenresource.ResourceChangeList
- func (d *Descriptor) NewResourceChangeMap(reserved int) gotenresource.ResourceChangeMap
- func (d *Descriptor) NewResourceCursor() gotenresource.Cursor
- func (d *Descriptor) NewResourceFieldMask() gotenobject.FieldMask
- func (d *Descriptor) NewResourceFilter() gotenresource.Filter
- func (d *Descriptor) NewResourceList(size, reserved int) gotenresource.ResourceList
- func (d *Descriptor) NewResourceMap(reserved int) gotenresource.ResourceMap
- func (d *Descriptor) NewResourceName() gotenresource.Name
- func (d *Descriptor) NewResourceOrderBy() gotenresource.OrderBy
- func (d *Descriptor) NewSearchQuery() gotenresource.SearchQuery
- func (d *Descriptor) NewSearchQueryResultSnapshot() gotenresource.SearchQueryResultSnapshot
- func (d *Descriptor) NewWatchQuery() gotenresource.WatchQuery
- func (d *Descriptor) ParseFieldPath(raw string) (gotenobject.FieldPath, error)
- func (d *Descriptor) ParseResourceName(nameStr string) (gotenresource.Name, error)
- type Filter
- func (filter *Filter) ConvertToNative(typeDesc reflect.Type) (interface{}, error)
- func (filter *Filter) ConvertToType(typeVal ref.Type) ref.Val
- func (filter *Filter) DecodeFirestore(fpbv *firestorepb.Value) error
- func (filter *Filter) EncodeFirestore() (*firestorepb.Value, error)
- func (filter *Filter) Equal(other ref.Val) ref.Val
- func (filter *Filter) Evaluate(res *Project) bool
- func (filter *Filter) EvaluateRaw(res gotenresource.Resource) bool
- func (filter *Filter) FilterSlice(in []*Project) (out []*Project)
- func (filter *Filter) GetCondition() FilterCondition
- func (filter *Filter) GetRawCondition() gotenresource.FilterCondition
- func (filter *Filter) HasTrait(trait int) bool
- func (filter *Filter) Match(pattern ref.Val) ref.Val
- func (filter *Filter) ParseProtoString(data string) error
- func (filter *Filter) ProtoString() (string, error)
- func (filter *Filter) Receive(function string, overload string, args []ref.Val) ref.Val
- func (filter *Filter) SetFromCliFlag(raw string) error
- func (filter *Filter) String() string
- func (filter *Filter) Type() ref.Type
- func (filter *Filter) TypeName() string
- func (filter *Filter) Value() interface{}
- type FilterBuilder
- func (b *FilterBuilder) Filter() *Filter
- func (b *FilterBuilder) Where(opts ...gotenfilter.FilterConditionOption) *filterCndBuilder
- func (b *FilterBuilder) WherePath(fp Project_FieldPath, opts ...gotenfilter.FilterConditionOption) *filterCndBuilderAnyPath
- func (b *FilterBuilder) With(condOrBuilder FilterBuilderOrCondition, ...) *FilterBuilder
- type FilterBuilderOrCondition
- type FilterCondition
- type FilterConditionCompare
- func (cond *FilterConditionCompare) And(conds ...FilterCondition) FilterCondition
- func (cond *FilterConditionCompare) ConditionCompare()
- func (cond *FilterConditionCompare) Evaluate(res *Project) bool
- func (cond *FilterConditionCompare) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionCompare) GetOperator() filterParser.CompareOperator
- func (cond *FilterConditionCompare) GetRawFieldPath() gotenobject.FieldPath
- func (cond *FilterConditionCompare) GetRawFieldPathValue() gotenobject.FieldPathValue
- func (cond *FilterConditionCompare) Satisfies(other FilterCondition) bool
- func (cond *FilterConditionCompare) SatisfiesRaw(other gotenresource.FilterCondition) bool
- func (cond *FilterConditionCompare) SpecifiesFieldPath(fp Project_FieldPath) bool
- func (cond *FilterConditionCompare) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionCompare) String() string
- type FilterConditionComposite
- func (cond *FilterConditionComposite) And(conds ...FilterCondition) FilterCondition
- func (cond *FilterConditionComposite) ConditionComposite()
- func (cond *FilterConditionComposite) Evaluate(res *Project) bool
- func (cond *FilterConditionComposite) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionComposite) GetOperator() filterParser.CompositeOperator
- func (cond *FilterConditionComposite) GetSubConditions() []gotenresource.FilterCondition
- func (cond *FilterConditionComposite) Satisfies(other FilterCondition) bool
- func (cond *FilterConditionComposite) SatisfiesRaw(other gotenresource.FilterCondition) bool
- func (cond *FilterConditionComposite) SpecifiesFieldPath(fp Project_FieldPath) bool
- func (cond *FilterConditionComposite) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionComposite) String() string
- type FilterConditionContains
- func (cond *FilterConditionContains) And(conds ...FilterCondition) FilterCondition
- func (cond *FilterConditionContains) ConditionContains()
- func (cond *FilterConditionContains) ConditionContainsType() gotenresource.ConditionContainsType
- func (cond *FilterConditionContains) Evaluate(res *Project) bool
- func (cond *FilterConditionContains) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionContains) GetFieldPath() Project_FieldPath
- func (cond *FilterConditionContains) GetRawFieldPath() gotenobject.FieldPath
- func (cond *FilterConditionContains) GetRawFieldPathItemValue() gotenobject.FieldPathArrayItemValue
- func (cond *FilterConditionContains) GetRawFieldPathItemValues() (res []gotenobject.FieldPathArrayItemValue)
- func (cond *FilterConditionContains) Satisfies(other FilterCondition) bool
- func (cond *FilterConditionContains) SatisfiesRaw(other gotenresource.FilterCondition) bool
- func (cond *FilterConditionContains) SpecifiesFieldPath(fp Project_FieldPath) bool
- func (cond *FilterConditionContains) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionContains) String() string
- type FilterConditionIn
- func (cond *FilterConditionIn) And(conds ...FilterCondition) FilterCondition
- func (cond *FilterConditionIn) ConditionIn()
- func (cond *FilterConditionIn) Evaluate(res *Project) bool
- func (cond *FilterConditionIn) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionIn) GetRawFieldPath() gotenobject.FieldPath
- func (cond *FilterConditionIn) GetRawFieldPathArrayOfValues() gotenobject.FieldPathArrayOfValues
- func (cond *FilterConditionIn) Satisfies(other FilterCondition) bool
- func (cond *FilterConditionIn) SatisfiesRaw(other gotenresource.FilterCondition) bool
- func (cond *FilterConditionIn) SpecifiesFieldPath(fp Project_FieldPath) bool
- func (cond *FilterConditionIn) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionIn) String() string
- type FilterConditionIsNaN
- func (cond *FilterConditionIsNaN) And(conds ...FilterCondition) FilterCondition
- func (cond *FilterConditionIsNaN) ConditionIsNaN()
- func (cond *FilterConditionIsNaN) Evaluate(res *Project) bool
- func (cond *FilterConditionIsNaN) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionIsNaN) GetRawFieldPath() gotenobject.FieldPath
- func (cond *FilterConditionIsNaN) Satisfies(other FilterCondition) bool
- func (cond *FilterConditionIsNaN) SatisfiesRaw(other gotenresource.FilterCondition) bool
- func (cond *FilterConditionIsNaN) SpecifiesFieldPath(fp Project_FieldPath) bool
- func (cond *FilterConditionIsNaN) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionIsNaN) String() string
- type FilterConditionIsNull
- func (cond *FilterConditionIsNull) And(conds ...FilterCondition) FilterCondition
- func (cond *FilterConditionIsNull) ConditionIsNull()
- func (cond *FilterConditionIsNull) Evaluate(res *Project) bool
- func (cond *FilterConditionIsNull) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionIsNull) GetRawFieldPath() gotenobject.FieldPath
- func (cond *FilterConditionIsNull) NotNull() bool
- func (cond *FilterConditionIsNull) Satisfies(other FilterCondition) bool
- func (cond *FilterConditionIsNull) SatisfiesRaw(other gotenresource.FilterCondition) bool
- func (cond *FilterConditionIsNull) SpecifiesFieldPath(fp Project_FieldPath) bool
- func (cond *FilterConditionIsNull) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionIsNull) String() string
- type FilterConditionNot
- func (cond *FilterConditionNot) And(conds ...FilterCondition) FilterCondition
- func (cond *FilterConditionNot) ConditionNot()
- func (cond *FilterConditionNot) Evaluate(res *Project) bool
- func (cond *FilterConditionNot) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionNot) GetSubCondition() gotenresource.FilterCondition
- func (cond *FilterConditionNot) Satisfies(other FilterCondition) bool
- func (cond *FilterConditionNot) SatisfiesRaw(other gotenresource.FilterCondition) bool
- func (cond *FilterConditionNot) SpecifiesFieldPath(fp Project_FieldPath) bool
- func (cond *FilterConditionNot) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionNot) String() string
- type FilterConditionNotIn
- func (cond *FilterConditionNotIn) And(conds ...FilterCondition) FilterCondition
- func (cond *FilterConditionNotIn) ConditionNotIn()
- func (cond *FilterConditionNotIn) Evaluate(res *Project) bool
- func (cond *FilterConditionNotIn) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionNotIn) GetRawFieldPath() gotenobject.FieldPath
- func (cond *FilterConditionNotIn) GetRawFieldPathArrayOfValues() gotenobject.FieldPathArrayOfValues
- func (cond *FilterConditionNotIn) Satisfies(other FilterCondition) bool
- func (cond *FilterConditionNotIn) SatisfiesRaw(other gotenresource.FilterCondition) bool
- func (cond *FilterConditionNotIn) SpecifiesFieldPath(fp Project_FieldPath) bool
- func (cond *FilterConditionNotIn) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionNotIn) String() string
- type GetQuery
- func (q *GetQuery) GetFieldMask() gotenobject.FieldMask
- func (q *GetQuery) GetReference() gotenresource.Reference
- func (q *GetQuery) GetResourceDescriptor() gotenresource.Descriptor
- func (q *GetQuery) GotenQuery()
- func (q *GetQuery) SetFieldMask(mask gotenobject.FieldMask)
- func (q *GetQuery) SetReference(ref gotenresource.Reference)
- func (q *GetQuery) String() string
- type ListQuery
- func (q *ListQuery) GetFieldMask() gotenobject.FieldMask
- func (q *ListQuery) GetFilter() gotenresource.Filter
- func (q *ListQuery) GetPager() gotenresource.PagerQuery
- func (q *ListQuery) GetResourceDescriptor() gotenresource.Descriptor
- func (q *ListQuery) GotenQuery()
- func (q *ListQuery) SetFieldMask(mask gotenobject.FieldMask)
- func (q *ListQuery) SetFilter(filter gotenresource.Filter)
- func (q *ListQuery) SetPager(pager gotenresource.PagerQuery)
- func (q *ListQuery) String() string
- type Name
- func (name *Name) AsRawReference() gotenresource.Reference
- func (name *Name) AsReference() *Reference
- func (name *Name) ConvertToNative(typeDesc reflect.Type) (interface{}, error)
- func (name *Name) ConvertToType(typeVal ref.Type) ref.Val
- func (name *Name) Equal(other ref.Val) ref.Val
- func (name *Name) FullyQualifiedName() (string, error)
- func (name *Name) GetIParentName() gotenresource.Name
- func (name *Name) GetIUnderlyingParentName() gotenresource.Name
- func (name *Name) GetIdParts() map[string]string
- func (name *Name) GetPattern() gotenresource.NamePattern
- func (name *Name) GetResourceDescriptor() gotenresource.Descriptor
- func (name *Name) GetSegments() gotenresource.NameSegments
- func (name *Name) GotenEqual(other interface{}) bool
- func (name *Name) HasTrait(trait int) bool
- func (name *Name) IsFullyQualified() bool
- func (name *Name) IsSpecified() bool
- func (name *Name) Match(pattern ref.Val) ref.Val
- func (name *Name) Matches(other interface{}) bool
- func (name *Name) ParseProtoString(data string) error
- func (name *Name) ProtoString() (string, error)
- func (name *Name) Receive(function string, overload string, args []ref.Val) ref.Val
- func (name *Name) SetFromCliFlag(raw string) error
- func (name *Name) SetFromSegments(segments gotenresource.NameSegments) error
- func (name *Name) String() string
- func (name *Name) Type() ref.Type
- func (name *Name) TypeName() string
- func (name *Name) Value() interface{}
- type NameBuilder
- type NamePattern
- type OrderBy
- func (orderBy *OrderBy) Compare(left, right *Project) int
- func (orderBy *OrderBy) CompareRaw(left, right gotenresource.Resource) int
- func (orderBy *OrderBy) GetFieldMask() *Project_FieldMask
- func (orderBy *OrderBy) GetOrderByFields() []gotenresource.OrderByField
- func (orderBy *OrderBy) GetRawFieldMask() gotenobject.FieldMask
- func (orderBy *OrderBy) InsertSorted(sorted ProjectList, elem *Project) (ProjectList, int)
- func (orderBy *OrderBy) InsertSortedRaw(sorted gotenresource.ResourceList, elem gotenresource.Resource) (gotenresource.ResourceList, int)
- func (orderBy *OrderBy) ParseProtoString(data string) error
- func (orderBy *OrderBy) ProtoString() (string, error)
- func (orderBy *OrderBy) SetFromCliFlag(raw string) error
- func (orderBy *OrderBy) Sort(results ProjectList)
- func (orderBy *OrderBy) SortRaw(results gotenresource.ResourceList)
- func (orderBy *OrderBy) String() string
- type OrderByField
- type PagerCursor
- func (cursor *PagerCursor) GetInclusion() gotenresource.CursorInclusion
- func (cursor *PagerCursor) GetPageDirection() gotenresource.PageDirection
- func (cursor *PagerCursor) GetValue() gotenresource.CursorValue
- func (cursor *PagerCursor) IsEmpty() bool
- func (cursor *PagerCursor) ParseProtoString(data string) (err error)
- func (cursor *PagerCursor) ProtoString() (string, error)
- func (cursor *PagerCursor) SetCursorValue(value gotenresource.CursorValue)
- func (cursor *PagerCursor) SetFromCliFlag(raw string) error
- func (cursor *PagerCursor) SetInclusion(inclusion gotenresource.CursorInclusion)
- func (cursor *PagerCursor) SetPageDirection(direction gotenresource.PageDirection)
- func (cursor *PagerCursor) String() string
- type PagerQuery
- func (p *PagerQuery) GetCursor() gotenresource.Cursor
- func (p *PagerQuery) GetLimit() int
- func (p *PagerQuery) GetOrderBy() gotenresource.OrderBy
- func (p *PagerQuery) GetPeekForward() bool
- func (p *PagerQuery) GetResourceDescriptor() gotenresource.Descriptor
- func (p *PagerQuery) PageDirection() gotenresource.PageDirection
- func (p *PagerQuery) SetCursor(cursor gotenresource.Cursor)
- func (p *PagerQuery) SetLimit(limit int)
- func (p *PagerQuery) SetOrderBy(orderBy gotenresource.OrderBy)
- func (p *PagerQuery) SetPageDirection(direction gotenresource.PageDirection)
- func (p *PagerQuery) SetPeekForward(peekForward bool)
- type Project
- func (o *Project) Clone() *Project
- func (o *Project) CloneRaw() gotenobject.GotenObjectExt
- func (*Project) Descriptor() ([]byte, []int)
- func (m *Project) GetName() *Name
- func (r *Project) GetRawName() gotenresource.Name
- func (r *Project) GetResourceDescriptor() gotenresource.Descriptor
- func (*Project) GotenMessage()
- func (o *Project) GotenObjectExt()
- func (obj *Project) GotenValidate() error
- func (o *Project) MakeDiffFieldMask(other *Project) *Project_FieldMask
- func (o *Project) MakeFullFieldMask() *Project_FieldMask
- func (o *Project) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask
- func (o *Project) MakeRawFullFieldMask() gotenobject.FieldMask
- func (m *Project) Marshal() ([]byte, error)
- func (m *Project) MarshalJSON() ([]byte, error)
- func (r *Project) MaybePopulateDefaults() error
- func (o *Project) Merge(source *Project)
- func (o *Project) MergeRaw(source gotenobject.GotenObjectExt)
- func (*Project) ProtoMessage()
- func (m *Project) ProtoReflect() preflect.Message
- func (m *Project) Reset()
- func (m *Project) SetName(fv *Name)
- func (m *Project) String() string
- func (m *Project) Unmarshal(b []byte) error
- func (m *Project) UnmarshalJSON(data []byte) error
- type ProjectAccess
- type ProjectChange
- func (*ProjectChange) Descriptor() ([]byte, []int)
- func (m *ProjectChange) GetAdded() *ProjectChange_Added
- func (m *ProjectChange) GetChangeType() isProjectChange_ChangeType
- func (m *ProjectChange) GetCurrent() *ProjectChange_Current
- func (c *ProjectChange) GetCurrentViewIndex() int32
- func (m *ProjectChange) GetModified() *ProjectChange_Modified
- func (c *ProjectChange) GetPreviousViewIndex() int32
- func (c *ProjectChange) GetProject() *Project
- func (c *ProjectChange) GetProjectName() *Name
- func (c *ProjectChange) GetRawName() gotenresource.Name
- func (c *ProjectChange) GetRawResource() gotenresource.Resource
- func (m *ProjectChange) GetRemoved() *ProjectChange_Removed
- func (*ProjectChange) GotenMessage()
- func (obj *ProjectChange) GotenValidate() error
- func (c *ProjectChange) IsAdd() bool
- func (c *ProjectChange) IsCurrent() bool
- func (c *ProjectChange) IsDelete() bool
- func (c *ProjectChange) IsModify() bool
- func (m *ProjectChange) Marshal() ([]byte, error)
- func (m *ProjectChange) MarshalJSON() ([]byte, error)
- func (*ProjectChange) ProtoMessage()
- func (m *ProjectChange) ProtoReflect() preflect.Message
- func (m *ProjectChange) Reset()
- func (m *ProjectChange) SetAdded(fv *ProjectChange_Added)
- func (c *ProjectChange) SetAddedRaw(snapshot gotenresource.Resource, idx int)
- func (m *ProjectChange) SetChangeType(ofv isProjectChange_ChangeType)
- func (m *ProjectChange) SetCurrent(fv *ProjectChange_Current)
- func (c *ProjectChange) SetCurrentRaw(snapshot gotenresource.Resource)
- func (c *ProjectChange) SetDeletedRaw(name gotenresource.Name, idx int)
- func (m *ProjectChange) SetModified(fv *ProjectChange_Modified)
- func (c *ProjectChange) SetModifiedRaw(name gotenresource.Name, snapshot gotenresource.Resource, prevIdx int, ...)
- func (m *ProjectChange) SetRemoved(fv *ProjectChange_Removed)
- func (m *ProjectChange) String() string
- func (m *ProjectChange) Unmarshal(b []byte) error
- func (m *ProjectChange) UnmarshalJSON(data []byte) error
- type ProjectChangeList
- func (l ProjectChangeList) Append(item gotenresource.ResourceChange) gotenresource.ResourceChangeList
- func (l ProjectChangeList) AppendList(list gotenresource.ResourceChangeList) gotenresource.ResourceChangeList
- func (l ProjectChangeList) At(idx int) gotenresource.ResourceChange
- func (l ProjectChangeList) Length() int
- func (l ProjectChangeList) Set(idx int, change gotenresource.ResourceChange)
- func (l ProjectChangeList) Slice(first, second int) gotenresource.ResourceChangeList
- type ProjectChangeMap
- func (m ProjectChangeMap) Delete(name gotenresource.Name)
- func (m ProjectChangeMap) ForEach(cb func(gotenresource.Name, gotenresource.ResourceChange) bool)
- func (m ProjectChangeMap) Get(name gotenresource.Name) gotenresource.ResourceChange
- func (m ProjectChangeMap) Length() int
- func (m ProjectChangeMap) Set(change gotenresource.ResourceChange)
- type ProjectChange_Added
- func (*ProjectChange_Added) Descriptor() ([]byte, []int)
- func (m *ProjectChange_Added) GetProject() *Project
- func (m *ProjectChange_Added) GetViewIndex() int32
- func (*ProjectChange_Added) GotenMessage()
- func (obj *ProjectChange_Added) GotenValidate() error
- func (m *ProjectChange_Added) Marshal() ([]byte, error)
- func (m *ProjectChange_Added) MarshalJSON() ([]byte, error)
- func (*ProjectChange_Added) ProtoMessage()
- func (m *ProjectChange_Added) ProtoReflect() preflect.Message
- func (m *ProjectChange_Added) Reset()
- func (m *ProjectChange_Added) SetProject(fv *Project)
- func (m *ProjectChange_Added) SetViewIndex(fv int32)
- func (m *ProjectChange_Added) String() string
- func (m *ProjectChange_Added) Unmarshal(b []byte) error
- func (m *ProjectChange_Added) UnmarshalJSON(data []byte) error
- type ProjectChange_Added_
- type ProjectChange_Current
- func (*ProjectChange_Current) Descriptor() ([]byte, []int)
- func (m *ProjectChange_Current) GetProject() *Project
- func (*ProjectChange_Current) GotenMessage()
- func (obj *ProjectChange_Current) GotenValidate() error
- func (m *ProjectChange_Current) Marshal() ([]byte, error)
- func (m *ProjectChange_Current) MarshalJSON() ([]byte, error)
- func (*ProjectChange_Current) ProtoMessage()
- func (m *ProjectChange_Current) ProtoReflect() preflect.Message
- func (m *ProjectChange_Current) Reset()
- func (m *ProjectChange_Current) SetProject(fv *Project)
- func (m *ProjectChange_Current) String() string
- func (m *ProjectChange_Current) Unmarshal(b []byte) error
- func (m *ProjectChange_Current) UnmarshalJSON(data []byte) error
- type ProjectChange_Current_
- type ProjectChange_Modified
- func (*ProjectChange_Modified) Descriptor() ([]byte, []int)
- func (m *ProjectChange_Modified) GetFieldMask() *Project_FieldMask
- func (m *ProjectChange_Modified) GetName() *Name
- func (m *ProjectChange_Modified) GetPreviousViewIndex() int32
- func (m *ProjectChange_Modified) GetProject() *Project
- func (m *ProjectChange_Modified) GetViewIndex() int32
- func (*ProjectChange_Modified) GotenMessage()
- func (obj *ProjectChange_Modified) GotenValidate() error
- func (m *ProjectChange_Modified) Marshal() ([]byte, error)
- func (m *ProjectChange_Modified) MarshalJSON() ([]byte, error)
- func (*ProjectChange_Modified) ProtoMessage()
- func (m *ProjectChange_Modified) ProtoReflect() preflect.Message
- func (m *ProjectChange_Modified) Reset()
- func (m *ProjectChange_Modified) SetFieldMask(fv *Project_FieldMask)
- func (m *ProjectChange_Modified) SetName(fv *Name)
- func (m *ProjectChange_Modified) SetPreviousViewIndex(fv int32)
- func (m *ProjectChange_Modified) SetProject(fv *Project)
- func (m *ProjectChange_Modified) SetViewIndex(fv int32)
- func (m *ProjectChange_Modified) String() string
- func (m *ProjectChange_Modified) Unmarshal(b []byte) error
- func (m *ProjectChange_Modified) UnmarshalJSON(data []byte) error
- type ProjectChange_Modified_
- type ProjectChange_Removed
- func (*ProjectChange_Removed) Descriptor() ([]byte, []int)
- func (m *ProjectChange_Removed) GetName() *Name
- func (m *ProjectChange_Removed) GetViewIndex() int32
- func (*ProjectChange_Removed) GotenMessage()
- func (obj *ProjectChange_Removed) GotenValidate() error
- func (m *ProjectChange_Removed) Marshal() ([]byte, error)
- func (m *ProjectChange_Removed) MarshalJSON() ([]byte, error)
- func (*ProjectChange_Removed) ProtoMessage()
- func (m *ProjectChange_Removed) ProtoReflect() preflect.Message
- func (m *ProjectChange_Removed) Reset()
- func (m *ProjectChange_Removed) SetName(fv *Name)
- func (m *ProjectChange_Removed) SetViewIndex(fv int32)
- func (m *ProjectChange_Removed) String() string
- func (m *ProjectChange_Removed) Unmarshal(b []byte) error
- func (m *ProjectChange_Removed) UnmarshalJSON(data []byte) error
- type ProjectChange_Removed_
- type ProjectFieldPathBuilder
- type ProjectList
- func (l ProjectList) Append(item gotenresource.Resource) gotenresource.ResourceList
- func (l ProjectList) AppendList(list gotenresource.ResourceList) gotenresource.ResourceList
- func (l ProjectList) At(idx int) gotenresource.Resource
- func (l ProjectList) Length() int
- func (l ProjectList) Set(idx int, res gotenresource.Resource)
- func (l ProjectList) Slice(first, second int) gotenresource.ResourceList
- type ProjectMap
- type ProjectNameList
- func (l ProjectNameList) Append(name gotenresource.Name) gotenresource.NameList
- func (l ProjectNameList) AppendList(list gotenresource.NameList) gotenresource.NameList
- func (l ProjectNameList) At(idx int) gotenresource.Name
- func (l ProjectNameList) Length() int
- func (l ProjectNameList) Set(idx int, name gotenresource.Name)
- func (l ProjectNameList) Slice(first, second int) gotenresource.NameList
- type ProjectPathSelectorName
- type ProjectReferenceList
- func (l ProjectReferenceList) Append(ref gotenresource.Reference) gotenresource.ReferenceList
- func (l ProjectReferenceList) AppendList(list gotenresource.ReferenceList) gotenresource.ReferenceList
- func (l ProjectReferenceList) At(idx int) gotenresource.Reference
- func (l ProjectReferenceList) Length() int
- func (l ProjectReferenceList) Set(idx int, ref gotenresource.Reference)
- func (l ProjectReferenceList) Slice(first, second int) gotenresource.ReferenceList
- type Project_FieldMask
- func (fieldMask *Project_FieldMask) AppendPath(path Project_FieldPath)
- func (fieldMask *Project_FieldMask) AppendRawPath(path gotenobject.FieldPath)
- func (fieldMask *Project_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error
- func (fieldMask *Project_FieldMask) EncodeFirestore() (*firestorepb.Value, error)
- func (fieldMask *Project_FieldMask) FilterInputFields() *Project_FieldMask
- func (fieldMask *Project_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error
- func (fieldMask *Project_FieldMask) GetPaths() []Project_FieldPath
- func (fieldMask *Project_FieldMask) GetRawPaths() []gotenobject.FieldPath
- func (fieldMask *Project_FieldMask) IsFull() bool
- func (fieldMask Project_FieldMask) Marshal() ([]byte, error)
- func (fieldMask Project_FieldMask) MarshalJSON() ([]byte, error)
- func (fieldMask *Project_FieldMask) PathsCount() int
- func (fieldMask *Project_FieldMask) Project(source *Project) *Project
- func (fieldMask *Project_FieldMask) ProjectRaw(source gotenobject.GotenObjectExt) gotenobject.GotenObjectExt
- func (fieldMask *Project_FieldMask) ProtoMessage()
- func (fieldMask *Project_FieldMask) ProtoReflect() preflect.Message
- func (fieldMask *Project_FieldMask) Reset()
- func (fieldMask *Project_FieldMask) Set(target, source *Project)
- func (fieldMask *Project_FieldMask) SetFromCliFlag(raw string) error
- func (fieldMask *Project_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)
- func (fieldMask *Project_FieldMask) Size() int
- func (fieldMask *Project_FieldMask) String() string
- func (fieldMask *Project_FieldMask) Subtract(other *Project_FieldMask) *Project_FieldMask
- func (fieldMask *Project_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask
- func (fieldMask *Project_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask
- func (fieldMask *Project_FieldMask) Unmarshal(data []byte) error
- func (fieldMask *Project_FieldMask) UnmarshalJSON(data []byte) error
- type Project_FieldPath
- type Project_FieldPathArrayItemValue
- type Project_FieldPathArrayOfValues
- type Project_FieldPathSelector
- type Project_FieldPathValue
- type Project_FieldTerminalPath
- func (fp *Project_FieldTerminalPath) ClearValue(item *Project)
- func (fp *Project_FieldTerminalPath) ClearValueRaw(item proto.Message)
- func (fp *Project_FieldTerminalPath) Get(source *Project) (values []interface{})
- func (fp *Project_FieldTerminalPath) GetDefault() interface{}
- func (fp *Project_FieldTerminalPath) GetRaw(source proto.Message) []interface{}
- func (fp *Project_FieldTerminalPath) GetSingle(source *Project) (interface{}, bool)
- func (fp *Project_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)
- func (fp *Project_FieldTerminalPath) IsLeaf() bool
- func (fp *Project_FieldTerminalPath) JSONString() string
- func (fp *Project_FieldTerminalPath) Selector() Project_FieldPathSelector
- func (fp *Project_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
- func (fp *Project_FieldTerminalPath) String() string
- func (fp *Project_FieldTerminalPath) WithIArrayItemValue(value interface{}) Project_FieldPathArrayItemValue
- func (fp *Project_FieldTerminalPath) WithIArrayOfValues(values interface{}) Project_FieldPathArrayOfValues
- func (fp *Project_FieldTerminalPath) WithIValue(value interface{}) Project_FieldPathValue
- func (fp *Project_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
- func (fp *Project_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
- func (fp *Project_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
- type Project_FieldTerminalPathArrayItemValue
- func (fpaiv *Project_FieldTerminalPathArrayItemValue) ContainsValue(source *Project) bool
- func (fpaiv *Project_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}
- func (fpaiv *Project_FieldTerminalPathArrayItemValue) GetSingle(source *Project) (interface{}, bool)
- func (fpaiv *Project_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)
- type Project_FieldTerminalPathArrayOfValues
- type Project_FieldTerminalPathValue
- func (fpv *Project_FieldTerminalPathValue) AsNameValue() (*Name, bool)
- func (fpv *Project_FieldTerminalPathValue) CompareWith(source *Project) (int, bool)
- func (fpv *Project_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)
- func (fpv *Project_FieldTerminalPathValue) GetRawValue() interface{}
- func (fpv *Project_FieldTerminalPathValue) SetTo(target **Project)
- func (fpv *Project_FieldTerminalPathValue) SetToRaw(target proto.Message)
- type QueryResultChange
- func (qr *QueryResultChange) GetIsCurrent() bool
- func (qr *QueryResultChange) GetIsHardReset() bool
- func (qr *QueryResultChange) GetIsSoftReset() bool
- func (qr *QueryResultChange) GetNextPageCursor() gotenresource.Cursor
- func (qr *QueryResultChange) GetPrevPageCursor() gotenresource.Cursor
- func (qr *QueryResultChange) GetResults() gotenresource.ResourceChangeList
- func (qr *QueryResultChange) GetResumeToken() string
- func (qr *QueryResultChange) GetSnapshotSize() int64
- func (qr *QueryResultChange) SetCursors(nextPageCursor, prevPageCursor gotenresource.Cursor)
- func (qr *QueryResultChange) SetIsCurrent()
- func (qr *QueryResultChange) SetIsHardReset()
- func (qr *QueryResultChange) SetIsSoftReset()
- func (qr *QueryResultChange) SetResults(results gotenresource.ResourceChangeList)
- func (qr *QueryResultChange) SetResumeToken(token string)
- func (qr *QueryResultChange) SetSnapshotSize(size int64)
- type QueryResultSnapshot
- func (qr *QueryResultSnapshot) GetNextPageCursor() gotenresource.Cursor
- func (qr *QueryResultSnapshot) GetPrevPageCursor() gotenresource.Cursor
- func (qr *QueryResultSnapshot) GetResults() gotenresource.ResourceList
- func (qr *QueryResultSnapshot) SetCursors(nextPageCursor, prevPageCursor gotenresource.Cursor)
- func (qr *QueryResultSnapshot) SetResults(results gotenresource.ResourceList)
- type Reference
- func (ref *Reference) ClearCached()
- func (ref *Reference) FullyQualifiedName() (string, error)
- func (ref *Reference) GetIParentName() gotenresource.Name
- func (ref *Reference) GetIUnderlyingParentName() gotenresource.Name
- func (ref *Reference) GetIdParts() map[string]string
- func (ref *Reference) GetPattern() gotenresource.NamePattern
- func (ref *Reference) GetProject() *Project
- func (ref *Reference) GetRawResource() gotenresource.Resource
- func (ref *Reference) GetResourceDescriptor() gotenresource.Descriptor
- func (ref *Reference) GetSegments() gotenresource.NameSegments
- func (ref *Reference) GotenEqual(other interface{}) bool
- func (ref *Reference) IsFullyQualified() bool
- func (ref *Reference) IsSpecified() bool
- func (name *Reference) Matches(other interface{}) bool
- func (ref *Reference) ParseProtoString(data string) error
- func (ref *Reference) ProtoString() (string, error)
- func (ref *Reference) Resolve(resolved *Project)
- func (ref *Reference) ResolveRaw(res gotenresource.Resource) error
- func (ref *Reference) Resolved() bool
- func (ref *Reference) SetFromCliFlag(raw string) error
- func (ref *Reference) String() string
- type WatchQuery
- func (q *WatchQuery) GetMaximumChunkSize() int
- func (q *WatchQuery) GetResumeToken() string
- func (q *WatchQuery) GetWatchType() watch_type.WatchType
- func (q *WatchQuery) SetMaximumChunkSize(chunkSize int)
- func (q *WatchQuery) SetResumeToken(token string)
- func (q *WatchQuery) SetWatchType(watchType watch_type.WatchType)
- func (q *WatchQuery) String() string
Constants ¶
const (
NamePattern_Nil = "projects/{project}"
)
Variables ¶
This section is empty.
Functions ¶
func AsAnyCastAccess ¶
func AsAnyCastAccess(access ProjectAccess) gotenresource.Access
Types ¶
type Descriptor ¶
type Descriptor struct {
// contains filtered or unexported fields
}
func GetDescriptor ¶
func GetDescriptor() *Descriptor
func (*Descriptor) GetNameDescriptor ¶
func (d *Descriptor) GetNameDescriptor() *gotenresource.NameDescriptor
func (*Descriptor) GetResourceTypeName ¶
func (d *Descriptor) GetResourceTypeName() *gotenresource.TypeName
func (*Descriptor) NewGetQuery ¶
func (d *Descriptor) NewGetQuery() gotenresource.GetQuery
func (*Descriptor) NewListQuery ¶
func (d *Descriptor) NewListQuery() gotenresource.ListQuery
func (*Descriptor) NewNameList ¶
func (d *Descriptor) NewNameList(size, reserved int) gotenresource.NameList
func (*Descriptor) NewParentNameList ¶
func (d *Descriptor) NewParentNameList(size, reserved int) gotenresource.ParentNameList
func (*Descriptor) NewParentReferenceList ¶
func (d *Descriptor) NewParentReferenceList(size, reserved int) gotenresource.ParentReferenceList
func (*Descriptor) NewQueryResultChange ¶
func (d *Descriptor) NewQueryResultChange() gotenresource.QueryResultChange
func (*Descriptor) NewQueryResultSnapshot ¶
func (d *Descriptor) NewQueryResultSnapshot() gotenresource.QueryResultSnapshot
func (*Descriptor) NewReferenceList ¶
func (d *Descriptor) NewReferenceList(size, reserved int) gotenresource.ReferenceList
func (*Descriptor) NewResource ¶
func (d *Descriptor) NewResource() gotenresource.Resource
func (*Descriptor) NewResourceChange ¶
func (d *Descriptor) NewResourceChange() gotenresource.ResourceChange
func (*Descriptor) NewResourceChangeList ¶
func (d *Descriptor) NewResourceChangeList(size, reserved int) gotenresource.ResourceChangeList
func (*Descriptor) NewResourceChangeMap ¶
func (d *Descriptor) NewResourceChangeMap(reserved int) gotenresource.ResourceChangeMap
func (*Descriptor) NewResourceCursor ¶
func (d *Descriptor) NewResourceCursor() gotenresource.Cursor
func (*Descriptor) NewResourceFieldMask ¶ added in v0.4.16
func (d *Descriptor) NewResourceFieldMask() gotenobject.FieldMask
func (*Descriptor) NewResourceFilter ¶ added in v0.4.16
func (d *Descriptor) NewResourceFilter() gotenresource.Filter
func (*Descriptor) NewResourceList ¶
func (d *Descriptor) NewResourceList(size, reserved int) gotenresource.ResourceList
func (*Descriptor) NewResourceMap ¶
func (d *Descriptor) NewResourceMap(reserved int) gotenresource.ResourceMap
func (*Descriptor) NewResourceName ¶
func (d *Descriptor) NewResourceName() gotenresource.Name
func (*Descriptor) NewResourceOrderBy ¶ added in v0.4.16
func (d *Descriptor) NewResourceOrderBy() gotenresource.OrderBy
func (*Descriptor) NewSearchQuery ¶
func (d *Descriptor) NewSearchQuery() gotenresource.SearchQuery
func (*Descriptor) NewSearchQueryResultSnapshot ¶
func (d *Descriptor) NewSearchQueryResultSnapshot() gotenresource.SearchQueryResultSnapshot
func (*Descriptor) NewWatchQuery ¶
func (d *Descriptor) NewWatchQuery() gotenresource.WatchQuery
func (*Descriptor) ParseFieldPath ¶
func (d *Descriptor) ParseFieldPath(raw string) (gotenobject.FieldPath, error)
func (*Descriptor) ParseResourceName ¶
func (d *Descriptor) ParseResourceName(nameStr string) (gotenresource.Name, error)
type Filter ¶
type Filter struct {
FilterCondition
}
func (*Filter) ConvertToNative ¶
func (*Filter) DecodeFirestore ¶
func (filter *Filter) DecodeFirestore(fpbv *firestorepb.Value) error
func (*Filter) EncodeFirestore ¶
func (filter *Filter) EncodeFirestore() (*firestorepb.Value, error)
firestore encoding/decoding integration
func (*Filter) EvaluateRaw ¶
func (filter *Filter) EvaluateRaw(res gotenresource.Resource) bool
func (*Filter) FilterSlice ¶
FilterSlice is a helper for filtering arrays
func (*Filter) GetCondition ¶
func (filter *Filter) GetCondition() FilterCondition
GetCondition is a getter of FilterCondition, which also handles nil pointer
func (*Filter) GetRawCondition ¶
func (filter *Filter) GetRawCondition() gotenresource.FilterCondition
func (*Filter) ParseProtoString ¶
func (*Filter) ProtoString ¶
func (*Filter) SetFromCliFlag ¶
type FilterBuilder ¶
type FilterBuilder struct {
// contains filtered or unexported fields
}
func NewAndFilterBuilder ¶
func NewAndFilterBuilder() *FilterBuilder
func NewFilterBuilder ¶
func NewFilterBuilder() *FilterBuilder
func NewOrFilterBuilder ¶
func NewOrFilterBuilder() *FilterBuilder
func (*FilterBuilder) Filter ¶
func (b *FilterBuilder) Filter() *Filter
func (*FilterBuilder) Where ¶
func (b *FilterBuilder) Where(opts ...gotenfilter.FilterConditionOption) *filterCndBuilder
func (*FilterBuilder) WherePath ¶
func (b *FilterBuilder) WherePath(fp Project_FieldPath, opts ...gotenfilter.FilterConditionOption) *filterCndBuilderAnyPath
func (*FilterBuilder) With ¶
func (b *FilterBuilder) With(condOrBuilder FilterBuilderOrCondition, opts ...gotenfilter.FilterConditionOption) *FilterBuilder
type FilterBuilderOrCondition ¶
type FilterBuilderOrCondition interface {
// contains filtered or unexported methods
}
type FilterCondition ¶
type FilterCondition interface { gotenresource.FilterCondition And(...FilterCondition) FilterCondition Evaluate(res *Project) bool // Whether this condition is at least as specific as other. // When true, any Project that passes this condition will also pass other condition. Satisfies(other FilterCondition) bool // Checks whether condition specifies given field path // Useful for blacklisting protected paths in iam policy conditions SpecifiesFieldPath(fp Project_FieldPath) bool // contains filtered or unexported methods }
func AndFilterConditions ¶
func AndFilterConditions(conds ...FilterCondition) FilterCondition
type FilterConditionCompare ¶
type FilterConditionCompare struct { Operator filterParser.CompareOperator Project_FieldPathValue }
func (*FilterConditionCompare) And ¶
func (cond *FilterConditionCompare) And(conds ...FilterCondition) FilterCondition
func (*FilterConditionCompare) ConditionCompare ¶
func (cond *FilterConditionCompare) ConditionCompare()
func (*FilterConditionCompare) Evaluate ¶
func (cond *FilterConditionCompare) Evaluate(res *Project) bool
func (*FilterConditionCompare) EvaluateRaw ¶
func (cond *FilterConditionCompare) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionCompare) GetOperator ¶
func (cond *FilterConditionCompare) GetOperator() filterParser.CompareOperator
func (*FilterConditionCompare) GetRawFieldPath ¶
func (cond *FilterConditionCompare) GetRawFieldPath() gotenobject.FieldPath
func (*FilterConditionCompare) GetRawFieldPathValue ¶
func (cond *FilterConditionCompare) GetRawFieldPathValue() gotenobject.FieldPathValue
func (*FilterConditionCompare) Satisfies ¶
func (cond *FilterConditionCompare) Satisfies(other FilterCondition) bool
func (*FilterConditionCompare) SatisfiesRaw ¶
func (cond *FilterConditionCompare) SatisfiesRaw(other gotenresource.FilterCondition) bool
func (*FilterConditionCompare) SpecifiesFieldPath ¶
func (cond *FilterConditionCompare) SpecifiesFieldPath(fp Project_FieldPath) bool
func (*FilterConditionCompare) SpecifiesRawFieldPath ¶
func (cond *FilterConditionCompare) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
func (*FilterConditionCompare) String ¶
func (cond *FilterConditionCompare) String() string
type FilterConditionComposite ¶
type FilterConditionComposite struct { Operator filterParser.CompositeOperator Conditions []FilterCondition }
func (*FilterConditionComposite) And ¶
func (cond *FilterConditionComposite) And(conds ...FilterCondition) FilterCondition
func (*FilterConditionComposite) ConditionComposite ¶
func (cond *FilterConditionComposite) ConditionComposite()
func (*FilterConditionComposite) Evaluate ¶
func (cond *FilterConditionComposite) Evaluate(res *Project) bool
func (*FilterConditionComposite) EvaluateRaw ¶
func (cond *FilterConditionComposite) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionComposite) GetOperator ¶
func (cond *FilterConditionComposite) GetOperator() filterParser.CompositeOperator
func (*FilterConditionComposite) GetSubConditions ¶
func (cond *FilterConditionComposite) GetSubConditions() []gotenresource.FilterCondition
func (*FilterConditionComposite) Satisfies ¶
func (cond *FilterConditionComposite) Satisfies(other FilterCondition) bool
func (*FilterConditionComposite) SatisfiesRaw ¶
func (cond *FilterConditionComposite) SatisfiesRaw(other gotenresource.FilterCondition) bool
func (*FilterConditionComposite) SpecifiesFieldPath ¶
func (cond *FilterConditionComposite) SpecifiesFieldPath(fp Project_FieldPath) bool
func (*FilterConditionComposite) SpecifiesRawFieldPath ¶
func (cond *FilterConditionComposite) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
func (*FilterConditionComposite) String ¶
func (cond *FilterConditionComposite) String() string
type FilterConditionContains ¶
type FilterConditionContains struct { Type gotenresource.ConditionContainsType FieldPath Project_FieldPath Value Project_FieldPathArrayItemValue Values []Project_FieldPathArrayItemValue }
func (*FilterConditionContains) And ¶
func (cond *FilterConditionContains) And(conds ...FilterCondition) FilterCondition
func (*FilterConditionContains) ConditionContains ¶
func (cond *FilterConditionContains) ConditionContains()
func (*FilterConditionContains) ConditionContainsType ¶
func (cond *FilterConditionContains) ConditionContainsType() gotenresource.ConditionContainsType
func (*FilterConditionContains) Evaluate ¶
func (cond *FilterConditionContains) Evaluate(res *Project) bool
func (*FilterConditionContains) EvaluateRaw ¶
func (cond *FilterConditionContains) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionContains) GetFieldPath ¶
func (cond *FilterConditionContains) GetFieldPath() Project_FieldPath
func (*FilterConditionContains) GetRawFieldPath ¶
func (cond *FilterConditionContains) GetRawFieldPath() gotenobject.FieldPath
func (*FilterConditionContains) GetRawFieldPathItemValue ¶
func (cond *FilterConditionContains) GetRawFieldPathItemValue() gotenobject.FieldPathArrayItemValue
func (*FilterConditionContains) GetRawFieldPathItemValues ¶
func (cond *FilterConditionContains) GetRawFieldPathItemValues() (res []gotenobject.FieldPathArrayItemValue)
func (*FilterConditionContains) Satisfies ¶
func (cond *FilterConditionContains) Satisfies(other FilterCondition) bool
func (*FilterConditionContains) SatisfiesRaw ¶
func (cond *FilterConditionContains) SatisfiesRaw(other gotenresource.FilterCondition) bool
func (*FilterConditionContains) SpecifiesFieldPath ¶
func (cond *FilterConditionContains) SpecifiesFieldPath(fp Project_FieldPath) bool
func (*FilterConditionContains) SpecifiesRawFieldPath ¶
func (cond *FilterConditionContains) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
func (*FilterConditionContains) String ¶
func (cond *FilterConditionContains) String() string
type FilterConditionIn ¶
type FilterConditionIn struct {
Project_FieldPathArrayOfValues
}
func (*FilterConditionIn) And ¶
func (cond *FilterConditionIn) And(conds ...FilterCondition) FilterCondition
func (*FilterConditionIn) ConditionIn ¶
func (cond *FilterConditionIn) ConditionIn()
func (*FilterConditionIn) Evaluate ¶
func (cond *FilterConditionIn) Evaluate(res *Project) bool
func (*FilterConditionIn) EvaluateRaw ¶
func (cond *FilterConditionIn) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionIn) GetRawFieldPath ¶
func (cond *FilterConditionIn) GetRawFieldPath() gotenobject.FieldPath
func (*FilterConditionIn) GetRawFieldPathArrayOfValues ¶
func (cond *FilterConditionIn) GetRawFieldPathArrayOfValues() gotenobject.FieldPathArrayOfValues
func (*FilterConditionIn) Satisfies ¶
func (cond *FilterConditionIn) Satisfies(other FilterCondition) bool
func (*FilterConditionIn) SatisfiesRaw ¶
func (cond *FilterConditionIn) SatisfiesRaw(other gotenresource.FilterCondition) bool
func (*FilterConditionIn) SpecifiesFieldPath ¶
func (cond *FilterConditionIn) SpecifiesFieldPath(fp Project_FieldPath) bool
func (*FilterConditionIn) SpecifiesRawFieldPath ¶
func (cond *FilterConditionIn) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
func (*FilterConditionIn) String ¶
func (cond *FilterConditionIn) String() string
type FilterConditionIsNaN ¶
type FilterConditionIsNaN struct { Not bool FieldPath Project_FieldPath }
func (*FilterConditionIsNaN) And ¶
func (cond *FilterConditionIsNaN) And(conds ...FilterCondition) FilterCondition
func (*FilterConditionIsNaN) ConditionIsNaN ¶
func (cond *FilterConditionIsNaN) ConditionIsNaN()
func (*FilterConditionIsNaN) Evaluate ¶
func (cond *FilterConditionIsNaN) Evaluate(res *Project) bool
func (*FilterConditionIsNaN) EvaluateRaw ¶
func (cond *FilterConditionIsNaN) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionIsNaN) GetRawFieldPath ¶
func (cond *FilterConditionIsNaN) GetRawFieldPath() gotenobject.FieldPath
func (*FilterConditionIsNaN) Satisfies ¶
func (cond *FilterConditionIsNaN) Satisfies(other FilterCondition) bool
func (*FilterConditionIsNaN) SatisfiesRaw ¶
func (cond *FilterConditionIsNaN) SatisfiesRaw(other gotenresource.FilterCondition) bool
func (*FilterConditionIsNaN) SpecifiesFieldPath ¶
func (cond *FilterConditionIsNaN) SpecifiesFieldPath(fp Project_FieldPath) bool
func (*FilterConditionIsNaN) SpecifiesRawFieldPath ¶
func (cond *FilterConditionIsNaN) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
func (*FilterConditionIsNaN) String ¶
func (cond *FilterConditionIsNaN) String() string
type FilterConditionIsNull ¶
type FilterConditionIsNull struct { Not bool FieldPath Project_FieldPath }
func (*FilterConditionIsNull) And ¶
func (cond *FilterConditionIsNull) And(conds ...FilterCondition) FilterCondition
func (*FilterConditionIsNull) ConditionIsNull ¶
func (cond *FilterConditionIsNull) ConditionIsNull()
func (*FilterConditionIsNull) Evaluate ¶
func (cond *FilterConditionIsNull) Evaluate(res *Project) bool
func (*FilterConditionIsNull) EvaluateRaw ¶
func (cond *FilterConditionIsNull) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionIsNull) GetRawFieldPath ¶
func (cond *FilterConditionIsNull) GetRawFieldPath() gotenobject.FieldPath
func (*FilterConditionIsNull) NotNull ¶
func (cond *FilterConditionIsNull) NotNull() bool
func (*FilterConditionIsNull) Satisfies ¶
func (cond *FilterConditionIsNull) Satisfies(other FilterCondition) bool
func (*FilterConditionIsNull) SatisfiesRaw ¶
func (cond *FilterConditionIsNull) SatisfiesRaw(other gotenresource.FilterCondition) bool
func (*FilterConditionIsNull) SpecifiesFieldPath ¶
func (cond *FilterConditionIsNull) SpecifiesFieldPath(fp Project_FieldPath) bool
func (*FilterConditionIsNull) SpecifiesRawFieldPath ¶
func (cond *FilterConditionIsNull) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
func (*FilterConditionIsNull) String ¶
func (cond *FilterConditionIsNull) String() string
type FilterConditionNot ¶
type FilterConditionNot struct {
FilterCondition
}
func (*FilterConditionNot) And ¶
func (cond *FilterConditionNot) And(conds ...FilterCondition) FilterCondition
func (*FilterConditionNot) ConditionNot ¶
func (cond *FilterConditionNot) ConditionNot()
func (*FilterConditionNot) Evaluate ¶
func (cond *FilterConditionNot) Evaluate(res *Project) bool
func (*FilterConditionNot) EvaluateRaw ¶
func (cond *FilterConditionNot) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionNot) GetSubCondition ¶
func (cond *FilterConditionNot) GetSubCondition() gotenresource.FilterCondition
func (*FilterConditionNot) Satisfies ¶
func (cond *FilterConditionNot) Satisfies(other FilterCondition) bool
func (*FilterConditionNot) SatisfiesRaw ¶
func (cond *FilterConditionNot) SatisfiesRaw(other gotenresource.FilterCondition) bool
func (*FilterConditionNot) SpecifiesFieldPath ¶
func (cond *FilterConditionNot) SpecifiesFieldPath(fp Project_FieldPath) bool
func (*FilterConditionNot) SpecifiesRawFieldPath ¶
func (cond *FilterConditionNot) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
func (*FilterConditionNot) String ¶
func (cond *FilterConditionNot) String() string
type FilterConditionNotIn ¶
type FilterConditionNotIn struct {
Project_FieldPathArrayOfValues
}
func (*FilterConditionNotIn) And ¶
func (cond *FilterConditionNotIn) And(conds ...FilterCondition) FilterCondition
func (*FilterConditionNotIn) ConditionNotIn ¶
func (cond *FilterConditionNotIn) ConditionNotIn()
func (*FilterConditionNotIn) Evaluate ¶
func (cond *FilterConditionNotIn) Evaluate(res *Project) bool
func (*FilterConditionNotIn) EvaluateRaw ¶
func (cond *FilterConditionNotIn) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionNotIn) GetRawFieldPath ¶
func (cond *FilterConditionNotIn) GetRawFieldPath() gotenobject.FieldPath
func (*FilterConditionNotIn) GetRawFieldPathArrayOfValues ¶
func (cond *FilterConditionNotIn) GetRawFieldPathArrayOfValues() gotenobject.FieldPathArrayOfValues
func (*FilterConditionNotIn) Satisfies ¶
func (cond *FilterConditionNotIn) Satisfies(other FilterCondition) bool
func (*FilterConditionNotIn) SatisfiesRaw ¶
func (cond *FilterConditionNotIn) SatisfiesRaw(other gotenresource.FilterCondition) bool
func (*FilterConditionNotIn) SpecifiesFieldPath ¶
func (cond *FilterConditionNotIn) SpecifiesFieldPath(fp Project_FieldPath) bool
func (*FilterConditionNotIn) SpecifiesRawFieldPath ¶
func (cond *FilterConditionNotIn) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
func (*FilterConditionNotIn) String ¶
func (cond *FilterConditionNotIn) String() string
type GetQuery ¶
type GetQuery struct { Reference *Reference Mask *Project_FieldMask }
func (*GetQuery) GetFieldMask ¶
func (q *GetQuery) GetFieldMask() gotenobject.FieldMask
func (*GetQuery) GetReference ¶
func (q *GetQuery) GetReference() gotenresource.Reference
func (*GetQuery) GetResourceDescriptor ¶
func (q *GetQuery) GetResourceDescriptor() gotenresource.Descriptor
func (*GetQuery) GotenQuery ¶
func (q *GetQuery) GotenQuery()
func (*GetQuery) SetFieldMask ¶
func (q *GetQuery) SetFieldMask(mask gotenobject.FieldMask)
func (*GetQuery) SetReference ¶
func (q *GetQuery) SetReference(ref gotenresource.Reference)
type ListQuery ¶
type ListQuery struct { Filter *Filter Pager *PagerQuery Mask *Project_FieldMask }
func (*ListQuery) GetFieldMask ¶
func (q *ListQuery) GetFieldMask() gotenobject.FieldMask
func (*ListQuery) GetFilter ¶
func (q *ListQuery) GetFilter() gotenresource.Filter
func (*ListQuery) GetPager ¶
func (q *ListQuery) GetPager() gotenresource.PagerQuery
func (*ListQuery) GetResourceDescriptor ¶
func (q *ListQuery) GetResourceDescriptor() gotenresource.Descriptor
func (*ListQuery) GotenQuery ¶
func (q *ListQuery) GotenQuery()
func (*ListQuery) SetFieldMask ¶
func (q *ListQuery) SetFieldMask(mask gotenobject.FieldMask)
func (*ListQuery) SetFilter ¶
func (q *ListQuery) SetFilter(filter gotenresource.Filter)
func (*ListQuery) SetPager ¶
func (q *ListQuery) SetPager(pager gotenresource.PagerQuery)
type Name ¶
type Name struct { NamePattern ProjectId string `firestore:"projectId"` }
func MustParseName ¶
func ParseNameOrId ¶
func (*Name) AsRawReference ¶
func (name *Name) AsRawReference() gotenresource.Reference
func (*Name) AsReference ¶
func (*Name) ConvertToNative ¶
func (*Name) FullyQualifiedName ¶
func (*Name) GetIParentName ¶ added in v0.8.0
func (name *Name) GetIParentName() gotenresource.Name
func (*Name) GetIUnderlyingParentName ¶ added in v0.8.0
func (name *Name) GetIUnderlyingParentName() gotenresource.Name
func (*Name) GetIdParts ¶
func (*Name) GetPattern ¶
func (name *Name) GetPattern() gotenresource.NamePattern
func (*Name) GetResourceDescriptor ¶
func (name *Name) GetResourceDescriptor() gotenresource.Descriptor
func (*Name) GetSegments ¶
func (name *Name) GetSegments() gotenresource.NameSegments
func (*Name) GotenEqual ¶
GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)
func (*Name) IsFullyQualified ¶
func (*Name) IsSpecified ¶
func (*Name) Matches ¶
Matches is same as GotenEqual, but also will accept "other" if name is wildcard.
func (*Name) ParseProtoString ¶
func (*Name) ProtoString ¶
func (*Name) SetFromCliFlag ¶
implement CustomTypeCliValue method
func (*Name) SetFromSegments ¶
func (name *Name) SetFromSegments(segments gotenresource.NameSegments) error
type NameBuilder ¶
type NameBuilder struct {
// contains filtered or unexported fields
}
func NewNameBuilder ¶
func NewNameBuilder() *NameBuilder
func (*NameBuilder) Name ¶
func (b *NameBuilder) Name() *Name
func (*NameBuilder) Reference ¶
func (b *NameBuilder) Reference() *Reference
func (*NameBuilder) SetId ¶
func (b *NameBuilder) SetId(id string) *NameBuilder
type NamePattern ¶
type NamePattern struct {
Pattern gotenresource.NamePattern `firestore:"pattern"`
}
type OrderBy ¶
type OrderBy struct {
OrderByFields []OrderByField
}
OrderBy Is string encoded Custom Protobuf type, which handles "order_by" field order_by consists of coma delimited OrderBy specs, which denote ordering priority, e.g. "state.value asc, state.capacity desc"
func (*OrderBy) CompareRaw ¶
func (orderBy *OrderBy) CompareRaw(left, right gotenresource.Resource) int
func (*OrderBy) GetFieldMask ¶
func (orderBy *OrderBy) GetFieldMask() *Project_FieldMask
func (*OrderBy) GetOrderByFields ¶
func (orderBy *OrderBy) GetOrderByFields() []gotenresource.OrderByField
func (*OrderBy) GetRawFieldMask ¶
func (orderBy *OrderBy) GetRawFieldMask() gotenobject.FieldMask
func (*OrderBy) InsertSorted ¶
func (orderBy *OrderBy) InsertSorted(sorted ProjectList, elem *Project) (ProjectList, int)
func (*OrderBy) InsertSortedRaw ¶
func (orderBy *OrderBy) InsertSortedRaw(sorted gotenresource.ResourceList, elem gotenresource.Resource) (gotenresource.ResourceList, int)
func (*OrderBy) ParseProtoString ¶
func (*OrderBy) ProtoString ¶
func (*OrderBy) SetFromCliFlag ¶
func (*OrderBy) Sort ¶
func (orderBy *OrderBy) Sort(results ProjectList)
func (*OrderBy) SortRaw ¶
func (orderBy *OrderBy) SortRaw(results gotenresource.ResourceList)
type OrderByField ¶
type OrderByField struct { FieldPath Project_FieldPath Direction gotenresource.OrderDirection }
OrderByField is single item in order_by specification it's string format is composed of 2 white-space separated values: - fieldPath and direction, e.g. "state.capacity desc". if direction is not provided, it defaults to "asc" (ascending)
func (*OrderByField) CompareWithDirection ¶
func (orderByFld *OrderByField) CompareWithDirection(left, right *Project) int
func (*OrderByField) GetDirection ¶
func (orderByFld *OrderByField) GetDirection() gotenresource.OrderDirection
func (*OrderByField) GetFieldPath ¶
func (orderByFld *OrderByField) GetFieldPath() gotenobject.FieldPath
type PagerCursor ¶
type PagerCursor struct { CursorValue gotenresource.CursorValue Inclusion gotenresource.CursorInclusion PageDirection gotenresource.PageDirection }
PagerCursor is protobuf Custom Type, which (de)serializes "string page_token" for API List processing Database adapter implementation must use this cursor when Paginating list views Token is composed of 3 values (dot separated in serialized form) - CursorValue: Backend-specific value of the cursor. - PageDirection: either l (left) or r (right), which hints DB Adapter whether Snapshot marks Start or End of result - Inclusion: either i (inclusive) or e (exclusive) - Whether cursor marks exact point or right before/after (depending on direction)
func (*PagerCursor) GetInclusion ¶
func (cursor *PagerCursor) GetInclusion() gotenresource.CursorInclusion
func (*PagerCursor) GetPageDirection ¶
func (cursor *PagerCursor) GetPageDirection() gotenresource.PageDirection
func (*PagerCursor) GetValue ¶
func (cursor *PagerCursor) GetValue() gotenresource.CursorValue
func (*PagerCursor) IsEmpty ¶
func (cursor *PagerCursor) IsEmpty() bool
func (*PagerCursor) ParseProtoString ¶
func (cursor *PagerCursor) ParseProtoString(data string) (err error)
func (*PagerCursor) ProtoString ¶
func (cursor *PagerCursor) ProtoString() (string, error)
func (*PagerCursor) SetCursorValue ¶
func (cursor *PagerCursor) SetCursorValue(value gotenresource.CursorValue)
func (*PagerCursor) SetFromCliFlag ¶
func (cursor *PagerCursor) SetFromCliFlag(raw string) error
func (*PagerCursor) SetInclusion ¶
func (cursor *PagerCursor) SetInclusion(inclusion gotenresource.CursorInclusion)
func (*PagerCursor) SetPageDirection ¶
func (cursor *PagerCursor) SetPageDirection(direction gotenresource.PageDirection)
func (*PagerCursor) String ¶
func (cursor *PagerCursor) String() string
type PagerQuery ¶
type PagerQuery struct { OrderBy *OrderBy Cursor *PagerCursor Limit int PeekForward bool }
PagerQuery is main struct used for assisting server and database to perform Pagination
func MakePagerQuery ¶
func MakePagerQuery(orderBy *OrderBy, cursor *PagerCursor, pageSize int32, peekForward bool) *PagerQuery
MakePagerQuery builds pager from API data and applies defaults
func (*PagerQuery) GetCursor ¶
func (p *PagerQuery) GetCursor() gotenresource.Cursor
func (*PagerQuery) GetLimit ¶
func (p *PagerQuery) GetLimit() int
func (*PagerQuery) GetOrderBy ¶
func (p *PagerQuery) GetOrderBy() gotenresource.OrderBy
func (*PagerQuery) GetPeekForward ¶
func (p *PagerQuery) GetPeekForward() bool
func (*PagerQuery) GetResourceDescriptor ¶
func (p *PagerQuery) GetResourceDescriptor() gotenresource.Descriptor
func (*PagerQuery) PageDirection ¶
func (p *PagerQuery) PageDirection() gotenresource.PageDirection
func (*PagerQuery) SetCursor ¶ added in v0.8.0
func (p *PagerQuery) SetCursor(cursor gotenresource.Cursor)
func (*PagerQuery) SetLimit ¶ added in v0.8.0
func (p *PagerQuery) SetLimit(limit int)
func (*PagerQuery) SetOrderBy ¶ added in v0.8.0
func (p *PagerQuery) SetOrderBy(orderBy gotenresource.OrderBy)
func (*PagerQuery) SetPageDirection ¶ added in v0.8.0
func (p *PagerQuery) SetPageDirection(direction gotenresource.PageDirection)
func (*PagerQuery) SetPeekForward ¶ added in v0.8.0
func (p *PagerQuery) SetPeekForward(peekForward bool)
type Project ¶
type Project struct { // Name of Project Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"` // contains filtered or unexported fields }
Project Resource
func (*Project) CloneRaw ¶
func (o *Project) CloneRaw() gotenobject.GotenObjectExt
func (*Project) Descriptor ¶
Deprecated, Use Project.ProtoReflect.Descriptor instead.
func (*Project) GetRawName ¶
func (r *Project) GetRawName() gotenresource.Name
func (*Project) GetResourceDescriptor ¶
func (r *Project) GetResourceDescriptor() gotenresource.Descriptor
func (*Project) GotenMessage ¶
func (*Project) GotenMessage()
func (*Project) GotenObjectExt ¶
func (o *Project) GotenObjectExt()
func (*Project) GotenValidate ¶
func (*Project) MakeDiffFieldMask ¶
func (o *Project) MakeDiffFieldMask(other *Project) *Project_FieldMask
func (*Project) MakeFullFieldMask ¶
func (o *Project) MakeFullFieldMask() *Project_FieldMask
func (*Project) MakeRawDiffFieldMask ¶
func (o *Project) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask
func (*Project) MakeRawFullFieldMask ¶
func (o *Project) MakeRawFullFieldMask() gotenobject.FieldMask
func (*Project) MarshalJSON ¶
func (*Project) MaybePopulateDefaults ¶
func (*Project) MergeRaw ¶
func (o *Project) MergeRaw(source gotenobject.GotenObjectExt)
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) ProtoReflect ¶
func (*Project) UnmarshalJSON ¶
type ProjectAccess ¶
type ProjectAccess interface { GetProject(context.Context, *GetQuery) (*Project, error) BatchGetProjects(context.Context, []*Reference, ...gotenresource.BatchGetOption) error QueryProjects(context.Context, *ListQuery) (*QueryResultSnapshot, error) WatchProject(context.Context, *GetQuery, func(*ProjectChange) error) error WatchProjects(context.Context, *WatchQuery, func(*QueryResultChange) error) error SaveProject(context.Context, *Project, ...gotenresource.SaveOption) error DeleteProject(context.Context, *Reference, ...gotenresource.DeleteOption) error }
type ProjectChange ¶
type ProjectChange struct { // Project change // // Types that are valid to be assigned to ChangeType: // *ProjectChange_Added_ // *ProjectChange_Modified_ // *ProjectChange_Current_ // *ProjectChange_Removed_ ChangeType isProjectChange_ChangeType `protobuf_oneof:"change_type"` // contains filtered or unexported fields }
ProjectChange is used by Watch notifications Responses to describe change of single Project One of Added, Modified, Removed
func (*ProjectChange) Descriptor ¶
func (*ProjectChange) Descriptor() ([]byte, []int)
Deprecated, Use ProjectChange.ProtoReflect.Descriptor instead.
func (*ProjectChange) GetAdded ¶
func (m *ProjectChange) GetAdded() *ProjectChange_Added
func (*ProjectChange) GetChangeType ¶
func (m *ProjectChange) GetChangeType() isProjectChange_ChangeType
func (*ProjectChange) GetCurrent ¶
func (m *ProjectChange) GetCurrent() *ProjectChange_Current
func (*ProjectChange) GetCurrentViewIndex ¶
func (c *ProjectChange) GetCurrentViewIndex() int32
func (*ProjectChange) GetModified ¶
func (m *ProjectChange) GetModified() *ProjectChange_Modified
func (*ProjectChange) GetPreviousViewIndex ¶
func (c *ProjectChange) GetPreviousViewIndex() int32
func (*ProjectChange) GetProject ¶
func (c *ProjectChange) GetProject() *Project
func (*ProjectChange) GetProjectName ¶
func (c *ProjectChange) GetProjectName() *Name
func (*ProjectChange) GetRawName ¶
func (c *ProjectChange) GetRawName() gotenresource.Name
func (*ProjectChange) GetRawResource ¶ added in v0.5.1
func (c *ProjectChange) GetRawResource() gotenresource.Resource
func (*ProjectChange) GetRemoved ¶
func (m *ProjectChange) GetRemoved() *ProjectChange_Removed
func (*ProjectChange) GotenMessage ¶
func (*ProjectChange) GotenMessage()
func (*ProjectChange) GotenValidate ¶
func (obj *ProjectChange) GotenValidate() error
func (*ProjectChange) IsAdd ¶
func (c *ProjectChange) IsAdd() bool
func (*ProjectChange) IsCurrent ¶
func (c *ProjectChange) IsCurrent() bool
func (*ProjectChange) IsDelete ¶
func (c *ProjectChange) IsDelete() bool
func (*ProjectChange) IsModify ¶
func (c *ProjectChange) IsModify() bool
func (*ProjectChange) Marshal ¶
func (m *ProjectChange) Marshal() ([]byte, error)
func (*ProjectChange) MarshalJSON ¶
func (m *ProjectChange) MarshalJSON() ([]byte, error)
func (*ProjectChange) ProtoMessage ¶
func (*ProjectChange) ProtoMessage()
func (*ProjectChange) ProtoReflect ¶
func (m *ProjectChange) ProtoReflect() preflect.Message
func (*ProjectChange) Reset ¶
func (m *ProjectChange) Reset()
func (*ProjectChange) SetAdded ¶
func (m *ProjectChange) SetAdded(fv *ProjectChange_Added)
func (*ProjectChange) SetAddedRaw ¶
func (c *ProjectChange) SetAddedRaw(snapshot gotenresource.Resource, idx int)
func (*ProjectChange) SetChangeType ¶
func (m *ProjectChange) SetChangeType(ofv isProjectChange_ChangeType)
func (*ProjectChange) SetCurrent ¶
func (m *ProjectChange) SetCurrent(fv *ProjectChange_Current)
func (*ProjectChange) SetCurrentRaw ¶
func (c *ProjectChange) SetCurrentRaw(snapshot gotenresource.Resource)
func (*ProjectChange) SetDeletedRaw ¶
func (c *ProjectChange) SetDeletedRaw(name gotenresource.Name, idx int)
func (*ProjectChange) SetModified ¶
func (m *ProjectChange) SetModified(fv *ProjectChange_Modified)
func (*ProjectChange) SetModifiedRaw ¶
func (c *ProjectChange) SetModifiedRaw(name gotenresource.Name, snapshot gotenresource.Resource, prevIdx int, newIdx int)
func (*ProjectChange) SetRemoved ¶
func (m *ProjectChange) SetRemoved(fv *ProjectChange_Removed)
func (*ProjectChange) String ¶
func (m *ProjectChange) String() string
func (*ProjectChange) Unmarshal ¶
func (m *ProjectChange) Unmarshal(b []byte) error
func (*ProjectChange) UnmarshalJSON ¶
func (m *ProjectChange) UnmarshalJSON(data []byte) error
type ProjectChangeList ¶
type ProjectChangeList []*ProjectChange
func (ProjectChangeList) Append ¶
func (l ProjectChangeList) Append(item gotenresource.ResourceChange) gotenresource.ResourceChangeList
func (ProjectChangeList) AppendList ¶
func (l ProjectChangeList) AppendList(list gotenresource.ResourceChangeList) gotenresource.ResourceChangeList
func (ProjectChangeList) At ¶
func (l ProjectChangeList) At(idx int) gotenresource.ResourceChange
func (ProjectChangeList) Length ¶
func (l ProjectChangeList) Length() int
func (ProjectChangeList) Set ¶
func (l ProjectChangeList) Set(idx int, change gotenresource.ResourceChange)
func (ProjectChangeList) Slice ¶
func (l ProjectChangeList) Slice(first, second int) gotenresource.ResourceChangeList
type ProjectChangeMap ¶
type ProjectChangeMap map[Name]*ProjectChange
func (ProjectChangeMap) Delete ¶
func (m ProjectChangeMap) Delete(name gotenresource.Name)
func (ProjectChangeMap) ForEach ¶
func (m ProjectChangeMap) ForEach(cb func(gotenresource.Name, gotenresource.ResourceChange) bool)
func (ProjectChangeMap) Get ¶
func (m ProjectChangeMap) Get(name gotenresource.Name) gotenresource.ResourceChange
func (ProjectChangeMap) Length ¶
func (m ProjectChangeMap) Length() int
func (ProjectChangeMap) Set ¶
func (m ProjectChangeMap) Set(change gotenresource.ResourceChange)
type ProjectChange_Added ¶
type ProjectChange_Added struct { Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty" firestore:"project"` // Integer describing index of added Project in resulting query view. ViewIndex int32 `protobuf:"varint,2,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty" firestore:"viewIndex"` // contains filtered or unexported fields }
Project has been added to query view
func (*ProjectChange_Added) Descriptor ¶
func (*ProjectChange_Added) Descriptor() ([]byte, []int)
Deprecated, Use ProjectChange_Added.ProtoReflect.Descriptor instead.
func (*ProjectChange_Added) GetProject ¶
func (m *ProjectChange_Added) GetProject() *Project
func (*ProjectChange_Added) GetViewIndex ¶
func (m *ProjectChange_Added) GetViewIndex() int32
func (*ProjectChange_Added) GotenMessage ¶
func (*ProjectChange_Added) GotenMessage()
func (*ProjectChange_Added) GotenValidate ¶
func (obj *ProjectChange_Added) GotenValidate() error
func (*ProjectChange_Added) Marshal ¶
func (m *ProjectChange_Added) Marshal() ([]byte, error)
func (*ProjectChange_Added) MarshalJSON ¶
func (m *ProjectChange_Added) MarshalJSON() ([]byte, error)
func (*ProjectChange_Added) ProtoMessage ¶
func (*ProjectChange_Added) ProtoMessage()
func (*ProjectChange_Added) ProtoReflect ¶
func (m *ProjectChange_Added) ProtoReflect() preflect.Message
func (*ProjectChange_Added) Reset ¶
func (m *ProjectChange_Added) Reset()
func (*ProjectChange_Added) SetProject ¶
func (m *ProjectChange_Added) SetProject(fv *Project)
func (*ProjectChange_Added) SetViewIndex ¶
func (m *ProjectChange_Added) SetViewIndex(fv int32)
func (*ProjectChange_Added) String ¶
func (m *ProjectChange_Added) String() string
func (*ProjectChange_Added) Unmarshal ¶
func (m *ProjectChange_Added) Unmarshal(b []byte) error
func (*ProjectChange_Added) UnmarshalJSON ¶
func (m *ProjectChange_Added) UnmarshalJSON(data []byte) error
type ProjectChange_Added_ ¶
type ProjectChange_Added_ struct { // Added is returned when watched document is added, either created or // enters Query view Added *ProjectChange_Added `protobuf:"bytes,1,opt,name=added,proto3,oneof" firestore:"added"` }
type ProjectChange_Current ¶
type ProjectChange_Current struct { Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty" firestore:"project"` // contains filtered or unexported fields }
Project has been added or modified in a query view. Version used for stateless watching
func (*ProjectChange_Current) Descriptor ¶
func (*ProjectChange_Current) Descriptor() ([]byte, []int)
Deprecated, Use ProjectChange_Current.ProtoReflect.Descriptor instead.
func (*ProjectChange_Current) GetProject ¶
func (m *ProjectChange_Current) GetProject() *Project
func (*ProjectChange_Current) GotenMessage ¶
func (*ProjectChange_Current) GotenMessage()
func (*ProjectChange_Current) GotenValidate ¶
func (obj *ProjectChange_Current) GotenValidate() error
func (*ProjectChange_Current) Marshal ¶
func (m *ProjectChange_Current) Marshal() ([]byte, error)
func (*ProjectChange_Current) MarshalJSON ¶
func (m *ProjectChange_Current) MarshalJSON() ([]byte, error)
func (*ProjectChange_Current) ProtoMessage ¶
func (*ProjectChange_Current) ProtoMessage()
func (*ProjectChange_Current) ProtoReflect ¶
func (m *ProjectChange_Current) ProtoReflect() preflect.Message
func (*ProjectChange_Current) Reset ¶
func (m *ProjectChange_Current) Reset()
func (*ProjectChange_Current) SetProject ¶
func (m *ProjectChange_Current) SetProject(fv *Project)
func (*ProjectChange_Current) String ¶
func (m *ProjectChange_Current) String() string
func (*ProjectChange_Current) Unmarshal ¶
func (m *ProjectChange_Current) Unmarshal(b []byte) error
func (*ProjectChange_Current) UnmarshalJSON ¶
func (m *ProjectChange_Current) UnmarshalJSON(data []byte) error
type ProjectChange_Current_ ¶
type ProjectChange_Current_ struct { // Current is returned in stateless watch when document enters query view or // is modified within. Current *ProjectChange_Current `protobuf:"bytes,4,opt,name=current,proto3,oneof" firestore:"current"` }
type ProjectChange_Modified ¶
type ProjectChange_Modified struct { // Name of modified Project Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"` // New version of Project or masked difference, depending on mask_changes // instrumentation of issued [WatchProjectRequest] or [WatchProjectsRequest] Project *Project `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty" firestore:"project"` // Used when mask_changes is set, contains field paths of modified // properties. FieldMask *Project_FieldMask `` /* 139-byte string literal not displayed */ // Previous view index specifies previous position of modified Project. // When modification doesn't affect sorted order, value will remain // identical to [view_index]. PreviousViewIndex int32 `` /* 145-byte string literal not displayed */ // Integer specifying Project new index in resulting query view. ViewIndex int32 `protobuf:"varint,5,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty" firestore:"viewIndex"` // contains filtered or unexported fields }
Project changed some of it's fields - contains either full document or masked change
func (*ProjectChange_Modified) Descriptor ¶
func (*ProjectChange_Modified) Descriptor() ([]byte, []int)
Deprecated, Use ProjectChange_Modified.ProtoReflect.Descriptor instead.
func (*ProjectChange_Modified) GetFieldMask ¶
func (m *ProjectChange_Modified) GetFieldMask() *Project_FieldMask
func (*ProjectChange_Modified) GetName ¶
func (m *ProjectChange_Modified) GetName() *Name
func (*ProjectChange_Modified) GetPreviousViewIndex ¶
func (m *ProjectChange_Modified) GetPreviousViewIndex() int32
func (*ProjectChange_Modified) GetProject ¶
func (m *ProjectChange_Modified) GetProject() *Project
func (*ProjectChange_Modified) GetViewIndex ¶
func (m *ProjectChange_Modified) GetViewIndex() int32
func (*ProjectChange_Modified) GotenMessage ¶
func (*ProjectChange_Modified) GotenMessage()
func (*ProjectChange_Modified) GotenValidate ¶
func (obj *ProjectChange_Modified) GotenValidate() error
func (*ProjectChange_Modified) Marshal ¶
func (m *ProjectChange_Modified) Marshal() ([]byte, error)
func (*ProjectChange_Modified) MarshalJSON ¶
func (m *ProjectChange_Modified) MarshalJSON() ([]byte, error)
func (*ProjectChange_Modified) ProtoMessage ¶
func (*ProjectChange_Modified) ProtoMessage()
func (*ProjectChange_Modified) ProtoReflect ¶
func (m *ProjectChange_Modified) ProtoReflect() preflect.Message
func (*ProjectChange_Modified) Reset ¶
func (m *ProjectChange_Modified) Reset()
func (*ProjectChange_Modified) SetFieldMask ¶
func (m *ProjectChange_Modified) SetFieldMask(fv *Project_FieldMask)
func (*ProjectChange_Modified) SetName ¶
func (m *ProjectChange_Modified) SetName(fv *Name)
func (*ProjectChange_Modified) SetPreviousViewIndex ¶
func (m *ProjectChange_Modified) SetPreviousViewIndex(fv int32)
func (*ProjectChange_Modified) SetProject ¶
func (m *ProjectChange_Modified) SetProject(fv *Project)
func (*ProjectChange_Modified) SetViewIndex ¶
func (m *ProjectChange_Modified) SetViewIndex(fv int32)
func (*ProjectChange_Modified) String ¶
func (m *ProjectChange_Modified) String() string
func (*ProjectChange_Modified) Unmarshal ¶
func (m *ProjectChange_Modified) Unmarshal(b []byte) error
func (*ProjectChange_Modified) UnmarshalJSON ¶
func (m *ProjectChange_Modified) UnmarshalJSON(data []byte) error
type ProjectChange_Modified_ ¶
type ProjectChange_Modified_ struct { // Modified is returned when watched document is modified Modified *ProjectChange_Modified `protobuf:"bytes,2,opt,name=modified,proto3,oneof" firestore:"modified"` }
type ProjectChange_Removed ¶
type ProjectChange_Removed struct { Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"` // Integer specifying removed Project index. Not populated in stateless // watch type. ViewIndex int32 `protobuf:"varint,2,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty" firestore:"viewIndex"` // contains filtered or unexported fields }
Removed is returned when Project is deleted or leaves Query view
func (*ProjectChange_Removed) Descriptor ¶
func (*ProjectChange_Removed) Descriptor() ([]byte, []int)
Deprecated, Use ProjectChange_Removed.ProtoReflect.Descriptor instead.
func (*ProjectChange_Removed) GetName ¶
func (m *ProjectChange_Removed) GetName() *Name
func (*ProjectChange_Removed) GetViewIndex ¶
func (m *ProjectChange_Removed) GetViewIndex() int32
func (*ProjectChange_Removed) GotenMessage ¶
func (*ProjectChange_Removed) GotenMessage()
func (*ProjectChange_Removed) GotenValidate ¶
func (obj *ProjectChange_Removed) GotenValidate() error
func (*ProjectChange_Removed) Marshal ¶
func (m *ProjectChange_Removed) Marshal() ([]byte, error)
func (*ProjectChange_Removed) MarshalJSON ¶
func (m *ProjectChange_Removed) MarshalJSON() ([]byte, error)
func (*ProjectChange_Removed) ProtoMessage ¶
func (*ProjectChange_Removed) ProtoMessage()
func (*ProjectChange_Removed) ProtoReflect ¶
func (m *ProjectChange_Removed) ProtoReflect() preflect.Message
func (*ProjectChange_Removed) Reset ¶
func (m *ProjectChange_Removed) Reset()
func (*ProjectChange_Removed) SetName ¶
func (m *ProjectChange_Removed) SetName(fv *Name)
func (*ProjectChange_Removed) SetViewIndex ¶
func (m *ProjectChange_Removed) SetViewIndex(fv int32)
func (*ProjectChange_Removed) String ¶
func (m *ProjectChange_Removed) String() string
func (*ProjectChange_Removed) Unmarshal ¶
func (m *ProjectChange_Removed) Unmarshal(b []byte) error
func (*ProjectChange_Removed) UnmarshalJSON ¶
func (m *ProjectChange_Removed) UnmarshalJSON(data []byte) error
type ProjectChange_Removed_ ¶
type ProjectChange_Removed_ struct { // Removed is returned when Project is deleted or leaves Query view Removed *ProjectChange_Removed `protobuf:"bytes,3,opt,name=removed,proto3,oneof" firestore:"removed"` }
type ProjectFieldPathBuilder ¶
type ProjectFieldPathBuilder struct{}
func NewProjectFieldPathBuilder ¶
func NewProjectFieldPathBuilder() ProjectFieldPathBuilder
func (ProjectFieldPathBuilder) Name ¶
func (ProjectFieldPathBuilder) Name() ProjectPathSelectorName
type ProjectList ¶
type ProjectList []*Project
func (ProjectList) Append ¶
func (l ProjectList) Append(item gotenresource.Resource) gotenresource.ResourceList
func (ProjectList) AppendList ¶
func (l ProjectList) AppendList(list gotenresource.ResourceList) gotenresource.ResourceList
func (ProjectList) At ¶
func (l ProjectList) At(idx int) gotenresource.Resource
func (ProjectList) Length ¶
func (l ProjectList) Length() int
func (ProjectList) Set ¶
func (l ProjectList) Set(idx int, res gotenresource.Resource)
func (ProjectList) Slice ¶
func (l ProjectList) Slice(first, second int) gotenresource.ResourceList
type ProjectMap ¶
func (ProjectMap) Delete ¶
func (m ProjectMap) Delete(name gotenresource.Name)
func (ProjectMap) ForEach ¶
func (m ProjectMap) ForEach(cb func(gotenresource.Name, gotenresource.Resource) bool)
func (ProjectMap) Get ¶
func (m ProjectMap) Get(name gotenresource.Name) gotenresource.Resource
func (ProjectMap) Length ¶
func (m ProjectMap) Length() int
func (ProjectMap) Set ¶
func (m ProjectMap) Set(res gotenresource.Resource)
type ProjectNameList ¶
type ProjectNameList []*Name
func (ProjectNameList) Append ¶
func (l ProjectNameList) Append(name gotenresource.Name) gotenresource.NameList
func (ProjectNameList) AppendList ¶
func (l ProjectNameList) AppendList(list gotenresource.NameList) gotenresource.NameList
func (ProjectNameList) At ¶
func (l ProjectNameList) At(idx int) gotenresource.Name
func (ProjectNameList) Length ¶
func (l ProjectNameList) Length() int
func (ProjectNameList) Set ¶
func (l ProjectNameList) Set(idx int, name gotenresource.Name)
func (ProjectNameList) Slice ¶
func (l ProjectNameList) Slice(first, second int) gotenresource.NameList
type ProjectPathSelectorName ¶
type ProjectPathSelectorName struct{}
func (ProjectPathSelectorName) FieldPath ¶
func (ProjectPathSelectorName) FieldPath() *Project_FieldTerminalPath
func (ProjectPathSelectorName) WithArrayOfValues ¶
func (s ProjectPathSelectorName) WithArrayOfValues(values []*Name) *Project_FieldTerminalPathArrayOfValues
func (ProjectPathSelectorName) WithValue ¶
func (s ProjectPathSelectorName) WithValue(value *Name) *Project_FieldTerminalPathValue
type ProjectReferenceList ¶
type ProjectReferenceList []*Reference
func (ProjectReferenceList) Append ¶
func (l ProjectReferenceList) Append(ref gotenresource.Reference) gotenresource.ReferenceList
func (ProjectReferenceList) AppendList ¶
func (l ProjectReferenceList) AppendList(list gotenresource.ReferenceList) gotenresource.ReferenceList
func (ProjectReferenceList) At ¶
func (l ProjectReferenceList) At(idx int) gotenresource.Reference
func (ProjectReferenceList) Length ¶
func (l ProjectReferenceList) Length() int
func (ProjectReferenceList) Set ¶
func (l ProjectReferenceList) Set(idx int, ref gotenresource.Reference)
func (ProjectReferenceList) Slice ¶
func (l ProjectReferenceList) Slice(first, second int) gotenresource.ReferenceList
type Project_FieldMask ¶
type Project_FieldMask struct {
Paths []Project_FieldPath
}
func FullProject_FieldMask ¶
func FullProject_FieldMask() *Project_FieldMask
func ResourceViewFieldMask ¶
func ResourceViewFieldMask(viewName view.View, extraMask *Project_FieldMask) *Project_FieldMask
func (*Project_FieldMask) AppendPath ¶
func (fieldMask *Project_FieldMask) AppendPath(path Project_FieldPath)
func (*Project_FieldMask) AppendRawPath ¶
func (fieldMask *Project_FieldMask) AppendRawPath(path gotenobject.FieldPath)
func (*Project_FieldMask) DecodeFirestore ¶
func (fieldMask *Project_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error
func (*Project_FieldMask) EncodeFirestore ¶
func (fieldMask *Project_FieldMask) EncodeFirestore() (*firestorepb.Value, error)
firestore encoding/decoding integration
func (*Project_FieldMask) FilterInputFields ¶
func (fieldMask *Project_FieldMask) FilterInputFields() *Project_FieldMask
FilterInputFields generates copy of field paths with output_only field paths removed
func (*Project_FieldMask) FromProtoFieldMask ¶
func (fieldMask *Project_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error
func (*Project_FieldMask) GetPaths ¶
func (fieldMask *Project_FieldMask) GetPaths() []Project_FieldPath
func (*Project_FieldMask) GetRawPaths ¶
func (fieldMask *Project_FieldMask) GetRawPaths() []gotenobject.FieldPath
func (*Project_FieldMask) IsFull ¶
func (fieldMask *Project_FieldMask) IsFull() bool
func (Project_FieldMask) Marshal ¶
func (fieldMask Project_FieldMask) Marshal() ([]byte, error)
implement methods required by customType
func (Project_FieldMask) MarshalJSON ¶
func (fieldMask Project_FieldMask) MarshalJSON() ([]byte, error)
func (*Project_FieldMask) PathsCount ¶
func (fieldMask *Project_FieldMask) PathsCount() int
func (*Project_FieldMask) Project ¶
func (fieldMask *Project_FieldMask) Project(source *Project) *Project
func (*Project_FieldMask) ProjectRaw ¶
func (fieldMask *Project_FieldMask) ProjectRaw(source gotenobject.GotenObjectExt) gotenobject.GotenObjectExt
func (*Project_FieldMask) ProtoMessage ¶
func (fieldMask *Project_FieldMask) ProtoMessage()
func (*Project_FieldMask) ProtoReflect ¶
func (fieldMask *Project_FieldMask) ProtoReflect() preflect.Message
func (*Project_FieldMask) Reset ¶
func (fieldMask *Project_FieldMask) Reset()
func (*Project_FieldMask) Set ¶
func (fieldMask *Project_FieldMask) Set(target, source *Project)
func (*Project_FieldMask) SetFromCliFlag ¶
func (fieldMask *Project_FieldMask) SetFromCliFlag(raw string) error
func (*Project_FieldMask) SetRaw ¶
func (fieldMask *Project_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)
func (*Project_FieldMask) Size ¶
func (fieldMask *Project_FieldMask) Size() int
func (*Project_FieldMask) String ¶
func (fieldMask *Project_FieldMask) String() string
func (*Project_FieldMask) Subtract ¶
func (fieldMask *Project_FieldMask) Subtract(other *Project_FieldMask) *Project_FieldMask
func (*Project_FieldMask) SubtractRaw ¶
func (fieldMask *Project_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask
func (*Project_FieldMask) ToProtoFieldMask ¶
func (fieldMask *Project_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask
ToFieldMask is used for proto conversions
func (*Project_FieldMask) Unmarshal ¶
func (fieldMask *Project_FieldMask) Unmarshal(data []byte) error
func (*Project_FieldMask) UnmarshalJSON ¶
func (fieldMask *Project_FieldMask) UnmarshalJSON(data []byte) error
type Project_FieldPath ¶
type Project_FieldPath interface { gotenobject.FieldPath Selector() Project_FieldPathSelector Get(source *Project) []interface{} GetSingle(source *Project) (interface{}, bool) ClearValue(item *Project) // Those methods build corresponding Project_FieldPathValue // (or array of values) and holds passed value. Panics if injected type is incorrect. WithIValue(value interface{}) Project_FieldPathValue WithIArrayOfValues(values interface{}) Project_FieldPathArrayOfValues WithIArrayItemValue(value interface{}) Project_FieldPathArrayItemValue }
FieldPath provides implementation to handle https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto
func BuildProject_FieldPath ¶
func BuildProject_FieldPath(fp gotenobject.RawFieldPath) (Project_FieldPath, error)
func MustParseProject_FieldPath ¶
func MustParseProject_FieldPath(rawField string) Project_FieldPath
func ParseProject_FieldPath ¶
func ParseProject_FieldPath(rawField string) (Project_FieldPath, error)
type Project_FieldPathArrayItemValue ¶
type Project_FieldPathArrayItemValue interface { gotenobject.FieldPathArrayItemValue Project_FieldPath ContainsValue(*Project) bool }
Project_FieldPathArrayItemValue allows storing single item in Path-specific values for Project according to their type Present only for array (repeated) types.
func MustParseProject_FieldPathArrayItemValue ¶
func MustParseProject_FieldPathArrayItemValue(pathStr, valueStr string) Project_FieldPathArrayItemValue
func ParseProject_FieldPathArrayItemValue ¶
func ParseProject_FieldPathArrayItemValue(pathStr, valueStr string) (Project_FieldPathArrayItemValue, error)
ParseProject_FieldPathArrayItemValue parses string and JSON-encoded value to its Value
type Project_FieldPathArrayOfValues ¶
type Project_FieldPathArrayOfValues interface { gotenobject.FieldPathArrayOfValues Project_FieldPath }
Project_FieldPathArrayOfValues allows storing slice of values for Project fields according to their type
func MustParseProject_FieldPathArrayOfValues ¶
func MustParseProject_FieldPathArrayOfValues(pathStr, valuesStr string) Project_FieldPathArrayOfValues
func ParseProject_FieldPathArrayOfValues ¶
func ParseProject_FieldPathArrayOfValues(pathStr, valuesStr string) (Project_FieldPathArrayOfValues, error)
type Project_FieldPathSelector ¶
type Project_FieldPathSelector int32
const (
Project_FieldPathSelectorName Project_FieldPathSelector = 0
)
func (Project_FieldPathSelector) String ¶
func (s Project_FieldPathSelector) String() string
type Project_FieldPathValue ¶
type Project_FieldPathValue interface { Project_FieldPath gotenobject.FieldPathValue SetTo(target **Project) CompareWith(*Project) (cmp int, comparable bool) }
Project_FieldPathValue allows storing values for Project fields according to their type
func MustParseProject_FieldPathValue ¶
func MustParseProject_FieldPathValue(pathStr, valueStr string) Project_FieldPathValue
func ParseProject_FieldPathValue ¶
func ParseProject_FieldPathValue(pathStr, valueStr string) (Project_FieldPathValue, error)
type Project_FieldTerminalPath ¶
type Project_FieldTerminalPath struct {
// contains filtered or unexported fields
}
func (*Project_FieldTerminalPath) ClearValue ¶
func (fp *Project_FieldTerminalPath) ClearValue(item *Project)
func (*Project_FieldTerminalPath) ClearValueRaw ¶
func (fp *Project_FieldTerminalPath) ClearValueRaw(item proto.Message)
func (*Project_FieldTerminalPath) Get ¶
func (fp *Project_FieldTerminalPath) Get(source *Project) (values []interface{})
Get returns all values pointed by specific field from source Project
func (*Project_FieldTerminalPath) GetDefault ¶
func (fp *Project_FieldTerminalPath) GetDefault() interface{}
GetDefault returns a default value of the field type
func (*Project_FieldTerminalPath) GetRaw ¶
func (fp *Project_FieldTerminalPath) GetRaw(source proto.Message) []interface{}
func (*Project_FieldTerminalPath) GetSingle ¶
func (fp *Project_FieldTerminalPath) GetSingle(source *Project) (interface{}, bool)
GetSingle returns value pointed by specific field of from source Project
func (*Project_FieldTerminalPath) GetSingleRaw ¶
func (fp *Project_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)
func (*Project_FieldTerminalPath) IsLeaf ¶
func (fp *Project_FieldTerminalPath) IsLeaf() bool
IsLeaf - whether field path is holds simple value
func (*Project_FieldTerminalPath) JSONString ¶
func (fp *Project_FieldTerminalPath) JSONString() string
JSONString returns path representation is JSON convention
func (*Project_FieldTerminalPath) Selector ¶
func (fp *Project_FieldTerminalPath) Selector() Project_FieldPathSelector
func (*Project_FieldTerminalPath) SplitIntoTerminalIPaths ¶ added in v0.8.0
func (fp *Project_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
func (*Project_FieldTerminalPath) String ¶
func (fp *Project_FieldTerminalPath) String() string
String returns path representation in proto convention
func (*Project_FieldTerminalPath) WithIArrayItemValue ¶
func (fp *Project_FieldTerminalPath) WithIArrayItemValue(value interface{}) Project_FieldPathArrayItemValue
func (*Project_FieldTerminalPath) WithIArrayOfValues ¶
func (fp *Project_FieldTerminalPath) WithIArrayOfValues(values interface{}) Project_FieldPathArrayOfValues
func (*Project_FieldTerminalPath) WithIValue ¶
func (fp *Project_FieldTerminalPath) WithIValue(value interface{}) Project_FieldPathValue
func (*Project_FieldTerminalPath) WithRawIArrayItemValue ¶
func (fp *Project_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
func (*Project_FieldTerminalPath) WithRawIArrayOfValues ¶
func (fp *Project_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
func (*Project_FieldTerminalPath) WithRawIValue ¶
func (fp *Project_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
type Project_FieldTerminalPathArrayItemValue ¶
type Project_FieldTerminalPathArrayItemValue struct { Project_FieldTerminalPath // contains filtered or unexported fields }
func (*Project_FieldTerminalPathArrayItemValue) ContainsValue ¶
func (fpaiv *Project_FieldTerminalPathArrayItemValue) ContainsValue(source *Project) bool
Contains returns a boolean indicating if value that is being held is present in given 'Project'
func (*Project_FieldTerminalPathArrayItemValue) GetRawItemValue ¶
func (fpaiv *Project_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}
GetRawValue returns stored element value for array in object Project as interface{}
func (*Project_FieldTerminalPathArrayItemValue) GetSingle ¶
func (fpaiv *Project_FieldTerminalPathArrayItemValue) GetSingle(source *Project) (interface{}, bool)
func (*Project_FieldTerminalPathArrayItemValue) GetSingleRaw ¶
func (fpaiv *Project_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)
type Project_FieldTerminalPathArrayOfValues ¶
type Project_FieldTerminalPathArrayOfValues struct { Project_FieldTerminalPath // contains filtered or unexported fields }
func (*Project_FieldTerminalPathArrayOfValues) AsNameArrayOfValues ¶
func (fpaov *Project_FieldTerminalPathArrayOfValues) AsNameArrayOfValues() ([]*Name, bool)
func (*Project_FieldTerminalPathArrayOfValues) GetRawValues ¶
func (fpaov *Project_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})
type Project_FieldTerminalPathValue ¶
type Project_FieldTerminalPathValue struct { Project_FieldTerminalPath // contains filtered or unexported fields }
func (*Project_FieldTerminalPathValue) AsNameValue ¶
func (fpv *Project_FieldTerminalPathValue) AsNameValue() (*Name, bool)
func (*Project_FieldTerminalPathValue) CompareWith ¶
func (fpv *Project_FieldTerminalPathValue) CompareWith(source *Project) (int, bool)
CompareWith compares value in the 'Project_FieldTerminalPathValue' with the value under path in 'Project'.
func (*Project_FieldTerminalPathValue) CompareWithRaw ¶
func (fpv *Project_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)
func (*Project_FieldTerminalPathValue) GetRawValue ¶
func (fpv *Project_FieldTerminalPathValue) GetRawValue() interface{}
GetRawValue returns raw value stored under selected path for 'Project' as interface{}
func (*Project_FieldTerminalPathValue) SetTo ¶
func (fpv *Project_FieldTerminalPathValue) SetTo(target **Project)
SetTo stores value for selected field for object Project
func (*Project_FieldTerminalPathValue) SetToRaw ¶
func (fpv *Project_FieldTerminalPathValue) SetToRaw(target proto.Message)
type QueryResultChange ¶
type QueryResultChange struct { Changes []*ProjectChange PrevPageCursor *PagerCursor NextPageCursor *PagerCursor ResumeToken string IsCurrent bool IsHardReset bool IsSoftReset bool SnapshotSize int64 }
func (*QueryResultChange) GetIsCurrent ¶
func (qr *QueryResultChange) GetIsCurrent() bool
func (*QueryResultChange) GetIsHardReset ¶
func (qr *QueryResultChange) GetIsHardReset() bool
func (*QueryResultChange) GetIsSoftReset ¶
func (qr *QueryResultChange) GetIsSoftReset() bool
func (*QueryResultChange) GetNextPageCursor ¶
func (qr *QueryResultChange) GetNextPageCursor() gotenresource.Cursor
func (*QueryResultChange) GetPrevPageCursor ¶
func (qr *QueryResultChange) GetPrevPageCursor() gotenresource.Cursor
func (*QueryResultChange) GetResults ¶
func (qr *QueryResultChange) GetResults() gotenresource.ResourceChangeList
func (*QueryResultChange) GetResumeToken ¶
func (qr *QueryResultChange) GetResumeToken() string
func (*QueryResultChange) GetSnapshotSize ¶
func (qr *QueryResultChange) GetSnapshotSize() int64
func (*QueryResultChange) SetCursors ¶
func (qr *QueryResultChange) SetCursors(nextPageCursor, prevPageCursor gotenresource.Cursor)
func (*QueryResultChange) SetIsCurrent ¶
func (qr *QueryResultChange) SetIsCurrent()
func (*QueryResultChange) SetIsHardReset ¶
func (qr *QueryResultChange) SetIsHardReset()
func (*QueryResultChange) SetIsSoftReset ¶
func (qr *QueryResultChange) SetIsSoftReset()
func (*QueryResultChange) SetResults ¶
func (qr *QueryResultChange) SetResults(results gotenresource.ResourceChangeList)
func (*QueryResultChange) SetResumeToken ¶
func (qr *QueryResultChange) SetResumeToken(token string)
func (*QueryResultChange) SetSnapshotSize ¶
func (qr *QueryResultChange) SetSnapshotSize(size int64)
type QueryResultSnapshot ¶
type QueryResultSnapshot struct { Projects []*Project PrevPageCursor *PagerCursor NextPageCursor *PagerCursor }
func (*QueryResultSnapshot) GetNextPageCursor ¶
func (qr *QueryResultSnapshot) GetNextPageCursor() gotenresource.Cursor
func (*QueryResultSnapshot) GetPrevPageCursor ¶
func (qr *QueryResultSnapshot) GetPrevPageCursor() gotenresource.Cursor
func (*QueryResultSnapshot) GetResults ¶
func (qr *QueryResultSnapshot) GetResults() gotenresource.ResourceList
func (*QueryResultSnapshot) SetCursors ¶
func (qr *QueryResultSnapshot) SetCursors(nextPageCursor, prevPageCursor gotenresource.Cursor)
func (*QueryResultSnapshot) SetResults ¶
func (qr *QueryResultSnapshot) SetResults(results gotenresource.ResourceList)
type Reference ¶
type Reference struct { Name // contains filtered or unexported fields }
func MustParseReference ¶
func ParseReference ¶
func (*Reference) ClearCached ¶
func (ref *Reference) ClearCached()
func (*Reference) FullyQualifiedName ¶
func (*Reference) GetIParentName ¶ added in v0.8.0
func (ref *Reference) GetIParentName() gotenresource.Name
func (*Reference) GetIUnderlyingParentName ¶ added in v0.8.0
func (ref *Reference) GetIUnderlyingParentName() gotenresource.Name
func (*Reference) GetIdParts ¶
func (*Reference) GetPattern ¶
func (ref *Reference) GetPattern() gotenresource.NamePattern
func (*Reference) GetProject ¶
func (*Reference) GetRawResource ¶
func (ref *Reference) GetRawResource() gotenresource.Resource
func (*Reference) GetResourceDescriptor ¶
func (ref *Reference) GetResourceDescriptor() gotenresource.Descriptor
func (*Reference) GetSegments ¶
func (ref *Reference) GetSegments() gotenresource.NameSegments
func (*Reference) GotenEqual ¶
GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)
func (*Reference) IsFullyQualified ¶
func (*Reference) IsSpecified ¶
func (*Reference) Matches ¶
Matches is same as GotenEqual, but also will accept "other" if name is wildcard.
func (*Reference) ParseProtoString ¶
func (*Reference) ProtoString ¶
func (*Reference) ResolveRaw ¶
func (ref *Reference) ResolveRaw(res gotenresource.Resource) error
func (*Reference) SetFromCliFlag ¶
implement CustomTypeCliValue method
type WatchQuery ¶
type WatchQuery struct { ListQuery WatchType watch_type.WatchType ChunkSize int ResumeToken string }
func (*WatchQuery) GetMaximumChunkSize ¶
func (q *WatchQuery) GetMaximumChunkSize() int
func (*WatchQuery) GetResumeToken ¶
func (q *WatchQuery) GetResumeToken() string
func (*WatchQuery) GetWatchType ¶
func (q *WatchQuery) GetWatchType() watch_type.WatchType
func (*WatchQuery) SetMaximumChunkSize ¶
func (q *WatchQuery) SetMaximumChunkSize(chunkSize int)
func (*WatchQuery) SetResumeToken ¶
func (q *WatchQuery) SetResumeToken(token string)
func (*WatchQuery) SetWatchType ¶
func (q *WatchQuery) SetWatchType(watchType watch_type.WatchType)
func (*WatchQuery) String ¶ added in v0.4.29
func (q *WatchQuery) String() string
Source Files ¶
- project.pb.access.go
- project.pb.collections.go
- project.pb.descriptor.go
- project.pb.fieldmask.go
- project.pb.fieldpath.go
- project.pb.fieldpathbuilder.go
- project.pb.filter.go
- project.pb.filterbuilder.go
- project.pb.go
- project.pb.name.go
- project.pb.namebuilder.go
- project.pb.object_ext.go
- project.pb.pagination.go
- project.pb.query.go
- project.pb.validate.go
- project.pb.view.go
- project_change.pb.change.go
- project_change.pb.go
- project_change.pb.validate.go