limit

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: Apache-2.0 Imports: 45 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NamePattern_Project = "projects/{project}/limits/{limit}"
)

Variables

This section is empty.

Functions

func AsAnyCastAccess

func AsAnyCastAccess(access LimitAccess) 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 *Limit) 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 []*Limit) (out []*Limit)

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 Limit_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 *Limit) bool

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

func AndFilterConditions

func AndFilterConditions(conds ...FilterCondition) FilterCondition

type FilterConditionCompare

type FilterConditionCompare struct {
	Operator filterParser.CompareOperator
	Limit_FieldPathValue
}

func (*FilterConditionCompare) And

func (*FilterConditionCompare) ConditionCompare

func (cond *FilterConditionCompare) ConditionCompare()

func (*FilterConditionCompare) Evaluate

func (cond *FilterConditionCompare) Evaluate(res *Limit) 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 Limit_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 *Limit) 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 Limit_FieldPath) bool

func (*FilterConditionComposite) SpecifiesRawFieldPath

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

func (*FilterConditionComposite) String

func (cond *FilterConditionComposite) String() string

type FilterConditionContains

type FilterConditionContains struct {
	Type      gotenresource.ConditionContainsType
	FieldPath Limit_FieldPath

	Value  Limit_FieldPathArrayItemValue
	Values []Limit_FieldPathArrayItemValue
}

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 *Limit) bool

func (*FilterConditionContains) EvaluateRaw

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

func (*FilterConditionContains) GetFieldPath

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

func (*FilterConditionIn) And

func (*FilterConditionIn) ConditionIn

func (cond *FilterConditionIn) ConditionIn()

func (*FilterConditionIn) Evaluate

func (cond *FilterConditionIn) Evaluate(res *Limit) 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 Limit_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 Limit_FieldPath
}

func (*FilterConditionIsNaN) And

func (*FilterConditionIsNaN) ConditionIsNaN

func (cond *FilterConditionIsNaN) ConditionIsNaN()

func (*FilterConditionIsNaN) Evaluate

func (cond *FilterConditionIsNaN) Evaluate(res *Limit) 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 Limit_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 Limit_FieldPath
}

func (*FilterConditionIsNull) And

func (*FilterConditionIsNull) ConditionIsNull

func (cond *FilterConditionIsNull) ConditionIsNull()

func (*FilterConditionIsNull) Evaluate

func (cond *FilterConditionIsNull) Evaluate(res *Limit) 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 Limit_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 *Limit) 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 Limit_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 {
	Limit_FieldPathArrayOfValues
}

func (*FilterConditionNotIn) And

func (*FilterConditionNotIn) ConditionNotIn

func (cond *FilterConditionNotIn) ConditionNotIn()

func (*FilterConditionNotIn) Evaluate

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

type Limit struct {

	// Name of Limit, it has following format:
	// projects/{project}/limits/{regionId}/{resourceType}
	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"`
	// Region ID to which this limit applies. This may be different
	// compared to default project region, because projects themselves
	// can be multi-regional.
	Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty" firestore:"region"`
	// Configured limit - it is always in sync with limits
	// predicted by PlanAssignment instances.
	ConfiguredLimit int64 `` /* 135-byte string literal not displayed */
	// Active limit - it is always equal to configured limit with exceptions:
	// * If configured limit has just changed, then active limit will for
	// a moment contain old value before synchronization.
	// * If it turns out that usage increased in the very same moment
	// when configured limit decreased, then active limit will hold
	// old value indicating problem.
	// It is important to note that, because projects may be multi-regional,
	// limits are tracked by their FINAL region (See region field).
	// State fields (active limit and usage) are synced asynchronously.
	// From user perspective this field can be hidden if in line with
	// configured limit.
	ActiveLimit int64 `protobuf:"varint,6,opt,name=active_limit,json=activeLimit,proto3" json:"active_limit,omitempty" firestore:"activeLimit"`
	// Number of resources currently in existence.
	Usage int64 `protobuf:"varint,7,opt,name=usage,proto3" json:"usage,omitempty" firestore:"usage"`
	// LimitPool source that gave birth to this Limit. Any change
	// in configured/active value in current Limit increases/decreases
	// reserved field in source LimitPool.
	Source *limit_pool.Reference `protobuf:"bytes,8,opt,customtype=Reference,name=source,proto3" json:"source,omitempty" firestore:"source"`
	// Metadata
	Metadata *meta.Meta `protobuf:"bytes,9,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"`
	// contains filtered or unexported fields
}

Limit resource represents usage/limit of specific resource in specific project and region - however instances of those resources are managed by primary region of project. This ensures consistency and allows modification of project limits in one database transaction. Limit instances cannot be created or deleted. They cannot be also be modified (there are only some state fields controlled by system). Limits are created/modified along with PlanAssignment instances.

func (*Limit) Clone

func (o *Limit) Clone() *Limit

func (*Limit) CloneRaw

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

func (*Limit) Descriptor

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

Deprecated, Use Limit.ProtoReflect.Descriptor instead.

func (*Limit) EnsureMetadata added in v1.0.21

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

func (*Limit) GetActiveLimit

func (m *Limit) GetActiveLimit() int64

func (*Limit) GetConfiguredLimit

func (m *Limit) GetConfiguredLimit() int64

func (*Limit) GetMetadata

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

func (*Limit) GetName

func (m *Limit) GetName() *Name

func (*Limit) GetRawName

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

func (*Limit) GetRegion

func (m *Limit) GetRegion() string

func (*Limit) GetResource

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

func (*Limit) GetResourceDescriptor

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

func (*Limit) GetService

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

func (*Limit) GetSource

func (m *Limit) GetSource() *limit_pool.Reference

func (*Limit) GetUsage

func (m *Limit) GetUsage() int64

func (*Limit) GotenMessage

func (*Limit) GotenMessage()

func (*Limit) GotenObjectExt

func (o *Limit) GotenObjectExt()

func (*Limit) GotenValidate

func (obj *Limit) GotenValidate() error

func (*Limit) MakeDiffFieldMask

func (o *Limit) MakeDiffFieldMask(other *Limit) *Limit_FieldMask

func (*Limit) MakeFullFieldMask

func (o *Limit) MakeFullFieldMask() *Limit_FieldMask

func (*Limit) MakeRawDiffFieldMask

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

func (*Limit) MakeRawFullFieldMask

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

func (*Limit) Marshal

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

func (*Limit) MarshalJSON

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

func (*Limit) MaybePopulateDefaults

func (r *Limit) MaybePopulateDefaults() error

func (*Limit) Merge

func (o *Limit) Merge(source *Limit)

func (*Limit) MergeRaw

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

func (*Limit) ProtoMessage

func (*Limit) ProtoMessage()

func (*Limit) ProtoReflect

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

func (*Limit) Reset

func (m *Limit) Reset()

func (*Limit) SetActiveLimit

func (m *Limit) SetActiveLimit(fv int64)

func (*Limit) SetConfiguredLimit

func (m *Limit) SetConfiguredLimit(fv int64)

func (*Limit) SetMetadata

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

func (*Limit) SetName

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

func (*Limit) SetRegion

func (m *Limit) SetRegion(fv string)

func (*Limit) SetResource

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

func (*Limit) SetService

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

func (*Limit) SetSource

func (m *Limit) SetSource(fv *limit_pool.Reference)

func (*Limit) SetUsage

func (m *Limit) SetUsage(fv int64)

func (*Limit) String

func (m *Limit) String() string

func (*Limit) Unmarshal

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

func (*Limit) UnmarshalJSON

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

type LimitChange

type LimitChange struct {

	// Limit change
	//
	// Types that are valid to be assigned to ChangeType:
	//	*LimitChange_Added_
	//	*LimitChange_Modified_
	//	*LimitChange_Current_
	//	*LimitChange_Removed_
	ChangeType isLimitChange_ChangeType `protobuf_oneof:"change_type"`
	// contains filtered or unexported fields
}

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

func (*LimitChange) Descriptor

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

Deprecated, Use LimitChange.ProtoReflect.Descriptor instead.

func (*LimitChange) GetAdded

func (m *LimitChange) GetAdded() *LimitChange_Added

func (*LimitChange) GetChangeType

func (m *LimitChange) GetChangeType() isLimitChange_ChangeType

func (*LimitChange) GetCurrent

func (m *LimitChange) GetCurrent() *LimitChange_Current

func (*LimitChange) GetCurrentViewIndex

func (c *LimitChange) GetCurrentViewIndex() int32

func (*LimitChange) GetLimit

func (c *LimitChange) GetLimit() *Limit

func (*LimitChange) GetLimitName

func (c *LimitChange) GetLimitName() *Name

func (*LimitChange) GetModified

func (m *LimitChange) GetModified() *LimitChange_Modified

func (*LimitChange) GetPreviousViewIndex

func (c *LimitChange) GetPreviousViewIndex() int32

func (*LimitChange) GetRawName

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

func (*LimitChange) GetRawResource

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

func (*LimitChange) GetRemoved

func (m *LimitChange) GetRemoved() *LimitChange_Removed

func (*LimitChange) GotenMessage

func (*LimitChange) GotenMessage()

func (*LimitChange) GotenValidate

func (obj *LimitChange) GotenValidate() error

func (*LimitChange) IsAdd

func (c *LimitChange) IsAdd() bool

func (*LimitChange) IsCurrent

func (c *LimitChange) IsCurrent() bool

func (*LimitChange) IsDelete

func (c *LimitChange) IsDelete() bool

func (*LimitChange) IsModify

func (c *LimitChange) IsModify() bool

func (*LimitChange) Marshal

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

func (*LimitChange) MarshalJSON

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

func (*LimitChange) ProtoMessage

func (*LimitChange) ProtoMessage()

func (*LimitChange) ProtoReflect

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

func (*LimitChange) Reset

func (m *LimitChange) Reset()

func (*LimitChange) SetAdded

func (m *LimitChange) SetAdded(fv *LimitChange_Added)

func (*LimitChange) SetAddedRaw

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

func (*LimitChange) SetChangeType

func (m *LimitChange) SetChangeType(ofv isLimitChange_ChangeType)

func (*LimitChange) SetCurrent

func (m *LimitChange) SetCurrent(fv *LimitChange_Current)

func (*LimitChange) SetCurrentRaw

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

func (*LimitChange) SetDeletedRaw

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

func (*LimitChange) SetModified

func (m *LimitChange) SetModified(fv *LimitChange_Modified)

func (*LimitChange) SetModifiedRaw

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

func (*LimitChange) SetRemoved

func (m *LimitChange) SetRemoved(fv *LimitChange_Removed)

func (*LimitChange) String

func (m *LimitChange) String() string

func (*LimitChange) Unmarshal

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

func (*LimitChange) UnmarshalJSON

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

type LimitChangeList

type LimitChangeList []*LimitChange

func (LimitChangeList) At

func (LimitChangeList) Length

func (l LimitChangeList) Length() int

func (LimitChangeList) Set

func (l LimitChangeList) Set(idx int, change gotenresource.ResourceChange)

func (LimitChangeList) Slice

func (l LimitChangeList) Slice(first, second int) gotenresource.ResourceChangeList

type LimitChangeMap

type LimitChangeMap map[Name]*LimitChange

func (LimitChangeMap) Delete

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

func (LimitChangeMap) ForEach

func (LimitChangeMap) Get

func (LimitChangeMap) Length

func (m LimitChangeMap) Length() int

func (LimitChangeMap) Set

type LimitChange_Added

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

Limit has been added to query view

func (*LimitChange_Added) Descriptor

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

Deprecated, Use LimitChange_Added.ProtoReflect.Descriptor instead.

func (*LimitChange_Added) GetLimit

func (m *LimitChange_Added) GetLimit() *Limit

func (*LimitChange_Added) GetViewIndex

func (m *LimitChange_Added) GetViewIndex() int32

func (*LimitChange_Added) GotenMessage

func (*LimitChange_Added) GotenMessage()

func (*LimitChange_Added) GotenValidate

func (obj *LimitChange_Added) GotenValidate() error

func (*LimitChange_Added) Marshal

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

func (*LimitChange_Added) MarshalJSON

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

func (*LimitChange_Added) ProtoMessage

func (*LimitChange_Added) ProtoMessage()

func (*LimitChange_Added) ProtoReflect

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

func (*LimitChange_Added) Reset

func (m *LimitChange_Added) Reset()

func (*LimitChange_Added) SetLimit

func (m *LimitChange_Added) SetLimit(fv *Limit)

func (*LimitChange_Added) SetViewIndex

func (m *LimitChange_Added) SetViewIndex(fv int32)

func (*LimitChange_Added) String

func (m *LimitChange_Added) String() string

func (*LimitChange_Added) Unmarshal

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

func (*LimitChange_Added) UnmarshalJSON

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

type LimitChange_Added_

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

type LimitChange_Current

type LimitChange_Current struct {
	Limit *Limit `protobuf:"bytes,1,opt,name=limit,proto3" json:"limit,omitempty" firestore:"limit"`
	// contains filtered or unexported fields
}

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

func (*LimitChange_Current) Descriptor

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

Deprecated, Use LimitChange_Current.ProtoReflect.Descriptor instead.

func (*LimitChange_Current) GetLimit

func (m *LimitChange_Current) GetLimit() *Limit

func (*LimitChange_Current) GotenMessage

func (*LimitChange_Current) GotenMessage()

func (*LimitChange_Current) GotenValidate

func (obj *LimitChange_Current) GotenValidate() error

func (*LimitChange_Current) Marshal

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

func (*LimitChange_Current) MarshalJSON

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

func (*LimitChange_Current) ProtoMessage

func (*LimitChange_Current) ProtoMessage()

func (*LimitChange_Current) ProtoReflect

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

func (*LimitChange_Current) Reset

func (m *LimitChange_Current) Reset()

func (*LimitChange_Current) SetLimit

func (m *LimitChange_Current) SetLimit(fv *Limit)

func (*LimitChange_Current) String

func (m *LimitChange_Current) String() string

func (*LimitChange_Current) Unmarshal

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

func (*LimitChange_Current) UnmarshalJSON

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

type LimitChange_Current_

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

type LimitChange_Modified

type LimitChange_Modified struct {

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

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

func (*LimitChange_Modified) Descriptor

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

Deprecated, Use LimitChange_Modified.ProtoReflect.Descriptor instead.

func (*LimitChange_Modified) GetFieldMask

func (m *LimitChange_Modified) GetFieldMask() *Limit_FieldMask

func (*LimitChange_Modified) GetLimit

func (m *LimitChange_Modified) GetLimit() *Limit

func (*LimitChange_Modified) GetName

func (m *LimitChange_Modified) GetName() *Name

func (*LimitChange_Modified) GetPreviousViewIndex

func (m *LimitChange_Modified) GetPreviousViewIndex() int32

func (*LimitChange_Modified) GetViewIndex

func (m *LimitChange_Modified) GetViewIndex() int32

func (*LimitChange_Modified) GotenMessage

func (*LimitChange_Modified) GotenMessage()

func (*LimitChange_Modified) GotenValidate

func (obj *LimitChange_Modified) GotenValidate() error

func (*LimitChange_Modified) Marshal

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

func (*LimitChange_Modified) MarshalJSON

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

func (*LimitChange_Modified) ProtoMessage

func (*LimitChange_Modified) ProtoMessage()

func (*LimitChange_Modified) ProtoReflect

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

func (*LimitChange_Modified) Reset

func (m *LimitChange_Modified) Reset()

func (*LimitChange_Modified) SetFieldMask

func (m *LimitChange_Modified) SetFieldMask(fv *Limit_FieldMask)

func (*LimitChange_Modified) SetLimit

func (m *LimitChange_Modified) SetLimit(fv *Limit)

func (*LimitChange_Modified) SetName

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

func (*LimitChange_Modified) SetPreviousViewIndex

func (m *LimitChange_Modified) SetPreviousViewIndex(fv int32)

func (*LimitChange_Modified) SetViewIndex

func (m *LimitChange_Modified) SetViewIndex(fv int32)

func (*LimitChange_Modified) String

func (m *LimitChange_Modified) String() string

func (*LimitChange_Modified) Unmarshal

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

func (*LimitChange_Modified) UnmarshalJSON

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

type LimitChange_Modified_

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

type LimitChange_Removed

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

func (*LimitChange_Removed) Descriptor

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

Deprecated, Use LimitChange_Removed.ProtoReflect.Descriptor instead.

func (*LimitChange_Removed) GetName

func (m *LimitChange_Removed) GetName() *Name

func (*LimitChange_Removed) GetViewIndex

func (m *LimitChange_Removed) GetViewIndex() int32

func (*LimitChange_Removed) GotenMessage

func (*LimitChange_Removed) GotenMessage()

func (*LimitChange_Removed) GotenValidate

func (obj *LimitChange_Removed) GotenValidate() error

func (*LimitChange_Removed) Marshal

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

func (*LimitChange_Removed) MarshalJSON

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

func (*LimitChange_Removed) ProtoMessage

func (*LimitChange_Removed) ProtoMessage()

func (*LimitChange_Removed) ProtoReflect

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

func (*LimitChange_Removed) Reset

func (m *LimitChange_Removed) Reset()

func (*LimitChange_Removed) SetName

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

func (*LimitChange_Removed) SetViewIndex

func (m *LimitChange_Removed) SetViewIndex(fv int32)

func (*LimitChange_Removed) String

func (m *LimitChange_Removed) String() string

func (*LimitChange_Removed) Unmarshal

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

func (*LimitChange_Removed) UnmarshalJSON

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

type LimitChange_Removed_

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

type LimitFieldPathBuilder

type LimitFieldPathBuilder struct{}

func NewLimitFieldPathBuilder

func NewLimitFieldPathBuilder() LimitFieldPathBuilder

func (LimitFieldPathBuilder) ActiveLimit

func (LimitFieldPathBuilder) ConfiguredLimit

func (LimitFieldPathBuilder) Metadata

func (LimitFieldPathBuilder) Name

func (LimitFieldPathBuilder) Region

func (LimitFieldPathBuilder) Resource

func (LimitFieldPathBuilder) Service

func (LimitFieldPathBuilder) Source

func (LimitFieldPathBuilder) Usage

type LimitList

type LimitList []*Limit

func (LimitList) Append

func (LimitList) AppendList

func (LimitList) At

func (l LimitList) At(idx int) gotenresource.Resource

func (LimitList) Length

func (l LimitList) Length() int

func (LimitList) Set

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

func (LimitList) Slice

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

type LimitMap

type LimitMap map[Name]*Limit

func (LimitMap) Delete

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

func (LimitMap) ForEach

func (m LimitMap) ForEach(cb func(gotenresource.Name, gotenresource.Resource) bool)

func (LimitMap) Get

func (LimitMap) Length

func (m LimitMap) Length() int

func (LimitMap) Set

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

type LimitMapPathSelectorMetadataAnnotations

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

func (LimitMapPathSelectorMetadataAnnotations) FieldPath

func (LimitMapPathSelectorMetadataAnnotations) WithArrayOfValues

func (LimitMapPathSelectorMetadataAnnotations) WithValue

type LimitMapPathSelectorMetadataLabels

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

func (LimitMapPathSelectorMetadataLabels) FieldPath

func (LimitMapPathSelectorMetadataLabels) WithArrayOfValues

func (LimitMapPathSelectorMetadataLabels) WithValue

type LimitMapPathSelectorMetadataShards

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

func (LimitMapPathSelectorMetadataShards) FieldPath

func (LimitMapPathSelectorMetadataShards) WithArrayOfValues

func (LimitMapPathSelectorMetadataShards) WithValue

type LimitNameList

type LimitNameList []*Name

func (LimitNameList) Append

func (LimitNameList) AppendList

func (LimitNameList) At

func (l LimitNameList) At(idx int) gotenresource.Name

func (LimitNameList) Length

func (l LimitNameList) Length() int

func (LimitNameList) Set

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

func (LimitNameList) Slice

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

type LimitParentNameList

type LimitParentNameList []*ParentName

func (LimitParentNameList) Append

func (LimitParentNameList) AppendList

func (LimitParentNameList) At

func (LimitParentNameList) Length

func (l LimitParentNameList) Length() int

func (LimitParentNameList) Set

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

func (LimitParentNameList) Slice

func (l LimitParentNameList) Slice(first, second int) gotenresource.ParentNameList

type LimitParentReferenceList

type LimitParentReferenceList []*ParentReference

func (LimitParentReferenceList) Append

func (LimitParentReferenceList) At

func (LimitParentReferenceList) Length

func (l LimitParentReferenceList) Length() int

func (LimitParentReferenceList) Set

func (LimitParentReferenceList) Slice

type LimitPathSelectorActiveLimit

type LimitPathSelectorActiveLimit struct{}

func (LimitPathSelectorActiveLimit) FieldPath

func (LimitPathSelectorActiveLimit) WithArrayOfValues

func (LimitPathSelectorActiveLimit) WithValue

type LimitPathSelectorConfiguredLimit

type LimitPathSelectorConfiguredLimit struct{}

func (LimitPathSelectorConfiguredLimit) FieldPath

func (LimitPathSelectorConfiguredLimit) WithArrayOfValues

func (LimitPathSelectorConfiguredLimit) WithValue

type LimitPathSelectorMetadata

type LimitPathSelectorMetadata struct{}

func (LimitPathSelectorMetadata) Annotations

func (LimitPathSelectorMetadata) CreateTime

func (LimitPathSelectorMetadata) DeleteTime added in v0.8.0

func (LimitPathSelectorMetadata) FieldPath

func (LimitPathSelectorMetadata) Generation

func (LimitPathSelectorMetadata) Labels

func (LimitPathSelectorMetadata) Lifecycle added in v0.8.0

func (LimitPathSelectorMetadata) OwnerReferences

func (LimitPathSelectorMetadata) ResourceVersion

func (LimitPathSelectorMetadata) Services added in v1.0.21

func (LimitPathSelectorMetadata) Shards

func (LimitPathSelectorMetadata) Syncing

func (LimitPathSelectorMetadata) Tags

func (LimitPathSelectorMetadata) UpdateTime

func (LimitPathSelectorMetadata) Uuid

func (LimitPathSelectorMetadata) WithArrayOfValues

func (LimitPathSelectorMetadata) WithSubArrayItemValue

func (s LimitPathSelectorMetadata) WithSubArrayItemValue(subPathArrayItemValue meta.Meta_FieldPathArrayItemValue) *Limit_FieldSubPathArrayItemValue

func (LimitPathSelectorMetadata) WithSubArrayOfValues

func (s LimitPathSelectorMetadata) WithSubArrayOfValues(subPathArrayOfValues meta.Meta_FieldPathArrayOfValues) *Limit_FieldSubPathArrayOfValues

func (LimitPathSelectorMetadata) WithSubPath

func (LimitPathSelectorMetadata) WithSubValue

func (LimitPathSelectorMetadata) WithValue

type LimitPathSelectorMetadataAnnotations

type LimitPathSelectorMetadataAnnotations struct{}

func (LimitPathSelectorMetadataAnnotations) FieldPath

func (LimitPathSelectorMetadataAnnotations) WithArrayOfValues

func (LimitPathSelectorMetadataAnnotations) WithKey

func (LimitPathSelectorMetadataAnnotations) WithValue

type LimitPathSelectorMetadataCreateTime

type LimitPathSelectorMetadataCreateTime struct{}

func (LimitPathSelectorMetadataCreateTime) FieldPath

func (LimitPathSelectorMetadataCreateTime) WithArrayOfValues

func (LimitPathSelectorMetadataCreateTime) WithValue

type LimitPathSelectorMetadataDeleteTime added in v0.8.0

type LimitPathSelectorMetadataDeleteTime struct{}

func (LimitPathSelectorMetadataDeleteTime) FieldPath added in v0.8.0

func (LimitPathSelectorMetadataDeleteTime) WithArrayOfValues added in v0.8.0

func (LimitPathSelectorMetadataDeleteTime) WithValue added in v0.8.0

type LimitPathSelectorMetadataGeneration

type LimitPathSelectorMetadataGeneration struct{}

func (LimitPathSelectorMetadataGeneration) FieldPath

func (LimitPathSelectorMetadataGeneration) WithArrayOfValues

func (LimitPathSelectorMetadataGeneration) WithValue

type LimitPathSelectorMetadataLabels

type LimitPathSelectorMetadataLabels struct{}

func (LimitPathSelectorMetadataLabels) FieldPath

func (LimitPathSelectorMetadataLabels) WithArrayOfValues

func (LimitPathSelectorMetadataLabels) WithKey

func (LimitPathSelectorMetadataLabels) WithValue

type LimitPathSelectorMetadataLifecycle added in v0.8.0

type LimitPathSelectorMetadataLifecycle struct{}

func (LimitPathSelectorMetadataLifecycle) BlockDeletion added in v0.8.0

func (LimitPathSelectorMetadataLifecycle) FieldPath added in v0.8.0

func (LimitPathSelectorMetadataLifecycle) State added in v0.8.0

func (LimitPathSelectorMetadataLifecycle) WithArrayOfValues added in v0.8.0

func (LimitPathSelectorMetadataLifecycle) WithValue added in v0.8.0

type LimitPathSelectorMetadataLifecycleBlockDeletion added in v0.8.0

type LimitPathSelectorMetadataLifecycleBlockDeletion struct{}

func (LimitPathSelectorMetadataLifecycleBlockDeletion) FieldPath added in v0.8.0

func (LimitPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues added in v0.8.0

func (LimitPathSelectorMetadataLifecycleBlockDeletion) WithValue added in v0.8.0

type LimitPathSelectorMetadataLifecycleState added in v0.8.0

type LimitPathSelectorMetadataLifecycleState struct{}

func (LimitPathSelectorMetadataLifecycleState) FieldPath added in v0.8.0

func (LimitPathSelectorMetadataLifecycleState) WithArrayOfValues added in v0.8.0

func (LimitPathSelectorMetadataLifecycleState) WithValue added in v0.8.0

type LimitPathSelectorMetadataOwnerReferences

type LimitPathSelectorMetadataOwnerReferences struct{}

func (LimitPathSelectorMetadataOwnerReferences) Controller

func (LimitPathSelectorMetadataOwnerReferences) FieldPath

func (LimitPathSelectorMetadataOwnerReferences) Kind

func (LimitPathSelectorMetadataOwnerReferences) Name

func (LimitPathSelectorMetadataOwnerReferences) Region added in v0.8.0

func (LimitPathSelectorMetadataOwnerReferences) RequiresOwnerReference added in v0.8.0

func (LimitPathSelectorMetadataOwnerReferences) Version added in v0.8.0

func (LimitPathSelectorMetadataOwnerReferences) WithArrayOfValues

func (LimitPathSelectorMetadataOwnerReferences) WithItemValue

func (LimitPathSelectorMetadataOwnerReferences) WithValue

type LimitPathSelectorMetadataOwnerReferencesController

type LimitPathSelectorMetadataOwnerReferencesController struct{}

func (LimitPathSelectorMetadataOwnerReferencesController) FieldPath

func (LimitPathSelectorMetadataOwnerReferencesController) WithArrayOfValues

func (LimitPathSelectorMetadataOwnerReferencesController) WithValue

type LimitPathSelectorMetadataOwnerReferencesKind

type LimitPathSelectorMetadataOwnerReferencesKind struct{}

func (LimitPathSelectorMetadataOwnerReferencesKind) FieldPath

func (LimitPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues

func (LimitPathSelectorMetadataOwnerReferencesKind) WithValue

type LimitPathSelectorMetadataOwnerReferencesName

type LimitPathSelectorMetadataOwnerReferencesName struct{}

func (LimitPathSelectorMetadataOwnerReferencesName) FieldPath

func (LimitPathSelectorMetadataOwnerReferencesName) WithArrayOfValues

func (LimitPathSelectorMetadataOwnerReferencesName) WithValue

type LimitPathSelectorMetadataOwnerReferencesRegion added in v0.8.0

type LimitPathSelectorMetadataOwnerReferencesRegion struct{}

func (LimitPathSelectorMetadataOwnerReferencesRegion) FieldPath added in v0.8.0

func (LimitPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues added in v0.8.0

func (LimitPathSelectorMetadataOwnerReferencesRegion) WithValue added in v0.8.0

type LimitPathSelectorMetadataOwnerReferencesRequiresOwnerReference added in v0.8.0

type LimitPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}

func (LimitPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath added in v0.8.0

func (LimitPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues added in v0.8.0

func (LimitPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue added in v0.8.0

type LimitPathSelectorMetadataOwnerReferencesVersion added in v0.8.0

type LimitPathSelectorMetadataOwnerReferencesVersion struct{}

func (LimitPathSelectorMetadataOwnerReferencesVersion) FieldPath added in v0.8.0

func (LimitPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues added in v0.8.0

func (LimitPathSelectorMetadataOwnerReferencesVersion) WithValue added in v0.8.0

type LimitPathSelectorMetadataResourceVersion

type LimitPathSelectorMetadataResourceVersion struct{}

func (LimitPathSelectorMetadataResourceVersion) FieldPath

func (LimitPathSelectorMetadataResourceVersion) WithArrayOfValues

func (LimitPathSelectorMetadataResourceVersion) WithValue

type LimitPathSelectorMetadataServices added in v1.0.21

type LimitPathSelectorMetadataServices struct{}

func (LimitPathSelectorMetadataServices) AllowedServices added in v1.0.21

func (LimitPathSelectorMetadataServices) FieldPath added in v1.0.21

func (LimitPathSelectorMetadataServices) OwningService added in v1.0.21

func (LimitPathSelectorMetadataServices) WithArrayOfValues added in v1.0.21

func (LimitPathSelectorMetadataServices) WithValue added in v1.0.21

type LimitPathSelectorMetadataServicesAllowedServices added in v1.0.21

type LimitPathSelectorMetadataServicesAllowedServices struct{}

func (LimitPathSelectorMetadataServicesAllowedServices) FieldPath added in v1.0.21

func (LimitPathSelectorMetadataServicesAllowedServices) WithArrayOfValues added in v1.0.21

func (LimitPathSelectorMetadataServicesAllowedServices) WithItemValue added in v1.0.21

func (LimitPathSelectorMetadataServicesAllowedServices) WithValue added in v1.0.21

type LimitPathSelectorMetadataServicesOwningService added in v1.0.21

type LimitPathSelectorMetadataServicesOwningService struct{}

func (LimitPathSelectorMetadataServicesOwningService) FieldPath added in v1.0.21

func (LimitPathSelectorMetadataServicesOwningService) WithArrayOfValues added in v1.0.21

func (LimitPathSelectorMetadataServicesOwningService) WithValue added in v1.0.21

type LimitPathSelectorMetadataShards

type LimitPathSelectorMetadataShards struct{}

func (LimitPathSelectorMetadataShards) FieldPath

func (LimitPathSelectorMetadataShards) WithArrayOfValues

func (LimitPathSelectorMetadataShards) WithKey

func (LimitPathSelectorMetadataShards) WithValue

type LimitPathSelectorMetadataSyncing

type LimitPathSelectorMetadataSyncing struct{}

func (LimitPathSelectorMetadataSyncing) FieldPath

func (LimitPathSelectorMetadataSyncing) OwningRegion

func (LimitPathSelectorMetadataSyncing) Regions

func (LimitPathSelectorMetadataSyncing) WithArrayOfValues

func (LimitPathSelectorMetadataSyncing) WithValue

type LimitPathSelectorMetadataSyncingOwningRegion

type LimitPathSelectorMetadataSyncingOwningRegion struct{}

func (LimitPathSelectorMetadataSyncingOwningRegion) FieldPath

func (LimitPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues

func (LimitPathSelectorMetadataSyncingOwningRegion) WithValue

type LimitPathSelectorMetadataSyncingRegions

type LimitPathSelectorMetadataSyncingRegions struct{}

func (LimitPathSelectorMetadataSyncingRegions) FieldPath

func (LimitPathSelectorMetadataSyncingRegions) WithArrayOfValues

func (LimitPathSelectorMetadataSyncingRegions) WithItemValue

func (LimitPathSelectorMetadataSyncingRegions) WithValue

type LimitPathSelectorMetadataTags

type LimitPathSelectorMetadataTags struct{}

func (LimitPathSelectorMetadataTags) FieldPath

func (LimitPathSelectorMetadataTags) WithArrayOfValues

func (s LimitPathSelectorMetadataTags) WithArrayOfValues(values [][]string) *Limit_FieldSubPathArrayOfValues

func (LimitPathSelectorMetadataTags) WithItemValue

func (LimitPathSelectorMetadataTags) WithValue

type LimitPathSelectorMetadataUpdateTime

type LimitPathSelectorMetadataUpdateTime struct{}

func (LimitPathSelectorMetadataUpdateTime) FieldPath

func (LimitPathSelectorMetadataUpdateTime) WithArrayOfValues

func (LimitPathSelectorMetadataUpdateTime) WithValue

type LimitPathSelectorMetadataUuid

type LimitPathSelectorMetadataUuid struct{}

func (LimitPathSelectorMetadataUuid) FieldPath

func (LimitPathSelectorMetadataUuid) WithArrayOfValues

func (LimitPathSelectorMetadataUuid) WithValue

type LimitPathSelectorName

type LimitPathSelectorName struct{}

func (LimitPathSelectorName) FieldPath

func (LimitPathSelectorName) WithArrayOfValues

func (s LimitPathSelectorName) WithArrayOfValues(values []*Name) *Limit_FieldTerminalPathArrayOfValues

func (LimitPathSelectorName) WithValue

type LimitPathSelectorRegion

type LimitPathSelectorRegion struct{}

func (LimitPathSelectorRegion) FieldPath

func (LimitPathSelectorRegion) WithArrayOfValues

func (LimitPathSelectorRegion) WithValue

type LimitPathSelectorResource

type LimitPathSelectorResource struct{}

func (LimitPathSelectorResource) FieldPath

func (LimitPathSelectorResource) WithArrayOfValues

func (LimitPathSelectorResource) WithValue

type LimitPathSelectorService

type LimitPathSelectorService struct{}

func (LimitPathSelectorService) FieldPath

func (LimitPathSelectorService) WithArrayOfValues

func (LimitPathSelectorService) WithValue

type LimitPathSelectorSource

type LimitPathSelectorSource struct{}

func (LimitPathSelectorSource) FieldPath

func (LimitPathSelectorSource) WithArrayOfValues

func (LimitPathSelectorSource) WithValue

type LimitPathSelectorUsage

type LimitPathSelectorUsage struct{}

func (LimitPathSelectorUsage) FieldPath

func (LimitPathSelectorUsage) WithArrayOfValues

func (s LimitPathSelectorUsage) WithArrayOfValues(values []int64) *Limit_FieldTerminalPathArrayOfValues

func (LimitPathSelectorUsage) WithValue

type LimitReferenceList

type LimitReferenceList []*Reference

func (LimitReferenceList) Append

func (LimitReferenceList) AppendList

func (LimitReferenceList) At

func (LimitReferenceList) Length

func (l LimitReferenceList) Length() int

func (LimitReferenceList) Set

func (LimitReferenceList) Slice

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

type Limit_FieldMask

type Limit_FieldMask struct {
	Paths []Limit_FieldPath
}

func FullLimit_FieldMask

func FullLimit_FieldMask() *Limit_FieldMask

func ResourceViewFieldMask

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

func (*Limit_FieldMask) AppendPath

func (fieldMask *Limit_FieldMask) AppendPath(path Limit_FieldPath)

func (*Limit_FieldMask) AppendRawPath

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

func (*Limit_FieldMask) DecodeFirestore

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

func (*Limit_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*Limit_FieldMask) FilterInputFields

func (fieldMask *Limit_FieldMask) FilterInputFields() *Limit_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*Limit_FieldMask) FromProtoFieldMask

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

func (*Limit_FieldMask) GetPaths

func (fieldMask *Limit_FieldMask) GetPaths() []Limit_FieldPath

func (*Limit_FieldMask) GetRawPaths

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

func (*Limit_FieldMask) IsFull

func (fieldMask *Limit_FieldMask) IsFull() bool

func (Limit_FieldMask) Marshal

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

implement methods required by customType

func (Limit_FieldMask) MarshalJSON

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

func (*Limit_FieldMask) PathsCount

func (fieldMask *Limit_FieldMask) PathsCount() int

func (*Limit_FieldMask) Project

func (fieldMask *Limit_FieldMask) Project(source *Limit) *Limit

func (*Limit_FieldMask) ProjectRaw

func (*Limit_FieldMask) ProtoMessage

func (fieldMask *Limit_FieldMask) ProtoMessage()

func (*Limit_FieldMask) ProtoReflect

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

func (*Limit_FieldMask) Reset

func (fieldMask *Limit_FieldMask) Reset()

func (*Limit_FieldMask) Set

func (fieldMask *Limit_FieldMask) Set(target, source *Limit)

func (*Limit_FieldMask) SetFromCliFlag

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

func (*Limit_FieldMask) SetRaw

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

func (*Limit_FieldMask) Size

func (fieldMask *Limit_FieldMask) Size() int

func (*Limit_FieldMask) String

func (fieldMask *Limit_FieldMask) String() string

func (*Limit_FieldMask) Subtract

func (fieldMask *Limit_FieldMask) Subtract(other *Limit_FieldMask) *Limit_FieldMask

func (*Limit_FieldMask) SubtractRaw

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

func (*Limit_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*Limit_FieldMask) Unmarshal

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

func (*Limit_FieldMask) UnmarshalJSON

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

type Limit_FieldPath

type Limit_FieldPath interface {
	gotenobject.FieldPath
	Selector() Limit_FieldPathSelector
	Get(source *Limit) []interface{}
	GetSingle(source *Limit) (interface{}, bool)
	ClearValue(item *Limit)

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

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

func BuildLimit_FieldPath

func BuildLimit_FieldPath(fp gotenobject.RawFieldPath) (Limit_FieldPath, error)

func MustParseLimit_FieldPath

func MustParseLimit_FieldPath(rawField string) Limit_FieldPath

func ParseLimit_FieldPath

func ParseLimit_FieldPath(rawField string) (Limit_FieldPath, error)

type Limit_FieldPathArrayItemValue

type Limit_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	Limit_FieldPath
	ContainsValue(*Limit) bool
}

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

func MustParseLimit_FieldPathArrayItemValue

func MustParseLimit_FieldPathArrayItemValue(pathStr, valueStr string) Limit_FieldPathArrayItemValue

func ParseLimit_FieldPathArrayItemValue

func ParseLimit_FieldPathArrayItemValue(pathStr, valueStr string) (Limit_FieldPathArrayItemValue, error)

ParseLimit_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type Limit_FieldPathArrayOfValues

type Limit_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	Limit_FieldPath
}

Limit_FieldPathArrayOfValues allows storing slice of values for Limit fields according to their type

func MustParseLimit_FieldPathArrayOfValues

func MustParseLimit_FieldPathArrayOfValues(pathStr, valuesStr string) Limit_FieldPathArrayOfValues

func ParseLimit_FieldPathArrayOfValues

func ParseLimit_FieldPathArrayOfValues(pathStr, valuesStr string) (Limit_FieldPathArrayOfValues, error)

type Limit_FieldPathSelector

type Limit_FieldPathSelector int32
const (
	Limit_FieldPathSelectorName            Limit_FieldPathSelector = 0
	Limit_FieldPathSelectorService         Limit_FieldPathSelector = 1
	Limit_FieldPathSelectorResource        Limit_FieldPathSelector = 2
	Limit_FieldPathSelectorRegion          Limit_FieldPathSelector = 3
	Limit_FieldPathSelectorConfiguredLimit Limit_FieldPathSelector = 4
	Limit_FieldPathSelectorActiveLimit     Limit_FieldPathSelector = 5
	Limit_FieldPathSelectorUsage           Limit_FieldPathSelector = 6
	Limit_FieldPathSelectorSource          Limit_FieldPathSelector = 7
	Limit_FieldPathSelectorMetadata        Limit_FieldPathSelector = 8
)

func (Limit_FieldPathSelector) String

func (s Limit_FieldPathSelector) String() string

type Limit_FieldPathValue

type Limit_FieldPathValue interface {
	Limit_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **Limit)
	CompareWith(*Limit) (cmp int, comparable bool)
}

Limit_FieldPathValue allows storing values for Limit fields according to their type

func MustParseLimit_FieldPathValue

func MustParseLimit_FieldPathValue(pathStr, valueStr string) Limit_FieldPathValue

func ParseLimit_FieldPathValue

func ParseLimit_FieldPathValue(pathStr, valueStr string) (Limit_FieldPathValue, error)

type Limit_FieldSubPath

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

func (*Limit_FieldSubPath) AsMetadataSubPath

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

func (*Limit_FieldSubPath) ClearValue

func (fps *Limit_FieldSubPath) ClearValue(item *Limit)

func (*Limit_FieldSubPath) ClearValueRaw

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

func (*Limit_FieldSubPath) Get

func (fps *Limit_FieldSubPath) Get(source *Limit) (values []interface{})

Get returns all values pointed by selected field from source Limit

func (*Limit_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*Limit_FieldSubPath) GetRaw

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

func (*Limit_FieldSubPath) GetSingle

func (fps *Limit_FieldSubPath) GetSingle(source *Limit) (interface{}, bool)

GetSingle returns value of selected field from source Limit

func (*Limit_FieldSubPath) GetSingleRaw

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

func (*Limit_FieldSubPath) IsLeaf

func (fps *Limit_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Limit_FieldSubPath) JSONString

func (fps *Limit_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*Limit_FieldSubPath) Selector

func (*Limit_FieldSubPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*Limit_FieldSubPath) String

func (fps *Limit_FieldSubPath) String() string

String returns path representation in proto convention

func (*Limit_FieldSubPath) WithIArrayItemValue

func (fps *Limit_FieldSubPath) WithIArrayItemValue(value interface{}) Limit_FieldPathArrayItemValue

func (*Limit_FieldSubPath) WithIArrayOfValues

func (fps *Limit_FieldSubPath) WithIArrayOfValues(values interface{}) Limit_FieldPathArrayOfValues

func (*Limit_FieldSubPath) WithIValue

func (fps *Limit_FieldSubPath) WithIValue(value interface{}) Limit_FieldPathValue

func (*Limit_FieldSubPath) WithRawIArrayItemValue

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

func (*Limit_FieldSubPath) WithRawIArrayOfValues

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

func (*Limit_FieldSubPath) WithRawIValue

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

type Limit_FieldSubPathArrayItemValue

type Limit_FieldSubPathArrayItemValue struct {
	Limit_FieldPath
	// contains filtered or unexported fields
}

func (*Limit_FieldSubPathArrayItemValue) AsMetadataPathItemValue

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

func (*Limit_FieldSubPathArrayItemValue) ContainsValue

func (fpaivs *Limit_FieldSubPathArrayItemValue) ContainsValue(source *Limit) bool

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

func (*Limit_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type Limit_FieldSubPathArrayOfValues

type Limit_FieldSubPathArrayOfValues struct {
	Limit_FieldPath
	// contains filtered or unexported fields
}

func (*Limit_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues

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

func (*Limit_FieldSubPathArrayOfValues) GetRawValues

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

type Limit_FieldSubPathValue

type Limit_FieldSubPathValue struct {
	Limit_FieldPath
	// contains filtered or unexported fields
}

func (*Limit_FieldSubPathValue) AsMetadataPathValue

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

func (*Limit_FieldSubPathValue) CompareWith

func (fpvs *Limit_FieldSubPathValue) CompareWith(source *Limit) (int, bool)

func (*Limit_FieldSubPathValue) CompareWithRaw

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

func (*Limit_FieldSubPathValue) GetRawValue

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

func (*Limit_FieldSubPathValue) SetTo

func (fpvs *Limit_FieldSubPathValue) SetTo(target **Limit)

func (*Limit_FieldSubPathValue) SetToRaw

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

type Limit_FieldTerminalPath

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

func (*Limit_FieldTerminalPath) ClearValue

func (fp *Limit_FieldTerminalPath) ClearValue(item *Limit)

func (*Limit_FieldTerminalPath) ClearValueRaw

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

func (*Limit_FieldTerminalPath) Get

func (fp *Limit_FieldTerminalPath) Get(source *Limit) (values []interface{})

Get returns all values pointed by specific field from source Limit

func (*Limit_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*Limit_FieldTerminalPath) GetRaw

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

func (*Limit_FieldTerminalPath) GetSingle

func (fp *Limit_FieldTerminalPath) GetSingle(source *Limit) (interface{}, bool)

GetSingle returns value pointed by specific field of from source Limit

func (*Limit_FieldTerminalPath) GetSingleRaw

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

func (*Limit_FieldTerminalPath) IsLeaf

func (fp *Limit_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Limit_FieldTerminalPath) JSONString

func (fp *Limit_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*Limit_FieldTerminalPath) Selector

func (*Limit_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*Limit_FieldTerminalPath) String

func (fp *Limit_FieldTerminalPath) String() string

String returns path representation in proto convention

func (*Limit_FieldTerminalPath) WithIArrayItemValue

func (fp *Limit_FieldTerminalPath) WithIArrayItemValue(value interface{}) Limit_FieldPathArrayItemValue

func (*Limit_FieldTerminalPath) WithIArrayOfValues

func (fp *Limit_FieldTerminalPath) WithIArrayOfValues(values interface{}) Limit_FieldPathArrayOfValues

func (*Limit_FieldTerminalPath) WithIValue

func (fp *Limit_FieldTerminalPath) WithIValue(value interface{}) Limit_FieldPathValue

func (*Limit_FieldTerminalPath) WithRawIArrayItemValue

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

func (*Limit_FieldTerminalPath) WithRawIArrayOfValues

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

func (*Limit_FieldTerminalPath) WithRawIValue

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

type Limit_FieldTerminalPathArrayItemValue

type Limit_FieldTerminalPathArrayItemValue struct {
	Limit_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Limit_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *Limit_FieldTerminalPathArrayItemValue) ContainsValue(source *Limit) bool

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

func (*Limit_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*Limit_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *Limit_FieldTerminalPathArrayItemValue) GetSingle(source *Limit) (interface{}, bool)

func (*Limit_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type Limit_FieldTerminalPathArrayOfValues

type Limit_FieldTerminalPathArrayOfValues struct {
	Limit_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Limit_FieldTerminalPathArrayOfValues) AsActiveLimitArrayOfValues

func (fpaov *Limit_FieldTerminalPathArrayOfValues) AsActiveLimitArrayOfValues() ([]int64, bool)

func (*Limit_FieldTerminalPathArrayOfValues) AsConfiguredLimitArrayOfValues

func (fpaov *Limit_FieldTerminalPathArrayOfValues) AsConfiguredLimitArrayOfValues() ([]int64, bool)

func (*Limit_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues

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

func (*Limit_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

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

func (*Limit_FieldTerminalPathArrayOfValues) AsRegionArrayOfValues

func (fpaov *Limit_FieldTerminalPathArrayOfValues) AsRegionArrayOfValues() ([]string, bool)

func (*Limit_FieldTerminalPathArrayOfValues) AsResourceArrayOfValues

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

func (*Limit_FieldTerminalPathArrayOfValues) AsServiceArrayOfValues

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

func (*Limit_FieldTerminalPathArrayOfValues) AsSourceArrayOfValues

func (fpaov *Limit_FieldTerminalPathArrayOfValues) AsSourceArrayOfValues() ([]*limit_pool.Reference, bool)

func (*Limit_FieldTerminalPathArrayOfValues) AsUsageArrayOfValues

func (fpaov *Limit_FieldTerminalPathArrayOfValues) AsUsageArrayOfValues() ([]int64, bool)

func (*Limit_FieldTerminalPathArrayOfValues) GetRawValues

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

type Limit_FieldTerminalPathValue

type Limit_FieldTerminalPathValue struct {
	Limit_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Limit_FieldTerminalPathValue) AsActiveLimitValue

func (fpv *Limit_FieldTerminalPathValue) AsActiveLimitValue() (int64, bool)

func (*Limit_FieldTerminalPathValue) AsConfiguredLimitValue

func (fpv *Limit_FieldTerminalPathValue) AsConfiguredLimitValue() (int64, bool)

func (*Limit_FieldTerminalPathValue) AsMetadataValue

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

func (*Limit_FieldTerminalPathValue) AsNameValue

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

func (*Limit_FieldTerminalPathValue) AsRegionValue

func (fpv *Limit_FieldTerminalPathValue) AsRegionValue() (string, bool)

func (*Limit_FieldTerminalPathValue) AsResourceValue

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

func (*Limit_FieldTerminalPathValue) AsServiceValue

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

func (*Limit_FieldTerminalPathValue) AsSourceValue

func (fpv *Limit_FieldTerminalPathValue) AsSourceValue() (*limit_pool.Reference, bool)

func (*Limit_FieldTerminalPathValue) AsUsageValue

func (fpv *Limit_FieldTerminalPathValue) AsUsageValue() (int64, bool)

func (*Limit_FieldTerminalPathValue) CompareWith

func (fpv *Limit_FieldTerminalPathValue) CompareWith(source *Limit) (int, bool)

CompareWith compares value in the 'Limit_FieldTerminalPathValue' with the value under path in 'Limit'.

func (*Limit_FieldTerminalPathValue) CompareWithRaw

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

func (*Limit_FieldTerminalPathValue) GetRawValue

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

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

func (*Limit_FieldTerminalPathValue) SetTo

func (fpv *Limit_FieldTerminalPathValue) SetTo(target **Limit)

SetTo stores value for selected field for object Limit

func (*Limit_FieldTerminalPathValue) SetToRaw

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

type ListQuery

type ListQuery struct {
	Filter         *Filter
	Pager          *PagerQuery
	Mask           *Limit_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
	LimitId string `firestore:"limitId"`
}

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

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

func (*Name) GetProjectName

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

func (*Name) GetResourceDescriptor

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

func (*Name) GetSegments

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

func (*Name) GotenEqual

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

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

func (*Name) HasTrait

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

func (*Name) IsFullyQualified

func (name *Name) IsFullyQualified() bool

func (*Name) IsSpecified

func (name *Name) IsSpecified() bool

func (*Name) Match

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

func (*Name) Matches

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

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

func (*Name) ParseProtoString

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

func (*Name) ProtoString

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

func (*Name) Receive

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

func (*Name) SetFromCliFlag

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

implement CustomTypeCliValue method

func (*Name) SetFromSegments

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

func (*Name) String

func (name *Name) String() string

func (*Name) Type

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

func (*Name) TypeName

func (name *Name) TypeName() string

func (*Name) Value

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

type NameBuilder

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

func NewNameBuilder

func NewNameBuilder() *NameBuilder

func (*NameBuilder) Name

func (b *NameBuilder) Name() *Name

func (*NameBuilder) Parent

func (b *NameBuilder) Parent() *ParentName

func (*NameBuilder) ParentReference

func (b *NameBuilder) ParentReference() *ParentReference

func (*NameBuilder) Reference

func (b *NameBuilder) Reference() *Reference

func (*NameBuilder) SetId

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

func (*NameBuilder) SetProject

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

func (*NameBuilder) SetProjectId

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

type NamePattern

type NamePattern struct {
	Pattern gotenresource.NamePattern `firestore:"pattern"`
}

type OrderBy

type OrderBy struct {
	OrderByFields []OrderByField
}

OrderBy Is string encoded Custom Protobuf type, which handles "order_by" field order_by consists of coma delimited OrderBy specs, which denote ordering priority, e.g. "state.value asc, state.capacity desc"

func (*OrderBy) Compare

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

func (*OrderBy) CompareRaw

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

func (*OrderBy) GetFieldMask

func (orderBy *OrderBy) GetFieldMask() *Limit_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 LimitList, elem *Limit) (LimitList, 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 LimitList)

func (*OrderBy) SortRaw

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

func (*OrderBy) String

func (orderBy *OrderBy) String() string

type OrderByField

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

func (*OrderByField) GetDirection

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

func (*OrderByField) GetFieldPath

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

type PagerCursor

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

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

func (*PagerCursor) GetInclusion

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

func (*PagerCursor) GetPageDirection

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

func (*PagerCursor) GetValue

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

func (*PagerCursor) IsEmpty

func (cursor *PagerCursor) IsEmpty() bool

func (*PagerCursor) ParseProtoString

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

func (*PagerCursor) ProtoString

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

func (*PagerCursor) SetCursorValue

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

func (*PagerCursor) SetFromCliFlag

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

func (*PagerCursor) SetInclusion

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

func (*PagerCursor) SetPageDirection

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

func (*PagerCursor) String

func (cursor *PagerCursor) String() string

type PagerQuery

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

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

func MakePagerQuery

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

MakePagerQuery builds pager from API data and applies defaults

func (*PagerQuery) GetCursor

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

func (*PagerQuery) GetLimit

func (p *PagerQuery) GetLimit() int

func (*PagerQuery) GetOrderBy

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

func (*PagerQuery) GetPeekForward

func (p *PagerQuery) GetPeekForward() bool

func (*PagerQuery) GetResourceDescriptor

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

func (*PagerQuery) PageDirection

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

func (*PagerQuery) SetCursor added in v0.8.0

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

func (*PagerQuery) SetLimit added in v0.8.0

func (p *PagerQuery) SetLimit(limit int)

func (*PagerQuery) SetOrderBy added in v0.8.0

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

func (*PagerQuery) SetPageDirection added in v0.8.0

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

func (*PagerQuery) SetPeekForward added in v0.8.0

func (p *PagerQuery) SetPeekForward(peekForward bool)

type ParentName

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

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

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

func (*ParentName) GetProjectName

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

func (*ParentName) GetResourceDescriptor

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

func (*ParentName) GetSegments

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

func (*ParentName) GotenEqual

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

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

func (*ParentName) HasTrait added in v1.0.21

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

func (*ParentName) IsFullyQualified

func (name *ParentName) IsFullyQualified() bool

func (*ParentName) IsSpecified

func (name *ParentName) IsSpecified() bool

func (*ParentName) Match added in v1.0.21

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

func (*ParentName) Matches

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

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

func (*ParentName) ParseProtoString

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

func (*ParentName) ProtoString

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

func (*ParentName) Receive added in v1.0.21

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

func (*ParentName) SetFromCliFlag

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

implement CustomTypeCliValue method

func (*ParentName) SetFromSegments

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

func (*ParentName) String

func (name *ParentName) String() string

func (*ParentName) Type added in v1.0.21

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

func (*ParentName) TypeName added in v1.0.21

func (name *ParentName) TypeName() string

func (*ParentName) Value added in v1.0.21

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

type ParentReference

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

func MakeParentReference

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

func MustParseParentReference

func MustParseParentReference(name string) *ParentReference

func ParseParentReference

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

func (*ParentReference) ClearCached

func (ref *ParentReference) ClearCached()

func (*ParentReference) GetIParentName added in v0.8.0

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

func (*ParentReference) GetIUnderlyingParentName added in v0.8.0

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

func (*ParentReference) GetIdParts

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

func (*ParentReference) GetPattern

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

func (*ParentReference) GetProject

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

func (*ParentReference) GetProjectReference

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

func (*ParentReference) GetRawResource

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

func (*ParentReference) GetResourceDescriptor

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

func (*ParentReference) GetSegments

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

func (*ParentReference) GetUnderlyingReference

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

func (*ParentReference) GotenEqual

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

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

func (*ParentReference) IsFullyQualified

func (ref *ParentReference) IsFullyQualified() bool

func (*ParentReference) IsSpecified

func (ref *ParentReference) IsSpecified() bool

func (*ParentReference) Matches

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

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

func (*ParentReference) ParseProtoString

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

func (*ParentReference) ProtoString

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

func (*ParentReference) ResolveRaw

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

func (*ParentReference) Resolved

func (ref *ParentReference) Resolved() bool

func (*ParentReference) SetFromCliFlag

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

implement CustomTypeCliValue method

func (*ParentReference) String

func (ref *ParentReference) String() string

type QueryResultChange

type QueryResultChange struct {
	Changes        []*LimitChange
	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 {
	Limits            []*Limit
	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, limit *Limit) (*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) GetLimit

func (ref *Reference) GetLimit() *Limit

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

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