Documentation ¶
Index ¶
- Constants
- func AsAnyCastAccess(access RoleAccess) gotenresource.Access
- type Descriptor
- func (d *Descriptor) GetNameDescriptor() *gotenresource.NameDescriptor
- func (d *Descriptor) GetResourceTypeName() *gotenresource.TypeName
- func (d *Descriptor) NewGetQuery() gotenresource.GetQuery
- func (d *Descriptor) NewListQuery() gotenresource.ListQuery
- func (d *Descriptor) NewNameList(size, reserved int) gotenresource.NameList
- func (d *Descriptor) NewParentNameList(size, reserved int) gotenresource.ParentNameList
- func (d *Descriptor) NewParentReferenceList(size, reserved int) gotenresource.ParentReferenceList
- func (d *Descriptor) NewQueryResultChange() gotenresource.QueryResultChange
- func (d *Descriptor) NewQueryResultSnapshot() gotenresource.QueryResultSnapshot
- func (d *Descriptor) NewReferenceList(size, reserved int) gotenresource.ReferenceList
- func (d *Descriptor) NewResource() gotenresource.Resource
- func (d *Descriptor) NewResourceChange() gotenresource.ResourceChange
- func (d *Descriptor) NewResourceChangeList(size, reserved int) gotenresource.ResourceChangeList
- func (d *Descriptor) NewResourceChangeMap(reserved int) gotenresource.ResourceChangeMap
- func (d *Descriptor) NewResourceCursor() gotenresource.Cursor
- func (d *Descriptor) NewResourceFieldMask() gotenobject.FieldMask
- func (d *Descriptor) NewResourceFilter() gotenresource.Filter
- func (d *Descriptor) NewResourceList(size, reserved int) gotenresource.ResourceList
- func (d *Descriptor) NewResourceMap(reserved int) gotenresource.ResourceMap
- func (d *Descriptor) NewResourceName() gotenresource.Name
- func (d *Descriptor) NewResourceOrderBy() gotenresource.OrderBy
- func (d *Descriptor) NewSearchQuery() gotenresource.SearchQuery
- func (d *Descriptor) NewSearchQueryResultSnapshot() gotenresource.SearchQueryResultSnapshot
- func (d *Descriptor) NewWatchQuery() gotenresource.WatchQuery
- func (d *Descriptor) ParseFieldPath(raw string) (gotenobject.FieldPath, error)
- func (d *Descriptor) ParseResourceName(nameStr string) (gotenresource.Name, error)
- type Filter
- func (filter *Filter) ConvertToNative(typeDesc reflect.Type) (interface{}, error)
- func (filter *Filter) ConvertToType(typeVal ref.Type) ref.Val
- func (filter *Filter) DecodeFirestore(fpbv *firestorepb.Value) error
- func (filter *Filter) EncodeFirestore() (*firestorepb.Value, error)
- func (filter *Filter) Equal(other ref.Val) ref.Val
- func (filter *Filter) Evaluate(res *Role) bool
- func (filter *Filter) EvaluateRaw(res gotenresource.Resource) bool
- func (filter *Filter) FilterSlice(in []*Role) (out []*Role)
- 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 Role_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 *Role) 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 Role_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 *Role) 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 Role_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 *Role) bool
- func (cond *FilterConditionContains) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionContains) GetFieldPath() Role_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 Role_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 *Role) 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 Role_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 *Role) 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 Role_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 *Role) 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 Role_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 *Role) 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 Role_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 *Role) 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 Role_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) GetIdParts() map[string]string
- func (name *Name) GetPattern() gotenresource.NamePattern
- func (name *Name) GetResourceDescriptor() gotenresource.Descriptor
- func (name *Name) GetSegments() gotenresource.NameSegments
- func (name *Name) GotenEqual(other interface{}) bool
- func (name *Name) HasTrait(trait int) bool
- func (name *Name) IsFullyQualified() bool
- func (name *Name) IsSpecified() bool
- func (name *Name) Match(pattern ref.Val) ref.Val
- func (name *Name) Matches(other interface{}) bool
- func (name *Name) ParseProtoString(data string) error
- func (name *Name) ProtoString() (string, error)
- func (name *Name) Receive(function string, overload string, args []ref.Val) ref.Val
- func (name *Name) SetFromCliFlag(raw string) error
- func (name *Name) SetFromSegments(segments gotenresource.NameSegments) error
- func (name *Name) String() string
- func (name *Name) Type() ref.Type
- func (name *Name) TypeName() string
- func (name *Name) Value() interface{}
- type NameBuilder
- type NamePattern
- type OrderBy
- func (orderBy *OrderBy) Compare(left, right *Role) int
- func (orderBy *OrderBy) CompareRaw(left, right gotenresource.Resource) int
- func (orderBy *OrderBy) GetFieldMask() *Role_FieldMask
- func (orderBy *OrderBy) GetOrderByFields() []gotenresource.OrderByField
- func (orderBy *OrderBy) GetRawFieldMask() gotenobject.FieldMask
- func (orderBy *OrderBy) InsertSorted(sorted RoleList, elem *Role) (RoleList, 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 RoleList)
- 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
- 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) GetIdParts() map[string]string
- func (ref *Reference) GetPattern() gotenresource.NamePattern
- func (ref *Reference) GetRawResource() gotenresource.Resource
- func (ref *Reference) GetResourceDescriptor() gotenresource.Descriptor
- func (ref *Reference) GetRole() *Role
- 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 *Role)
- 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 Role
- func (o *Role) Clone() *Role
- func (o *Role) CloneRaw() gotenobject.GotenObjectExt
- func (*Role) Descriptor() ([]byte, []int)
- func (m *Role) GetDefaultConditionBinding() *condition.ConditionBinding
- func (m *Role) GetDisplayName() string
- func (m *Role) GetIncludedPermissions() []*permission.Reference
- func (m *Role) GetName() *Name
- func (r *Role) GetRawName() gotenresource.Name
- func (r *Role) GetResourceDescriptor() gotenresource.Descriptor
- func (*Role) GotenMessage()
- func (o *Role) GotenObjectExt()
- func (obj *Role) GotenValidate() error
- func (o *Role) MakeDiffFieldMask(other *Role) *Role_FieldMask
- func (o *Role) MakeFullFieldMask() *Role_FieldMask
- func (o *Role) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask
- func (o *Role) MakeRawFullFieldMask() gotenobject.FieldMask
- func (m *Role) Marshal() ([]byte, error)
- func (m *Role) MarshalJSON() ([]byte, error)
- func (r *Role) MaybePopulateDefaults() error
- func (o *Role) Merge(source *Role)
- func (o *Role) MergeRaw(source gotenobject.GotenObjectExt)
- func (*Role) ProtoMessage()
- func (m *Role) ProtoReflect() preflect.Message
- func (m *Role) Reset()
- func (m *Role) SetDefaultConditionBinding(fv *condition.ConditionBinding)
- func (m *Role) SetDisplayName(fv string)
- func (m *Role) SetIncludedPermissions(fv []*permission.Reference)
- func (m *Role) SetName(fv *Name)
- func (m *Role) String() string
- func (m *Role) Unmarshal(b []byte) error
- func (m *Role) UnmarshalJSON(data []byte) error
- type RoleAccess
- type RoleChange
- func (*RoleChange) Descriptor() ([]byte, []int)
- func (m *RoleChange) GetAdded() *RoleChange_Added
- func (m *RoleChange) GetChangeType() isRoleChange_ChangeType
- func (m *RoleChange) GetCurrent() *RoleChange_Current
- func (c *RoleChange) GetCurrentViewIndex() int32
- func (m *RoleChange) GetModified() *RoleChange_Modified
- func (c *RoleChange) GetPreviousViewIndex() int32
- func (c *RoleChange) GetRawName() gotenresource.Name
- func (c *RoleChange) GetRawResource() gotenresource.Resource
- func (m *RoleChange) GetRemoved() *RoleChange_Removed
- func (c *RoleChange) GetRole() *Role
- func (c *RoleChange) GetRoleName() *Name
- func (*RoleChange) GotenMessage()
- func (obj *RoleChange) GotenValidate() error
- func (c *RoleChange) IsAdd() bool
- func (c *RoleChange) IsCurrent() bool
- func (c *RoleChange) IsDelete() bool
- func (c *RoleChange) IsModify() bool
- func (m *RoleChange) Marshal() ([]byte, error)
- func (m *RoleChange) MarshalJSON() ([]byte, error)
- func (*RoleChange) ProtoMessage()
- func (m *RoleChange) ProtoReflect() preflect.Message
- func (m *RoleChange) Reset()
- func (m *RoleChange) SetAdded(fv *RoleChange_Added)
- func (c *RoleChange) SetAddedRaw(snapshot gotenresource.Resource, idx int)
- func (m *RoleChange) SetChangeType(ofv isRoleChange_ChangeType)
- func (m *RoleChange) SetCurrent(fv *RoleChange_Current)
- func (c *RoleChange) SetCurrentRaw(snapshot gotenresource.Resource)
- func (c *RoleChange) SetDeletedRaw(name gotenresource.Name, idx int)
- func (m *RoleChange) SetModified(fv *RoleChange_Modified)
- func (c *RoleChange) SetModifiedRaw(name gotenresource.Name, snapshot gotenresource.Resource, prevIdx int, ...)
- func (m *RoleChange) SetRemoved(fv *RoleChange_Removed)
- func (m *RoleChange) String() string
- func (m *RoleChange) Unmarshal(b []byte) error
- func (m *RoleChange) UnmarshalJSON(data []byte) error
- type RoleChangeList
- func (l RoleChangeList) Append(item gotenresource.ResourceChange) gotenresource.ResourceChangeList
- func (l RoleChangeList) AppendList(list gotenresource.ResourceChangeList) gotenresource.ResourceChangeList
- func (l RoleChangeList) At(idx int) gotenresource.ResourceChange
- func (l RoleChangeList) Length() int
- func (l RoleChangeList) Set(idx int, change gotenresource.ResourceChange)
- func (l RoleChangeList) Slice(first, second int) gotenresource.ResourceChangeList
- type RoleChangeMap
- func (m RoleChangeMap) Delete(name gotenresource.Name)
- func (m RoleChangeMap) ForEach(cb func(gotenresource.Name, gotenresource.ResourceChange) bool)
- func (m RoleChangeMap) Get(name gotenresource.Name) gotenresource.ResourceChange
- func (m RoleChangeMap) Length() int
- func (m RoleChangeMap) Set(change gotenresource.ResourceChange)
- type RoleChange_Added
- func (*RoleChange_Added) Descriptor() ([]byte, []int)
- func (m *RoleChange_Added) GetRole() *Role
- func (m *RoleChange_Added) GetViewIndex() int32
- func (*RoleChange_Added) GotenMessage()
- func (obj *RoleChange_Added) GotenValidate() error
- func (m *RoleChange_Added) Marshal() ([]byte, error)
- func (m *RoleChange_Added) MarshalJSON() ([]byte, error)
- func (*RoleChange_Added) ProtoMessage()
- func (m *RoleChange_Added) ProtoReflect() preflect.Message
- func (m *RoleChange_Added) Reset()
- func (m *RoleChange_Added) SetRole(fv *Role)
- func (m *RoleChange_Added) SetViewIndex(fv int32)
- func (m *RoleChange_Added) String() string
- func (m *RoleChange_Added) Unmarshal(b []byte) error
- func (m *RoleChange_Added) UnmarshalJSON(data []byte) error
- type RoleChange_Added_
- type RoleChange_Current
- func (*RoleChange_Current) Descriptor() ([]byte, []int)
- func (m *RoleChange_Current) GetRole() *Role
- func (*RoleChange_Current) GotenMessage()
- func (obj *RoleChange_Current) GotenValidate() error
- func (m *RoleChange_Current) Marshal() ([]byte, error)
- func (m *RoleChange_Current) MarshalJSON() ([]byte, error)
- func (*RoleChange_Current) ProtoMessage()
- func (m *RoleChange_Current) ProtoReflect() preflect.Message
- func (m *RoleChange_Current) Reset()
- func (m *RoleChange_Current) SetRole(fv *Role)
- func (m *RoleChange_Current) String() string
- func (m *RoleChange_Current) Unmarshal(b []byte) error
- func (m *RoleChange_Current) UnmarshalJSON(data []byte) error
- type RoleChange_Current_
- type RoleChange_Modified
- func (*RoleChange_Modified) Descriptor() ([]byte, []int)
- func (m *RoleChange_Modified) GetFieldMask() *Role_FieldMask
- func (m *RoleChange_Modified) GetName() *Name
- func (m *RoleChange_Modified) GetPreviousViewIndex() int32
- func (m *RoleChange_Modified) GetRole() *Role
- func (m *RoleChange_Modified) GetViewIndex() int32
- func (*RoleChange_Modified) GotenMessage()
- func (obj *RoleChange_Modified) GotenValidate() error
- func (m *RoleChange_Modified) Marshal() ([]byte, error)
- func (m *RoleChange_Modified) MarshalJSON() ([]byte, error)
- func (*RoleChange_Modified) ProtoMessage()
- func (m *RoleChange_Modified) ProtoReflect() preflect.Message
- func (m *RoleChange_Modified) Reset()
- func (m *RoleChange_Modified) SetFieldMask(fv *Role_FieldMask)
- func (m *RoleChange_Modified) SetName(fv *Name)
- func (m *RoleChange_Modified) SetPreviousViewIndex(fv int32)
- func (m *RoleChange_Modified) SetRole(fv *Role)
- func (m *RoleChange_Modified) SetViewIndex(fv int32)
- func (m *RoleChange_Modified) String() string
- func (m *RoleChange_Modified) Unmarshal(b []byte) error
- func (m *RoleChange_Modified) UnmarshalJSON(data []byte) error
- type RoleChange_Modified_
- type RoleChange_Removed
- func (*RoleChange_Removed) Descriptor() ([]byte, []int)
- func (m *RoleChange_Removed) GetName() *Name
- func (m *RoleChange_Removed) GetViewIndex() int32
- func (*RoleChange_Removed) GotenMessage()
- func (obj *RoleChange_Removed) GotenValidate() error
- func (m *RoleChange_Removed) Marshal() ([]byte, error)
- func (m *RoleChange_Removed) MarshalJSON() ([]byte, error)
- func (*RoleChange_Removed) ProtoMessage()
- func (m *RoleChange_Removed) ProtoReflect() preflect.Message
- func (m *RoleChange_Removed) Reset()
- func (m *RoleChange_Removed) SetName(fv *Name)
- func (m *RoleChange_Removed) SetViewIndex(fv int32)
- func (m *RoleChange_Removed) String() string
- func (m *RoleChange_Removed) Unmarshal(b []byte) error
- func (m *RoleChange_Removed) UnmarshalJSON(data []byte) error
- type RoleChange_Removed_
- type RoleFieldPathBuilder
- func (RoleFieldPathBuilder) DefaultConditionBinding() RolePathSelectorDefaultConditionBinding
- func (RoleFieldPathBuilder) DisplayName() RolePathSelectorDisplayName
- func (RoleFieldPathBuilder) IncludedPermissions() RolePathSelectorIncludedPermissions
- func (RoleFieldPathBuilder) Name() RolePathSelectorName
- type RoleList
- func (l RoleList) Append(item gotenresource.Resource) gotenresource.ResourceList
- func (l RoleList) AppendList(list gotenresource.ResourceList) gotenresource.ResourceList
- func (l RoleList) At(idx int) gotenresource.Resource
- func (l RoleList) Length() int
- func (l RoleList) Set(idx int, res gotenresource.Resource)
- func (l RoleList) Slice(first, second int) gotenresource.ResourceList
- type RoleMap
- type RoleMapPathSelectorDefaultConditionBindingParameters
- func (s RoleMapPathSelectorDefaultConditionBindingParameters) FieldPath() *Role_FieldSubPath
- func (s RoleMapPathSelectorDefaultConditionBindingParameters) WithArrayOfValues(values []string) *Role_FieldSubPathArrayOfValues
- func (s RoleMapPathSelectorDefaultConditionBindingParameters) WithValue(value string) *Role_FieldSubPathValue
- type RoleNameList
- func (l RoleNameList) Append(name gotenresource.Name) gotenresource.NameList
- func (l RoleNameList) AppendList(list gotenresource.NameList) gotenresource.NameList
- func (l RoleNameList) At(idx int) gotenresource.Name
- func (l RoleNameList) Length() int
- func (l RoleNameList) Set(idx int, name gotenresource.Name)
- func (l RoleNameList) Slice(first, second int) gotenresource.NameList
- type RolePathSelectorDefaultConditionBinding
- func (RolePathSelectorDefaultConditionBinding) Condition() RolePathSelectorDefaultConditionBindingCondition
- func (RolePathSelectorDefaultConditionBinding) FieldPath() *Role_FieldTerminalPath
- func (RolePathSelectorDefaultConditionBinding) Parameters() RolePathSelectorDefaultConditionBindingParameters
- func (s RolePathSelectorDefaultConditionBinding) WithArrayOfValues(values []*condition.ConditionBinding) *Role_FieldTerminalPathArrayOfValues
- func (s RolePathSelectorDefaultConditionBinding) WithSubArrayItemValue(subPathArrayItemValue condition.ConditionBinding_FieldPathArrayItemValue) *Role_FieldSubPathArrayItemValue
- func (s RolePathSelectorDefaultConditionBinding) WithSubArrayOfValues(subPathArrayOfValues condition.ConditionBinding_FieldPathArrayOfValues) *Role_FieldSubPathArrayOfValues
- func (RolePathSelectorDefaultConditionBinding) WithSubPath(subPath condition.ConditionBinding_FieldPath) *Role_FieldSubPath
- func (s RolePathSelectorDefaultConditionBinding) WithSubValue(subPathValue condition.ConditionBinding_FieldPathValue) *Role_FieldSubPathValue
- func (s RolePathSelectorDefaultConditionBinding) WithValue(value *condition.ConditionBinding) *Role_FieldTerminalPathValue
- type RolePathSelectorDefaultConditionBindingCondition
- func (RolePathSelectorDefaultConditionBindingCondition) FieldPath() *Role_FieldSubPath
- func (s RolePathSelectorDefaultConditionBindingCondition) WithArrayOfValues(values []*condition.Reference) *Role_FieldSubPathArrayOfValues
- func (s RolePathSelectorDefaultConditionBindingCondition) WithValue(value *condition.Reference) *Role_FieldSubPathValue
- type RolePathSelectorDefaultConditionBindingParameters
- func (RolePathSelectorDefaultConditionBindingParameters) FieldPath() *Role_FieldSubPath
- func (s RolePathSelectorDefaultConditionBindingParameters) WithArrayOfValues(values []map[string]string) *Role_FieldSubPathArrayOfValues
- func (RolePathSelectorDefaultConditionBindingParameters) WithKey(key string) RoleMapPathSelectorDefaultConditionBindingParameters
- func (s RolePathSelectorDefaultConditionBindingParameters) WithValue(value map[string]string) *Role_FieldSubPathValue
- type RolePathSelectorDisplayName
- type RolePathSelectorIncludedPermissions
- func (RolePathSelectorIncludedPermissions) FieldPath() *Role_FieldTerminalPath
- func (s RolePathSelectorIncludedPermissions) WithArrayOfValues(values [][]*permission.Reference) *Role_FieldTerminalPathArrayOfValues
- func (s RolePathSelectorIncludedPermissions) WithItemValue(value *permission.Reference) *Role_FieldTerminalPathArrayItemValue
- func (s RolePathSelectorIncludedPermissions) WithValue(value []*permission.Reference) *Role_FieldTerminalPathValue
- type RolePathSelectorName
- type RoleReferenceList
- func (l RoleReferenceList) Append(ref gotenresource.Reference) gotenresource.ReferenceList
- func (l RoleReferenceList) AppendList(list gotenresource.ReferenceList) gotenresource.ReferenceList
- func (l RoleReferenceList) At(idx int) gotenresource.Reference
- func (l RoleReferenceList) Length() int
- func (l RoleReferenceList) Set(idx int, ref gotenresource.Reference)
- func (l RoleReferenceList) Slice(first, second int) gotenresource.ReferenceList
- type Role_FieldMask
- func (fieldMask *Role_FieldMask) AppendPath(path Role_FieldPath)
- func (fieldMask *Role_FieldMask) AppendRawPath(path gotenobject.FieldPath)
- func (fieldMask *Role_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error
- func (fieldMask *Role_FieldMask) EncodeFirestore() (*firestorepb.Value, error)
- func (fieldMask *Role_FieldMask) FilterInputFields() *Role_FieldMask
- func (fieldMask *Role_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error
- func (fieldMask *Role_FieldMask) GetPaths() []Role_FieldPath
- func (fieldMask *Role_FieldMask) GetRawPaths() []gotenobject.FieldPath
- func (fieldMask *Role_FieldMask) IsFull() bool
- func (fieldMask Role_FieldMask) Marshal() ([]byte, error)
- func (fieldMask Role_FieldMask) MarshalJSON() ([]byte, error)
- func (fieldMask *Role_FieldMask) PathsCount() int
- func (fieldMask *Role_FieldMask) Project(source *Role) *Role
- func (fieldMask *Role_FieldMask) ProjectRaw(source gotenobject.GotenObjectExt) gotenobject.GotenObjectExt
- func (fieldMask *Role_FieldMask) ProtoMessage()
- func (fieldMask *Role_FieldMask) ProtoReflect() preflect.Message
- func (fieldMask *Role_FieldMask) Reset()
- func (fieldMask *Role_FieldMask) Set(target, source *Role)
- func (fieldMask *Role_FieldMask) SetFromCliFlag(raw string) error
- func (fieldMask *Role_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)
- func (fieldMask *Role_FieldMask) Size() int
- func (fieldMask *Role_FieldMask) String() string
- func (fieldMask *Role_FieldMask) Subtract(other *Role_FieldMask) *Role_FieldMask
- func (fieldMask *Role_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask
- func (fieldMask *Role_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask
- func (fieldMask *Role_FieldMask) Unmarshal(data []byte) error
- func (fieldMask *Role_FieldMask) UnmarshalJSON(data []byte) error
- type Role_FieldPath
- type Role_FieldPathArrayItemValue
- type Role_FieldPathArrayOfValues
- type Role_FieldPathSelector
- type Role_FieldPathValue
- type Role_FieldSubPath
- func (fps *Role_FieldSubPath) AsDefaultConditionBindingSubPath() (condition.ConditionBinding_FieldPath, bool)
- func (fps *Role_FieldSubPath) ClearValue(item *Role)
- func (fps *Role_FieldSubPath) ClearValueRaw(item proto.Message)
- func (fps *Role_FieldSubPath) Get(source *Role) (values []interface{})
- func (fps *Role_FieldSubPath) GetDefault() interface{}
- func (fps *Role_FieldSubPath) GetRaw(source proto.Message) []interface{}
- func (fps *Role_FieldSubPath) GetSingle(source *Role) (interface{}, bool)
- func (fps *Role_FieldSubPath) GetSingleRaw(source proto.Message) (interface{}, bool)
- func (fps *Role_FieldSubPath) IsLeaf() bool
- func (fps *Role_FieldSubPath) JSONString() string
- func (fps *Role_FieldSubPath) Selector() Role_FieldPathSelector
- func (fps *Role_FieldSubPath) String() string
- func (fps *Role_FieldSubPath) WithIArrayItemValue(value interface{}) Role_FieldPathArrayItemValue
- func (fps *Role_FieldSubPath) WithIArrayOfValues(values interface{}) Role_FieldPathArrayOfValues
- func (fps *Role_FieldSubPath) WithIValue(value interface{}) Role_FieldPathValue
- func (fps *Role_FieldSubPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
- func (fps *Role_FieldSubPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
- func (fps *Role_FieldSubPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
- type Role_FieldSubPathArrayItemValue
- func (fpaivs *Role_FieldSubPathArrayItemValue) AsDefaultConditionBindingPathItemValue() (condition.ConditionBinding_FieldPathArrayItemValue, bool)
- func (fpaivs *Role_FieldSubPathArrayItemValue) ContainsValue(source *Role) bool
- func (fpaivs *Role_FieldSubPathArrayItemValue) GetRawItemValue() interface{}
- type Role_FieldSubPathArrayOfValues
- type Role_FieldSubPathValue
- func (fpvs *Role_FieldSubPathValue) AsDefaultConditionBindingPathValue() (condition.ConditionBinding_FieldPathValue, bool)
- func (fpvs *Role_FieldSubPathValue) CompareWith(source *Role) (int, bool)
- func (fpvs *Role_FieldSubPathValue) CompareWithRaw(source proto.Message) (int, bool)
- func (fpvs *Role_FieldSubPathValue) GetRawValue() interface{}
- func (fpvs *Role_FieldSubPathValue) SetTo(target **Role)
- func (fpvs *Role_FieldSubPathValue) SetToRaw(target proto.Message)
- type Role_FieldTerminalPath
- func (fp *Role_FieldTerminalPath) ClearValue(item *Role)
- func (fp *Role_FieldTerminalPath) ClearValueRaw(item proto.Message)
- func (fp *Role_FieldTerminalPath) Get(source *Role) (values []interface{})
- func (fp *Role_FieldTerminalPath) GetDefault() interface{}
- func (fp *Role_FieldTerminalPath) GetRaw(source proto.Message) []interface{}
- func (fp *Role_FieldTerminalPath) GetSingle(source *Role) (interface{}, bool)
- func (fp *Role_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)
- func (fp *Role_FieldTerminalPath) IsLeaf() bool
- func (fp *Role_FieldTerminalPath) JSONString() string
- func (fp *Role_FieldTerminalPath) Selector() Role_FieldPathSelector
- func (fp *Role_FieldTerminalPath) String() string
- func (fp *Role_FieldTerminalPath) WithIArrayItemValue(value interface{}) Role_FieldPathArrayItemValue
- func (fp *Role_FieldTerminalPath) WithIArrayOfValues(values interface{}) Role_FieldPathArrayOfValues
- func (fp *Role_FieldTerminalPath) WithIValue(value interface{}) Role_FieldPathValue
- func (fp *Role_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
- func (fp *Role_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
- func (fp *Role_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
- type Role_FieldTerminalPathArrayItemValue
- func (fpaiv *Role_FieldTerminalPathArrayItemValue) AsIncludedPermissionsItemValue() (*permission.Reference, bool)
- func (fpaiv *Role_FieldTerminalPathArrayItemValue) ContainsValue(source *Role) bool
- func (fpaiv *Role_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}
- func (fpaiv *Role_FieldTerminalPathArrayItemValue) GetSingle(source *Role) (interface{}, bool)
- func (fpaiv *Role_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)
- type Role_FieldTerminalPathArrayOfValues
- func (fpaov *Role_FieldTerminalPathArrayOfValues) AsDefaultConditionBindingArrayOfValues() ([]*condition.ConditionBinding, bool)
- func (fpaov *Role_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues() ([]string, bool)
- func (fpaov *Role_FieldTerminalPathArrayOfValues) AsIncludedPermissionsArrayOfValues() ([][]*permission.Reference, bool)
- func (fpaov *Role_FieldTerminalPathArrayOfValues) AsNameArrayOfValues() ([]*Name, bool)
- func (fpaov *Role_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})
- type Role_FieldTerminalPathValue
- func (fpv *Role_FieldTerminalPathValue) AsDefaultConditionBindingValue() (*condition.ConditionBinding, bool)
- func (fpv *Role_FieldTerminalPathValue) AsDisplayNameValue() (string, bool)
- func (fpv *Role_FieldTerminalPathValue) AsIncludedPermissionsValue() ([]*permission.Reference, bool)
- func (fpv *Role_FieldTerminalPathValue) AsNameValue() (*Name, bool)
- func (fpv *Role_FieldTerminalPathValue) CompareWith(source *Role) (int, bool)
- func (fpv *Role_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)
- func (fpv *Role_FieldTerminalPathValue) GetRawValue() interface{}
- func (fpv *Role_FieldTerminalPathValue) SetTo(target **Role)
- func (fpv *Role_FieldTerminalPathValue) SetToRaw(target proto.Message)
- type WatchQuery
- func (q *WatchQuery) GetMaximumChunkSize() int
- func (q *WatchQuery) GetResumeToken() string
- func (q *WatchQuery) GetWatchType() watch_type.WatchType
- func (q *WatchQuery) SetMaximumChunkSize(chunkSize int)
- func (q *WatchQuery) SetResumeToken(token string)
- func (q *WatchQuery) SetWatchType(watchType watch_type.WatchType)
- func (q *WatchQuery) String() string
Constants ¶
const (
NamePattern_Nil = "roles/{role}"
)
Variables ¶
This section is empty.
Functions ¶
func AsAnyCastAccess ¶
func AsAnyCastAccess(access RoleAccess) gotenresource.Access
Types ¶
type Descriptor ¶
type Descriptor struct {
// contains filtered or unexported fields
}
func GetDescriptor ¶
func GetDescriptor() *Descriptor
func (*Descriptor) GetNameDescriptor ¶
func (d *Descriptor) GetNameDescriptor() *gotenresource.NameDescriptor
func (*Descriptor) GetResourceTypeName ¶
func (d *Descriptor) GetResourceTypeName() *gotenresource.TypeName
func (*Descriptor) NewGetQuery ¶
func (d *Descriptor) NewGetQuery() gotenresource.GetQuery
func (*Descriptor) NewListQuery ¶
func (d *Descriptor) NewListQuery() gotenresource.ListQuery
func (*Descriptor) NewNameList ¶
func (d *Descriptor) NewNameList(size, reserved int) gotenresource.NameList
func (*Descriptor) NewParentNameList ¶
func (d *Descriptor) NewParentNameList(size, reserved int) gotenresource.ParentNameList
func (*Descriptor) NewParentReferenceList ¶
func (d *Descriptor) NewParentReferenceList(size, reserved int) gotenresource.ParentReferenceList
func (*Descriptor) NewQueryResultChange ¶
func (d *Descriptor) NewQueryResultChange() gotenresource.QueryResultChange
func (*Descriptor) NewQueryResultSnapshot ¶
func (d *Descriptor) NewQueryResultSnapshot() gotenresource.QueryResultSnapshot
func (*Descriptor) NewReferenceList ¶
func (d *Descriptor) NewReferenceList(size, reserved int) gotenresource.ReferenceList
func (*Descriptor) NewResource ¶
func (d *Descriptor) NewResource() gotenresource.Resource
func (*Descriptor) NewResourceChange ¶
func (d *Descriptor) NewResourceChange() gotenresource.ResourceChange
func (*Descriptor) NewResourceChangeList ¶
func (d *Descriptor) NewResourceChangeList(size, reserved int) gotenresource.ResourceChangeList
func (*Descriptor) NewResourceChangeMap ¶
func (d *Descriptor) NewResourceChangeMap(reserved int) gotenresource.ResourceChangeMap
func (*Descriptor) NewResourceCursor ¶
func (d *Descriptor) NewResourceCursor() gotenresource.Cursor
func (*Descriptor) NewResourceFieldMask ¶ added in v0.4.16
func (d *Descriptor) NewResourceFieldMask() gotenobject.FieldMask
func (*Descriptor) NewResourceFilter ¶ added in v0.4.16
func (d *Descriptor) NewResourceFilter() gotenresource.Filter
func (*Descriptor) NewResourceList ¶
func (d *Descriptor) NewResourceList(size, reserved int) gotenresource.ResourceList
func (*Descriptor) NewResourceMap ¶
func (d *Descriptor) NewResourceMap(reserved int) gotenresource.ResourceMap
func (*Descriptor) NewResourceName ¶
func (d *Descriptor) NewResourceName() gotenresource.Name
func (*Descriptor) NewResourceOrderBy ¶ added in v0.4.16
func (d *Descriptor) NewResourceOrderBy() gotenresource.OrderBy
func (*Descriptor) NewSearchQuery ¶
func (d *Descriptor) NewSearchQuery() gotenresource.SearchQuery
func (*Descriptor) NewSearchQueryResultSnapshot ¶
func (d *Descriptor) NewSearchQueryResultSnapshot() gotenresource.SearchQueryResultSnapshot
func (*Descriptor) NewWatchQuery ¶
func (d *Descriptor) NewWatchQuery() gotenresource.WatchQuery
func (*Descriptor) ParseFieldPath ¶
func (d *Descriptor) ParseFieldPath(raw string) (gotenobject.FieldPath, error)
func (*Descriptor) ParseResourceName ¶
func (d *Descriptor) ParseResourceName(nameStr string) (gotenresource.Name, error)
type Filter ¶
type Filter struct {
FilterCondition
}
func (*Filter) ConvertToNative ¶
func (*Filter) DecodeFirestore ¶
func (filter *Filter) DecodeFirestore(fpbv *firestorepb.Value) error
func (*Filter) EncodeFirestore ¶
func (filter *Filter) EncodeFirestore() (*firestorepb.Value, error)
firestore encoding/decoding integration
func (*Filter) EvaluateRaw ¶
func (filter *Filter) EvaluateRaw(res gotenresource.Resource) bool
func (*Filter) FilterSlice ¶
FilterSlice is a helper for filtering arrays
func (*Filter) GetCondition ¶
func (filter *Filter) GetCondition() FilterCondition
GetCondition is a getter of FilterCondition, which also handles nil pointer
func (*Filter) GetRawCondition ¶
func (filter *Filter) GetRawCondition() gotenresource.FilterCondition
func (*Filter) ParseProtoString ¶
func (*Filter) ProtoString ¶
func (*Filter) SetFromCliFlag ¶
type FilterBuilder ¶
type FilterBuilder struct {
// contains filtered or unexported fields
}
func NewAndFilterBuilder ¶
func NewAndFilterBuilder() *FilterBuilder
func NewFilterBuilder ¶
func NewFilterBuilder() *FilterBuilder
func NewOrFilterBuilder ¶
func NewOrFilterBuilder() *FilterBuilder
func (*FilterBuilder) Filter ¶
func (b *FilterBuilder) Filter() *Filter
func (*FilterBuilder) Where ¶
func (b *FilterBuilder) Where(opts ...gotenfilter.FilterConditionOption) *filterCndBuilder
func (*FilterBuilder) WherePath ¶
func (b *FilterBuilder) WherePath(fp Role_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 *Role) bool // Whether this condition is at least as specific as other. // When true, any Role 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 Role_FieldPath) bool // contains filtered or unexported methods }
func AndFilterConditions ¶
func AndFilterConditions(conds ...FilterCondition) FilterCondition
type FilterConditionCompare ¶
type FilterConditionCompare struct { Operator filterParser.CompareOperator Role_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 *Role) 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 Role_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 *Role) 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 Role_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 Role_FieldPath Value Role_FieldPathArrayItemValue Values []Role_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 *Role) bool
func (*FilterConditionContains) EvaluateRaw ¶
func (cond *FilterConditionContains) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionContains) GetFieldPath ¶
func (cond *FilterConditionContains) GetFieldPath() Role_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 Role_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 {
Role_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 *Role) 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 Role_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 Role_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 *Role) 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 Role_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 Role_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 *Role) 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 Role_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 *Role) 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 Role_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 {
Role_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 *Role) 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 Role_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 *Role_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 *Role_FieldMask }
func (*ListQuery) GetFieldMask ¶
func (q *ListQuery) GetFieldMask() gotenobject.FieldMask
func (*ListQuery) GetFilter ¶
func (q *ListQuery) GetFilter() gotenresource.Filter
func (*ListQuery) GetPager ¶
func (q *ListQuery) GetPager() gotenresource.PagerQuery
func (*ListQuery) GetResourceDescriptor ¶
func (q *ListQuery) GetResourceDescriptor() gotenresource.Descriptor
func (*ListQuery) GotenQuery ¶
func (q *ListQuery) GotenQuery()
func (*ListQuery) SetFieldMask ¶
func (q *ListQuery) SetFieldMask(mask gotenobject.FieldMask)
func (*ListQuery) SetFilter ¶
func (q *ListQuery) SetFilter(filter gotenresource.Filter)
func (*ListQuery) SetPager ¶
func (q *ListQuery) SetPager(pager gotenresource.PagerQuery)
type Name ¶
type Name struct { NamePattern RoleId string `firestore:"roleId"` }
func MustParseName ¶
func ParseNameOrId ¶
func (*Name) AsRawReference ¶
func (name *Name) AsRawReference() gotenresource.Reference
func (*Name) AsReference ¶
func (*Name) ConvertToNative ¶
func (*Name) FullyQualifiedName ¶
func (*Name) GetIdParts ¶
func (*Name) GetPattern ¶
func (name *Name) GetPattern() gotenresource.NamePattern
func (*Name) GetResourceDescriptor ¶
func (name *Name) GetResourceDescriptor() gotenresource.Descriptor
func (*Name) GetSegments ¶
func (name *Name) GetSegments() gotenresource.NameSegments
func (*Name) GotenEqual ¶
GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)
func (*Name) IsFullyQualified ¶
func (*Name) IsSpecified ¶
func (*Name) Matches ¶
Matches is same as GotenEqual, but also will accept "other" if name is wildcard.
func (*Name) ParseProtoString ¶
func (*Name) ProtoString ¶
func (*Name) SetFromCliFlag ¶
implement CustomTypeCliValue method
func (*Name) SetFromSegments ¶
func (name *Name) SetFromSegments(segments gotenresource.NameSegments) error
type NameBuilder ¶
type NameBuilder struct {
// contains filtered or unexported fields
}
func NewNameBuilder ¶
func NewNameBuilder() *NameBuilder
func (*NameBuilder) Name ¶
func (b *NameBuilder) Name() *Name
func (*NameBuilder) Reference ¶
func (b *NameBuilder) Reference() *Reference
func (*NameBuilder) SetId ¶
func (b *NameBuilder) SetId(id string) *NameBuilder
type NamePattern ¶
type NamePattern struct {
Pattern gotenresource.NamePattern `firestore:"pattern"`
}
type OrderBy ¶
type OrderBy struct {
OrderByFields []OrderByField
}
OrderBy Is string encoded Custom Protobuf type, which handles "order_by" field order_by consists of coma delimited OrderBy specs, which denote ordering priority, e.g. "state.value asc, state.capacity desc"
func (*OrderBy) CompareRaw ¶
func (orderBy *OrderBy) CompareRaw(left, right gotenresource.Resource) int
func (*OrderBy) GetFieldMask ¶
func (orderBy *OrderBy) GetFieldMask() *Role_FieldMask
func (*OrderBy) GetOrderByFields ¶
func (orderBy *OrderBy) GetOrderByFields() []gotenresource.OrderByField
func (*OrderBy) GetRawFieldMask ¶
func (orderBy *OrderBy) GetRawFieldMask() gotenobject.FieldMask
func (*OrderBy) InsertSorted ¶
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) SortRaw ¶
func (orderBy *OrderBy) SortRaw(results gotenresource.ResourceList)
type OrderByField ¶
type OrderByField struct { FieldPath Role_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 *Role) 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
type QueryResultChange ¶
type QueryResultChange struct { Changes []*RoleChange 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 { Roles []*Role 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) GetIdParts ¶
func (*Reference) GetPattern ¶
func (ref *Reference) GetPattern() gotenresource.NamePattern
func (*Reference) GetRawResource ¶
func (ref *Reference) GetRawResource() gotenresource.Resource
func (*Reference) GetResourceDescriptor ¶
func (ref *Reference) GetResourceDescriptor() gotenresource.Descriptor
func (*Reference) GetSegments ¶
func (ref *Reference) GetSegments() gotenresource.NameSegments
func (*Reference) GotenEqual ¶
GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)
func (*Reference) IsFullyQualified ¶
func (*Reference) IsSpecified ¶
func (*Reference) Matches ¶
Matches is same as GotenEqual, but also will accept "other" if name is wildcard.
func (*Reference) ParseProtoString ¶
func (*Reference) ProtoString ¶
func (*Reference) ResolveRaw ¶
func (ref *Reference) ResolveRaw(res gotenresource.Resource) error
func (*Reference) SetFromCliFlag ¶
implement CustomTypeCliValue method
type Role ¶
type Role struct { // Name of Role Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"` // Display Name DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty" firestore:"displayName"` // Included Permissions in this Role. Binding this role grants all following // Permissions. IncludedPermissions []*permission.Reference `` /* 171-byte string literal not displayed */ // Default conditionBinding (optional) DefaultConditionBinding *condition.ConditionBinding `` /* 168-byte string literal not displayed */ // contains filtered or unexported fields }
Role is a named bag of [Permissions][ntt.iam.v1alpha.Permission] that can be granted on certain scope (system, organization or project) to member (user, service account, group, anyone) with [RoleBinding].
Note: currently roles are defined as system-level resources, but per-organization or per-project support is expected.
func (*Role) CloneRaw ¶
func (o *Role) CloneRaw() gotenobject.GotenObjectExt
func (*Role) Descriptor ¶
Deprecated, Use Role.ProtoReflect.Descriptor instead.
func (*Role) GetDefaultConditionBinding ¶
func (m *Role) GetDefaultConditionBinding() *condition.ConditionBinding
func (*Role) GetDisplayName ¶
func (*Role) GetIncludedPermissions ¶
func (m *Role) GetIncludedPermissions() []*permission.Reference
func (*Role) GetRawName ¶
func (r *Role) GetRawName() gotenresource.Name
func (*Role) GetResourceDescriptor ¶
func (r *Role) GetResourceDescriptor() gotenresource.Descriptor
func (*Role) GotenMessage ¶
func (*Role) GotenMessage()
func (*Role) GotenObjectExt ¶
func (o *Role) GotenObjectExt()
func (*Role) GotenValidate ¶
func (*Role) MakeDiffFieldMask ¶
func (o *Role) MakeDiffFieldMask(other *Role) *Role_FieldMask
func (*Role) MakeFullFieldMask ¶
func (o *Role) MakeFullFieldMask() *Role_FieldMask
func (*Role) MakeRawDiffFieldMask ¶
func (o *Role) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask
func (*Role) MakeRawFullFieldMask ¶
func (o *Role) MakeRawFullFieldMask() gotenobject.FieldMask
func (*Role) MarshalJSON ¶
func (*Role) MaybePopulateDefaults ¶
func (*Role) MergeRaw ¶
func (o *Role) MergeRaw(source gotenobject.GotenObjectExt)
func (*Role) ProtoMessage ¶
func (*Role) ProtoMessage()
func (*Role) ProtoReflect ¶
func (*Role) SetDefaultConditionBinding ¶
func (m *Role) SetDefaultConditionBinding(fv *condition.ConditionBinding)
func (*Role) SetDisplayName ¶
func (*Role) SetIncludedPermissions ¶
func (m *Role) SetIncludedPermissions(fv []*permission.Reference)
func (*Role) UnmarshalJSON ¶
type RoleAccess ¶
type RoleAccess interface { GetRole(context.Context, *GetQuery) (*Role, error) BatchGetRoles(context.Context, []*Reference, ...gotenresource.BatchGetOption) error QueryRoles(context.Context, *ListQuery) (*QueryResultSnapshot, error) WatchRole(context.Context, *GetQuery, func(*RoleChange) error) error WatchRoles(context.Context, *WatchQuery, func(*QueryResultChange) error) error SaveRole(context.Context, *Role, ...gotenresource.SaveOption) error DeleteRole(context.Context, *Reference, ...gotenresource.DeleteOption) error }
type RoleChange ¶
type RoleChange struct { // Role change // // Types that are valid to be assigned to ChangeType: // *RoleChange_Added_ // *RoleChange_Modified_ // *RoleChange_Current_ // *RoleChange_Removed_ ChangeType isRoleChange_ChangeType `protobuf_oneof:"change_type"` // contains filtered or unexported fields }
RoleChange is used by Watch notifications Responses to describe change of single Role One of Added, Modified, Removed
func (*RoleChange) Descriptor ¶
func (*RoleChange) Descriptor() ([]byte, []int)
Deprecated, Use RoleChange.ProtoReflect.Descriptor instead.
func (*RoleChange) GetAdded ¶
func (m *RoleChange) GetAdded() *RoleChange_Added
func (*RoleChange) GetChangeType ¶
func (m *RoleChange) GetChangeType() isRoleChange_ChangeType
func (*RoleChange) GetCurrent ¶
func (m *RoleChange) GetCurrent() *RoleChange_Current
func (*RoleChange) GetCurrentViewIndex ¶
func (c *RoleChange) GetCurrentViewIndex() int32
func (*RoleChange) GetModified ¶
func (m *RoleChange) GetModified() *RoleChange_Modified
func (*RoleChange) GetPreviousViewIndex ¶
func (c *RoleChange) GetPreviousViewIndex() int32
func (*RoleChange) GetRawName ¶
func (c *RoleChange) GetRawName() gotenresource.Name
func (*RoleChange) GetRawResource ¶ added in v0.5.1
func (c *RoleChange) GetRawResource() gotenresource.Resource
func (*RoleChange) GetRemoved ¶
func (m *RoleChange) GetRemoved() *RoleChange_Removed
func (*RoleChange) GetRole ¶
func (c *RoleChange) GetRole() *Role
func (*RoleChange) GetRoleName ¶
func (c *RoleChange) GetRoleName() *Name
func (*RoleChange) GotenMessage ¶
func (*RoleChange) GotenMessage()
func (*RoleChange) GotenValidate ¶
func (obj *RoleChange) GotenValidate() error
func (*RoleChange) IsAdd ¶
func (c *RoleChange) IsAdd() bool
func (*RoleChange) IsCurrent ¶
func (c *RoleChange) IsCurrent() bool
func (*RoleChange) IsDelete ¶
func (c *RoleChange) IsDelete() bool
func (*RoleChange) IsModify ¶
func (c *RoleChange) IsModify() bool
func (*RoleChange) Marshal ¶
func (m *RoleChange) Marshal() ([]byte, error)
func (*RoleChange) MarshalJSON ¶
func (m *RoleChange) MarshalJSON() ([]byte, error)
func (*RoleChange) ProtoMessage ¶
func (*RoleChange) ProtoMessage()
func (*RoleChange) ProtoReflect ¶
func (m *RoleChange) ProtoReflect() preflect.Message
func (*RoleChange) Reset ¶
func (m *RoleChange) Reset()
func (*RoleChange) SetAdded ¶
func (m *RoleChange) SetAdded(fv *RoleChange_Added)
func (*RoleChange) SetAddedRaw ¶
func (c *RoleChange) SetAddedRaw(snapshot gotenresource.Resource, idx int)
func (*RoleChange) SetChangeType ¶
func (m *RoleChange) SetChangeType(ofv isRoleChange_ChangeType)
func (*RoleChange) SetCurrent ¶
func (m *RoleChange) SetCurrent(fv *RoleChange_Current)
func (*RoleChange) SetCurrentRaw ¶
func (c *RoleChange) SetCurrentRaw(snapshot gotenresource.Resource)
func (*RoleChange) SetDeletedRaw ¶
func (c *RoleChange) SetDeletedRaw(name gotenresource.Name, idx int)
func (*RoleChange) SetModified ¶
func (m *RoleChange) SetModified(fv *RoleChange_Modified)
func (*RoleChange) SetModifiedRaw ¶
func (c *RoleChange) SetModifiedRaw(name gotenresource.Name, snapshot gotenresource.Resource, prevIdx int, newIdx int)
func (*RoleChange) SetRemoved ¶
func (m *RoleChange) SetRemoved(fv *RoleChange_Removed)
func (*RoleChange) String ¶
func (m *RoleChange) String() string
func (*RoleChange) Unmarshal ¶
func (m *RoleChange) Unmarshal(b []byte) error
func (*RoleChange) UnmarshalJSON ¶
func (m *RoleChange) UnmarshalJSON(data []byte) error
type RoleChangeList ¶
type RoleChangeList []*RoleChange
func (RoleChangeList) Append ¶
func (l RoleChangeList) Append(item gotenresource.ResourceChange) gotenresource.ResourceChangeList
func (RoleChangeList) AppendList ¶
func (l RoleChangeList) AppendList(list gotenresource.ResourceChangeList) gotenresource.ResourceChangeList
func (RoleChangeList) At ¶
func (l RoleChangeList) At(idx int) gotenresource.ResourceChange
func (RoleChangeList) Length ¶
func (l RoleChangeList) Length() int
func (RoleChangeList) Set ¶
func (l RoleChangeList) Set(idx int, change gotenresource.ResourceChange)
func (RoleChangeList) Slice ¶
func (l RoleChangeList) Slice(first, second int) gotenresource.ResourceChangeList
type RoleChangeMap ¶
type RoleChangeMap map[Name]*RoleChange
func (RoleChangeMap) Delete ¶
func (m RoleChangeMap) Delete(name gotenresource.Name)
func (RoleChangeMap) ForEach ¶
func (m RoleChangeMap) ForEach(cb func(gotenresource.Name, gotenresource.ResourceChange) bool)
func (RoleChangeMap) Get ¶
func (m RoleChangeMap) Get(name gotenresource.Name) gotenresource.ResourceChange
func (RoleChangeMap) Length ¶
func (m RoleChangeMap) Length() int
func (RoleChangeMap) Set ¶
func (m RoleChangeMap) Set(change gotenresource.ResourceChange)
type RoleChange_Added ¶
type RoleChange_Added struct { Role *Role `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty" firestore:"role"` // Integer describing index of added Role 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 }
Role has been added to query view
func (*RoleChange_Added) Descriptor ¶
func (*RoleChange_Added) Descriptor() ([]byte, []int)
Deprecated, Use RoleChange_Added.ProtoReflect.Descriptor instead.
func (*RoleChange_Added) GetRole ¶
func (m *RoleChange_Added) GetRole() *Role
func (*RoleChange_Added) GetViewIndex ¶
func (m *RoleChange_Added) GetViewIndex() int32
func (*RoleChange_Added) GotenMessage ¶
func (*RoleChange_Added) GotenMessage()
func (*RoleChange_Added) GotenValidate ¶
func (obj *RoleChange_Added) GotenValidate() error
func (*RoleChange_Added) Marshal ¶
func (m *RoleChange_Added) Marshal() ([]byte, error)
func (*RoleChange_Added) MarshalJSON ¶
func (m *RoleChange_Added) MarshalJSON() ([]byte, error)
func (*RoleChange_Added) ProtoMessage ¶
func (*RoleChange_Added) ProtoMessage()
func (*RoleChange_Added) ProtoReflect ¶
func (m *RoleChange_Added) ProtoReflect() preflect.Message
func (*RoleChange_Added) Reset ¶
func (m *RoleChange_Added) Reset()
func (*RoleChange_Added) SetRole ¶
func (m *RoleChange_Added) SetRole(fv *Role)
func (*RoleChange_Added) SetViewIndex ¶
func (m *RoleChange_Added) SetViewIndex(fv int32)
func (*RoleChange_Added) String ¶
func (m *RoleChange_Added) String() string
func (*RoleChange_Added) Unmarshal ¶
func (m *RoleChange_Added) Unmarshal(b []byte) error
func (*RoleChange_Added) UnmarshalJSON ¶
func (m *RoleChange_Added) UnmarshalJSON(data []byte) error
type RoleChange_Added_ ¶
type RoleChange_Added_ struct { // Added is returned when watched document is added, either created or // enters Query view Added *RoleChange_Added `protobuf:"bytes,1,opt,name=added,proto3,oneof" firestore:"added"` }
type RoleChange_Current ¶
type RoleChange_Current struct { Role *Role `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty" firestore:"role"` // contains filtered or unexported fields }
Role has been added or modified in a query view. Version used for stateless watching
func (*RoleChange_Current) Descriptor ¶
func (*RoleChange_Current) Descriptor() ([]byte, []int)
Deprecated, Use RoleChange_Current.ProtoReflect.Descriptor instead.
func (*RoleChange_Current) GetRole ¶
func (m *RoleChange_Current) GetRole() *Role
func (*RoleChange_Current) GotenMessage ¶
func (*RoleChange_Current) GotenMessage()
func (*RoleChange_Current) GotenValidate ¶
func (obj *RoleChange_Current) GotenValidate() error
func (*RoleChange_Current) Marshal ¶
func (m *RoleChange_Current) Marshal() ([]byte, error)
func (*RoleChange_Current) MarshalJSON ¶
func (m *RoleChange_Current) MarshalJSON() ([]byte, error)
func (*RoleChange_Current) ProtoMessage ¶
func (*RoleChange_Current) ProtoMessage()
func (*RoleChange_Current) ProtoReflect ¶
func (m *RoleChange_Current) ProtoReflect() preflect.Message
func (*RoleChange_Current) Reset ¶
func (m *RoleChange_Current) Reset()
func (*RoleChange_Current) SetRole ¶
func (m *RoleChange_Current) SetRole(fv *Role)
func (*RoleChange_Current) String ¶
func (m *RoleChange_Current) String() string
func (*RoleChange_Current) Unmarshal ¶
func (m *RoleChange_Current) Unmarshal(b []byte) error
func (*RoleChange_Current) UnmarshalJSON ¶
func (m *RoleChange_Current) UnmarshalJSON(data []byte) error
type RoleChange_Current_ ¶
type RoleChange_Current_ struct { // Current is returned in stateless watch when document enters query view or // is modified within. Current *RoleChange_Current `protobuf:"bytes,4,opt,name=current,proto3,oneof" firestore:"current"` }
type RoleChange_Modified ¶
type RoleChange_Modified struct { // Name of modified Role Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"` // New version of Role or masked difference, depending on mask_changes // instrumentation of issued [WatchRoleRequest] or [WatchRolesRequest] Role *Role `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty" firestore:"role"` // Used when mask_changes is set, contains field paths of modified // properties. FieldMask *Role_FieldMask `` /* 136-byte string literal not displayed */ // Previous view index specifies previous position of modified Role. // When modification doesn't affect sorted order, value will remain // identical to [view_index]. PreviousViewIndex int32 `` /* 145-byte string literal not displayed */ // Integer specifying Role 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 }
Role changed some of it's fields - contains either full document or masked change
func (*RoleChange_Modified) Descriptor ¶
func (*RoleChange_Modified) Descriptor() ([]byte, []int)
Deprecated, Use RoleChange_Modified.ProtoReflect.Descriptor instead.
func (*RoleChange_Modified) GetFieldMask ¶
func (m *RoleChange_Modified) GetFieldMask() *Role_FieldMask
func (*RoleChange_Modified) GetName ¶
func (m *RoleChange_Modified) GetName() *Name
func (*RoleChange_Modified) GetPreviousViewIndex ¶
func (m *RoleChange_Modified) GetPreviousViewIndex() int32
func (*RoleChange_Modified) GetRole ¶
func (m *RoleChange_Modified) GetRole() *Role
func (*RoleChange_Modified) GetViewIndex ¶
func (m *RoleChange_Modified) GetViewIndex() int32
func (*RoleChange_Modified) GotenMessage ¶
func (*RoleChange_Modified) GotenMessage()
func (*RoleChange_Modified) GotenValidate ¶
func (obj *RoleChange_Modified) GotenValidate() error
func (*RoleChange_Modified) Marshal ¶
func (m *RoleChange_Modified) Marshal() ([]byte, error)
func (*RoleChange_Modified) MarshalJSON ¶
func (m *RoleChange_Modified) MarshalJSON() ([]byte, error)
func (*RoleChange_Modified) ProtoMessage ¶
func (*RoleChange_Modified) ProtoMessage()
func (*RoleChange_Modified) ProtoReflect ¶
func (m *RoleChange_Modified) ProtoReflect() preflect.Message
func (*RoleChange_Modified) Reset ¶
func (m *RoleChange_Modified) Reset()
func (*RoleChange_Modified) SetFieldMask ¶
func (m *RoleChange_Modified) SetFieldMask(fv *Role_FieldMask)
func (*RoleChange_Modified) SetName ¶
func (m *RoleChange_Modified) SetName(fv *Name)
func (*RoleChange_Modified) SetPreviousViewIndex ¶
func (m *RoleChange_Modified) SetPreviousViewIndex(fv int32)
func (*RoleChange_Modified) SetRole ¶
func (m *RoleChange_Modified) SetRole(fv *Role)
func (*RoleChange_Modified) SetViewIndex ¶
func (m *RoleChange_Modified) SetViewIndex(fv int32)
func (*RoleChange_Modified) String ¶
func (m *RoleChange_Modified) String() string
func (*RoleChange_Modified) Unmarshal ¶
func (m *RoleChange_Modified) Unmarshal(b []byte) error
func (*RoleChange_Modified) UnmarshalJSON ¶
func (m *RoleChange_Modified) UnmarshalJSON(data []byte) error
type RoleChange_Modified_ ¶
type RoleChange_Modified_ struct { // Modified is returned when watched document is modified Modified *RoleChange_Modified `protobuf:"bytes,2,opt,name=modified,proto3,oneof" firestore:"modified"` }
type RoleChange_Removed ¶
type RoleChange_Removed struct { Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"` // Integer specifying removed Role 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 Role is deleted or leaves Query view
func (*RoleChange_Removed) Descriptor ¶
func (*RoleChange_Removed) Descriptor() ([]byte, []int)
Deprecated, Use RoleChange_Removed.ProtoReflect.Descriptor instead.
func (*RoleChange_Removed) GetName ¶
func (m *RoleChange_Removed) GetName() *Name
func (*RoleChange_Removed) GetViewIndex ¶
func (m *RoleChange_Removed) GetViewIndex() int32
func (*RoleChange_Removed) GotenMessage ¶
func (*RoleChange_Removed) GotenMessage()
func (*RoleChange_Removed) GotenValidate ¶
func (obj *RoleChange_Removed) GotenValidate() error
func (*RoleChange_Removed) Marshal ¶
func (m *RoleChange_Removed) Marshal() ([]byte, error)
func (*RoleChange_Removed) MarshalJSON ¶
func (m *RoleChange_Removed) MarshalJSON() ([]byte, error)
func (*RoleChange_Removed) ProtoMessage ¶
func (*RoleChange_Removed) ProtoMessage()
func (*RoleChange_Removed) ProtoReflect ¶
func (m *RoleChange_Removed) ProtoReflect() preflect.Message
func (*RoleChange_Removed) Reset ¶
func (m *RoleChange_Removed) Reset()
func (*RoleChange_Removed) SetName ¶
func (m *RoleChange_Removed) SetName(fv *Name)
func (*RoleChange_Removed) SetViewIndex ¶
func (m *RoleChange_Removed) SetViewIndex(fv int32)
func (*RoleChange_Removed) String ¶
func (m *RoleChange_Removed) String() string
func (*RoleChange_Removed) Unmarshal ¶
func (m *RoleChange_Removed) Unmarshal(b []byte) error
func (*RoleChange_Removed) UnmarshalJSON ¶
func (m *RoleChange_Removed) UnmarshalJSON(data []byte) error
type RoleChange_Removed_ ¶
type RoleChange_Removed_ struct { // Removed is returned when Role is deleted or leaves Query view Removed *RoleChange_Removed `protobuf:"bytes,3,opt,name=removed,proto3,oneof" firestore:"removed"` }
type RoleFieldPathBuilder ¶
type RoleFieldPathBuilder struct{}
func NewRoleFieldPathBuilder ¶
func NewRoleFieldPathBuilder() RoleFieldPathBuilder
func (RoleFieldPathBuilder) DefaultConditionBinding ¶
func (RoleFieldPathBuilder) DefaultConditionBinding() RolePathSelectorDefaultConditionBinding
func (RoleFieldPathBuilder) DisplayName ¶
func (RoleFieldPathBuilder) DisplayName() RolePathSelectorDisplayName
func (RoleFieldPathBuilder) IncludedPermissions ¶
func (RoleFieldPathBuilder) IncludedPermissions() RolePathSelectorIncludedPermissions
func (RoleFieldPathBuilder) Name ¶
func (RoleFieldPathBuilder) Name() RolePathSelectorName
type RoleList ¶
type RoleList []*Role
func (RoleList) Append ¶
func (l RoleList) Append(item gotenresource.Resource) gotenresource.ResourceList
func (RoleList) AppendList ¶
func (l RoleList) AppendList(list gotenresource.ResourceList) gotenresource.ResourceList
func (RoleList) Slice ¶
func (l RoleList) Slice(first, second int) gotenresource.ResourceList
type RoleMap ¶
func (RoleMap) Delete ¶
func (m RoleMap) Delete(name gotenresource.Name)
func (RoleMap) ForEach ¶
func (m RoleMap) ForEach(cb func(gotenresource.Name, gotenresource.Resource) bool)
func (RoleMap) Get ¶
func (m RoleMap) Get(name gotenresource.Name) gotenresource.Resource
func (RoleMap) Set ¶
func (m RoleMap) Set(res gotenresource.Resource)
type RoleMapPathSelectorDefaultConditionBindingParameters ¶
type RoleMapPathSelectorDefaultConditionBindingParameters struct {
// contains filtered or unexported fields
}
func (RoleMapPathSelectorDefaultConditionBindingParameters) FieldPath ¶
func (s RoleMapPathSelectorDefaultConditionBindingParameters) FieldPath() *Role_FieldSubPath
func (RoleMapPathSelectorDefaultConditionBindingParameters) WithArrayOfValues ¶
func (s RoleMapPathSelectorDefaultConditionBindingParameters) WithArrayOfValues(values []string) *Role_FieldSubPathArrayOfValues
func (RoleMapPathSelectorDefaultConditionBindingParameters) WithValue ¶
func (s RoleMapPathSelectorDefaultConditionBindingParameters) WithValue(value string) *Role_FieldSubPathValue
type RoleNameList ¶
type RoleNameList []*Name
func (RoleNameList) Append ¶
func (l RoleNameList) Append(name gotenresource.Name) gotenresource.NameList
func (RoleNameList) AppendList ¶
func (l RoleNameList) AppendList(list gotenresource.NameList) gotenresource.NameList
func (RoleNameList) At ¶
func (l RoleNameList) At(idx int) gotenresource.Name
func (RoleNameList) Length ¶
func (l RoleNameList) Length() int
func (RoleNameList) Set ¶
func (l RoleNameList) Set(idx int, name gotenresource.Name)
func (RoleNameList) Slice ¶
func (l RoleNameList) Slice(first, second int) gotenresource.NameList
type RolePathSelectorDefaultConditionBinding ¶
type RolePathSelectorDefaultConditionBinding struct{}
func (RolePathSelectorDefaultConditionBinding) FieldPath ¶
func (RolePathSelectorDefaultConditionBinding) FieldPath() *Role_FieldTerminalPath
func (RolePathSelectorDefaultConditionBinding) Parameters ¶
func (RolePathSelectorDefaultConditionBinding) WithArrayOfValues ¶
func (s RolePathSelectorDefaultConditionBinding) WithArrayOfValues(values []*condition.ConditionBinding) *Role_FieldTerminalPathArrayOfValues
func (RolePathSelectorDefaultConditionBinding) WithSubArrayItemValue ¶
func (s RolePathSelectorDefaultConditionBinding) WithSubArrayItemValue(subPathArrayItemValue condition.ConditionBinding_FieldPathArrayItemValue) *Role_FieldSubPathArrayItemValue
func (RolePathSelectorDefaultConditionBinding) WithSubArrayOfValues ¶
func (s RolePathSelectorDefaultConditionBinding) WithSubArrayOfValues(subPathArrayOfValues condition.ConditionBinding_FieldPathArrayOfValues) *Role_FieldSubPathArrayOfValues
func (RolePathSelectorDefaultConditionBinding) WithSubPath ¶
func (RolePathSelectorDefaultConditionBinding) WithSubPath(subPath condition.ConditionBinding_FieldPath) *Role_FieldSubPath
func (RolePathSelectorDefaultConditionBinding) WithSubValue ¶
func (s RolePathSelectorDefaultConditionBinding) WithSubValue(subPathValue condition.ConditionBinding_FieldPathValue) *Role_FieldSubPathValue
func (RolePathSelectorDefaultConditionBinding) WithValue ¶
func (s RolePathSelectorDefaultConditionBinding) WithValue(value *condition.ConditionBinding) *Role_FieldTerminalPathValue
type RolePathSelectorDefaultConditionBindingCondition ¶
type RolePathSelectorDefaultConditionBindingCondition struct{}
func (RolePathSelectorDefaultConditionBindingCondition) FieldPath ¶
func (RolePathSelectorDefaultConditionBindingCondition) FieldPath() *Role_FieldSubPath
func (RolePathSelectorDefaultConditionBindingCondition) WithArrayOfValues ¶
func (s RolePathSelectorDefaultConditionBindingCondition) WithArrayOfValues(values []*condition.Reference) *Role_FieldSubPathArrayOfValues
func (RolePathSelectorDefaultConditionBindingCondition) WithValue ¶
func (s RolePathSelectorDefaultConditionBindingCondition) WithValue(value *condition.Reference) *Role_FieldSubPathValue
type RolePathSelectorDefaultConditionBindingParameters ¶
type RolePathSelectorDefaultConditionBindingParameters struct{}
func (RolePathSelectorDefaultConditionBindingParameters) FieldPath ¶
func (RolePathSelectorDefaultConditionBindingParameters) FieldPath() *Role_FieldSubPath
func (RolePathSelectorDefaultConditionBindingParameters) WithArrayOfValues ¶
func (s RolePathSelectorDefaultConditionBindingParameters) WithArrayOfValues(values []map[string]string) *Role_FieldSubPathArrayOfValues
func (RolePathSelectorDefaultConditionBindingParameters) WithValue ¶
func (s RolePathSelectorDefaultConditionBindingParameters) WithValue(value map[string]string) *Role_FieldSubPathValue
type RolePathSelectorDisplayName ¶
type RolePathSelectorDisplayName struct{}
func (RolePathSelectorDisplayName) FieldPath ¶
func (RolePathSelectorDisplayName) FieldPath() *Role_FieldTerminalPath
func (RolePathSelectorDisplayName) WithArrayOfValues ¶
func (s RolePathSelectorDisplayName) WithArrayOfValues(values []string) *Role_FieldTerminalPathArrayOfValues
func (RolePathSelectorDisplayName) WithValue ¶
func (s RolePathSelectorDisplayName) WithValue(value string) *Role_FieldTerminalPathValue
type RolePathSelectorIncludedPermissions ¶
type RolePathSelectorIncludedPermissions struct{}
func (RolePathSelectorIncludedPermissions) FieldPath ¶
func (RolePathSelectorIncludedPermissions) FieldPath() *Role_FieldTerminalPath
func (RolePathSelectorIncludedPermissions) WithArrayOfValues ¶
func (s RolePathSelectorIncludedPermissions) WithArrayOfValues(values [][]*permission.Reference) *Role_FieldTerminalPathArrayOfValues
func (RolePathSelectorIncludedPermissions) WithItemValue ¶
func (s RolePathSelectorIncludedPermissions) WithItemValue(value *permission.Reference) *Role_FieldTerminalPathArrayItemValue
func (RolePathSelectorIncludedPermissions) WithValue ¶
func (s RolePathSelectorIncludedPermissions) WithValue(value []*permission.Reference) *Role_FieldTerminalPathValue
type RolePathSelectorName ¶
type RolePathSelectorName struct{}
func (RolePathSelectorName) FieldPath ¶
func (RolePathSelectorName) FieldPath() *Role_FieldTerminalPath
func (RolePathSelectorName) WithArrayOfValues ¶
func (s RolePathSelectorName) WithArrayOfValues(values []*Name) *Role_FieldTerminalPathArrayOfValues
func (RolePathSelectorName) WithValue ¶
func (s RolePathSelectorName) WithValue(value *Name) *Role_FieldTerminalPathValue
type RoleReferenceList ¶
type RoleReferenceList []*Reference
func (RoleReferenceList) Append ¶
func (l RoleReferenceList) Append(ref gotenresource.Reference) gotenresource.ReferenceList
func (RoleReferenceList) AppendList ¶
func (l RoleReferenceList) AppendList(list gotenresource.ReferenceList) gotenresource.ReferenceList
func (RoleReferenceList) At ¶
func (l RoleReferenceList) At(idx int) gotenresource.Reference
func (RoleReferenceList) Length ¶
func (l RoleReferenceList) Length() int
func (RoleReferenceList) Set ¶
func (l RoleReferenceList) Set(idx int, ref gotenresource.Reference)
func (RoleReferenceList) Slice ¶
func (l RoleReferenceList) Slice(first, second int) gotenresource.ReferenceList
type Role_FieldMask ¶
type Role_FieldMask struct {
Paths []Role_FieldPath
}
func FullRole_FieldMask ¶
func FullRole_FieldMask() *Role_FieldMask
func ResourceViewFieldMask ¶
func ResourceViewFieldMask(viewName view.View, extraMask *Role_FieldMask) *Role_FieldMask
func (*Role_FieldMask) AppendPath ¶
func (fieldMask *Role_FieldMask) AppendPath(path Role_FieldPath)
func (*Role_FieldMask) AppendRawPath ¶
func (fieldMask *Role_FieldMask) AppendRawPath(path gotenobject.FieldPath)
func (*Role_FieldMask) DecodeFirestore ¶
func (fieldMask *Role_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error
func (*Role_FieldMask) EncodeFirestore ¶
func (fieldMask *Role_FieldMask) EncodeFirestore() (*firestorepb.Value, error)
firestore encoding/decoding integration
func (*Role_FieldMask) FilterInputFields ¶
func (fieldMask *Role_FieldMask) FilterInputFields() *Role_FieldMask
FilterInputFields generates copy of field paths with output_only field paths removed
func (*Role_FieldMask) FromProtoFieldMask ¶
func (fieldMask *Role_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error
func (*Role_FieldMask) GetPaths ¶
func (fieldMask *Role_FieldMask) GetPaths() []Role_FieldPath
func (*Role_FieldMask) GetRawPaths ¶
func (fieldMask *Role_FieldMask) GetRawPaths() []gotenobject.FieldPath
func (*Role_FieldMask) IsFull ¶
func (fieldMask *Role_FieldMask) IsFull() bool
func (Role_FieldMask) Marshal ¶
func (fieldMask Role_FieldMask) Marshal() ([]byte, error)
implement methods required by customType
func (Role_FieldMask) MarshalJSON ¶
func (fieldMask Role_FieldMask) MarshalJSON() ([]byte, error)
func (*Role_FieldMask) PathsCount ¶
func (fieldMask *Role_FieldMask) PathsCount() int
func (*Role_FieldMask) Project ¶
func (fieldMask *Role_FieldMask) Project(source *Role) *Role
func (*Role_FieldMask) ProjectRaw ¶
func (fieldMask *Role_FieldMask) ProjectRaw(source gotenobject.GotenObjectExt) gotenobject.GotenObjectExt
func (*Role_FieldMask) ProtoMessage ¶
func (fieldMask *Role_FieldMask) ProtoMessage()
func (*Role_FieldMask) ProtoReflect ¶
func (fieldMask *Role_FieldMask) ProtoReflect() preflect.Message
func (*Role_FieldMask) Reset ¶
func (fieldMask *Role_FieldMask) Reset()
func (*Role_FieldMask) Set ¶
func (fieldMask *Role_FieldMask) Set(target, source *Role)
func (*Role_FieldMask) SetFromCliFlag ¶
func (fieldMask *Role_FieldMask) SetFromCliFlag(raw string) error
func (*Role_FieldMask) SetRaw ¶
func (fieldMask *Role_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)
func (*Role_FieldMask) Size ¶
func (fieldMask *Role_FieldMask) Size() int
func (*Role_FieldMask) String ¶
func (fieldMask *Role_FieldMask) String() string
func (*Role_FieldMask) Subtract ¶
func (fieldMask *Role_FieldMask) Subtract(other *Role_FieldMask) *Role_FieldMask
func (*Role_FieldMask) SubtractRaw ¶
func (fieldMask *Role_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask
func (*Role_FieldMask) ToProtoFieldMask ¶
func (fieldMask *Role_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask
ToFieldMask is used for proto conversions
func (*Role_FieldMask) Unmarshal ¶
func (fieldMask *Role_FieldMask) Unmarshal(data []byte) error
func (*Role_FieldMask) UnmarshalJSON ¶
func (fieldMask *Role_FieldMask) UnmarshalJSON(data []byte) error
type Role_FieldPath ¶
type Role_FieldPath interface { gotenobject.FieldPath Selector() Role_FieldPathSelector Get(source *Role) []interface{} GetSingle(source *Role) (interface{}, bool) ClearValue(item *Role) // Those methods build corresponding Role_FieldPathValue // (or array of values) and holds passed value. Panics if injected type is incorrect. WithIValue(value interface{}) Role_FieldPathValue WithIArrayOfValues(values interface{}) Role_FieldPathArrayOfValues WithIArrayItemValue(value interface{}) Role_FieldPathArrayItemValue }
FieldPath provides implementation to handle https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto
func BuildRole_FieldPath ¶
func BuildRole_FieldPath(fp gotenobject.RawFieldPath) (Role_FieldPath, error)
func MustParseRole_FieldPath ¶
func MustParseRole_FieldPath(rawField string) Role_FieldPath
func ParseRole_FieldPath ¶
func ParseRole_FieldPath(rawField string) (Role_FieldPath, error)
type Role_FieldPathArrayItemValue ¶
type Role_FieldPathArrayItemValue interface { gotenobject.FieldPathArrayItemValue Role_FieldPath ContainsValue(*Role) bool }
Role_FieldPathArrayItemValue allows storing single item in Path-specific values for Role according to their type Present only for array (repeated) types.
func MustParseRole_FieldPathArrayItemValue ¶
func MustParseRole_FieldPathArrayItemValue(pathStr, valueStr string) Role_FieldPathArrayItemValue
func ParseRole_FieldPathArrayItemValue ¶
func ParseRole_FieldPathArrayItemValue(pathStr, valueStr string) (Role_FieldPathArrayItemValue, error)
ParseRole_FieldPathArrayItemValue parses string and JSON-encoded value to its Value
type Role_FieldPathArrayOfValues ¶
type Role_FieldPathArrayOfValues interface { gotenobject.FieldPathArrayOfValues Role_FieldPath }
Role_FieldPathArrayOfValues allows storing slice of values for Role fields according to their type
func MustParseRole_FieldPathArrayOfValues ¶
func MustParseRole_FieldPathArrayOfValues(pathStr, valuesStr string) Role_FieldPathArrayOfValues
func ParseRole_FieldPathArrayOfValues ¶
func ParseRole_FieldPathArrayOfValues(pathStr, valuesStr string) (Role_FieldPathArrayOfValues, error)
type Role_FieldPathSelector ¶
type Role_FieldPathSelector int32
const ( Role_FieldPathSelectorName Role_FieldPathSelector = 0 Role_FieldPathSelectorDisplayName Role_FieldPathSelector = 1 Role_FieldPathSelectorIncludedPermissions Role_FieldPathSelector = 2 Role_FieldPathSelectorDefaultConditionBinding Role_FieldPathSelector = 3 )
func (Role_FieldPathSelector) String ¶
func (s Role_FieldPathSelector) String() string
type Role_FieldPathValue ¶
type Role_FieldPathValue interface { Role_FieldPath gotenobject.FieldPathValue SetTo(target **Role) CompareWith(*Role) (cmp int, comparable bool) }
Role_FieldPathValue allows storing values for Role fields according to their type
func MustParseRole_FieldPathValue ¶
func MustParseRole_FieldPathValue(pathStr, valueStr string) Role_FieldPathValue
func ParseRole_FieldPathValue ¶
func ParseRole_FieldPathValue(pathStr, valueStr string) (Role_FieldPathValue, error)
type Role_FieldSubPath ¶
type Role_FieldSubPath struct {
// contains filtered or unexported fields
}
func (*Role_FieldSubPath) AsDefaultConditionBindingSubPath ¶
func (fps *Role_FieldSubPath) AsDefaultConditionBindingSubPath() (condition.ConditionBinding_FieldPath, bool)
func (*Role_FieldSubPath) ClearValue ¶
func (fps *Role_FieldSubPath) ClearValue(item *Role)
func (*Role_FieldSubPath) ClearValueRaw ¶
func (fps *Role_FieldSubPath) ClearValueRaw(item proto.Message)
func (*Role_FieldSubPath) Get ¶
func (fps *Role_FieldSubPath) Get(source *Role) (values []interface{})
Get returns all values pointed by selected field from source Role
func (*Role_FieldSubPath) GetDefault ¶
func (fps *Role_FieldSubPath) GetDefault() interface{}
GetDefault returns a default value of the field type
func (*Role_FieldSubPath) GetRaw ¶
func (fps *Role_FieldSubPath) GetRaw(source proto.Message) []interface{}
func (*Role_FieldSubPath) GetSingle ¶
func (fps *Role_FieldSubPath) GetSingle(source *Role) (interface{}, bool)
GetSingle returns value of selected field from source Role
func (*Role_FieldSubPath) GetSingleRaw ¶
func (fps *Role_FieldSubPath) GetSingleRaw(source proto.Message) (interface{}, bool)
func (*Role_FieldSubPath) IsLeaf ¶
func (fps *Role_FieldSubPath) IsLeaf() bool
IsLeaf - whether field path is holds simple value
func (*Role_FieldSubPath) JSONString ¶
func (fps *Role_FieldSubPath) JSONString() string
JSONString returns path representation is JSON convention
func (*Role_FieldSubPath) Selector ¶
func (fps *Role_FieldSubPath) Selector() Role_FieldPathSelector
func (*Role_FieldSubPath) String ¶
func (fps *Role_FieldSubPath) String() string
String returns path representation in proto convention
func (*Role_FieldSubPath) WithIArrayItemValue ¶
func (fps *Role_FieldSubPath) WithIArrayItemValue(value interface{}) Role_FieldPathArrayItemValue
func (*Role_FieldSubPath) WithIArrayOfValues ¶
func (fps *Role_FieldSubPath) WithIArrayOfValues(values interface{}) Role_FieldPathArrayOfValues
func (*Role_FieldSubPath) WithIValue ¶
func (fps *Role_FieldSubPath) WithIValue(value interface{}) Role_FieldPathValue
func (*Role_FieldSubPath) WithRawIArrayItemValue ¶
func (fps *Role_FieldSubPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
func (*Role_FieldSubPath) WithRawIArrayOfValues ¶
func (fps *Role_FieldSubPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
func (*Role_FieldSubPath) WithRawIValue ¶
func (fps *Role_FieldSubPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
type Role_FieldSubPathArrayItemValue ¶
type Role_FieldSubPathArrayItemValue struct { Role_FieldPath // contains filtered or unexported fields }
func (*Role_FieldSubPathArrayItemValue) AsDefaultConditionBindingPathItemValue ¶
func (fpaivs *Role_FieldSubPathArrayItemValue) AsDefaultConditionBindingPathItemValue() (condition.ConditionBinding_FieldPathArrayItemValue, bool)
func (*Role_FieldSubPathArrayItemValue) ContainsValue ¶
func (fpaivs *Role_FieldSubPathArrayItemValue) ContainsValue(source *Role) bool
Contains returns a boolean indicating if value that is being held is present in given 'Role'
func (*Role_FieldSubPathArrayItemValue) GetRawItemValue ¶
func (fpaivs *Role_FieldSubPathArrayItemValue) GetRawItemValue() interface{}
GetRawValue returns stored array item value
type Role_FieldSubPathArrayOfValues ¶
type Role_FieldSubPathArrayOfValues struct { Role_FieldPath // contains filtered or unexported fields }
func (*Role_FieldSubPathArrayOfValues) AsDefaultConditionBindingPathArrayOfValues ¶
func (fpsaov *Role_FieldSubPathArrayOfValues) AsDefaultConditionBindingPathArrayOfValues() (condition.ConditionBinding_FieldPathArrayOfValues, bool)
func (*Role_FieldSubPathArrayOfValues) GetRawValues ¶
func (fpsaov *Role_FieldSubPathArrayOfValues) GetRawValues() []interface{}
type Role_FieldSubPathValue ¶
type Role_FieldSubPathValue struct { Role_FieldPath // contains filtered or unexported fields }
func (*Role_FieldSubPathValue) AsDefaultConditionBindingPathValue ¶
func (fpvs *Role_FieldSubPathValue) AsDefaultConditionBindingPathValue() (condition.ConditionBinding_FieldPathValue, bool)
func (*Role_FieldSubPathValue) CompareWith ¶
func (fpvs *Role_FieldSubPathValue) CompareWith(source *Role) (int, bool)
func (*Role_FieldSubPathValue) CompareWithRaw ¶
func (fpvs *Role_FieldSubPathValue) CompareWithRaw(source proto.Message) (int, bool)
func (*Role_FieldSubPathValue) GetRawValue ¶
func (fpvs *Role_FieldSubPathValue) GetRawValue() interface{}
func (*Role_FieldSubPathValue) SetTo ¶
func (fpvs *Role_FieldSubPathValue) SetTo(target **Role)
func (*Role_FieldSubPathValue) SetToRaw ¶
func (fpvs *Role_FieldSubPathValue) SetToRaw(target proto.Message)
type Role_FieldTerminalPath ¶
type Role_FieldTerminalPath struct {
// contains filtered or unexported fields
}
func (*Role_FieldTerminalPath) ClearValue ¶
func (fp *Role_FieldTerminalPath) ClearValue(item *Role)
func (*Role_FieldTerminalPath) ClearValueRaw ¶
func (fp *Role_FieldTerminalPath) ClearValueRaw(item proto.Message)
func (*Role_FieldTerminalPath) Get ¶
func (fp *Role_FieldTerminalPath) Get(source *Role) (values []interface{})
Get returns all values pointed by specific field from source Role
func (*Role_FieldTerminalPath) GetDefault ¶
func (fp *Role_FieldTerminalPath) GetDefault() interface{}
GetDefault returns a default value of the field type
func (*Role_FieldTerminalPath) GetRaw ¶
func (fp *Role_FieldTerminalPath) GetRaw(source proto.Message) []interface{}
func (*Role_FieldTerminalPath) GetSingle ¶
func (fp *Role_FieldTerminalPath) GetSingle(source *Role) (interface{}, bool)
GetSingle returns value pointed by specific field of from source Role
func (*Role_FieldTerminalPath) GetSingleRaw ¶
func (fp *Role_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)
func (*Role_FieldTerminalPath) IsLeaf ¶
func (fp *Role_FieldTerminalPath) IsLeaf() bool
IsLeaf - whether field path is holds simple value
func (*Role_FieldTerminalPath) JSONString ¶
func (fp *Role_FieldTerminalPath) JSONString() string
JSONString returns path representation is JSON convention
func (*Role_FieldTerminalPath) Selector ¶
func (fp *Role_FieldTerminalPath) Selector() Role_FieldPathSelector
func (*Role_FieldTerminalPath) String ¶
func (fp *Role_FieldTerminalPath) String() string
String returns path representation in proto convention
func (*Role_FieldTerminalPath) WithIArrayItemValue ¶
func (fp *Role_FieldTerminalPath) WithIArrayItemValue(value interface{}) Role_FieldPathArrayItemValue
func (*Role_FieldTerminalPath) WithIArrayOfValues ¶
func (fp *Role_FieldTerminalPath) WithIArrayOfValues(values interface{}) Role_FieldPathArrayOfValues
func (*Role_FieldTerminalPath) WithIValue ¶
func (fp *Role_FieldTerminalPath) WithIValue(value interface{}) Role_FieldPathValue
func (*Role_FieldTerminalPath) WithRawIArrayItemValue ¶
func (fp *Role_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
func (*Role_FieldTerminalPath) WithRawIArrayOfValues ¶
func (fp *Role_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
func (*Role_FieldTerminalPath) WithRawIValue ¶
func (fp *Role_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
type Role_FieldTerminalPathArrayItemValue ¶
type Role_FieldTerminalPathArrayItemValue struct { Role_FieldTerminalPath // contains filtered or unexported fields }
func (*Role_FieldTerminalPathArrayItemValue) AsIncludedPermissionsItemValue ¶
func (fpaiv *Role_FieldTerminalPathArrayItemValue) AsIncludedPermissionsItemValue() (*permission.Reference, bool)
func (*Role_FieldTerminalPathArrayItemValue) ContainsValue ¶
func (fpaiv *Role_FieldTerminalPathArrayItemValue) ContainsValue(source *Role) bool
Contains returns a boolean indicating if value that is being held is present in given 'Role'
func (*Role_FieldTerminalPathArrayItemValue) GetRawItemValue ¶
func (fpaiv *Role_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}
GetRawValue returns stored element value for array in object Role as interface{}
func (*Role_FieldTerminalPathArrayItemValue) GetSingle ¶
func (fpaiv *Role_FieldTerminalPathArrayItemValue) GetSingle(source *Role) (interface{}, bool)
func (*Role_FieldTerminalPathArrayItemValue) GetSingleRaw ¶
func (fpaiv *Role_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)
type Role_FieldTerminalPathArrayOfValues ¶
type Role_FieldTerminalPathArrayOfValues struct { Role_FieldTerminalPath // contains filtered or unexported fields }
func (*Role_FieldTerminalPathArrayOfValues) AsDefaultConditionBindingArrayOfValues ¶
func (fpaov *Role_FieldTerminalPathArrayOfValues) AsDefaultConditionBindingArrayOfValues() ([]*condition.ConditionBinding, bool)
func (*Role_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues ¶
func (fpaov *Role_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues() ([]string, bool)
func (*Role_FieldTerminalPathArrayOfValues) AsIncludedPermissionsArrayOfValues ¶
func (fpaov *Role_FieldTerminalPathArrayOfValues) AsIncludedPermissionsArrayOfValues() ([][]*permission.Reference, bool)
func (*Role_FieldTerminalPathArrayOfValues) AsNameArrayOfValues ¶
func (fpaov *Role_FieldTerminalPathArrayOfValues) AsNameArrayOfValues() ([]*Name, bool)
func (*Role_FieldTerminalPathArrayOfValues) GetRawValues ¶
func (fpaov *Role_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})
type Role_FieldTerminalPathValue ¶
type Role_FieldTerminalPathValue struct { Role_FieldTerminalPath // contains filtered or unexported fields }
func (*Role_FieldTerminalPathValue) AsDefaultConditionBindingValue ¶
func (fpv *Role_FieldTerminalPathValue) AsDefaultConditionBindingValue() (*condition.ConditionBinding, bool)
func (*Role_FieldTerminalPathValue) AsDisplayNameValue ¶
func (fpv *Role_FieldTerminalPathValue) AsDisplayNameValue() (string, bool)
func (*Role_FieldTerminalPathValue) AsIncludedPermissionsValue ¶
func (fpv *Role_FieldTerminalPathValue) AsIncludedPermissionsValue() ([]*permission.Reference, bool)
func (*Role_FieldTerminalPathValue) AsNameValue ¶
func (fpv *Role_FieldTerminalPathValue) AsNameValue() (*Name, bool)
func (*Role_FieldTerminalPathValue) CompareWith ¶
func (fpv *Role_FieldTerminalPathValue) CompareWith(source *Role) (int, bool)
CompareWith compares value in the 'Role_FieldTerminalPathValue' with the value under path in 'Role'.
func (*Role_FieldTerminalPathValue) CompareWithRaw ¶
func (fpv *Role_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)
func (*Role_FieldTerminalPathValue) GetRawValue ¶
func (fpv *Role_FieldTerminalPathValue) GetRawValue() interface{}
GetRawValue returns raw value stored under selected path for 'Role' as interface{}
func (*Role_FieldTerminalPathValue) SetTo ¶
func (fpv *Role_FieldTerminalPathValue) SetTo(target **Role)
SetTo stores value for selected field for object Role
func (*Role_FieldTerminalPathValue) SetToRaw ¶
func (fpv *Role_FieldTerminalPathValue) SetToRaw(target proto.Message)
type WatchQuery ¶
type WatchQuery struct { ListQuery WatchType watch_type.WatchType ChunkSize int ResumeToken string }
func (*WatchQuery) GetMaximumChunkSize ¶
func (q *WatchQuery) GetMaximumChunkSize() int
func (*WatchQuery) GetResumeToken ¶
func (q *WatchQuery) GetResumeToken() string
func (*WatchQuery) GetWatchType ¶
func (q *WatchQuery) GetWatchType() watch_type.WatchType
func (*WatchQuery) SetMaximumChunkSize ¶
func (q *WatchQuery) SetMaximumChunkSize(chunkSize int)
func (*WatchQuery) SetResumeToken ¶
func (q *WatchQuery) SetResumeToken(token string)
func (*WatchQuery) SetWatchType ¶
func (q *WatchQuery) SetWatchType(watchType watch_type.WatchType)
func (*WatchQuery) String ¶ added in v0.4.29
func (q *WatchQuery) String() string
Source Files ¶
- role.pb.access.go
- role.pb.collections.go
- role.pb.descriptor.go
- role.pb.fieldmask.go
- role.pb.fieldpath.go
- role.pb.fieldpathbuilder.go
- role.pb.filter.go
- role.pb.filterbuilder.go
- role.pb.go
- role.pb.name.go
- role.pb.namebuilder.go
- role.pb.object_ext.go
- role.pb.pagination.go
- role.pb.query.go
- role.pb.validate.go
- role.pb.view.go
- role_change.pb.change.go
- role_change.pb.go
- role_change.pb.validate.go