audited_resource_descriptor

package
v1.5.12 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NamePattern_Nil = "auditedResourceDescriptors/{audited_resource_descriptor}"
)

Variables

This section is empty.

Functions

Types

type AuditedResourceDescriptor

type AuditedResourceDescriptor struct {

	// Name of AuditedResourceDescriptor - contains service name and
	// resource type name, separated by '/' sign. Example name:
	// "iam.edgelq.com/RoleBinding"
	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// Optional. A concise name for the audited object type that might be
	// displayed in user interfaces. It should be a Title Cased Noun Phrase,
	// without any article or other determiners.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty" firestore:"displayName"`
	// Optional. A detailed description of the audited object type that might
	// be used in documentation.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty" firestore:"description"`
	// Required. A set of labels used to describe instances of this audited
	// resource type. For example, for "RoleBinding" we can define name+member.
	// This can allow us to make query like "who allowed user X to do those
	// things?"
	Labels []*common.LabelDescriptor `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" firestore:"labels"`
	// Promoted Label Key Sets allow defining multiple indexing rules for
	// underlying backend enabling query optimizations.
	PromotedLabelKeySets []*common.LabelKeySet `` /* 158-byte string literal not displayed */
	// List of API versions which define this resource
	Versions []string `protobuf:"bytes,6,rep,name=versions,proto3" json:"versions,omitempty" firestore:"versions"`
	// List of spec fields
	SpecFields []string `protobuf:"bytes,7,rep,name=spec_fields,json=specFields,proto3" json:"spec_fields,omitempty" firestore:"specFields"`
	// List of state fields
	StateFields []string `protobuf:"bytes,8,rep,name=state_fields,json=stateFields,proto3" json:"state_fields,omitempty" firestore:"stateFields"`
	// List of meta fields
	MetaFields []string `protobuf:"bytes,9,rep,name=meta_fields,json=metaFields,proto3" json:"meta_fields,omitempty" firestore:"metaFields"`
	// Metadata
	Metadata *meta.Meta `protobuf:"bytes,10,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"`
	// contains filtered or unexported fields
}

AuditedResourceDescriptor Resource

func (*AuditedResourceDescriptor) Clone

func (*AuditedResourceDescriptor) CloneRaw

func (*AuditedResourceDescriptor) Descriptor

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

Deprecated, Use AuditedResourceDescriptor.ProtoReflect.Descriptor instead.

func (*AuditedResourceDescriptor) EnsureMetadata added in v1.0.21

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

func (*AuditedResourceDescriptor) GetDescription

func (m *AuditedResourceDescriptor) GetDescription() string

func (*AuditedResourceDescriptor) GetDisplayName

func (m *AuditedResourceDescriptor) GetDisplayName() string

func (*AuditedResourceDescriptor) GetLabels

func (*AuditedResourceDescriptor) GetMetaFields

func (m *AuditedResourceDescriptor) GetMetaFields() []string

func (*AuditedResourceDescriptor) GetMetadata

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

func (*AuditedResourceDescriptor) GetName

func (m *AuditedResourceDescriptor) GetName() *Name

func (*AuditedResourceDescriptor) GetPromotedLabelKeySets

func (m *AuditedResourceDescriptor) GetPromotedLabelKeySets() []*common.LabelKeySet

func (*AuditedResourceDescriptor) GetRawName

func (*AuditedResourceDescriptor) GetResourceDescriptor

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

func (*AuditedResourceDescriptor) GetSpecFields

func (m *AuditedResourceDescriptor) GetSpecFields() []string

func (*AuditedResourceDescriptor) GetStateFields

func (m *AuditedResourceDescriptor) GetStateFields() []string

func (*AuditedResourceDescriptor) GetVersions

func (m *AuditedResourceDescriptor) GetVersions() []string

func (*AuditedResourceDescriptor) GotenMessage

func (*AuditedResourceDescriptor) GotenMessage()

func (*AuditedResourceDescriptor) GotenObjectExt

func (o *AuditedResourceDescriptor) GotenObjectExt()

func (*AuditedResourceDescriptor) GotenValidate

func (obj *AuditedResourceDescriptor) GotenValidate() error

func (*AuditedResourceDescriptor) MakeDiffFieldMask

func (*AuditedResourceDescriptor) MakeFullFieldMask

func (*AuditedResourceDescriptor) MakeRawDiffFieldMask

func (*AuditedResourceDescriptor) MakeRawFullFieldMask

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

func (*AuditedResourceDescriptor) Marshal

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

func (*AuditedResourceDescriptor) MarshalJSON

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

func (*AuditedResourceDescriptor) MaybePopulateDefaults

func (r *AuditedResourceDescriptor) MaybePopulateDefaults() error

func (*AuditedResourceDescriptor) Merge

func (*AuditedResourceDescriptor) MergeRaw

func (*AuditedResourceDescriptor) ProtoMessage

func (*AuditedResourceDescriptor) ProtoMessage()

func (*AuditedResourceDescriptor) ProtoReflect

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

func (*AuditedResourceDescriptor) Reset

func (m *AuditedResourceDescriptor) Reset()

func (*AuditedResourceDescriptor) SetDescription

func (m *AuditedResourceDescriptor) SetDescription(fv string)

func (*AuditedResourceDescriptor) SetDisplayName

func (m *AuditedResourceDescriptor) SetDisplayName(fv string)

func (*AuditedResourceDescriptor) SetLabels

func (m *AuditedResourceDescriptor) SetLabels(fv []*common.LabelDescriptor)

func (*AuditedResourceDescriptor) SetMetaFields

func (m *AuditedResourceDescriptor) SetMetaFields(fv []string)

func (*AuditedResourceDescriptor) SetMetadata

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

func (*AuditedResourceDescriptor) SetName

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

func (*AuditedResourceDescriptor) SetPromotedLabelKeySets

func (m *AuditedResourceDescriptor) SetPromotedLabelKeySets(fv []*common.LabelKeySet)

func (*AuditedResourceDescriptor) SetSpecFields

func (m *AuditedResourceDescriptor) SetSpecFields(fv []string)

func (*AuditedResourceDescriptor) SetStateFields

func (m *AuditedResourceDescriptor) SetStateFields(fv []string)

func (*AuditedResourceDescriptor) SetVersions

func (m *AuditedResourceDescriptor) SetVersions(fv []string)

func (*AuditedResourceDescriptor) String

func (m *AuditedResourceDescriptor) String() string

func (*AuditedResourceDescriptor) Unmarshal

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

func (*AuditedResourceDescriptor) UnmarshalJSON

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

type AuditedResourceDescriptorAccess

type AuditedResourceDescriptorAccess interface {
	GetAuditedResourceDescriptor(context.Context, *GetQuery) (*AuditedResourceDescriptor, error)
	BatchGetAuditedResourceDescriptors(context.Context, []*Reference, ...gotenresource.BatchGetOption) error
	QueryAuditedResourceDescriptors(context.Context, *ListQuery) (*QueryResultSnapshot, error)
	WatchAuditedResourceDescriptor(context.Context, *GetQuery, func(*AuditedResourceDescriptorChange) error) error
	WatchAuditedResourceDescriptors(context.Context, *WatchQuery, func(*QueryResultChange) error) error
	SaveAuditedResourceDescriptor(context.Context, *AuditedResourceDescriptor, ...gotenresource.SaveOption) error
	DeleteAuditedResourceDescriptor(context.Context, *Reference, ...gotenresource.DeleteOption) error
}

type AuditedResourceDescriptorChange

type AuditedResourceDescriptorChange struct {

	// AuditedResourceDescriptor change
	//
	// Types that are valid to be assigned to ChangeType:
	//	*AuditedResourceDescriptorChange_Added_
	//	*AuditedResourceDescriptorChange_Modified_
	//	*AuditedResourceDescriptorChange_Current_
	//	*AuditedResourceDescriptorChange_Removed_
	ChangeType isAuditedResourceDescriptorChange_ChangeType `protobuf_oneof:"change_type"`
	// contains filtered or unexported fields
}

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

func (*AuditedResourceDescriptorChange) Descriptor

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

Deprecated, Use AuditedResourceDescriptorChange.ProtoReflect.Descriptor instead.

func (*AuditedResourceDescriptorChange) GetAdded

func (*AuditedResourceDescriptorChange) GetAuditedResourceDescriptor

func (c *AuditedResourceDescriptorChange) GetAuditedResourceDescriptor() *AuditedResourceDescriptor

func (*AuditedResourceDescriptorChange) GetAuditedResourceDescriptorName

func (c *AuditedResourceDescriptorChange) GetAuditedResourceDescriptorName() *Name

func (*AuditedResourceDescriptorChange) GetChangeType

func (m *AuditedResourceDescriptorChange) GetChangeType() isAuditedResourceDescriptorChange_ChangeType

func (*AuditedResourceDescriptorChange) GetCurrent

func (*AuditedResourceDescriptorChange) GetCurrentViewIndex

func (c *AuditedResourceDescriptorChange) GetCurrentViewIndex() int32

func (*AuditedResourceDescriptorChange) GetModified

func (*AuditedResourceDescriptorChange) GetPreviousViewIndex

func (c *AuditedResourceDescriptorChange) GetPreviousViewIndex() int32

func (*AuditedResourceDescriptorChange) GetRawName

func (*AuditedResourceDescriptorChange) GetRawResource added in v0.5.1

func (*AuditedResourceDescriptorChange) GetRemoved

func (*AuditedResourceDescriptorChange) GotenMessage

func (*AuditedResourceDescriptorChange) GotenMessage()

func (*AuditedResourceDescriptorChange) GotenValidate

func (obj *AuditedResourceDescriptorChange) GotenValidate() error

func (*AuditedResourceDescriptorChange) IsAdd

func (*AuditedResourceDescriptorChange) IsCurrent

func (c *AuditedResourceDescriptorChange) IsCurrent() bool

func (*AuditedResourceDescriptorChange) IsDelete

func (c *AuditedResourceDescriptorChange) IsDelete() bool

func (*AuditedResourceDescriptorChange) IsModify

func (c *AuditedResourceDescriptorChange) IsModify() bool

func (*AuditedResourceDescriptorChange) Marshal

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

func (*AuditedResourceDescriptorChange) MarshalJSON

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

func (*AuditedResourceDescriptorChange) ProtoMessage

func (*AuditedResourceDescriptorChange) ProtoMessage()

func (*AuditedResourceDescriptorChange) ProtoReflect

func (*AuditedResourceDescriptorChange) Reset

func (*AuditedResourceDescriptorChange) SetAdded

func (*AuditedResourceDescriptorChange) SetAddedRaw

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

func (*AuditedResourceDescriptorChange) SetChangeType

func (m *AuditedResourceDescriptorChange) SetChangeType(ofv isAuditedResourceDescriptorChange_ChangeType)

func (*AuditedResourceDescriptorChange) SetCurrent

func (*AuditedResourceDescriptorChange) SetCurrentRaw

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

func (*AuditedResourceDescriptorChange) SetDeletedRaw

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

func (*AuditedResourceDescriptorChange) SetModified

func (*AuditedResourceDescriptorChange) SetModifiedRaw

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

func (*AuditedResourceDescriptorChange) SetRemoved

func (*AuditedResourceDescriptorChange) String

func (*AuditedResourceDescriptorChange) Unmarshal

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

func (*AuditedResourceDescriptorChange) UnmarshalJSON

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

type AuditedResourceDescriptorChangeList

type AuditedResourceDescriptorChangeList []*AuditedResourceDescriptorChange

func (AuditedResourceDescriptorChangeList) Append

func (AuditedResourceDescriptorChangeList) AppendList

func (AuditedResourceDescriptorChangeList) At

func (AuditedResourceDescriptorChangeList) Length

func (AuditedResourceDescriptorChangeList) Set

func (AuditedResourceDescriptorChangeList) Slice

type AuditedResourceDescriptorChangeMap

type AuditedResourceDescriptorChangeMap map[Name]*AuditedResourceDescriptorChange

func (AuditedResourceDescriptorChangeMap) Delete

func (AuditedResourceDescriptorChangeMap) ForEach

func (AuditedResourceDescriptorChangeMap) Get

func (AuditedResourceDescriptorChangeMap) Length

func (AuditedResourceDescriptorChangeMap) Set

type AuditedResourceDescriptorChange_Added

type AuditedResourceDescriptorChange_Added struct {
	AuditedResourceDescriptor *AuditedResourceDescriptor `` /* 176-byte string literal not displayed */
	// Integer describing index of added AuditedResourceDescriptor in resulting
	// query view.
	ViewIndex int32 `protobuf:"varint,2,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty" firestore:"viewIndex"`
	// contains filtered or unexported fields
}

AuditedResourceDescriptor has been added to query view

func (*AuditedResourceDescriptorChange_Added) Descriptor

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

Deprecated, Use AuditedResourceDescriptorChange_Added.ProtoReflect.Descriptor instead.

func (*AuditedResourceDescriptorChange_Added) GetAuditedResourceDescriptor

func (m *AuditedResourceDescriptorChange_Added) GetAuditedResourceDescriptor() *AuditedResourceDescriptor

func (*AuditedResourceDescriptorChange_Added) GetViewIndex

func (m *AuditedResourceDescriptorChange_Added) GetViewIndex() int32

func (*AuditedResourceDescriptorChange_Added) GotenMessage

func (*AuditedResourceDescriptorChange_Added) GotenMessage()

func (*AuditedResourceDescriptorChange_Added) GotenValidate

func (obj *AuditedResourceDescriptorChange_Added) GotenValidate() error

func (*AuditedResourceDescriptorChange_Added) Marshal

func (*AuditedResourceDescriptorChange_Added) MarshalJSON

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

func (*AuditedResourceDescriptorChange_Added) ProtoMessage

func (*AuditedResourceDescriptorChange_Added) ProtoMessage()

func (*AuditedResourceDescriptorChange_Added) ProtoReflect

func (*AuditedResourceDescriptorChange_Added) Reset

func (*AuditedResourceDescriptorChange_Added) SetAuditedResourceDescriptor

func (m *AuditedResourceDescriptorChange_Added) SetAuditedResourceDescriptor(fv *AuditedResourceDescriptor)

func (*AuditedResourceDescriptorChange_Added) SetViewIndex

func (m *AuditedResourceDescriptorChange_Added) SetViewIndex(fv int32)

func (*AuditedResourceDescriptorChange_Added) String

func (*AuditedResourceDescriptorChange_Added) Unmarshal

func (*AuditedResourceDescriptorChange_Added) UnmarshalJSON

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

type AuditedResourceDescriptorChange_Added_

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

type AuditedResourceDescriptorChange_Current

type AuditedResourceDescriptorChange_Current struct {
	AuditedResourceDescriptor *AuditedResourceDescriptor `` /* 176-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*AuditedResourceDescriptorChange_Current) Descriptor

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

Deprecated, Use AuditedResourceDescriptorChange_Current.ProtoReflect.Descriptor instead.

func (*AuditedResourceDescriptorChange_Current) GetAuditedResourceDescriptor

func (m *AuditedResourceDescriptorChange_Current) GetAuditedResourceDescriptor() *AuditedResourceDescriptor

func (*AuditedResourceDescriptorChange_Current) GotenMessage

func (*AuditedResourceDescriptorChange_Current) GotenValidate

func (obj *AuditedResourceDescriptorChange_Current) GotenValidate() error

func (*AuditedResourceDescriptorChange_Current) Marshal

func (*AuditedResourceDescriptorChange_Current) MarshalJSON

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

func (*AuditedResourceDescriptorChange_Current) ProtoMessage

func (*AuditedResourceDescriptorChange_Current) ProtoReflect

func (*AuditedResourceDescriptorChange_Current) Reset

func (*AuditedResourceDescriptorChange_Current) SetAuditedResourceDescriptor

func (m *AuditedResourceDescriptorChange_Current) SetAuditedResourceDescriptor(fv *AuditedResourceDescriptor)

func (*AuditedResourceDescriptorChange_Current) String

func (*AuditedResourceDescriptorChange_Current) Unmarshal

func (*AuditedResourceDescriptorChange_Current) UnmarshalJSON

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

type AuditedResourceDescriptorChange_Current_

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

type AuditedResourceDescriptorChange_Modified

type AuditedResourceDescriptorChange_Modified struct {

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

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

func (*AuditedResourceDescriptorChange_Modified) Descriptor

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

Deprecated, Use AuditedResourceDescriptorChange_Modified.ProtoReflect.Descriptor instead.

func (*AuditedResourceDescriptorChange_Modified) GetAuditedResourceDescriptor

func (m *AuditedResourceDescriptorChange_Modified) GetAuditedResourceDescriptor() *AuditedResourceDescriptor

func (*AuditedResourceDescriptorChange_Modified) GetFieldMask

func (*AuditedResourceDescriptorChange_Modified) GetName

func (*AuditedResourceDescriptorChange_Modified) GetPreviousViewIndex

func (m *AuditedResourceDescriptorChange_Modified) GetPreviousViewIndex() int32

func (*AuditedResourceDescriptorChange_Modified) GetViewIndex

func (*AuditedResourceDescriptorChange_Modified) GotenMessage

func (*AuditedResourceDescriptorChange_Modified) GotenValidate

func (obj *AuditedResourceDescriptorChange_Modified) GotenValidate() error

func (*AuditedResourceDescriptorChange_Modified) Marshal

func (*AuditedResourceDescriptorChange_Modified) MarshalJSON

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

func (*AuditedResourceDescriptorChange_Modified) ProtoMessage

func (*AuditedResourceDescriptorChange_Modified) ProtoReflect

func (*AuditedResourceDescriptorChange_Modified) Reset

func (*AuditedResourceDescriptorChange_Modified) SetAuditedResourceDescriptor

func (m *AuditedResourceDescriptorChange_Modified) SetAuditedResourceDescriptor(fv *AuditedResourceDescriptor)

func (*AuditedResourceDescriptorChange_Modified) SetFieldMask

func (*AuditedResourceDescriptorChange_Modified) SetName

func (*AuditedResourceDescriptorChange_Modified) SetPreviousViewIndex

func (m *AuditedResourceDescriptorChange_Modified) SetPreviousViewIndex(fv int32)

func (*AuditedResourceDescriptorChange_Modified) SetViewIndex

func (m *AuditedResourceDescriptorChange_Modified) SetViewIndex(fv int32)

func (*AuditedResourceDescriptorChange_Modified) String

func (*AuditedResourceDescriptorChange_Modified) Unmarshal

func (*AuditedResourceDescriptorChange_Modified) UnmarshalJSON

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

type AuditedResourceDescriptorChange_Modified_

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

type AuditedResourceDescriptorChange_Removed

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

Removed is returned when AuditedResourceDescriptor is deleted or leaves Query view

func (*AuditedResourceDescriptorChange_Removed) Descriptor

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

Deprecated, Use AuditedResourceDescriptorChange_Removed.ProtoReflect.Descriptor instead.

func (*AuditedResourceDescriptorChange_Removed) GetName

func (*AuditedResourceDescriptorChange_Removed) GetViewIndex

func (*AuditedResourceDescriptorChange_Removed) GotenMessage

func (*AuditedResourceDescriptorChange_Removed) GotenValidate

func (obj *AuditedResourceDescriptorChange_Removed) GotenValidate() error

func (*AuditedResourceDescriptorChange_Removed) Marshal

func (*AuditedResourceDescriptorChange_Removed) MarshalJSON

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

func (*AuditedResourceDescriptorChange_Removed) ProtoMessage

func (*AuditedResourceDescriptorChange_Removed) ProtoReflect

func (*AuditedResourceDescriptorChange_Removed) Reset

func (*AuditedResourceDescriptorChange_Removed) SetName

func (*AuditedResourceDescriptorChange_Removed) SetViewIndex

func (m *AuditedResourceDescriptorChange_Removed) SetViewIndex(fv int32)

func (*AuditedResourceDescriptorChange_Removed) String

func (*AuditedResourceDescriptorChange_Removed) Unmarshal

func (*AuditedResourceDescriptorChange_Removed) UnmarshalJSON

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

type AuditedResourceDescriptorChange_Removed_

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

type AuditedResourceDescriptorFieldPathBuilder

type AuditedResourceDescriptorFieldPathBuilder struct{}

func NewAuditedResourceDescriptorFieldPathBuilder

func NewAuditedResourceDescriptorFieldPathBuilder() AuditedResourceDescriptorFieldPathBuilder

func (AuditedResourceDescriptorFieldPathBuilder) Description

func (AuditedResourceDescriptorFieldPathBuilder) DisplayName

func (AuditedResourceDescriptorFieldPathBuilder) Labels

func (AuditedResourceDescriptorFieldPathBuilder) MetaFields

func (AuditedResourceDescriptorFieldPathBuilder) Metadata

func (AuditedResourceDescriptorFieldPathBuilder) Name

func (AuditedResourceDescriptorFieldPathBuilder) PromotedLabelKeySets

func (AuditedResourceDescriptorFieldPathBuilder) SpecFields

func (AuditedResourceDescriptorFieldPathBuilder) StateFields

func (AuditedResourceDescriptorFieldPathBuilder) Versions

type AuditedResourceDescriptorList

type AuditedResourceDescriptorList []*AuditedResourceDescriptor

func (AuditedResourceDescriptorList) Append

func (AuditedResourceDescriptorList) AppendList

func (AuditedResourceDescriptorList) At

func (AuditedResourceDescriptorList) Length

func (AuditedResourceDescriptorList) Set

func (AuditedResourceDescriptorList) Slice

type AuditedResourceDescriptorMap

type AuditedResourceDescriptorMap map[Name]*AuditedResourceDescriptor

func (AuditedResourceDescriptorMap) Delete

func (AuditedResourceDescriptorMap) ForEach

func (AuditedResourceDescriptorMap) Get

func (AuditedResourceDescriptorMap) Length

func (m AuditedResourceDescriptorMap) Length() int

func (AuditedResourceDescriptorMap) Set

type AuditedResourceDescriptorMapPathSelectorMetadataAnnotations

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

func (AuditedResourceDescriptorMapPathSelectorMetadataAnnotations) FieldPath

func (AuditedResourceDescriptorMapPathSelectorMetadataAnnotations) WithArrayOfValues

func (AuditedResourceDescriptorMapPathSelectorMetadataAnnotations) WithValue

type AuditedResourceDescriptorMapPathSelectorMetadataLabels

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

func (AuditedResourceDescriptorMapPathSelectorMetadataLabels) FieldPath

func (AuditedResourceDescriptorMapPathSelectorMetadataLabels) WithArrayOfValues

func (AuditedResourceDescriptorMapPathSelectorMetadataLabels) WithValue

type AuditedResourceDescriptorMapPathSelectorMetadataShards

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

func (AuditedResourceDescriptorMapPathSelectorMetadataShards) FieldPath

func (AuditedResourceDescriptorMapPathSelectorMetadataShards) WithArrayOfValues

func (AuditedResourceDescriptorMapPathSelectorMetadataShards) WithValue

type AuditedResourceDescriptorNameList

type AuditedResourceDescriptorNameList []*Name

func (AuditedResourceDescriptorNameList) Append

func (AuditedResourceDescriptorNameList) AppendList

func (AuditedResourceDescriptorNameList) At

func (AuditedResourceDescriptorNameList) Length

func (AuditedResourceDescriptorNameList) Set

func (AuditedResourceDescriptorNameList) Slice

type AuditedResourceDescriptorPathSelectorDescription

type AuditedResourceDescriptorPathSelectorDescription struct{}

func (AuditedResourceDescriptorPathSelectorDescription) FieldPath

func (AuditedResourceDescriptorPathSelectorDescription) WithArrayOfValues

func (AuditedResourceDescriptorPathSelectorDescription) WithValue

type AuditedResourceDescriptorPathSelectorDisplayName

type AuditedResourceDescriptorPathSelectorDisplayName struct{}

func (AuditedResourceDescriptorPathSelectorDisplayName) FieldPath

func (AuditedResourceDescriptorPathSelectorDisplayName) WithArrayOfValues

func (AuditedResourceDescriptorPathSelectorDisplayName) WithValue

type AuditedResourceDescriptorPathSelectorLabels

type AuditedResourceDescriptorPathSelectorLabels struct{}

func (AuditedResourceDescriptorPathSelectorLabels) FieldPath

func (AuditedResourceDescriptorPathSelectorLabels) Key

func (AuditedResourceDescriptorPathSelectorLabels) Versions

func (AuditedResourceDescriptorPathSelectorLabels) WithArrayOfValues

func (AuditedResourceDescriptorPathSelectorLabels) WithSubArrayItemValue

func (AuditedResourceDescriptorPathSelectorLabels) WithSubArrayOfValues

func (AuditedResourceDescriptorPathSelectorLabels) WithSubPath

func (AuditedResourceDescriptorPathSelectorLabels) WithSubValue

func (AuditedResourceDescriptorPathSelectorLabels) WithValue

type AuditedResourceDescriptorPathSelectorLabelsKey

type AuditedResourceDescriptorPathSelectorLabelsKey struct{}

func (AuditedResourceDescriptorPathSelectorLabelsKey) FieldPath

func (AuditedResourceDescriptorPathSelectorLabelsKey) WithArrayOfValues

func (AuditedResourceDescriptorPathSelectorLabelsKey) WithValue

type AuditedResourceDescriptorPathSelectorLabelsVersions

type AuditedResourceDescriptorPathSelectorLabelsVersions struct{}

func (AuditedResourceDescriptorPathSelectorLabelsVersions) FieldPath

func (AuditedResourceDescriptorPathSelectorLabelsVersions) WithArrayOfValues

func (AuditedResourceDescriptorPathSelectorLabelsVersions) WithItemValue

func (AuditedResourceDescriptorPathSelectorLabelsVersions) WithValue

type AuditedResourceDescriptorPathSelectorMetaFields

type AuditedResourceDescriptorPathSelectorMetaFields struct{}

func (AuditedResourceDescriptorPathSelectorMetaFields) FieldPath

func (AuditedResourceDescriptorPathSelectorMetaFields) WithArrayOfValues

func (AuditedResourceDescriptorPathSelectorMetaFields) WithItemValue

func (AuditedResourceDescriptorPathSelectorMetaFields) WithValue

type AuditedResourceDescriptorPathSelectorMetadata

type AuditedResourceDescriptorPathSelectorMetadata struct{}

func (AuditedResourceDescriptorPathSelectorMetadata) Annotations

func (AuditedResourceDescriptorPathSelectorMetadata) CreateTime

func (AuditedResourceDescriptorPathSelectorMetadata) DeleteTime added in v0.8.0

func (AuditedResourceDescriptorPathSelectorMetadata) FieldPath

func (AuditedResourceDescriptorPathSelectorMetadata) Generation

func (AuditedResourceDescriptorPathSelectorMetadata) Labels

func (AuditedResourceDescriptorPathSelectorMetadata) Lifecycle added in v0.8.0

func (AuditedResourceDescriptorPathSelectorMetadata) OwnerReferences

func (AuditedResourceDescriptorPathSelectorMetadata) ResourceVersion

func (AuditedResourceDescriptorPathSelectorMetadata) Services added in v1.0.21

func (AuditedResourceDescriptorPathSelectorMetadata) Shards

func (AuditedResourceDescriptorPathSelectorMetadata) Syncing

func (AuditedResourceDescriptorPathSelectorMetadata) Tags

func (AuditedResourceDescriptorPathSelectorMetadata) UpdateTime

func (AuditedResourceDescriptorPathSelectorMetadata) Uuid

func (AuditedResourceDescriptorPathSelectorMetadata) WithArrayOfValues

func (AuditedResourceDescriptorPathSelectorMetadata) WithSubArrayItemValue

func (AuditedResourceDescriptorPathSelectorMetadata) WithSubArrayOfValues

func (AuditedResourceDescriptorPathSelectorMetadata) WithSubPath

func (AuditedResourceDescriptorPathSelectorMetadata) WithSubValue

func (AuditedResourceDescriptorPathSelectorMetadata) WithValue

type AuditedResourceDescriptorPathSelectorMetadataAnnotations

type AuditedResourceDescriptorPathSelectorMetadataAnnotations struct{}

func (AuditedResourceDescriptorPathSelectorMetadataAnnotations) FieldPath

func (AuditedResourceDescriptorPathSelectorMetadataAnnotations) WithArrayOfValues

func (AuditedResourceDescriptorPathSelectorMetadataAnnotations) WithKey

func (AuditedResourceDescriptorPathSelectorMetadataAnnotations) WithValue

type AuditedResourceDescriptorPathSelectorMetadataCreateTime

type AuditedResourceDescriptorPathSelectorMetadataCreateTime struct{}

func (AuditedResourceDescriptorPathSelectorMetadataCreateTime) FieldPath

func (AuditedResourceDescriptorPathSelectorMetadataCreateTime) WithArrayOfValues

func (AuditedResourceDescriptorPathSelectorMetadataCreateTime) WithValue

type AuditedResourceDescriptorPathSelectorMetadataDeleteTime added in v0.8.0

type AuditedResourceDescriptorPathSelectorMetadataDeleteTime struct{}

func (AuditedResourceDescriptorPathSelectorMetadataDeleteTime) FieldPath added in v0.8.0

func (AuditedResourceDescriptorPathSelectorMetadataDeleteTime) WithArrayOfValues added in v0.8.0

func (AuditedResourceDescriptorPathSelectorMetadataDeleteTime) WithValue added in v0.8.0

type AuditedResourceDescriptorPathSelectorMetadataGeneration

type AuditedResourceDescriptorPathSelectorMetadataGeneration struct{}

func (AuditedResourceDescriptorPathSelectorMetadataGeneration) FieldPath

func (AuditedResourceDescriptorPathSelectorMetadataGeneration) WithArrayOfValues

func (AuditedResourceDescriptorPathSelectorMetadataGeneration) WithValue

type AuditedResourceDescriptorPathSelectorMetadataLabels

type AuditedResourceDescriptorPathSelectorMetadataLabels struct{}

func (AuditedResourceDescriptorPathSelectorMetadataLabels) FieldPath

func (AuditedResourceDescriptorPathSelectorMetadataLabels) WithArrayOfValues

func (AuditedResourceDescriptorPathSelectorMetadataLabels) WithKey

func (AuditedResourceDescriptorPathSelectorMetadataLabels) WithValue

type AuditedResourceDescriptorPathSelectorMetadataLifecycle added in v0.8.0

type AuditedResourceDescriptorPathSelectorMetadataLifecycle struct{}

func (AuditedResourceDescriptorPathSelectorMetadataLifecycle) BlockDeletion added in v0.8.0

func (AuditedResourceDescriptorPathSelectorMetadataLifecycle) FieldPath added in v0.8.0

func (AuditedResourceDescriptorPathSelectorMetadataLifecycle) State added in v0.8.0

func (AuditedResourceDescriptorPathSelectorMetadataLifecycle) WithArrayOfValues added in v0.8.0

func (AuditedResourceDescriptorPathSelectorMetadataLifecycle) WithValue added in v0.8.0

type AuditedResourceDescriptorPathSelectorMetadataLifecycleBlockDeletion added in v0.8.0

type AuditedResourceDescriptorPathSelectorMetadataLifecycleBlockDeletion struct{}

func (AuditedResourceDescriptorPathSelectorMetadataLifecycleBlockDeletion) FieldPath added in v0.8.0

func (AuditedResourceDescriptorPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues added in v0.8.0

func (AuditedResourceDescriptorPathSelectorMetadataLifecycleBlockDeletion) WithValue added in v0.8.0

type AuditedResourceDescriptorPathSelectorMetadataLifecycleState added in v0.8.0

type AuditedResourceDescriptorPathSelectorMetadataLifecycleState struct{}

func (AuditedResourceDescriptorPathSelectorMetadataLifecycleState) FieldPath added in v0.8.0

func (AuditedResourceDescriptorPathSelectorMetadataLifecycleState) WithArrayOfValues added in v0.8.0

func (AuditedResourceDescriptorPathSelectorMetadataLifecycleState) WithValue added in v0.8.0

type AuditedResourceDescriptorPathSelectorMetadataOwnerReferences

type AuditedResourceDescriptorPathSelectorMetadataOwnerReferences struct{}

func (AuditedResourceDescriptorPathSelectorMetadataOwnerReferences) FieldPath

func (AuditedResourceDescriptorPathSelectorMetadataOwnerReferences) Kind

func (AuditedResourceDescriptorPathSelectorMetadataOwnerReferences) Name

func (AuditedResourceDescriptorPathSelectorMetadataOwnerReferences) Region added in v0.8.0

func (AuditedResourceDescriptorPathSelectorMetadataOwnerReferences) RequiresOwnerReference added in v0.8.0

func (AuditedResourceDescriptorPathSelectorMetadataOwnerReferences) Version added in v0.8.0

func (AuditedResourceDescriptorPathSelectorMetadataOwnerReferences) WithArrayOfValues

func (AuditedResourceDescriptorPathSelectorMetadataOwnerReferences) WithItemValue

func (AuditedResourceDescriptorPathSelectorMetadataOwnerReferences) WithValue

type AuditedResourceDescriptorPathSelectorMetadataOwnerReferencesController

type AuditedResourceDescriptorPathSelectorMetadataOwnerReferencesController struct{}

func (AuditedResourceDescriptorPathSelectorMetadataOwnerReferencesController) FieldPath

func (AuditedResourceDescriptorPathSelectorMetadataOwnerReferencesController) WithArrayOfValues

func (AuditedResourceDescriptorPathSelectorMetadataOwnerReferencesController) WithValue

type AuditedResourceDescriptorPathSelectorMetadataOwnerReferencesKind

type AuditedResourceDescriptorPathSelectorMetadataOwnerReferencesKind struct{}

func (AuditedResourceDescriptorPathSelectorMetadataOwnerReferencesKind) FieldPath

func (AuditedResourceDescriptorPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues

func (AuditedResourceDescriptorPathSelectorMetadataOwnerReferencesKind) WithValue

type AuditedResourceDescriptorPathSelectorMetadataOwnerReferencesName

type AuditedResourceDescriptorPathSelectorMetadataOwnerReferencesName struct{}

func (AuditedResourceDescriptorPathSelectorMetadataOwnerReferencesName) FieldPath

func (AuditedResourceDescriptorPathSelectorMetadataOwnerReferencesName) WithArrayOfValues

func (AuditedResourceDescriptorPathSelectorMetadataOwnerReferencesName) WithValue

type AuditedResourceDescriptorPathSelectorMetadataOwnerReferencesRegion added in v0.8.0

type AuditedResourceDescriptorPathSelectorMetadataOwnerReferencesRegion struct{}

func (AuditedResourceDescriptorPathSelectorMetadataOwnerReferencesRegion) FieldPath added in v0.8.0

func (AuditedResourceDescriptorPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues added in v0.8.0

func (AuditedResourceDescriptorPathSelectorMetadataOwnerReferencesRegion) WithValue added in v0.8.0

type AuditedResourceDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference added in v0.8.0

type AuditedResourceDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}

func (AuditedResourceDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath added in v0.8.0

func (AuditedResourceDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues added in v0.8.0

func (AuditedResourceDescriptorPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue added in v0.8.0

type AuditedResourceDescriptorPathSelectorMetadataOwnerReferencesVersion added in v0.8.0

type AuditedResourceDescriptorPathSelectorMetadataOwnerReferencesVersion struct{}

func (AuditedResourceDescriptorPathSelectorMetadataOwnerReferencesVersion) FieldPath added in v0.8.0

func (AuditedResourceDescriptorPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues added in v0.8.0

func (AuditedResourceDescriptorPathSelectorMetadataOwnerReferencesVersion) WithValue added in v0.8.0

type AuditedResourceDescriptorPathSelectorMetadataResourceVersion

type AuditedResourceDescriptorPathSelectorMetadataResourceVersion struct{}

func (AuditedResourceDescriptorPathSelectorMetadataResourceVersion) FieldPath

func (AuditedResourceDescriptorPathSelectorMetadataResourceVersion) WithArrayOfValues

func (AuditedResourceDescriptorPathSelectorMetadataResourceVersion) WithValue

type AuditedResourceDescriptorPathSelectorMetadataServices added in v1.0.21

type AuditedResourceDescriptorPathSelectorMetadataServices struct{}

func (AuditedResourceDescriptorPathSelectorMetadataServices) AllowedServices added in v1.0.21

func (AuditedResourceDescriptorPathSelectorMetadataServices) FieldPath added in v1.0.21

func (AuditedResourceDescriptorPathSelectorMetadataServices) OwningService added in v1.0.21

func (AuditedResourceDescriptorPathSelectorMetadataServices) WithArrayOfValues added in v1.0.21

func (AuditedResourceDescriptorPathSelectorMetadataServices) WithValue added in v1.0.21

type AuditedResourceDescriptorPathSelectorMetadataServicesAllowedServices added in v1.0.21

type AuditedResourceDescriptorPathSelectorMetadataServicesAllowedServices struct{}

func (AuditedResourceDescriptorPathSelectorMetadataServicesAllowedServices) FieldPath added in v1.0.21

func (AuditedResourceDescriptorPathSelectorMetadataServicesAllowedServices) WithArrayOfValues added in v1.0.21

func (AuditedResourceDescriptorPathSelectorMetadataServicesAllowedServices) WithItemValue added in v1.0.21

func (AuditedResourceDescriptorPathSelectorMetadataServicesAllowedServices) WithValue added in v1.0.21

type AuditedResourceDescriptorPathSelectorMetadataServicesOwningService added in v1.0.21

type AuditedResourceDescriptorPathSelectorMetadataServicesOwningService struct{}

func (AuditedResourceDescriptorPathSelectorMetadataServicesOwningService) FieldPath added in v1.0.21

func (AuditedResourceDescriptorPathSelectorMetadataServicesOwningService) WithArrayOfValues added in v1.0.21

func (AuditedResourceDescriptorPathSelectorMetadataServicesOwningService) WithValue added in v1.0.21

type AuditedResourceDescriptorPathSelectorMetadataShards

type AuditedResourceDescriptorPathSelectorMetadataShards struct{}

func (AuditedResourceDescriptorPathSelectorMetadataShards) FieldPath

func (AuditedResourceDescriptorPathSelectorMetadataShards) WithArrayOfValues

func (AuditedResourceDescriptorPathSelectorMetadataShards) WithKey

func (AuditedResourceDescriptorPathSelectorMetadataShards) WithValue

type AuditedResourceDescriptorPathSelectorMetadataSyncing

type AuditedResourceDescriptorPathSelectorMetadataSyncing struct{}

func (AuditedResourceDescriptorPathSelectorMetadataSyncing) FieldPath

func (AuditedResourceDescriptorPathSelectorMetadataSyncing) OwningRegion

func (AuditedResourceDescriptorPathSelectorMetadataSyncing) Regions

func (AuditedResourceDescriptorPathSelectorMetadataSyncing) WithArrayOfValues

func (AuditedResourceDescriptorPathSelectorMetadataSyncing) WithValue

type AuditedResourceDescriptorPathSelectorMetadataSyncingOwningRegion

type AuditedResourceDescriptorPathSelectorMetadataSyncingOwningRegion struct{}

func (AuditedResourceDescriptorPathSelectorMetadataSyncingOwningRegion) FieldPath

func (AuditedResourceDescriptorPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues

func (AuditedResourceDescriptorPathSelectorMetadataSyncingOwningRegion) WithValue

type AuditedResourceDescriptorPathSelectorMetadataSyncingRegions

type AuditedResourceDescriptorPathSelectorMetadataSyncingRegions struct{}

func (AuditedResourceDescriptorPathSelectorMetadataSyncingRegions) FieldPath

func (AuditedResourceDescriptorPathSelectorMetadataSyncingRegions) WithArrayOfValues

func (AuditedResourceDescriptorPathSelectorMetadataSyncingRegions) WithItemValue

func (AuditedResourceDescriptorPathSelectorMetadataSyncingRegions) WithValue

type AuditedResourceDescriptorPathSelectorMetadataTags

type AuditedResourceDescriptorPathSelectorMetadataTags struct{}

func (AuditedResourceDescriptorPathSelectorMetadataTags) FieldPath

func (AuditedResourceDescriptorPathSelectorMetadataTags) WithArrayOfValues

func (AuditedResourceDescriptorPathSelectorMetadataTags) WithItemValue

func (AuditedResourceDescriptorPathSelectorMetadataTags) WithValue

type AuditedResourceDescriptorPathSelectorMetadataUpdateTime

type AuditedResourceDescriptorPathSelectorMetadataUpdateTime struct{}

func (AuditedResourceDescriptorPathSelectorMetadataUpdateTime) FieldPath

func (AuditedResourceDescriptorPathSelectorMetadataUpdateTime) WithArrayOfValues

func (AuditedResourceDescriptorPathSelectorMetadataUpdateTime) WithValue

type AuditedResourceDescriptorPathSelectorMetadataUuid

type AuditedResourceDescriptorPathSelectorMetadataUuid struct{}

func (AuditedResourceDescriptorPathSelectorMetadataUuid) FieldPath

func (AuditedResourceDescriptorPathSelectorMetadataUuid) WithArrayOfValues

func (AuditedResourceDescriptorPathSelectorMetadataUuid) WithValue

type AuditedResourceDescriptorPathSelectorName

type AuditedResourceDescriptorPathSelectorName struct{}

func (AuditedResourceDescriptorPathSelectorName) FieldPath

func (AuditedResourceDescriptorPathSelectorName) WithArrayOfValues

func (AuditedResourceDescriptorPathSelectorName) WithValue

type AuditedResourceDescriptorPathSelectorPromotedLabelKeySets

type AuditedResourceDescriptorPathSelectorPromotedLabelKeySets struct{}

func (AuditedResourceDescriptorPathSelectorPromotedLabelKeySets) FieldPath

func (AuditedResourceDescriptorPathSelectorPromotedLabelKeySets) Versions

func (AuditedResourceDescriptorPathSelectorPromotedLabelKeySets) WithArrayOfValues

func (AuditedResourceDescriptorPathSelectorPromotedLabelKeySets) WithItemValue

func (AuditedResourceDescriptorPathSelectorPromotedLabelKeySets) WithSubArrayItemValue

func (AuditedResourceDescriptorPathSelectorPromotedLabelKeySets) WithSubArrayOfValues

func (AuditedResourceDescriptorPathSelectorPromotedLabelKeySets) WithSubPath

func (AuditedResourceDescriptorPathSelectorPromotedLabelKeySets) WithSubValue

func (AuditedResourceDescriptorPathSelectorPromotedLabelKeySets) WithValue

type AuditedResourceDescriptorPathSelectorPromotedLabelKeySetsLabelKeys

type AuditedResourceDescriptorPathSelectorPromotedLabelKeySetsLabelKeys struct{}

func (AuditedResourceDescriptorPathSelectorPromotedLabelKeySetsLabelKeys) FieldPath

func (AuditedResourceDescriptorPathSelectorPromotedLabelKeySetsLabelKeys) WithArrayOfValues

func (AuditedResourceDescriptorPathSelectorPromotedLabelKeySetsLabelKeys) WithItemValue

func (AuditedResourceDescriptorPathSelectorPromotedLabelKeySetsLabelKeys) WithValue

type AuditedResourceDescriptorPathSelectorPromotedLabelKeySetsVersions

type AuditedResourceDescriptorPathSelectorPromotedLabelKeySetsVersions struct{}

func (AuditedResourceDescriptorPathSelectorPromotedLabelKeySetsVersions) FieldPath

func (AuditedResourceDescriptorPathSelectorPromotedLabelKeySetsVersions) WithArrayOfValues

func (AuditedResourceDescriptorPathSelectorPromotedLabelKeySetsVersions) WithItemValue

func (AuditedResourceDescriptorPathSelectorPromotedLabelKeySetsVersions) WithValue

type AuditedResourceDescriptorPathSelectorSpecFields

type AuditedResourceDescriptorPathSelectorSpecFields struct{}

func (AuditedResourceDescriptorPathSelectorSpecFields) FieldPath

func (AuditedResourceDescriptorPathSelectorSpecFields) WithArrayOfValues

func (AuditedResourceDescriptorPathSelectorSpecFields) WithItemValue

func (AuditedResourceDescriptorPathSelectorSpecFields) WithValue

type AuditedResourceDescriptorPathSelectorStateFields

type AuditedResourceDescriptorPathSelectorStateFields struct{}

func (AuditedResourceDescriptorPathSelectorStateFields) FieldPath

func (AuditedResourceDescriptorPathSelectorStateFields) WithArrayOfValues

func (AuditedResourceDescriptorPathSelectorStateFields) WithItemValue

func (AuditedResourceDescriptorPathSelectorStateFields) WithValue

type AuditedResourceDescriptorPathSelectorVersions

type AuditedResourceDescriptorPathSelectorVersions struct{}

func (AuditedResourceDescriptorPathSelectorVersions) FieldPath

func (AuditedResourceDescriptorPathSelectorVersions) WithArrayOfValues

func (AuditedResourceDescriptorPathSelectorVersions) WithItemValue

func (AuditedResourceDescriptorPathSelectorVersions) WithValue

type AuditedResourceDescriptorReferenceList

type AuditedResourceDescriptorReferenceList []*Reference

func (AuditedResourceDescriptorReferenceList) Append

func (AuditedResourceDescriptorReferenceList) AppendList

func (AuditedResourceDescriptorReferenceList) At

func (AuditedResourceDescriptorReferenceList) Length

func (AuditedResourceDescriptorReferenceList) Set

func (AuditedResourceDescriptorReferenceList) Slice

type AuditedResourceDescriptor_FieldMask

type AuditedResourceDescriptor_FieldMask struct {
	Paths []AuditedResourceDescriptor_FieldPath
}

func FullAuditedResourceDescriptor_FieldMask

func FullAuditedResourceDescriptor_FieldMask() *AuditedResourceDescriptor_FieldMask

func (*AuditedResourceDescriptor_FieldMask) AppendPath

func (*AuditedResourceDescriptor_FieldMask) AppendRawPath

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

func (*AuditedResourceDescriptor_FieldMask) DecodeFirestore

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

func (*AuditedResourceDescriptor_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*AuditedResourceDescriptor_FieldMask) FilterInputFields

FilterInputFields generates copy of field paths with output_only field paths removed

func (*AuditedResourceDescriptor_FieldMask) FromProtoFieldMask

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

func (*AuditedResourceDescriptor_FieldMask) GetPaths

func (*AuditedResourceDescriptor_FieldMask) GetRawPaths

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

func (*AuditedResourceDescriptor_FieldMask) IsFull

func (fieldMask *AuditedResourceDescriptor_FieldMask) IsFull() bool

func (AuditedResourceDescriptor_FieldMask) Marshal

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

implement methods required by customType

func (AuditedResourceDescriptor_FieldMask) MarshalJSON

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

func (*AuditedResourceDescriptor_FieldMask) PathsCount

func (fieldMask *AuditedResourceDescriptor_FieldMask) PathsCount() int

func (*AuditedResourceDescriptor_FieldMask) Project

func (*AuditedResourceDescriptor_FieldMask) ProjectRaw

func (*AuditedResourceDescriptor_FieldMask) ProtoMessage

func (fieldMask *AuditedResourceDescriptor_FieldMask) ProtoMessage()

func (*AuditedResourceDescriptor_FieldMask) ProtoReflect

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

func (*AuditedResourceDescriptor_FieldMask) Reset

func (fieldMask *AuditedResourceDescriptor_FieldMask) Reset()

func (*AuditedResourceDescriptor_FieldMask) Set

func (fieldMask *AuditedResourceDescriptor_FieldMask) Set(target, source *AuditedResourceDescriptor)

func (*AuditedResourceDescriptor_FieldMask) SetFromCliFlag

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

func (*AuditedResourceDescriptor_FieldMask) SetRaw

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

func (*AuditedResourceDescriptor_FieldMask) Size

func (fieldMask *AuditedResourceDescriptor_FieldMask) Size() int

func (*AuditedResourceDescriptor_FieldMask) String

func (fieldMask *AuditedResourceDescriptor_FieldMask) String() string

func (*AuditedResourceDescriptor_FieldMask) Subtract

func (*AuditedResourceDescriptor_FieldMask) SubtractRaw

func (*AuditedResourceDescriptor_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*AuditedResourceDescriptor_FieldMask) Unmarshal

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

func (*AuditedResourceDescriptor_FieldMask) UnmarshalJSON

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

type AuditedResourceDescriptor_FieldPath

type AuditedResourceDescriptor_FieldPath interface {
	gotenobject.FieldPath
	Selector() AuditedResourceDescriptor_FieldPathSelector
	Get(source *AuditedResourceDescriptor) []interface{}
	GetSingle(source *AuditedResourceDescriptor) (interface{}, bool)
	ClearValue(item *AuditedResourceDescriptor)

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

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

func MustParseAuditedResourceDescriptor_FieldPath

func MustParseAuditedResourceDescriptor_FieldPath(rawField string) AuditedResourceDescriptor_FieldPath

func ParseAuditedResourceDescriptor_FieldPath

func ParseAuditedResourceDescriptor_FieldPath(rawField string) (AuditedResourceDescriptor_FieldPath, error)

type AuditedResourceDescriptor_FieldPathArrayItemValue

type AuditedResourceDescriptor_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	AuditedResourceDescriptor_FieldPath
	ContainsValue(*AuditedResourceDescriptor) bool
}

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

func MustParseAuditedResourceDescriptor_FieldPathArrayItemValue

func MustParseAuditedResourceDescriptor_FieldPathArrayItemValue(pathStr, valueStr string) AuditedResourceDescriptor_FieldPathArrayItemValue

func ParseAuditedResourceDescriptor_FieldPathArrayItemValue

func ParseAuditedResourceDescriptor_FieldPathArrayItemValue(pathStr, valueStr string) (AuditedResourceDescriptor_FieldPathArrayItemValue, error)

ParseAuditedResourceDescriptor_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type AuditedResourceDescriptor_FieldPathArrayOfValues

type AuditedResourceDescriptor_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	AuditedResourceDescriptor_FieldPath
}

AuditedResourceDescriptor_FieldPathArrayOfValues allows storing slice of values for AuditedResourceDescriptor fields according to their type

func MustParseAuditedResourceDescriptor_FieldPathArrayOfValues

func MustParseAuditedResourceDescriptor_FieldPathArrayOfValues(pathStr, valuesStr string) AuditedResourceDescriptor_FieldPathArrayOfValues

func ParseAuditedResourceDescriptor_FieldPathArrayOfValues

func ParseAuditedResourceDescriptor_FieldPathArrayOfValues(pathStr, valuesStr string) (AuditedResourceDescriptor_FieldPathArrayOfValues, error)

type AuditedResourceDescriptor_FieldPathSelector

type AuditedResourceDescriptor_FieldPathSelector int32
const (
	AuditedResourceDescriptor_FieldPathSelectorName                 AuditedResourceDescriptor_FieldPathSelector = 0
	AuditedResourceDescriptor_FieldPathSelectorDisplayName          AuditedResourceDescriptor_FieldPathSelector = 1
	AuditedResourceDescriptor_FieldPathSelectorDescription          AuditedResourceDescriptor_FieldPathSelector = 2
	AuditedResourceDescriptor_FieldPathSelectorLabels               AuditedResourceDescriptor_FieldPathSelector = 3
	AuditedResourceDescriptor_FieldPathSelectorPromotedLabelKeySets AuditedResourceDescriptor_FieldPathSelector = 4
	AuditedResourceDescriptor_FieldPathSelectorVersions             AuditedResourceDescriptor_FieldPathSelector = 5
	AuditedResourceDescriptor_FieldPathSelectorSpecFields           AuditedResourceDescriptor_FieldPathSelector = 6
	AuditedResourceDescriptor_FieldPathSelectorStateFields          AuditedResourceDescriptor_FieldPathSelector = 7
	AuditedResourceDescriptor_FieldPathSelectorMetaFields           AuditedResourceDescriptor_FieldPathSelector = 8
	AuditedResourceDescriptor_FieldPathSelectorMetadata             AuditedResourceDescriptor_FieldPathSelector = 9
)

func (AuditedResourceDescriptor_FieldPathSelector) String

type AuditedResourceDescriptor_FieldPathValue

type AuditedResourceDescriptor_FieldPathValue interface {
	AuditedResourceDescriptor_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **AuditedResourceDescriptor)
	CompareWith(*AuditedResourceDescriptor) (cmp int, comparable bool)
}

AuditedResourceDescriptor_FieldPathValue allows storing values for AuditedResourceDescriptor fields according to their type

func MustParseAuditedResourceDescriptor_FieldPathValue

func MustParseAuditedResourceDescriptor_FieldPathValue(pathStr, valueStr string) AuditedResourceDescriptor_FieldPathValue

func ParseAuditedResourceDescriptor_FieldPathValue

func ParseAuditedResourceDescriptor_FieldPathValue(pathStr, valueStr string) (AuditedResourceDescriptor_FieldPathValue, error)

type AuditedResourceDescriptor_FieldSubPath

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

func (*AuditedResourceDescriptor_FieldSubPath) AsLabelsSubPath

func (*AuditedResourceDescriptor_FieldSubPath) AsMetadataSubPath

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

func (*AuditedResourceDescriptor_FieldSubPath) AsPromotedLabelKeySetsSubPath

func (fps *AuditedResourceDescriptor_FieldSubPath) AsPromotedLabelKeySetsSubPath() (common.LabelKeySet_FieldPath, bool)

func (*AuditedResourceDescriptor_FieldSubPath) ClearValue

func (*AuditedResourceDescriptor_FieldSubPath) ClearValueRaw

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

func (*AuditedResourceDescriptor_FieldSubPath) Get

func (fps *AuditedResourceDescriptor_FieldSubPath) Get(source *AuditedResourceDescriptor) (values []interface{})

Get returns all values pointed by selected field from source AuditedResourceDescriptor

func (*AuditedResourceDescriptor_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*AuditedResourceDescriptor_FieldSubPath) GetRaw

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

func (*AuditedResourceDescriptor_FieldSubPath) GetSingle

func (fps *AuditedResourceDescriptor_FieldSubPath) GetSingle(source *AuditedResourceDescriptor) (interface{}, bool)

GetSingle returns value of selected field from source AuditedResourceDescriptor

func (*AuditedResourceDescriptor_FieldSubPath) GetSingleRaw

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

func (*AuditedResourceDescriptor_FieldSubPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*AuditedResourceDescriptor_FieldSubPath) JSONString

JSONString returns path representation is JSON convention

func (*AuditedResourceDescriptor_FieldSubPath) Selector

func (*AuditedResourceDescriptor_FieldSubPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*AuditedResourceDescriptor_FieldSubPath) String

String returns path representation in proto convention

func (*AuditedResourceDescriptor_FieldSubPath) WithIArrayItemValue

func (*AuditedResourceDescriptor_FieldSubPath) WithIArrayOfValues

func (*AuditedResourceDescriptor_FieldSubPath) WithIValue

func (*AuditedResourceDescriptor_FieldSubPath) WithRawIArrayItemValue

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

func (*AuditedResourceDescriptor_FieldSubPath) WithRawIArrayOfValues

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

func (*AuditedResourceDescriptor_FieldSubPath) WithRawIValue

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

type AuditedResourceDescriptor_FieldSubPathArrayItemValue

type AuditedResourceDescriptor_FieldSubPathArrayItemValue struct {
	AuditedResourceDescriptor_FieldPath
	// contains filtered or unexported fields
}

func (*AuditedResourceDescriptor_FieldSubPathArrayItemValue) AsLabelsPathItemValue

func (*AuditedResourceDescriptor_FieldSubPathArrayItemValue) AsMetadataPathItemValue

func (*AuditedResourceDescriptor_FieldSubPathArrayItemValue) AsPromotedLabelKeySetsPathItemValue

func (*AuditedResourceDescriptor_FieldSubPathArrayItemValue) ContainsValue

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

func (*AuditedResourceDescriptor_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type AuditedResourceDescriptor_FieldSubPathArrayOfValues

type AuditedResourceDescriptor_FieldSubPathArrayOfValues struct {
	AuditedResourceDescriptor_FieldPath
	// contains filtered or unexported fields
}

func (*AuditedResourceDescriptor_FieldSubPathArrayOfValues) AsLabelsPathArrayOfValues

func (*AuditedResourceDescriptor_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues

func (*AuditedResourceDescriptor_FieldSubPathArrayOfValues) AsPromotedLabelKeySetsPathArrayOfValues

func (fpsaov *AuditedResourceDescriptor_FieldSubPathArrayOfValues) AsPromotedLabelKeySetsPathArrayOfValues() (common.LabelKeySet_FieldPathArrayOfValues, bool)

func (*AuditedResourceDescriptor_FieldSubPathArrayOfValues) GetRawValues

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

type AuditedResourceDescriptor_FieldSubPathValue

type AuditedResourceDescriptor_FieldSubPathValue struct {
	AuditedResourceDescriptor_FieldPath
	// contains filtered or unexported fields
}

func (*AuditedResourceDescriptor_FieldSubPathValue) AsLabelsPathValue

func (*AuditedResourceDescriptor_FieldSubPathValue) AsMetadataPathValue

func (*AuditedResourceDescriptor_FieldSubPathValue) AsPromotedLabelKeySetsPathValue

func (fpvs *AuditedResourceDescriptor_FieldSubPathValue) AsPromotedLabelKeySetsPathValue() (common.LabelKeySet_FieldPathValue, bool)

func (*AuditedResourceDescriptor_FieldSubPathValue) CompareWith

func (*AuditedResourceDescriptor_FieldSubPathValue) CompareWithRaw

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

func (*AuditedResourceDescriptor_FieldSubPathValue) GetRawValue

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

func (*AuditedResourceDescriptor_FieldSubPathValue) SetTo

func (*AuditedResourceDescriptor_FieldSubPathValue) SetToRaw

type AuditedResourceDescriptor_FieldTerminalPath

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

func (*AuditedResourceDescriptor_FieldTerminalPath) ClearValue

func (*AuditedResourceDescriptor_FieldTerminalPath) ClearValueRaw

func (*AuditedResourceDescriptor_FieldTerminalPath) Get

func (fp *AuditedResourceDescriptor_FieldTerminalPath) Get(source *AuditedResourceDescriptor) (values []interface{})

Get returns all values pointed by specific field from source AuditedResourceDescriptor

func (*AuditedResourceDescriptor_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*AuditedResourceDescriptor_FieldTerminalPath) GetRaw

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

func (*AuditedResourceDescriptor_FieldTerminalPath) GetSingle

func (fp *AuditedResourceDescriptor_FieldTerminalPath) GetSingle(source *AuditedResourceDescriptor) (interface{}, bool)

GetSingle returns value pointed by specific field of from source AuditedResourceDescriptor

func (*AuditedResourceDescriptor_FieldTerminalPath) GetSingleRaw

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

func (*AuditedResourceDescriptor_FieldTerminalPath) IsLeaf

IsLeaf - whether field path is holds simple value

func (*AuditedResourceDescriptor_FieldTerminalPath) JSONString

JSONString returns path representation is JSON convention

func (*AuditedResourceDescriptor_FieldTerminalPath) Selector

func (*AuditedResourceDescriptor_FieldTerminalPath) SplitIntoTerminalIPaths added in v0.8.0

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

func (*AuditedResourceDescriptor_FieldTerminalPath) String

String returns path representation in proto convention

func (*AuditedResourceDescriptor_FieldTerminalPath) WithIArrayItemValue

func (*AuditedResourceDescriptor_FieldTerminalPath) WithIArrayOfValues

func (*AuditedResourceDescriptor_FieldTerminalPath) WithIValue

func (*AuditedResourceDescriptor_FieldTerminalPath) WithRawIArrayItemValue

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

func (*AuditedResourceDescriptor_FieldTerminalPath) WithRawIArrayOfValues

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

func (*AuditedResourceDescriptor_FieldTerminalPath) WithRawIValue

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

type AuditedResourceDescriptor_FieldTerminalPathArrayItemValue

type AuditedResourceDescriptor_FieldTerminalPathArrayItemValue struct {
	AuditedResourceDescriptor_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AuditedResourceDescriptor_FieldTerminalPathArrayItemValue) AsLabelsItemValue

func (*AuditedResourceDescriptor_FieldTerminalPathArrayItemValue) AsMetaFieldsItemValue

func (fpaiv *AuditedResourceDescriptor_FieldTerminalPathArrayItemValue) AsMetaFieldsItemValue() (string, bool)

func (*AuditedResourceDescriptor_FieldTerminalPathArrayItemValue) AsPromotedLabelKeySetsItemValue

func (fpaiv *AuditedResourceDescriptor_FieldTerminalPathArrayItemValue) AsPromotedLabelKeySetsItemValue() (*common.LabelKeySet, bool)

func (*AuditedResourceDescriptor_FieldTerminalPathArrayItemValue) AsSpecFieldsItemValue

func (fpaiv *AuditedResourceDescriptor_FieldTerminalPathArrayItemValue) AsSpecFieldsItemValue() (string, bool)

func (*AuditedResourceDescriptor_FieldTerminalPathArrayItemValue) AsStateFieldsItemValue

func (fpaiv *AuditedResourceDescriptor_FieldTerminalPathArrayItemValue) AsStateFieldsItemValue() (string, bool)

func (*AuditedResourceDescriptor_FieldTerminalPathArrayItemValue) AsVersionsItemValue

func (*AuditedResourceDescriptor_FieldTerminalPathArrayItemValue) ContainsValue

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

func (*AuditedResourceDescriptor_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*AuditedResourceDescriptor_FieldTerminalPathArrayItemValue) GetSingle

func (*AuditedResourceDescriptor_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type AuditedResourceDescriptor_FieldTerminalPathArrayOfValues

type AuditedResourceDescriptor_FieldTerminalPathArrayOfValues struct {
	AuditedResourceDescriptor_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AuditedResourceDescriptor_FieldTerminalPathArrayOfValues) AsDescriptionArrayOfValues

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

func (*AuditedResourceDescriptor_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues

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

func (*AuditedResourceDescriptor_FieldTerminalPathArrayOfValues) AsLabelsArrayOfValues

func (*AuditedResourceDescriptor_FieldTerminalPathArrayOfValues) AsMetaFieldsArrayOfValues

func (fpaov *AuditedResourceDescriptor_FieldTerminalPathArrayOfValues) AsMetaFieldsArrayOfValues() ([][]string, bool)

func (*AuditedResourceDescriptor_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues

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

func (*AuditedResourceDescriptor_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

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

func (*AuditedResourceDescriptor_FieldTerminalPathArrayOfValues) AsPromotedLabelKeySetsArrayOfValues

func (fpaov *AuditedResourceDescriptor_FieldTerminalPathArrayOfValues) AsPromotedLabelKeySetsArrayOfValues() ([][]*common.LabelKeySet, bool)

func (*AuditedResourceDescriptor_FieldTerminalPathArrayOfValues) AsSpecFieldsArrayOfValues

func (fpaov *AuditedResourceDescriptor_FieldTerminalPathArrayOfValues) AsSpecFieldsArrayOfValues() ([][]string, bool)

func (*AuditedResourceDescriptor_FieldTerminalPathArrayOfValues) AsStateFieldsArrayOfValues

func (fpaov *AuditedResourceDescriptor_FieldTerminalPathArrayOfValues) AsStateFieldsArrayOfValues() ([][]string, bool)

func (*AuditedResourceDescriptor_FieldTerminalPathArrayOfValues) AsVersionsArrayOfValues

func (fpaov *AuditedResourceDescriptor_FieldTerminalPathArrayOfValues) AsVersionsArrayOfValues() ([][]string, bool)

func (*AuditedResourceDescriptor_FieldTerminalPathArrayOfValues) GetRawValues

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

type AuditedResourceDescriptor_FieldTerminalPathValue

type AuditedResourceDescriptor_FieldTerminalPathValue struct {
	AuditedResourceDescriptor_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AuditedResourceDescriptor_FieldTerminalPathValue) AsDescriptionValue

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

func (*AuditedResourceDescriptor_FieldTerminalPathValue) AsDisplayNameValue

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

func (*AuditedResourceDescriptor_FieldTerminalPathValue) AsLabelsValue

func (*AuditedResourceDescriptor_FieldTerminalPathValue) AsMetaFieldsValue

func (fpv *AuditedResourceDescriptor_FieldTerminalPathValue) AsMetaFieldsValue() ([]string, bool)

func (*AuditedResourceDescriptor_FieldTerminalPathValue) AsMetadataValue

func (*AuditedResourceDescriptor_FieldTerminalPathValue) AsNameValue

func (*AuditedResourceDescriptor_FieldTerminalPathValue) AsPromotedLabelKeySetsValue

func (fpv *AuditedResourceDescriptor_FieldTerminalPathValue) AsPromotedLabelKeySetsValue() ([]*common.LabelKeySet, bool)

func (*AuditedResourceDescriptor_FieldTerminalPathValue) AsSpecFieldsValue

func (fpv *AuditedResourceDescriptor_FieldTerminalPathValue) AsSpecFieldsValue() ([]string, bool)

func (*AuditedResourceDescriptor_FieldTerminalPathValue) AsStateFieldsValue

func (fpv *AuditedResourceDescriptor_FieldTerminalPathValue) AsStateFieldsValue() ([]string, bool)

func (*AuditedResourceDescriptor_FieldTerminalPathValue) AsVersionsValue

func (fpv *AuditedResourceDescriptor_FieldTerminalPathValue) AsVersionsValue() ([]string, bool)

func (*AuditedResourceDescriptor_FieldTerminalPathValue) CompareWith

CompareWith compares value in the 'AuditedResourceDescriptor_FieldTerminalPathValue' with the value under path in 'AuditedResourceDescriptor'.

func (*AuditedResourceDescriptor_FieldTerminalPathValue) CompareWithRaw

func (*AuditedResourceDescriptor_FieldTerminalPathValue) GetRawValue

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

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

func (*AuditedResourceDescriptor_FieldTerminalPathValue) SetTo

SetTo stores value for selected field for object AuditedResourceDescriptor

func (*AuditedResourceDescriptor_FieldTerminalPathValue) SetToRaw

type Descriptor

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

func GetDescriptor

func GetDescriptor() *Descriptor

func (*Descriptor) CanBeParentless added in v1.0.21

func (d *Descriptor) CanBeParentless() bool

func (*Descriptor) GetNameDescriptor

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

func (*Descriptor) GetParentResDescriptors added in v1.0.21

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

func (*Descriptor) GetResourceTypeName

func (d *Descriptor) GetResourceTypeName() *gotenresource.TypeName

func (*Descriptor) NewGetQuery

func (d *Descriptor) NewGetQuery() gotenresource.GetQuery

func (*Descriptor) NewListQuery

func (d *Descriptor) NewListQuery() gotenresource.ListQuery

func (*Descriptor) NewNameList

func (d *Descriptor) NewNameList(size, reserved int) gotenresource.NameList

func (*Descriptor) NewParentNameList

func (d *Descriptor) NewParentNameList(size, reserved int) gotenresource.ParentNameList

func (*Descriptor) NewParentReferenceList

func (d *Descriptor) NewParentReferenceList(size, reserved int) gotenresource.ParentReferenceList

func (*Descriptor) NewQueryResultChange

func (d *Descriptor) NewQueryResultChange() gotenresource.QueryResultChange

func (*Descriptor) NewQueryResultSnapshot

func (d *Descriptor) NewQueryResultSnapshot() gotenresource.QueryResultSnapshot

func (*Descriptor) NewReferenceList

func (d *Descriptor) NewReferenceList(size, reserved int) gotenresource.ReferenceList

func (*Descriptor) NewResource

func (d *Descriptor) NewResource() gotenresource.Resource

func (*Descriptor) NewResourceChange

func (d *Descriptor) NewResourceChange() gotenresource.ResourceChange

func (*Descriptor) NewResourceChangeList

func (d *Descriptor) NewResourceChangeList(size, reserved int) gotenresource.ResourceChangeList

func (*Descriptor) NewResourceChangeMap

func (d *Descriptor) NewResourceChangeMap(reserved int) gotenresource.ResourceChangeMap

func (*Descriptor) NewResourceCursor

func (d *Descriptor) NewResourceCursor() gotenresource.Cursor

func (*Descriptor) NewResourceFieldMask added in v0.4.16

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

func (*Descriptor) NewResourceFilter added in v0.4.16

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

func (*Descriptor) NewResourceList

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

func (*Descriptor) NewResourceMap

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

func (*Descriptor) NewResourceName

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

func (*Descriptor) NewResourceOrderBy added in v0.4.16

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

func (*Descriptor) NewResourcePager added in v0.9.0

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

func (*Descriptor) NewSearchQuery

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

func (*Descriptor) NewWatchQuery

func (d *Descriptor) NewWatchQuery() gotenresource.WatchQuery

func (*Descriptor) ParseFieldPath

func (d *Descriptor) ParseFieldPath(raw string) (gotenobject.FieldPath, error)

func (*Descriptor) ParseResourceName

func (d *Descriptor) ParseResourceName(nameStr string) (gotenresource.Name, error)

func (*Descriptor) SupportsMetadata added in v1.0.21

func (d *Descriptor) SupportsMetadata() bool

type Filter

type Filter struct {
	FilterCondition
}

func (*Filter) ConvertToNative

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

func (*Filter) ConvertToType

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

func (*Filter) DecodeFirestore

func (filter *Filter) DecodeFirestore(fpbv *firestorepb.Value) error

func (*Filter) EncodeFirestore

func (filter *Filter) EncodeFirestore() (*firestorepb.Value, error)

firestore encoding/decoding integration

func (*Filter) Equal

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

func (*Filter) Evaluate

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

FilterSlice is a helper for filtering arrays

func (*Filter) GetCondition

func (filter *Filter) GetCondition() FilterCondition

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

func (*Filter) GetRawCondition

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

func (*Filter) HasTrait

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

func (*Filter) Match

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

func (*Filter) ParseProtoString

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

func (*Filter) ProtoString

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

func (*Filter) Receive

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

func (*Filter) SetFromCliFlag

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

func (*Filter) String

func (filter *Filter) String() string

func (*Filter) Type

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

func (*Filter) TypeName

func (filter *Filter) TypeName() string

func (*Filter) Value

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

type FilterBuilder

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

func NewAndFilterBuilder

func NewAndFilterBuilder() *FilterBuilder

func NewFilterBuilder

func NewFilterBuilder() *FilterBuilder

func NewOrFilterBuilder

func NewOrFilterBuilder() *FilterBuilder

func (*FilterBuilder) Filter

func (b *FilterBuilder) Filter() *Filter

func (*FilterBuilder) Where

func (b *FilterBuilder) Where(opts ...gotenfilter.FilterConditionOption) *filterCndBuilder

func (*FilterBuilder) WherePath

func (b *FilterBuilder) WherePath(fp AuditedResourceDescriptor_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 *AuditedResourceDescriptor) bool

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

func AndFilterConditions

func AndFilterConditions(conds ...FilterCondition) FilterCondition

type FilterConditionCompare

type FilterConditionCompare struct {
	Operator filterParser.CompareOperator
	AuditedResourceDescriptor_FieldPathValue
}

func (*FilterConditionCompare) And

func (*FilterConditionCompare) ConditionCompare

func (cond *FilterConditionCompare) ConditionCompare()

func (*FilterConditionCompare) Evaluate

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 (*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 (*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 (*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 (*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 (*FilterConditionContains) SpecifiesRawFieldPath

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

func (*FilterConditionContains) String

func (cond *FilterConditionContains) String() string

type FilterConditionIn

type FilterConditionIn struct {
	AuditedResourceDescriptor_FieldPathArrayOfValues
}

func (*FilterConditionIn) And

func (*FilterConditionIn) ConditionIn

func (cond *FilterConditionIn) ConditionIn()

func (*FilterConditionIn) Evaluate

func (cond *FilterConditionIn) Evaluate(res *AuditedResourceDescriptor) 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 AuditedResourceDescriptor_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 AuditedResourceDescriptor_FieldPath
}

func (*FilterConditionIsNaN) And

func (*FilterConditionIsNaN) ConditionIsNaN

func (cond *FilterConditionIsNaN) ConditionIsNaN()

func (*FilterConditionIsNaN) Evaluate

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 AuditedResourceDescriptor_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 AuditedResourceDescriptor_FieldPath
}

func (*FilterConditionIsNull) And

func (*FilterConditionIsNull) ConditionIsNull

func (cond *FilterConditionIsNull) ConditionIsNull()

func (*FilterConditionIsNull) Evaluate

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 AuditedResourceDescriptor_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 *AuditedResourceDescriptor) 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 AuditedResourceDescriptor_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 {
	AuditedResourceDescriptor_FieldPathArrayOfValues
}

func (*FilterConditionNotIn) And

func (*FilterConditionNotIn) ConditionNotIn

func (cond *FilterConditionNotIn) ConditionNotIn()

func (*FilterConditionNotIn) Evaluate

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 AuditedResourceDescriptor_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      *AuditedResourceDescriptor_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           *AuditedResourceDescriptor_FieldMask
	WithPagingInfo bool
}

func (*ListQuery) GetFieldMask

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

func (*ListQuery) GetFilter

func (q *ListQuery) GetFilter() gotenresource.Filter

func (*ListQuery) GetPager

func (q *ListQuery) GetPager() gotenresource.PagerQuery

func (*ListQuery) GetResourceDescriptor

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

func (*ListQuery) GetWithPagingInfo added in v0.10.1

func (q *ListQuery) GetWithPagingInfo() bool

func (*ListQuery) GotenQuery

func (q *ListQuery) GotenQuery()

func (*ListQuery) SetFieldMask

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

func (*ListQuery) SetFilter

func (q *ListQuery) SetFilter(filter gotenresource.Filter)

func (*ListQuery) SetPager

func (q *ListQuery) SetPager(pager gotenresource.PagerQuery)

func (*ListQuery) SetWithPagingInfo added in v0.10.1

func (q *ListQuery) SetWithPagingInfo(with bool)

func (*ListQuery) String

func (q *ListQuery) String() string

type Name

type Name struct {
	NamePattern
	AuditedResourceDescriptorId string `firestore:"auditedResourceDescriptorId"`
}

func MustParseName

func MustParseName(name string) *Name

func ParseName

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

func ParseNameOrId

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

func (*Name) AsRawReference

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

func (*Name) AsReference

func (name *Name) AsReference() *Reference

func (*Name) ConvertToNative

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

func (*Name) ConvertToType

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

func (*Name) Equal

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

func (*Name) FullyQualifiedName

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

func (*Name) GetIParentName added in v0.8.0

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

func (*Name) GetIUnderlyingParentName added in v0.8.0

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

func (*Name) GetIdParts

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

func (*Name) GetPattern

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

func (*Name) GetResourceDescriptor

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

func (*Name) GetSegments

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

func (*Name) GotenEqual

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

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

func (*Name) HasTrait

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

func (*Name) IsFullyQualified

func (name *Name) IsFullyQualified() bool

func (*Name) IsSpecified

func (name *Name) IsSpecified() bool

func (*Name) Match

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

func (*Name) Matches

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

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

func (*Name) ParseProtoString

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

func (*Name) ProtoString

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

func (*Name) Receive

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

func (*Name) SetFromCliFlag

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

implement CustomTypeCliValue method

func (*Name) SetFromSegments

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

func (*Name) String

func (name *Name) String() string

func (*Name) Type

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

func (*Name) TypeName

func (name *Name) TypeName() string

func (*Name) Value

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

type NameBuilder

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

func NewNameBuilder

func NewNameBuilder() *NameBuilder

func (*NameBuilder) Name

func (b *NameBuilder) Name() *Name

func (*NameBuilder) Reference

func (b *NameBuilder) Reference() *Reference

func (*NameBuilder) SetId

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

type NamePattern

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

type OrderBy

type OrderBy struct {
	OrderByFields []OrderByField
}

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

func (*OrderBy) Compare

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

func (*OrderBy) CompareRaw

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

func (*OrderBy) GetFieldMask

func (orderBy *OrderBy) GetFieldMask() *AuditedResourceDescriptor_FieldMask

func (*OrderBy) GetOrderByFields

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

func (*OrderBy) GetRawFieldMask

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

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

func (*OrderBy) SortRaw

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

func (*OrderBy) String

func (orderBy *OrderBy) String() string

type OrderByField

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

func (*OrderByField) GetDirection

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

func (*OrderByField) GetFieldPath

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

type PagerCursor

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

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

func (*PagerCursor) GetInclusion

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

func (*PagerCursor) GetPageDirection

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

func (*PagerCursor) GetValue

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

func (*PagerCursor) IsEmpty

func (cursor *PagerCursor) IsEmpty() bool

func (*PagerCursor) ParseProtoString

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

func (*PagerCursor) ProtoString

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

func (*PagerCursor) SetCursorValue

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

func (*PagerCursor) SetFromCliFlag

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

func (*PagerCursor) SetInclusion

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

func (*PagerCursor) SetPageDirection

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

func (*PagerCursor) String

func (cursor *PagerCursor) String() string

type PagerQuery

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

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

func MakePagerQuery

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

MakePagerQuery builds pager from API data and applies defaults

func (*PagerQuery) GetCursor

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

func (*PagerQuery) GetLimit

func (p *PagerQuery) GetLimit() int

func (*PagerQuery) GetOrderBy

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

func (*PagerQuery) GetPeekForward

func (p *PagerQuery) GetPeekForward() bool

func (*PagerQuery) GetResourceDescriptor

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

func (*PagerQuery) PageDirection

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

func (*PagerQuery) SetCursor added in v0.8.0

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

func (*PagerQuery) SetLimit added in v0.8.0

func (p *PagerQuery) SetLimit(limit int)

func (*PagerQuery) SetOrderBy added in v0.8.0

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

func (*PagerQuery) SetPageDirection added in v0.8.0

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

func (*PagerQuery) SetPeekForward added in v0.8.0

func (p *PagerQuery) SetPeekForward(peekForward bool)

type QueryResultChange

type QueryResultChange struct {
	Changes        []*AuditedResourceDescriptorChange
	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 {
	AuditedResourceDescriptors []*AuditedResourceDescriptor
	PrevPageCursor             *PagerCursor
	NextPageCursor             *PagerCursor
	TotalResultsCount          int32
	CurrentOffset              int32
}

func (*QueryResultSnapshot) GetNextPageCursor

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

func (*QueryResultSnapshot) GetPagingInfo added in v0.10.1

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

func (*QueryResultSnapshot) GetPrevPageCursor

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

func (*QueryResultSnapshot) GetResults

func (*QueryResultSnapshot) SetCursors

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

func (*QueryResultSnapshot) SetPagingInfo added in v0.10.1

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

func (*QueryResultSnapshot) SetResults

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

type Reference

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

func MakeReference

func MakeReference(name *Name, auditedResourceDescriptor *AuditedResourceDescriptor) (*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) GetAuditedResourceDescriptor

func (ref *Reference) GetAuditedResourceDescriptor() *AuditedResourceDescriptor

func (*Reference) GetIParentName added in v0.8.0

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

func (*Reference) GetIUnderlyingParentName added in v0.8.0

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

func (*Reference) GetIdParts

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

func (*Reference) GetPattern

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

func (*Reference) GetRawResource

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

func (*Reference) GetResourceDescriptor

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

func (*Reference) 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 *AuditedResourceDescriptor)

func (*Reference) ResolveRaw

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

func (*Reference) Resolved

func (ref *Reference) Resolved() bool

func (*Reference) SetFromCliFlag

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

implement CustomTypeCliValue method

func (*Reference) String

func (ref *Reference) String() string

type WatchQuery

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

func (*WatchQuery) GetMaximumChunkSize

func (q *WatchQuery) GetMaximumChunkSize() int

func (*WatchQuery) GetResumeToken

func (q *WatchQuery) GetResumeToken() string

func (*WatchQuery) GetStartingTime added in v0.9.0

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

func (*WatchQuery) GetWatchType

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

func (*WatchQuery) SetMaximumChunkSize

func (q *WatchQuery) SetMaximumChunkSize(chunkSize int)

func (*WatchQuery) SetResumeToken

func (q *WatchQuery) SetResumeToken(token string)

func (*WatchQuery) SetStartingTime added in v0.9.0

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

func (*WatchQuery) SetWatchType

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

func (*WatchQuery) String added in v0.4.29

func (q *WatchQuery) String() string

Jump to

Keyboard shortcuts

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