Documentation ¶
Index ¶
- Constants
- func AsAnyCastAccess(access ResourceAccess) 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) NewResourcePager() gotenresource.PagerQuery
- 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 *Resource) bool
- func (filter *Filter) EvaluateRaw(res gotenresource.Resource) bool
- func (filter *Filter) FilterSlice(in []*Resource) (out []*Resource)
- 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 Resource_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 *Resource) 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 Resource_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 *Resource) 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 Resource_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 *Resource) bool
- func (cond *FilterConditionContains) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionContains) GetFieldPath() Resource_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 Resource_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 *Resource) 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 Resource_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 *Resource) 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 Resource_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 *Resource) 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 Resource_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 *Resource) 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 Resource_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 *Resource) 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 Resource_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) GetServiceName() *service.Name
- 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
- func (b *NameBuilder) Name() *Name
- func (b *NameBuilder) Parent() *ParentName
- func (b *NameBuilder) ParentReference() *ParentReference
- func (b *NameBuilder) Reference() *Reference
- func (b *NameBuilder) SetId(id string) *NameBuilder
- func (b *NameBuilder) SetService(parent *service.Name) *NameBuilder
- func (b *NameBuilder) SetServiceId(id string) *NameBuilder
- type NamePattern
- type OrderBy
- func (orderBy *OrderBy) Compare(left, right *Resource) int
- func (orderBy *OrderBy) CompareRaw(left, right gotenresource.Resource) int
- func (orderBy *OrderBy) GetFieldMask() *Resource_FieldMask
- func (orderBy *OrderBy) GetOrderByFields() []gotenresource.OrderByField
- func (orderBy *OrderBy) GetRawFieldMask() gotenobject.FieldMask
- func (orderBy *OrderBy) InsertSorted(sorted ResourceList, elem *Resource) (ResourceList, 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 ResourceList)
- 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 ParentName
- func (name *ParentName) AsRawReference() gotenresource.Reference
- func (name *ParentName) AsReference() *ParentReference
- func (name *ParentName) DescendsFrom(ancestor string) bool
- func (name *ParentName) FullyQualifiedName() (string, error)
- func (name *ParentName) GetIParentName() gotenresource.Name
- func (name *ParentName) GetIUnderlyingParentName() gotenresource.Name
- func (name *ParentName) GetIdParts() map[string]string
- func (name *ParentName) GetPattern() gotenresource.NamePattern
- func (name *ParentName) GetResourceDescriptor() gotenresource.Descriptor
- func (name *ParentName) GetSegments() gotenresource.NameSegments
- func (name *ParentName) GetServiceName() *service.Name
- func (name *ParentName) GotenEqual(other interface{}) bool
- func (name *ParentName) IsFullyQualified() bool
- func (name *ParentName) IsSpecified() bool
- func (name *ParentName) Matches(other interface{}) bool
- func (name *ParentName) ParseProtoString(data string) error
- func (name *ParentName) ProtoString() (string, error)
- func (name *ParentName) SetFromCliFlag(raw string) error
- func (name *ParentName) SetFromSegments(segments gotenresource.NameSegments) error
- func (name *ParentName) String() string
- type ParentReference
- func (ref *ParentReference) ClearCached()
- func (name *ParentReference) ConvertToNative(typeDesc reflect.Type) (interface{}, error)
- func (name *ParentReference) ConvertToType(typeVal ref.Type) ref.Val
- func (name *ParentReference) Equal(other ref.Val) ref.Val
- func (ref *ParentReference) GetIParentName() gotenresource.Name
- func (ref *ParentReference) GetIUnderlyingParentName() gotenresource.Name
- func (ref *ParentReference) GetIdParts() map[string]string
- func (ref *ParentReference) GetPattern() gotenresource.NamePattern
- func (ref *ParentReference) GetRawResource() gotenresource.Resource
- func (ref *ParentReference) GetResourceDescriptor() gotenresource.Descriptor
- func (ref *ParentReference) GetSegments() gotenresource.NameSegments
- func (ref *ParentReference) GetService() *service.Service
- func (ref *ParentReference) GetServiceReference() *service.Reference
- func (ref *ParentReference) GetUnderlyingReference() gotenresource.Reference
- func (ref *ParentReference) GotenEqual(other interface{}) bool
- func (name *ParentReference) HasTrait(trait int) bool
- func (ref *ParentReference) IsFullyQualified() bool
- func (ref *ParentReference) IsSpecified() bool
- func (name *ParentReference) Match(pattern ref.Val) ref.Val
- func (name *ParentReference) Matches(other interface{}) bool
- func (ref *ParentReference) ParseProtoString(data string) error
- func (ref *ParentReference) ProtoString() (string, error)
- func (name *ParentReference) Receive(function string, overload string, args []ref.Val) ref.Val
- func (ref *ParentReference) ResolveRaw(res gotenresource.Resource) error
- func (ref *ParentReference) Resolved() bool
- func (ref *ParentReference) SetFromCliFlag(raw string) error
- func (ref *ParentReference) String() string
- func (name *ParentReference) Type() ref.Type
- func (name *ParentReference) TypeName() string
- func (name *ParentReference) Value() interface{}
- 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) GetRawResource() gotenresource.Resource
- func (ref *Reference) GetResource() *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 *Resource)
- 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 Resource
- func (o *Resource) Clone() *Resource
- func (o *Resource) CloneRaw() gotenobject.GotenObjectExt
- func (*Resource) Descriptor() ([]byte, []int)
- func (m *Resource) GetFqn() string
- func (m *Resource) GetIsRegional() bool
- func (m *Resource) GetMetadata() *ntt_meta.Meta
- func (m *Resource) GetName() *Name
- func (m *Resource) GetPluralName() string
- func (r *Resource) GetRawName() gotenresource.Name
- func (r *Resource) GetResourceDescriptor() gotenresource.Descriptor
- func (*Resource) GotenMessage()
- func (o *Resource) GotenObjectExt()
- func (obj *Resource) GotenValidate() error
- func (o *Resource) MakeDiffFieldMask(other *Resource) *Resource_FieldMask
- func (o *Resource) MakeFullFieldMask() *Resource_FieldMask
- func (o *Resource) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask
- func (o *Resource) MakeRawFullFieldMask() gotenobject.FieldMask
- func (m *Resource) Marshal() ([]byte, error)
- func (m *Resource) MarshalJSON() ([]byte, error)
- func (r *Resource) MaybePopulateDefaults() error
- func (o *Resource) Merge(source *Resource)
- func (o *Resource) MergeRaw(source gotenobject.GotenObjectExt)
- func (*Resource) ProtoMessage()
- func (m *Resource) ProtoReflect() preflect.Message
- func (m *Resource) Reset()
- func (m *Resource) SetFqn(fv string)
- func (m *Resource) SetIsRegional(fv bool)
- func (m *Resource) SetMetadata(fv *ntt_meta.Meta)
- func (m *Resource) SetName(fv *Name)
- func (m *Resource) SetPluralName(fv string)
- func (m *Resource) String() string
- func (m *Resource) Unmarshal(b []byte) error
- func (m *Resource) UnmarshalJSON(data []byte) error
- type ResourceAccess
- type ResourceChange
- func (*ResourceChange) Descriptor() ([]byte, []int)
- func (m *ResourceChange) GetAdded() *ResourceChange_Added
- func (m *ResourceChange) GetChangeType() isResourceChange_ChangeType
- func (m *ResourceChange) GetCurrent() *ResourceChange_Current
- func (c *ResourceChange) GetCurrentViewIndex() int32
- func (m *ResourceChange) GetModified() *ResourceChange_Modified
- func (c *ResourceChange) GetPreviousViewIndex() int32
- func (c *ResourceChange) GetRawName() gotenresource.Name
- func (c *ResourceChange) GetRawResource() gotenresource.Resource
- func (m *ResourceChange) GetRemoved() *ResourceChange_Removed
- func (c *ResourceChange) GetResource() *Resource
- func (c *ResourceChange) GetResourceName() *Name
- func (*ResourceChange) GotenMessage()
- func (obj *ResourceChange) GotenValidate() error
- func (c *ResourceChange) IsAdd() bool
- func (c *ResourceChange) IsCurrent() bool
- func (c *ResourceChange) IsDelete() bool
- func (c *ResourceChange) IsModify() bool
- func (m *ResourceChange) Marshal() ([]byte, error)
- func (m *ResourceChange) MarshalJSON() ([]byte, error)
- func (*ResourceChange) ProtoMessage()
- func (m *ResourceChange) ProtoReflect() preflect.Message
- func (m *ResourceChange) Reset()
- func (m *ResourceChange) SetAdded(fv *ResourceChange_Added)
- func (c *ResourceChange) SetAddedRaw(snapshot gotenresource.Resource, idx int)
- func (m *ResourceChange) SetChangeType(ofv isResourceChange_ChangeType)
- func (m *ResourceChange) SetCurrent(fv *ResourceChange_Current)
- func (c *ResourceChange) SetCurrentRaw(snapshot gotenresource.Resource)
- func (c *ResourceChange) SetDeletedRaw(name gotenresource.Name, idx int)
- func (m *ResourceChange) SetModified(fv *ResourceChange_Modified)
- func (c *ResourceChange) SetModifiedRaw(name gotenresource.Name, snapshot gotenresource.Resource, prevIdx int, ...)
- func (m *ResourceChange) SetRemoved(fv *ResourceChange_Removed)
- func (m *ResourceChange) String() string
- func (m *ResourceChange) Unmarshal(b []byte) error
- func (m *ResourceChange) UnmarshalJSON(data []byte) error
- type ResourceChangeList
- func (l ResourceChangeList) Append(item gotenresource.ResourceChange) gotenresource.ResourceChangeList
- func (l ResourceChangeList) AppendList(list gotenresource.ResourceChangeList) gotenresource.ResourceChangeList
- func (l ResourceChangeList) At(idx int) gotenresource.ResourceChange
- func (l ResourceChangeList) Length() int
- func (l ResourceChangeList) Set(idx int, change gotenresource.ResourceChange)
- func (l ResourceChangeList) Slice(first, second int) gotenresource.ResourceChangeList
- type ResourceChangeMap
- func (m ResourceChangeMap) Delete(name gotenresource.Name)
- func (m ResourceChangeMap) ForEach(cb func(gotenresource.Name, gotenresource.ResourceChange) bool)
- func (m ResourceChangeMap) Get(name gotenresource.Name) gotenresource.ResourceChange
- func (m ResourceChangeMap) Length() int
- func (m ResourceChangeMap) Set(change gotenresource.ResourceChange)
- type ResourceChange_Added
- func (*ResourceChange_Added) Descriptor() ([]byte, []int)
- func (m *ResourceChange_Added) GetResource() *Resource
- func (m *ResourceChange_Added) GetViewIndex() int32
- func (*ResourceChange_Added) GotenMessage()
- func (obj *ResourceChange_Added) GotenValidate() error
- func (m *ResourceChange_Added) Marshal() ([]byte, error)
- func (m *ResourceChange_Added) MarshalJSON() ([]byte, error)
- func (*ResourceChange_Added) ProtoMessage()
- func (m *ResourceChange_Added) ProtoReflect() preflect.Message
- func (m *ResourceChange_Added) Reset()
- func (m *ResourceChange_Added) SetResource(fv *Resource)
- func (m *ResourceChange_Added) SetViewIndex(fv int32)
- func (m *ResourceChange_Added) String() string
- func (m *ResourceChange_Added) Unmarshal(b []byte) error
- func (m *ResourceChange_Added) UnmarshalJSON(data []byte) error
- type ResourceChange_Added_
- type ResourceChange_Current
- func (*ResourceChange_Current) Descriptor() ([]byte, []int)
- func (m *ResourceChange_Current) GetResource() *Resource
- func (*ResourceChange_Current) GotenMessage()
- func (obj *ResourceChange_Current) GotenValidate() error
- func (m *ResourceChange_Current) Marshal() ([]byte, error)
- func (m *ResourceChange_Current) MarshalJSON() ([]byte, error)
- func (*ResourceChange_Current) ProtoMessage()
- func (m *ResourceChange_Current) ProtoReflect() preflect.Message
- func (m *ResourceChange_Current) Reset()
- func (m *ResourceChange_Current) SetResource(fv *Resource)
- func (m *ResourceChange_Current) String() string
- func (m *ResourceChange_Current) Unmarshal(b []byte) error
- func (m *ResourceChange_Current) UnmarshalJSON(data []byte) error
- type ResourceChange_Current_
- type ResourceChange_Modified
- func (*ResourceChange_Modified) Descriptor() ([]byte, []int)
- func (m *ResourceChange_Modified) GetFieldMask() *Resource_FieldMask
- func (m *ResourceChange_Modified) GetName() *Name
- func (m *ResourceChange_Modified) GetPreviousViewIndex() int32
- func (m *ResourceChange_Modified) GetResource() *Resource
- func (m *ResourceChange_Modified) GetViewIndex() int32
- func (*ResourceChange_Modified) GotenMessage()
- func (obj *ResourceChange_Modified) GotenValidate() error
- func (m *ResourceChange_Modified) Marshal() ([]byte, error)
- func (m *ResourceChange_Modified) MarshalJSON() ([]byte, error)
- func (*ResourceChange_Modified) ProtoMessage()
- func (m *ResourceChange_Modified) ProtoReflect() preflect.Message
- func (m *ResourceChange_Modified) Reset()
- func (m *ResourceChange_Modified) SetFieldMask(fv *Resource_FieldMask)
- func (m *ResourceChange_Modified) SetName(fv *Name)
- func (m *ResourceChange_Modified) SetPreviousViewIndex(fv int32)
- func (m *ResourceChange_Modified) SetResource(fv *Resource)
- func (m *ResourceChange_Modified) SetViewIndex(fv int32)
- func (m *ResourceChange_Modified) String() string
- func (m *ResourceChange_Modified) Unmarshal(b []byte) error
- func (m *ResourceChange_Modified) UnmarshalJSON(data []byte) error
- type ResourceChange_Modified_
- type ResourceChange_Removed
- func (*ResourceChange_Removed) Descriptor() ([]byte, []int)
- func (m *ResourceChange_Removed) GetName() *Name
- func (m *ResourceChange_Removed) GetViewIndex() int32
- func (*ResourceChange_Removed) GotenMessage()
- func (obj *ResourceChange_Removed) GotenValidate() error
- func (m *ResourceChange_Removed) Marshal() ([]byte, error)
- func (m *ResourceChange_Removed) MarshalJSON() ([]byte, error)
- func (*ResourceChange_Removed) ProtoMessage()
- func (m *ResourceChange_Removed) ProtoReflect() preflect.Message
- func (m *ResourceChange_Removed) Reset()
- func (m *ResourceChange_Removed) SetName(fv *Name)
- func (m *ResourceChange_Removed) SetViewIndex(fv int32)
- func (m *ResourceChange_Removed) String() string
- func (m *ResourceChange_Removed) Unmarshal(b []byte) error
- func (m *ResourceChange_Removed) UnmarshalJSON(data []byte) error
- type ResourceChange_Removed_
- type ResourceFieldPathBuilder
- func (ResourceFieldPathBuilder) Fqn() ResourcePathSelectorFqn
- func (ResourceFieldPathBuilder) IsRegional() ResourcePathSelectorIsRegional
- func (ResourceFieldPathBuilder) Metadata() ResourcePathSelectorMetadata
- func (ResourceFieldPathBuilder) Name() ResourcePathSelectorName
- func (ResourceFieldPathBuilder) PluralName() ResourcePathSelectorPluralName
- type ResourceList
- func (l ResourceList) Append(item gotenresource.Resource) gotenresource.ResourceList
- func (l ResourceList) AppendList(list gotenresource.ResourceList) gotenresource.ResourceList
- func (l ResourceList) At(idx int) gotenresource.Resource
- func (l ResourceList) Length() int
- func (l ResourceList) Set(idx int, res gotenresource.Resource)
- func (l ResourceList) Slice(first, second int) gotenresource.ResourceList
- type ResourceMap
- type ResourceMapPathSelectorMetadataAnnotations
- func (s ResourceMapPathSelectorMetadataAnnotations) FieldPath() *Resource_FieldSubPath
- func (s ResourceMapPathSelectorMetadataAnnotations) WithArrayOfValues(values []string) *Resource_FieldSubPathArrayOfValues
- func (s ResourceMapPathSelectorMetadataAnnotations) WithValue(value string) *Resource_FieldSubPathValue
- type ResourceMapPathSelectorMetadataLabels
- type ResourceMapPathSelectorMetadataShards
- type ResourceNameList
- func (l ResourceNameList) Append(name gotenresource.Name) gotenresource.NameList
- func (l ResourceNameList) AppendList(list gotenresource.NameList) gotenresource.NameList
- func (l ResourceNameList) At(idx int) gotenresource.Name
- func (l ResourceNameList) Length() int
- func (l ResourceNameList) Set(idx int, name gotenresource.Name)
- func (l ResourceNameList) Slice(first, second int) gotenresource.NameList
- type ResourceParentNameList
- func (l ResourceParentNameList) Append(name gotenresource.Name) gotenresource.ParentNameList
- func (l ResourceParentNameList) AppendList(list gotenresource.ParentNameList) gotenresource.ParentNameList
- func (l ResourceParentNameList) At(idx int) gotenresource.Name
- func (l ResourceParentNameList) Length() int
- func (l ResourceParentNameList) Set(idx int, name gotenresource.Name)
- func (l ResourceParentNameList) Slice(first, second int) gotenresource.ParentNameList
- type ResourceParentReferenceList
- func (l ResourceParentReferenceList) Append(ref gotenresource.Reference) gotenresource.ParentReferenceList
- func (l ResourceParentReferenceList) AppendList(list gotenresource.ParentReferenceList) gotenresource.ParentReferenceList
- func (l ResourceParentReferenceList) At(idx int) gotenresource.Reference
- func (l ResourceParentReferenceList) Length() int
- func (l ResourceParentReferenceList) Set(idx int, ref gotenresource.Reference)
- func (l ResourceParentReferenceList) Slice(first, second int) gotenresource.ParentReferenceList
- type ResourcePathSelectorFqn
- type ResourcePathSelectorIsRegional
- type ResourcePathSelectorMetadata
- func (ResourcePathSelectorMetadata) Annotations() ResourcePathSelectorMetadataAnnotations
- func (ResourcePathSelectorMetadata) CreateTime() ResourcePathSelectorMetadataCreateTime
- func (ResourcePathSelectorMetadata) DeleteTime() ResourcePathSelectorMetadataDeleteTime
- func (ResourcePathSelectorMetadata) FieldPath() *Resource_FieldTerminalPath
- func (ResourcePathSelectorMetadata) Generation() ResourcePathSelectorMetadataGeneration
- func (ResourcePathSelectorMetadata) Labels() ResourcePathSelectorMetadataLabels
- func (ResourcePathSelectorMetadata) Lifecycle() ResourcePathSelectorMetadataLifecycle
- func (ResourcePathSelectorMetadata) OwnerReferences() ResourcePathSelectorMetadataOwnerReferences
- func (ResourcePathSelectorMetadata) ResourceVersion() ResourcePathSelectorMetadataResourceVersion
- func (ResourcePathSelectorMetadata) Shards() ResourcePathSelectorMetadataShards
- func (ResourcePathSelectorMetadata) Syncing() ResourcePathSelectorMetadataSyncing
- func (ResourcePathSelectorMetadata) Tags() ResourcePathSelectorMetadataTags
- func (ResourcePathSelectorMetadata) UpdateTime() ResourcePathSelectorMetadataUpdateTime
- func (ResourcePathSelectorMetadata) Uuid() ResourcePathSelectorMetadataUuid
- func (s ResourcePathSelectorMetadata) WithArrayOfValues(values []*ntt_meta.Meta) *Resource_FieldTerminalPathArrayOfValues
- func (s ResourcePathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue ntt_meta.Meta_FieldPathArrayItemValue) *Resource_FieldSubPathArrayItemValue
- func (s ResourcePathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues ntt_meta.Meta_FieldPathArrayOfValues) *Resource_FieldSubPathArrayOfValues
- func (ResourcePathSelectorMetadata) WithSubPath(subPath ntt_meta.Meta_FieldPath) *Resource_FieldSubPath
- func (s ResourcePathSelectorMetadata) WithSubValue(subPathValue ntt_meta.Meta_FieldPathValue) *Resource_FieldSubPathValue
- func (s ResourcePathSelectorMetadata) WithValue(value *ntt_meta.Meta) *Resource_FieldTerminalPathValue
- type ResourcePathSelectorMetadataAnnotations
- func (ResourcePathSelectorMetadataAnnotations) FieldPath() *Resource_FieldSubPath
- func (s ResourcePathSelectorMetadataAnnotations) WithArrayOfValues(values []map[string]string) *Resource_FieldSubPathArrayOfValues
- func (ResourcePathSelectorMetadataAnnotations) WithKey(key string) ResourceMapPathSelectorMetadataAnnotations
- func (s ResourcePathSelectorMetadataAnnotations) WithValue(value map[string]string) *Resource_FieldSubPathValue
- type ResourcePathSelectorMetadataCreateTime
- func (ResourcePathSelectorMetadataCreateTime) FieldPath() *Resource_FieldSubPath
- func (s ResourcePathSelectorMetadataCreateTime) WithArrayOfValues(values []*timestamp.Timestamp) *Resource_FieldSubPathArrayOfValues
- func (s ResourcePathSelectorMetadataCreateTime) WithValue(value *timestamp.Timestamp) *Resource_FieldSubPathValue
- type ResourcePathSelectorMetadataDeleteTime
- func (ResourcePathSelectorMetadataDeleteTime) FieldPath() *Resource_FieldSubPath
- func (s ResourcePathSelectorMetadataDeleteTime) WithArrayOfValues(values []*timestamp.Timestamp) *Resource_FieldSubPathArrayOfValues
- func (s ResourcePathSelectorMetadataDeleteTime) WithValue(value *timestamp.Timestamp) *Resource_FieldSubPathValue
- type ResourcePathSelectorMetadataGeneration
- type ResourcePathSelectorMetadataLabels
- func (ResourcePathSelectorMetadataLabels) FieldPath() *Resource_FieldSubPath
- func (s ResourcePathSelectorMetadataLabels) WithArrayOfValues(values []map[string]string) *Resource_FieldSubPathArrayOfValues
- func (ResourcePathSelectorMetadataLabels) WithKey(key string) ResourceMapPathSelectorMetadataLabels
- func (s ResourcePathSelectorMetadataLabels) WithValue(value map[string]string) *Resource_FieldSubPathValue
- type ResourcePathSelectorMetadataLifecycle
- func (ResourcePathSelectorMetadataLifecycle) BlockDeletion() ResourcePathSelectorMetadataLifecycleBlockDeletion
- func (ResourcePathSelectorMetadataLifecycle) FieldPath() *Resource_FieldSubPath
- func (ResourcePathSelectorMetadataLifecycle) State() ResourcePathSelectorMetadataLifecycleState
- func (s ResourcePathSelectorMetadataLifecycle) WithArrayOfValues(values []*ntt_meta.Lifecycle) *Resource_FieldSubPathArrayOfValues
- func (s ResourcePathSelectorMetadataLifecycle) WithValue(value *ntt_meta.Lifecycle) *Resource_FieldSubPathValue
- type ResourcePathSelectorMetadataLifecycleBlockDeletion
- func (ResourcePathSelectorMetadataLifecycleBlockDeletion) FieldPath() *Resource_FieldSubPath
- func (s ResourcePathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues(values []bool) *Resource_FieldSubPathArrayOfValues
- func (s ResourcePathSelectorMetadataLifecycleBlockDeletion) WithValue(value bool) *Resource_FieldSubPathValue
- type ResourcePathSelectorMetadataLifecycleState
- func (ResourcePathSelectorMetadataLifecycleState) FieldPath() *Resource_FieldSubPath
- func (s ResourcePathSelectorMetadataLifecycleState) WithArrayOfValues(values []ntt_meta.Lifecycle_State) *Resource_FieldSubPathArrayOfValues
- func (s ResourcePathSelectorMetadataLifecycleState) WithValue(value ntt_meta.Lifecycle_State) *Resource_FieldSubPathValue
- type ResourcePathSelectorMetadataOwnerReferences
- func (ResourcePathSelectorMetadataOwnerReferences) BlockOwnerDeletion() ResourcePathSelectorMetadataOwnerReferencesBlockOwnerDeletion
- func (ResourcePathSelectorMetadataOwnerReferences) Controller() ResourcePathSelectorMetadataOwnerReferencesController
- func (ResourcePathSelectorMetadataOwnerReferences) FieldPath() *Resource_FieldSubPath
- func (ResourcePathSelectorMetadataOwnerReferences) Kind() ResourcePathSelectorMetadataOwnerReferencesKind
- func (ResourcePathSelectorMetadataOwnerReferences) Name() ResourcePathSelectorMetadataOwnerReferencesName
- func (ResourcePathSelectorMetadataOwnerReferences) Region() ResourcePathSelectorMetadataOwnerReferencesRegion
- func (ResourcePathSelectorMetadataOwnerReferences) RequiresOwnerReference() ResourcePathSelectorMetadataOwnerReferencesRequiresOwnerReference
- func (ResourcePathSelectorMetadataOwnerReferences) Version() ResourcePathSelectorMetadataOwnerReferencesVersion
- func (s ResourcePathSelectorMetadataOwnerReferences) WithArrayOfValues(values [][]*ntt_meta.OwnerReference) *Resource_FieldSubPathArrayOfValues
- func (s ResourcePathSelectorMetadataOwnerReferences) WithItemValue(value *ntt_meta.OwnerReference) *Resource_FieldSubPathArrayItemValue
- func (s ResourcePathSelectorMetadataOwnerReferences) WithValue(value []*ntt_meta.OwnerReference) *Resource_FieldSubPathValue
- type ResourcePathSelectorMetadataOwnerReferencesBlockOwnerDeletion
- func (ResourcePathSelectorMetadataOwnerReferencesBlockOwnerDeletion) FieldPath() *Resource_FieldSubPath
- func (s ResourcePathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithArrayOfValues(values []bool) *Resource_FieldSubPathArrayOfValues
- func (s ResourcePathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithValue(value bool) *Resource_FieldSubPathValue
- type ResourcePathSelectorMetadataOwnerReferencesController
- func (ResourcePathSelectorMetadataOwnerReferencesController) FieldPath() *Resource_FieldSubPath
- func (s ResourcePathSelectorMetadataOwnerReferencesController) WithArrayOfValues(values []bool) *Resource_FieldSubPathArrayOfValues
- func (s ResourcePathSelectorMetadataOwnerReferencesController) WithValue(value bool) *Resource_FieldSubPathValue
- type ResourcePathSelectorMetadataOwnerReferencesKind
- func (ResourcePathSelectorMetadataOwnerReferencesKind) FieldPath() *Resource_FieldSubPath
- func (s ResourcePathSelectorMetadataOwnerReferencesKind) WithArrayOfValues(values []string) *Resource_FieldSubPathArrayOfValues
- func (s ResourcePathSelectorMetadataOwnerReferencesKind) WithValue(value string) *Resource_FieldSubPathValue
- type ResourcePathSelectorMetadataOwnerReferencesName
- func (ResourcePathSelectorMetadataOwnerReferencesName) FieldPath() *Resource_FieldSubPath
- func (s ResourcePathSelectorMetadataOwnerReferencesName) WithArrayOfValues(values []string) *Resource_FieldSubPathArrayOfValues
- func (s ResourcePathSelectorMetadataOwnerReferencesName) WithValue(value string) *Resource_FieldSubPathValue
- type ResourcePathSelectorMetadataOwnerReferencesRegion
- func (ResourcePathSelectorMetadataOwnerReferencesRegion) FieldPath() *Resource_FieldSubPath
- func (s ResourcePathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues(values []string) *Resource_FieldSubPathArrayOfValues
- func (s ResourcePathSelectorMetadataOwnerReferencesRegion) WithValue(value string) *Resource_FieldSubPathValue
- type ResourcePathSelectorMetadataOwnerReferencesRequiresOwnerReference
- func (ResourcePathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath() *Resource_FieldSubPath
- func (s ResourcePathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues(values []bool) *Resource_FieldSubPathArrayOfValues
- func (s ResourcePathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue(value bool) *Resource_FieldSubPathValue
- type ResourcePathSelectorMetadataOwnerReferencesVersion
- func (ResourcePathSelectorMetadataOwnerReferencesVersion) FieldPath() *Resource_FieldSubPath
- func (s ResourcePathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues(values []string) *Resource_FieldSubPathArrayOfValues
- func (s ResourcePathSelectorMetadataOwnerReferencesVersion) WithValue(value string) *Resource_FieldSubPathValue
- type ResourcePathSelectorMetadataResourceVersion
- func (ResourcePathSelectorMetadataResourceVersion) FieldPath() *Resource_FieldSubPath
- func (s ResourcePathSelectorMetadataResourceVersion) WithArrayOfValues(values []string) *Resource_FieldSubPathArrayOfValues
- func (s ResourcePathSelectorMetadataResourceVersion) WithValue(value string) *Resource_FieldSubPathValue
- type ResourcePathSelectorMetadataShards
- func (ResourcePathSelectorMetadataShards) FieldPath() *Resource_FieldSubPath
- func (s ResourcePathSelectorMetadataShards) WithArrayOfValues(values []map[string]int64) *Resource_FieldSubPathArrayOfValues
- func (ResourcePathSelectorMetadataShards) WithKey(key string) ResourceMapPathSelectorMetadataShards
- func (s ResourcePathSelectorMetadataShards) WithValue(value map[string]int64) *Resource_FieldSubPathValue
- type ResourcePathSelectorMetadataSyncing
- func (ResourcePathSelectorMetadataSyncing) FieldPath() *Resource_FieldSubPath
- func (ResourcePathSelectorMetadataSyncing) OwningRegion() ResourcePathSelectorMetadataSyncingOwningRegion
- func (ResourcePathSelectorMetadataSyncing) Regions() ResourcePathSelectorMetadataSyncingRegions
- func (s ResourcePathSelectorMetadataSyncing) WithArrayOfValues(values []*ntt_meta.SyncingMeta) *Resource_FieldSubPathArrayOfValues
- func (s ResourcePathSelectorMetadataSyncing) WithValue(value *ntt_meta.SyncingMeta) *Resource_FieldSubPathValue
- type ResourcePathSelectorMetadataSyncingOwningRegion
- func (ResourcePathSelectorMetadataSyncingOwningRegion) FieldPath() *Resource_FieldSubPath
- func (s ResourcePathSelectorMetadataSyncingOwningRegion) WithArrayOfValues(values []string) *Resource_FieldSubPathArrayOfValues
- func (s ResourcePathSelectorMetadataSyncingOwningRegion) WithValue(value string) *Resource_FieldSubPathValue
- type ResourcePathSelectorMetadataSyncingRegions
- func (ResourcePathSelectorMetadataSyncingRegions) FieldPath() *Resource_FieldSubPath
- func (s ResourcePathSelectorMetadataSyncingRegions) WithArrayOfValues(values [][]string) *Resource_FieldSubPathArrayOfValues
- func (s ResourcePathSelectorMetadataSyncingRegions) WithItemValue(value string) *Resource_FieldSubPathArrayItemValue
- func (s ResourcePathSelectorMetadataSyncingRegions) WithValue(value []string) *Resource_FieldSubPathValue
- type ResourcePathSelectorMetadataTags
- func (ResourcePathSelectorMetadataTags) FieldPath() *Resource_FieldSubPath
- func (s ResourcePathSelectorMetadataTags) WithArrayOfValues(values [][]string) *Resource_FieldSubPathArrayOfValues
- func (s ResourcePathSelectorMetadataTags) WithItemValue(value string) *Resource_FieldSubPathArrayItemValue
- func (s ResourcePathSelectorMetadataTags) WithValue(value []string) *Resource_FieldSubPathValue
- type ResourcePathSelectorMetadataUpdateTime
- func (ResourcePathSelectorMetadataUpdateTime) FieldPath() *Resource_FieldSubPath
- func (s ResourcePathSelectorMetadataUpdateTime) WithArrayOfValues(values []*timestamp.Timestamp) *Resource_FieldSubPathArrayOfValues
- func (s ResourcePathSelectorMetadataUpdateTime) WithValue(value *timestamp.Timestamp) *Resource_FieldSubPathValue
- type ResourcePathSelectorMetadataUuid
- type ResourcePathSelectorName
- type ResourcePathSelectorPluralName
- type ResourceReferenceList
- func (l ResourceReferenceList) Append(ref gotenresource.Reference) gotenresource.ReferenceList
- func (l ResourceReferenceList) AppendList(list gotenresource.ReferenceList) gotenresource.ReferenceList
- func (l ResourceReferenceList) At(idx int) gotenresource.Reference
- func (l ResourceReferenceList) Length() int
- func (l ResourceReferenceList) Set(idx int, ref gotenresource.Reference)
- func (l ResourceReferenceList) Slice(first, second int) gotenresource.ReferenceList
- type Resource_FieldMask
- func (fieldMask *Resource_FieldMask) AppendPath(path Resource_FieldPath)
- func (fieldMask *Resource_FieldMask) AppendRawPath(path gotenobject.FieldPath)
- func (fieldMask *Resource_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error
- func (fieldMask *Resource_FieldMask) EncodeFirestore() (*firestorepb.Value, error)
- func (fieldMask *Resource_FieldMask) FilterInputFields() *Resource_FieldMask
- func (fieldMask *Resource_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error
- func (fieldMask *Resource_FieldMask) GetPaths() []Resource_FieldPath
- func (fieldMask *Resource_FieldMask) GetRawPaths() []gotenobject.FieldPath
- func (fieldMask *Resource_FieldMask) IsFull() bool
- func (fieldMask Resource_FieldMask) Marshal() ([]byte, error)
- func (fieldMask Resource_FieldMask) MarshalJSON() ([]byte, error)
- func (fieldMask *Resource_FieldMask) PathsCount() int
- func (fieldMask *Resource_FieldMask) Project(source *Resource) *Resource
- func (fieldMask *Resource_FieldMask) ProjectRaw(source gotenobject.GotenObjectExt) gotenobject.GotenObjectExt
- func (fieldMask *Resource_FieldMask) ProtoMessage()
- func (fieldMask *Resource_FieldMask) ProtoReflect() preflect.Message
- func (fieldMask *Resource_FieldMask) Reset()
- func (fieldMask *Resource_FieldMask) Set(target, source *Resource)
- func (fieldMask *Resource_FieldMask) SetFromCliFlag(raw string) error
- func (fieldMask *Resource_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)
- func (fieldMask *Resource_FieldMask) Size() int
- func (fieldMask *Resource_FieldMask) String() string
- func (fieldMask *Resource_FieldMask) Subtract(other *Resource_FieldMask) *Resource_FieldMask
- func (fieldMask *Resource_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask
- func (fieldMask *Resource_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask
- func (fieldMask *Resource_FieldMask) Unmarshal(data []byte) error
- func (fieldMask *Resource_FieldMask) UnmarshalJSON(data []byte) error
- type Resource_FieldPath
- type Resource_FieldPathArrayItemValue
- type Resource_FieldPathArrayOfValues
- type Resource_FieldPathSelector
- type Resource_FieldPathValue
- type Resource_FieldSubPath
- func (fps *Resource_FieldSubPath) AsMetadataSubPath() (ntt_meta.Meta_FieldPath, bool)
- func (fps *Resource_FieldSubPath) ClearValue(item *Resource)
- func (fps *Resource_FieldSubPath) ClearValueRaw(item proto.Message)
- func (fps *Resource_FieldSubPath) Get(source *Resource) (values []interface{})
- func (fps *Resource_FieldSubPath) GetDefault() interface{}
- func (fps *Resource_FieldSubPath) GetRaw(source proto.Message) []interface{}
- func (fps *Resource_FieldSubPath) GetSingle(source *Resource) (interface{}, bool)
- func (fps *Resource_FieldSubPath) GetSingleRaw(source proto.Message) (interface{}, bool)
- func (fps *Resource_FieldSubPath) IsLeaf() bool
- func (fps *Resource_FieldSubPath) JSONString() string
- func (fps *Resource_FieldSubPath) Selector() Resource_FieldPathSelector
- func (fps *Resource_FieldSubPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
- func (fps *Resource_FieldSubPath) String() string
- func (fps *Resource_FieldSubPath) WithIArrayItemValue(value interface{}) Resource_FieldPathArrayItemValue
- func (fps *Resource_FieldSubPath) WithIArrayOfValues(values interface{}) Resource_FieldPathArrayOfValues
- func (fps *Resource_FieldSubPath) WithIValue(value interface{}) Resource_FieldPathValue
- func (fps *Resource_FieldSubPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
- func (fps *Resource_FieldSubPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
- func (fps *Resource_FieldSubPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
- type Resource_FieldSubPathArrayItemValue
- type Resource_FieldSubPathArrayOfValues
- type Resource_FieldSubPathValue
- func (fpvs *Resource_FieldSubPathValue) AsMetadataPathValue() (ntt_meta.Meta_FieldPathValue, bool)
- func (fpvs *Resource_FieldSubPathValue) CompareWith(source *Resource) (int, bool)
- func (fpvs *Resource_FieldSubPathValue) CompareWithRaw(source proto.Message) (int, bool)
- func (fpvs *Resource_FieldSubPathValue) GetRawValue() interface{}
- func (fpvs *Resource_FieldSubPathValue) SetTo(target **Resource)
- func (fpvs *Resource_FieldSubPathValue) SetToRaw(target proto.Message)
- type Resource_FieldTerminalPath
- func (fp *Resource_FieldTerminalPath) ClearValue(item *Resource)
- func (fp *Resource_FieldTerminalPath) ClearValueRaw(item proto.Message)
- func (fp *Resource_FieldTerminalPath) Get(source *Resource) (values []interface{})
- func (fp *Resource_FieldTerminalPath) GetDefault() interface{}
- func (fp *Resource_FieldTerminalPath) GetRaw(source proto.Message) []interface{}
- func (fp *Resource_FieldTerminalPath) GetSingle(source *Resource) (interface{}, bool)
- func (fp *Resource_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)
- func (fp *Resource_FieldTerminalPath) IsLeaf() bool
- func (fp *Resource_FieldTerminalPath) JSONString() string
- func (fp *Resource_FieldTerminalPath) Selector() Resource_FieldPathSelector
- func (fp *Resource_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
- func (fp *Resource_FieldTerminalPath) String() string
- func (fp *Resource_FieldTerminalPath) WithIArrayItemValue(value interface{}) Resource_FieldPathArrayItemValue
- func (fp *Resource_FieldTerminalPath) WithIArrayOfValues(values interface{}) Resource_FieldPathArrayOfValues
- func (fp *Resource_FieldTerminalPath) WithIValue(value interface{}) Resource_FieldPathValue
- func (fp *Resource_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
- func (fp *Resource_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
- func (fp *Resource_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
- type Resource_FieldTerminalPathArrayItemValue
- func (fpaiv *Resource_FieldTerminalPathArrayItemValue) ContainsValue(source *Resource) bool
- func (fpaiv *Resource_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}
- func (fpaiv *Resource_FieldTerminalPathArrayItemValue) GetSingle(source *Resource) (interface{}, bool)
- func (fpaiv *Resource_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)
- type Resource_FieldTerminalPathArrayOfValues
- func (fpaov *Resource_FieldTerminalPathArrayOfValues) AsFqnArrayOfValues() ([]string, bool)
- func (fpaov *Resource_FieldTerminalPathArrayOfValues) AsIsRegionalArrayOfValues() ([]bool, bool)
- func (fpaov *Resource_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues() ([]*ntt_meta.Meta, bool)
- func (fpaov *Resource_FieldTerminalPathArrayOfValues) AsNameArrayOfValues() ([]*Name, bool)
- func (fpaov *Resource_FieldTerminalPathArrayOfValues) AsPluralNameArrayOfValues() ([]string, bool)
- func (fpaov *Resource_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})
- type Resource_FieldTerminalPathValue
- func (fpv *Resource_FieldTerminalPathValue) AsFqnValue() (string, bool)
- func (fpv *Resource_FieldTerminalPathValue) AsIsRegionalValue() (bool, bool)
- func (fpv *Resource_FieldTerminalPathValue) AsMetadataValue() (*ntt_meta.Meta, bool)
- func (fpv *Resource_FieldTerminalPathValue) AsNameValue() (*Name, bool)
- func (fpv *Resource_FieldTerminalPathValue) AsPluralNameValue() (string, bool)
- func (fpv *Resource_FieldTerminalPathValue) CompareWith(source *Resource) (int, bool)
- func (fpv *Resource_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)
- func (fpv *Resource_FieldTerminalPathValue) GetRawValue() interface{}
- func (fpv *Resource_FieldTerminalPathValue) SetTo(target **Resource)
- func (fpv *Resource_FieldTerminalPathValue) SetToRaw(target proto.Message)
- type WatchQuery
- func (q *WatchQuery) GetMaximumChunkSize() int
- func (q *WatchQuery) GetResumeToken() string
- func (q *WatchQuery) GetStartingTime() *timestamppb.Timestamp
- func (q *WatchQuery) GetWatchType() watch_type.WatchType
- func (q *WatchQuery) SetMaximumChunkSize(chunkSize int)
- func (q *WatchQuery) SetResumeToken(token string)
- func (q *WatchQuery) SetStartingTime(startingTime *timestamppb.Timestamp)
- func (q *WatchQuery) SetWatchType(watchType watch_type.WatchType)
- func (q *WatchQuery) String() string
Constants ¶
const (
NamePattern_Service = "services/{service}/resources/{resource}"
)
Variables ¶
This section is empty.
Functions ¶
func AsAnyCastAccess ¶
func AsAnyCastAccess(access ResourceAccess) 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 ¶
func (d *Descriptor) NewResourceFieldMask() gotenobject.FieldMask
func (*Descriptor) NewResourceFilter ¶
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 ¶
func (d *Descriptor) NewResourceOrderBy() gotenresource.OrderBy
func (*Descriptor) NewResourcePager ¶ added in v0.9.0
func (d *Descriptor) NewResourcePager() gotenresource.PagerQuery
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 Resource_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 *Resource) bool // Whether this condition is at least as specific as other. // When true, any Resource 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 Resource_FieldPath) bool // contains filtered or unexported methods }
func AndFilterConditions ¶
func AndFilterConditions(conds ...FilterCondition) FilterCondition
type FilterConditionCompare ¶
type FilterConditionCompare struct { Operator filterParser.CompareOperator Resource_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 *Resource) 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 Resource_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 *Resource) 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 Resource_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 Resource_FieldPath Value Resource_FieldPathArrayItemValue Values []Resource_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 *Resource) bool
func (*FilterConditionContains) EvaluateRaw ¶
func (cond *FilterConditionContains) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionContains) GetFieldPath ¶
func (cond *FilterConditionContains) GetFieldPath() Resource_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 Resource_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 {
Resource_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 *Resource) 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 Resource_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 Resource_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 *Resource) 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 Resource_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 Resource_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 *Resource) 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 Resource_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 *Resource) 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 Resource_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 {
Resource_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 *Resource) 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 Resource_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 *Resource_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 *Resource_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 { ParentName ResourceId string `firestore:"resourceId"` }
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) GetServiceName ¶
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) Parent ¶
func (b *NameBuilder) Parent() *ParentName
func (*NameBuilder) ParentReference ¶
func (b *NameBuilder) ParentReference() *ParentReference
func (*NameBuilder) Reference ¶
func (b *NameBuilder) Reference() *Reference
func (*NameBuilder) SetId ¶
func (b *NameBuilder) SetId(id string) *NameBuilder
func (*NameBuilder) SetService ¶
func (b *NameBuilder) SetService(parent *service.Name) *NameBuilder
func (*NameBuilder) SetServiceId ¶
func (b *NameBuilder) SetServiceId(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() *Resource_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 ResourceList, elem *Resource) (ResourceList, 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 ResourceList)
func (*OrderBy) SortRaw ¶
func (orderBy *OrderBy) SortRaw(results gotenresource.ResourceList)
type OrderByField ¶
type OrderByField struct { FieldPath Resource_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 *Resource) 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 ParentName ¶
type ParentName struct { NamePattern ServiceId string `firestore:"serviceId"` }
func MustParseParentName ¶
func MustParseParentName(name string) *ParentName
func ParseParentName ¶
func ParseParentName(name string) (*ParentName, error)
func (*ParentName) AsRawReference ¶
func (name *ParentName) AsRawReference() gotenresource.Reference
func (*ParentName) AsReference ¶
func (name *ParentName) AsReference() *ParentReference
func (*ParentName) DescendsFrom ¶
func (name *ParentName) DescendsFrom(ancestor string) bool
func (*ParentName) FullyQualifiedName ¶
func (name *ParentName) FullyQualifiedName() (string, error)
func (*ParentName) GetIParentName ¶ added in v0.8.0
func (name *ParentName) GetIParentName() gotenresource.Name
func (*ParentName) GetIUnderlyingParentName ¶ added in v0.8.0
func (name *ParentName) GetIUnderlyingParentName() gotenresource.Name
func (*ParentName) GetIdParts ¶
func (name *ParentName) GetIdParts() map[string]string
func (*ParentName) GetPattern ¶
func (name *ParentName) GetPattern() gotenresource.NamePattern
func (*ParentName) GetResourceDescriptor ¶
func (name *ParentName) GetResourceDescriptor() gotenresource.Descriptor
func (*ParentName) GetSegments ¶
func (name *ParentName) GetSegments() gotenresource.NameSegments
func (*ParentName) GetServiceName ¶
func (name *ParentName) GetServiceName() *service.Name
func (*ParentName) GotenEqual ¶
func (name *ParentName) GotenEqual(other interface{}) bool
GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)
func (*ParentName) IsFullyQualified ¶
func (name *ParentName) IsFullyQualified() bool
func (*ParentName) IsSpecified ¶
func (name *ParentName) IsSpecified() bool
func (*ParentName) Matches ¶
func (name *ParentName) Matches(other interface{}) bool
Matches is same as GotenEqual, but also will accept "other" if name is wildcard.
func (*ParentName) ParseProtoString ¶
func (name *ParentName) ParseProtoString(data string) error
func (*ParentName) ProtoString ¶
func (name *ParentName) ProtoString() (string, error)
func (*ParentName) SetFromCliFlag ¶
func (name *ParentName) SetFromCliFlag(raw string) error
implement CustomTypeCliValue method
func (*ParentName) SetFromSegments ¶
func (name *ParentName) SetFromSegments(segments gotenresource.NameSegments) error
func (*ParentName) String ¶
func (name *ParentName) String() string
type ParentReference ¶
type ParentReference struct { ParentName // contains filtered or unexported fields }
func MakeParentReference ¶
func MakeParentReference(name *ParentName) (*ParentReference, error)
func MustParseParentReference ¶
func MustParseParentReference(name string) *ParentReference
func ParseParentReference ¶
func ParseParentReference(name string) (*ParentReference, error)
func (*ParentReference) ClearCached ¶
func (ref *ParentReference) ClearCached()
func (*ParentReference) ConvertToNative ¶ added in v0.6.9
func (name *ParentReference) ConvertToNative(typeDesc reflect.Type) (interface{}, error)
func (*ParentReference) ConvertToType ¶ added in v0.6.9
func (name *ParentReference) ConvertToType(typeVal ref.Type) ref.Val
func (*ParentReference) Equal ¶ added in v0.6.9
func (name *ParentReference) Equal(other ref.Val) ref.Val
func (*ParentReference) GetIParentName ¶ added in v0.8.0
func (ref *ParentReference) GetIParentName() gotenresource.Name
func (*ParentReference) GetIUnderlyingParentName ¶ added in v0.8.0
func (ref *ParentReference) GetIUnderlyingParentName() gotenresource.Name
func (*ParentReference) GetIdParts ¶
func (ref *ParentReference) GetIdParts() map[string]string
func (*ParentReference) GetPattern ¶
func (ref *ParentReference) GetPattern() gotenresource.NamePattern
func (*ParentReference) GetRawResource ¶
func (ref *ParentReference) GetRawResource() gotenresource.Resource
func (*ParentReference) GetResourceDescriptor ¶
func (ref *ParentReference) GetResourceDescriptor() gotenresource.Descriptor
func (*ParentReference) GetSegments ¶
func (ref *ParentReference) GetSegments() gotenresource.NameSegments
func (*ParentReference) GetService ¶
func (ref *ParentReference) GetService() *service.Service
func (*ParentReference) GetServiceReference ¶
func (ref *ParentReference) GetServiceReference() *service.Reference
func (*ParentReference) GetUnderlyingReference ¶
func (ref *ParentReference) GetUnderlyingReference() gotenresource.Reference
func (*ParentReference) GotenEqual ¶
func (ref *ParentReference) GotenEqual(other interface{}) bool
GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)
func (*ParentReference) HasTrait ¶ added in v0.6.9
func (name *ParentReference) HasTrait(trait int) bool
func (*ParentReference) IsFullyQualified ¶
func (ref *ParentReference) IsFullyQualified() bool
func (*ParentReference) IsSpecified ¶
func (ref *ParentReference) IsSpecified() bool
func (*ParentReference) Match ¶ added in v0.6.9
func (name *ParentReference) Match(pattern ref.Val) ref.Val
func (*ParentReference) Matches ¶
func (name *ParentReference) Matches(other interface{}) bool
Matches is same as GotenEqual, but also will accept "other" if name is wildcard.
func (*ParentReference) ParseProtoString ¶
func (ref *ParentReference) ParseProtoString(data string) error
func (*ParentReference) ProtoString ¶
func (ref *ParentReference) ProtoString() (string, error)
func (*ParentReference) ResolveRaw ¶
func (ref *ParentReference) ResolveRaw(res gotenresource.Resource) error
func (*ParentReference) Resolved ¶
func (ref *ParentReference) Resolved() bool
func (*ParentReference) SetFromCliFlag ¶
func (ref *ParentReference) SetFromCliFlag(raw string) error
implement CustomTypeCliValue method
func (*ParentReference) String ¶
func (ref *ParentReference) String() string
func (*ParentReference) Type ¶ added in v0.6.9
func (name *ParentReference) Type() ref.Type
func (*ParentReference) TypeName ¶ added in v0.6.9
func (name *ParentReference) TypeName() string
func (*ParentReference) Value ¶ added in v0.6.9
func (name *ParentReference) Value() interface{}
type QueryResultChange ¶
type QueryResultChange struct { Changes []*ResourceChange 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 { Resources []*Resource 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) GetRawResource ¶
func (ref *Reference) GetRawResource() gotenresource.Resource
func (*Reference) GetResource ¶
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 Resource ¶
type Resource struct { // Name of Resource in CamelCase, for example "Device" Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"` // Plural name of resource in CamelForm, for example "Devices" PluralName string `protobuf:"bytes,2,opt,name=plural_name,json=pluralName,proto3" json:"plural_name,omitempty" firestore:"pluralName"` // Fully qualified name, for example devices.edgelq.com/Device. // It can also be derived from name too. Fqn string `protobuf:"bytes,3,opt,name=fqn,proto3" json:"fqn,omitempty" firestore:"fqn"` // Whether resource is regional IsRegional bool `protobuf:"varint,4,opt,name=is_regional,json=isRegional,proto3" json:"is_regional,omitempty" firestore:"isRegional"` // Metadata Metadata *ntt_meta.Meta `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"` // contains filtered or unexported fields }
Resource Resource
func (*Resource) CloneRaw ¶
func (o *Resource) CloneRaw() gotenobject.GotenObjectExt
func (*Resource) Descriptor ¶
Deprecated, Use Resource.ProtoReflect.Descriptor instead.
func (*Resource) GetIsRegional ¶
func (*Resource) GetMetadata ¶
func (*Resource) GetPluralName ¶
func (*Resource) GetRawName ¶
func (r *Resource) GetRawName() gotenresource.Name
func (*Resource) GetResourceDescriptor ¶
func (r *Resource) GetResourceDescriptor() gotenresource.Descriptor
func (*Resource) GotenMessage ¶
func (*Resource) GotenMessage()
func (*Resource) GotenObjectExt ¶
func (o *Resource) GotenObjectExt()
func (*Resource) GotenValidate ¶
func (*Resource) MakeDiffFieldMask ¶
func (o *Resource) MakeDiffFieldMask(other *Resource) *Resource_FieldMask
func (*Resource) MakeFullFieldMask ¶
func (o *Resource) MakeFullFieldMask() *Resource_FieldMask
func (*Resource) MakeRawDiffFieldMask ¶
func (o *Resource) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask
func (*Resource) MakeRawFullFieldMask ¶
func (o *Resource) MakeRawFullFieldMask() gotenobject.FieldMask
func (*Resource) MarshalJSON ¶
func (*Resource) MaybePopulateDefaults ¶
func (*Resource) MergeRaw ¶
func (o *Resource) MergeRaw(source gotenobject.GotenObjectExt)
func (*Resource) ProtoMessage ¶
func (*Resource) ProtoMessage()
func (*Resource) ProtoReflect ¶
func (*Resource) SetIsRegional ¶
func (*Resource) SetMetadata ¶
func (*Resource) SetPluralName ¶
func (*Resource) UnmarshalJSON ¶
type ResourceAccess ¶
type ResourceAccess interface { GetResource(context.Context, *GetQuery) (*Resource, error) BatchGetResources(context.Context, []*Reference, ...gotenresource.BatchGetOption) error QueryResources(context.Context, *ListQuery) (*QueryResultSnapshot, error) WatchResource(context.Context, *GetQuery, func(*ResourceChange) error) error WatchResources(context.Context, *WatchQuery, func(*QueryResultChange) error) error SaveResource(context.Context, *Resource, ...gotenresource.SaveOption) error DeleteResource(context.Context, *Reference, ...gotenresource.DeleteOption) error }
type ResourceChange ¶
type ResourceChange struct { // Resource change // // Types that are valid to be assigned to ChangeType: // *ResourceChange_Added_ // *ResourceChange_Modified_ // *ResourceChange_Current_ // *ResourceChange_Removed_ ChangeType isResourceChange_ChangeType `protobuf_oneof:"change_type"` // contains filtered or unexported fields }
ResourceChange is used by Watch notifications Responses to describe change of single Resource One of Added, Modified, Removed
func (*ResourceChange) Descriptor ¶
func (*ResourceChange) Descriptor() ([]byte, []int)
Deprecated, Use ResourceChange.ProtoReflect.Descriptor instead.
func (*ResourceChange) GetAdded ¶
func (m *ResourceChange) GetAdded() *ResourceChange_Added
func (*ResourceChange) GetChangeType ¶
func (m *ResourceChange) GetChangeType() isResourceChange_ChangeType
func (*ResourceChange) GetCurrent ¶
func (m *ResourceChange) GetCurrent() *ResourceChange_Current
func (*ResourceChange) GetCurrentViewIndex ¶
func (c *ResourceChange) GetCurrentViewIndex() int32
func (*ResourceChange) GetModified ¶
func (m *ResourceChange) GetModified() *ResourceChange_Modified
func (*ResourceChange) GetPreviousViewIndex ¶
func (c *ResourceChange) GetPreviousViewIndex() int32
func (*ResourceChange) GetRawName ¶
func (c *ResourceChange) GetRawName() gotenresource.Name
func (*ResourceChange) GetRawResource ¶
func (c *ResourceChange) GetRawResource() gotenresource.Resource
func (*ResourceChange) GetRemoved ¶
func (m *ResourceChange) GetRemoved() *ResourceChange_Removed
func (*ResourceChange) GetResource ¶
func (c *ResourceChange) GetResource() *Resource
func (*ResourceChange) GetResourceName ¶
func (c *ResourceChange) GetResourceName() *Name
func (*ResourceChange) GotenMessage ¶
func (*ResourceChange) GotenMessage()
func (*ResourceChange) GotenValidate ¶
func (obj *ResourceChange) GotenValidate() error
func (*ResourceChange) IsAdd ¶
func (c *ResourceChange) IsAdd() bool
func (*ResourceChange) IsCurrent ¶
func (c *ResourceChange) IsCurrent() bool
func (*ResourceChange) IsDelete ¶
func (c *ResourceChange) IsDelete() bool
func (*ResourceChange) IsModify ¶
func (c *ResourceChange) IsModify() bool
func (*ResourceChange) Marshal ¶
func (m *ResourceChange) Marshal() ([]byte, error)
func (*ResourceChange) MarshalJSON ¶
func (m *ResourceChange) MarshalJSON() ([]byte, error)
func (*ResourceChange) ProtoMessage ¶
func (*ResourceChange) ProtoMessage()
func (*ResourceChange) ProtoReflect ¶
func (m *ResourceChange) ProtoReflect() preflect.Message
func (*ResourceChange) Reset ¶
func (m *ResourceChange) Reset()
func (*ResourceChange) SetAdded ¶
func (m *ResourceChange) SetAdded(fv *ResourceChange_Added)
func (*ResourceChange) SetAddedRaw ¶
func (c *ResourceChange) SetAddedRaw(snapshot gotenresource.Resource, idx int)
func (*ResourceChange) SetChangeType ¶
func (m *ResourceChange) SetChangeType(ofv isResourceChange_ChangeType)
func (*ResourceChange) SetCurrent ¶
func (m *ResourceChange) SetCurrent(fv *ResourceChange_Current)
func (*ResourceChange) SetCurrentRaw ¶
func (c *ResourceChange) SetCurrentRaw(snapshot gotenresource.Resource)
func (*ResourceChange) SetDeletedRaw ¶
func (c *ResourceChange) SetDeletedRaw(name gotenresource.Name, idx int)
func (*ResourceChange) SetModified ¶
func (m *ResourceChange) SetModified(fv *ResourceChange_Modified)
func (*ResourceChange) SetModifiedRaw ¶
func (c *ResourceChange) SetModifiedRaw(name gotenresource.Name, snapshot gotenresource.Resource, prevIdx int, newIdx int)
func (*ResourceChange) SetRemoved ¶
func (m *ResourceChange) SetRemoved(fv *ResourceChange_Removed)
func (*ResourceChange) String ¶
func (m *ResourceChange) String() string
func (*ResourceChange) Unmarshal ¶
func (m *ResourceChange) Unmarshal(b []byte) error
func (*ResourceChange) UnmarshalJSON ¶
func (m *ResourceChange) UnmarshalJSON(data []byte) error
type ResourceChangeList ¶
type ResourceChangeList []*ResourceChange
func (ResourceChangeList) Append ¶
func (l ResourceChangeList) Append(item gotenresource.ResourceChange) gotenresource.ResourceChangeList
func (ResourceChangeList) AppendList ¶
func (l ResourceChangeList) AppendList(list gotenresource.ResourceChangeList) gotenresource.ResourceChangeList
func (ResourceChangeList) At ¶
func (l ResourceChangeList) At(idx int) gotenresource.ResourceChange
func (ResourceChangeList) Length ¶
func (l ResourceChangeList) Length() int
func (ResourceChangeList) Set ¶
func (l ResourceChangeList) Set(idx int, change gotenresource.ResourceChange)
func (ResourceChangeList) Slice ¶
func (l ResourceChangeList) Slice(first, second int) gotenresource.ResourceChangeList
type ResourceChangeMap ¶
type ResourceChangeMap map[Name]*ResourceChange
func (ResourceChangeMap) Delete ¶
func (m ResourceChangeMap) Delete(name gotenresource.Name)
func (ResourceChangeMap) ForEach ¶
func (m ResourceChangeMap) ForEach(cb func(gotenresource.Name, gotenresource.ResourceChange) bool)
func (ResourceChangeMap) Get ¶
func (m ResourceChangeMap) Get(name gotenresource.Name) gotenresource.ResourceChange
func (ResourceChangeMap) Length ¶
func (m ResourceChangeMap) Length() int
func (ResourceChangeMap) Set ¶
func (m ResourceChangeMap) Set(change gotenresource.ResourceChange)
type ResourceChange_Added ¶
type ResourceChange_Added struct { Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty" firestore:"resource"` // Integer describing index of added Resource 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 }
Resource has been added to query view
func (*ResourceChange_Added) Descriptor ¶
func (*ResourceChange_Added) Descriptor() ([]byte, []int)
Deprecated, Use ResourceChange_Added.ProtoReflect.Descriptor instead.
func (*ResourceChange_Added) GetResource ¶
func (m *ResourceChange_Added) GetResource() *Resource
func (*ResourceChange_Added) GetViewIndex ¶
func (m *ResourceChange_Added) GetViewIndex() int32
func (*ResourceChange_Added) GotenMessage ¶
func (*ResourceChange_Added) GotenMessage()
func (*ResourceChange_Added) GotenValidate ¶
func (obj *ResourceChange_Added) GotenValidate() error
func (*ResourceChange_Added) Marshal ¶
func (m *ResourceChange_Added) Marshal() ([]byte, error)
func (*ResourceChange_Added) MarshalJSON ¶
func (m *ResourceChange_Added) MarshalJSON() ([]byte, error)
func (*ResourceChange_Added) ProtoMessage ¶
func (*ResourceChange_Added) ProtoMessage()
func (*ResourceChange_Added) ProtoReflect ¶
func (m *ResourceChange_Added) ProtoReflect() preflect.Message
func (*ResourceChange_Added) Reset ¶
func (m *ResourceChange_Added) Reset()
func (*ResourceChange_Added) SetResource ¶
func (m *ResourceChange_Added) SetResource(fv *Resource)
func (*ResourceChange_Added) SetViewIndex ¶
func (m *ResourceChange_Added) SetViewIndex(fv int32)
func (*ResourceChange_Added) String ¶
func (m *ResourceChange_Added) String() string
func (*ResourceChange_Added) Unmarshal ¶
func (m *ResourceChange_Added) Unmarshal(b []byte) error
func (*ResourceChange_Added) UnmarshalJSON ¶
func (m *ResourceChange_Added) UnmarshalJSON(data []byte) error
type ResourceChange_Added_ ¶
type ResourceChange_Added_ struct { // Added is returned when watched document is added, either created or // enters Query view Added *ResourceChange_Added `protobuf:"bytes,1,opt,name=added,proto3,oneof" firestore:"added"` }
type ResourceChange_Current ¶
type ResourceChange_Current struct { Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty" firestore:"resource"` // contains filtered or unexported fields }
Resource has been added or modified in a query view. Version used for stateless watching
func (*ResourceChange_Current) Descriptor ¶
func (*ResourceChange_Current) Descriptor() ([]byte, []int)
Deprecated, Use ResourceChange_Current.ProtoReflect.Descriptor instead.
func (*ResourceChange_Current) GetResource ¶
func (m *ResourceChange_Current) GetResource() *Resource
func (*ResourceChange_Current) GotenMessage ¶
func (*ResourceChange_Current) GotenMessage()
func (*ResourceChange_Current) GotenValidate ¶
func (obj *ResourceChange_Current) GotenValidate() error
func (*ResourceChange_Current) Marshal ¶
func (m *ResourceChange_Current) Marshal() ([]byte, error)
func (*ResourceChange_Current) MarshalJSON ¶
func (m *ResourceChange_Current) MarshalJSON() ([]byte, error)
func (*ResourceChange_Current) ProtoMessage ¶
func (*ResourceChange_Current) ProtoMessage()
func (*ResourceChange_Current) ProtoReflect ¶
func (m *ResourceChange_Current) ProtoReflect() preflect.Message
func (*ResourceChange_Current) Reset ¶
func (m *ResourceChange_Current) Reset()
func (*ResourceChange_Current) SetResource ¶
func (m *ResourceChange_Current) SetResource(fv *Resource)
func (*ResourceChange_Current) String ¶
func (m *ResourceChange_Current) String() string
func (*ResourceChange_Current) Unmarshal ¶
func (m *ResourceChange_Current) Unmarshal(b []byte) error
func (*ResourceChange_Current) UnmarshalJSON ¶
func (m *ResourceChange_Current) UnmarshalJSON(data []byte) error
type ResourceChange_Current_ ¶
type ResourceChange_Current_ struct { // Current is returned in stateless watch when document enters query view or // is modified within. Current *ResourceChange_Current `protobuf:"bytes,4,opt,name=current,proto3,oneof" firestore:"current"` }
type ResourceChange_Modified ¶
type ResourceChange_Modified struct { // Name of modified Resource Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"` // New version of Resource or masked difference, depending on mask_changes // instrumentation of issued [WatchResourceRequest] or // [WatchResourcesRequest] Resource *Resource `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty" firestore:"resource"` // Used when mask_changes is set, contains field paths of modified // properties. FieldMask *Resource_FieldMask `` /* 140-byte string literal not displayed */ // Previous view index specifies previous position of modified Resource. // When modification doesn't affect sorted order, value will remain // identical to [view_index]. PreviousViewIndex int32 `` /* 145-byte string literal not displayed */ // Integer specifying Resource 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 }
Resource changed some of it's fields - contains either full document or masked change
func (*ResourceChange_Modified) Descriptor ¶
func (*ResourceChange_Modified) Descriptor() ([]byte, []int)
Deprecated, Use ResourceChange_Modified.ProtoReflect.Descriptor instead.
func (*ResourceChange_Modified) GetFieldMask ¶
func (m *ResourceChange_Modified) GetFieldMask() *Resource_FieldMask
func (*ResourceChange_Modified) GetName ¶
func (m *ResourceChange_Modified) GetName() *Name
func (*ResourceChange_Modified) GetPreviousViewIndex ¶
func (m *ResourceChange_Modified) GetPreviousViewIndex() int32
func (*ResourceChange_Modified) GetResource ¶
func (m *ResourceChange_Modified) GetResource() *Resource
func (*ResourceChange_Modified) GetViewIndex ¶
func (m *ResourceChange_Modified) GetViewIndex() int32
func (*ResourceChange_Modified) GotenMessage ¶
func (*ResourceChange_Modified) GotenMessage()
func (*ResourceChange_Modified) GotenValidate ¶
func (obj *ResourceChange_Modified) GotenValidate() error
func (*ResourceChange_Modified) Marshal ¶
func (m *ResourceChange_Modified) Marshal() ([]byte, error)
func (*ResourceChange_Modified) MarshalJSON ¶
func (m *ResourceChange_Modified) MarshalJSON() ([]byte, error)
func (*ResourceChange_Modified) ProtoMessage ¶
func (*ResourceChange_Modified) ProtoMessage()
func (*ResourceChange_Modified) ProtoReflect ¶
func (m *ResourceChange_Modified) ProtoReflect() preflect.Message
func (*ResourceChange_Modified) Reset ¶
func (m *ResourceChange_Modified) Reset()
func (*ResourceChange_Modified) SetFieldMask ¶
func (m *ResourceChange_Modified) SetFieldMask(fv *Resource_FieldMask)
func (*ResourceChange_Modified) SetName ¶
func (m *ResourceChange_Modified) SetName(fv *Name)
func (*ResourceChange_Modified) SetPreviousViewIndex ¶
func (m *ResourceChange_Modified) SetPreviousViewIndex(fv int32)
func (*ResourceChange_Modified) SetResource ¶
func (m *ResourceChange_Modified) SetResource(fv *Resource)
func (*ResourceChange_Modified) SetViewIndex ¶
func (m *ResourceChange_Modified) SetViewIndex(fv int32)
func (*ResourceChange_Modified) String ¶
func (m *ResourceChange_Modified) String() string
func (*ResourceChange_Modified) Unmarshal ¶
func (m *ResourceChange_Modified) Unmarshal(b []byte) error
func (*ResourceChange_Modified) UnmarshalJSON ¶
func (m *ResourceChange_Modified) UnmarshalJSON(data []byte) error
type ResourceChange_Modified_ ¶
type ResourceChange_Modified_ struct { // Modified is returned when watched document is modified Modified *ResourceChange_Modified `protobuf:"bytes,2,opt,name=modified,proto3,oneof" firestore:"modified"` }
type ResourceChange_Removed ¶
type ResourceChange_Removed struct { Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"` // Integer specifying removed Resource 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 Resource is deleted or leaves Query view
func (*ResourceChange_Removed) Descriptor ¶
func (*ResourceChange_Removed) Descriptor() ([]byte, []int)
Deprecated, Use ResourceChange_Removed.ProtoReflect.Descriptor instead.
func (*ResourceChange_Removed) GetName ¶
func (m *ResourceChange_Removed) GetName() *Name
func (*ResourceChange_Removed) GetViewIndex ¶
func (m *ResourceChange_Removed) GetViewIndex() int32
func (*ResourceChange_Removed) GotenMessage ¶
func (*ResourceChange_Removed) GotenMessage()
func (*ResourceChange_Removed) GotenValidate ¶
func (obj *ResourceChange_Removed) GotenValidate() error
func (*ResourceChange_Removed) Marshal ¶
func (m *ResourceChange_Removed) Marshal() ([]byte, error)
func (*ResourceChange_Removed) MarshalJSON ¶
func (m *ResourceChange_Removed) MarshalJSON() ([]byte, error)
func (*ResourceChange_Removed) ProtoMessage ¶
func (*ResourceChange_Removed) ProtoMessage()
func (*ResourceChange_Removed) ProtoReflect ¶
func (m *ResourceChange_Removed) ProtoReflect() preflect.Message
func (*ResourceChange_Removed) Reset ¶
func (m *ResourceChange_Removed) Reset()
func (*ResourceChange_Removed) SetName ¶
func (m *ResourceChange_Removed) SetName(fv *Name)
func (*ResourceChange_Removed) SetViewIndex ¶
func (m *ResourceChange_Removed) SetViewIndex(fv int32)
func (*ResourceChange_Removed) String ¶
func (m *ResourceChange_Removed) String() string
func (*ResourceChange_Removed) Unmarshal ¶
func (m *ResourceChange_Removed) Unmarshal(b []byte) error
func (*ResourceChange_Removed) UnmarshalJSON ¶
func (m *ResourceChange_Removed) UnmarshalJSON(data []byte) error
type ResourceChange_Removed_ ¶
type ResourceChange_Removed_ struct { // Removed is returned when Resource is deleted or leaves Query view Removed *ResourceChange_Removed `protobuf:"bytes,3,opt,name=removed,proto3,oneof" firestore:"removed"` }
type ResourceFieldPathBuilder ¶
type ResourceFieldPathBuilder struct{}
func NewResourceFieldPathBuilder ¶
func NewResourceFieldPathBuilder() ResourceFieldPathBuilder
func (ResourceFieldPathBuilder) Fqn ¶
func (ResourceFieldPathBuilder) Fqn() ResourcePathSelectorFqn
func (ResourceFieldPathBuilder) IsRegional ¶
func (ResourceFieldPathBuilder) IsRegional() ResourcePathSelectorIsRegional
func (ResourceFieldPathBuilder) Metadata ¶
func (ResourceFieldPathBuilder) Metadata() ResourcePathSelectorMetadata
func (ResourceFieldPathBuilder) Name ¶
func (ResourceFieldPathBuilder) Name() ResourcePathSelectorName
func (ResourceFieldPathBuilder) PluralName ¶
func (ResourceFieldPathBuilder) PluralName() ResourcePathSelectorPluralName
type ResourceList ¶
type ResourceList []*Resource
func (ResourceList) Append ¶
func (l ResourceList) Append(item gotenresource.Resource) gotenresource.ResourceList
func (ResourceList) AppendList ¶
func (l ResourceList) AppendList(list gotenresource.ResourceList) gotenresource.ResourceList
func (ResourceList) At ¶
func (l ResourceList) At(idx int) gotenresource.Resource
func (ResourceList) Length ¶
func (l ResourceList) Length() int
func (ResourceList) Set ¶
func (l ResourceList) Set(idx int, res gotenresource.Resource)
func (ResourceList) Slice ¶
func (l ResourceList) Slice(first, second int) gotenresource.ResourceList
type ResourceMap ¶
func (ResourceMap) Delete ¶
func (m ResourceMap) Delete(name gotenresource.Name)
func (ResourceMap) ForEach ¶
func (m ResourceMap) ForEach(cb func(gotenresource.Name, gotenresource.Resource) bool)
func (ResourceMap) Get ¶
func (m ResourceMap) Get(name gotenresource.Name) gotenresource.Resource
func (ResourceMap) Length ¶
func (m ResourceMap) Length() int
func (ResourceMap) Set ¶
func (m ResourceMap) Set(res gotenresource.Resource)
type ResourceMapPathSelectorMetadataAnnotations ¶
type ResourceMapPathSelectorMetadataAnnotations struct {
// contains filtered or unexported fields
}
func (ResourceMapPathSelectorMetadataAnnotations) FieldPath ¶
func (s ResourceMapPathSelectorMetadataAnnotations) FieldPath() *Resource_FieldSubPath
func (ResourceMapPathSelectorMetadataAnnotations) WithArrayOfValues ¶
func (s ResourceMapPathSelectorMetadataAnnotations) WithArrayOfValues(values []string) *Resource_FieldSubPathArrayOfValues
func (ResourceMapPathSelectorMetadataAnnotations) WithValue ¶
func (s ResourceMapPathSelectorMetadataAnnotations) WithValue(value string) *Resource_FieldSubPathValue
type ResourceMapPathSelectorMetadataLabels ¶
type ResourceMapPathSelectorMetadataLabels struct {
// contains filtered or unexported fields
}
func (ResourceMapPathSelectorMetadataLabels) FieldPath ¶
func (s ResourceMapPathSelectorMetadataLabels) FieldPath() *Resource_FieldSubPath
func (ResourceMapPathSelectorMetadataLabels) WithArrayOfValues ¶
func (s ResourceMapPathSelectorMetadataLabels) WithArrayOfValues(values []string) *Resource_FieldSubPathArrayOfValues
func (ResourceMapPathSelectorMetadataLabels) WithValue ¶
func (s ResourceMapPathSelectorMetadataLabels) WithValue(value string) *Resource_FieldSubPathValue
type ResourceMapPathSelectorMetadataShards ¶
type ResourceMapPathSelectorMetadataShards struct {
// contains filtered or unexported fields
}
func (ResourceMapPathSelectorMetadataShards) FieldPath ¶
func (s ResourceMapPathSelectorMetadataShards) FieldPath() *Resource_FieldSubPath
func (ResourceMapPathSelectorMetadataShards) WithArrayOfValues ¶
func (s ResourceMapPathSelectorMetadataShards) WithArrayOfValues(values []int64) *Resource_FieldSubPathArrayOfValues
func (ResourceMapPathSelectorMetadataShards) WithValue ¶
func (s ResourceMapPathSelectorMetadataShards) WithValue(value int64) *Resource_FieldSubPathValue
type ResourceNameList ¶
type ResourceNameList []*Name
func (ResourceNameList) Append ¶
func (l ResourceNameList) Append(name gotenresource.Name) gotenresource.NameList
func (ResourceNameList) AppendList ¶
func (l ResourceNameList) AppendList(list gotenresource.NameList) gotenresource.NameList
func (ResourceNameList) At ¶
func (l ResourceNameList) At(idx int) gotenresource.Name
func (ResourceNameList) Length ¶
func (l ResourceNameList) Length() int
func (ResourceNameList) Set ¶
func (l ResourceNameList) Set(idx int, name gotenresource.Name)
func (ResourceNameList) Slice ¶
func (l ResourceNameList) Slice(first, second int) gotenresource.NameList
type ResourceParentNameList ¶
type ResourceParentNameList []*ParentName
func (ResourceParentNameList) Append ¶
func (l ResourceParentNameList) Append(name gotenresource.Name) gotenresource.ParentNameList
func (ResourceParentNameList) AppendList ¶
func (l ResourceParentNameList) AppendList(list gotenresource.ParentNameList) gotenresource.ParentNameList
func (ResourceParentNameList) At ¶
func (l ResourceParentNameList) At(idx int) gotenresource.Name
func (ResourceParentNameList) Length ¶
func (l ResourceParentNameList) Length() int
func (ResourceParentNameList) Set ¶
func (l ResourceParentNameList) Set(idx int, name gotenresource.Name)
func (ResourceParentNameList) Slice ¶
func (l ResourceParentNameList) Slice(first, second int) gotenresource.ParentNameList
type ResourceParentReferenceList ¶
type ResourceParentReferenceList []*ParentReference
func (ResourceParentReferenceList) Append ¶
func (l ResourceParentReferenceList) Append(ref gotenresource.Reference) gotenresource.ParentReferenceList
func (ResourceParentReferenceList) AppendList ¶
func (l ResourceParentReferenceList) AppendList(list gotenresource.ParentReferenceList) gotenresource.ParentReferenceList
func (ResourceParentReferenceList) At ¶
func (l ResourceParentReferenceList) At(idx int) gotenresource.Reference
func (ResourceParentReferenceList) Length ¶
func (l ResourceParentReferenceList) Length() int
func (ResourceParentReferenceList) Set ¶
func (l ResourceParentReferenceList) Set(idx int, ref gotenresource.Reference)
func (ResourceParentReferenceList) Slice ¶
func (l ResourceParentReferenceList) Slice(first, second int) gotenresource.ParentReferenceList
type ResourcePathSelectorFqn ¶
type ResourcePathSelectorFqn struct{}
func (ResourcePathSelectorFqn) FieldPath ¶
func (ResourcePathSelectorFqn) FieldPath() *Resource_FieldTerminalPath
func (ResourcePathSelectorFqn) WithArrayOfValues ¶
func (s ResourcePathSelectorFqn) WithArrayOfValues(values []string) *Resource_FieldTerminalPathArrayOfValues
func (ResourcePathSelectorFqn) WithValue ¶
func (s ResourcePathSelectorFqn) WithValue(value string) *Resource_FieldTerminalPathValue
type ResourcePathSelectorIsRegional ¶
type ResourcePathSelectorIsRegional struct{}
func (ResourcePathSelectorIsRegional) FieldPath ¶
func (ResourcePathSelectorIsRegional) FieldPath() *Resource_FieldTerminalPath
func (ResourcePathSelectorIsRegional) WithArrayOfValues ¶
func (s ResourcePathSelectorIsRegional) WithArrayOfValues(values []bool) *Resource_FieldTerminalPathArrayOfValues
func (ResourcePathSelectorIsRegional) WithValue ¶
func (s ResourcePathSelectorIsRegional) WithValue(value bool) *Resource_FieldTerminalPathValue
type ResourcePathSelectorMetadata ¶
type ResourcePathSelectorMetadata struct{}
func (ResourcePathSelectorMetadata) Annotations ¶
func (ResourcePathSelectorMetadata) Annotations() ResourcePathSelectorMetadataAnnotations
func (ResourcePathSelectorMetadata) CreateTime ¶
func (ResourcePathSelectorMetadata) CreateTime() ResourcePathSelectorMetadataCreateTime
func (ResourcePathSelectorMetadata) DeleteTime ¶ added in v0.8.0
func (ResourcePathSelectorMetadata) DeleteTime() ResourcePathSelectorMetadataDeleteTime
func (ResourcePathSelectorMetadata) FieldPath ¶
func (ResourcePathSelectorMetadata) FieldPath() *Resource_FieldTerminalPath
func (ResourcePathSelectorMetadata) Generation ¶
func (ResourcePathSelectorMetadata) Generation() ResourcePathSelectorMetadataGeneration
func (ResourcePathSelectorMetadata) Labels ¶
func (ResourcePathSelectorMetadata) Labels() ResourcePathSelectorMetadataLabels
func (ResourcePathSelectorMetadata) Lifecycle ¶ added in v0.8.0
func (ResourcePathSelectorMetadata) Lifecycle() ResourcePathSelectorMetadataLifecycle
func (ResourcePathSelectorMetadata) OwnerReferences ¶
func (ResourcePathSelectorMetadata) OwnerReferences() ResourcePathSelectorMetadataOwnerReferences
func (ResourcePathSelectorMetadata) ResourceVersion ¶
func (ResourcePathSelectorMetadata) ResourceVersion() ResourcePathSelectorMetadataResourceVersion
func (ResourcePathSelectorMetadata) Shards ¶
func (ResourcePathSelectorMetadata) Shards() ResourcePathSelectorMetadataShards
func (ResourcePathSelectorMetadata) Syncing ¶
func (ResourcePathSelectorMetadata) Syncing() ResourcePathSelectorMetadataSyncing
func (ResourcePathSelectorMetadata) Tags ¶
func (ResourcePathSelectorMetadata) Tags() ResourcePathSelectorMetadataTags
func (ResourcePathSelectorMetadata) UpdateTime ¶
func (ResourcePathSelectorMetadata) UpdateTime() ResourcePathSelectorMetadataUpdateTime
func (ResourcePathSelectorMetadata) Uuid ¶
func (ResourcePathSelectorMetadata) Uuid() ResourcePathSelectorMetadataUuid
func (ResourcePathSelectorMetadata) WithArrayOfValues ¶
func (s ResourcePathSelectorMetadata) WithArrayOfValues(values []*ntt_meta.Meta) *Resource_FieldTerminalPathArrayOfValues
func (ResourcePathSelectorMetadata) WithSubArrayItemValue ¶
func (s ResourcePathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue ntt_meta.Meta_FieldPathArrayItemValue) *Resource_FieldSubPathArrayItemValue
func (ResourcePathSelectorMetadata) WithSubArrayOfValues ¶
func (s ResourcePathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues ntt_meta.Meta_FieldPathArrayOfValues) *Resource_FieldSubPathArrayOfValues
func (ResourcePathSelectorMetadata) WithSubPath ¶
func (ResourcePathSelectorMetadata) WithSubPath(subPath ntt_meta.Meta_FieldPath) *Resource_FieldSubPath
func (ResourcePathSelectorMetadata) WithSubValue ¶
func (s ResourcePathSelectorMetadata) WithSubValue(subPathValue ntt_meta.Meta_FieldPathValue) *Resource_FieldSubPathValue
func (ResourcePathSelectorMetadata) WithValue ¶
func (s ResourcePathSelectorMetadata) WithValue(value *ntt_meta.Meta) *Resource_FieldTerminalPathValue
type ResourcePathSelectorMetadataAnnotations ¶
type ResourcePathSelectorMetadataAnnotations struct{}
func (ResourcePathSelectorMetadataAnnotations) FieldPath ¶
func (ResourcePathSelectorMetadataAnnotations) FieldPath() *Resource_FieldSubPath
func (ResourcePathSelectorMetadataAnnotations) WithArrayOfValues ¶
func (s ResourcePathSelectorMetadataAnnotations) WithArrayOfValues(values []map[string]string) *Resource_FieldSubPathArrayOfValues
func (ResourcePathSelectorMetadataAnnotations) WithKey ¶
func (ResourcePathSelectorMetadataAnnotations) WithKey(key string) ResourceMapPathSelectorMetadataAnnotations
func (ResourcePathSelectorMetadataAnnotations) WithValue ¶
func (s ResourcePathSelectorMetadataAnnotations) WithValue(value map[string]string) *Resource_FieldSubPathValue
type ResourcePathSelectorMetadataCreateTime ¶
type ResourcePathSelectorMetadataCreateTime struct{}
func (ResourcePathSelectorMetadataCreateTime) FieldPath ¶
func (ResourcePathSelectorMetadataCreateTime) FieldPath() *Resource_FieldSubPath
func (ResourcePathSelectorMetadataCreateTime) WithArrayOfValues ¶
func (s ResourcePathSelectorMetadataCreateTime) WithArrayOfValues(values []*timestamp.Timestamp) *Resource_FieldSubPathArrayOfValues
func (ResourcePathSelectorMetadataCreateTime) WithValue ¶
func (s ResourcePathSelectorMetadataCreateTime) WithValue(value *timestamp.Timestamp) *Resource_FieldSubPathValue
type ResourcePathSelectorMetadataDeleteTime ¶ added in v0.8.0
type ResourcePathSelectorMetadataDeleteTime struct{}
func (ResourcePathSelectorMetadataDeleteTime) FieldPath ¶ added in v0.8.0
func (ResourcePathSelectorMetadataDeleteTime) FieldPath() *Resource_FieldSubPath
func (ResourcePathSelectorMetadataDeleteTime) WithArrayOfValues ¶ added in v0.8.0
func (s ResourcePathSelectorMetadataDeleteTime) WithArrayOfValues(values []*timestamp.Timestamp) *Resource_FieldSubPathArrayOfValues
func (ResourcePathSelectorMetadataDeleteTime) WithValue ¶ added in v0.8.0
func (s ResourcePathSelectorMetadataDeleteTime) WithValue(value *timestamp.Timestamp) *Resource_FieldSubPathValue
type ResourcePathSelectorMetadataGeneration ¶
type ResourcePathSelectorMetadataGeneration struct{}
func (ResourcePathSelectorMetadataGeneration) FieldPath ¶
func (ResourcePathSelectorMetadataGeneration) FieldPath() *Resource_FieldSubPath
func (ResourcePathSelectorMetadataGeneration) WithArrayOfValues ¶
func (s ResourcePathSelectorMetadataGeneration) WithArrayOfValues(values []int64) *Resource_FieldSubPathArrayOfValues
func (ResourcePathSelectorMetadataGeneration) WithValue ¶
func (s ResourcePathSelectorMetadataGeneration) WithValue(value int64) *Resource_FieldSubPathValue
type ResourcePathSelectorMetadataLabels ¶
type ResourcePathSelectorMetadataLabels struct{}
func (ResourcePathSelectorMetadataLabels) FieldPath ¶
func (ResourcePathSelectorMetadataLabels) FieldPath() *Resource_FieldSubPath
func (ResourcePathSelectorMetadataLabels) WithArrayOfValues ¶
func (s ResourcePathSelectorMetadataLabels) WithArrayOfValues(values []map[string]string) *Resource_FieldSubPathArrayOfValues
func (ResourcePathSelectorMetadataLabels) WithKey ¶
func (ResourcePathSelectorMetadataLabels) WithKey(key string) ResourceMapPathSelectorMetadataLabels
func (ResourcePathSelectorMetadataLabels) WithValue ¶
func (s ResourcePathSelectorMetadataLabels) WithValue(value map[string]string) *Resource_FieldSubPathValue
type ResourcePathSelectorMetadataLifecycle ¶ added in v0.8.0
type ResourcePathSelectorMetadataLifecycle struct{}
func (ResourcePathSelectorMetadataLifecycle) BlockDeletion ¶ added in v0.8.0
func (ResourcePathSelectorMetadataLifecycle) BlockDeletion() ResourcePathSelectorMetadataLifecycleBlockDeletion
func (ResourcePathSelectorMetadataLifecycle) FieldPath ¶ added in v0.8.0
func (ResourcePathSelectorMetadataLifecycle) FieldPath() *Resource_FieldSubPath
func (ResourcePathSelectorMetadataLifecycle) WithArrayOfValues ¶ added in v0.8.0
func (s ResourcePathSelectorMetadataLifecycle) WithArrayOfValues(values []*ntt_meta.Lifecycle) *Resource_FieldSubPathArrayOfValues
func (ResourcePathSelectorMetadataLifecycle) WithValue ¶ added in v0.8.0
func (s ResourcePathSelectorMetadataLifecycle) WithValue(value *ntt_meta.Lifecycle) *Resource_FieldSubPathValue
type ResourcePathSelectorMetadataLifecycleBlockDeletion ¶ added in v0.8.0
type ResourcePathSelectorMetadataLifecycleBlockDeletion struct{}
func (ResourcePathSelectorMetadataLifecycleBlockDeletion) FieldPath ¶ added in v0.8.0
func (ResourcePathSelectorMetadataLifecycleBlockDeletion) FieldPath() *Resource_FieldSubPath
func (ResourcePathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues ¶ added in v0.8.0
func (s ResourcePathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues(values []bool) *Resource_FieldSubPathArrayOfValues
func (ResourcePathSelectorMetadataLifecycleBlockDeletion) WithValue ¶ added in v0.8.0
func (s ResourcePathSelectorMetadataLifecycleBlockDeletion) WithValue(value bool) *Resource_FieldSubPathValue
type ResourcePathSelectorMetadataLifecycleState ¶ added in v0.8.0
type ResourcePathSelectorMetadataLifecycleState struct{}
func (ResourcePathSelectorMetadataLifecycleState) FieldPath ¶ added in v0.8.0
func (ResourcePathSelectorMetadataLifecycleState) FieldPath() *Resource_FieldSubPath
func (ResourcePathSelectorMetadataLifecycleState) WithArrayOfValues ¶ added in v0.8.0
func (s ResourcePathSelectorMetadataLifecycleState) WithArrayOfValues(values []ntt_meta.Lifecycle_State) *Resource_FieldSubPathArrayOfValues
func (ResourcePathSelectorMetadataLifecycleState) WithValue ¶ added in v0.8.0
func (s ResourcePathSelectorMetadataLifecycleState) WithValue(value ntt_meta.Lifecycle_State) *Resource_FieldSubPathValue
type ResourcePathSelectorMetadataOwnerReferences ¶
type ResourcePathSelectorMetadataOwnerReferences struct{}
func (ResourcePathSelectorMetadataOwnerReferences) BlockOwnerDeletion ¶
func (ResourcePathSelectorMetadataOwnerReferences) BlockOwnerDeletion() ResourcePathSelectorMetadataOwnerReferencesBlockOwnerDeletion
func (ResourcePathSelectorMetadataOwnerReferences) Controller ¶
func (ResourcePathSelectorMetadataOwnerReferences) FieldPath ¶
func (ResourcePathSelectorMetadataOwnerReferences) FieldPath() *Resource_FieldSubPath
func (ResourcePathSelectorMetadataOwnerReferences) RequiresOwnerReference ¶ added in v0.8.0
func (ResourcePathSelectorMetadataOwnerReferences) RequiresOwnerReference() ResourcePathSelectorMetadataOwnerReferencesRequiresOwnerReference
func (ResourcePathSelectorMetadataOwnerReferences) WithArrayOfValues ¶
func (s ResourcePathSelectorMetadataOwnerReferences) WithArrayOfValues(values [][]*ntt_meta.OwnerReference) *Resource_FieldSubPathArrayOfValues
func (ResourcePathSelectorMetadataOwnerReferences) WithItemValue ¶
func (s ResourcePathSelectorMetadataOwnerReferences) WithItemValue(value *ntt_meta.OwnerReference) *Resource_FieldSubPathArrayItemValue
func (ResourcePathSelectorMetadataOwnerReferences) WithValue ¶
func (s ResourcePathSelectorMetadataOwnerReferences) WithValue(value []*ntt_meta.OwnerReference) *Resource_FieldSubPathValue
type ResourcePathSelectorMetadataOwnerReferencesBlockOwnerDeletion ¶
type ResourcePathSelectorMetadataOwnerReferencesBlockOwnerDeletion struct{}
func (ResourcePathSelectorMetadataOwnerReferencesBlockOwnerDeletion) FieldPath ¶
func (ResourcePathSelectorMetadataOwnerReferencesBlockOwnerDeletion) FieldPath() *Resource_FieldSubPath
func (ResourcePathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithArrayOfValues ¶
func (s ResourcePathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithArrayOfValues(values []bool) *Resource_FieldSubPathArrayOfValues
func (ResourcePathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithValue ¶
func (s ResourcePathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithValue(value bool) *Resource_FieldSubPathValue
type ResourcePathSelectorMetadataOwnerReferencesController ¶
type ResourcePathSelectorMetadataOwnerReferencesController struct{}
func (ResourcePathSelectorMetadataOwnerReferencesController) FieldPath ¶
func (ResourcePathSelectorMetadataOwnerReferencesController) FieldPath() *Resource_FieldSubPath
func (ResourcePathSelectorMetadataOwnerReferencesController) WithArrayOfValues ¶
func (s ResourcePathSelectorMetadataOwnerReferencesController) WithArrayOfValues(values []bool) *Resource_FieldSubPathArrayOfValues
func (ResourcePathSelectorMetadataOwnerReferencesController) WithValue ¶
func (s ResourcePathSelectorMetadataOwnerReferencesController) WithValue(value bool) *Resource_FieldSubPathValue
type ResourcePathSelectorMetadataOwnerReferencesKind ¶
type ResourcePathSelectorMetadataOwnerReferencesKind struct{}
func (ResourcePathSelectorMetadataOwnerReferencesKind) FieldPath ¶
func (ResourcePathSelectorMetadataOwnerReferencesKind) FieldPath() *Resource_FieldSubPath
func (ResourcePathSelectorMetadataOwnerReferencesKind) WithArrayOfValues ¶
func (s ResourcePathSelectorMetadataOwnerReferencesKind) WithArrayOfValues(values []string) *Resource_FieldSubPathArrayOfValues
func (ResourcePathSelectorMetadataOwnerReferencesKind) WithValue ¶
func (s ResourcePathSelectorMetadataOwnerReferencesKind) WithValue(value string) *Resource_FieldSubPathValue
type ResourcePathSelectorMetadataOwnerReferencesName ¶
type ResourcePathSelectorMetadataOwnerReferencesName struct{}
func (ResourcePathSelectorMetadataOwnerReferencesName) FieldPath ¶
func (ResourcePathSelectorMetadataOwnerReferencesName) FieldPath() *Resource_FieldSubPath
func (ResourcePathSelectorMetadataOwnerReferencesName) WithArrayOfValues ¶
func (s ResourcePathSelectorMetadataOwnerReferencesName) WithArrayOfValues(values []string) *Resource_FieldSubPathArrayOfValues
func (ResourcePathSelectorMetadataOwnerReferencesName) WithValue ¶
func (s ResourcePathSelectorMetadataOwnerReferencesName) WithValue(value string) *Resource_FieldSubPathValue
type ResourcePathSelectorMetadataOwnerReferencesRegion ¶ added in v0.8.0
type ResourcePathSelectorMetadataOwnerReferencesRegion struct{}
func (ResourcePathSelectorMetadataOwnerReferencesRegion) FieldPath ¶ added in v0.8.0
func (ResourcePathSelectorMetadataOwnerReferencesRegion) FieldPath() *Resource_FieldSubPath
func (ResourcePathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues ¶ added in v0.8.0
func (s ResourcePathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues(values []string) *Resource_FieldSubPathArrayOfValues
func (ResourcePathSelectorMetadataOwnerReferencesRegion) WithValue ¶ added in v0.8.0
func (s ResourcePathSelectorMetadataOwnerReferencesRegion) WithValue(value string) *Resource_FieldSubPathValue
type ResourcePathSelectorMetadataOwnerReferencesRequiresOwnerReference ¶ added in v0.8.0
type ResourcePathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}
func (ResourcePathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath ¶ added in v0.8.0
func (ResourcePathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues ¶ added in v0.8.0
func (s ResourcePathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues(values []bool) *Resource_FieldSubPathArrayOfValues
func (ResourcePathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue ¶ added in v0.8.0
func (s ResourcePathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue(value bool) *Resource_FieldSubPathValue
type ResourcePathSelectorMetadataOwnerReferencesVersion ¶ added in v0.8.0
type ResourcePathSelectorMetadataOwnerReferencesVersion struct{}
func (ResourcePathSelectorMetadataOwnerReferencesVersion) FieldPath ¶ added in v0.8.0
func (ResourcePathSelectorMetadataOwnerReferencesVersion) FieldPath() *Resource_FieldSubPath
func (ResourcePathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues ¶ added in v0.8.0
func (s ResourcePathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues(values []string) *Resource_FieldSubPathArrayOfValues
func (ResourcePathSelectorMetadataOwnerReferencesVersion) WithValue ¶ added in v0.8.0
func (s ResourcePathSelectorMetadataOwnerReferencesVersion) WithValue(value string) *Resource_FieldSubPathValue
type ResourcePathSelectorMetadataResourceVersion ¶
type ResourcePathSelectorMetadataResourceVersion struct{}
func (ResourcePathSelectorMetadataResourceVersion) FieldPath ¶
func (ResourcePathSelectorMetadataResourceVersion) FieldPath() *Resource_FieldSubPath
func (ResourcePathSelectorMetadataResourceVersion) WithArrayOfValues ¶
func (s ResourcePathSelectorMetadataResourceVersion) WithArrayOfValues(values []string) *Resource_FieldSubPathArrayOfValues
func (ResourcePathSelectorMetadataResourceVersion) WithValue ¶
func (s ResourcePathSelectorMetadataResourceVersion) WithValue(value string) *Resource_FieldSubPathValue
type ResourcePathSelectorMetadataShards ¶
type ResourcePathSelectorMetadataShards struct{}
func (ResourcePathSelectorMetadataShards) FieldPath ¶
func (ResourcePathSelectorMetadataShards) FieldPath() *Resource_FieldSubPath
func (ResourcePathSelectorMetadataShards) WithArrayOfValues ¶
func (s ResourcePathSelectorMetadataShards) WithArrayOfValues(values []map[string]int64) *Resource_FieldSubPathArrayOfValues
func (ResourcePathSelectorMetadataShards) WithKey ¶
func (ResourcePathSelectorMetadataShards) WithKey(key string) ResourceMapPathSelectorMetadataShards
func (ResourcePathSelectorMetadataShards) WithValue ¶
func (s ResourcePathSelectorMetadataShards) WithValue(value map[string]int64) *Resource_FieldSubPathValue
type ResourcePathSelectorMetadataSyncing ¶
type ResourcePathSelectorMetadataSyncing struct{}
func (ResourcePathSelectorMetadataSyncing) FieldPath ¶
func (ResourcePathSelectorMetadataSyncing) FieldPath() *Resource_FieldSubPath
func (ResourcePathSelectorMetadataSyncing) OwningRegion ¶
func (ResourcePathSelectorMetadataSyncing) OwningRegion() ResourcePathSelectorMetadataSyncingOwningRegion
func (ResourcePathSelectorMetadataSyncing) WithArrayOfValues ¶
func (s ResourcePathSelectorMetadataSyncing) WithArrayOfValues(values []*ntt_meta.SyncingMeta) *Resource_FieldSubPathArrayOfValues
func (ResourcePathSelectorMetadataSyncing) WithValue ¶
func (s ResourcePathSelectorMetadataSyncing) WithValue(value *ntt_meta.SyncingMeta) *Resource_FieldSubPathValue
type ResourcePathSelectorMetadataSyncingOwningRegion ¶
type ResourcePathSelectorMetadataSyncingOwningRegion struct{}
func (ResourcePathSelectorMetadataSyncingOwningRegion) FieldPath ¶
func (ResourcePathSelectorMetadataSyncingOwningRegion) FieldPath() *Resource_FieldSubPath
func (ResourcePathSelectorMetadataSyncingOwningRegion) WithArrayOfValues ¶
func (s ResourcePathSelectorMetadataSyncingOwningRegion) WithArrayOfValues(values []string) *Resource_FieldSubPathArrayOfValues
func (ResourcePathSelectorMetadataSyncingOwningRegion) WithValue ¶
func (s ResourcePathSelectorMetadataSyncingOwningRegion) WithValue(value string) *Resource_FieldSubPathValue
type ResourcePathSelectorMetadataSyncingRegions ¶
type ResourcePathSelectorMetadataSyncingRegions struct{}
func (ResourcePathSelectorMetadataSyncingRegions) FieldPath ¶
func (ResourcePathSelectorMetadataSyncingRegions) FieldPath() *Resource_FieldSubPath
func (ResourcePathSelectorMetadataSyncingRegions) WithArrayOfValues ¶
func (s ResourcePathSelectorMetadataSyncingRegions) WithArrayOfValues(values [][]string) *Resource_FieldSubPathArrayOfValues
func (ResourcePathSelectorMetadataSyncingRegions) WithItemValue ¶
func (s ResourcePathSelectorMetadataSyncingRegions) WithItemValue(value string) *Resource_FieldSubPathArrayItemValue
func (ResourcePathSelectorMetadataSyncingRegions) WithValue ¶
func (s ResourcePathSelectorMetadataSyncingRegions) WithValue(value []string) *Resource_FieldSubPathValue
type ResourcePathSelectorMetadataTags ¶
type ResourcePathSelectorMetadataTags struct{}
func (ResourcePathSelectorMetadataTags) FieldPath ¶
func (ResourcePathSelectorMetadataTags) FieldPath() *Resource_FieldSubPath
func (ResourcePathSelectorMetadataTags) WithArrayOfValues ¶
func (s ResourcePathSelectorMetadataTags) WithArrayOfValues(values [][]string) *Resource_FieldSubPathArrayOfValues
func (ResourcePathSelectorMetadataTags) WithItemValue ¶
func (s ResourcePathSelectorMetadataTags) WithItemValue(value string) *Resource_FieldSubPathArrayItemValue
func (ResourcePathSelectorMetadataTags) WithValue ¶
func (s ResourcePathSelectorMetadataTags) WithValue(value []string) *Resource_FieldSubPathValue
type ResourcePathSelectorMetadataUpdateTime ¶
type ResourcePathSelectorMetadataUpdateTime struct{}
func (ResourcePathSelectorMetadataUpdateTime) FieldPath ¶
func (ResourcePathSelectorMetadataUpdateTime) FieldPath() *Resource_FieldSubPath
func (ResourcePathSelectorMetadataUpdateTime) WithArrayOfValues ¶
func (s ResourcePathSelectorMetadataUpdateTime) WithArrayOfValues(values []*timestamp.Timestamp) *Resource_FieldSubPathArrayOfValues
func (ResourcePathSelectorMetadataUpdateTime) WithValue ¶
func (s ResourcePathSelectorMetadataUpdateTime) WithValue(value *timestamp.Timestamp) *Resource_FieldSubPathValue
type ResourcePathSelectorMetadataUuid ¶
type ResourcePathSelectorMetadataUuid struct{}
func (ResourcePathSelectorMetadataUuid) FieldPath ¶
func (ResourcePathSelectorMetadataUuid) FieldPath() *Resource_FieldSubPath
func (ResourcePathSelectorMetadataUuid) WithArrayOfValues ¶
func (s ResourcePathSelectorMetadataUuid) WithArrayOfValues(values []string) *Resource_FieldSubPathArrayOfValues
func (ResourcePathSelectorMetadataUuid) WithValue ¶
func (s ResourcePathSelectorMetadataUuid) WithValue(value string) *Resource_FieldSubPathValue
type ResourcePathSelectorName ¶
type ResourcePathSelectorName struct{}
func (ResourcePathSelectorName) FieldPath ¶
func (ResourcePathSelectorName) FieldPath() *Resource_FieldTerminalPath
func (ResourcePathSelectorName) WithArrayOfValues ¶
func (s ResourcePathSelectorName) WithArrayOfValues(values []*Name) *Resource_FieldTerminalPathArrayOfValues
func (ResourcePathSelectorName) WithValue ¶
func (s ResourcePathSelectorName) WithValue(value *Name) *Resource_FieldTerminalPathValue
type ResourcePathSelectorPluralName ¶
type ResourcePathSelectorPluralName struct{}
func (ResourcePathSelectorPluralName) FieldPath ¶
func (ResourcePathSelectorPluralName) FieldPath() *Resource_FieldTerminalPath
func (ResourcePathSelectorPluralName) WithArrayOfValues ¶
func (s ResourcePathSelectorPluralName) WithArrayOfValues(values []string) *Resource_FieldTerminalPathArrayOfValues
func (ResourcePathSelectorPluralName) WithValue ¶
func (s ResourcePathSelectorPluralName) WithValue(value string) *Resource_FieldTerminalPathValue
type ResourceReferenceList ¶
type ResourceReferenceList []*Reference
func (ResourceReferenceList) Append ¶
func (l ResourceReferenceList) Append(ref gotenresource.Reference) gotenresource.ReferenceList
func (ResourceReferenceList) AppendList ¶
func (l ResourceReferenceList) AppendList(list gotenresource.ReferenceList) gotenresource.ReferenceList
func (ResourceReferenceList) At ¶
func (l ResourceReferenceList) At(idx int) gotenresource.Reference
func (ResourceReferenceList) Length ¶
func (l ResourceReferenceList) Length() int
func (ResourceReferenceList) Set ¶
func (l ResourceReferenceList) Set(idx int, ref gotenresource.Reference)
func (ResourceReferenceList) Slice ¶
func (l ResourceReferenceList) Slice(first, second int) gotenresource.ReferenceList
type Resource_FieldMask ¶
type Resource_FieldMask struct {
Paths []Resource_FieldPath
}
func FullResource_FieldMask ¶
func FullResource_FieldMask() *Resource_FieldMask
func ResourceViewFieldMask ¶
func ResourceViewFieldMask(viewName view.View, extraMask *Resource_FieldMask) *Resource_FieldMask
func (*Resource_FieldMask) AppendPath ¶
func (fieldMask *Resource_FieldMask) AppendPath(path Resource_FieldPath)
func (*Resource_FieldMask) AppendRawPath ¶
func (fieldMask *Resource_FieldMask) AppendRawPath(path gotenobject.FieldPath)
func (*Resource_FieldMask) DecodeFirestore ¶
func (fieldMask *Resource_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error
func (*Resource_FieldMask) EncodeFirestore ¶
func (fieldMask *Resource_FieldMask) EncodeFirestore() (*firestorepb.Value, error)
firestore encoding/decoding integration
func (*Resource_FieldMask) FilterInputFields ¶
func (fieldMask *Resource_FieldMask) FilterInputFields() *Resource_FieldMask
FilterInputFields generates copy of field paths with output_only field paths removed
func (*Resource_FieldMask) FromProtoFieldMask ¶
func (fieldMask *Resource_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error
func (*Resource_FieldMask) GetPaths ¶
func (fieldMask *Resource_FieldMask) GetPaths() []Resource_FieldPath
func (*Resource_FieldMask) GetRawPaths ¶
func (fieldMask *Resource_FieldMask) GetRawPaths() []gotenobject.FieldPath
func (*Resource_FieldMask) IsFull ¶
func (fieldMask *Resource_FieldMask) IsFull() bool
func (Resource_FieldMask) Marshal ¶
func (fieldMask Resource_FieldMask) Marshal() ([]byte, error)
implement methods required by customType
func (Resource_FieldMask) MarshalJSON ¶
func (fieldMask Resource_FieldMask) MarshalJSON() ([]byte, error)
func (*Resource_FieldMask) PathsCount ¶
func (fieldMask *Resource_FieldMask) PathsCount() int
func (*Resource_FieldMask) Project ¶
func (fieldMask *Resource_FieldMask) Project(source *Resource) *Resource
func (*Resource_FieldMask) ProjectRaw ¶
func (fieldMask *Resource_FieldMask) ProjectRaw(source gotenobject.GotenObjectExt) gotenobject.GotenObjectExt
func (*Resource_FieldMask) ProtoMessage ¶
func (fieldMask *Resource_FieldMask) ProtoMessage()
func (*Resource_FieldMask) ProtoReflect ¶
func (fieldMask *Resource_FieldMask) ProtoReflect() preflect.Message
func (*Resource_FieldMask) Reset ¶
func (fieldMask *Resource_FieldMask) Reset()
func (*Resource_FieldMask) Set ¶
func (fieldMask *Resource_FieldMask) Set(target, source *Resource)
func (*Resource_FieldMask) SetFromCliFlag ¶
func (fieldMask *Resource_FieldMask) SetFromCliFlag(raw string) error
func (*Resource_FieldMask) SetRaw ¶
func (fieldMask *Resource_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)
func (*Resource_FieldMask) Size ¶
func (fieldMask *Resource_FieldMask) Size() int
func (*Resource_FieldMask) String ¶
func (fieldMask *Resource_FieldMask) String() string
func (*Resource_FieldMask) Subtract ¶
func (fieldMask *Resource_FieldMask) Subtract(other *Resource_FieldMask) *Resource_FieldMask
func (*Resource_FieldMask) SubtractRaw ¶
func (fieldMask *Resource_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask
func (*Resource_FieldMask) ToProtoFieldMask ¶
func (fieldMask *Resource_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask
ToFieldMask is used for proto conversions
func (*Resource_FieldMask) Unmarshal ¶
func (fieldMask *Resource_FieldMask) Unmarshal(data []byte) error
func (*Resource_FieldMask) UnmarshalJSON ¶
func (fieldMask *Resource_FieldMask) UnmarshalJSON(data []byte) error
type Resource_FieldPath ¶
type Resource_FieldPath interface { gotenobject.FieldPath Selector() Resource_FieldPathSelector Get(source *Resource) []interface{} GetSingle(source *Resource) (interface{}, bool) ClearValue(item *Resource) // Those methods build corresponding Resource_FieldPathValue // (or array of values) and holds passed value. Panics if injected type is incorrect. WithIValue(value interface{}) Resource_FieldPathValue WithIArrayOfValues(values interface{}) Resource_FieldPathArrayOfValues WithIArrayItemValue(value interface{}) Resource_FieldPathArrayItemValue }
FieldPath provides implementation to handle https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto
func BuildResource_FieldPath ¶
func BuildResource_FieldPath(fp gotenobject.RawFieldPath) (Resource_FieldPath, error)
func MustParseResource_FieldPath ¶
func MustParseResource_FieldPath(rawField string) Resource_FieldPath
func ParseResource_FieldPath ¶
func ParseResource_FieldPath(rawField string) (Resource_FieldPath, error)
type Resource_FieldPathArrayItemValue ¶
type Resource_FieldPathArrayItemValue interface { gotenobject.FieldPathArrayItemValue Resource_FieldPath ContainsValue(*Resource) bool }
Resource_FieldPathArrayItemValue allows storing single item in Path-specific values for Resource according to their type Present only for array (repeated) types.
func MustParseResource_FieldPathArrayItemValue ¶
func MustParseResource_FieldPathArrayItemValue(pathStr, valueStr string) Resource_FieldPathArrayItemValue
func ParseResource_FieldPathArrayItemValue ¶
func ParseResource_FieldPathArrayItemValue(pathStr, valueStr string) (Resource_FieldPathArrayItemValue, error)
ParseResource_FieldPathArrayItemValue parses string and JSON-encoded value to its Value
type Resource_FieldPathArrayOfValues ¶
type Resource_FieldPathArrayOfValues interface { gotenobject.FieldPathArrayOfValues Resource_FieldPath }
Resource_FieldPathArrayOfValues allows storing slice of values for Resource fields according to their type
func MustParseResource_FieldPathArrayOfValues ¶
func MustParseResource_FieldPathArrayOfValues(pathStr, valuesStr string) Resource_FieldPathArrayOfValues
func ParseResource_FieldPathArrayOfValues ¶
func ParseResource_FieldPathArrayOfValues(pathStr, valuesStr string) (Resource_FieldPathArrayOfValues, error)
type Resource_FieldPathSelector ¶
type Resource_FieldPathSelector int32
const ( Resource_FieldPathSelectorName Resource_FieldPathSelector = 0 Resource_FieldPathSelectorPluralName Resource_FieldPathSelector = 1 Resource_FieldPathSelectorFqn Resource_FieldPathSelector = 2 Resource_FieldPathSelectorIsRegional Resource_FieldPathSelector = 3 Resource_FieldPathSelectorMetadata Resource_FieldPathSelector = 4 )
func (Resource_FieldPathSelector) String ¶
func (s Resource_FieldPathSelector) String() string
type Resource_FieldPathValue ¶
type Resource_FieldPathValue interface { Resource_FieldPath gotenobject.FieldPathValue SetTo(target **Resource) CompareWith(*Resource) (cmp int, comparable bool) }
Resource_FieldPathValue allows storing values for Resource fields according to their type
func MustParseResource_FieldPathValue ¶
func MustParseResource_FieldPathValue(pathStr, valueStr string) Resource_FieldPathValue
func ParseResource_FieldPathValue ¶
func ParseResource_FieldPathValue(pathStr, valueStr string) (Resource_FieldPathValue, error)
type Resource_FieldSubPath ¶
type Resource_FieldSubPath struct {
// contains filtered or unexported fields
}
func (*Resource_FieldSubPath) AsMetadataSubPath ¶
func (fps *Resource_FieldSubPath) AsMetadataSubPath() (ntt_meta.Meta_FieldPath, bool)
func (*Resource_FieldSubPath) ClearValue ¶
func (fps *Resource_FieldSubPath) ClearValue(item *Resource)
func (*Resource_FieldSubPath) ClearValueRaw ¶
func (fps *Resource_FieldSubPath) ClearValueRaw(item proto.Message)
func (*Resource_FieldSubPath) Get ¶
func (fps *Resource_FieldSubPath) Get(source *Resource) (values []interface{})
Get returns all values pointed by selected field from source Resource
func (*Resource_FieldSubPath) GetDefault ¶
func (fps *Resource_FieldSubPath) GetDefault() interface{}
GetDefault returns a default value of the field type
func (*Resource_FieldSubPath) GetRaw ¶
func (fps *Resource_FieldSubPath) GetRaw(source proto.Message) []interface{}
func (*Resource_FieldSubPath) GetSingle ¶
func (fps *Resource_FieldSubPath) GetSingle(source *Resource) (interface{}, bool)
GetSingle returns value of selected field from source Resource
func (*Resource_FieldSubPath) GetSingleRaw ¶
func (fps *Resource_FieldSubPath) GetSingleRaw(source proto.Message) (interface{}, bool)
func (*Resource_FieldSubPath) IsLeaf ¶
func (fps *Resource_FieldSubPath) IsLeaf() bool
IsLeaf - whether field path is holds simple value
func (*Resource_FieldSubPath) JSONString ¶
func (fps *Resource_FieldSubPath) JSONString() string
JSONString returns path representation is JSON convention
func (*Resource_FieldSubPath) Selector ¶
func (fps *Resource_FieldSubPath) Selector() Resource_FieldPathSelector
func (*Resource_FieldSubPath) SplitIntoTerminalIPaths ¶ added in v0.8.0
func (fps *Resource_FieldSubPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
func (*Resource_FieldSubPath) String ¶
func (fps *Resource_FieldSubPath) String() string
String returns path representation in proto convention
func (*Resource_FieldSubPath) WithIArrayItemValue ¶
func (fps *Resource_FieldSubPath) WithIArrayItemValue(value interface{}) Resource_FieldPathArrayItemValue
func (*Resource_FieldSubPath) WithIArrayOfValues ¶
func (fps *Resource_FieldSubPath) WithIArrayOfValues(values interface{}) Resource_FieldPathArrayOfValues
func (*Resource_FieldSubPath) WithIValue ¶
func (fps *Resource_FieldSubPath) WithIValue(value interface{}) Resource_FieldPathValue
func (*Resource_FieldSubPath) WithRawIArrayItemValue ¶
func (fps *Resource_FieldSubPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
func (*Resource_FieldSubPath) WithRawIArrayOfValues ¶
func (fps *Resource_FieldSubPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
func (*Resource_FieldSubPath) WithRawIValue ¶
func (fps *Resource_FieldSubPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
type Resource_FieldSubPathArrayItemValue ¶
type Resource_FieldSubPathArrayItemValue struct { Resource_FieldPath // contains filtered or unexported fields }
func (*Resource_FieldSubPathArrayItemValue) AsMetadataPathItemValue ¶
func (fpaivs *Resource_FieldSubPathArrayItemValue) AsMetadataPathItemValue() (ntt_meta.Meta_FieldPathArrayItemValue, bool)
func (*Resource_FieldSubPathArrayItemValue) ContainsValue ¶
func (fpaivs *Resource_FieldSubPathArrayItemValue) ContainsValue(source *Resource) bool
Contains returns a boolean indicating if value that is being held is present in given 'Resource'
func (*Resource_FieldSubPathArrayItemValue) GetRawItemValue ¶
func (fpaivs *Resource_FieldSubPathArrayItemValue) GetRawItemValue() interface{}
GetRawValue returns stored array item value
type Resource_FieldSubPathArrayOfValues ¶
type Resource_FieldSubPathArrayOfValues struct { Resource_FieldPath // contains filtered or unexported fields }
func (*Resource_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues ¶
func (fpsaov *Resource_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues() (ntt_meta.Meta_FieldPathArrayOfValues, bool)
func (*Resource_FieldSubPathArrayOfValues) GetRawValues ¶
func (fpsaov *Resource_FieldSubPathArrayOfValues) GetRawValues() []interface{}
type Resource_FieldSubPathValue ¶
type Resource_FieldSubPathValue struct { Resource_FieldPath // contains filtered or unexported fields }
func (*Resource_FieldSubPathValue) AsMetadataPathValue ¶
func (fpvs *Resource_FieldSubPathValue) AsMetadataPathValue() (ntt_meta.Meta_FieldPathValue, bool)
func (*Resource_FieldSubPathValue) CompareWith ¶
func (fpvs *Resource_FieldSubPathValue) CompareWith(source *Resource) (int, bool)
func (*Resource_FieldSubPathValue) CompareWithRaw ¶
func (fpvs *Resource_FieldSubPathValue) CompareWithRaw(source proto.Message) (int, bool)
func (*Resource_FieldSubPathValue) GetRawValue ¶
func (fpvs *Resource_FieldSubPathValue) GetRawValue() interface{}
func (*Resource_FieldSubPathValue) SetTo ¶
func (fpvs *Resource_FieldSubPathValue) SetTo(target **Resource)
func (*Resource_FieldSubPathValue) SetToRaw ¶
func (fpvs *Resource_FieldSubPathValue) SetToRaw(target proto.Message)
type Resource_FieldTerminalPath ¶
type Resource_FieldTerminalPath struct {
// contains filtered or unexported fields
}
func (*Resource_FieldTerminalPath) ClearValue ¶
func (fp *Resource_FieldTerminalPath) ClearValue(item *Resource)
func (*Resource_FieldTerminalPath) ClearValueRaw ¶
func (fp *Resource_FieldTerminalPath) ClearValueRaw(item proto.Message)
func (*Resource_FieldTerminalPath) Get ¶
func (fp *Resource_FieldTerminalPath) Get(source *Resource) (values []interface{})
Get returns all values pointed by specific field from source Resource
func (*Resource_FieldTerminalPath) GetDefault ¶
func (fp *Resource_FieldTerminalPath) GetDefault() interface{}
GetDefault returns a default value of the field type
func (*Resource_FieldTerminalPath) GetRaw ¶
func (fp *Resource_FieldTerminalPath) GetRaw(source proto.Message) []interface{}
func (*Resource_FieldTerminalPath) GetSingle ¶
func (fp *Resource_FieldTerminalPath) GetSingle(source *Resource) (interface{}, bool)
GetSingle returns value pointed by specific field of from source Resource
func (*Resource_FieldTerminalPath) GetSingleRaw ¶
func (fp *Resource_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)
func (*Resource_FieldTerminalPath) IsLeaf ¶
func (fp *Resource_FieldTerminalPath) IsLeaf() bool
IsLeaf - whether field path is holds simple value
func (*Resource_FieldTerminalPath) JSONString ¶
func (fp *Resource_FieldTerminalPath) JSONString() string
JSONString returns path representation is JSON convention
func (*Resource_FieldTerminalPath) Selector ¶
func (fp *Resource_FieldTerminalPath) Selector() Resource_FieldPathSelector
func (*Resource_FieldTerminalPath) SplitIntoTerminalIPaths ¶ added in v0.8.0
func (fp *Resource_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
func (*Resource_FieldTerminalPath) String ¶
func (fp *Resource_FieldTerminalPath) String() string
String returns path representation in proto convention
func (*Resource_FieldTerminalPath) WithIArrayItemValue ¶
func (fp *Resource_FieldTerminalPath) WithIArrayItemValue(value interface{}) Resource_FieldPathArrayItemValue
func (*Resource_FieldTerminalPath) WithIArrayOfValues ¶
func (fp *Resource_FieldTerminalPath) WithIArrayOfValues(values interface{}) Resource_FieldPathArrayOfValues
func (*Resource_FieldTerminalPath) WithIValue ¶
func (fp *Resource_FieldTerminalPath) WithIValue(value interface{}) Resource_FieldPathValue
func (*Resource_FieldTerminalPath) WithRawIArrayItemValue ¶
func (fp *Resource_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
func (*Resource_FieldTerminalPath) WithRawIArrayOfValues ¶
func (fp *Resource_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
func (*Resource_FieldTerminalPath) WithRawIValue ¶
func (fp *Resource_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
type Resource_FieldTerminalPathArrayItemValue ¶
type Resource_FieldTerminalPathArrayItemValue struct { Resource_FieldTerminalPath // contains filtered or unexported fields }
func (*Resource_FieldTerminalPathArrayItemValue) ContainsValue ¶
func (fpaiv *Resource_FieldTerminalPathArrayItemValue) ContainsValue(source *Resource) bool
Contains returns a boolean indicating if value that is being held is present in given 'Resource'
func (*Resource_FieldTerminalPathArrayItemValue) GetRawItemValue ¶
func (fpaiv *Resource_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}
GetRawValue returns stored element value for array in object Resource as interface{}
func (*Resource_FieldTerminalPathArrayItemValue) GetSingle ¶
func (fpaiv *Resource_FieldTerminalPathArrayItemValue) GetSingle(source *Resource) (interface{}, bool)
func (*Resource_FieldTerminalPathArrayItemValue) GetSingleRaw ¶
func (fpaiv *Resource_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)
type Resource_FieldTerminalPathArrayOfValues ¶
type Resource_FieldTerminalPathArrayOfValues struct { Resource_FieldTerminalPath // contains filtered or unexported fields }
func (*Resource_FieldTerminalPathArrayOfValues) AsFqnArrayOfValues ¶
func (fpaov *Resource_FieldTerminalPathArrayOfValues) AsFqnArrayOfValues() ([]string, bool)
func (*Resource_FieldTerminalPathArrayOfValues) AsIsRegionalArrayOfValues ¶
func (fpaov *Resource_FieldTerminalPathArrayOfValues) AsIsRegionalArrayOfValues() ([]bool, bool)
func (*Resource_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues ¶
func (fpaov *Resource_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues() ([]*ntt_meta.Meta, bool)
func (*Resource_FieldTerminalPathArrayOfValues) AsNameArrayOfValues ¶
func (fpaov *Resource_FieldTerminalPathArrayOfValues) AsNameArrayOfValues() ([]*Name, bool)
func (*Resource_FieldTerminalPathArrayOfValues) AsPluralNameArrayOfValues ¶
func (fpaov *Resource_FieldTerminalPathArrayOfValues) AsPluralNameArrayOfValues() ([]string, bool)
func (*Resource_FieldTerminalPathArrayOfValues) GetRawValues ¶
func (fpaov *Resource_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})
type Resource_FieldTerminalPathValue ¶
type Resource_FieldTerminalPathValue struct { Resource_FieldTerminalPath // contains filtered or unexported fields }
func (*Resource_FieldTerminalPathValue) AsFqnValue ¶
func (fpv *Resource_FieldTerminalPathValue) AsFqnValue() (string, bool)
func (*Resource_FieldTerminalPathValue) AsIsRegionalValue ¶
func (fpv *Resource_FieldTerminalPathValue) AsIsRegionalValue() (bool, bool)
func (*Resource_FieldTerminalPathValue) AsMetadataValue ¶
func (fpv *Resource_FieldTerminalPathValue) AsMetadataValue() (*ntt_meta.Meta, bool)
func (*Resource_FieldTerminalPathValue) AsNameValue ¶
func (fpv *Resource_FieldTerminalPathValue) AsNameValue() (*Name, bool)
func (*Resource_FieldTerminalPathValue) AsPluralNameValue ¶
func (fpv *Resource_FieldTerminalPathValue) AsPluralNameValue() (string, bool)
func (*Resource_FieldTerminalPathValue) CompareWith ¶
func (fpv *Resource_FieldTerminalPathValue) CompareWith(source *Resource) (int, bool)
CompareWith compares value in the 'Resource_FieldTerminalPathValue' with the value under path in 'Resource'.
func (*Resource_FieldTerminalPathValue) CompareWithRaw ¶
func (fpv *Resource_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)
func (*Resource_FieldTerminalPathValue) GetRawValue ¶
func (fpv *Resource_FieldTerminalPathValue) GetRawValue() interface{}
GetRawValue returns raw value stored under selected path for 'Resource' as interface{}
func (*Resource_FieldTerminalPathValue) SetTo ¶
func (fpv *Resource_FieldTerminalPathValue) SetTo(target **Resource)
SetTo stores value for selected field for object Resource
func (*Resource_FieldTerminalPathValue) SetToRaw ¶
func (fpv *Resource_FieldTerminalPathValue) SetToRaw(target proto.Message)
type WatchQuery ¶
type WatchQuery struct { ListQuery WatchType watch_type.WatchType ChunkSize int ResumeToken string StartingTime *timestamppb.Timestamp }
func (*WatchQuery) GetMaximumChunkSize ¶
func (q *WatchQuery) GetMaximumChunkSize() int
func (*WatchQuery) GetResumeToken ¶
func (q *WatchQuery) GetResumeToken() string
func (*WatchQuery) GetStartingTime ¶ added in v0.9.0
func (q *WatchQuery) GetStartingTime() *timestamppb.Timestamp
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) SetStartingTime ¶ added in v0.9.0
func (q *WatchQuery) SetStartingTime(startingTime *timestamppb.Timestamp)
func (*WatchQuery) SetWatchType ¶
func (q *WatchQuery) SetWatchType(watchType watch_type.WatchType)
func (*WatchQuery) String ¶
func (q *WatchQuery) String() string
Source Files ¶
- resource.pb.access.go
- resource.pb.collections.go
- resource.pb.descriptor.go
- resource.pb.fieldmask.go
- resource.pb.fieldpath.go
- resource.pb.fieldpathbuilder.go
- resource.pb.filter.go
- resource.pb.filterbuilder.go
- resource.pb.go
- resource.pb.name.go
- resource.pb.namebuilder.go
- resource.pb.object_ext.go
- resource.pb.pagination.go
- resource.pb.parentname.go
- resource.pb.query.go
- resource.pb.validate.go
- resource.pb.view.go
- resource_change.pb.change.go
- resource_change.pb.go
- resource_change.pb.validate.go