limit_pool

package
v1.0.35 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	NamePattern_Nil          = "limitPools/{limit_pool}"
	NamePattern_Organization = "organizations/{organization}/limitPools/{limit_pool}"
)

Variables

This section is empty.

Functions

func AsAnyCastAccess

func AsAnyCastAccess(access LimitPoolAccess) 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

func (d *Descriptor) NewResourceFieldMask() gotenobject.FieldMask

func (*Descriptor) NewResourceFilter

func (d *Descriptor) NewResourceFilter() gotenresource.Filter

func (*Descriptor) NewResourceList

func (d *Descriptor) NewResourceList(size, reserved int) gotenresource.ResourceList

func (*Descriptor) NewResourceMap

func (d *Descriptor) NewResourceMap(reserved int) gotenresource.ResourceMap

func (*Descriptor) NewResourceName

func (d *Descriptor) NewResourceName() gotenresource.Name

func (*Descriptor) NewResourceOrderBy

func (d *Descriptor) NewResourceOrderBy() gotenresource.OrderBy

func (*Descriptor) NewResourcePager added in v0.9.0

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

func (*Descriptor) NewSearchQuery

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

func (*Descriptor) 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 *LimitPool) 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 []*LimitPool) (out []*LimitPool)

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 LimitPool_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 *LimitPool) bool

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

func AndFilterConditions

func AndFilterConditions(conds ...FilterCondition) FilterCondition

type FilterConditionCompare

type FilterConditionCompare struct {
	Operator filterParser.CompareOperator
	LimitPool_FieldPathValue
}

func (*FilterConditionCompare) And

func (*FilterConditionCompare) ConditionCompare

func (cond *FilterConditionCompare) ConditionCompare()

func (*FilterConditionCompare) Evaluate

func (cond *FilterConditionCompare) Evaluate(res *LimitPool) 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 LimitPool_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 *LimitPool) 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 LimitPool_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 *LimitPool) bool

func (*FilterConditionContains) EvaluateRaw

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

func (*FilterConditionContains) GetFieldPath

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

func (*FilterConditionIn) And

func (*FilterConditionIn) ConditionIn

func (cond *FilterConditionIn) ConditionIn()

func (*FilterConditionIn) Evaluate

func (cond *FilterConditionIn) Evaluate(res *LimitPool) 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 LimitPool_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 LimitPool_FieldPath
}

func (*FilterConditionIsNaN) And

func (*FilterConditionIsNaN) ConditionIsNaN

func (cond *FilterConditionIsNaN) ConditionIsNaN()

func (*FilterConditionIsNaN) Evaluate

func (cond *FilterConditionIsNaN) Evaluate(res *LimitPool) 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 LimitPool_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 LimitPool_FieldPath
}

func (*FilterConditionIsNull) And

func (*FilterConditionIsNull) ConditionIsNull

func (cond *FilterConditionIsNull) ConditionIsNull()

func (*FilterConditionIsNull) Evaluate

func (cond *FilterConditionIsNull) Evaluate(res *LimitPool) 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 LimitPool_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 *LimitPool) 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 LimitPool_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 {
	LimitPool_FieldPathArrayOfValues
}

func (*FilterConditionNotIn) And

func (*FilterConditionNotIn) ConditionNotIn

func (cond *FilterConditionNotIn) ConditionNotIn()

func (*FilterConditionNotIn) Evaluate

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

type LimitPool struct {

	// Name of LimitPool
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// Referenced service
	Service *meta_service.Reference `protobuf:"bytes,2,opt,customtype=Reference,name=service,proto3" json:"service,omitempty" firestore:"service"`
	// Referenced resource type
	Resource *meta_resource.Reference `protobuf:"bytes,3,opt,customtype=Reference,name=resource,proto3" json:"resource,omitempty" firestore:"resource"`
	// Configured size of pool according to PlanAssignment instances
	// belonging to same scope (system or organization).
	ConfiguredSize int64 `` /* 131-byte string literal not displayed */
	// Active pool size. It will be normally equal to configured size.
	// However, if configured size goes down below reserved value,
	// then active size will be equal to that "reserved".
	// It will also prevent parent LimitPool (if any) from getting
	// limit value back.
	ActiveSize int64 `protobuf:"varint,5,opt,name=active_size,json=activeSize,proto3" json:"active_size,omitempty" firestore:"activeSize"`
	// Configured OR Active Size of all child Limit and LimitPool instances -
	// whichever is bigger.
	Reserved int64 `protobuf:"varint,6,opt,name=reserved,proto3" json:"reserved,omitempty" firestore:"reserved"`
	// LimitPool source that gave birth to this LimitPool. Any change
	// in configured/active value in current LimitPool increases/decreases
	// reserved field in source LimitPool.
	Source *Reference `protobuf:"bytes,7,opt,customtype=Reference,name=source,proto3" json:"source,omitempty" firestore:"source"`
	// Metadata
	Metadata *meta.Meta `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"`
	// contains filtered or unexported fields
}

LimitPool represents a pool from which next LimitPool or final Limit instances are allocated from. LimitPool can either belong to a system (first pool, without parent) or organization (which got pool from system or parent organization). Size of child limit or limit pools must not exceed parent limit pool. LimitPool is in a way similar to Limit - it has scope and associated resource but: * LimitPool is non-final object. It cannot be used to allocate resources directly. It need child Limit first. So field with values in LimitPool are configured size, active size and reserved. Fields in Limit are configured limit, active limit and usage - they need different interpretation. * LimitPool is not regional, because it may feed limits in other regions. Limit has extra tracker in their final region for state synchronization purpose. Because LimitPool instances within one scope (system, organization) are managed by primary region of that scope, changes in them are done with only single transaction. LimitPool instances cannot be created or deleted. They cannot be also be modified (there are only some state fields controlled by system). LimitPools are created/modified along with PlanAssignment instances.

func (*LimitPool) Clone

func (o *LimitPool) Clone() *LimitPool

func (*LimitPool) CloneRaw

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

func (*LimitPool) Descriptor

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

Deprecated, Use LimitPool.ProtoReflect.Descriptor instead.

func (*LimitPool) EnsureMetadata added in v1.0.21

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

func (*LimitPool) GetActiveSize

func (m *LimitPool) GetActiveSize() int64

func (*LimitPool) GetConfiguredSize

func (m *LimitPool) GetConfiguredSize() int64

func (*LimitPool) GetMetadata

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

func (*LimitPool) GetName

func (m *LimitPool) GetName() *Name

func (*LimitPool) GetRawName

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

func (*LimitPool) GetReserved

func (m *LimitPool) GetReserved() int64

func (*LimitPool) GetResource

func (m *LimitPool) GetResource() *meta_resource.Reference

func (*LimitPool) GetResourceDescriptor

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

func (*LimitPool) GetService

func (m *LimitPool) GetService() *meta_service.Reference

func (*LimitPool) GetSource

func (m *LimitPool) GetSource() *Reference

func (*LimitPool) GotenMessage

func (*LimitPool) GotenMessage()

func (*LimitPool) GotenObjectExt

func (o *LimitPool) GotenObjectExt()

func (*LimitPool) GotenValidate

func (obj *LimitPool) GotenValidate() error

func (*LimitPool) MakeDiffFieldMask

func (o *LimitPool) MakeDiffFieldMask(other *LimitPool) *LimitPool_FieldMask

func (*LimitPool) MakeFullFieldMask

func (o *LimitPool) MakeFullFieldMask() *LimitPool_FieldMask

func (*LimitPool) MakeRawDiffFieldMask

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

func (*LimitPool) MakeRawFullFieldMask

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

func (*LimitPool) Marshal

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

func (*LimitPool) MarshalJSON

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

func (*LimitPool) MaybePopulateDefaults

func (r *LimitPool) MaybePopulateDefaults() error

func (*LimitPool) Merge

func (o *LimitPool) Merge(source *LimitPool)

func (*LimitPool) MergeRaw

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

func (*LimitPool) ProtoMessage

func (*LimitPool) ProtoMessage()

func (*LimitPool) ProtoReflect

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

func (*LimitPool) Reset

func (m *LimitPool) Reset()

func (*LimitPool) SetActiveSize

func (m *LimitPool) SetActiveSize(fv int64)

func (*LimitPool) SetConfiguredSize

func (m *LimitPool) SetConfiguredSize(fv int64)

func (*LimitPool) SetMetadata

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

func (*LimitPool) SetName

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

func (*LimitPool) SetReserved

func (m *LimitPool) SetReserved(fv int64)

func (*LimitPool) SetResource

func (m *LimitPool) SetResource(fv *meta_resource.Reference)

func (*LimitPool) SetService

func (m *LimitPool) SetService(fv *meta_service.Reference)

func (*LimitPool) SetSource

func (m *LimitPool) SetSource(fv *Reference)

func (*LimitPool) String

func (m *LimitPool) String() string

func (*LimitPool) Unmarshal

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

func (*LimitPool) UnmarshalJSON

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

type LimitPoolAccess

type LimitPoolAccess interface {
	GetLimitPool(context.Context, *GetQuery) (*LimitPool, error)
	BatchGetLimitPools(context.Context, []*Reference, ...gotenresource.BatchGetOption) error
	QueryLimitPools(context.Context, *ListQuery) (*QueryResultSnapshot, error)
	WatchLimitPool(context.Context, *GetQuery, func(*LimitPoolChange) error) error
	WatchLimitPools(context.Context, *WatchQuery, func(*QueryResultChange) error) error
	SaveLimitPool(context.Context, *LimitPool, ...gotenresource.SaveOption) error
	DeleteLimitPool(context.Context, *Reference, ...gotenresource.DeleteOption) error
}

type LimitPoolChange

type LimitPoolChange struct {

	// LimitPool change
	//
	// Types that are valid to be assigned to ChangeType:
	//	*LimitPoolChange_Added_
	//	*LimitPoolChange_Modified_
	//	*LimitPoolChange_Current_
	//	*LimitPoolChange_Removed_
	ChangeType isLimitPoolChange_ChangeType `protobuf_oneof:"change_type"`
	// contains filtered or unexported fields
}

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

func (*LimitPoolChange) Descriptor

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

Deprecated, Use LimitPoolChange.ProtoReflect.Descriptor instead.

func (*LimitPoolChange) GetAdded

func (m *LimitPoolChange) GetAdded() *LimitPoolChange_Added

func (*LimitPoolChange) GetChangeType

func (m *LimitPoolChange) GetChangeType() isLimitPoolChange_ChangeType

func (*LimitPoolChange) GetCurrent

func (m *LimitPoolChange) GetCurrent() *LimitPoolChange_Current

func (*LimitPoolChange) GetCurrentViewIndex

func (c *LimitPoolChange) GetCurrentViewIndex() int32

func (*LimitPoolChange) GetLimitPool

func (c *LimitPoolChange) GetLimitPool() *LimitPool

func (*LimitPoolChange) GetLimitPoolName

func (c *LimitPoolChange) GetLimitPoolName() *Name

func (*LimitPoolChange) GetModified

func (m *LimitPoolChange) GetModified() *LimitPoolChange_Modified

func (*LimitPoolChange) GetPreviousViewIndex

func (c *LimitPoolChange) GetPreviousViewIndex() int32

func (*LimitPoolChange) GetRawName

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

func (*LimitPoolChange) GetRawResource

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

func (*LimitPoolChange) GetRemoved

func (m *LimitPoolChange) GetRemoved() *LimitPoolChange_Removed

func (*LimitPoolChange) GotenMessage

func (*LimitPoolChange) GotenMessage()

func (*LimitPoolChange) GotenValidate

func (obj *LimitPoolChange) GotenValidate() error

func (*LimitPoolChange) IsAdd

func (c *LimitPoolChange) IsAdd() bool

func (*LimitPoolChange) IsCurrent

func (c *LimitPoolChange) IsCurrent() bool

func (*LimitPoolChange) IsDelete

func (c *LimitPoolChange) IsDelete() bool

func (*LimitPoolChange) IsModify

func (c *LimitPoolChange) IsModify() bool

func (*LimitPoolChange) Marshal

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

func (*LimitPoolChange) MarshalJSON

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

func (*LimitPoolChange) ProtoMessage

func (*LimitPoolChange) ProtoMessage()

func (*LimitPoolChange) ProtoReflect

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

func (*LimitPoolChange) Reset

func (m *LimitPoolChange) Reset()

func (*LimitPoolChange) SetAdded

func (m *LimitPoolChange) SetAdded(fv *LimitPoolChange_Added)

func (*LimitPoolChange) SetAddedRaw

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

func (*LimitPoolChange) SetChangeType

func (m *LimitPoolChange) SetChangeType(ofv isLimitPoolChange_ChangeType)

func (*LimitPoolChange) SetCurrent

func (m *LimitPoolChange) SetCurrent(fv *LimitPoolChange_Current)

func (*LimitPoolChange) SetCurrentRaw

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

func (*LimitPoolChange) SetDeletedRaw

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

func (*LimitPoolChange) SetModified

func (m *LimitPoolChange) SetModified(fv *LimitPoolChange_Modified)

func (*LimitPoolChange) SetModifiedRaw

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

func (*LimitPoolChange) SetRemoved

func (m *LimitPoolChange) SetRemoved(fv *LimitPoolChange_Removed)

func (*LimitPoolChange) String

func (m *LimitPoolChange) String() string

func (*LimitPoolChange) Unmarshal

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

func (*LimitPoolChange) UnmarshalJSON

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

type LimitPoolChangeList

type LimitPoolChangeList []*LimitPoolChange

func (LimitPoolChangeList) Append

func (LimitPoolChangeList) At

func (LimitPoolChangeList) Length

func (l LimitPoolChangeList) Length() int

func (LimitPoolChangeList) Set

func (LimitPoolChangeList) Slice

type LimitPoolChangeMap

type LimitPoolChangeMap map[Name]*LimitPoolChange

func (LimitPoolChangeMap) Delete

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

func (LimitPoolChangeMap) ForEach

func (LimitPoolChangeMap) Get

func (LimitPoolChangeMap) Length

func (m LimitPoolChangeMap) Length() int

func (LimitPoolChangeMap) Set

type LimitPoolChange_Added

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

LimitPool has been added to query view

func (*LimitPoolChange_Added) Descriptor

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

Deprecated, Use LimitPoolChange_Added.ProtoReflect.Descriptor instead.

func (*LimitPoolChange_Added) GetLimitPool

func (m *LimitPoolChange_Added) GetLimitPool() *LimitPool

func (*LimitPoolChange_Added) GetViewIndex

func (m *LimitPoolChange_Added) GetViewIndex() int32

func (*LimitPoolChange_Added) GotenMessage

func (*LimitPoolChange_Added) GotenMessage()

func (*LimitPoolChange_Added) GotenValidate

func (obj *LimitPoolChange_Added) GotenValidate() error

func (*LimitPoolChange_Added) Marshal

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

func (*LimitPoolChange_Added) MarshalJSON

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

func (*LimitPoolChange_Added) ProtoMessage

func (*LimitPoolChange_Added) ProtoMessage()

func (*LimitPoolChange_Added) ProtoReflect

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

func (*LimitPoolChange_Added) Reset

func (m *LimitPoolChange_Added) Reset()

func (*LimitPoolChange_Added) SetLimitPool

func (m *LimitPoolChange_Added) SetLimitPool(fv *LimitPool)

func (*LimitPoolChange_Added) SetViewIndex

func (m *LimitPoolChange_Added) SetViewIndex(fv int32)

func (*LimitPoolChange_Added) String

func (m *LimitPoolChange_Added) String() string

func (*LimitPoolChange_Added) Unmarshal

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

func (*LimitPoolChange_Added) UnmarshalJSON

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

type LimitPoolChange_Added_

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

type LimitPoolChange_Current

type LimitPoolChange_Current struct {
	LimitPool *LimitPool `protobuf:"bytes,1,opt,name=limit_pool,json=limitPool,proto3" json:"limit_pool,omitempty" firestore:"limitPool"`
	// contains filtered or unexported fields
}

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

func (*LimitPoolChange_Current) Descriptor

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

Deprecated, Use LimitPoolChange_Current.ProtoReflect.Descriptor instead.

func (*LimitPoolChange_Current) GetLimitPool

func (m *LimitPoolChange_Current) GetLimitPool() *LimitPool

func (*LimitPoolChange_Current) GotenMessage

func (*LimitPoolChange_Current) GotenMessage()

func (*LimitPoolChange_Current) GotenValidate

func (obj *LimitPoolChange_Current) GotenValidate() error

func (*LimitPoolChange_Current) Marshal

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

func (*LimitPoolChange_Current) MarshalJSON

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

func (*LimitPoolChange_Current) ProtoMessage

func (*LimitPoolChange_Current) ProtoMessage()

func (*LimitPoolChange_Current) ProtoReflect

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

func (*LimitPoolChange_Current) Reset

func (m *LimitPoolChange_Current) Reset()

func (*LimitPoolChange_Current) SetLimitPool

func (m *LimitPoolChange_Current) SetLimitPool(fv *LimitPool)

func (*LimitPoolChange_Current) String

func (m *LimitPoolChange_Current) String() string

func (*LimitPoolChange_Current) Unmarshal

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

func (*LimitPoolChange_Current) UnmarshalJSON

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

type LimitPoolChange_Current_

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

type LimitPoolChange_Modified

type LimitPoolChange_Modified struct {

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

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

func (*LimitPoolChange_Modified) Descriptor

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

Deprecated, Use LimitPoolChange_Modified.ProtoReflect.Descriptor instead.

func (*LimitPoolChange_Modified) GetFieldMask

func (m *LimitPoolChange_Modified) GetFieldMask() *LimitPool_FieldMask

func (*LimitPoolChange_Modified) GetLimitPool

func (m *LimitPoolChange_Modified) GetLimitPool() *LimitPool

func (*LimitPoolChange_Modified) GetName

func (m *LimitPoolChange_Modified) GetName() *Name

func (*LimitPoolChange_Modified) GetPreviousViewIndex

func (m *LimitPoolChange_Modified) GetPreviousViewIndex() int32

func (*LimitPoolChange_Modified) GetViewIndex

func (m *LimitPoolChange_Modified) GetViewIndex() int32

func (*LimitPoolChange_Modified) GotenMessage

func (*LimitPoolChange_Modified) GotenMessage()

func (*LimitPoolChange_Modified) GotenValidate

func (obj *LimitPoolChange_Modified) GotenValidate() error

func (*LimitPoolChange_Modified) Marshal

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

func (*LimitPoolChange_Modified) MarshalJSON

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

func (*LimitPoolChange_Modified) ProtoMessage

func (*LimitPoolChange_Modified) ProtoMessage()

func (*LimitPoolChange_Modified) ProtoReflect

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

func (*LimitPoolChange_Modified) Reset

func (m *LimitPoolChange_Modified) Reset()

func (*LimitPoolChange_Modified) SetFieldMask

func (m *LimitPoolChange_Modified) SetFieldMask(fv *LimitPool_FieldMask)

func (*LimitPoolChange_Modified) SetLimitPool

func (m *LimitPoolChange_Modified) SetLimitPool(fv *LimitPool)

func (*LimitPoolChange_Modified) SetName

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

func (*LimitPoolChange_Modified) SetPreviousViewIndex

func (m *LimitPoolChange_Modified) SetPreviousViewIndex(fv int32)

func (*LimitPoolChange_Modified) SetViewIndex

func (m *LimitPoolChange_Modified) SetViewIndex(fv int32)

func (*LimitPoolChange_Modified) String

func (m *LimitPoolChange_Modified) String() string

func (*LimitPoolChange_Modified) Unmarshal

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

func (*LimitPoolChange_Modified) UnmarshalJSON

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

type LimitPoolChange_Modified_

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

type LimitPoolChange_Removed

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

func (*LimitPoolChange_Removed) Descriptor

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

Deprecated, Use LimitPoolChange_Removed.ProtoReflect.Descriptor instead.

func (*LimitPoolChange_Removed) GetName

func (m *LimitPoolChange_Removed) GetName() *Name

func (*LimitPoolChange_Removed) GetViewIndex

func (m *LimitPoolChange_Removed) GetViewIndex() int32

func (*LimitPoolChange_Removed) GotenMessage

func (*LimitPoolChange_Removed) GotenMessage()

func (*LimitPoolChange_Removed) GotenValidate

func (obj *LimitPoolChange_Removed) GotenValidate() error

func (*LimitPoolChange_Removed) Marshal

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

func (*LimitPoolChange_Removed) MarshalJSON

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

func (*LimitPoolChange_Removed) ProtoMessage

func (*LimitPoolChange_Removed) ProtoMessage()

func (*LimitPoolChange_Removed) ProtoReflect

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

func (*LimitPoolChange_Removed) Reset

func (m *LimitPoolChange_Removed) Reset()

func (*LimitPoolChange_Removed) SetName

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

func (*LimitPoolChange_Removed) SetViewIndex

func (m *LimitPoolChange_Removed) SetViewIndex(fv int32)

func (*LimitPoolChange_Removed) String

func (m *LimitPoolChange_Removed) String() string

func (*LimitPoolChange_Removed) Unmarshal

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

func (*LimitPoolChange_Removed) UnmarshalJSON

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

type LimitPoolChange_Removed_

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

type LimitPoolFieldPathBuilder

type LimitPoolFieldPathBuilder struct{}

func NewLimitPoolFieldPathBuilder

func NewLimitPoolFieldPathBuilder() LimitPoolFieldPathBuilder

func (LimitPoolFieldPathBuilder) ActiveSize

func (LimitPoolFieldPathBuilder) ConfiguredSize

func (LimitPoolFieldPathBuilder) Metadata

func (LimitPoolFieldPathBuilder) Name

func (LimitPoolFieldPathBuilder) Reserved

func (LimitPoolFieldPathBuilder) Resource

func (LimitPoolFieldPathBuilder) Service

func (LimitPoolFieldPathBuilder) Source

type LimitPoolList

type LimitPoolList []*LimitPool

func (LimitPoolList) Append

func (LimitPoolList) AppendList

func (LimitPoolList) At

func (LimitPoolList) Length

func (l LimitPoolList) Length() int

func (LimitPoolList) Set

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

func (LimitPoolList) Slice

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

type LimitPoolMap

type LimitPoolMap map[Name]*LimitPool

func (LimitPoolMap) Delete

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

func (LimitPoolMap) ForEach

func (LimitPoolMap) Get

func (LimitPoolMap) Length

func (m LimitPoolMap) Length() int

func (LimitPoolMap) Set

func (m LimitPoolMap) Set(res gotenresource.Resource)

type LimitPoolMapPathSelectorMetadataAnnotations

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

func (LimitPoolMapPathSelectorMetadataAnnotations) FieldPath

func (LimitPoolMapPathSelectorMetadataAnnotations) WithArrayOfValues

func (LimitPoolMapPathSelectorMetadataAnnotations) WithValue

type LimitPoolMapPathSelectorMetadataLabels

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

func (LimitPoolMapPathSelectorMetadataLabels) FieldPath

func (LimitPoolMapPathSelectorMetadataLabels) WithArrayOfValues

func (LimitPoolMapPathSelectorMetadataLabels) WithValue

type LimitPoolMapPathSelectorMetadataShards

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

func (LimitPoolMapPathSelectorMetadataShards) FieldPath

func (LimitPoolMapPathSelectorMetadataShards) WithArrayOfValues

func (LimitPoolMapPathSelectorMetadataShards) WithValue

type LimitPoolNameList

type LimitPoolNameList []*Name

func (LimitPoolNameList) Append

func (LimitPoolNameList) AppendList

func (LimitPoolNameList) At

func (LimitPoolNameList) Length

func (l LimitPoolNameList) Length() int

func (LimitPoolNameList) Set

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

func (LimitPoolNameList) Slice

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

type LimitPoolParentNameList

type LimitPoolParentNameList []*ParentName

func (LimitPoolParentNameList) Append

func (LimitPoolParentNameList) AppendList

func (LimitPoolParentNameList) At

func (LimitPoolParentNameList) Length

func (l LimitPoolParentNameList) Length() int

func (LimitPoolParentNameList) Set

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

func (LimitPoolParentNameList) Slice

type LimitPoolParentReferenceList

type LimitPoolParentReferenceList []*ParentReference

func (LimitPoolParentReferenceList) Append

func (LimitPoolParentReferenceList) AppendList

func (LimitPoolParentReferenceList) At

func (LimitPoolParentReferenceList) Length

func (l LimitPoolParentReferenceList) Length() int

func (LimitPoolParentReferenceList) Set

func (LimitPoolParentReferenceList) Slice

type LimitPoolPathSelectorActiveSize

type LimitPoolPathSelectorActiveSize struct{}

func (LimitPoolPathSelectorActiveSize) FieldPath

func (LimitPoolPathSelectorActiveSize) WithArrayOfValues

func (LimitPoolPathSelectorActiveSize) WithValue

type LimitPoolPathSelectorConfiguredSize

type LimitPoolPathSelectorConfiguredSize struct{}

func (LimitPoolPathSelectorConfiguredSize) FieldPath

func (LimitPoolPathSelectorConfiguredSize) WithArrayOfValues

func (LimitPoolPathSelectorConfiguredSize) WithValue

type LimitPoolPathSelectorMetadata

type LimitPoolPathSelectorMetadata struct{}

func (LimitPoolPathSelectorMetadata) Annotations

func (LimitPoolPathSelectorMetadata) CreateTime

func (LimitPoolPathSelectorMetadata) DeleteTime added in v0.8.0

func (LimitPoolPathSelectorMetadata) FieldPath

func (LimitPoolPathSelectorMetadata) Generation

func (LimitPoolPathSelectorMetadata) Labels

func (LimitPoolPathSelectorMetadata) Lifecycle added in v0.8.0

func (LimitPoolPathSelectorMetadata) OwnerReferences

func (LimitPoolPathSelectorMetadata) ResourceVersion

func (LimitPoolPathSelectorMetadata) Services added in v1.0.21

func (LimitPoolPathSelectorMetadata) Shards

func (LimitPoolPathSelectorMetadata) Syncing

func (LimitPoolPathSelectorMetadata) Tags

func (LimitPoolPathSelectorMetadata) UpdateTime

func (LimitPoolPathSelectorMetadata) Uuid

func (LimitPoolPathSelectorMetadata) WithArrayOfValues

func (LimitPoolPathSelectorMetadata) WithSubArrayItemValue

func (LimitPoolPathSelectorMetadata) WithSubArrayOfValues

func (LimitPoolPathSelectorMetadata) WithSubPath

func (LimitPoolPathSelectorMetadata) WithSubValue

func (LimitPoolPathSelectorMetadata) WithValue

type LimitPoolPathSelectorMetadataAnnotations

type LimitPoolPathSelectorMetadataAnnotations struct{}

func (LimitPoolPathSelectorMetadataAnnotations) FieldPath

func (LimitPoolPathSelectorMetadataAnnotations) WithArrayOfValues

func (LimitPoolPathSelectorMetadataAnnotations) WithKey

func (LimitPoolPathSelectorMetadataAnnotations) WithValue

type LimitPoolPathSelectorMetadataCreateTime

type LimitPoolPathSelectorMetadataCreateTime struct{}

func (LimitPoolPathSelectorMetadataCreateTime) FieldPath

func (LimitPoolPathSelectorMetadataCreateTime) WithArrayOfValues

func (LimitPoolPathSelectorMetadataCreateTime) WithValue

type LimitPoolPathSelectorMetadataDeleteTime added in v0.8.0

type LimitPoolPathSelectorMetadataDeleteTime struct{}

func (LimitPoolPathSelectorMetadataDeleteTime) FieldPath added in v0.8.0

func (LimitPoolPathSelectorMetadataDeleteTime) WithArrayOfValues added in v0.8.0

func (LimitPoolPathSelectorMetadataDeleteTime) WithValue added in v0.8.0

type LimitPoolPathSelectorMetadataGeneration

type LimitPoolPathSelectorMetadataGeneration struct{}

func (LimitPoolPathSelectorMetadataGeneration) FieldPath

func (LimitPoolPathSelectorMetadataGeneration) WithArrayOfValues

func (LimitPoolPathSelectorMetadataGeneration) WithValue

type LimitPoolPathSelectorMetadataLabels

type LimitPoolPathSelectorMetadataLabels struct{}

func (LimitPoolPathSelectorMetadataLabels) FieldPath

func (LimitPoolPathSelectorMetadataLabels) WithArrayOfValues

func (LimitPoolPathSelectorMetadataLabels) WithKey

func (LimitPoolPathSelectorMetadataLabels) WithValue

type LimitPoolPathSelectorMetadataLifecycle added in v0.8.0

type LimitPoolPathSelectorMetadataLifecycle struct{}

func (LimitPoolPathSelectorMetadataLifecycle) BlockDeletion added in v0.8.0

func (LimitPoolPathSelectorMetadataLifecycle) FieldPath added in v0.8.0

func (LimitPoolPathSelectorMetadataLifecycle) State added in v0.8.0

func (LimitPoolPathSelectorMetadataLifecycle) WithArrayOfValues added in v0.8.0

func (LimitPoolPathSelectorMetadataLifecycle) WithValue added in v0.8.0

type LimitPoolPathSelectorMetadataLifecycleBlockDeletion added in v0.8.0

type LimitPoolPathSelectorMetadataLifecycleBlockDeletion struct{}

func (LimitPoolPathSelectorMetadataLifecycleBlockDeletion) FieldPath added in v0.8.0

func (LimitPoolPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues added in v0.8.0

func (LimitPoolPathSelectorMetadataLifecycleBlockDeletion) WithValue added in v0.8.0

type LimitPoolPathSelectorMetadataLifecycleState added in v0.8.0

type LimitPoolPathSelectorMetadataLifecycleState struct{}

func (LimitPoolPathSelectorMetadataLifecycleState) FieldPath added in v0.8.0

func (LimitPoolPathSelectorMetadataLifecycleState) WithArrayOfValues added in v0.8.0

func (LimitPoolPathSelectorMetadataLifecycleState) WithValue added in v0.8.0

type LimitPoolPathSelectorMetadataOwnerReferences

type LimitPoolPathSelectorMetadataOwnerReferences struct{}

func (LimitPoolPathSelectorMetadataOwnerReferences) Controller

func (LimitPoolPathSelectorMetadataOwnerReferences) FieldPath

func (LimitPoolPathSelectorMetadataOwnerReferences) Kind

func (LimitPoolPathSelectorMetadataOwnerReferences) Name

func (LimitPoolPathSelectorMetadataOwnerReferences) Region added in v0.8.0

func (LimitPoolPathSelectorMetadataOwnerReferences) RequiresOwnerReference added in v0.8.0

func (LimitPoolPathSelectorMetadataOwnerReferences) Version added in v0.8.0

func (LimitPoolPathSelectorMetadataOwnerReferences) WithArrayOfValues

func (LimitPoolPathSelectorMetadataOwnerReferences) WithItemValue

func (LimitPoolPathSelectorMetadataOwnerReferences) WithValue

type LimitPoolPathSelectorMetadataOwnerReferencesController

type LimitPoolPathSelectorMetadataOwnerReferencesController struct{}

func (LimitPoolPathSelectorMetadataOwnerReferencesController) FieldPath

func (LimitPoolPathSelectorMetadataOwnerReferencesController) WithArrayOfValues

func (LimitPoolPathSelectorMetadataOwnerReferencesController) WithValue

type LimitPoolPathSelectorMetadataOwnerReferencesKind

type LimitPoolPathSelectorMetadataOwnerReferencesKind struct{}

func (LimitPoolPathSelectorMetadataOwnerReferencesKind) FieldPath

func (LimitPoolPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues

func (LimitPoolPathSelectorMetadataOwnerReferencesKind) WithValue

type LimitPoolPathSelectorMetadataOwnerReferencesName

type LimitPoolPathSelectorMetadataOwnerReferencesName struct{}

func (LimitPoolPathSelectorMetadataOwnerReferencesName) FieldPath

func (LimitPoolPathSelectorMetadataOwnerReferencesName) WithArrayOfValues

func (LimitPoolPathSelectorMetadataOwnerReferencesName) WithValue

type LimitPoolPathSelectorMetadataOwnerReferencesRegion added in v0.8.0

type LimitPoolPathSelectorMetadataOwnerReferencesRegion struct{}

func (LimitPoolPathSelectorMetadataOwnerReferencesRegion) FieldPath added in v0.8.0

func (LimitPoolPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues added in v0.8.0

func (LimitPoolPathSelectorMetadataOwnerReferencesRegion) WithValue added in v0.8.0

type LimitPoolPathSelectorMetadataOwnerReferencesRequiresOwnerReference added in v0.8.0

type LimitPoolPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}

func (LimitPoolPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath added in v0.8.0

func (LimitPoolPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues added in v0.8.0

func (LimitPoolPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue added in v0.8.0

type LimitPoolPathSelectorMetadataOwnerReferencesVersion added in v0.8.0

type LimitPoolPathSelectorMetadataOwnerReferencesVersion struct{}

func (LimitPoolPathSelectorMetadataOwnerReferencesVersion) FieldPath added in v0.8.0

func (LimitPoolPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues added in v0.8.0

func (LimitPoolPathSelectorMetadataOwnerReferencesVersion) WithValue added in v0.8.0

type LimitPoolPathSelectorMetadataResourceVersion

type LimitPoolPathSelectorMetadataResourceVersion struct{}

func (LimitPoolPathSelectorMetadataResourceVersion) FieldPath

func (LimitPoolPathSelectorMetadataResourceVersion) WithArrayOfValues

func (LimitPoolPathSelectorMetadataResourceVersion) WithValue

type LimitPoolPathSelectorMetadataServices added in v1.0.21

type LimitPoolPathSelectorMetadataServices struct{}

func (LimitPoolPathSelectorMetadataServices) AllowedServices added in v1.0.21

func (LimitPoolPathSelectorMetadataServices) FieldPath added in v1.0.21

func (LimitPoolPathSelectorMetadataServices) OwningService added in v1.0.21

func (LimitPoolPathSelectorMetadataServices) WithArrayOfValues added in v1.0.21

func (LimitPoolPathSelectorMetadataServices) WithValue added in v1.0.21

type LimitPoolPathSelectorMetadataServicesAllowedServices added in v1.0.21

type LimitPoolPathSelectorMetadataServicesAllowedServices struct{}

func (LimitPoolPathSelectorMetadataServicesAllowedServices) FieldPath added in v1.0.21

func (LimitPoolPathSelectorMetadataServicesAllowedServices) WithArrayOfValues added in v1.0.21

func (LimitPoolPathSelectorMetadataServicesAllowedServices) WithItemValue added in v1.0.21

func (LimitPoolPathSelectorMetadataServicesAllowedServices) WithValue added in v1.0.21

type LimitPoolPathSelectorMetadataServicesOwningService added in v1.0.21

type LimitPoolPathSelectorMetadataServicesOwningService struct{}

func (LimitPoolPathSelectorMetadataServicesOwningService) FieldPath added in v1.0.21

func (LimitPoolPathSelectorMetadataServicesOwningService) WithArrayOfValues added in v1.0.21

func (LimitPoolPathSelectorMetadataServicesOwningService) WithValue added in v1.0.21

type LimitPoolPathSelectorMetadataShards

type LimitPoolPathSelectorMetadataShards struct{}

func (LimitPoolPathSelectorMetadataShards) FieldPath

func (LimitPoolPathSelectorMetadataShards) WithArrayOfValues

func (LimitPoolPathSelectorMetadataShards) WithKey

func (LimitPoolPathSelectorMetadataShards) WithValue

type LimitPoolPathSelectorMetadataSyncing

type LimitPoolPathSelectorMetadataSyncing struct{}

func (LimitPoolPathSelectorMetadataSyncing) FieldPath

func (LimitPoolPathSelectorMetadataSyncing) OwningRegion

func (LimitPoolPathSelectorMetadataSyncing) Regions

func (LimitPoolPathSelectorMetadataSyncing) WithArrayOfValues

func (LimitPoolPathSelectorMetadataSyncing) WithValue

type LimitPoolPathSelectorMetadataSyncingOwningRegion

type LimitPoolPathSelectorMetadataSyncingOwningRegion struct{}

func (LimitPoolPathSelectorMetadataSyncingOwningRegion) FieldPath

func (LimitPoolPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues

func (LimitPoolPathSelectorMetadataSyncingOwningRegion) WithValue

type LimitPoolPathSelectorMetadataSyncingRegions

type LimitPoolPathSelectorMetadataSyncingRegions struct{}

func (LimitPoolPathSelectorMetadataSyncingRegions) FieldPath

func (LimitPoolPathSelectorMetadataSyncingRegions) WithArrayOfValues

func (LimitPoolPathSelectorMetadataSyncingRegions) WithItemValue

func (LimitPoolPathSelectorMetadataSyncingRegions) WithValue

type LimitPoolPathSelectorMetadataTags

type LimitPoolPathSelectorMetadataTags struct{}

func (LimitPoolPathSelectorMetadataTags) FieldPath

func (LimitPoolPathSelectorMetadataTags) WithArrayOfValues

func (LimitPoolPathSelectorMetadataTags) WithItemValue

func (LimitPoolPathSelectorMetadataTags) WithValue

type LimitPoolPathSelectorMetadataUpdateTime

type LimitPoolPathSelectorMetadataUpdateTime struct{}

func (LimitPoolPathSelectorMetadataUpdateTime) FieldPath

func (LimitPoolPathSelectorMetadataUpdateTime) WithArrayOfValues

func (LimitPoolPathSelectorMetadataUpdateTime) WithValue

type LimitPoolPathSelectorMetadataUuid

type LimitPoolPathSelectorMetadataUuid struct{}

func (LimitPoolPathSelectorMetadataUuid) FieldPath

func (LimitPoolPathSelectorMetadataUuid) WithArrayOfValues

func (LimitPoolPathSelectorMetadataUuid) WithValue

type LimitPoolPathSelectorName

type LimitPoolPathSelectorName struct{}

func (LimitPoolPathSelectorName) FieldPath

func (LimitPoolPathSelectorName) WithArrayOfValues

func (LimitPoolPathSelectorName) WithValue

type LimitPoolPathSelectorReserved

type LimitPoolPathSelectorReserved struct{}

func (LimitPoolPathSelectorReserved) FieldPath

func (LimitPoolPathSelectorReserved) WithArrayOfValues

func (LimitPoolPathSelectorReserved) WithValue

type LimitPoolPathSelectorResource

type LimitPoolPathSelectorResource struct{}

func (LimitPoolPathSelectorResource) FieldPath

func (LimitPoolPathSelectorResource) WithArrayOfValues

func (LimitPoolPathSelectorResource) WithValue

type LimitPoolPathSelectorService

type LimitPoolPathSelectorService struct{}

func (LimitPoolPathSelectorService) FieldPath

func (LimitPoolPathSelectorService) WithArrayOfValues

func (LimitPoolPathSelectorService) WithValue

type LimitPoolPathSelectorSource

type LimitPoolPathSelectorSource struct{}

func (LimitPoolPathSelectorSource) FieldPath

func (LimitPoolPathSelectorSource) WithArrayOfValues

func (LimitPoolPathSelectorSource) WithValue

type LimitPoolReferenceList

type LimitPoolReferenceList []*Reference

func (LimitPoolReferenceList) Append

func (LimitPoolReferenceList) AppendList

func (LimitPoolReferenceList) At

func (LimitPoolReferenceList) Length

func (l LimitPoolReferenceList) Length() int

func (LimitPoolReferenceList) Set

func (LimitPoolReferenceList) Slice

func (l LimitPoolReferenceList) Slice(first, second int) gotenresource.ReferenceList

type LimitPool_FieldMask

type LimitPool_FieldMask struct {
	Paths []LimitPool_FieldPath
}

func FullLimitPool_FieldMask

func FullLimitPool_FieldMask() *LimitPool_FieldMask

func ResourceViewFieldMask

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

func (*LimitPool_FieldMask) AppendPath

func (fieldMask *LimitPool_FieldMask) AppendPath(path LimitPool_FieldPath)

func (*LimitPool_FieldMask) AppendRawPath

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

func (*LimitPool_FieldMask) DecodeFirestore

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

func (*LimitPool_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*LimitPool_FieldMask) FilterInputFields

func (fieldMask *LimitPool_FieldMask) FilterInputFields() *LimitPool_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*LimitPool_FieldMask) FromProtoFieldMask

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

func (*LimitPool_FieldMask) GetPaths

func (fieldMask *LimitPool_FieldMask) GetPaths() []LimitPool_FieldPath

func (*LimitPool_FieldMask) GetRawPaths

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

func (*LimitPool_FieldMask) IsFull

func (fieldMask *LimitPool_FieldMask) IsFull() bool

func (LimitPool_FieldMask) Marshal

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

implement methods required by customType

func (LimitPool_FieldMask) MarshalJSON

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

func (*LimitPool_FieldMask) PathsCount

func (fieldMask *LimitPool_FieldMask) PathsCount() int

func (*LimitPool_FieldMask) Project

func (fieldMask *LimitPool_FieldMask) Project(source *LimitPool) *LimitPool

func (*LimitPool_FieldMask) ProjectRaw

func (*LimitPool_FieldMask) ProtoMessage

func (fieldMask *LimitPool_FieldMask) ProtoMessage()

func (*LimitPool_FieldMask) ProtoReflect

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

func (*LimitPool_FieldMask) Reset

func (fieldMask *LimitPool_FieldMask) Reset()

func (*LimitPool_FieldMask) Set

func (fieldMask *LimitPool_FieldMask) Set(target, source *LimitPool)

func (*LimitPool_FieldMask) SetFromCliFlag

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

func (*LimitPool_FieldMask) SetRaw

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

func (*LimitPool_FieldMask) Size

func (fieldMask *LimitPool_FieldMask) Size() int

func (*LimitPool_FieldMask) String

func (fieldMask *LimitPool_FieldMask) String() string

func (*LimitPool_FieldMask) Subtract

func (fieldMask *LimitPool_FieldMask) Subtract(other *LimitPool_FieldMask) *LimitPool_FieldMask

func (*LimitPool_FieldMask) SubtractRaw

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

func (*LimitPool_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*LimitPool_FieldMask) Unmarshal

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

func (*LimitPool_FieldMask) UnmarshalJSON

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

type LimitPool_FieldPath

type LimitPool_FieldPath interface {
	gotenobject.FieldPath
	Selector() LimitPool_FieldPathSelector
	Get(source *LimitPool) []interface{}
	GetSingle(source *LimitPool) (interface{}, bool)
	ClearValue(item *LimitPool)

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

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

func BuildLimitPool_FieldPath

func BuildLimitPool_FieldPath(fp gotenobject.RawFieldPath) (LimitPool_FieldPath, error)

func MustParseLimitPool_FieldPath

func MustParseLimitPool_FieldPath(rawField string) LimitPool_FieldPath

func ParseLimitPool_FieldPath

func ParseLimitPool_FieldPath(rawField string) (LimitPool_FieldPath, error)

type LimitPool_FieldPathArrayItemValue

type LimitPool_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	LimitPool_FieldPath
	ContainsValue(*LimitPool) bool
}

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

func MustParseLimitPool_FieldPathArrayItemValue

func MustParseLimitPool_FieldPathArrayItemValue(pathStr, valueStr string) LimitPool_FieldPathArrayItemValue

func ParseLimitPool_FieldPathArrayItemValue

func ParseLimitPool_FieldPathArrayItemValue(pathStr, valueStr string) (LimitPool_FieldPathArrayItemValue, error)

ParseLimitPool_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type LimitPool_FieldPathArrayOfValues

type LimitPool_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	LimitPool_FieldPath
}

LimitPool_FieldPathArrayOfValues allows storing slice of values for LimitPool fields according to their type

func MustParseLimitPool_FieldPathArrayOfValues

func MustParseLimitPool_FieldPathArrayOfValues(pathStr, valuesStr string) LimitPool_FieldPathArrayOfValues

func ParseLimitPool_FieldPathArrayOfValues

func ParseLimitPool_FieldPathArrayOfValues(pathStr, valuesStr string) (LimitPool_FieldPathArrayOfValues, error)

type LimitPool_FieldPathSelector

type LimitPool_FieldPathSelector int32
const (
	LimitPool_FieldPathSelectorName           LimitPool_FieldPathSelector = 0
	LimitPool_FieldPathSelectorService        LimitPool_FieldPathSelector = 1
	LimitPool_FieldPathSelectorResource       LimitPool_FieldPathSelector = 2
	LimitPool_FieldPathSelectorConfiguredSize LimitPool_FieldPathSelector = 3
	LimitPool_FieldPathSelectorActiveSize     LimitPool_FieldPathSelector = 4
	LimitPool_FieldPathSelectorReserved       LimitPool_FieldPathSelector = 5
	LimitPool_FieldPathSelectorSource         LimitPool_FieldPathSelector = 6
	LimitPool_FieldPathSelectorMetadata       LimitPool_FieldPathSelector = 7
)

func (LimitPool_FieldPathSelector) String

type LimitPool_FieldPathValue

type LimitPool_FieldPathValue interface {
	LimitPool_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **LimitPool)
	CompareWith(*LimitPool) (cmp int, comparable bool)
}

LimitPool_FieldPathValue allows storing values for LimitPool fields according to their type

func MustParseLimitPool_FieldPathValue

func MustParseLimitPool_FieldPathValue(pathStr, valueStr string) LimitPool_FieldPathValue

func ParseLimitPool_FieldPathValue

func ParseLimitPool_FieldPathValue(pathStr, valueStr string) (LimitPool_FieldPathValue, error)

type LimitPool_FieldSubPath

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

func (*LimitPool_FieldSubPath) AsMetadataSubPath

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

func (*LimitPool_FieldSubPath) ClearValue

func (fps *LimitPool_FieldSubPath) ClearValue(item *LimitPool)

func (*LimitPool_FieldSubPath) ClearValueRaw

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

func (*LimitPool_FieldSubPath) Get

func (fps *LimitPool_FieldSubPath) Get(source *LimitPool) (values []interface{})

Get returns all values pointed by selected field from source LimitPool

func (*LimitPool_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*LimitPool_FieldSubPath) GetRaw

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

func (*LimitPool_FieldSubPath) GetSingle

func (fps *LimitPool_FieldSubPath) GetSingle(source *LimitPool) (interface{}, bool)

GetSingle returns value of selected field from source LimitPool

func (*LimitPool_FieldSubPath) GetSingleRaw

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

func (*LimitPool_FieldSubPath) IsLeaf

func (fps *LimitPool_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*LimitPool_FieldSubPath) JSONString

func (fps *LimitPool_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*LimitPool_FieldSubPath) Selector

func (*LimitPool_FieldSubPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*LimitPool_FieldSubPath) String

func (fps *LimitPool_FieldSubPath) String() string

String returns path representation in proto convention

func (*LimitPool_FieldSubPath) WithIArrayItemValue

func (fps *LimitPool_FieldSubPath) WithIArrayItemValue(value interface{}) LimitPool_FieldPathArrayItemValue

func (*LimitPool_FieldSubPath) WithIArrayOfValues

func (fps *LimitPool_FieldSubPath) WithIArrayOfValues(values interface{}) LimitPool_FieldPathArrayOfValues

func (*LimitPool_FieldSubPath) WithIValue

func (fps *LimitPool_FieldSubPath) WithIValue(value interface{}) LimitPool_FieldPathValue

func (*LimitPool_FieldSubPath) WithRawIArrayItemValue

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

func (*LimitPool_FieldSubPath) WithRawIArrayOfValues

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

func (*LimitPool_FieldSubPath) WithRawIValue

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

type LimitPool_FieldSubPathArrayItemValue

type LimitPool_FieldSubPathArrayItemValue struct {
	LimitPool_FieldPath
	// contains filtered or unexported fields
}

func (*LimitPool_FieldSubPathArrayItemValue) AsMetadataPathItemValue

func (fpaivs *LimitPool_FieldSubPathArrayItemValue) AsMetadataPathItemValue() (meta.Meta_FieldPathArrayItemValue, bool)

func (*LimitPool_FieldSubPathArrayItemValue) ContainsValue

func (fpaivs *LimitPool_FieldSubPathArrayItemValue) ContainsValue(source *LimitPool) bool

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

func (*LimitPool_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type LimitPool_FieldSubPathArrayOfValues

type LimitPool_FieldSubPathArrayOfValues struct {
	LimitPool_FieldPath
	// contains filtered or unexported fields
}

func (*LimitPool_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues

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

func (*LimitPool_FieldSubPathArrayOfValues) GetRawValues

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

type LimitPool_FieldSubPathValue

type LimitPool_FieldSubPathValue struct {
	LimitPool_FieldPath
	// contains filtered or unexported fields
}

func (*LimitPool_FieldSubPathValue) AsMetadataPathValue

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

func (*LimitPool_FieldSubPathValue) CompareWith

func (fpvs *LimitPool_FieldSubPathValue) CompareWith(source *LimitPool) (int, bool)

func (*LimitPool_FieldSubPathValue) CompareWithRaw

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

func (*LimitPool_FieldSubPathValue) GetRawValue

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

func (*LimitPool_FieldSubPathValue) SetTo

func (fpvs *LimitPool_FieldSubPathValue) SetTo(target **LimitPool)

func (*LimitPool_FieldSubPathValue) SetToRaw

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

type LimitPool_FieldTerminalPath

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

func (*LimitPool_FieldTerminalPath) ClearValue

func (fp *LimitPool_FieldTerminalPath) ClearValue(item *LimitPool)

func (*LimitPool_FieldTerminalPath) ClearValueRaw

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

func (*LimitPool_FieldTerminalPath) Get

func (fp *LimitPool_FieldTerminalPath) Get(source *LimitPool) (values []interface{})

Get returns all values pointed by specific field from source LimitPool

func (*LimitPool_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*LimitPool_FieldTerminalPath) GetRaw

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

func (*LimitPool_FieldTerminalPath) GetSingle

func (fp *LimitPool_FieldTerminalPath) GetSingle(source *LimitPool) (interface{}, bool)

GetSingle returns value pointed by specific field of from source LimitPool

func (*LimitPool_FieldTerminalPath) GetSingleRaw

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

func (*LimitPool_FieldTerminalPath) IsLeaf

func (fp *LimitPool_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*LimitPool_FieldTerminalPath) JSONString

func (fp *LimitPool_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*LimitPool_FieldTerminalPath) Selector

func (*LimitPool_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*LimitPool_FieldTerminalPath) String

func (fp *LimitPool_FieldTerminalPath) String() string

String returns path representation in proto convention

func (*LimitPool_FieldTerminalPath) WithIArrayItemValue

func (fp *LimitPool_FieldTerminalPath) WithIArrayItemValue(value interface{}) LimitPool_FieldPathArrayItemValue

func (*LimitPool_FieldTerminalPath) WithIArrayOfValues

func (fp *LimitPool_FieldTerminalPath) WithIArrayOfValues(values interface{}) LimitPool_FieldPathArrayOfValues

func (*LimitPool_FieldTerminalPath) WithIValue

func (fp *LimitPool_FieldTerminalPath) WithIValue(value interface{}) LimitPool_FieldPathValue

func (*LimitPool_FieldTerminalPath) WithRawIArrayItemValue

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

func (*LimitPool_FieldTerminalPath) WithRawIArrayOfValues

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

func (*LimitPool_FieldTerminalPath) WithRawIValue

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

type LimitPool_FieldTerminalPathArrayItemValue

type LimitPool_FieldTerminalPathArrayItemValue struct {
	LimitPool_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*LimitPool_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *LimitPool_FieldTerminalPathArrayItemValue) ContainsValue(source *LimitPool) bool

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

func (*LimitPool_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*LimitPool_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *LimitPool_FieldTerminalPathArrayItemValue) GetSingle(source *LimitPool) (interface{}, bool)

func (*LimitPool_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type LimitPool_FieldTerminalPathArrayOfValues

type LimitPool_FieldTerminalPathArrayOfValues struct {
	LimitPool_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*LimitPool_FieldTerminalPathArrayOfValues) AsActiveSizeArrayOfValues

func (fpaov *LimitPool_FieldTerminalPathArrayOfValues) AsActiveSizeArrayOfValues() ([]int64, bool)

func (*LimitPool_FieldTerminalPathArrayOfValues) AsConfiguredSizeArrayOfValues

func (fpaov *LimitPool_FieldTerminalPathArrayOfValues) AsConfiguredSizeArrayOfValues() ([]int64, bool)

func (*LimitPool_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues

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

func (*LimitPool_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

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

func (*LimitPool_FieldTerminalPathArrayOfValues) AsReservedArrayOfValues

func (fpaov *LimitPool_FieldTerminalPathArrayOfValues) AsReservedArrayOfValues() ([]int64, bool)

func (*LimitPool_FieldTerminalPathArrayOfValues) AsResourceArrayOfValues

func (fpaov *LimitPool_FieldTerminalPathArrayOfValues) AsResourceArrayOfValues() ([]*meta_resource.Reference, bool)

func (*LimitPool_FieldTerminalPathArrayOfValues) AsServiceArrayOfValues

func (fpaov *LimitPool_FieldTerminalPathArrayOfValues) AsServiceArrayOfValues() ([]*meta_service.Reference, bool)

func (*LimitPool_FieldTerminalPathArrayOfValues) AsSourceArrayOfValues

func (fpaov *LimitPool_FieldTerminalPathArrayOfValues) AsSourceArrayOfValues() ([]*Reference, bool)

func (*LimitPool_FieldTerminalPathArrayOfValues) GetRawValues

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

type LimitPool_FieldTerminalPathValue

type LimitPool_FieldTerminalPathValue struct {
	LimitPool_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*LimitPool_FieldTerminalPathValue) AsActiveSizeValue

func (fpv *LimitPool_FieldTerminalPathValue) AsActiveSizeValue() (int64, bool)

func (*LimitPool_FieldTerminalPathValue) AsConfiguredSizeValue

func (fpv *LimitPool_FieldTerminalPathValue) AsConfiguredSizeValue() (int64, bool)

func (*LimitPool_FieldTerminalPathValue) AsMetadataValue

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

func (*LimitPool_FieldTerminalPathValue) AsNameValue

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

func (*LimitPool_FieldTerminalPathValue) AsReservedValue

func (fpv *LimitPool_FieldTerminalPathValue) AsReservedValue() (int64, bool)

func (*LimitPool_FieldTerminalPathValue) AsResourceValue

func (fpv *LimitPool_FieldTerminalPathValue) AsResourceValue() (*meta_resource.Reference, bool)

func (*LimitPool_FieldTerminalPathValue) AsServiceValue

func (fpv *LimitPool_FieldTerminalPathValue) AsServiceValue() (*meta_service.Reference, bool)

func (*LimitPool_FieldTerminalPathValue) AsSourceValue

func (fpv *LimitPool_FieldTerminalPathValue) AsSourceValue() (*Reference, bool)

func (*LimitPool_FieldTerminalPathValue) CompareWith

func (fpv *LimitPool_FieldTerminalPathValue) CompareWith(source *LimitPool) (int, bool)

CompareWith compares value in the 'LimitPool_FieldTerminalPathValue' with the value under path in 'LimitPool'.

func (*LimitPool_FieldTerminalPathValue) CompareWithRaw

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

func (*LimitPool_FieldTerminalPathValue) GetRawValue

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

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

func (*LimitPool_FieldTerminalPathValue) SetTo

func (fpv *LimitPool_FieldTerminalPathValue) SetTo(target **LimitPool)

SetTo stores value for selected field for object LimitPool

func (*LimitPool_FieldTerminalPathValue) SetToRaw

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

type ListQuery

type ListQuery struct {
	Filter         *Filter
	Pager          *PagerQuery
	Mask           *LimitPool_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
	LimitPoolId string `firestore:"limitPoolId"`
}

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() *iam_organization.Name

func (*Name) GetPattern

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

func (*Name) GetResourceDescriptor

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

func (*Name) GetSegments

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

func (*Name) GotenEqual

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 *iam_organization.Name) *NameBuilder

func (*NameBuilder) SetOrganizationId

func (b *NameBuilder) SetOrganizationId(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 *LimitPool) int

func (*OrderBy) CompareRaw

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

func (*OrderBy) GetFieldMask

func (orderBy *OrderBy) GetFieldMask() *LimitPool_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 LimitPoolList, elem *LimitPool) (LimitPoolList, 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 LimitPoolList)

func (*OrderBy) SortRaw

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

func (*OrderBy) String

func (orderBy *OrderBy) String() string

type OrderByField

type OrderByField struct {
	FieldPath LimitPool_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 *LimitPool) 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
	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() *iam_organization.Name

func (*ParentName) GetPattern

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

func (*ParentName) GetResourceDescriptor

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

func (*ParentName) GetSegments

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

func (*ParentName) 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() *iam_organization.Organization

func (*ParentReference) GetOrganizationReference

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

func (*ParentReference) GetPattern

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

func (*ParentReference) GetRawResource

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

func (*ParentReference) GetResourceDescriptor

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

func (*ParentReference) GetSegments

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

func (*ParentReference) 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        []*LimitPoolChange
	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 {
	LimitPools        []*LimitPool
	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, limitPool *LimitPool) (*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) GetLimitPool

func (ref *Reference) GetLimitPool() *LimitPool

func (*Reference) GetPattern

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

func (*Reference) GetRawResource

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

func (*Reference) GetResourceDescriptor

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

func (*Reference) GetSegments

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

func (*Reference) GotenEqual

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 *LimitPool)

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 WatchQuery

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

func (*WatchQuery) GetMaximumChunkSize

func (q *WatchQuery) GetMaximumChunkSize() int

func (*WatchQuery) GetResumeToken

func (q *WatchQuery) GetResumeToken() string

func (*WatchQuery) GetStartingTime added in v0.9.0

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

func (*WatchQuery) GetWatchType

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

func (*WatchQuery) SetMaximumChunkSize

func (q *WatchQuery) SetMaximumChunkSize(chunkSize int)

func (*WatchQuery) SetResumeToken

func (q *WatchQuery) SetResumeToken(token string)

func (*WatchQuery) SetStartingTime added in v0.9.0

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

func (*WatchQuery) SetWatchType

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

func (*WatchQuery) String

func (q *WatchQuery) String() string

Jump to

Keyboard shortcuts

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