role_binding

package
v1.0.38 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2024 License: Apache-2.0 Imports: 47 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NamePattern_Nil          = "roleBindings/{role_binding}"
	NamePattern_Project      = "projects/{project}/roleBindings/{role_binding}"
	NamePattern_Organization = "organizations/{organization}/roleBindings/{role_binding}"
)

Variables

This section is empty.

Functions

func AsAnyCastAccess

func AsAnyCastAccess(access RoleBindingAccess) gotenresource.Access

Types

type Descriptor

type Descriptor struct {
	// contains filtered or unexported fields
}

func GetDescriptor

func GetDescriptor() *Descriptor

func (*Descriptor) CanBeParentless added in v1.0.21

func (d *Descriptor) CanBeParentless() bool

func (*Descriptor) GetNameDescriptor

func (d *Descriptor) GetNameDescriptor() *gotenresource.NameDescriptor

func (*Descriptor) GetParentResDescriptors added in v1.0.21

func (d *Descriptor) GetParentResDescriptors() []gotenresource.Descriptor

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) NewResourcePager added in v0.9.0

func (d *Descriptor) NewResourcePager() gotenresource.PagerQuery

func (*Descriptor) NewSearchQuery

func (d *Descriptor) NewSearchQuery() gotenresource.SearchQuery

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)

func (*Descriptor) SupportsMetadata added in v1.0.21

func (d *Descriptor) SupportsMetadata() bool

type Filter

type Filter struct {
	FilterCondition
}

func (*Filter) ConvertToNative

func (filter *Filter) ConvertToNative(typeDesc reflect.Type) (interface{}, error)

func (*Filter) ConvertToType

func (filter *Filter) ConvertToType(typeVal ref.Type) ref.Val

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) Equal

func (filter *Filter) Equal(other ref.Val) ref.Val

func (*Filter) Evaluate

func (filter *Filter) Evaluate(res *RoleBinding) bool

Evaluate is a wrapper on FilterCondition, which also handles nil pointer

func (*Filter) EvaluateRaw

func (filter *Filter) EvaluateRaw(res gotenresource.Resource) bool

func (*Filter) FilterSlice

func (filter *Filter) FilterSlice(in []*RoleBinding) (out []*RoleBinding)

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) HasTrait

func (filter *Filter) HasTrait(trait int) bool

func (*Filter) Match

func (filter *Filter) Match(pattern ref.Val) ref.Val

func (*Filter) ParseProtoString

func (filter *Filter) ParseProtoString(data string) error

func (*Filter) ProtoString

func (filter *Filter) ProtoString() (string, error)

func (*Filter) Receive

func (filter *Filter) Receive(function string, overload string, args []ref.Val) ref.Val

func (*Filter) SetFromCliFlag

func (filter *Filter) SetFromCliFlag(raw string) error

func (*Filter) String

func (filter *Filter) String() string

func (*Filter) Type

func (filter *Filter) Type() ref.Type

func (*Filter) TypeName

func (filter *Filter) TypeName() string

func (*Filter) Value

func (filter *Filter) Value() interface{}

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 RoleBinding_FieldPath, opts ...gotenfilter.FilterConditionOption) *filterCndBuilderAnyPath

func (*FilterBuilder) With

type FilterBuilderOrCondition

type FilterBuilderOrCondition interface {
	// contains filtered or unexported methods
}

type FilterCondition

type FilterCondition interface {
	gotenresource.FilterCondition

	And(...FilterCondition) FilterCondition
	Evaluate(res *RoleBinding) bool

	// Whether this condition is at least as specific as other.
	// When true, any RoleBinding 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 RoleBinding_FieldPath) bool
	// contains filtered or unexported methods
}

func AndFilterConditions

func AndFilterConditions(conds ...FilterCondition) FilterCondition

type FilterConditionCompare

type FilterConditionCompare struct {
	Operator filterParser.CompareOperator
	RoleBinding_FieldPathValue
}

func (*FilterConditionCompare) And

func (*FilterConditionCompare) ConditionCompare

func (cond *FilterConditionCompare) ConditionCompare()

func (*FilterConditionCompare) Evaluate

func (cond *FilterConditionCompare) Evaluate(res *RoleBinding) bool

func (*FilterConditionCompare) EvaluateRaw

func (cond *FilterConditionCompare) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionCompare) GetOperator

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 RoleBinding_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 (*FilterConditionComposite) ConditionComposite

func (cond *FilterConditionComposite) ConditionComposite()

func (*FilterConditionComposite) Evaluate

func (cond *FilterConditionComposite) Evaluate(res *RoleBinding) bool

func (*FilterConditionComposite) EvaluateRaw

func (cond *FilterConditionComposite) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionComposite) GetOperator

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 RoleBinding_FieldPath) bool

func (*FilterConditionComposite) SpecifiesRawFieldPath

func (cond *FilterConditionComposite) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool

func (*FilterConditionComposite) String

func (cond *FilterConditionComposite) String() string

type FilterConditionContains

func (*FilterConditionContains) And

func (*FilterConditionContains) ConditionContains

func (cond *FilterConditionContains) ConditionContains()

func (*FilterConditionContains) ConditionContainsType

func (cond *FilterConditionContains) ConditionContainsType() gotenresource.ConditionContainsType

func (*FilterConditionContains) Evaluate

func (cond *FilterConditionContains) Evaluate(res *RoleBinding) bool

func (*FilterConditionContains) EvaluateRaw

func (cond *FilterConditionContains) EvaluateRaw(res gotenresource.Resource) bool

func (*FilterConditionContains) GetFieldPath

func (cond *FilterConditionContains) GetFieldPath() RoleBinding_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 RoleBinding_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 {
	RoleBinding_FieldPathArrayOfValues
}

func (*FilterConditionIn) And

func (*FilterConditionIn) ConditionIn

func (cond *FilterConditionIn) ConditionIn()

func (*FilterConditionIn) Evaluate

func (cond *FilterConditionIn) Evaluate(res *RoleBinding) 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 RoleBinding_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 RoleBinding_FieldPath
}

func (*FilterConditionIsNaN) And

func (*FilterConditionIsNaN) ConditionIsNaN

func (cond *FilterConditionIsNaN) ConditionIsNaN()

func (*FilterConditionIsNaN) Evaluate

func (cond *FilterConditionIsNaN) Evaluate(res *RoleBinding) 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 RoleBinding_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 RoleBinding_FieldPath
}

func (*FilterConditionIsNull) And

func (*FilterConditionIsNull) ConditionIsNull

func (cond *FilterConditionIsNull) ConditionIsNull()

func (*FilterConditionIsNull) Evaluate

func (cond *FilterConditionIsNull) Evaluate(res *RoleBinding) 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 RoleBinding_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 (*FilterConditionNot) ConditionNot

func (cond *FilterConditionNot) ConditionNot()

func (*FilterConditionNot) Evaluate

func (cond *FilterConditionNot) Evaluate(res *RoleBinding) 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 RoleBinding_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 {
	RoleBinding_FieldPathArrayOfValues
}

func (*FilterConditionNotIn) And

func (*FilterConditionNotIn) ConditionNotIn

func (cond *FilterConditionNotIn) ConditionNotIn()

func (*FilterConditionNotIn) Evaluate

func (cond *FilterConditionNotIn) Evaluate(res *RoleBinding) 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 RoleBinding_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      *RoleBinding_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)

func (*GetQuery) String

func (q *GetQuery) String() string

type ListQuery

type ListQuery struct {
	Filter         *Filter
	Pager          *PagerQuery
	Mask           *RoleBinding_FieldMask
	WithPagingInfo bool
}

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) GetWithPagingInfo added in v0.10.1

func (q *ListQuery) GetWithPagingInfo() bool

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)

func (*ListQuery) SetWithPagingInfo added in v0.10.1

func (q *ListQuery) SetWithPagingInfo(with bool)

func (*ListQuery) String

func (q *ListQuery) String() string

type Name

type Name struct {
	ParentName
	RoleBindingId string `firestore:"roleBindingId"`
}

func MustParseName

func MustParseName(name string) *Name

func ParseName

func ParseName(name string) (*Name, error)

func ParseNameOrId

func ParseNameOrId(nameOrId string) (*Name, error)

func (*Name) AsRawReference

func (name *Name) AsRawReference() gotenresource.Reference

func (*Name) AsReference

func (name *Name) AsReference() *Reference

func (*Name) ConvertToNative

func (name *Name) ConvertToNative(typeDesc reflect.Type) (interface{}, error)

func (*Name) ConvertToType

func (name *Name) ConvertToType(typeVal ref.Type) ref.Val

func (*Name) Equal

func (name *Name) Equal(other ref.Val) ref.Val

func (*Name) FullyQualifiedName

func (name *Name) FullyQualifiedName() (string, error)

func (*Name) GetIParentName added in v0.8.0

func (name *Name) GetIParentName() gotenresource.Name

func (*Name) GetIUnderlyingParentName added in v0.8.0

func (name *Name) GetIUnderlyingParentName() gotenresource.Name

func (*Name) GetIdParts

func (name *Name) GetIdParts() map[string]string

func (*Name) GetOrganizationName

func (name *Name) GetOrganizationName() *organization.Name

func (*Name) GetPattern

func (name *Name) GetPattern() gotenresource.NamePattern

func (*Name) GetProjectName

func (name *Name) GetProjectName() *project.Name

func (*Name) GetResourceDescriptor

func (name *Name) GetResourceDescriptor() gotenresource.Descriptor

func (*Name) GetSegments

func (name *Name) GetSegments() gotenresource.NameSegments

func (*Name) GotenEqual

func (name *Name) GotenEqual(other interface{}) bool

GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)

func (*Name) HasTrait

func (name *Name) HasTrait(trait int) bool

func (*Name) IsFullyQualified

func (name *Name) IsFullyQualified() bool

func (*Name) IsSpecified

func (name *Name) IsSpecified() bool

func (*Name) Match

func (name *Name) Match(pattern ref.Val) ref.Val

func (*Name) Matches

func (name *Name) Matches(other interface{}) bool

Matches is same as GotenEqual, but also will accept "other" if name is wildcard.

func (*Name) ParseProtoString

func (name *Name) ParseProtoString(data string) error

func (*Name) ProtoString

func (name *Name) ProtoString() (string, error)

func (*Name) Receive

func (name *Name) Receive(function string, overload string, args []ref.Val) ref.Val

func (*Name) SetFromCliFlag

func (name *Name) SetFromCliFlag(raw string) error

implement CustomTypeCliValue method

func (*Name) SetFromSegments

func (name *Name) SetFromSegments(segments gotenresource.NameSegments) error

func (*Name) String

func (name *Name) String() string

func (*Name) Type

func (name *Name) Type() ref.Type

func (*Name) TypeName

func (name *Name) TypeName() string

func (*Name) Value

func (name *Name) Value() interface{}

type NameBuilder

type NameBuilder struct {
	// contains filtered or unexported fields
}

func NewNameBuilder

func NewNameBuilder() *NameBuilder

func (*NameBuilder) Name

func (b *NameBuilder) Name() *Name

func (*NameBuilder) Parent

func (b *NameBuilder) Parent() *ParentName

func (*NameBuilder) ParentReference

func (b *NameBuilder) ParentReference() *ParentReference

func (*NameBuilder) Reference

func (b *NameBuilder) Reference() *Reference

func (*NameBuilder) SetId

func (b *NameBuilder) SetId(id string) *NameBuilder

func (*NameBuilder) SetOrganization

func (b *NameBuilder) SetOrganization(parent *organization.Name) *NameBuilder

func (*NameBuilder) SetOrganizationId

func (b *NameBuilder) SetOrganizationId(id string) *NameBuilder

func (*NameBuilder) SetProject

func (b *NameBuilder) SetProject(parent *project.Name) *NameBuilder

func (*NameBuilder) SetProjectId

func (b *NameBuilder) SetProjectId(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) Compare

func (orderBy *OrderBy) Compare(left, right *RoleBinding) int

func (*OrderBy) CompareRaw

func (orderBy *OrderBy) CompareRaw(left, right gotenresource.Resource) int

func (*OrderBy) GetFieldMask

func (orderBy *OrderBy) GetFieldMask() *RoleBinding_FieldMask

func (*OrderBy) GetOrderByFields

func (orderBy *OrderBy) GetOrderByFields() []gotenresource.OrderByField

func (*OrderBy) GetRawFieldMask

func (orderBy *OrderBy) GetRawFieldMask() gotenobject.FieldMask

func (*OrderBy) InsertSorted

func (orderBy *OrderBy) InsertSorted(sorted RoleBindingList, elem *RoleBinding) (RoleBindingList, int)

func (*OrderBy) InsertSortedRaw

func (orderBy *OrderBy) InsertSortedRaw(sorted gotenresource.ResourceList, elem gotenresource.Resource) (gotenresource.ResourceList, int)

func (*OrderBy) ParseProtoString

func (orderBy *OrderBy) ParseProtoString(data string) error

func (*OrderBy) ProtoString

func (orderBy *OrderBy) ProtoString() (string, error)

func (*OrderBy) SetFromCliFlag

func (orderBy *OrderBy) SetFromCliFlag(raw string) error

func (*OrderBy) Sort

func (orderBy *OrderBy) Sort(results RoleBindingList)

func (*OrderBy) SortRaw

func (orderBy *OrderBy) SortRaw(results gotenresource.ResourceList)

func (*OrderBy) String

func (orderBy *OrderBy) String() string

type OrderByField

type OrderByField struct {
	FieldPath RoleBinding_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 *RoleBinding) int

func (*OrderByField) GetDirection

func (orderByFld *OrderByField) GetDirection() gotenresource.OrderDirection

func (*OrderByField) GetFieldPath

func (orderByFld *OrderByField) GetFieldPath() gotenobject.FieldPath

type PagerCursor

type PagerCursor struct {
	CursorValue   gotenresource.CursorValue
	Inclusion     gotenresource.CursorInclusion
	PageDirection gotenresource.PageDirection
}

PagerCursor is protobuf Custom Type, which (de)serializes "string page_token" for API List processing Database adapter implementation must use this cursor when Paginating list views Token is composed of 3 values (dot separated in serialized form) - CursorValue: Backend-specific value of the cursor. - PageDirection: either l (left) or r (right), which hints DB Adapter whether Snapshot marks Start or End of result - Inclusion: either i (inclusive) or e (exclusive) - Whether cursor marks exact point or right before/after (depending on direction)

func (*PagerCursor) GetInclusion

func (cursor *PagerCursor) GetInclusion() gotenresource.CursorInclusion

func (*PagerCursor) GetPageDirection

func (cursor *PagerCursor) GetPageDirection() gotenresource.PageDirection

func (*PagerCursor) GetValue

func (cursor *PagerCursor) GetValue() gotenresource.CursorValue

func (*PagerCursor) IsEmpty

func (cursor *PagerCursor) IsEmpty() bool

func (*PagerCursor) ParseProtoString

func (cursor *PagerCursor) ParseProtoString(data string) (err error)

func (*PagerCursor) ProtoString

func (cursor *PagerCursor) ProtoString() (string, error)

func (*PagerCursor) SetCursorValue

func (cursor *PagerCursor) SetCursorValue(value gotenresource.CursorValue)

func (*PagerCursor) SetFromCliFlag

func (cursor *PagerCursor) SetFromCliFlag(raw string) error

func (*PagerCursor) SetInclusion

func (cursor *PagerCursor) SetInclusion(inclusion gotenresource.CursorInclusion)

func (*PagerCursor) SetPageDirection

func (cursor *PagerCursor) SetPageDirection(direction gotenresource.PageDirection)

func (*PagerCursor) String

func (cursor *PagerCursor) String() string

type PagerQuery

type PagerQuery struct {
	OrderBy     *OrderBy
	Cursor      *PagerCursor
	Limit       int
	PeekForward bool
}

PagerQuery is main struct used for assisting server and database to perform Pagination

func MakePagerQuery

func MakePagerQuery(orderBy *OrderBy, cursor *PagerCursor, pageSize int32, peekForward bool) *PagerQuery

MakePagerQuery builds pager from API data and applies defaults

func (*PagerQuery) GetCursor

func (p *PagerQuery) GetCursor() gotenresource.Cursor

func (*PagerQuery) GetLimit

func (p *PagerQuery) GetLimit() int

func (*PagerQuery) GetOrderBy

func (p *PagerQuery) GetOrderBy() gotenresource.OrderBy

func (*PagerQuery) GetPeekForward

func (p *PagerQuery) GetPeekForward() bool

func (*PagerQuery) GetResourceDescriptor

func (p *PagerQuery) GetResourceDescriptor() gotenresource.Descriptor

func (*PagerQuery) PageDirection

func (p *PagerQuery) PageDirection() gotenresource.PageDirection

func (*PagerQuery) SetCursor added in v0.8.0

func (p *PagerQuery) SetCursor(cursor gotenresource.Cursor)

func (*PagerQuery) SetLimit added in v0.8.0

func (p *PagerQuery) SetLimit(limit int)

func (*PagerQuery) SetOrderBy added in v0.8.0

func (p *PagerQuery) SetOrderBy(orderBy gotenresource.OrderBy)

func (*PagerQuery) SetPageDirection added in v0.8.0

func (p *PagerQuery) SetPageDirection(direction gotenresource.PageDirection)

func (*PagerQuery) SetPeekForward added in v0.8.0

func (p *PagerQuery) SetPeekForward(peekForward bool)

type ParentName

type ParentName struct {
	NamePattern
	ProjectId      string `firestore:"projectId"`
	OrganizationId string `firestore:"organizationId"`
}

func MustParseParentName

func MustParseParentName(name string) *ParentName

func ParseParentName

func ParseParentName(name string) (*ParentName, error)

func (*ParentName) AsRawReference

func (name *ParentName) AsRawReference() gotenresource.Reference

func (*ParentName) AsReference

func (name *ParentName) AsReference() *ParentReference

func (*ParentName) ConvertToNative added in v1.0.21

func (name *ParentName) ConvertToNative(typeDesc reflect.Type) (interface{}, error)

func (*ParentName) ConvertToType added in v1.0.21

func (name *ParentName) ConvertToType(typeVal ref.Type) ref.Val

func (*ParentName) DescendsFrom

func (name *ParentName) DescendsFrom(ancestor string) bool

func (*ParentName) Equal added in v1.0.21

func (name *ParentName) Equal(other ref.Val) ref.Val

func (*ParentName) FullyQualifiedName

func (name *ParentName) FullyQualifiedName() (string, error)

func (*ParentName) GetIParentName added in v0.8.0

func (name *ParentName) GetIParentName() gotenresource.Name

func (*ParentName) GetIUnderlyingParentName added in v0.8.0

func (name *ParentName) GetIUnderlyingParentName() gotenresource.Name

func (*ParentName) GetIdParts

func (name *ParentName) GetIdParts() map[string]string

func (*ParentName) GetOrganizationName

func (name *ParentName) GetOrganizationName() *organization.Name

func (*ParentName) GetPattern

func (name *ParentName) GetPattern() gotenresource.NamePattern

func (*ParentName) GetProjectName

func (name *ParentName) GetProjectName() *project.Name

func (*ParentName) GetResourceDescriptor

func (name *ParentName) GetResourceDescriptor() gotenresource.Descriptor

func (*ParentName) GetSegments

func (name *ParentName) GetSegments() gotenresource.NameSegments

func (*ParentName) GotenEqual

func (name *ParentName) GotenEqual(other interface{}) bool

GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)

func (*ParentName) HasTrait added in v1.0.21

func (name *ParentName) HasTrait(trait int) bool

func (*ParentName) IsFullyQualified

func (name *ParentName) IsFullyQualified() bool

func (*ParentName) IsSpecified

func (name *ParentName) IsSpecified() bool

func (*ParentName) Match added in v1.0.21

func (name *ParentName) Match(pattern ref.Val) ref.Val

func (*ParentName) Matches

func (name *ParentName) Matches(other interface{}) bool

Matches is same as GotenEqual, but also will accept "other" if name is wildcard.

func (*ParentName) ParseProtoString

func (name *ParentName) ParseProtoString(data string) error

func (*ParentName) ProtoString

func (name *ParentName) ProtoString() (string, error)

func (*ParentName) Receive added in v1.0.21

func (name *ParentName) Receive(function string, overload string, args []ref.Val) ref.Val

func (*ParentName) SetFromCliFlag

func (name *ParentName) SetFromCliFlag(raw string) error

implement CustomTypeCliValue method

func (*ParentName) SetFromSegments

func (name *ParentName) SetFromSegments(segments gotenresource.NameSegments) error

func (*ParentName) String

func (name *ParentName) String() string

func (*ParentName) Type added in v1.0.21

func (name *ParentName) Type() ref.Type

func (*ParentName) TypeName added in v1.0.21

func (name *ParentName) TypeName() string

func (*ParentName) Value added in v1.0.21

func (name *ParentName) Value() interface{}

type ParentReference

type ParentReference struct {
	ParentName
	// contains filtered or unexported fields
}

func MakeParentReference

func MakeParentReference(name *ParentName) (*ParentReference, error)

func MustParseParentReference

func MustParseParentReference(name string) *ParentReference

func ParseParentReference

func ParseParentReference(name string) (*ParentReference, error)

func (*ParentReference) ClearCached

func (ref *ParentReference) ClearCached()

func (*ParentReference) GetIParentName added in v0.8.0

func (ref *ParentReference) GetIParentName() gotenresource.Name

func (*ParentReference) GetIUnderlyingParentName added in v0.8.0

func (ref *ParentReference) GetIUnderlyingParentName() gotenresource.Name

func (*ParentReference) GetIdParts

func (ref *ParentReference) GetIdParts() map[string]string

func (*ParentReference) GetOrganization

func (ref *ParentReference) GetOrganization() *organization.Organization

func (*ParentReference) GetOrganizationReference

func (ref *ParentReference) GetOrganizationReference() *organization.Reference

func (*ParentReference) GetPattern

func (ref *ParentReference) GetPattern() gotenresource.NamePattern

func (*ParentReference) GetProject

func (ref *ParentReference) GetProject() *project.Project

func (*ParentReference) GetProjectReference

func (ref *ParentReference) GetProjectReference() *project.Reference

func (*ParentReference) GetRawResource

func (ref *ParentReference) GetRawResource() gotenresource.Resource

func (*ParentReference) GetResourceDescriptor

func (ref *ParentReference) GetResourceDescriptor() gotenresource.Descriptor

func (*ParentReference) GetSegments

func (ref *ParentReference) GetSegments() gotenresource.NameSegments

func (*ParentReference) GetUnderlyingReference

func (ref *ParentReference) GetUnderlyingReference() gotenresource.Reference

func (*ParentReference) GotenEqual

func (ref *ParentReference) GotenEqual(other interface{}) bool

GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)

func (*ParentReference) IsFullyQualified

func (ref *ParentReference) IsFullyQualified() bool

func (*ParentReference) IsSpecified

func (ref *ParentReference) IsSpecified() bool

func (*ParentReference) Matches

func (name *ParentReference) Matches(other interface{}) bool

Matches is same as GotenEqual, but also will accept "other" if name is wildcard.

func (*ParentReference) ParseProtoString

func (ref *ParentReference) ParseProtoString(data string) error

func (*ParentReference) ProtoString

func (ref *ParentReference) ProtoString() (string, error)

func (*ParentReference) ResolveRaw

func (ref *ParentReference) ResolveRaw(res gotenresource.Resource) error

func (*ParentReference) Resolved

func (ref *ParentReference) Resolved() bool

func (*ParentReference) SetFromCliFlag

func (ref *ParentReference) SetFromCliFlag(raw string) error

implement CustomTypeCliValue method

func (*ParentReference) String

func (ref *ParentReference) String() string

type QueryResultChange

type QueryResultChange struct {
	Changes        []*RoleBindingChange
	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 (*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 {
	RoleBindings      []*RoleBinding
	PrevPageCursor    *PagerCursor
	NextPageCursor    *PagerCursor
	TotalResultsCount int32
	CurrentOffset     int32
}

func (*QueryResultSnapshot) GetNextPageCursor

func (qr *QueryResultSnapshot) GetNextPageCursor() gotenresource.Cursor

func (*QueryResultSnapshot) GetPagingInfo added in v0.10.1

func (qr *QueryResultSnapshot) GetPagingInfo() (totalCount, offset int32)

func (*QueryResultSnapshot) GetPrevPageCursor

func (qr *QueryResultSnapshot) GetPrevPageCursor() gotenresource.Cursor

func (*QueryResultSnapshot) GetResults

func (*QueryResultSnapshot) SetCursors

func (qr *QueryResultSnapshot) SetCursors(nextPageCursor, prevPageCursor gotenresource.Cursor)

func (*QueryResultSnapshot) SetPagingInfo added in v0.10.1

func (qr *QueryResultSnapshot) SetPagingInfo(totalCount, offset int32)

func (*QueryResultSnapshot) SetResults

func (qr *QueryResultSnapshot) SetResults(results gotenresource.ResourceList)

type Reference

type Reference struct {
	Name
	// contains filtered or unexported fields
}

func MakeReference

func MakeReference(name *Name, roleBinding *RoleBinding) (*Reference, error)

func MustParseReference

func MustParseReference(name string) *Reference

func ParseReference

func ParseReference(name string) (*Reference, error)

func (*Reference) ClearCached

func (ref *Reference) ClearCached()

func (*Reference) FullyQualifiedName

func (ref *Reference) FullyQualifiedName() (string, error)

func (*Reference) GetIParentName added in v0.8.0

func (ref *Reference) GetIParentName() gotenresource.Name

func (*Reference) GetIUnderlyingParentName added in v0.8.0

func (ref *Reference) GetIUnderlyingParentName() gotenresource.Name

func (*Reference) GetIdParts

func (ref *Reference) GetIdParts() map[string]string

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) GetRoleBinding

func (ref *Reference) GetRoleBinding() *RoleBinding

func (*Reference) GetSegments

func (ref *Reference) GetSegments() gotenresource.NameSegments

func (*Reference) GotenEqual

func (ref *Reference) GotenEqual(other interface{}) bool

GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)

func (*Reference) IsFullyQualified

func (ref *Reference) IsFullyQualified() bool

func (*Reference) IsSpecified

func (ref *Reference) IsSpecified() bool

func (*Reference) Matches

func (name *Reference) Matches(other interface{}) bool

Matches is same as GotenEqual, but also will accept "other" if name is wildcard.

func (*Reference) ParseProtoString

func (ref *Reference) ParseProtoString(data string) error

func (*Reference) ProtoString

func (ref *Reference) ProtoString() (string, error)

func (*Reference) Resolve

func (ref *Reference) Resolve(resolved *RoleBinding)

func (*Reference) ResolveRaw

func (ref *Reference) ResolveRaw(res gotenresource.Resource) error

func (*Reference) Resolved

func (ref *Reference) Resolved() bool

func (*Reference) SetFromCliFlag

func (ref *Reference) SetFromCliFlag(raw string) error

implement CustomTypeCliValue method

func (*Reference) String

func (ref *Reference) String() string

type RoleBinding

type RoleBinding struct {

	// Name of RoleBinding
	// When creating a new instance, this field is optional and if not provided,
	// it will be generated automatically. Last ID segment must conform to the
	// following regex: [\\w.|-]{1,128}
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// Role
	Role *role.Reference `protobuf:"bytes,2,opt,customtype=Reference,name=role,proto3" json:"role,omitempty" firestore:"role"`
	// Binding members
	// Format of the string is one of:
	// - "allUsers" (anyone)
	// - "allAuthenticatedUsers" (anyone logged in)
	// - "user:admin.super@example.com"
	// - "serviceAccount:device_agent@watchdog.serviceaccounts.iam.edgelq.com"
	// - "group:nice.group@example.com"
	// - "domain:example.com" (anyone with exact email domain)
	Member string `protobuf:"bytes,4,opt,name=member,proto3" json:"member,omitempty" firestore:"member"`
	// optional ConditionBinding
	// TODO: Make it repeated and make sure backend will check all before
	// verifying
	ConditionBinding *condition.ConditionBinding `` /* 138-byte string literal not displayed */
	// Internal field used by IAM controller to note role binding ancestry path
	AncestryPath []*RoleBinding_Parent `protobuf:"bytes,7,rep,name=ancestry_path,json=ancestryPath,proto3" json:"ancestry_path,omitempty" firestore:"ancestryPath"`
	// Metadata
	Metadata *meta.Meta `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"`
	// contains filtered or unexported fields
}

RoleBinding in iam RBAC model is the way of granting access to a party (user, service account, etc) to edgelq resources. Creating RoleBinding requires user to answer 3 questions:

Who: with member field, e.g. "user:wile.e.coyote@customers.acme.com" What: specify scope (or parent), e.g.: `projects/acme/roleBindings/<uuid>` How: bind role and optional condition to grant access to resources within above scope

RoleBindings are additive, meaning that creating a new RoleBinding may only extend ability of given member to perform actions. In other words RoleBinding doesn't affect other RoleBindings and [PermissionCheck][ntt.iam.v1alpha2.PermissionCheck] method needs to find *any* RoleBinding granting permission

func (*RoleBinding) Clone

func (o *RoleBinding) Clone() *RoleBinding

func (*RoleBinding) CloneRaw

func (o *RoleBinding) CloneRaw() gotenobject.GotenObjectExt

func (*RoleBinding) Descriptor

func (*RoleBinding) Descriptor() ([]byte, []int)

Deprecated, Use RoleBinding.ProtoReflect.Descriptor instead.

func (*RoleBinding) EnsureMetadata added in v1.0.21

func (r *RoleBinding) EnsureMetadata() *meta.Meta

func (*RoleBinding) GetAncestryPath

func (m *RoleBinding) GetAncestryPath() []*RoleBinding_Parent

func (*RoleBinding) GetConditionBinding

func (m *RoleBinding) GetConditionBinding() *condition.ConditionBinding

func (*RoleBinding) GetMember

func (m *RoleBinding) GetMember() string

func (*RoleBinding) GetMetadata

func (m *RoleBinding) GetMetadata() *meta.Meta

func (*RoleBinding) GetName

func (m *RoleBinding) GetName() *Name

func (*RoleBinding) GetRawName

func (r *RoleBinding) GetRawName() gotenresource.Name

func (*RoleBinding) GetResourceDescriptor

func (r *RoleBinding) GetResourceDescriptor() gotenresource.Descriptor

func (*RoleBinding) GetRole

func (m *RoleBinding) GetRole() *role.Reference

func (*RoleBinding) GotenMessage

func (*RoleBinding) GotenMessage()

func (*RoleBinding) GotenObjectExt

func (o *RoleBinding) GotenObjectExt()

func (*RoleBinding) GotenValidate

func (obj *RoleBinding) GotenValidate() error

func (*RoleBinding) MakeDiffFieldMask

func (o *RoleBinding) MakeDiffFieldMask(other *RoleBinding) *RoleBinding_FieldMask

func (*RoleBinding) MakeFullFieldMask

func (o *RoleBinding) MakeFullFieldMask() *RoleBinding_FieldMask

func (*RoleBinding) MakeRawDiffFieldMask

func (o *RoleBinding) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask

func (*RoleBinding) MakeRawFullFieldMask

func (o *RoleBinding) MakeRawFullFieldMask() gotenobject.FieldMask

func (*RoleBinding) Marshal

func (m *RoleBinding) Marshal() ([]byte, error)

func (*RoleBinding) MarshalJSON

func (m *RoleBinding) MarshalJSON() ([]byte, error)

func (*RoleBinding) MaybePopulateDefaults

func (r *RoleBinding) MaybePopulateDefaults() error

func (*RoleBinding) Merge

func (o *RoleBinding) Merge(source *RoleBinding)

func (*RoleBinding) MergeRaw

func (o *RoleBinding) MergeRaw(source gotenobject.GotenObjectExt)

func (*RoleBinding) ProtoMessage

func (*RoleBinding) ProtoMessage()

func (*RoleBinding) ProtoReflect

func (m *RoleBinding) ProtoReflect() preflect.Message

func (*RoleBinding) Reset

func (m *RoleBinding) Reset()

func (*RoleBinding) SetAncestryPath

func (m *RoleBinding) SetAncestryPath(fv []*RoleBinding_Parent)

func (*RoleBinding) SetConditionBinding

func (m *RoleBinding) SetConditionBinding(fv *condition.ConditionBinding)

func (*RoleBinding) SetMember

func (m *RoleBinding) SetMember(fv string)

func (*RoleBinding) SetMetadata

func (m *RoleBinding) SetMetadata(fv *meta.Meta)

func (*RoleBinding) SetName

func (m *RoleBinding) SetName(fv *Name)

func (*RoleBinding) SetRole

func (m *RoleBinding) SetRole(fv *role.Reference)

func (*RoleBinding) String

func (m *RoleBinding) String() string

func (*RoleBinding) Unmarshal

func (m *RoleBinding) Unmarshal(b []byte) error

func (*RoleBinding) UnmarshalJSON

func (m *RoleBinding) UnmarshalJSON(data []byte) error

type RoleBindingAccess

type RoleBindingAccess interface {
	GetRoleBinding(context.Context, *GetQuery) (*RoleBinding, error)
	BatchGetRoleBindings(context.Context, []*Reference, ...gotenresource.BatchGetOption) error
	QueryRoleBindings(context.Context, *ListQuery) (*QueryResultSnapshot, error)
	WatchRoleBinding(context.Context, *GetQuery, func(*RoleBindingChange) error) error
	WatchRoleBindings(context.Context, *WatchQuery, func(*QueryResultChange) error) error
	SaveRoleBinding(context.Context, *RoleBinding, ...gotenresource.SaveOption) error
	DeleteRoleBinding(context.Context, *Reference, ...gotenresource.DeleteOption) error
}

type RoleBindingChange

type RoleBindingChange struct {

	// RoleBinding change
	//
	// Types that are valid to be assigned to ChangeType:
	//	*RoleBindingChange_Added_
	//	*RoleBindingChange_Modified_
	//	*RoleBindingChange_Current_
	//	*RoleBindingChange_Removed_
	ChangeType isRoleBindingChange_ChangeType `protobuf_oneof:"change_type"`
	// contains filtered or unexported fields
}

RoleBindingChange is used by Watch notifications Responses to describe change of single RoleBinding One of Added, Modified, Removed

func (*RoleBindingChange) Descriptor

func (*RoleBindingChange) Descriptor() ([]byte, []int)

Deprecated, Use RoleBindingChange.ProtoReflect.Descriptor instead.

func (*RoleBindingChange) GetAdded

func (*RoleBindingChange) GetChangeType

func (m *RoleBindingChange) GetChangeType() isRoleBindingChange_ChangeType

func (*RoleBindingChange) GetCurrent

func (*RoleBindingChange) GetCurrentViewIndex

func (c *RoleBindingChange) GetCurrentViewIndex() int32

func (*RoleBindingChange) GetModified

func (*RoleBindingChange) GetPreviousViewIndex

func (c *RoleBindingChange) GetPreviousViewIndex() int32

func (*RoleBindingChange) GetRawName

func (c *RoleBindingChange) GetRawName() gotenresource.Name

func (*RoleBindingChange) GetRawResource added in v0.5.1

func (c *RoleBindingChange) GetRawResource() gotenresource.Resource

func (*RoleBindingChange) GetRemoved

func (*RoleBindingChange) GetRoleBinding

func (c *RoleBindingChange) GetRoleBinding() *RoleBinding

func (*RoleBindingChange) GetRoleBindingName

func (c *RoleBindingChange) GetRoleBindingName() *Name

func (*RoleBindingChange) GotenMessage

func (*RoleBindingChange) GotenMessage()

func (*RoleBindingChange) GotenValidate

func (obj *RoleBindingChange) GotenValidate() error

func (*RoleBindingChange) IsAdd

func (c *RoleBindingChange) IsAdd() bool

func (*RoleBindingChange) IsCurrent

func (c *RoleBindingChange) IsCurrent() bool

func (*RoleBindingChange) IsDelete

func (c *RoleBindingChange) IsDelete() bool

func (*RoleBindingChange) IsModify

func (c *RoleBindingChange) IsModify() bool

func (*RoleBindingChange) Marshal

func (m *RoleBindingChange) Marshal() ([]byte, error)

func (*RoleBindingChange) MarshalJSON

func (m *RoleBindingChange) MarshalJSON() ([]byte, error)

func (*RoleBindingChange) ProtoMessage

func (*RoleBindingChange) ProtoMessage()

func (*RoleBindingChange) ProtoReflect

func (m *RoleBindingChange) ProtoReflect() preflect.Message

func (*RoleBindingChange) Reset

func (m *RoleBindingChange) Reset()

func (*RoleBindingChange) SetAdded

func (m *RoleBindingChange) SetAdded(fv *RoleBindingChange_Added)

func (*RoleBindingChange) SetAddedRaw

func (c *RoleBindingChange) SetAddedRaw(snapshot gotenresource.Resource, idx int)

func (*RoleBindingChange) SetChangeType

func (m *RoleBindingChange) SetChangeType(ofv isRoleBindingChange_ChangeType)

func (*RoleBindingChange) SetCurrent

func (m *RoleBindingChange) SetCurrent(fv *RoleBindingChange_Current)

func (*RoleBindingChange) SetCurrentRaw

func (c *RoleBindingChange) SetCurrentRaw(snapshot gotenresource.Resource)

func (*RoleBindingChange) SetDeletedRaw

func (c *RoleBindingChange) SetDeletedRaw(name gotenresource.Name, idx int)

func (*RoleBindingChange) SetModified

func (m *RoleBindingChange) SetModified(fv *RoleBindingChange_Modified)

func (*RoleBindingChange) SetModifiedRaw

func (c *RoleBindingChange) SetModifiedRaw(name gotenresource.Name, snapshot gotenresource.Resource, prevIdx int, newIdx int)

func (*RoleBindingChange) SetRemoved

func (m *RoleBindingChange) SetRemoved(fv *RoleBindingChange_Removed)

func (*RoleBindingChange) String

func (m *RoleBindingChange) String() string

func (*RoleBindingChange) Unmarshal

func (m *RoleBindingChange) Unmarshal(b []byte) error

func (*RoleBindingChange) UnmarshalJSON

func (m *RoleBindingChange) UnmarshalJSON(data []byte) error

type RoleBindingChangeList

type RoleBindingChangeList []*RoleBindingChange

func (RoleBindingChangeList) Append

func (RoleBindingChangeList) At

func (RoleBindingChangeList) Length

func (l RoleBindingChangeList) Length() int

func (RoleBindingChangeList) Set

func (RoleBindingChangeList) Slice

type RoleBindingChangeMap

type RoleBindingChangeMap map[Name]*RoleBindingChange

func (RoleBindingChangeMap) Delete

func (m RoleBindingChangeMap) Delete(name gotenresource.Name)

func (RoleBindingChangeMap) ForEach

func (RoleBindingChangeMap) Get

func (RoleBindingChangeMap) Length

func (m RoleBindingChangeMap) Length() int

func (RoleBindingChangeMap) Set

type RoleBindingChange_Added

type RoleBindingChange_Added struct {
	RoleBinding *RoleBinding `protobuf:"bytes,1,opt,name=role_binding,json=roleBinding,proto3" json:"role_binding,omitempty" firestore:"roleBinding"`
	// Integer describing index of added RoleBinding 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
}

RoleBinding has been added to query view

func (*RoleBindingChange_Added) Descriptor

func (*RoleBindingChange_Added) Descriptor() ([]byte, []int)

Deprecated, Use RoleBindingChange_Added.ProtoReflect.Descriptor instead.

func (*RoleBindingChange_Added) GetRoleBinding

func (m *RoleBindingChange_Added) GetRoleBinding() *RoleBinding

func (*RoleBindingChange_Added) GetViewIndex

func (m *RoleBindingChange_Added) GetViewIndex() int32

func (*RoleBindingChange_Added) GotenMessage

func (*RoleBindingChange_Added) GotenMessage()

func (*RoleBindingChange_Added) GotenValidate

func (obj *RoleBindingChange_Added) GotenValidate() error

func (*RoleBindingChange_Added) Marshal

func (m *RoleBindingChange_Added) Marshal() ([]byte, error)

func (*RoleBindingChange_Added) MarshalJSON

func (m *RoleBindingChange_Added) MarshalJSON() ([]byte, error)

func (*RoleBindingChange_Added) ProtoMessage

func (*RoleBindingChange_Added) ProtoMessage()

func (*RoleBindingChange_Added) ProtoReflect

func (m *RoleBindingChange_Added) ProtoReflect() preflect.Message

func (*RoleBindingChange_Added) Reset

func (m *RoleBindingChange_Added) Reset()

func (*RoleBindingChange_Added) SetRoleBinding

func (m *RoleBindingChange_Added) SetRoleBinding(fv *RoleBinding)

func (*RoleBindingChange_Added) SetViewIndex

func (m *RoleBindingChange_Added) SetViewIndex(fv int32)

func (*RoleBindingChange_Added) String

func (m *RoleBindingChange_Added) String() string

func (*RoleBindingChange_Added) Unmarshal

func (m *RoleBindingChange_Added) Unmarshal(b []byte) error

func (*RoleBindingChange_Added) UnmarshalJSON

func (m *RoleBindingChange_Added) UnmarshalJSON(data []byte) error

type RoleBindingChange_Added_

type RoleBindingChange_Added_ struct {
	// Added is returned when watched document is added, either created or
	// enters Query view
	Added *RoleBindingChange_Added `protobuf:"bytes,1,opt,name=added,proto3,oneof" firestore:"added"`
}

type RoleBindingChange_Current

type RoleBindingChange_Current struct {
	RoleBinding *RoleBinding `protobuf:"bytes,1,opt,name=role_binding,json=roleBinding,proto3" json:"role_binding,omitempty" firestore:"roleBinding"`
	// contains filtered or unexported fields
}

RoleBinding has been added or modified in a query view. Version used for stateless watching

func (*RoleBindingChange_Current) Descriptor

func (*RoleBindingChange_Current) Descriptor() ([]byte, []int)

Deprecated, Use RoleBindingChange_Current.ProtoReflect.Descriptor instead.

func (*RoleBindingChange_Current) GetRoleBinding

func (m *RoleBindingChange_Current) GetRoleBinding() *RoleBinding

func (*RoleBindingChange_Current) GotenMessage

func (*RoleBindingChange_Current) GotenMessage()

func (*RoleBindingChange_Current) GotenValidate

func (obj *RoleBindingChange_Current) GotenValidate() error

func (*RoleBindingChange_Current) Marshal

func (m *RoleBindingChange_Current) Marshal() ([]byte, error)

func (*RoleBindingChange_Current) MarshalJSON

func (m *RoleBindingChange_Current) MarshalJSON() ([]byte, error)

func (*RoleBindingChange_Current) ProtoMessage

func (*RoleBindingChange_Current) ProtoMessage()

func (*RoleBindingChange_Current) ProtoReflect

func (m *RoleBindingChange_Current) ProtoReflect() preflect.Message

func (*RoleBindingChange_Current) Reset

func (m *RoleBindingChange_Current) Reset()

func (*RoleBindingChange_Current) SetRoleBinding

func (m *RoleBindingChange_Current) SetRoleBinding(fv *RoleBinding)

func (*RoleBindingChange_Current) String

func (m *RoleBindingChange_Current) String() string

func (*RoleBindingChange_Current) Unmarshal

func (m *RoleBindingChange_Current) Unmarshal(b []byte) error

func (*RoleBindingChange_Current) UnmarshalJSON

func (m *RoleBindingChange_Current) UnmarshalJSON(data []byte) error

type RoleBindingChange_Current_

type RoleBindingChange_Current_ struct {
	// Current is returned in stateless watch when document enters query view or
	// is modified within.
	Current *RoleBindingChange_Current `protobuf:"bytes,4,opt,name=current,proto3,oneof" firestore:"current"`
}

type RoleBindingChange_Modified

type RoleBindingChange_Modified struct {

	// Name of modified RoleBinding
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// New version of RoleBinding or masked difference, depending on
	// mask_changes instrumentation of issued [WatchRoleBindingRequest] or
	// [WatchRoleBindingsRequest]
	RoleBinding *RoleBinding `protobuf:"bytes,2,opt,name=role_binding,json=roleBinding,proto3" json:"role_binding,omitempty" firestore:"roleBinding"`
	// Used when mask_changes is set, contains field paths of modified
	// properties.
	FieldMask *RoleBinding_FieldMask `` /* 143-byte string literal not displayed */
	// Previous view index specifies previous position of modified RoleBinding.
	// When modification doesn't affect sorted order, value will remain
	// identical to [view_index].
	PreviousViewIndex int32 `` /* 145-byte string literal not displayed */
	// Integer specifying RoleBinding 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
}

RoleBinding changed some of it's fields - contains either full document or masked change

func (*RoleBindingChange_Modified) Descriptor

func (*RoleBindingChange_Modified) Descriptor() ([]byte, []int)

Deprecated, Use RoleBindingChange_Modified.ProtoReflect.Descriptor instead.

func (*RoleBindingChange_Modified) GetFieldMask

func (*RoleBindingChange_Modified) GetName

func (m *RoleBindingChange_Modified) GetName() *Name

func (*RoleBindingChange_Modified) GetPreviousViewIndex

func (m *RoleBindingChange_Modified) GetPreviousViewIndex() int32

func (*RoleBindingChange_Modified) GetRoleBinding

func (m *RoleBindingChange_Modified) GetRoleBinding() *RoleBinding

func (*RoleBindingChange_Modified) GetViewIndex

func (m *RoleBindingChange_Modified) GetViewIndex() int32

func (*RoleBindingChange_Modified) GotenMessage

func (*RoleBindingChange_Modified) GotenMessage()

func (*RoleBindingChange_Modified) GotenValidate

func (obj *RoleBindingChange_Modified) GotenValidate() error

func (*RoleBindingChange_Modified) Marshal

func (m *RoleBindingChange_Modified) Marshal() ([]byte, error)

func (*RoleBindingChange_Modified) MarshalJSON

func (m *RoleBindingChange_Modified) MarshalJSON() ([]byte, error)

func (*RoleBindingChange_Modified) ProtoMessage

func (*RoleBindingChange_Modified) ProtoMessage()

func (*RoleBindingChange_Modified) ProtoReflect

func (m *RoleBindingChange_Modified) ProtoReflect() preflect.Message

func (*RoleBindingChange_Modified) Reset

func (m *RoleBindingChange_Modified) Reset()

func (*RoleBindingChange_Modified) SetFieldMask

func (*RoleBindingChange_Modified) SetName

func (m *RoleBindingChange_Modified) SetName(fv *Name)

func (*RoleBindingChange_Modified) SetPreviousViewIndex

func (m *RoleBindingChange_Modified) SetPreviousViewIndex(fv int32)

func (*RoleBindingChange_Modified) SetRoleBinding

func (m *RoleBindingChange_Modified) SetRoleBinding(fv *RoleBinding)

func (*RoleBindingChange_Modified) SetViewIndex

func (m *RoleBindingChange_Modified) SetViewIndex(fv int32)

func (*RoleBindingChange_Modified) String

func (m *RoleBindingChange_Modified) String() string

func (*RoleBindingChange_Modified) Unmarshal

func (m *RoleBindingChange_Modified) Unmarshal(b []byte) error

func (*RoleBindingChange_Modified) UnmarshalJSON

func (m *RoleBindingChange_Modified) UnmarshalJSON(data []byte) error

type RoleBindingChange_Modified_

type RoleBindingChange_Modified_ struct {
	// Modified is returned when watched document is modified
	Modified *RoleBindingChange_Modified `protobuf:"bytes,2,opt,name=modified,proto3,oneof" firestore:"modified"`
}

type RoleBindingChange_Removed

type RoleBindingChange_Removed struct {
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// Integer specifying removed RoleBinding 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 RoleBinding is deleted or leaves Query view

func (*RoleBindingChange_Removed) Descriptor

func (*RoleBindingChange_Removed) Descriptor() ([]byte, []int)

Deprecated, Use RoleBindingChange_Removed.ProtoReflect.Descriptor instead.

func (*RoleBindingChange_Removed) GetName

func (m *RoleBindingChange_Removed) GetName() *Name

func (*RoleBindingChange_Removed) GetViewIndex

func (m *RoleBindingChange_Removed) GetViewIndex() int32

func (*RoleBindingChange_Removed) GotenMessage

func (*RoleBindingChange_Removed) GotenMessage()

func (*RoleBindingChange_Removed) GotenValidate

func (obj *RoleBindingChange_Removed) GotenValidate() error

func (*RoleBindingChange_Removed) Marshal

func (m *RoleBindingChange_Removed) Marshal() ([]byte, error)

func (*RoleBindingChange_Removed) MarshalJSON

func (m *RoleBindingChange_Removed) MarshalJSON() ([]byte, error)

func (*RoleBindingChange_Removed) ProtoMessage

func (*RoleBindingChange_Removed) ProtoMessage()

func (*RoleBindingChange_Removed) ProtoReflect

func (m *RoleBindingChange_Removed) ProtoReflect() preflect.Message

func (*RoleBindingChange_Removed) Reset

func (m *RoleBindingChange_Removed) Reset()

func (*RoleBindingChange_Removed) SetName

func (m *RoleBindingChange_Removed) SetName(fv *Name)

func (*RoleBindingChange_Removed) SetViewIndex

func (m *RoleBindingChange_Removed) SetViewIndex(fv int32)

func (*RoleBindingChange_Removed) String

func (m *RoleBindingChange_Removed) String() string

func (*RoleBindingChange_Removed) Unmarshal

func (m *RoleBindingChange_Removed) Unmarshal(b []byte) error

func (*RoleBindingChange_Removed) UnmarshalJSON

func (m *RoleBindingChange_Removed) UnmarshalJSON(data []byte) error

type RoleBindingChange_Removed_

type RoleBindingChange_Removed_ struct {
	// Removed is returned when RoleBinding is deleted or leaves Query view
	Removed *RoleBindingChange_Removed `protobuf:"bytes,3,opt,name=removed,proto3,oneof" firestore:"removed"`
}

type RoleBindingFieldPathBuilder

type RoleBindingFieldPathBuilder struct{}

func NewRoleBindingFieldPathBuilder

func NewRoleBindingFieldPathBuilder() RoleBindingFieldPathBuilder

func (RoleBindingFieldPathBuilder) AncestryPath

func (RoleBindingFieldPathBuilder) ConditionBinding

func (RoleBindingFieldPathBuilder) Member

func (RoleBindingFieldPathBuilder) Metadata

func (RoleBindingFieldPathBuilder) Name

func (RoleBindingFieldPathBuilder) Role

type RoleBindingList

type RoleBindingList []*RoleBinding

func (RoleBindingList) Append

func (RoleBindingList) AppendList

func (RoleBindingList) At

func (RoleBindingList) Length

func (l RoleBindingList) Length() int

func (RoleBindingList) Set

func (l RoleBindingList) Set(idx int, res gotenresource.Resource)

func (RoleBindingList) Slice

func (l RoleBindingList) Slice(first, second int) gotenresource.ResourceList

type RoleBindingMap

type RoleBindingMap map[Name]*RoleBinding

func (RoleBindingMap) Delete

func (m RoleBindingMap) Delete(name gotenresource.Name)

func (RoleBindingMap) ForEach

func (RoleBindingMap) Get

func (RoleBindingMap) Length

func (m RoleBindingMap) Length() int

func (RoleBindingMap) Set

type RoleBindingMapPathSelectorConditionBindingParameters

type RoleBindingMapPathSelectorConditionBindingParameters struct {
	// contains filtered or unexported fields
}

func (RoleBindingMapPathSelectorConditionBindingParameters) FieldPath

func (RoleBindingMapPathSelectorConditionBindingParameters) WithArrayOfValues

func (RoleBindingMapPathSelectorConditionBindingParameters) WithValue

type RoleBindingMapPathSelectorMetadataAnnotations

type RoleBindingMapPathSelectorMetadataAnnotations struct {
	// contains filtered or unexported fields
}

func (RoleBindingMapPathSelectorMetadataAnnotations) FieldPath

func (RoleBindingMapPathSelectorMetadataAnnotations) WithArrayOfValues

func (RoleBindingMapPathSelectorMetadataAnnotations) WithValue

type RoleBindingMapPathSelectorMetadataLabels

type RoleBindingMapPathSelectorMetadataLabels struct {
	// contains filtered or unexported fields
}

func (RoleBindingMapPathSelectorMetadataLabels) FieldPath

func (RoleBindingMapPathSelectorMetadataLabels) WithArrayOfValues

func (RoleBindingMapPathSelectorMetadataLabels) WithValue

type RoleBindingMapPathSelectorMetadataShards

type RoleBindingMapPathSelectorMetadataShards struct {
	// contains filtered or unexported fields
}

func (RoleBindingMapPathSelectorMetadataShards) FieldPath

func (RoleBindingMapPathSelectorMetadataShards) WithArrayOfValues

func (RoleBindingMapPathSelectorMetadataShards) WithValue

type RoleBindingNameList

type RoleBindingNameList []*Name

func (RoleBindingNameList) Append

func (RoleBindingNameList) AppendList

func (RoleBindingNameList) At

func (RoleBindingNameList) Length

func (l RoleBindingNameList) Length() int

func (RoleBindingNameList) Set

func (l RoleBindingNameList) Set(idx int, name gotenresource.Name)

func (RoleBindingNameList) Slice

func (l RoleBindingNameList) Slice(first, second int) gotenresource.NameList

type RoleBindingParentFieldPathBuilder

type RoleBindingParentFieldPathBuilder struct{}

func NewRoleBindingParentFieldPathBuilder

func NewRoleBindingParentFieldPathBuilder() RoleBindingParentFieldPathBuilder

func (RoleBindingParentFieldPathBuilder) Member

func (RoleBindingParentFieldPathBuilder) Parent

type RoleBindingParentNameList

type RoleBindingParentNameList []*ParentName

func (RoleBindingParentNameList) Append

func (RoleBindingParentNameList) AppendList

func (RoleBindingParentNameList) At

func (RoleBindingParentNameList) Length

func (l RoleBindingParentNameList) Length() int

func (RoleBindingParentNameList) Set

func (RoleBindingParentNameList) Slice

type RoleBindingParentReferenceList

type RoleBindingParentReferenceList []*ParentReference

func (RoleBindingParentReferenceList) Append

func (RoleBindingParentReferenceList) AppendList

func (RoleBindingParentReferenceList) At

func (RoleBindingParentReferenceList) Length

func (RoleBindingParentReferenceList) Set

func (RoleBindingParentReferenceList) Slice

type RoleBindingParent_FieldPath

type RoleBindingParent_FieldPath interface {
	gotenobject.FieldPath
	Selector() RoleBindingParent_FieldPathSelector
	Get(source *RoleBinding_Parent) []interface{}
	GetSingle(source *RoleBinding_Parent) (interface{}, bool)
	ClearValue(item *RoleBinding_Parent)

	// Those methods build corresponding RoleBindingParent_FieldPathValue
	// (or array of values) and holds passed value. Panics if injected type is incorrect.
	WithIValue(value interface{}) RoleBindingParent_FieldPathValue
	WithIArrayOfValues(values interface{}) RoleBindingParent_FieldPathArrayOfValues
	WithIArrayItemValue(value interface{}) RoleBindingParent_FieldPathArrayItemValue
}

FieldPath provides implementation to handle https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto

func MustParseRoleBindingParent_FieldPath

func MustParseRoleBindingParent_FieldPath(rawField string) RoleBindingParent_FieldPath

func ParseRoleBindingParent_FieldPath

func ParseRoleBindingParent_FieldPath(rawField string) (RoleBindingParent_FieldPath, error)

type RoleBindingParent_FieldPathArrayItemValue

type RoleBindingParent_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	RoleBindingParent_FieldPath
	ContainsValue(*RoleBinding_Parent) bool
}

RoleBindingParent_FieldPathArrayItemValue allows storing single item in Path-specific values for Parent according to their type Present only for array (repeated) types.

func MustParseRoleBindingParent_FieldPathArrayItemValue

func MustParseRoleBindingParent_FieldPathArrayItemValue(pathStr, valueStr string) RoleBindingParent_FieldPathArrayItemValue

func ParseRoleBindingParent_FieldPathArrayItemValue

func ParseRoleBindingParent_FieldPathArrayItemValue(pathStr, valueStr string) (RoleBindingParent_FieldPathArrayItemValue, error)

ParseRoleBindingParent_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type RoleBindingParent_FieldPathArrayOfValues

type RoleBindingParent_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	RoleBindingParent_FieldPath
}

RoleBindingParent_FieldPathArrayOfValues allows storing slice of values for Parent fields according to their type

func MustParseRoleBindingParent_FieldPathArrayOfValues

func MustParseRoleBindingParent_FieldPathArrayOfValues(pathStr, valuesStr string) RoleBindingParent_FieldPathArrayOfValues

func ParseRoleBindingParent_FieldPathArrayOfValues

func ParseRoleBindingParent_FieldPathArrayOfValues(pathStr, valuesStr string) (RoleBindingParent_FieldPathArrayOfValues, error)

type RoleBindingParent_FieldPathSelector

type RoleBindingParent_FieldPathSelector int32
const (
	RoleBindingParent_FieldPathSelectorParent RoleBindingParent_FieldPathSelector = 0
	RoleBindingParent_FieldPathSelectorMember RoleBindingParent_FieldPathSelector = 1
)

func (RoleBindingParent_FieldPathSelector) String

type RoleBindingParent_FieldPathValue

type RoleBindingParent_FieldPathValue interface {
	RoleBindingParent_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **RoleBinding_Parent)
	CompareWith(*RoleBinding_Parent) (cmp int, comparable bool)
}

RoleBindingParent_FieldPathValue allows storing values for Parent fields according to their type

func MustParseRoleBindingParent_FieldPathValue

func MustParseRoleBindingParent_FieldPathValue(pathStr, valueStr string) RoleBindingParent_FieldPathValue

func ParseRoleBindingParent_FieldPathValue

func ParseRoleBindingParent_FieldPathValue(pathStr, valueStr string) (RoleBindingParent_FieldPathValue, error)

type RoleBindingParent_FieldTerminalPath

type RoleBindingParent_FieldTerminalPath struct {
	// contains filtered or unexported fields
}

func (*RoleBindingParent_FieldTerminalPath) ClearValue

func (*RoleBindingParent_FieldTerminalPath) ClearValueRaw

func (fp *RoleBindingParent_FieldTerminalPath) ClearValueRaw(item proto.Message)

func (*RoleBindingParent_FieldTerminalPath) Get

func (fp *RoleBindingParent_FieldTerminalPath) Get(source *RoleBinding_Parent) (values []interface{})

Get returns all values pointed by specific field from source RoleBinding_Parent

func (*RoleBindingParent_FieldTerminalPath) GetDefault

func (fp *RoleBindingParent_FieldTerminalPath) GetDefault() interface{}

GetDefault returns a default value of the field type

func (*RoleBindingParent_FieldTerminalPath) GetRaw

func (fp *RoleBindingParent_FieldTerminalPath) GetRaw(source proto.Message) []interface{}

func (*RoleBindingParent_FieldTerminalPath) GetSingle

func (fp *RoleBindingParent_FieldTerminalPath) GetSingle(source *RoleBinding_Parent) (interface{}, bool)

GetSingle returns value pointed by specific field of from source RoleBinding_Parent

func (*RoleBindingParent_FieldTerminalPath) GetSingleRaw

func (fp *RoleBindingParent_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)

func (*RoleBindingParent_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*RoleBindingParent_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*RoleBindingParent_FieldTerminalPath) Selector

func (*RoleBindingParent_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

func (fp *RoleBindingParent_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath

func (*RoleBindingParent_FieldTerminalPath) String

String returns path representation in proto convention

func (*RoleBindingParent_FieldTerminalPath) WithIArrayItemValue

func (fp *RoleBindingParent_FieldTerminalPath) WithIArrayItemValue(value interface{}) RoleBindingParent_FieldPathArrayItemValue

func (*RoleBindingParent_FieldTerminalPath) WithIArrayOfValues

func (fp *RoleBindingParent_FieldTerminalPath) WithIArrayOfValues(values interface{}) RoleBindingParent_FieldPathArrayOfValues

func (*RoleBindingParent_FieldTerminalPath) WithIValue

func (*RoleBindingParent_FieldTerminalPath) WithRawIArrayItemValue

func (fp *RoleBindingParent_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue

func (*RoleBindingParent_FieldTerminalPath) WithRawIArrayOfValues

func (fp *RoleBindingParent_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues

func (*RoleBindingParent_FieldTerminalPath) WithRawIValue

func (fp *RoleBindingParent_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue

type RoleBindingParent_FieldTerminalPathArrayItemValue

type RoleBindingParent_FieldTerminalPathArrayItemValue struct {
	RoleBindingParent_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*RoleBindingParent_FieldTerminalPathArrayItemValue) ContainsValue

Contains returns a boolean indicating if value that is being held is present in given 'Parent'

func (*RoleBindingParent_FieldTerminalPathArrayItemValue) GetRawItemValue

func (fpaiv *RoleBindingParent_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}

GetRawValue returns stored element value for array in object RoleBinding_Parent as interface{}

func (*RoleBindingParent_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *RoleBindingParent_FieldTerminalPathArrayItemValue) GetSingle(source *RoleBinding_Parent) (interface{}, bool)

func (*RoleBindingParent_FieldTerminalPathArrayItemValue) GetSingleRaw

func (fpaiv *RoleBindingParent_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)

type RoleBindingParent_FieldTerminalPathArrayOfValues

type RoleBindingParent_FieldTerminalPathArrayOfValues struct {
	RoleBindingParent_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*RoleBindingParent_FieldTerminalPathArrayOfValues) AsMemberArrayOfValues

func (fpaov *RoleBindingParent_FieldTerminalPathArrayOfValues) AsMemberArrayOfValues() ([]string, bool)

func (*RoleBindingParent_FieldTerminalPathArrayOfValues) AsParentArrayOfValues

func (fpaov *RoleBindingParent_FieldTerminalPathArrayOfValues) AsParentArrayOfValues() ([]*Reference, bool)

func (*RoleBindingParent_FieldTerminalPathArrayOfValues) GetRawValues

func (fpaov *RoleBindingParent_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})

type RoleBindingParent_FieldTerminalPathValue

type RoleBindingParent_FieldTerminalPathValue struct {
	RoleBindingParent_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*RoleBindingParent_FieldTerminalPathValue) AsMemberValue

func (fpv *RoleBindingParent_FieldTerminalPathValue) AsMemberValue() (string, bool)

func (*RoleBindingParent_FieldTerminalPathValue) AsParentValue

func (fpv *RoleBindingParent_FieldTerminalPathValue) AsParentValue() (*Reference, bool)

func (*RoleBindingParent_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'RoleBindingParent_FieldTerminalPathValue' with the value under path in 'RoleBinding_Parent'.

func (*RoleBindingParent_FieldTerminalPathValue) CompareWithRaw

func (fpv *RoleBindingParent_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)

func (*RoleBindingParent_FieldTerminalPathValue) GetRawValue

func (fpv *RoleBindingParent_FieldTerminalPathValue) GetRawValue() interface{}

GetRawValue returns raw value stored under selected path for 'Parent' as interface{}

func (*RoleBindingParent_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object Parent

func (*RoleBindingParent_FieldTerminalPathValue) SetToRaw

type RoleBindingPathSelectorAncestryPath

type RoleBindingPathSelectorAncestryPath struct{}

func (RoleBindingPathSelectorAncestryPath) FieldPath

func (RoleBindingPathSelectorAncestryPath) Member

func (RoleBindingPathSelectorAncestryPath) Parent

func (RoleBindingPathSelectorAncestryPath) WithArrayOfValues

func (RoleBindingPathSelectorAncestryPath) WithItemValue

func (RoleBindingPathSelectorAncestryPath) WithSubArrayItemValue

func (RoleBindingPathSelectorAncestryPath) WithSubArrayOfValues

func (RoleBindingPathSelectorAncestryPath) WithSubPath

func (RoleBindingPathSelectorAncestryPath) WithSubValue

func (RoleBindingPathSelectorAncestryPath) WithValue

type RoleBindingPathSelectorAncestryPathMember

type RoleBindingPathSelectorAncestryPathMember struct{}

func (RoleBindingPathSelectorAncestryPathMember) FieldPath

func (RoleBindingPathSelectorAncestryPathMember) WithArrayOfValues

func (RoleBindingPathSelectorAncestryPathMember) WithValue

type RoleBindingPathSelectorAncestryPathParent

type RoleBindingPathSelectorAncestryPathParent struct{}

func (RoleBindingPathSelectorAncestryPathParent) FieldPath

func (RoleBindingPathSelectorAncestryPathParent) WithArrayOfValues

func (RoleBindingPathSelectorAncestryPathParent) WithValue

type RoleBindingPathSelectorConditionBinding

type RoleBindingPathSelectorConditionBinding struct{}

func (RoleBindingPathSelectorConditionBinding) Condition

func (RoleBindingPathSelectorConditionBinding) FieldPath

func (RoleBindingPathSelectorConditionBinding) Parameters

func (RoleBindingPathSelectorConditionBinding) Params added in v0.9.9

func (RoleBindingPathSelectorConditionBinding) WithArrayOfValues

func (RoleBindingPathSelectorConditionBinding) WithSubArrayItemValue

func (RoleBindingPathSelectorConditionBinding) WithSubArrayOfValues

func (RoleBindingPathSelectorConditionBinding) WithSubPath

func (RoleBindingPathSelectorConditionBinding) WithSubValue

func (RoleBindingPathSelectorConditionBinding) WithValue

type RoleBindingPathSelectorConditionBindingCondition

type RoleBindingPathSelectorConditionBindingCondition struct{}

func (RoleBindingPathSelectorConditionBindingCondition) FieldPath

func (RoleBindingPathSelectorConditionBindingCondition) WithArrayOfValues

func (RoleBindingPathSelectorConditionBindingCondition) WithValue

type RoleBindingPathSelectorConditionBindingParameters

type RoleBindingPathSelectorConditionBindingParameters struct{}

func (RoleBindingPathSelectorConditionBindingParameters) FieldPath

func (RoleBindingPathSelectorConditionBindingParameters) WithArrayOfValues

func (RoleBindingPathSelectorConditionBindingParameters) WithKey

func (RoleBindingPathSelectorConditionBindingParameters) WithValue

type RoleBindingPathSelectorConditionBindingParams added in v0.9.9

type RoleBindingPathSelectorConditionBindingParams struct{}

func (RoleBindingPathSelectorConditionBindingParams) FieldPath added in v0.9.9

func (RoleBindingPathSelectorConditionBindingParams) WithArrayOfValues added in v0.9.9

func (RoleBindingPathSelectorConditionBindingParams) WithValue added in v0.9.9

type RoleBindingPathSelectorMember

type RoleBindingPathSelectorMember struct{}

func (RoleBindingPathSelectorMember) FieldPath

func (RoleBindingPathSelectorMember) WithArrayOfValues

func (RoleBindingPathSelectorMember) WithValue

type RoleBindingPathSelectorMetadata

type RoleBindingPathSelectorMetadata struct{}

func (RoleBindingPathSelectorMetadata) Annotations

func (RoleBindingPathSelectorMetadata) CreateTime

func (RoleBindingPathSelectorMetadata) DeleteTime added in v0.8.0

func (RoleBindingPathSelectorMetadata) FieldPath

func (RoleBindingPathSelectorMetadata) Generation

func (RoleBindingPathSelectorMetadata) Labels

func (RoleBindingPathSelectorMetadata) Lifecycle added in v0.8.0

func (RoleBindingPathSelectorMetadata) OwnerReferences

func (RoleBindingPathSelectorMetadata) ResourceVersion

func (RoleBindingPathSelectorMetadata) Services added in v1.0.21

func (RoleBindingPathSelectorMetadata) Shards

func (RoleBindingPathSelectorMetadata) Syncing

func (RoleBindingPathSelectorMetadata) Tags

func (RoleBindingPathSelectorMetadata) UpdateTime

func (RoleBindingPathSelectorMetadata) Uuid

func (RoleBindingPathSelectorMetadata) WithArrayOfValues

func (RoleBindingPathSelectorMetadata) WithSubArrayItemValue

func (RoleBindingPathSelectorMetadata) WithSubArrayOfValues

func (RoleBindingPathSelectorMetadata) WithSubPath

func (RoleBindingPathSelectorMetadata) WithSubValue

func (RoleBindingPathSelectorMetadata) WithValue

type RoleBindingPathSelectorMetadataAnnotations

type RoleBindingPathSelectorMetadataAnnotations struct{}

func (RoleBindingPathSelectorMetadataAnnotations) FieldPath

func (RoleBindingPathSelectorMetadataAnnotations) WithArrayOfValues

func (RoleBindingPathSelectorMetadataAnnotations) WithKey

func (RoleBindingPathSelectorMetadataAnnotations) WithValue

type RoleBindingPathSelectorMetadataCreateTime

type RoleBindingPathSelectorMetadataCreateTime struct{}

func (RoleBindingPathSelectorMetadataCreateTime) FieldPath

func (RoleBindingPathSelectorMetadataCreateTime) WithArrayOfValues

func (RoleBindingPathSelectorMetadataCreateTime) WithValue

type RoleBindingPathSelectorMetadataDeleteTime added in v0.8.0

type RoleBindingPathSelectorMetadataDeleteTime struct{}

func (RoleBindingPathSelectorMetadataDeleteTime) FieldPath added in v0.8.0

func (RoleBindingPathSelectorMetadataDeleteTime) WithArrayOfValues added in v0.8.0

func (RoleBindingPathSelectorMetadataDeleteTime) WithValue added in v0.8.0

type RoleBindingPathSelectorMetadataGeneration

type RoleBindingPathSelectorMetadataGeneration struct{}

func (RoleBindingPathSelectorMetadataGeneration) FieldPath

func (RoleBindingPathSelectorMetadataGeneration) WithArrayOfValues

func (RoleBindingPathSelectorMetadataGeneration) WithValue

type RoleBindingPathSelectorMetadataLabels

type RoleBindingPathSelectorMetadataLabels struct{}

func (RoleBindingPathSelectorMetadataLabels) FieldPath

func (RoleBindingPathSelectorMetadataLabels) WithArrayOfValues

func (RoleBindingPathSelectorMetadataLabels) WithKey

func (RoleBindingPathSelectorMetadataLabels) WithValue

type RoleBindingPathSelectorMetadataLifecycle added in v0.8.0

type RoleBindingPathSelectorMetadataLifecycle struct{}

func (RoleBindingPathSelectorMetadataLifecycle) BlockDeletion added in v0.8.0

func (RoleBindingPathSelectorMetadataLifecycle) FieldPath added in v0.8.0

func (RoleBindingPathSelectorMetadataLifecycle) State added in v0.8.0

func (RoleBindingPathSelectorMetadataLifecycle) WithArrayOfValues added in v0.8.0

func (RoleBindingPathSelectorMetadataLifecycle) WithValue added in v0.8.0

type RoleBindingPathSelectorMetadataLifecycleBlockDeletion added in v0.8.0

type RoleBindingPathSelectorMetadataLifecycleBlockDeletion struct{}

func (RoleBindingPathSelectorMetadataLifecycleBlockDeletion) FieldPath added in v0.8.0

func (RoleBindingPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues added in v0.8.0

func (RoleBindingPathSelectorMetadataLifecycleBlockDeletion) WithValue added in v0.8.0

type RoleBindingPathSelectorMetadataLifecycleState added in v0.8.0

type RoleBindingPathSelectorMetadataLifecycleState struct{}

func (RoleBindingPathSelectorMetadataLifecycleState) FieldPath added in v0.8.0

func (RoleBindingPathSelectorMetadataLifecycleState) WithArrayOfValues added in v0.8.0

func (RoleBindingPathSelectorMetadataLifecycleState) WithValue added in v0.8.0

type RoleBindingPathSelectorMetadataOwnerReferences

type RoleBindingPathSelectorMetadataOwnerReferences struct{}

func (RoleBindingPathSelectorMetadataOwnerReferences) Controller

func (RoleBindingPathSelectorMetadataOwnerReferences) FieldPath

func (RoleBindingPathSelectorMetadataOwnerReferences) Kind

func (RoleBindingPathSelectorMetadataOwnerReferences) Name

func (RoleBindingPathSelectorMetadataOwnerReferences) Region added in v0.8.0

func (RoleBindingPathSelectorMetadataOwnerReferences) RequiresOwnerReference added in v0.8.0

func (RoleBindingPathSelectorMetadataOwnerReferences) Version added in v0.8.0

func (RoleBindingPathSelectorMetadataOwnerReferences) WithArrayOfValues

func (RoleBindingPathSelectorMetadataOwnerReferences) WithItemValue

func (RoleBindingPathSelectorMetadataOwnerReferences) WithValue

type RoleBindingPathSelectorMetadataOwnerReferencesController

type RoleBindingPathSelectorMetadataOwnerReferencesController struct{}

func (RoleBindingPathSelectorMetadataOwnerReferencesController) FieldPath

func (RoleBindingPathSelectorMetadataOwnerReferencesController) WithArrayOfValues

func (RoleBindingPathSelectorMetadataOwnerReferencesController) WithValue

type RoleBindingPathSelectorMetadataOwnerReferencesKind

type RoleBindingPathSelectorMetadataOwnerReferencesKind struct{}

func (RoleBindingPathSelectorMetadataOwnerReferencesKind) FieldPath

func (RoleBindingPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues

func (RoleBindingPathSelectorMetadataOwnerReferencesKind) WithValue

type RoleBindingPathSelectorMetadataOwnerReferencesName

type RoleBindingPathSelectorMetadataOwnerReferencesName struct{}

func (RoleBindingPathSelectorMetadataOwnerReferencesName) FieldPath

func (RoleBindingPathSelectorMetadataOwnerReferencesName) WithArrayOfValues

func (RoleBindingPathSelectorMetadataOwnerReferencesName) WithValue

type RoleBindingPathSelectorMetadataOwnerReferencesRegion added in v0.8.0

type RoleBindingPathSelectorMetadataOwnerReferencesRegion struct{}

func (RoleBindingPathSelectorMetadataOwnerReferencesRegion) FieldPath added in v0.8.0

func (RoleBindingPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues added in v0.8.0

func (RoleBindingPathSelectorMetadataOwnerReferencesRegion) WithValue added in v0.8.0

type RoleBindingPathSelectorMetadataOwnerReferencesRequiresOwnerReference added in v0.8.0

type RoleBindingPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}

func (RoleBindingPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath added in v0.8.0

func (RoleBindingPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues added in v0.8.0

func (RoleBindingPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue added in v0.8.0

type RoleBindingPathSelectorMetadataOwnerReferencesVersion added in v0.8.0

type RoleBindingPathSelectorMetadataOwnerReferencesVersion struct{}

func (RoleBindingPathSelectorMetadataOwnerReferencesVersion) FieldPath added in v0.8.0

func (RoleBindingPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues added in v0.8.0

func (RoleBindingPathSelectorMetadataOwnerReferencesVersion) WithValue added in v0.8.0

type RoleBindingPathSelectorMetadataResourceVersion

type RoleBindingPathSelectorMetadataResourceVersion struct{}

func (RoleBindingPathSelectorMetadataResourceVersion) FieldPath

func (RoleBindingPathSelectorMetadataResourceVersion) WithArrayOfValues

func (RoleBindingPathSelectorMetadataResourceVersion) WithValue

type RoleBindingPathSelectorMetadataServices added in v1.0.21

type RoleBindingPathSelectorMetadataServices struct{}

func (RoleBindingPathSelectorMetadataServices) AllowedServices added in v1.0.21

func (RoleBindingPathSelectorMetadataServices) FieldPath added in v1.0.21

func (RoleBindingPathSelectorMetadataServices) OwningService added in v1.0.21

func (RoleBindingPathSelectorMetadataServices) WithArrayOfValues added in v1.0.21

func (RoleBindingPathSelectorMetadataServices) WithValue added in v1.0.21

type RoleBindingPathSelectorMetadataServicesAllowedServices added in v1.0.21

type RoleBindingPathSelectorMetadataServicesAllowedServices struct{}

func (RoleBindingPathSelectorMetadataServicesAllowedServices) FieldPath added in v1.0.21

func (RoleBindingPathSelectorMetadataServicesAllowedServices) WithArrayOfValues added in v1.0.21

func (RoleBindingPathSelectorMetadataServicesAllowedServices) WithItemValue added in v1.0.21

func (RoleBindingPathSelectorMetadataServicesAllowedServices) WithValue added in v1.0.21

type RoleBindingPathSelectorMetadataServicesOwningService added in v1.0.21

type RoleBindingPathSelectorMetadataServicesOwningService struct{}

func (RoleBindingPathSelectorMetadataServicesOwningService) FieldPath added in v1.0.21

func (RoleBindingPathSelectorMetadataServicesOwningService) WithArrayOfValues added in v1.0.21

func (RoleBindingPathSelectorMetadataServicesOwningService) WithValue added in v1.0.21

type RoleBindingPathSelectorMetadataShards

type RoleBindingPathSelectorMetadataShards struct{}

func (RoleBindingPathSelectorMetadataShards) FieldPath

func (RoleBindingPathSelectorMetadataShards) WithArrayOfValues

func (RoleBindingPathSelectorMetadataShards) WithKey

func (RoleBindingPathSelectorMetadataShards) WithValue

type RoleBindingPathSelectorMetadataSyncing

type RoleBindingPathSelectorMetadataSyncing struct{}

func (RoleBindingPathSelectorMetadataSyncing) FieldPath

func (RoleBindingPathSelectorMetadataSyncing) OwningRegion

func (RoleBindingPathSelectorMetadataSyncing) Regions

func (RoleBindingPathSelectorMetadataSyncing) WithArrayOfValues

func (RoleBindingPathSelectorMetadataSyncing) WithValue

type RoleBindingPathSelectorMetadataSyncingOwningRegion

type RoleBindingPathSelectorMetadataSyncingOwningRegion struct{}

func (RoleBindingPathSelectorMetadataSyncingOwningRegion) FieldPath

func (RoleBindingPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues

func (RoleBindingPathSelectorMetadataSyncingOwningRegion) WithValue

type RoleBindingPathSelectorMetadataSyncingRegions

type RoleBindingPathSelectorMetadataSyncingRegions struct{}

func (RoleBindingPathSelectorMetadataSyncingRegions) FieldPath

func (RoleBindingPathSelectorMetadataSyncingRegions) WithArrayOfValues

func (RoleBindingPathSelectorMetadataSyncingRegions) WithItemValue

func (RoleBindingPathSelectorMetadataSyncingRegions) WithValue

type RoleBindingPathSelectorMetadataTags

type RoleBindingPathSelectorMetadataTags struct{}

func (RoleBindingPathSelectorMetadataTags) FieldPath

func (RoleBindingPathSelectorMetadataTags) WithArrayOfValues

func (RoleBindingPathSelectorMetadataTags) WithItemValue

func (RoleBindingPathSelectorMetadataTags) WithValue

type RoleBindingPathSelectorMetadataUpdateTime

type RoleBindingPathSelectorMetadataUpdateTime struct{}

func (RoleBindingPathSelectorMetadataUpdateTime) FieldPath

func (RoleBindingPathSelectorMetadataUpdateTime) WithArrayOfValues

func (RoleBindingPathSelectorMetadataUpdateTime) WithValue

type RoleBindingPathSelectorMetadataUuid

type RoleBindingPathSelectorMetadataUuid struct{}

func (RoleBindingPathSelectorMetadataUuid) FieldPath

func (RoleBindingPathSelectorMetadataUuid) WithArrayOfValues

func (RoleBindingPathSelectorMetadataUuid) WithValue

type RoleBindingPathSelectorName

type RoleBindingPathSelectorName struct{}

func (RoleBindingPathSelectorName) FieldPath

func (RoleBindingPathSelectorName) WithArrayOfValues

func (RoleBindingPathSelectorName) WithValue

type RoleBindingPathSelectorRole

type RoleBindingPathSelectorRole struct{}

func (RoleBindingPathSelectorRole) FieldPath

func (RoleBindingPathSelectorRole) WithArrayOfValues

func (RoleBindingPathSelectorRole) WithValue

type RoleBindingReferenceList

type RoleBindingReferenceList []*Reference

func (RoleBindingReferenceList) Append

func (RoleBindingReferenceList) AppendList

func (RoleBindingReferenceList) At

func (RoleBindingReferenceList) Length

func (l RoleBindingReferenceList) Length() int

func (RoleBindingReferenceList) Set

func (RoleBindingReferenceList) Slice

type RoleBinding_FieldMask

type RoleBinding_FieldMask struct {
	Paths []RoleBinding_FieldPath
}

func FullRoleBinding_FieldMask

func FullRoleBinding_FieldMask() *RoleBinding_FieldMask

func ResourceViewFieldMask

func ResourceViewFieldMask(viewName view.View, extraMask *RoleBinding_FieldMask) *RoleBinding_FieldMask

func (*RoleBinding_FieldMask) AppendPath

func (fieldMask *RoleBinding_FieldMask) AppendPath(path RoleBinding_FieldPath)

func (*RoleBinding_FieldMask) AppendRawPath

func (fieldMask *RoleBinding_FieldMask) AppendRawPath(path gotenobject.FieldPath)

func (*RoleBinding_FieldMask) DecodeFirestore

func (fieldMask *RoleBinding_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error

func (*RoleBinding_FieldMask) EncodeFirestore

func (fieldMask *RoleBinding_FieldMask) EncodeFirestore() (*firestorepb.Value, error)

firestore encoding/decoding integration

func (*RoleBinding_FieldMask) FilterInputFields

func (fieldMask *RoleBinding_FieldMask) FilterInputFields() *RoleBinding_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*RoleBinding_FieldMask) FromProtoFieldMask

func (fieldMask *RoleBinding_FieldMask) FromProtoFieldMask(protoFieldMask *googlefieldmaskpb.FieldMask) error

func (*RoleBinding_FieldMask) GetPaths

func (fieldMask *RoleBinding_FieldMask) GetPaths() []RoleBinding_FieldPath

func (*RoleBinding_FieldMask) GetRawPaths

func (fieldMask *RoleBinding_FieldMask) GetRawPaths() []gotenobject.FieldPath

func (*RoleBinding_FieldMask) IsFull

func (fieldMask *RoleBinding_FieldMask) IsFull() bool

func (RoleBinding_FieldMask) Marshal

func (fieldMask RoleBinding_FieldMask) Marshal() ([]byte, error)

implement methods required by customType

func (RoleBinding_FieldMask) MarshalJSON

func (fieldMask RoleBinding_FieldMask) MarshalJSON() ([]byte, error)

func (*RoleBinding_FieldMask) PathsCount

func (fieldMask *RoleBinding_FieldMask) PathsCount() int

func (*RoleBinding_FieldMask) Project

func (fieldMask *RoleBinding_FieldMask) Project(source *RoleBinding) *RoleBinding

func (*RoleBinding_FieldMask) ProjectRaw

func (*RoleBinding_FieldMask) ProtoMessage

func (fieldMask *RoleBinding_FieldMask) ProtoMessage()

func (*RoleBinding_FieldMask) ProtoReflect

func (fieldMask *RoleBinding_FieldMask) ProtoReflect() preflect.Message

func (*RoleBinding_FieldMask) Reset

func (fieldMask *RoleBinding_FieldMask) Reset()

func (*RoleBinding_FieldMask) Set

func (fieldMask *RoleBinding_FieldMask) Set(target, source *RoleBinding)

func (*RoleBinding_FieldMask) SetFromCliFlag

func (fieldMask *RoleBinding_FieldMask) SetFromCliFlag(raw string) error

func (*RoleBinding_FieldMask) SetRaw

func (fieldMask *RoleBinding_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)

func (*RoleBinding_FieldMask) Size

func (fieldMask *RoleBinding_FieldMask) Size() int

func (*RoleBinding_FieldMask) String

func (fieldMask *RoleBinding_FieldMask) String() string

func (*RoleBinding_FieldMask) Subtract

func (*RoleBinding_FieldMask) SubtractRaw

func (fieldMask *RoleBinding_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask

func (*RoleBinding_FieldMask) ToProtoFieldMask

func (fieldMask *RoleBinding_FieldMask) ToProtoFieldMask() *googlefieldmaskpb.FieldMask

ToFieldMask is used for proto conversions

func (*RoleBinding_FieldMask) Unmarshal

func (fieldMask *RoleBinding_FieldMask) Unmarshal(data []byte) error

func (*RoleBinding_FieldMask) UnmarshalJSON

func (fieldMask *RoleBinding_FieldMask) UnmarshalJSON(data []byte) error

type RoleBinding_FieldPath

type RoleBinding_FieldPath interface {
	gotenobject.FieldPath
	Selector() RoleBinding_FieldPathSelector
	Get(source *RoleBinding) []interface{}
	GetSingle(source *RoleBinding) (interface{}, bool)
	ClearValue(item *RoleBinding)

	// Those methods build corresponding RoleBinding_FieldPathValue
	// (or array of values) and holds passed value. Panics if injected type is incorrect.
	WithIValue(value interface{}) RoleBinding_FieldPathValue
	WithIArrayOfValues(values interface{}) RoleBinding_FieldPathArrayOfValues
	WithIArrayItemValue(value interface{}) RoleBinding_FieldPathArrayItemValue
}

FieldPath provides implementation to handle https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto

func MustParseRoleBinding_FieldPath

func MustParseRoleBinding_FieldPath(rawField string) RoleBinding_FieldPath

func ParseRoleBinding_FieldPath

func ParseRoleBinding_FieldPath(rawField string) (RoleBinding_FieldPath, error)

type RoleBinding_FieldPathArrayItemValue

type RoleBinding_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	RoleBinding_FieldPath
	ContainsValue(*RoleBinding) bool
}

RoleBinding_FieldPathArrayItemValue allows storing single item in Path-specific values for RoleBinding according to their type Present only for array (repeated) types.

func MustParseRoleBinding_FieldPathArrayItemValue

func MustParseRoleBinding_FieldPathArrayItemValue(pathStr, valueStr string) RoleBinding_FieldPathArrayItemValue

func ParseRoleBinding_FieldPathArrayItemValue

func ParseRoleBinding_FieldPathArrayItemValue(pathStr, valueStr string) (RoleBinding_FieldPathArrayItemValue, error)

ParseRoleBinding_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type RoleBinding_FieldPathArrayOfValues

type RoleBinding_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	RoleBinding_FieldPath
}

RoleBinding_FieldPathArrayOfValues allows storing slice of values for RoleBinding fields according to their type

func MustParseRoleBinding_FieldPathArrayOfValues

func MustParseRoleBinding_FieldPathArrayOfValues(pathStr, valuesStr string) RoleBinding_FieldPathArrayOfValues

func ParseRoleBinding_FieldPathArrayOfValues

func ParseRoleBinding_FieldPathArrayOfValues(pathStr, valuesStr string) (RoleBinding_FieldPathArrayOfValues, error)

type RoleBinding_FieldPathSelector

type RoleBinding_FieldPathSelector int32
const (
	RoleBinding_FieldPathSelectorName             RoleBinding_FieldPathSelector = 0
	RoleBinding_FieldPathSelectorRole             RoleBinding_FieldPathSelector = 1
	RoleBinding_FieldPathSelectorMember           RoleBinding_FieldPathSelector = 2
	RoleBinding_FieldPathSelectorConditionBinding RoleBinding_FieldPathSelector = 3
	RoleBinding_FieldPathSelectorAncestryPath     RoleBinding_FieldPathSelector = 4
	RoleBinding_FieldPathSelectorMetadata         RoleBinding_FieldPathSelector = 5
)

func (RoleBinding_FieldPathSelector) String

type RoleBinding_FieldPathValue

type RoleBinding_FieldPathValue interface {
	RoleBinding_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **RoleBinding)
	CompareWith(*RoleBinding) (cmp int, comparable bool)
}

RoleBinding_FieldPathValue allows storing values for RoleBinding fields according to their type

func MustParseRoleBinding_FieldPathValue

func MustParseRoleBinding_FieldPathValue(pathStr, valueStr string) RoleBinding_FieldPathValue

func ParseRoleBinding_FieldPathValue

func ParseRoleBinding_FieldPathValue(pathStr, valueStr string) (RoleBinding_FieldPathValue, error)

type RoleBinding_FieldSubPath

type RoleBinding_FieldSubPath struct {
	// contains filtered or unexported fields
}

func (*RoleBinding_FieldSubPath) AsAncestryPathSubPath

func (fps *RoleBinding_FieldSubPath) AsAncestryPathSubPath() (RoleBindingParent_FieldPath, bool)

func (*RoleBinding_FieldSubPath) AsConditionBindingSubPath

func (fps *RoleBinding_FieldSubPath) AsConditionBindingSubPath() (condition.ConditionBinding_FieldPath, bool)

func (*RoleBinding_FieldSubPath) AsMetadataSubPath

func (fps *RoleBinding_FieldSubPath) AsMetadataSubPath() (meta.Meta_FieldPath, bool)

func (*RoleBinding_FieldSubPath) ClearValue

func (fps *RoleBinding_FieldSubPath) ClearValue(item *RoleBinding)

func (*RoleBinding_FieldSubPath) ClearValueRaw

func (fps *RoleBinding_FieldSubPath) ClearValueRaw(item proto.Message)

func (*RoleBinding_FieldSubPath) Get

func (fps *RoleBinding_FieldSubPath) Get(source *RoleBinding) (values []interface{})

Get returns all values pointed by selected field from source RoleBinding

func (*RoleBinding_FieldSubPath) GetDefault

func (fps *RoleBinding_FieldSubPath) GetDefault() interface{}

GetDefault returns a default value of the field type

func (*RoleBinding_FieldSubPath) GetRaw

func (fps *RoleBinding_FieldSubPath) GetRaw(source proto.Message) []interface{}

func (*RoleBinding_FieldSubPath) GetSingle

func (fps *RoleBinding_FieldSubPath) GetSingle(source *RoleBinding) (interface{}, bool)

GetSingle returns value of selected field from source RoleBinding

func (*RoleBinding_FieldSubPath) GetSingleRaw

func (fps *RoleBinding_FieldSubPath) GetSingleRaw(source proto.Message) (interface{}, bool)

func (*RoleBinding_FieldSubPath) IsLeaf

func (fps *RoleBinding_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*RoleBinding_FieldSubPath) JSONString

func (fps *RoleBinding_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*RoleBinding_FieldSubPath) Selector

func (*RoleBinding_FieldSubPath) SplitIntoTerminalIPaths added in v0.8.0

func (fps *RoleBinding_FieldSubPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath

func (*RoleBinding_FieldSubPath) String

func (fps *RoleBinding_FieldSubPath) String() string

String returns path representation in proto convention

func (*RoleBinding_FieldSubPath) WithIArrayItemValue

func (fps *RoleBinding_FieldSubPath) WithIArrayItemValue(value interface{}) RoleBinding_FieldPathArrayItemValue

func (*RoleBinding_FieldSubPath) WithIArrayOfValues

func (fps *RoleBinding_FieldSubPath) WithIArrayOfValues(values interface{}) RoleBinding_FieldPathArrayOfValues

func (*RoleBinding_FieldSubPath) WithIValue

func (fps *RoleBinding_FieldSubPath) WithIValue(value interface{}) RoleBinding_FieldPathValue

func (*RoleBinding_FieldSubPath) WithRawIArrayItemValue

func (fps *RoleBinding_FieldSubPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue

func (*RoleBinding_FieldSubPath) WithRawIArrayOfValues

func (fps *RoleBinding_FieldSubPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues

func (*RoleBinding_FieldSubPath) WithRawIValue

func (fps *RoleBinding_FieldSubPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue

type RoleBinding_FieldSubPathArrayItemValue

type RoleBinding_FieldSubPathArrayItemValue struct {
	RoleBinding_FieldPath
	// contains filtered or unexported fields
}

func (*RoleBinding_FieldSubPathArrayItemValue) AsAncestryPathPathItemValue

func (*RoleBinding_FieldSubPathArrayItemValue) AsConditionBindingPathItemValue

func (*RoleBinding_FieldSubPathArrayItemValue) AsMetadataPathItemValue

func (*RoleBinding_FieldSubPathArrayItemValue) ContainsValue

func (fpaivs *RoleBinding_FieldSubPathArrayItemValue) ContainsValue(source *RoleBinding) bool

Contains returns a boolean indicating if value that is being held is present in given 'RoleBinding'

func (*RoleBinding_FieldSubPathArrayItemValue) GetRawItemValue

func (fpaivs *RoleBinding_FieldSubPathArrayItemValue) GetRawItemValue() interface{}

GetRawValue returns stored array item value

type RoleBinding_FieldSubPathArrayOfValues

type RoleBinding_FieldSubPathArrayOfValues struct {
	RoleBinding_FieldPath
	// contains filtered or unexported fields
}

func (*RoleBinding_FieldSubPathArrayOfValues) AsAncestryPathPathArrayOfValues

func (fpsaov *RoleBinding_FieldSubPathArrayOfValues) AsAncestryPathPathArrayOfValues() (RoleBindingParent_FieldPathArrayOfValues, bool)

func (*RoleBinding_FieldSubPathArrayOfValues) AsConditionBindingPathArrayOfValues

func (fpsaov *RoleBinding_FieldSubPathArrayOfValues) AsConditionBindingPathArrayOfValues() (condition.ConditionBinding_FieldPathArrayOfValues, bool)

func (*RoleBinding_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues

func (fpsaov *RoleBinding_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues() (meta.Meta_FieldPathArrayOfValues, bool)

func (*RoleBinding_FieldSubPathArrayOfValues) GetRawValues

func (fpsaov *RoleBinding_FieldSubPathArrayOfValues) GetRawValues() []interface{}

type RoleBinding_FieldSubPathValue

type RoleBinding_FieldSubPathValue struct {
	RoleBinding_FieldPath
	// contains filtered or unexported fields
}

func (*RoleBinding_FieldSubPathValue) AsAncestryPathPathValue

func (fpvs *RoleBinding_FieldSubPathValue) AsAncestryPathPathValue() (RoleBindingParent_FieldPathValue, bool)

func (*RoleBinding_FieldSubPathValue) AsConditionBindingPathValue

func (fpvs *RoleBinding_FieldSubPathValue) AsConditionBindingPathValue() (condition.ConditionBinding_FieldPathValue, bool)

func (*RoleBinding_FieldSubPathValue) AsMetadataPathValue

func (fpvs *RoleBinding_FieldSubPathValue) AsMetadataPathValue() (meta.Meta_FieldPathValue, bool)

func (*RoleBinding_FieldSubPathValue) CompareWith

func (fpvs *RoleBinding_FieldSubPathValue) CompareWith(source *RoleBinding) (int, bool)

func (*RoleBinding_FieldSubPathValue) CompareWithRaw

func (fpvs *RoleBinding_FieldSubPathValue) CompareWithRaw(source proto.Message) (int, bool)

func (*RoleBinding_FieldSubPathValue) GetRawValue

func (fpvs *RoleBinding_FieldSubPathValue) GetRawValue() interface{}

func (*RoleBinding_FieldSubPathValue) SetTo

func (fpvs *RoleBinding_FieldSubPathValue) SetTo(target **RoleBinding)

func (*RoleBinding_FieldSubPathValue) SetToRaw

func (fpvs *RoleBinding_FieldSubPathValue) SetToRaw(target proto.Message)

type RoleBinding_FieldTerminalPath

type RoleBinding_FieldTerminalPath struct {
	// contains filtered or unexported fields
}

func (*RoleBinding_FieldTerminalPath) ClearValue

func (fp *RoleBinding_FieldTerminalPath) ClearValue(item *RoleBinding)

func (*RoleBinding_FieldTerminalPath) ClearValueRaw

func (fp *RoleBinding_FieldTerminalPath) ClearValueRaw(item proto.Message)

func (*RoleBinding_FieldTerminalPath) Get

func (fp *RoleBinding_FieldTerminalPath) Get(source *RoleBinding) (values []interface{})

Get returns all values pointed by specific field from source RoleBinding

func (*RoleBinding_FieldTerminalPath) GetDefault

func (fp *RoleBinding_FieldTerminalPath) GetDefault() interface{}

GetDefault returns a default value of the field type

func (*RoleBinding_FieldTerminalPath) GetRaw

func (fp *RoleBinding_FieldTerminalPath) GetRaw(source proto.Message) []interface{}

func (*RoleBinding_FieldTerminalPath) GetSingle

func (fp *RoleBinding_FieldTerminalPath) GetSingle(source *RoleBinding) (interface{}, bool)

GetSingle returns value pointed by specific field of from source RoleBinding

func (*RoleBinding_FieldTerminalPath) GetSingleRaw

func (fp *RoleBinding_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)

func (*RoleBinding_FieldTerminalPath) IsLeaf

func (fp *RoleBinding_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*RoleBinding_FieldTerminalPath) JSONString

func (fp *RoleBinding_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*RoleBinding_FieldTerminalPath) Selector

func (*RoleBinding_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

func (fp *RoleBinding_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath

func (*RoleBinding_FieldTerminalPath) String

String returns path representation in proto convention

func (*RoleBinding_FieldTerminalPath) WithIArrayItemValue

func (fp *RoleBinding_FieldTerminalPath) WithIArrayItemValue(value interface{}) RoleBinding_FieldPathArrayItemValue

func (*RoleBinding_FieldTerminalPath) WithIArrayOfValues

func (fp *RoleBinding_FieldTerminalPath) WithIArrayOfValues(values interface{}) RoleBinding_FieldPathArrayOfValues

func (*RoleBinding_FieldTerminalPath) WithIValue

func (fp *RoleBinding_FieldTerminalPath) WithIValue(value interface{}) RoleBinding_FieldPathValue

func (*RoleBinding_FieldTerminalPath) WithRawIArrayItemValue

func (fp *RoleBinding_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue

func (*RoleBinding_FieldTerminalPath) WithRawIArrayOfValues

func (fp *RoleBinding_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues

func (*RoleBinding_FieldTerminalPath) WithRawIValue

func (fp *RoleBinding_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue

type RoleBinding_FieldTerminalPathArrayItemValue

type RoleBinding_FieldTerminalPathArrayItemValue struct {
	RoleBinding_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*RoleBinding_FieldTerminalPathArrayItemValue) AsAncestryPathItemValue

func (fpaiv *RoleBinding_FieldTerminalPathArrayItemValue) AsAncestryPathItemValue() (*RoleBinding_Parent, bool)

func (*RoleBinding_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *RoleBinding_FieldTerminalPathArrayItemValue) ContainsValue(source *RoleBinding) bool

Contains returns a boolean indicating if value that is being held is present in given 'RoleBinding'

func (*RoleBinding_FieldTerminalPathArrayItemValue) GetRawItemValue

func (fpaiv *RoleBinding_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}

GetRawValue returns stored element value for array in object RoleBinding as interface{}

func (*RoleBinding_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *RoleBinding_FieldTerminalPathArrayItemValue) GetSingle(source *RoleBinding) (interface{}, bool)

func (*RoleBinding_FieldTerminalPathArrayItemValue) GetSingleRaw

func (fpaiv *RoleBinding_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)

type RoleBinding_FieldTerminalPathArrayOfValues

type RoleBinding_FieldTerminalPathArrayOfValues struct {
	RoleBinding_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*RoleBinding_FieldTerminalPathArrayOfValues) AsAncestryPathArrayOfValues

func (fpaov *RoleBinding_FieldTerminalPathArrayOfValues) AsAncestryPathArrayOfValues() ([][]*RoleBinding_Parent, bool)

func (*RoleBinding_FieldTerminalPathArrayOfValues) AsConditionBindingArrayOfValues

func (fpaov *RoleBinding_FieldTerminalPathArrayOfValues) AsConditionBindingArrayOfValues() ([]*condition.ConditionBinding, bool)

func (*RoleBinding_FieldTerminalPathArrayOfValues) AsMemberArrayOfValues

func (fpaov *RoleBinding_FieldTerminalPathArrayOfValues) AsMemberArrayOfValues() ([]string, bool)

func (*RoleBinding_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues

func (fpaov *RoleBinding_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues() ([]*meta.Meta, bool)

func (*RoleBinding_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

func (fpaov *RoleBinding_FieldTerminalPathArrayOfValues) AsNameArrayOfValues() ([]*Name, bool)

func (*RoleBinding_FieldTerminalPathArrayOfValues) AsRoleArrayOfValues

func (fpaov *RoleBinding_FieldTerminalPathArrayOfValues) AsRoleArrayOfValues() ([]*role.Reference, bool)

func (*RoleBinding_FieldTerminalPathArrayOfValues) GetRawValues

func (fpaov *RoleBinding_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})

type RoleBinding_FieldTerminalPathValue

type RoleBinding_FieldTerminalPathValue struct {
	RoleBinding_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*RoleBinding_FieldTerminalPathValue) AsAncestryPathValue

func (fpv *RoleBinding_FieldTerminalPathValue) AsAncestryPathValue() ([]*RoleBinding_Parent, bool)

func (*RoleBinding_FieldTerminalPathValue) AsConditionBindingValue

func (fpv *RoleBinding_FieldTerminalPathValue) AsConditionBindingValue() (*condition.ConditionBinding, bool)

func (*RoleBinding_FieldTerminalPathValue) AsMemberValue

func (fpv *RoleBinding_FieldTerminalPathValue) AsMemberValue() (string, bool)

func (*RoleBinding_FieldTerminalPathValue) AsMetadataValue

func (fpv *RoleBinding_FieldTerminalPathValue) AsMetadataValue() (*meta.Meta, bool)

func (*RoleBinding_FieldTerminalPathValue) AsNameValue

func (fpv *RoleBinding_FieldTerminalPathValue) AsNameValue() (*Name, bool)

func (*RoleBinding_FieldTerminalPathValue) AsRoleValue

func (fpv *RoleBinding_FieldTerminalPathValue) AsRoleValue() (*role.Reference, bool)

func (*RoleBinding_FieldTerminalPathValue) CompareWith

func (fpv *RoleBinding_FieldTerminalPathValue) CompareWith(source *RoleBinding) (int, bool)

CompareWith compares value in the 'RoleBinding_FieldTerminalPathValue' with the value under path in 'RoleBinding'.

func (*RoleBinding_FieldTerminalPathValue) CompareWithRaw

func (fpv *RoleBinding_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)

func (*RoleBinding_FieldTerminalPathValue) GetRawValue

func (fpv *RoleBinding_FieldTerminalPathValue) GetRawValue() interface{}

GetRawValue returns raw value stored under selected path for 'RoleBinding' as interface{}

func (*RoleBinding_FieldTerminalPathValue) SetTo

func (fpv *RoleBinding_FieldTerminalPathValue) SetTo(target **RoleBinding)

SetTo stores value for selected field for object RoleBinding

func (*RoleBinding_FieldTerminalPathValue) SetToRaw

func (fpv *RoleBinding_FieldTerminalPathValue) SetToRaw(target proto.Message)

type RoleBinding_Parent

type RoleBinding_Parent struct {

	// Role bindings which have group as member have child for each service
	// account and user in that group. All those role bindings have one common
	// parent pointing at group role binding
	Parent *Reference `protobuf:"bytes,1,opt,customtype=Reference,name=parent,proto3" json:"parent,omitempty" firestore:"parent"`
	// Member of the parent role binding
	Member string `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty" firestore:"member"`
	// contains filtered or unexported fields
}

Provides information about inheritance of this role binding - if it was created from another role binding.

func (*RoleBinding_Parent) Clone

func (*RoleBinding_Parent) CloneRaw

func (*RoleBinding_Parent) Descriptor

func (*RoleBinding_Parent) Descriptor() ([]byte, []int)

Deprecated, Use RoleBinding_Parent.ProtoReflect.Descriptor instead.

func (*RoleBinding_Parent) GetMember

func (m *RoleBinding_Parent) GetMember() string

func (*RoleBinding_Parent) GetParent

func (m *RoleBinding_Parent) GetParent() *Reference

func (*RoleBinding_Parent) GotenMessage

func (*RoleBinding_Parent) GotenMessage()

func (*RoleBinding_Parent) GotenObjectExt

func (o *RoleBinding_Parent) GotenObjectExt()

func (*RoleBinding_Parent) GotenValidate

func (obj *RoleBinding_Parent) GotenValidate() error

func (*RoleBinding_Parent) MakeDiffFieldMask

func (*RoleBinding_Parent) MakeFullFieldMask

func (o *RoleBinding_Parent) MakeFullFieldMask() *RoleBinding_Parent_FieldMask

func (*RoleBinding_Parent) MakeRawDiffFieldMask

func (o *RoleBinding_Parent) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask

func (*RoleBinding_Parent) MakeRawFullFieldMask

func (o *RoleBinding_Parent) MakeRawFullFieldMask() gotenobject.FieldMask

func (*RoleBinding_Parent) Marshal

func (m *RoleBinding_Parent) Marshal() ([]byte, error)

func (*RoleBinding_Parent) MarshalJSON

func (m *RoleBinding_Parent) MarshalJSON() ([]byte, error)

func (*RoleBinding_Parent) Merge

func (o *RoleBinding_Parent) Merge(source *RoleBinding_Parent)

func (*RoleBinding_Parent) MergeRaw

func (o *RoleBinding_Parent) MergeRaw(source gotenobject.GotenObjectExt)

func (*RoleBinding_Parent) ProtoMessage

func (*RoleBinding_Parent) ProtoMessage()

func (*RoleBinding_Parent) ProtoReflect

func (m *RoleBinding_Parent) ProtoReflect() preflect.Message

func (*RoleBinding_Parent) Reset

func (m *RoleBinding_Parent) Reset()

func (*RoleBinding_Parent) SetMember

func (m *RoleBinding_Parent) SetMember(fv string)

func (*RoleBinding_Parent) SetParent

func (m *RoleBinding_Parent) SetParent(fv *Reference)

func (*RoleBinding_Parent) String

func (m *RoleBinding_Parent) String() string

func (*RoleBinding_Parent) Unmarshal

func (m *RoleBinding_Parent) Unmarshal(b []byte) error

func (*RoleBinding_Parent) UnmarshalJSON

func (m *RoleBinding_Parent) UnmarshalJSON(data []byte) error

type RoleBinding_ParentPathSelectorMember

type RoleBinding_ParentPathSelectorMember struct{}

func (RoleBinding_ParentPathSelectorMember) FieldPath

func (RoleBinding_ParentPathSelectorMember) WithArrayOfValues

func (RoleBinding_ParentPathSelectorMember) WithValue

type RoleBinding_ParentPathSelectorParent

type RoleBinding_ParentPathSelectorParent struct{}

func (RoleBinding_ParentPathSelectorParent) FieldPath

func (RoleBinding_ParentPathSelectorParent) WithArrayOfValues

func (RoleBinding_ParentPathSelectorParent) WithValue

type RoleBinding_Parent_FieldMask

type RoleBinding_Parent_FieldMask struct {
	Paths []RoleBindingParent_FieldPath
}

func FullRoleBinding_Parent_FieldMask

func FullRoleBinding_Parent_FieldMask() *RoleBinding_Parent_FieldMask

func (*RoleBinding_Parent_FieldMask) AppendPath

func (fieldMask *RoleBinding_Parent_FieldMask) AppendPath(path RoleBindingParent_FieldPath)

func (*RoleBinding_Parent_FieldMask) AppendRawPath

func (fieldMask *RoleBinding_Parent_FieldMask) AppendRawPath(path gotenobject.FieldPath)

func (*RoleBinding_Parent_FieldMask) DecodeFirestore

func (fieldMask *RoleBinding_Parent_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error

func (*RoleBinding_Parent_FieldMask) EncodeFirestore

func (fieldMask *RoleBinding_Parent_FieldMask) EncodeFirestore() (*firestorepb.Value, error)

firestore encoding/decoding integration

func (*RoleBinding_Parent_FieldMask) FilterInputFields

func (fieldMask *RoleBinding_Parent_FieldMask) FilterInputFields() *RoleBinding_Parent_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*RoleBinding_Parent_FieldMask) FromProtoFieldMask

func (fieldMask *RoleBinding_Parent_FieldMask) FromProtoFieldMask(protoFieldMask *googlefieldmaskpb.FieldMask) error

func (*RoleBinding_Parent_FieldMask) GetPaths

func (*RoleBinding_Parent_FieldMask) GetRawPaths

func (fieldMask *RoleBinding_Parent_FieldMask) GetRawPaths() []gotenobject.FieldPath

func (*RoleBinding_Parent_FieldMask) IsFull

func (fieldMask *RoleBinding_Parent_FieldMask) IsFull() bool

func (RoleBinding_Parent_FieldMask) Marshal

func (fieldMask RoleBinding_Parent_FieldMask) Marshal() ([]byte, error)

implement methods required by customType

func (RoleBinding_Parent_FieldMask) MarshalJSON

func (fieldMask RoleBinding_Parent_FieldMask) MarshalJSON() ([]byte, error)

func (*RoleBinding_Parent_FieldMask) PathsCount

func (fieldMask *RoleBinding_Parent_FieldMask) PathsCount() int

func (*RoleBinding_Parent_FieldMask) Project

func (*RoleBinding_Parent_FieldMask) ProjectRaw

func (*RoleBinding_Parent_FieldMask) ProtoMessage

func (fieldMask *RoleBinding_Parent_FieldMask) ProtoMessage()

func (*RoleBinding_Parent_FieldMask) ProtoReflect

func (fieldMask *RoleBinding_Parent_FieldMask) ProtoReflect() preflect.Message

func (*RoleBinding_Parent_FieldMask) Reset

func (fieldMask *RoleBinding_Parent_FieldMask) Reset()

func (*RoleBinding_Parent_FieldMask) Set

func (fieldMask *RoleBinding_Parent_FieldMask) Set(target, source *RoleBinding_Parent)

func (*RoleBinding_Parent_FieldMask) SetFromCliFlag

func (fieldMask *RoleBinding_Parent_FieldMask) SetFromCliFlag(raw string) error

func (*RoleBinding_Parent_FieldMask) SetRaw

func (fieldMask *RoleBinding_Parent_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)

func (*RoleBinding_Parent_FieldMask) Size

func (fieldMask *RoleBinding_Parent_FieldMask) Size() int

func (*RoleBinding_Parent_FieldMask) String

func (fieldMask *RoleBinding_Parent_FieldMask) String() string

func (*RoleBinding_Parent_FieldMask) Subtract

func (*RoleBinding_Parent_FieldMask) SubtractRaw

func (*RoleBinding_Parent_FieldMask) ToProtoFieldMask

func (fieldMask *RoleBinding_Parent_FieldMask) ToProtoFieldMask() *googlefieldmaskpb.FieldMask

ToFieldMask is used for proto conversions

func (*RoleBinding_Parent_FieldMask) Unmarshal

func (fieldMask *RoleBinding_Parent_FieldMask) Unmarshal(data []byte) error

func (*RoleBinding_Parent_FieldMask) UnmarshalJSON

func (fieldMask *RoleBinding_Parent_FieldMask) UnmarshalJSON(data []byte) error

type WatchQuery

type WatchQuery struct {
	ListQuery
	WatchType    watch_type.WatchType
	ChunkSize    int
	ResumeToken  string
	StartingTime *timestamppb.Timestamp
}

func (*WatchQuery) GetMaximumChunkSize

func (q *WatchQuery) GetMaximumChunkSize() int

func (*WatchQuery) GetResumeToken

func (q *WatchQuery) GetResumeToken() string

func (*WatchQuery) GetStartingTime added in v0.9.0

func (q *WatchQuery) GetStartingTime() *timestamppb.Timestamp

func (*WatchQuery) GetWatchType

func (q *WatchQuery) GetWatchType() watch_type.WatchType

func (*WatchQuery) SetMaximumChunkSize

func (q *WatchQuery) SetMaximumChunkSize(chunkSize int)

func (*WatchQuery) SetResumeToken

func (q *WatchQuery) SetResumeToken(token string)

func (*WatchQuery) SetStartingTime added in v0.9.0

func (q *WatchQuery) SetStartingTime(startingTime *timestamppb.Timestamp)

func (*WatchQuery) SetWatchType

func (q *WatchQuery) SetWatchType(watchType watch_type.WatchType)

func (*WatchQuery) String added in v0.4.29

func (q *WatchQuery) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL