log_condition_template

package
v1.15.2 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2025 License: Apache-2.0 Imports: 57 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NamePattern_Project_PolicyTemplate = "projects/{project}/policyTemplates/{policy_template}/logConditionTemplates/{log_condition_template}"
)

Variables

This section is empty.

Functions

Types

type Descriptor

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

func GetDescriptor

func GetDescriptor() *Descriptor

func (*Descriptor) CanBeParentless

func (d *Descriptor) CanBeParentless() bool

func (*Descriptor) GetNameDescriptor

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

func (*Descriptor) GetParentResDescriptors

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

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

func (d *Descriptor) SupportsDbConstraints() bool

func (*Descriptor) SupportsMetadata

func (d *Descriptor) SupportsMetadata() bool

type Filter

type Filter struct {
	FilterCondition
}

func (*Filter) Evaluate

func (filter *Filter) Evaluate(res *LogConditionTemplate) 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 []*LogConditionTemplate) (out []*LogConditionTemplate)

FilterSlice is a helper for filtering arrays

func (*Filter) GetCondition

func (filter *Filter) GetCondition() FilterCondition

GetCondition is a getter of FilterCondition, which also handles nil pointer

func (*Filter) GetRawCondition

func (filter *Filter) GetRawCondition() gotenresource.FilterCondition

func (*Filter) ParseProtoString

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

func (*Filter) ProtoString

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

func (*Filter) SetFromCliFlag

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

func (*Filter) String

func (filter *Filter) String() string

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 LogConditionTemplate_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 *LogConditionTemplate) bool

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

func AndFilterConditions

func AndFilterConditions(conds ...FilterCondition) FilterCondition

type FilterConditionCompare

type FilterConditionCompare struct {
	Operator filterParser.CompareOperator
	LogConditionTemplate_FieldPathValue
}

func (*FilterConditionCompare) And

func (*FilterConditionCompare) ConditionCompare

func (cond *FilterConditionCompare) ConditionCompare()

func (*FilterConditionCompare) Evaluate

func (cond *FilterConditionCompare) Evaluate(res *LogConditionTemplate) 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 LogConditionTemplate_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 *LogConditionTemplate) 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 LogConditionTemplate_FieldPath) bool

func (*FilterConditionComposite) SpecifiesRawFieldPath

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

func (*FilterConditionComposite) String

func (cond *FilterConditionComposite) String() string

type FilterConditionContains

func (*FilterConditionContains) And

func (*FilterConditionContains) ConditionContains

func (cond *FilterConditionContains) ConditionContains()

func (*FilterConditionContains) ConditionContainsType

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

func (*FilterConditionContains) Evaluate

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

func (*FilterConditionContains) EvaluateRaw

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

func (*FilterConditionContains) GetFieldPath

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 LogConditionTemplate_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 {
	LogConditionTemplate_FieldPathArrayOfValues
}

func (*FilterConditionIn) And

func (*FilterConditionIn) ConditionIn

func (cond *FilterConditionIn) ConditionIn()

func (*FilterConditionIn) Evaluate

func (cond *FilterConditionIn) Evaluate(res *LogConditionTemplate) 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 LogConditionTemplate_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 LogConditionTemplate_FieldPath
}

func (*FilterConditionIsNaN) And

func (*FilterConditionIsNaN) ConditionIsNaN

func (cond *FilterConditionIsNaN) ConditionIsNaN()

func (*FilterConditionIsNaN) Evaluate

func (cond *FilterConditionIsNaN) Evaluate(res *LogConditionTemplate) 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 LogConditionTemplate_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 LogConditionTemplate_FieldPath
}

func (*FilterConditionIsNull) And

func (*FilterConditionIsNull) ConditionIsNull

func (cond *FilterConditionIsNull) ConditionIsNull()

func (*FilterConditionIsNull) Evaluate

func (cond *FilterConditionIsNull) Evaluate(res *LogConditionTemplate) 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 LogConditionTemplate_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 *LogConditionTemplate) 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 LogConditionTemplate_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 {
	LogConditionTemplate_FieldPathArrayOfValues
}

func (*FilterConditionNotIn) And

func (*FilterConditionNotIn) ConditionNotIn

func (cond *FilterConditionNotIn) ConditionNotIn()

func (*FilterConditionNotIn) Evaluate

func (cond *FilterConditionNotIn) Evaluate(res *LogConditionTemplate) 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 LogConditionTemplate_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      *LogConditionTemplate_FieldMask
}

func (*GetQuery) GetFieldMask

func (q *GetQuery) GetFieldMask() gotenobject.FieldMask

func (*GetQuery) GetReference

func (q *GetQuery) GetReference() gotenresource.Reference

func (*GetQuery) GetResourceDescriptor

func (q *GetQuery) GetResourceDescriptor() gotenresource.Descriptor

func (*GetQuery) GotenQuery

func (q *GetQuery) GotenQuery()

func (*GetQuery) SetFieldMask

func (q *GetQuery) SetFieldMask(mask gotenobject.FieldMask)

func (*GetQuery) SetReference

func (q *GetQuery) SetReference(ref gotenresource.Reference)

func (*GetQuery) String

func (q *GetQuery) String() string

type ListQuery

type ListQuery struct {
	Filter         *Filter
	Pager          *PagerQuery
	Mask           *LogConditionTemplate_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

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

func (q *ListQuery) SetWithPagingInfo(with bool)

func (*ListQuery) String

func (q *ListQuery) String() string

type LogConditionTemplate

type LogConditionTemplate struct {

	// Name of LogConditionTemplate
	// When creating a new instance, this field is optional and if not provided,
	// it will be generated automatically. Last ID segment must conform to the
	// following regex: [a-z][a-z0-9\\-]{0,28}[a-z0-9]
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"`
	// Metadata is an object with information like create, update and delete time
	// (for async deleted resources), has user labels/annotations, sharding
	// information, multi-region syncing information and may have non-schema
	// owners (useful for taking ownership of resources belonging to lower level
	// services by higher ones).
	Metadata *meta.Meta `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Display Name
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Long description
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// List of supporting documents. Pointed documents must be copied if
	// LogCondition is created in different project.
	SupportingDocs []*document.Reference `protobuf:"bytes,5,rep,customtype=Reference,name=supporting_docs,json=supportingDocs,proto3" json:"supporting_docs,omitempty"`
	// Pre defined template for LogCondition.Spec.
	SpecTemplate *rcommon.LogCndSpec `protobuf:"bytes,6,opt,name=spec_template,json=specTemplate,proto3" json:"spec_template,omitempty"`
	// contains filtered or unexported fields
}

LogConditionTemplate provides pre-defined templates for LogCondition resources. They may be public ones (available for all projects to be copied), but also can be private and available in selected projects only. They are always provided within Policy template.

func (*LogConditionTemplate) Clone

func (*LogConditionTemplate) CloneRaw

func (*LogConditionTemplate) Descriptor

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

Deprecated, Use LogConditionTemplate.ProtoReflect.Descriptor instead.

func (*LogConditionTemplate) EnsureMetadata

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

func (*LogConditionTemplate) GetDescription

func (m *LogConditionTemplate) GetDescription() string

func (*LogConditionTemplate) GetDisplayName

func (m *LogConditionTemplate) GetDisplayName() string

func (*LogConditionTemplate) GetMetadata

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

func (*LogConditionTemplate) GetName

func (m *LogConditionTemplate) GetName() *Name

func (*LogConditionTemplate) GetRawName

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

func (*LogConditionTemplate) GetResourceDescriptor

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

func (*LogConditionTemplate) GetSpecTemplate

func (m *LogConditionTemplate) GetSpecTemplate() *rcommon.LogCndSpec

func (*LogConditionTemplate) GetSupportingDocs

func (m *LogConditionTemplate) GetSupportingDocs() []*document.Reference

func (*LogConditionTemplate) GotenMessage

func (*LogConditionTemplate) GotenMessage()

func (*LogConditionTemplate) GotenObjectExt

func (o *LogConditionTemplate) GotenObjectExt()

func (*LogConditionTemplate) GotenValidate

func (obj *LogConditionTemplate) GotenValidate() error

func (*LogConditionTemplate) MakeDiffFieldMask

func (*LogConditionTemplate) MakeFullFieldMask

func (o *LogConditionTemplate) MakeFullFieldMask() *LogConditionTemplate_FieldMask

func (*LogConditionTemplate) MakeRawDiffFieldMask

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

func (*LogConditionTemplate) MakeRawFullFieldMask

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

func (*LogConditionTemplate) Marshal

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

func (*LogConditionTemplate) MarshalJSON

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

func (*LogConditionTemplate) MaybePopulateDefaults

func (r *LogConditionTemplate) MaybePopulateDefaults() error

func (*LogConditionTemplate) Merge

func (o *LogConditionTemplate) Merge(source *LogConditionTemplate)

func (*LogConditionTemplate) MergeRaw

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

func (*LogConditionTemplate) ProtoMessage

func (*LogConditionTemplate) ProtoMessage()

func (*LogConditionTemplate) ProtoReflect

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

func (*LogConditionTemplate) Reset

func (m *LogConditionTemplate) Reset()

func (*LogConditionTemplate) SetDescription

func (m *LogConditionTemplate) SetDescription(fv string)

func (*LogConditionTemplate) SetDisplayName

func (m *LogConditionTemplate) SetDisplayName(fv string)

func (*LogConditionTemplate) SetMetadata

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

func (*LogConditionTemplate) SetName

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

func (*LogConditionTemplate) SetSpecTemplate

func (m *LogConditionTemplate) SetSpecTemplate(fv *rcommon.LogCndSpec)

func (*LogConditionTemplate) SetSupportingDocs

func (m *LogConditionTemplate) SetSupportingDocs(fv []*document.Reference)

func (*LogConditionTemplate) String

func (m *LogConditionTemplate) String() string

func (*LogConditionTemplate) Unmarshal

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

func (*LogConditionTemplate) UnmarshalJSON

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

type LogConditionTemplateAccess

type LogConditionTemplateAccess interface {
	GetLogConditionTemplate(context.Context, *GetQuery, ...gotenresource.GetOption) (*LogConditionTemplate, error)
	BatchGetLogConditionTemplates(context.Context, []*Reference, ...gotenresource.BatchGetOption) error
	QueryLogConditionTemplates(context.Context, *ListQuery, ...gotenresource.QueryOption) (*QueryResultSnapshot, error)
	SearchLogConditionTemplates(context.Context, *SearchQuery, ...gotenresource.QueryOption) (*QueryResultSnapshot, error)
	WatchLogConditionTemplate(context.Context, *GetQuery, func(*LogConditionTemplateChange) error) error
	WatchLogConditionTemplates(context.Context, *WatchQuery, func(*QueryResultChange) error) error
	SaveLogConditionTemplate(context.Context, *LogConditionTemplate, ...gotenresource.SaveOption) error
	DeleteLogConditionTemplate(context.Context, *Reference, ...gotenresource.DeleteOption) error
}

type LogConditionTemplateChange

type LogConditionTemplateChange struct {

	// LogConditionTemplate change
	//
	// Types that are valid to be assigned to ChangeType:
	//	*LogConditionTemplateChange_Added_
	//	*LogConditionTemplateChange_Modified_
	//	*LogConditionTemplateChange_Current_
	//	*LogConditionTemplateChange_Removed_
	ChangeType isLogConditionTemplateChange_ChangeType `protobuf_oneof:"change_type"`
	// contains filtered or unexported fields
}

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

func (*LogConditionTemplateChange) Descriptor

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

Deprecated, Use LogConditionTemplateChange.ProtoReflect.Descriptor instead.

func (*LogConditionTemplateChange) GetAdded

func (*LogConditionTemplateChange) GetChangeType

func (m *LogConditionTemplateChange) GetChangeType() isLogConditionTemplateChange_ChangeType

func (*LogConditionTemplateChange) GetCurrent

func (*LogConditionTemplateChange) GetCurrentViewIndex

func (c *LogConditionTemplateChange) GetCurrentViewIndex() int32

func (*LogConditionTemplateChange) GetLogConditionTemplate

func (c *LogConditionTemplateChange) GetLogConditionTemplate() *LogConditionTemplate

func (*LogConditionTemplateChange) GetLogConditionTemplateName

func (c *LogConditionTemplateChange) GetLogConditionTemplateName() *Name

func (*LogConditionTemplateChange) GetModified

func (*LogConditionTemplateChange) GetPreviousViewIndex

func (c *LogConditionTemplateChange) GetPreviousViewIndex() int32

func (*LogConditionTemplateChange) GetRawName

func (*LogConditionTemplateChange) GetRawResource

func (*LogConditionTemplateChange) GetRemoved

func (*LogConditionTemplateChange) GotenMessage

func (*LogConditionTemplateChange) GotenMessage()

func (*LogConditionTemplateChange) GotenValidate

func (obj *LogConditionTemplateChange) GotenValidate() error

func (*LogConditionTemplateChange) IsAdd

func (c *LogConditionTemplateChange) IsAdd() bool

func (*LogConditionTemplateChange) IsCurrent

func (c *LogConditionTemplateChange) IsCurrent() bool

func (*LogConditionTemplateChange) IsDelete

func (c *LogConditionTemplateChange) IsDelete() bool

func (*LogConditionTemplateChange) IsModify

func (c *LogConditionTemplateChange) IsModify() bool

func (*LogConditionTemplateChange) Marshal

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

func (*LogConditionTemplateChange) MarshalJSON

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

func (*LogConditionTemplateChange) ProtoMessage

func (*LogConditionTemplateChange) ProtoMessage()

func (*LogConditionTemplateChange) ProtoReflect

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

func (*LogConditionTemplateChange) Reset

func (m *LogConditionTemplateChange) Reset()

func (*LogConditionTemplateChange) SetAdded

func (*LogConditionTemplateChange) SetAddedRaw

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

func (*LogConditionTemplateChange) SetChangeType

func (m *LogConditionTemplateChange) SetChangeType(ofv isLogConditionTemplateChange_ChangeType)

func (*LogConditionTemplateChange) SetCurrent

func (*LogConditionTemplateChange) SetCurrentRaw

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

func (*LogConditionTemplateChange) SetDeletedRaw

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

func (*LogConditionTemplateChange) SetModified

func (*LogConditionTemplateChange) SetModifiedRaw

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

func (*LogConditionTemplateChange) SetRemoved

func (*LogConditionTemplateChange) String

func (m *LogConditionTemplateChange) String() string

func (*LogConditionTemplateChange) Unmarshal

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

func (*LogConditionTemplateChange) UnmarshalJSON

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

type LogConditionTemplateChangeList

type LogConditionTemplateChangeList []*LogConditionTemplateChange

func (LogConditionTemplateChangeList) Append

func (LogConditionTemplateChangeList) AppendList

func (LogConditionTemplateChangeList) At

func (LogConditionTemplateChangeList) Length

func (LogConditionTemplateChangeList) Set

func (LogConditionTemplateChangeList) Slice

type LogConditionTemplateChangeMap

type LogConditionTemplateChangeMap map[Name]*LogConditionTemplateChange

func (LogConditionTemplateChangeMap) Delete

func (LogConditionTemplateChangeMap) ForEach

func (LogConditionTemplateChangeMap) Get

func (LogConditionTemplateChangeMap) Length

func (LogConditionTemplateChangeMap) Set

type LogConditionTemplateChange_Added

type LogConditionTemplateChange_Added struct {
	LogConditionTemplate *LogConditionTemplate `protobuf:"bytes,1,opt,name=log_condition_template,json=logConditionTemplate,proto3" json:"log_condition_template,omitempty"`
	// Integer describing index of added LogConditionTemplate in resulting query
	// view.
	ViewIndex int32 `protobuf:"varint,2,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty"`
	// contains filtered or unexported fields
}

LogConditionTemplate has been added to query view

func (*LogConditionTemplateChange_Added) Descriptor

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

Deprecated, Use LogConditionTemplateChange_Added.ProtoReflect.Descriptor instead.

func (*LogConditionTemplateChange_Added) GetLogConditionTemplate

func (m *LogConditionTemplateChange_Added) GetLogConditionTemplate() *LogConditionTemplate

func (*LogConditionTemplateChange_Added) GetViewIndex

func (m *LogConditionTemplateChange_Added) GetViewIndex() int32

func (*LogConditionTemplateChange_Added) GotenMessage

func (*LogConditionTemplateChange_Added) GotenMessage()

func (*LogConditionTemplateChange_Added) GotenValidate

func (obj *LogConditionTemplateChange_Added) GotenValidate() error

func (*LogConditionTemplateChange_Added) Marshal

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

func (*LogConditionTemplateChange_Added) MarshalJSON

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

func (*LogConditionTemplateChange_Added) ProtoMessage

func (*LogConditionTemplateChange_Added) ProtoMessage()

func (*LogConditionTemplateChange_Added) ProtoReflect

func (*LogConditionTemplateChange_Added) Reset

func (*LogConditionTemplateChange_Added) SetLogConditionTemplate

func (m *LogConditionTemplateChange_Added) SetLogConditionTemplate(fv *LogConditionTemplate)

func (*LogConditionTemplateChange_Added) SetViewIndex

func (m *LogConditionTemplateChange_Added) SetViewIndex(fv int32)

func (*LogConditionTemplateChange_Added) String

func (*LogConditionTemplateChange_Added) Unmarshal

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

func (*LogConditionTemplateChange_Added) UnmarshalJSON

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

type LogConditionTemplateChange_Added_

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

type LogConditionTemplateChange_Current

type LogConditionTemplateChange_Current struct {
	LogConditionTemplate *LogConditionTemplate `protobuf:"bytes,1,opt,name=log_condition_template,json=logConditionTemplate,proto3" json:"log_condition_template,omitempty"`
	// contains filtered or unexported fields
}

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

func (*LogConditionTemplateChange_Current) Descriptor

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

Deprecated, Use LogConditionTemplateChange_Current.ProtoReflect.Descriptor instead.

func (*LogConditionTemplateChange_Current) GetLogConditionTemplate

func (m *LogConditionTemplateChange_Current) GetLogConditionTemplate() *LogConditionTemplate

func (*LogConditionTemplateChange_Current) GotenMessage

func (*LogConditionTemplateChange_Current) GotenMessage()

func (*LogConditionTemplateChange_Current) GotenValidate

func (obj *LogConditionTemplateChange_Current) GotenValidate() error

func (*LogConditionTemplateChange_Current) Marshal

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

func (*LogConditionTemplateChange_Current) MarshalJSON

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

func (*LogConditionTemplateChange_Current) ProtoMessage

func (*LogConditionTemplateChange_Current) ProtoMessage()

func (*LogConditionTemplateChange_Current) ProtoReflect

func (*LogConditionTemplateChange_Current) Reset

func (*LogConditionTemplateChange_Current) SetLogConditionTemplate

func (m *LogConditionTemplateChange_Current) SetLogConditionTemplate(fv *LogConditionTemplate)

func (*LogConditionTemplateChange_Current) String

func (*LogConditionTemplateChange_Current) Unmarshal

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

func (*LogConditionTemplateChange_Current) UnmarshalJSON

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

type LogConditionTemplateChange_Current_

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

type LogConditionTemplateChange_Modified

type LogConditionTemplateChange_Modified struct {

	// Name of modified LogConditionTemplate
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"`
	// New version of LogConditionTemplate or masked difference, depending on
	// mask_changes instrumentation of issued [WatchLogConditionTemplateRequest]
	// or [WatchLogConditionTemplatesRequest]
	LogConditionTemplate *LogConditionTemplate `protobuf:"bytes,2,opt,name=log_condition_template,json=logConditionTemplate,proto3" json:"log_condition_template,omitempty"`
	// Used when mask_changes is set, contains field paths of modified
	// properties.
	FieldMask *LogConditionTemplate_FieldMask `` /* 130-byte string literal not displayed */
	// Previous view index specifies previous position of modified
	// LogConditionTemplate. When modification doesn't affect sorted order,
	// value will remain identical to [view_index].
	PreviousViewIndex int32 `protobuf:"varint,4,opt,name=previous_view_index,json=previousViewIndex,proto3" json:"previous_view_index,omitempty"`
	// Integer specifying LogConditionTemplate new index in resulting query
	// view.
	ViewIndex int32 `protobuf:"varint,5,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty"`
	// contains filtered or unexported fields
}

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

func (*LogConditionTemplateChange_Modified) Descriptor

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

Deprecated, Use LogConditionTemplateChange_Modified.ProtoReflect.Descriptor instead.

func (*LogConditionTemplateChange_Modified) GetFieldMask

func (*LogConditionTemplateChange_Modified) GetLogConditionTemplate

func (m *LogConditionTemplateChange_Modified) GetLogConditionTemplate() *LogConditionTemplate

func (*LogConditionTemplateChange_Modified) GetName

func (*LogConditionTemplateChange_Modified) GetPreviousViewIndex

func (m *LogConditionTemplateChange_Modified) GetPreviousViewIndex() int32

func (*LogConditionTemplateChange_Modified) GetViewIndex

func (m *LogConditionTemplateChange_Modified) GetViewIndex() int32

func (*LogConditionTemplateChange_Modified) GotenMessage

func (*LogConditionTemplateChange_Modified) GotenMessage()

func (*LogConditionTemplateChange_Modified) GotenValidate

func (obj *LogConditionTemplateChange_Modified) GotenValidate() error

func (*LogConditionTemplateChange_Modified) Marshal

func (*LogConditionTemplateChange_Modified) MarshalJSON

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

func (*LogConditionTemplateChange_Modified) ProtoMessage

func (*LogConditionTemplateChange_Modified) ProtoMessage()

func (*LogConditionTemplateChange_Modified) ProtoReflect

func (*LogConditionTemplateChange_Modified) Reset

func (*LogConditionTemplateChange_Modified) SetFieldMask

func (*LogConditionTemplateChange_Modified) SetLogConditionTemplate

func (m *LogConditionTemplateChange_Modified) SetLogConditionTemplate(fv *LogConditionTemplate)

func (*LogConditionTemplateChange_Modified) SetName

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

func (*LogConditionTemplateChange_Modified) SetPreviousViewIndex

func (m *LogConditionTemplateChange_Modified) SetPreviousViewIndex(fv int32)

func (*LogConditionTemplateChange_Modified) SetViewIndex

func (m *LogConditionTemplateChange_Modified) SetViewIndex(fv int32)

func (*LogConditionTemplateChange_Modified) String

func (*LogConditionTemplateChange_Modified) Unmarshal

func (*LogConditionTemplateChange_Modified) UnmarshalJSON

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

type LogConditionTemplateChange_Modified_

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

type LogConditionTemplateChange_Removed

type LogConditionTemplateChange_Removed struct {
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"`
	// Integer specifying removed LogConditionTemplate index. Not populated in
	// stateless watch type.
	ViewIndex int32 `protobuf:"varint,2,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty"`
	// contains filtered or unexported fields
}

Removed is returned when LogConditionTemplate is deleted or leaves Query view

func (*LogConditionTemplateChange_Removed) Descriptor

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

Deprecated, Use LogConditionTemplateChange_Removed.ProtoReflect.Descriptor instead.

func (*LogConditionTemplateChange_Removed) GetName

func (*LogConditionTemplateChange_Removed) GetViewIndex

func (m *LogConditionTemplateChange_Removed) GetViewIndex() int32

func (*LogConditionTemplateChange_Removed) GotenMessage

func (*LogConditionTemplateChange_Removed) GotenMessage()

func (*LogConditionTemplateChange_Removed) GotenValidate

func (obj *LogConditionTemplateChange_Removed) GotenValidate() error

func (*LogConditionTemplateChange_Removed) Marshal

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

func (*LogConditionTemplateChange_Removed) MarshalJSON

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

func (*LogConditionTemplateChange_Removed) ProtoMessage

func (*LogConditionTemplateChange_Removed) ProtoMessage()

func (*LogConditionTemplateChange_Removed) ProtoReflect

func (*LogConditionTemplateChange_Removed) Reset

func (*LogConditionTemplateChange_Removed) SetName

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

func (*LogConditionTemplateChange_Removed) SetViewIndex

func (m *LogConditionTemplateChange_Removed) SetViewIndex(fv int32)

func (*LogConditionTemplateChange_Removed) String

func (*LogConditionTemplateChange_Removed) Unmarshal

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

func (*LogConditionTemplateChange_Removed) UnmarshalJSON

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

type LogConditionTemplateChange_Removed_

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

type LogConditionTemplateFieldPathBuilder

type LogConditionTemplateFieldPathBuilder struct{}

func NewLogConditionTemplateFieldPathBuilder

func NewLogConditionTemplateFieldPathBuilder() LogConditionTemplateFieldPathBuilder

func (LogConditionTemplateFieldPathBuilder) Description

func (LogConditionTemplateFieldPathBuilder) DisplayName

func (LogConditionTemplateFieldPathBuilder) Metadata

func (LogConditionTemplateFieldPathBuilder) Name

func (LogConditionTemplateFieldPathBuilder) SpecTemplate

func (LogConditionTemplateFieldPathBuilder) SupportingDocs

type LogConditionTemplateList

type LogConditionTemplateList []*LogConditionTemplate

func (LogConditionTemplateList) Append

func (LogConditionTemplateList) AppendList

func (LogConditionTemplateList) At

func (LogConditionTemplateList) Length

func (l LogConditionTemplateList) Length() int

func (LogConditionTemplateList) Set

func (LogConditionTemplateList) Slice

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

type LogConditionTemplateMap

type LogConditionTemplateMap map[Name]*LogConditionTemplate

func (LogConditionTemplateMap) Delete

func (LogConditionTemplateMap) ForEach

func (LogConditionTemplateMap) Get

func (LogConditionTemplateMap) Length

func (m LogConditionTemplateMap) Length() int

func (LogConditionTemplateMap) Set

type LogConditionTemplateMapPathSelectorMetadataAnnotations

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

func (LogConditionTemplateMapPathSelectorMetadataAnnotations) FieldPath

func (LogConditionTemplateMapPathSelectorMetadataAnnotations) WithArrayOfValues

func (LogConditionTemplateMapPathSelectorMetadataAnnotations) WithValue

type LogConditionTemplateMapPathSelectorMetadataLabels

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

func (LogConditionTemplateMapPathSelectorMetadataLabels) FieldPath

func (LogConditionTemplateMapPathSelectorMetadataLabels) WithArrayOfValues

func (LogConditionTemplateMapPathSelectorMetadataLabels) WithValue

type LogConditionTemplateMapPathSelectorMetadataShards

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

func (LogConditionTemplateMapPathSelectorMetadataShards) FieldPath

func (LogConditionTemplateMapPathSelectorMetadataShards) WithArrayOfValues

func (LogConditionTemplateMapPathSelectorMetadataShards) WithValue

type LogConditionTemplateNameList

type LogConditionTemplateNameList []*Name

func (LogConditionTemplateNameList) Append

func (LogConditionTemplateNameList) AppendList

func (LogConditionTemplateNameList) At

func (LogConditionTemplateNameList) Length

func (l LogConditionTemplateNameList) Length() int

func (LogConditionTemplateNameList) Set

func (LogConditionTemplateNameList) Slice

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

type LogConditionTemplateParentNameList

type LogConditionTemplateParentNameList []*ParentName

func (LogConditionTemplateParentNameList) Append

func (LogConditionTemplateParentNameList) AppendList

func (LogConditionTemplateParentNameList) At

func (LogConditionTemplateParentNameList) Length

func (LogConditionTemplateParentNameList) Set

func (LogConditionTemplateParentNameList) Slice

type LogConditionTemplateParentReferenceList

type LogConditionTemplateParentReferenceList []*ParentReference

func (LogConditionTemplateParentReferenceList) Append

func (LogConditionTemplateParentReferenceList) AppendList

func (LogConditionTemplateParentReferenceList) At

func (LogConditionTemplateParentReferenceList) Length

func (LogConditionTemplateParentReferenceList) Set

func (LogConditionTemplateParentReferenceList) Slice

type LogConditionTemplatePathSelectorDescription

type LogConditionTemplatePathSelectorDescription struct{}

func (LogConditionTemplatePathSelectorDescription) FieldPath

func (LogConditionTemplatePathSelectorDescription) WithArrayOfValues

func (LogConditionTemplatePathSelectorDescription) WithValue

type LogConditionTemplatePathSelectorDisplayName

type LogConditionTemplatePathSelectorDisplayName struct{}

func (LogConditionTemplatePathSelectorDisplayName) FieldPath

func (LogConditionTemplatePathSelectorDisplayName) WithArrayOfValues

func (LogConditionTemplatePathSelectorDisplayName) WithValue

type LogConditionTemplatePathSelectorMetadata

type LogConditionTemplatePathSelectorMetadata struct{}

func (LogConditionTemplatePathSelectorMetadata) Annotations

func (LogConditionTemplatePathSelectorMetadata) CreateTime

func (LogConditionTemplatePathSelectorMetadata) DeleteTime

func (LogConditionTemplatePathSelectorMetadata) FieldPath

func (LogConditionTemplatePathSelectorMetadata) Generation

func (LogConditionTemplatePathSelectorMetadata) Labels

func (LogConditionTemplatePathSelectorMetadata) Lifecycle

func (LogConditionTemplatePathSelectorMetadata) OwnerReferences

func (LogConditionTemplatePathSelectorMetadata) ResourceVersion

func (LogConditionTemplatePathSelectorMetadata) Services

func (LogConditionTemplatePathSelectorMetadata) Shards

func (LogConditionTemplatePathSelectorMetadata) Syncing

func (LogConditionTemplatePathSelectorMetadata) Tags

func (LogConditionTemplatePathSelectorMetadata) UpdateTime

func (LogConditionTemplatePathSelectorMetadata) Uuid

func (LogConditionTemplatePathSelectorMetadata) WithArrayOfValues

func (LogConditionTemplatePathSelectorMetadata) WithSubArrayItemValue

func (LogConditionTemplatePathSelectorMetadata) WithSubArrayOfValues

func (LogConditionTemplatePathSelectorMetadata) WithSubPath

func (LogConditionTemplatePathSelectorMetadata) WithSubValue

func (LogConditionTemplatePathSelectorMetadata) WithValue

type LogConditionTemplatePathSelectorMetadataAnnotations

type LogConditionTemplatePathSelectorMetadataAnnotations struct{}

func (LogConditionTemplatePathSelectorMetadataAnnotations) FieldPath

func (LogConditionTemplatePathSelectorMetadataAnnotations) WithArrayOfValues

func (LogConditionTemplatePathSelectorMetadataAnnotations) WithKey

func (LogConditionTemplatePathSelectorMetadataAnnotations) WithValue

type LogConditionTemplatePathSelectorMetadataCreateTime

type LogConditionTemplatePathSelectorMetadataCreateTime struct{}

func (LogConditionTemplatePathSelectorMetadataCreateTime) FieldPath

func (LogConditionTemplatePathSelectorMetadataCreateTime) WithArrayOfValues

func (LogConditionTemplatePathSelectorMetadataCreateTime) WithValue

type LogConditionTemplatePathSelectorMetadataDeleteTime

type LogConditionTemplatePathSelectorMetadataDeleteTime struct{}

func (LogConditionTemplatePathSelectorMetadataDeleteTime) FieldPath

func (LogConditionTemplatePathSelectorMetadataDeleteTime) WithArrayOfValues

func (LogConditionTemplatePathSelectorMetadataDeleteTime) WithValue

type LogConditionTemplatePathSelectorMetadataGeneration

type LogConditionTemplatePathSelectorMetadataGeneration struct{}

func (LogConditionTemplatePathSelectorMetadataGeneration) FieldPath

func (LogConditionTemplatePathSelectorMetadataGeneration) WithArrayOfValues

func (LogConditionTemplatePathSelectorMetadataGeneration) WithValue

type LogConditionTemplatePathSelectorMetadataLabels

type LogConditionTemplatePathSelectorMetadataLabels struct{}

func (LogConditionTemplatePathSelectorMetadataLabels) FieldPath

func (LogConditionTemplatePathSelectorMetadataLabels) WithArrayOfValues

func (LogConditionTemplatePathSelectorMetadataLabels) WithKey

func (LogConditionTemplatePathSelectorMetadataLabels) WithValue

type LogConditionTemplatePathSelectorMetadataLifecycle

type LogConditionTemplatePathSelectorMetadataLifecycle struct{}

func (LogConditionTemplatePathSelectorMetadataLifecycle) BlockDeletion

func (LogConditionTemplatePathSelectorMetadataLifecycle) FieldPath

func (LogConditionTemplatePathSelectorMetadataLifecycle) State

func (LogConditionTemplatePathSelectorMetadataLifecycle) WithArrayOfValues

func (LogConditionTemplatePathSelectorMetadataLifecycle) WithValue

type LogConditionTemplatePathSelectorMetadataLifecycleBlockDeletion

type LogConditionTemplatePathSelectorMetadataLifecycleBlockDeletion struct{}

func (LogConditionTemplatePathSelectorMetadataLifecycleBlockDeletion) FieldPath

func (LogConditionTemplatePathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues

func (LogConditionTemplatePathSelectorMetadataLifecycleBlockDeletion) WithValue

type LogConditionTemplatePathSelectorMetadataLifecycleState

type LogConditionTemplatePathSelectorMetadataLifecycleState struct{}

func (LogConditionTemplatePathSelectorMetadataLifecycleState) FieldPath

func (LogConditionTemplatePathSelectorMetadataLifecycleState) WithArrayOfValues

func (LogConditionTemplatePathSelectorMetadataLifecycleState) WithValue

type LogConditionTemplatePathSelectorMetadataOwnerReferences

type LogConditionTemplatePathSelectorMetadataOwnerReferences struct{}

func (LogConditionTemplatePathSelectorMetadataOwnerReferences) Controller

func (LogConditionTemplatePathSelectorMetadataOwnerReferences) FieldPath

func (LogConditionTemplatePathSelectorMetadataOwnerReferences) Kind

func (LogConditionTemplatePathSelectorMetadataOwnerReferences) Name

func (LogConditionTemplatePathSelectorMetadataOwnerReferences) Region

func (LogConditionTemplatePathSelectorMetadataOwnerReferences) Version

func (LogConditionTemplatePathSelectorMetadataOwnerReferences) WithArrayOfValues

func (LogConditionTemplatePathSelectorMetadataOwnerReferences) WithItemValue

func (LogConditionTemplatePathSelectorMetadataOwnerReferences) WithValue

type LogConditionTemplatePathSelectorMetadataOwnerReferencesController

type LogConditionTemplatePathSelectorMetadataOwnerReferencesController struct{}

func (LogConditionTemplatePathSelectorMetadataOwnerReferencesController) FieldPath

func (LogConditionTemplatePathSelectorMetadataOwnerReferencesController) WithArrayOfValues

func (LogConditionTemplatePathSelectorMetadataOwnerReferencesController) WithValue

type LogConditionTemplatePathSelectorMetadataOwnerReferencesKind

type LogConditionTemplatePathSelectorMetadataOwnerReferencesKind struct{}

func (LogConditionTemplatePathSelectorMetadataOwnerReferencesKind) FieldPath

func (LogConditionTemplatePathSelectorMetadataOwnerReferencesKind) WithArrayOfValues

func (LogConditionTemplatePathSelectorMetadataOwnerReferencesKind) WithValue

type LogConditionTemplatePathSelectorMetadataOwnerReferencesName

type LogConditionTemplatePathSelectorMetadataOwnerReferencesName struct{}

func (LogConditionTemplatePathSelectorMetadataOwnerReferencesName) FieldPath

func (LogConditionTemplatePathSelectorMetadataOwnerReferencesName) WithArrayOfValues

func (LogConditionTemplatePathSelectorMetadataOwnerReferencesName) WithValue

type LogConditionTemplatePathSelectorMetadataOwnerReferencesRegion

type LogConditionTemplatePathSelectorMetadataOwnerReferencesRegion struct{}

func (LogConditionTemplatePathSelectorMetadataOwnerReferencesRegion) FieldPath

func (LogConditionTemplatePathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues

func (LogConditionTemplatePathSelectorMetadataOwnerReferencesRegion) WithValue

type LogConditionTemplatePathSelectorMetadataOwnerReferencesRequiresOwnerReference

type LogConditionTemplatePathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}

func (LogConditionTemplatePathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath

func (LogConditionTemplatePathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues

func (LogConditionTemplatePathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue

type LogConditionTemplatePathSelectorMetadataOwnerReferencesUnsetOnDelete

type LogConditionTemplatePathSelectorMetadataOwnerReferencesUnsetOnDelete struct{}

func (LogConditionTemplatePathSelectorMetadataOwnerReferencesUnsetOnDelete) FieldPath

func (LogConditionTemplatePathSelectorMetadataOwnerReferencesUnsetOnDelete) WithArrayOfValues

func (LogConditionTemplatePathSelectorMetadataOwnerReferencesUnsetOnDelete) WithValue

type LogConditionTemplatePathSelectorMetadataOwnerReferencesVersion

type LogConditionTemplatePathSelectorMetadataOwnerReferencesVersion struct{}

func (LogConditionTemplatePathSelectorMetadataOwnerReferencesVersion) FieldPath

func (LogConditionTemplatePathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues

func (LogConditionTemplatePathSelectorMetadataOwnerReferencesVersion) WithValue

type LogConditionTemplatePathSelectorMetadataResourceVersion

type LogConditionTemplatePathSelectorMetadataResourceVersion struct{}

func (LogConditionTemplatePathSelectorMetadataResourceVersion) FieldPath

func (LogConditionTemplatePathSelectorMetadataResourceVersion) WithArrayOfValues

func (LogConditionTemplatePathSelectorMetadataResourceVersion) WithValue

type LogConditionTemplatePathSelectorMetadataServices

type LogConditionTemplatePathSelectorMetadataServices struct{}

func (LogConditionTemplatePathSelectorMetadataServices) AllowedServices

func (LogConditionTemplatePathSelectorMetadataServices) FieldPath

func (LogConditionTemplatePathSelectorMetadataServices) OwningService

func (LogConditionTemplatePathSelectorMetadataServices) WithArrayOfValues

func (LogConditionTemplatePathSelectorMetadataServices) WithValue

type LogConditionTemplatePathSelectorMetadataServicesAllowedServices

type LogConditionTemplatePathSelectorMetadataServicesAllowedServices struct{}

func (LogConditionTemplatePathSelectorMetadataServicesAllowedServices) FieldPath

func (LogConditionTemplatePathSelectorMetadataServicesAllowedServices) WithArrayOfValues

func (LogConditionTemplatePathSelectorMetadataServicesAllowedServices) WithItemValue

func (LogConditionTemplatePathSelectorMetadataServicesAllowedServices) WithValue

type LogConditionTemplatePathSelectorMetadataServicesOwningService

type LogConditionTemplatePathSelectorMetadataServicesOwningService struct{}

func (LogConditionTemplatePathSelectorMetadataServicesOwningService) FieldPath

func (LogConditionTemplatePathSelectorMetadataServicesOwningService) WithArrayOfValues

func (LogConditionTemplatePathSelectorMetadataServicesOwningService) WithValue

type LogConditionTemplatePathSelectorMetadataShards

type LogConditionTemplatePathSelectorMetadataShards struct{}

func (LogConditionTemplatePathSelectorMetadataShards) FieldPath

func (LogConditionTemplatePathSelectorMetadataShards) WithArrayOfValues

func (LogConditionTemplatePathSelectorMetadataShards) WithKey

func (LogConditionTemplatePathSelectorMetadataShards) WithValue

type LogConditionTemplatePathSelectorMetadataSyncing

type LogConditionTemplatePathSelectorMetadataSyncing struct{}

func (LogConditionTemplatePathSelectorMetadataSyncing) FieldPath

func (LogConditionTemplatePathSelectorMetadataSyncing) OwningRegion

func (LogConditionTemplatePathSelectorMetadataSyncing) Regions

func (LogConditionTemplatePathSelectorMetadataSyncing) WithArrayOfValues

func (LogConditionTemplatePathSelectorMetadataSyncing) WithValue

type LogConditionTemplatePathSelectorMetadataSyncingOwningRegion

type LogConditionTemplatePathSelectorMetadataSyncingOwningRegion struct{}

func (LogConditionTemplatePathSelectorMetadataSyncingOwningRegion) FieldPath

func (LogConditionTemplatePathSelectorMetadataSyncingOwningRegion) WithArrayOfValues

func (LogConditionTemplatePathSelectorMetadataSyncingOwningRegion) WithValue

type LogConditionTemplatePathSelectorMetadataSyncingRegions

type LogConditionTemplatePathSelectorMetadataSyncingRegions struct{}

func (LogConditionTemplatePathSelectorMetadataSyncingRegions) FieldPath

func (LogConditionTemplatePathSelectorMetadataSyncingRegions) WithArrayOfValues

func (LogConditionTemplatePathSelectorMetadataSyncingRegions) WithItemValue

func (LogConditionTemplatePathSelectorMetadataSyncingRegions) WithValue

type LogConditionTemplatePathSelectorMetadataTags

type LogConditionTemplatePathSelectorMetadataTags struct{}

func (LogConditionTemplatePathSelectorMetadataTags) FieldPath

func (LogConditionTemplatePathSelectorMetadataTags) WithArrayOfValues

func (LogConditionTemplatePathSelectorMetadataTags) WithItemValue

func (LogConditionTemplatePathSelectorMetadataTags) WithValue

type LogConditionTemplatePathSelectorMetadataUpdateTime

type LogConditionTemplatePathSelectorMetadataUpdateTime struct{}

func (LogConditionTemplatePathSelectorMetadataUpdateTime) FieldPath

func (LogConditionTemplatePathSelectorMetadataUpdateTime) WithArrayOfValues

func (LogConditionTemplatePathSelectorMetadataUpdateTime) WithValue

type LogConditionTemplatePathSelectorMetadataUuid

type LogConditionTemplatePathSelectorMetadataUuid struct{}

func (LogConditionTemplatePathSelectorMetadataUuid) FieldPath

func (LogConditionTemplatePathSelectorMetadataUuid) WithArrayOfValues

func (LogConditionTemplatePathSelectorMetadataUuid) WithValue

type LogConditionTemplatePathSelectorName

type LogConditionTemplatePathSelectorName struct{}

func (LogConditionTemplatePathSelectorName) FieldPath

func (LogConditionTemplatePathSelectorName) WithArrayOfValues

func (LogConditionTemplatePathSelectorName) WithValue

type LogConditionTemplatePathSelectorSpecTemplate

type LogConditionTemplatePathSelectorSpecTemplate struct{}

func (LogConditionTemplatePathSelectorSpecTemplate) FieldPath

func (LogConditionTemplatePathSelectorSpecTemplate) GroupByLabels

func (LogConditionTemplatePathSelectorSpecTemplate) Query

func (LogConditionTemplatePathSelectorSpecTemplate) WithArrayOfValues

func (LogConditionTemplatePathSelectorSpecTemplate) WithSubArrayItemValue

func (LogConditionTemplatePathSelectorSpecTemplate) WithSubArrayOfValues

func (LogConditionTemplatePathSelectorSpecTemplate) WithSubPath

func (LogConditionTemplatePathSelectorSpecTemplate) WithSubValue

func (LogConditionTemplatePathSelectorSpecTemplate) WithValue

type LogConditionTemplatePathSelectorSpecTemplateGroupByLabels

type LogConditionTemplatePathSelectorSpecTemplateGroupByLabels struct{}

func (LogConditionTemplatePathSelectorSpecTemplateGroupByLabels) FieldPath

func (LogConditionTemplatePathSelectorSpecTemplateGroupByLabels) WithArrayOfValues

func (LogConditionTemplatePathSelectorSpecTemplateGroupByLabels) WithItemValue

func (LogConditionTemplatePathSelectorSpecTemplateGroupByLabels) WithValue

type LogConditionTemplatePathSelectorSpecTemplateQuery

type LogConditionTemplatePathSelectorSpecTemplateQuery struct{}

func (LogConditionTemplatePathSelectorSpecTemplateQuery) FieldPath

func (LogConditionTemplatePathSelectorSpecTemplateQuery) Filter

func (LogConditionTemplatePathSelectorSpecTemplateQuery) MinDuration

func (LogConditionTemplatePathSelectorSpecTemplateQuery) Trigger

func (LogConditionTemplatePathSelectorSpecTemplateQuery) WithArrayOfValues

func (LogConditionTemplatePathSelectorSpecTemplateQuery) WithValue

type LogConditionTemplatePathSelectorSpecTemplateQueryFilter

type LogConditionTemplatePathSelectorSpecTemplateQueryFilter struct{}

func (LogConditionTemplatePathSelectorSpecTemplateQueryFilter) FieldPath

func (LogConditionTemplatePathSelectorSpecTemplateQueryFilter) WithArrayOfValues

func (LogConditionTemplatePathSelectorSpecTemplateQueryFilter) WithValue

type LogConditionTemplatePathSelectorSpecTemplateQueryMinDuration

type LogConditionTemplatePathSelectorSpecTemplateQueryMinDuration struct{}

func (LogConditionTemplatePathSelectorSpecTemplateQueryMinDuration) FieldPath

func (LogConditionTemplatePathSelectorSpecTemplateQueryMinDuration) WithArrayOfValues

func (LogConditionTemplatePathSelectorSpecTemplateQueryMinDuration) WithValue

type LogConditionTemplatePathSelectorSpecTemplateQueryTrigger

type LogConditionTemplatePathSelectorSpecTemplateQueryTrigger struct{}

func (LogConditionTemplatePathSelectorSpecTemplateQueryTrigger) FieldPath

func (LogConditionTemplatePathSelectorSpecTemplateQueryTrigger) WithArrayOfValues

func (LogConditionTemplatePathSelectorSpecTemplateQueryTrigger) WithValue

type LogConditionTemplatePathSelectorSupportingDocs

type LogConditionTemplatePathSelectorSupportingDocs struct{}

func (LogConditionTemplatePathSelectorSupportingDocs) FieldPath

func (LogConditionTemplatePathSelectorSupportingDocs) WithArrayOfValues

func (LogConditionTemplatePathSelectorSupportingDocs) WithItemValue

func (LogConditionTemplatePathSelectorSupportingDocs) WithValue

type LogConditionTemplateReferenceList

type LogConditionTemplateReferenceList []*Reference

func (LogConditionTemplateReferenceList) Append

func (LogConditionTemplateReferenceList) AppendList

func (LogConditionTemplateReferenceList) At

func (LogConditionTemplateReferenceList) Length

func (LogConditionTemplateReferenceList) Set

func (LogConditionTemplateReferenceList) Slice

type LogConditionTemplate_FieldMask

type LogConditionTemplate_FieldMask struct {
	Paths []LogConditionTemplate_FieldPath
}

func FullLogConditionTemplate_FieldMask

func FullLogConditionTemplate_FieldMask() *LogConditionTemplate_FieldMask

func ResourceViewFieldMask

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

func (*LogConditionTemplate_FieldMask) AppendPath

func (*LogConditionTemplate_FieldMask) AppendRawPath

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

func (*LogConditionTemplate_FieldMask) FilterInputFields

func (fieldMask *LogConditionTemplate_FieldMask) FilterInputFields() *LogConditionTemplate_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*LogConditionTemplate_FieldMask) FromProtoFieldMask

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

func (*LogConditionTemplate_FieldMask) GetPaths

func (*LogConditionTemplate_FieldMask) GetRawPaths

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

func (*LogConditionTemplate_FieldMask) IsFull

func (fieldMask *LogConditionTemplate_FieldMask) IsFull() bool

func (LogConditionTemplate_FieldMask) Marshal

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

implement methods required by customType

func (LogConditionTemplate_FieldMask) MarshalJSON

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

func (*LogConditionTemplate_FieldMask) PathsCount

func (fieldMask *LogConditionTemplate_FieldMask) PathsCount() int

func (*LogConditionTemplate_FieldMask) Project

func (*LogConditionTemplate_FieldMask) ProjectRaw

func (*LogConditionTemplate_FieldMask) ProtoMessage

func (fieldMask *LogConditionTemplate_FieldMask) ProtoMessage()

func (*LogConditionTemplate_FieldMask) ProtoReflect

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

func (*LogConditionTemplate_FieldMask) Reset

func (fieldMask *LogConditionTemplate_FieldMask) Reset()

func (*LogConditionTemplate_FieldMask) Set

func (fieldMask *LogConditionTemplate_FieldMask) Set(target, source *LogConditionTemplate)

func (*LogConditionTemplate_FieldMask) SetFromCliFlag

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

func (*LogConditionTemplate_FieldMask) SetRaw

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

func (*LogConditionTemplate_FieldMask) Size

func (fieldMask *LogConditionTemplate_FieldMask) Size() int

func (*LogConditionTemplate_FieldMask) String

func (fieldMask *LogConditionTemplate_FieldMask) String() string

func (*LogConditionTemplate_FieldMask) Subtract

func (*LogConditionTemplate_FieldMask) SubtractRaw

func (*LogConditionTemplate_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*LogConditionTemplate_FieldMask) Unmarshal

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

func (*LogConditionTemplate_FieldMask) UnmarshalJSON

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

type LogConditionTemplate_FieldPath

type LogConditionTemplate_FieldPath interface {
	gotenobject.FieldPath
	Selector() LogConditionTemplate_FieldPathSelector
	Get(source *LogConditionTemplate) []interface{}
	GetSingle(source *LogConditionTemplate) (interface{}, bool)
	ClearValue(item *LogConditionTemplate)

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

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

func MustParseLogConditionTemplate_FieldPath

func MustParseLogConditionTemplate_FieldPath(rawField string) LogConditionTemplate_FieldPath

func ParseLogConditionTemplate_FieldPath

func ParseLogConditionTemplate_FieldPath(rawField string) (LogConditionTemplate_FieldPath, error)

type LogConditionTemplate_FieldPathArrayItemValue

type LogConditionTemplate_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	LogConditionTemplate_FieldPath
	ContainsValue(*LogConditionTemplate) bool
}

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

func MustParseLogConditionTemplate_FieldPathArrayItemValue

func MustParseLogConditionTemplate_FieldPathArrayItemValue(pathStr, valueStr string) LogConditionTemplate_FieldPathArrayItemValue

func ParseLogConditionTemplate_FieldPathArrayItemValue

func ParseLogConditionTemplate_FieldPathArrayItemValue(pathStr, valueStr string) (LogConditionTemplate_FieldPathArrayItemValue, error)

ParseLogConditionTemplate_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type LogConditionTemplate_FieldPathArrayOfValues

type LogConditionTemplate_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	LogConditionTemplate_FieldPath
}

LogConditionTemplate_FieldPathArrayOfValues allows storing slice of values for LogConditionTemplate fields according to their type

func MustParseLogConditionTemplate_FieldPathArrayOfValues

func MustParseLogConditionTemplate_FieldPathArrayOfValues(pathStr, valuesStr string) LogConditionTemplate_FieldPathArrayOfValues

func ParseLogConditionTemplate_FieldPathArrayOfValues

func ParseLogConditionTemplate_FieldPathArrayOfValues(pathStr, valuesStr string) (LogConditionTemplate_FieldPathArrayOfValues, error)

type LogConditionTemplate_FieldPathSelector

type LogConditionTemplate_FieldPathSelector int32
const (
	LogConditionTemplate_FieldPathSelectorName           LogConditionTemplate_FieldPathSelector = 0
	LogConditionTemplate_FieldPathSelectorMetadata       LogConditionTemplate_FieldPathSelector = 1
	LogConditionTemplate_FieldPathSelectorDisplayName    LogConditionTemplate_FieldPathSelector = 2
	LogConditionTemplate_FieldPathSelectorDescription    LogConditionTemplate_FieldPathSelector = 3
	LogConditionTemplate_FieldPathSelectorSupportingDocs LogConditionTemplate_FieldPathSelector = 4
	LogConditionTemplate_FieldPathSelectorSpecTemplate   LogConditionTemplate_FieldPathSelector = 5
)

func (LogConditionTemplate_FieldPathSelector) String

type LogConditionTemplate_FieldPathValue

type LogConditionTemplate_FieldPathValue interface {
	LogConditionTemplate_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **LogConditionTemplate)
	CompareWith(*LogConditionTemplate) (cmp int, comparable bool)
}

LogConditionTemplate_FieldPathValue allows storing values for LogConditionTemplate fields according to their type

func MustParseLogConditionTemplate_FieldPathValue

func MustParseLogConditionTemplate_FieldPathValue(pathStr, valueStr string) LogConditionTemplate_FieldPathValue

func ParseLogConditionTemplate_FieldPathValue

func ParseLogConditionTemplate_FieldPathValue(pathStr, valueStr string) (LogConditionTemplate_FieldPathValue, error)

type LogConditionTemplate_FieldSubPath

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

func (*LogConditionTemplate_FieldSubPath) AsMetadataSubPath

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

func (*LogConditionTemplate_FieldSubPath) AsSpecTemplateSubPath

func (fps *LogConditionTemplate_FieldSubPath) AsSpecTemplateSubPath() (rcommon.LogCndSpec_FieldPath, bool)

func (*LogConditionTemplate_FieldSubPath) ClearValue

func (*LogConditionTemplate_FieldSubPath) ClearValueRaw

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

func (*LogConditionTemplate_FieldSubPath) Get

func (fps *LogConditionTemplate_FieldSubPath) Get(source *LogConditionTemplate) (values []interface{})

Get returns all values pointed by selected field from source LogConditionTemplate

func (*LogConditionTemplate_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*LogConditionTemplate_FieldSubPath) GetRaw

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

func (*LogConditionTemplate_FieldSubPath) GetSingle

func (fps *LogConditionTemplate_FieldSubPath) GetSingle(source *LogConditionTemplate) (interface{}, bool)

GetSingle returns value of selected field from source LogConditionTemplate

func (*LogConditionTemplate_FieldSubPath) GetSingleRaw

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

func (*LogConditionTemplate_FieldSubPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*LogConditionTemplate_FieldSubPath) JSONString

func (fps *LogConditionTemplate_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*LogConditionTemplate_FieldSubPath) Selector

func (*LogConditionTemplate_FieldSubPath) SplitIntoTerminalIPaths

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

func (*LogConditionTemplate_FieldSubPath) String

String returns path representation in proto convention

func (*LogConditionTemplate_FieldSubPath) WithIArrayItemValue

func (fps *LogConditionTemplate_FieldSubPath) WithIArrayItemValue(value interface{}) LogConditionTemplate_FieldPathArrayItemValue

func (*LogConditionTemplate_FieldSubPath) WithIArrayOfValues

func (fps *LogConditionTemplate_FieldSubPath) WithIArrayOfValues(values interface{}) LogConditionTemplate_FieldPathArrayOfValues

func (*LogConditionTemplate_FieldSubPath) WithIValue

func (*LogConditionTemplate_FieldSubPath) WithRawIArrayItemValue

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

func (*LogConditionTemplate_FieldSubPath) WithRawIArrayOfValues

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

func (*LogConditionTemplate_FieldSubPath) WithRawIValue

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

type LogConditionTemplate_FieldSubPathArrayItemValue

type LogConditionTemplate_FieldSubPathArrayItemValue struct {
	LogConditionTemplate_FieldPath
	// contains filtered or unexported fields
}

func (*LogConditionTemplate_FieldSubPathArrayItemValue) AsMetadataPathItemValue

func (*LogConditionTemplate_FieldSubPathArrayItemValue) AsSpecTemplatePathItemValue

func (*LogConditionTemplate_FieldSubPathArrayItemValue) ContainsValue

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

func (*LogConditionTemplate_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type LogConditionTemplate_FieldSubPathArrayOfValues

type LogConditionTemplate_FieldSubPathArrayOfValues struct {
	LogConditionTemplate_FieldPath
	// contains filtered or unexported fields
}

func (*LogConditionTemplate_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues

func (*LogConditionTemplate_FieldSubPathArrayOfValues) AsSpecTemplatePathArrayOfValues

func (*LogConditionTemplate_FieldSubPathArrayOfValues) GetRawValues

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

type LogConditionTemplate_FieldSubPathValue

type LogConditionTemplate_FieldSubPathValue struct {
	LogConditionTemplate_FieldPath
	// contains filtered or unexported fields
}

func (*LogConditionTemplate_FieldSubPathValue) AsMetadataPathValue

func (*LogConditionTemplate_FieldSubPathValue) AsSpecTemplatePathValue

func (*LogConditionTemplate_FieldSubPathValue) CompareWith

func (*LogConditionTemplate_FieldSubPathValue) CompareWithRaw

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

func (*LogConditionTemplate_FieldSubPathValue) GetRawValue

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

func (*LogConditionTemplate_FieldSubPathValue) SetTo

func (*LogConditionTemplate_FieldSubPathValue) SetToRaw

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

type LogConditionTemplate_FieldTerminalPath

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

func (*LogConditionTemplate_FieldTerminalPath) ClearValue

func (*LogConditionTemplate_FieldTerminalPath) ClearValueRaw

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

func (*LogConditionTemplate_FieldTerminalPath) Get

func (fp *LogConditionTemplate_FieldTerminalPath) Get(source *LogConditionTemplate) (values []interface{})

Get returns all values pointed by specific field from source LogConditionTemplate

func (*LogConditionTemplate_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*LogConditionTemplate_FieldTerminalPath) GetRaw

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

func (*LogConditionTemplate_FieldTerminalPath) GetSingle

func (fp *LogConditionTemplate_FieldTerminalPath) GetSingle(source *LogConditionTemplate) (interface{}, bool)

GetSingle returns value pointed by specific field of from source LogConditionTemplate

func (*LogConditionTemplate_FieldTerminalPath) GetSingleRaw

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

func (*LogConditionTemplate_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*LogConditionTemplate_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*LogConditionTemplate_FieldTerminalPath) Selector

func (*LogConditionTemplate_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*LogConditionTemplate_FieldTerminalPath) String

String returns path representation in proto convention

func (*LogConditionTemplate_FieldTerminalPath) WithIArrayItemValue

func (*LogConditionTemplate_FieldTerminalPath) WithIArrayOfValues

func (*LogConditionTemplate_FieldTerminalPath) WithIValue

func (*LogConditionTemplate_FieldTerminalPath) WithRawIArrayItemValue

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

func (*LogConditionTemplate_FieldTerminalPath) WithRawIArrayOfValues

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

func (*LogConditionTemplate_FieldTerminalPath) WithRawIValue

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

type LogConditionTemplate_FieldTerminalPathArrayItemValue

type LogConditionTemplate_FieldTerminalPathArrayItemValue struct {
	LogConditionTemplate_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*LogConditionTemplate_FieldTerminalPathArrayItemValue) AsSupportingDocsItemValue

func (fpaiv *LogConditionTemplate_FieldTerminalPathArrayItemValue) AsSupportingDocsItemValue() (*document.Reference, bool)

func (*LogConditionTemplate_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*LogConditionTemplate_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*LogConditionTemplate_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *LogConditionTemplate_FieldTerminalPathArrayItemValue) GetSingle(source *LogConditionTemplate) (interface{}, bool)

func (*LogConditionTemplate_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type LogConditionTemplate_FieldTerminalPathArrayOfValues

type LogConditionTemplate_FieldTerminalPathArrayOfValues struct {
	LogConditionTemplate_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*LogConditionTemplate_FieldTerminalPathArrayOfValues) AsDescriptionArrayOfValues

func (fpaov *LogConditionTemplate_FieldTerminalPathArrayOfValues) AsDescriptionArrayOfValues() ([]string, bool)

func (*LogConditionTemplate_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues

func (fpaov *LogConditionTemplate_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues() ([]string, bool)

func (*LogConditionTemplate_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues

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

func (*LogConditionTemplate_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

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

func (*LogConditionTemplate_FieldTerminalPathArrayOfValues) AsSpecTemplateArrayOfValues

func (fpaov *LogConditionTemplate_FieldTerminalPathArrayOfValues) AsSpecTemplateArrayOfValues() ([]*rcommon.LogCndSpec, bool)

func (*LogConditionTemplate_FieldTerminalPathArrayOfValues) AsSupportingDocsArrayOfValues

func (fpaov *LogConditionTemplate_FieldTerminalPathArrayOfValues) AsSupportingDocsArrayOfValues() ([][]*document.Reference, bool)

func (*LogConditionTemplate_FieldTerminalPathArrayOfValues) GetRawValues

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

type LogConditionTemplate_FieldTerminalPathValue

type LogConditionTemplate_FieldTerminalPathValue struct {
	LogConditionTemplate_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*LogConditionTemplate_FieldTerminalPathValue) AsDescriptionValue

func (fpv *LogConditionTemplate_FieldTerminalPathValue) AsDescriptionValue() (string, bool)

func (*LogConditionTemplate_FieldTerminalPathValue) AsDisplayNameValue

func (fpv *LogConditionTemplate_FieldTerminalPathValue) AsDisplayNameValue() (string, bool)

func (*LogConditionTemplate_FieldTerminalPathValue) AsMetadataValue

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

func (*LogConditionTemplate_FieldTerminalPathValue) AsNameValue

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

func (*LogConditionTemplate_FieldTerminalPathValue) AsSpecTemplateValue

func (fpv *LogConditionTemplate_FieldTerminalPathValue) AsSpecTemplateValue() (*rcommon.LogCndSpec, bool)

func (*LogConditionTemplate_FieldTerminalPathValue) AsSupportingDocsValue

func (fpv *LogConditionTemplate_FieldTerminalPathValue) AsSupportingDocsValue() ([]*document.Reference, bool)

func (*LogConditionTemplate_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'LogConditionTemplate_FieldTerminalPathValue' with the value under path in 'LogConditionTemplate'.

func (*LogConditionTemplate_FieldTerminalPathValue) CompareWithRaw

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

func (*LogConditionTemplate_FieldTerminalPathValue) GetRawValue

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

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

func (*LogConditionTemplate_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object LogConditionTemplate

func (*LogConditionTemplate_FieldTerminalPathValue) SetToRaw

type Name

type Name struct {
	ParentName
	LogConditionTemplateId string `firestore:"logConditionTemplateId"`
}

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

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

func (*Name) GetIParentName

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

func (*Name) GetIUnderlyingParentName

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

func (name *Name) GetPolicyTemplateName() *policy_template.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) IsFullyQualified

func (name *Name) IsFullyQualified() bool

func (*Name) IsSpecified

func (name *Name) IsSpecified() bool

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

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

func (b *NameBuilder) SetPolicyTemplate(parent *policy_template.Name) *NameBuilder

func (*NameBuilder) SetPolicyTemplateId

func (b *NameBuilder) SetPolicyTemplateId(id string) *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 *LogConditionTemplate) int

func (*OrderBy) CompareRaw

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

func (*OrderBy) GetFieldMask

func (orderBy *OrderBy) GetFieldMask() *LogConditionTemplate_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 LogConditionTemplateList, elem *LogConditionTemplate) (LogConditionTemplateList, 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 LogConditionTemplateList)

func (*OrderBy) SortRaw

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

func (*OrderBy) String

func (orderBy *OrderBy) String() string

type OrderByField

type OrderByField struct {
	FieldPath LogConditionTemplate_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 *LogConditionTemplate) 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

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

func (*PagerQuery) SetLimit

func (p *PagerQuery) SetLimit(limit int)

func (*PagerQuery) SetOrderBy

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

func (*PagerQuery) SetPageDirection

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

func (*PagerQuery) SetPeekForward

func (p *PagerQuery) SetPeekForward(peekForward bool)

type ParentName

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

func MustParseParentName

func MustParseParentName(name string) *ParentName

func ParseParentName

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

func (*ParentName) AsRawReference

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

func (*ParentName) AsReference

func (name *ParentName) AsReference() *ParentReference

func (*ParentName) DescendsFrom

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

func (*ParentName) FullyQualifiedName

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

func (*ParentName) GetIParentName

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

func (*ParentName) GetIUnderlyingParentName

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

func (name *ParentName) GetPolicyTemplateName() *policy_template.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) IsFullyQualified

func (name *ParentName) IsFullyQualified() bool

func (*ParentName) IsSpecified

func (name *ParentName) IsSpecified() bool

func (*ParentName) Matches

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

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

func (*ParentName) ParseProtoString

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

func (*ParentName) ProtoString

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

func (*ParentName) SetFromCliFlag

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

implement CustomTypeCliValue method

func (*ParentName) SetFromSegments

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

func (*ParentName) String

func (name *ParentName) String() string

type ParentReference

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

func MakeParentReference

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

func MustParseParentReference

func MustParseParentReference(name string) *ParentReference

func ParseParentReference

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

func (*ParentReference) ClearCached

func (ref *ParentReference) ClearCached()

func (*ParentReference) GetIParentName

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

func (*ParentReference) GetIUnderlyingParentName

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

func (ref *ParentReference) GetPolicyTemplate() *policy_template.PolicyTemplate

func (*ParentReference) GetPolicyTemplateReference

func (ref *ParentReference) GetPolicyTemplateReference() *policy_template.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        []*LogConditionTemplateChange
	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 {
	LogConditionTemplates []*LogConditionTemplate
	PrevPageCursor        *PagerCursor
	NextPageCursor        *PagerCursor
	TotalResultsCount     int32
	CurrentOffset         int32
}

func (*QueryResultSnapshot) GetNextPageCursor

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

func (*QueryResultSnapshot) GetPagingInfo

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

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, logConditionTemplate *LogConditionTemplate) (*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

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

func (*Reference) GetIUnderlyingParentName

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

func (*Reference) GetIdParts

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

func (*Reference) GetLogConditionTemplate

func (ref *Reference) GetLogConditionTemplate() *LogConditionTemplate

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

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 SearchQuery added in v1.13.1

type SearchQuery struct {
	ListQuery
	Phrase string
}

func (*SearchQuery) GetPhrase added in v1.13.1

func (q *SearchQuery) GetPhrase() string

func (*SearchQuery) GetWithPagingInfo added in v1.13.1

func (q *SearchQuery) GetWithPagingInfo() bool

func (*SearchQuery) SetPhrase added in v1.13.1

func (q *SearchQuery) SetPhrase(phrase string)

func (*SearchQuery) String added in v1.13.1

func (q *SearchQuery) 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

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

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