Documentation ¶
Index ¶
- Constants
- type Descriptor
- func (d *Descriptor) CanBeParentless() bool
- func (d *Descriptor) GetNameDescriptor() *gotenresource.NameDescriptor
- func (d *Descriptor) GetParentResDescriptors() []gotenresource.Descriptor
- func (d *Descriptor) GetResourceTypeName() *gotenresource.TypeName
- func (d *Descriptor) NewGetQuery() gotenresource.GetQuery
- func (d *Descriptor) NewListQuery() gotenresource.ListQuery
- func (d *Descriptor) NewNameList(size, reserved int) gotenresource.NameList
- func (d *Descriptor) NewParentNameList(size, reserved int) gotenresource.ParentNameList
- func (d *Descriptor) NewParentReferenceList(size, reserved int) gotenresource.ParentReferenceList
- func (d *Descriptor) NewQueryResultChange() gotenresource.QueryResultChange
- func (d *Descriptor) NewQueryResultSnapshot() gotenresource.QueryResultSnapshot
- func (d *Descriptor) NewReferenceList(size, reserved int) gotenresource.ReferenceList
- func (d *Descriptor) NewResource() gotenresource.Resource
- func (d *Descriptor) NewResourceChange() gotenresource.ResourceChange
- func (d *Descriptor) NewResourceChangeList(size, reserved int) gotenresource.ResourceChangeList
- func (d *Descriptor) NewResourceChangeMap(reserved int) gotenresource.ResourceChangeMap
- func (d *Descriptor) NewResourceCursor() gotenresource.Cursor
- func (d *Descriptor) NewResourceFieldMask() gotenobject.FieldMask
- func (d *Descriptor) NewResourceFilter() gotenresource.Filter
- func (d *Descriptor) NewResourceList(size, reserved int) gotenresource.ResourceList
- func (d *Descriptor) NewResourceMap(reserved int) gotenresource.ResourceMap
- func (d *Descriptor) NewResourceName() gotenresource.Name
- func (d *Descriptor) NewResourceOrderBy() gotenresource.OrderBy
- func (d *Descriptor) NewResourcePager() gotenresource.PagerQuery
- func (d *Descriptor) NewSearchQuery() gotenresource.SearchQuery
- func (d *Descriptor) NewWatchQuery() gotenresource.WatchQuery
- func (d *Descriptor) ParseFieldPath(raw string) (gotenobject.FieldPath, error)
- func (d *Descriptor) ParseResourceName(nameStr string) (gotenresource.Name, error)
- func (d *Descriptor) SupportsMetadata() bool
- type Filter
- func (filter *Filter) ConvertToNative(typeDesc reflect.Type) (interface{}, error)
- func (filter *Filter) ConvertToType(typeVal ref.Type) ref.Val
- func (filter *Filter) DecodeFirestore(fpbv *firestorepb.Value) error
- func (filter *Filter) EncodeFirestore() (*firestorepb.Value, error)
- func (filter *Filter) Equal(other ref.Val) ref.Val
- func (filter *Filter) Evaluate(res *Log) bool
- func (filter *Filter) EvaluateRaw(res gotenresource.Resource) bool
- func (filter *Filter) FilterSlice(in []*Log) (out []*Log)
- func (filter *Filter) GetCondition() FilterCondition
- func (filter *Filter) GetRawCondition() gotenresource.FilterCondition
- func (filter *Filter) HasTrait(trait int) bool
- func (filter *Filter) Match(pattern ref.Val) ref.Val
- func (filter *Filter) ParseProtoString(data string) error
- func (filter *Filter) ProtoString() (string, error)
- func (filter *Filter) Receive(function string, overload string, args []ref.Val) ref.Val
- func (filter *Filter) SetFromCliFlag(raw string) error
- func (filter *Filter) String() string
- func (filter *Filter) Type() ref.Type
- func (filter *Filter) TypeName() string
- func (filter *Filter) Value() interface{}
- type FilterBuilder
- func (b *FilterBuilder) Filter() *Filter
- func (b *FilterBuilder) Where(opts ...gotenfilter.FilterConditionOption) *filterCndBuilder
- func (b *FilterBuilder) WherePath(fp Log_FieldPath, opts ...gotenfilter.FilterConditionOption) *filterCndBuilderAnyPath
- func (b *FilterBuilder) With(condOrBuilder FilterBuilderOrCondition, ...) *FilterBuilder
- type FilterBuilderOrCondition
- type FilterCondition
- type FilterConditionCompare
- func (cond *FilterConditionCompare) And(conds ...FilterCondition) FilterCondition
- func (cond *FilterConditionCompare) ConditionCompare()
- func (cond *FilterConditionCompare) Evaluate(res *Log) bool
- func (cond *FilterConditionCompare) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionCompare) GetOperator() filterParser.CompareOperator
- func (cond *FilterConditionCompare) GetRawFieldPath() gotenobject.FieldPath
- func (cond *FilterConditionCompare) GetRawFieldPathValue() gotenobject.FieldPathValue
- func (cond *FilterConditionCompare) Satisfies(other FilterCondition) bool
- func (cond *FilterConditionCompare) SatisfiesRaw(other gotenresource.FilterCondition) bool
- func (cond *FilterConditionCompare) SpecifiesFieldPath(fp Log_FieldPath) bool
- func (cond *FilterConditionCompare) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionCompare) String() string
- type FilterConditionComposite
- func (cond *FilterConditionComposite) And(conds ...FilterCondition) FilterCondition
- func (cond *FilterConditionComposite) ConditionComposite()
- func (cond *FilterConditionComposite) Evaluate(res *Log) bool
- func (cond *FilterConditionComposite) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionComposite) GetOperator() filterParser.CompositeOperator
- func (cond *FilterConditionComposite) GetSubConditions() []gotenresource.FilterCondition
- func (cond *FilterConditionComposite) Satisfies(other FilterCondition) bool
- func (cond *FilterConditionComposite) SatisfiesRaw(other gotenresource.FilterCondition) bool
- func (cond *FilterConditionComposite) SpecifiesFieldPath(fp Log_FieldPath) bool
- func (cond *FilterConditionComposite) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionComposite) String() string
- type FilterConditionContains
- func (cond *FilterConditionContains) And(conds ...FilterCondition) FilterCondition
- func (cond *FilterConditionContains) ConditionContains()
- func (cond *FilterConditionContains) ConditionContainsType() gotenresource.ConditionContainsType
- func (cond *FilterConditionContains) Evaluate(res *Log) bool
- func (cond *FilterConditionContains) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionContains) GetFieldPath() Log_FieldPath
- func (cond *FilterConditionContains) GetRawFieldPath() gotenobject.FieldPath
- func (cond *FilterConditionContains) GetRawFieldPathItemValue() gotenobject.FieldPathArrayItemValue
- func (cond *FilterConditionContains) GetRawFieldPathItemValues() (res []gotenobject.FieldPathArrayItemValue)
- func (cond *FilterConditionContains) Satisfies(other FilterCondition) bool
- func (cond *FilterConditionContains) SatisfiesRaw(other gotenresource.FilterCondition) bool
- func (cond *FilterConditionContains) SpecifiesFieldPath(fp Log_FieldPath) bool
- func (cond *FilterConditionContains) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionContains) String() string
- type FilterConditionIn
- func (cond *FilterConditionIn) And(conds ...FilterCondition) FilterCondition
- func (cond *FilterConditionIn) ConditionIn()
- func (cond *FilterConditionIn) Evaluate(res *Log) bool
- func (cond *FilterConditionIn) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionIn) GetRawFieldPath() gotenobject.FieldPath
- func (cond *FilterConditionIn) GetRawFieldPathArrayOfValues() gotenobject.FieldPathArrayOfValues
- func (cond *FilterConditionIn) Satisfies(other FilterCondition) bool
- func (cond *FilterConditionIn) SatisfiesRaw(other gotenresource.FilterCondition) bool
- func (cond *FilterConditionIn) SpecifiesFieldPath(fp Log_FieldPath) bool
- func (cond *FilterConditionIn) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionIn) String() string
- type FilterConditionIsNaN
- func (cond *FilterConditionIsNaN) And(conds ...FilterCondition) FilterCondition
- func (cond *FilterConditionIsNaN) ConditionIsNaN()
- func (cond *FilterConditionIsNaN) Evaluate(res *Log) bool
- func (cond *FilterConditionIsNaN) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionIsNaN) GetRawFieldPath() gotenobject.FieldPath
- func (cond *FilterConditionIsNaN) Satisfies(other FilterCondition) bool
- func (cond *FilterConditionIsNaN) SatisfiesRaw(other gotenresource.FilterCondition) bool
- func (cond *FilterConditionIsNaN) SpecifiesFieldPath(fp Log_FieldPath) bool
- func (cond *FilterConditionIsNaN) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionIsNaN) String() string
- type FilterConditionIsNull
- func (cond *FilterConditionIsNull) And(conds ...FilterCondition) FilterCondition
- func (cond *FilterConditionIsNull) ConditionIsNull()
- func (cond *FilterConditionIsNull) Evaluate(res *Log) bool
- func (cond *FilterConditionIsNull) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionIsNull) GetRawFieldPath() gotenobject.FieldPath
- func (cond *FilterConditionIsNull) NotNull() bool
- func (cond *FilterConditionIsNull) Satisfies(other FilterCondition) bool
- func (cond *FilterConditionIsNull) SatisfiesRaw(other gotenresource.FilterCondition) bool
- func (cond *FilterConditionIsNull) SpecifiesFieldPath(fp Log_FieldPath) bool
- func (cond *FilterConditionIsNull) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionIsNull) String() string
- type FilterConditionNot
- func (cond *FilterConditionNot) And(conds ...FilterCondition) FilterCondition
- func (cond *FilterConditionNot) ConditionNot()
- func (cond *FilterConditionNot) Evaluate(res *Log) bool
- func (cond *FilterConditionNot) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionNot) GetSubCondition() gotenresource.FilterCondition
- func (cond *FilterConditionNot) Satisfies(other FilterCondition) bool
- func (cond *FilterConditionNot) SatisfiesRaw(other gotenresource.FilterCondition) bool
- func (cond *FilterConditionNot) SpecifiesFieldPath(fp Log_FieldPath) bool
- func (cond *FilterConditionNot) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionNot) String() string
- type FilterConditionNotIn
- func (cond *FilterConditionNotIn) And(conds ...FilterCondition) FilterCondition
- func (cond *FilterConditionNotIn) ConditionNotIn()
- func (cond *FilterConditionNotIn) Evaluate(res *Log) bool
- func (cond *FilterConditionNotIn) EvaluateRaw(res gotenresource.Resource) bool
- func (cond *FilterConditionNotIn) GetRawFieldPath() gotenobject.FieldPath
- func (cond *FilterConditionNotIn) GetRawFieldPathArrayOfValues() gotenobject.FieldPathArrayOfValues
- func (cond *FilterConditionNotIn) Satisfies(other FilterCondition) bool
- func (cond *FilterConditionNotIn) SatisfiesRaw(other gotenresource.FilterCondition) bool
- func (cond *FilterConditionNotIn) SpecifiesFieldPath(fp Log_FieldPath) bool
- func (cond *FilterConditionNotIn) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
- func (cond *FilterConditionNotIn) String() string
- type Log
- func (o *Log) Clone() *Log
- func (o *Log) CloneRaw() gotenobject.GotenObjectExt
- func (*Log) Descriptor() ([]byte, []int)
- func (r *Log) EnsureMetadata() *meta.Meta
- func (m *Log) GetLabels() map[string]string
- func (m *Log) GetLogDescriptor() *log_descriptor.Reference
- func (r *Log) GetMetadata() *meta.Meta
- func (m *Log) GetName() *Name
- func (m *Log) GetPayload() *structpb.Struct
- func (r *Log) GetRawName() gotenresource.Name
- func (m *Log) GetRegion() string
- func (r *Log) GetResourceDescriptor() gotenresource.Descriptor
- func (m *Log) GetScope() string
- func (m *Log) GetService() string
- func (m *Log) GetTime() *timestamppb.Timestamp
- func (m *Log) GetVersion() string
- func (*Log) GotenMessage()
- func (o *Log) GotenObjectExt()
- func (obj *Log) GotenValidate() error
- func (o *Log) MakeDiffFieldMask(other *Log) *Log_FieldMask
- func (o *Log) MakeFullFieldMask() *Log_FieldMask
- func (o *Log) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask
- func (o *Log) MakeRawFullFieldMask() gotenobject.FieldMask
- func (m *Log) Marshal() ([]byte, error)
- func (m *Log) MarshalJSON() ([]byte, error)
- func (r *Log) MaybePopulateDefaults() error
- func (o *Log) Merge(source *Log)
- func (o *Log) MergeRaw(source gotenobject.GotenObjectExt)
- func (*Log) ProtoMessage()
- func (m *Log) ProtoReflect() preflect.Message
- func (m *Log) Reset()
- func (m *Log) SetLabels(fv map[string]string)
- func (m *Log) SetLogDescriptor(fv *log_descriptor.Reference)
- func (m *Log) SetName(fv *Name)
- func (m *Log) SetPayload(fv *structpb.Struct)
- func (m *Log) SetRegion(fv string)
- func (m *Log) SetScope(fv string)
- func (m *Log) SetService(fv string)
- func (m *Log) SetTime(fv *timestamppb.Timestamp)
- func (m *Log) SetVersion(fv string)
- func (m *Log) String() string
- func (m *Log) Unmarshal(b []byte) error
- func (m *Log) UnmarshalJSON(data []byte) error
- type LogFieldPathBuilder
- func (LogFieldPathBuilder) Labels() LogPathSelectorLabels
- func (LogFieldPathBuilder) LogDescriptor() LogPathSelectorLogDescriptor
- func (LogFieldPathBuilder) Name() LogPathSelectorName
- func (LogFieldPathBuilder) Payload() LogPathSelectorPayload
- func (LogFieldPathBuilder) Region() LogPathSelectorRegion
- func (LogFieldPathBuilder) Scope() LogPathSelectorScope
- func (LogFieldPathBuilder) Service() LogPathSelectorService
- func (LogFieldPathBuilder) Time() LogPathSelectorTime
- func (LogFieldPathBuilder) Version() LogPathSelectorVersion
- type LogList
- func (l LogList) Append(item gotenresource.Resource) gotenresource.ResourceList
- func (l LogList) AppendList(list gotenresource.ResourceList) gotenresource.ResourceList
- func (l LogList) At(idx int) gotenresource.Resource
- func (l LogList) Length() int
- func (l LogList) Set(idx int, res gotenresource.Resource)
- func (l LogList) Slice(first, second int) gotenresource.ResourceList
- type LogMap
- type LogMapPathSelectorLabels
- type LogNameList
- func (l LogNameList) Append(name gotenresource.Name) gotenresource.NameList
- func (l LogNameList) AppendList(list gotenresource.NameList) gotenresource.NameList
- func (l LogNameList) At(idx int) gotenresource.Name
- func (l LogNameList) Length() int
- func (l LogNameList) Set(idx int, name gotenresource.Name)
- func (l LogNameList) Slice(first, second int) gotenresource.NameList
- type LogParentNameList
- func (l LogParentNameList) Append(name gotenresource.Name) gotenresource.ParentNameList
- func (l LogParentNameList) AppendList(list gotenresource.ParentNameList) gotenresource.ParentNameList
- func (l LogParentNameList) At(idx int) gotenresource.Name
- func (l LogParentNameList) Length() int
- func (l LogParentNameList) Set(idx int, name gotenresource.Name)
- func (l LogParentNameList) Slice(first, second int) gotenresource.ParentNameList
- type LogParentReferenceList
- func (l LogParentReferenceList) Append(ref gotenresource.Reference) gotenresource.ParentReferenceList
- func (l LogParentReferenceList) AppendList(list gotenresource.ParentReferenceList) gotenresource.ParentReferenceList
- func (l LogParentReferenceList) At(idx int) gotenresource.Reference
- func (l LogParentReferenceList) Length() int
- func (l LogParentReferenceList) Set(idx int, ref gotenresource.Reference)
- func (l LogParentReferenceList) Slice(first, second int) gotenresource.ParentReferenceList
- type LogPathSelectorLabels
- func (LogPathSelectorLabels) FieldPath() *Log_FieldTerminalPath
- func (s LogPathSelectorLabels) WithArrayOfValues(values []map[string]string) *Log_FieldTerminalPathArrayOfValues
- func (LogPathSelectorLabels) WithKey(key string) LogMapPathSelectorLabels
- func (s LogPathSelectorLabels) WithValue(value map[string]string) *Log_FieldTerminalPathValue
- type LogPathSelectorLogDescriptor
- func (LogPathSelectorLogDescriptor) FieldPath() *Log_FieldTerminalPath
- func (s LogPathSelectorLogDescriptor) WithArrayOfValues(values []*log_descriptor.Reference) *Log_FieldTerminalPathArrayOfValues
- func (s LogPathSelectorLogDescriptor) WithValue(value *log_descriptor.Reference) *Log_FieldTerminalPathValue
- type LogPathSelectorName
- type LogPathSelectorPayload
- type LogPathSelectorRegion
- type LogPathSelectorScope
- type LogPathSelectorService
- type LogPathSelectorTime
- type LogPathSelectorVersion
- type LogReferenceList
- func (l LogReferenceList) Append(ref gotenresource.Reference) gotenresource.ReferenceList
- func (l LogReferenceList) AppendList(list gotenresource.ReferenceList) gotenresource.ReferenceList
- func (l LogReferenceList) At(idx int) gotenresource.Reference
- func (l LogReferenceList) Length() int
- func (l LogReferenceList) Set(idx int, ref gotenresource.Reference)
- func (l LogReferenceList) Slice(first, second int) gotenresource.ReferenceList
- type Log_FieldMask
- func (fieldMask *Log_FieldMask) AppendPath(path Log_FieldPath)
- func (fieldMask *Log_FieldMask) AppendRawPath(path gotenobject.FieldPath)
- func (fieldMask *Log_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error
- func (fieldMask *Log_FieldMask) EncodeFirestore() (*firestorepb.Value, error)
- func (fieldMask *Log_FieldMask) FilterInputFields() *Log_FieldMask
- func (fieldMask *Log_FieldMask) FromProtoFieldMask(protoFieldMask *googlefieldmaskpb.FieldMask) error
- func (fieldMask *Log_FieldMask) GetPaths() []Log_FieldPath
- func (fieldMask *Log_FieldMask) GetRawPaths() []gotenobject.FieldPath
- func (fieldMask *Log_FieldMask) IsFull() bool
- func (fieldMask Log_FieldMask) Marshal() ([]byte, error)
- func (fieldMask Log_FieldMask) MarshalJSON() ([]byte, error)
- func (fieldMask *Log_FieldMask) PathsCount() int
- func (fieldMask *Log_FieldMask) Project(source *Log) *Log
- func (fieldMask *Log_FieldMask) ProjectRaw(source gotenobject.GotenObjectExt) gotenobject.GotenObjectExt
- func (fieldMask *Log_FieldMask) ProtoMessage()
- func (fieldMask *Log_FieldMask) ProtoReflect() preflect.Message
- func (fieldMask *Log_FieldMask) Reset()
- func (fieldMask *Log_FieldMask) Set(target, source *Log)
- func (fieldMask *Log_FieldMask) SetFromCliFlag(raw string) error
- func (fieldMask *Log_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)
- func (fieldMask *Log_FieldMask) Size() int
- func (fieldMask *Log_FieldMask) String() string
- func (fieldMask *Log_FieldMask) Subtract(other *Log_FieldMask) *Log_FieldMask
- func (fieldMask *Log_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask
- func (fieldMask *Log_FieldMask) ToProtoFieldMask() *googlefieldmaskpb.FieldMask
- func (fieldMask *Log_FieldMask) Unmarshal(data []byte) error
- func (fieldMask *Log_FieldMask) UnmarshalJSON(data []byte) error
- type Log_FieldPath
- type Log_FieldPathArrayItemValue
- type Log_FieldPathArrayOfValues
- type Log_FieldPathMap
- func (fpm *Log_FieldPathMap) ClearValue(item *Log)
- func (fpm *Log_FieldPathMap) ClearValueRaw(item proto.Message)
- func (fpm *Log_FieldPathMap) Get(source *Log) (values []interface{})
- func (fpm *Log_FieldPathMap) GetDefault() interface{}
- func (fpm *Log_FieldPathMap) GetRaw(source proto.Message) []interface{}
- func (fpm *Log_FieldPathMap) GetSingle(source *Log) (interface{}, bool)
- func (fpm *Log_FieldPathMap) GetSingleRaw(source proto.Message) (interface{}, bool)
- func (fpm *Log_FieldPathMap) IsLeaf() bool
- func (fpm *Log_FieldPathMap) JSONString() string
- func (fpm *Log_FieldPathMap) Key() string
- func (fpm *Log_FieldPathMap) Selector() Log_FieldPathSelector
- func (fpm *Log_FieldPathMap) SplitIntoTerminalIPaths() []gotenobject.FieldPath
- func (fpm *Log_FieldPathMap) String() string
- func (fpm *Log_FieldPathMap) WithIArrayItemValue(value interface{}) Log_FieldPathArrayItemValue
- func (fpm *Log_FieldPathMap) WithIArrayOfValues(values interface{}) Log_FieldPathArrayOfValues
- func (fpm *Log_FieldPathMap) WithIValue(value interface{}) Log_FieldPathValue
- func (fpm *Log_FieldPathMap) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
- func (fpm *Log_FieldPathMap) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
- func (fpm *Log_FieldPathMap) WithRawIValue(value interface{}) gotenobject.FieldPathValue
- type Log_FieldPathMapArrayOfValues
- type Log_FieldPathMapValue
- func (fpmv *Log_FieldPathMapValue) AsLabelsElementValue() (string, bool)
- func (fpmv *Log_FieldPathMapValue) CompareWith(source *Log) (int, bool)
- func (fpmv *Log_FieldPathMapValue) CompareWithRaw(source proto.Message) (int, bool)
- func (fpmv *Log_FieldPathMapValue) GetRawValue() interface{}
- func (fpmv *Log_FieldPathMapValue) SetTo(target **Log)
- func (fpmv *Log_FieldPathMapValue) SetToRaw(target proto.Message)
- type Log_FieldPathSelector
- type Log_FieldPathValue
- type Log_FieldTerminalPath
- func (fp *Log_FieldTerminalPath) ClearValue(item *Log)
- func (fp *Log_FieldTerminalPath) ClearValueRaw(item proto.Message)
- func (fp *Log_FieldTerminalPath) Get(source *Log) (values []interface{})
- func (fp *Log_FieldTerminalPath) GetDefault() interface{}
- func (fp *Log_FieldTerminalPath) GetRaw(source proto.Message) []interface{}
- func (fp *Log_FieldTerminalPath) GetSingle(source *Log) (interface{}, bool)
- func (fp *Log_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)
- func (fp *Log_FieldTerminalPath) IsLeaf() bool
- func (fp *Log_FieldTerminalPath) JSONString() string
- func (fp *Log_FieldTerminalPath) Selector() Log_FieldPathSelector
- func (fp *Log_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
- func (fp *Log_FieldTerminalPath) String() string
- func (fp *Log_FieldTerminalPath) WithIArrayItemValue(value interface{}) Log_FieldPathArrayItemValue
- func (fp *Log_FieldTerminalPath) WithIArrayOfValues(values interface{}) Log_FieldPathArrayOfValues
- func (fp *Log_FieldTerminalPath) WithIValue(value interface{}) Log_FieldPathValue
- func (fp *Log_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
- func (fp *Log_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
- func (fp *Log_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
- type Log_FieldTerminalPathArrayItemValue
- func (fpaiv *Log_FieldTerminalPathArrayItemValue) ContainsValue(source *Log) bool
- func (fpaiv *Log_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}
- func (fpaiv *Log_FieldTerminalPathArrayItemValue) GetSingle(source *Log) (interface{}, bool)
- func (fpaiv *Log_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)
- type Log_FieldTerminalPathArrayOfValues
- func (fpaov *Log_FieldTerminalPathArrayOfValues) AsLabelsArrayOfValues() ([]map[string]string, bool)
- func (fpaov *Log_FieldTerminalPathArrayOfValues) AsLogDescriptorArrayOfValues() ([]*log_descriptor.Reference, bool)
- func (fpaov *Log_FieldTerminalPathArrayOfValues) AsNameArrayOfValues() ([]*Name, bool)
- func (fpaov *Log_FieldTerminalPathArrayOfValues) AsPayloadArrayOfValues() ([]*structpb.Struct, bool)
- func (fpaov *Log_FieldTerminalPathArrayOfValues) AsRegionArrayOfValues() ([]string, bool)
- func (fpaov *Log_FieldTerminalPathArrayOfValues) AsScopeArrayOfValues() ([]string, bool)
- func (fpaov *Log_FieldTerminalPathArrayOfValues) AsServiceArrayOfValues() ([]string, bool)
- func (fpaov *Log_FieldTerminalPathArrayOfValues) AsTimeArrayOfValues() ([]*timestamppb.Timestamp, bool)
- func (fpaov *Log_FieldTerminalPathArrayOfValues) AsVersionArrayOfValues() ([]string, bool)
- func (fpaov *Log_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})
- type Log_FieldTerminalPathValue
- func (fpv *Log_FieldTerminalPathValue) AsLabelsValue() (map[string]string, bool)
- func (fpv *Log_FieldTerminalPathValue) AsLogDescriptorValue() (*log_descriptor.Reference, bool)
- func (fpv *Log_FieldTerminalPathValue) AsNameValue() (*Name, bool)
- func (fpv *Log_FieldTerminalPathValue) AsPayloadValue() (*structpb.Struct, bool)
- func (fpv *Log_FieldTerminalPathValue) AsRegionValue() (string, bool)
- func (fpv *Log_FieldTerminalPathValue) AsScopeValue() (string, bool)
- func (fpv *Log_FieldTerminalPathValue) AsServiceValue() (string, bool)
- func (fpv *Log_FieldTerminalPathValue) AsTimeValue() (*timestamppb.Timestamp, bool)
- func (fpv *Log_FieldTerminalPathValue) AsVersionValue() (string, bool)
- func (fpv *Log_FieldTerminalPathValue) CompareWith(source *Log) (int, bool)
- func (fpv *Log_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)
- func (fpv *Log_FieldTerminalPathValue) GetRawValue() interface{}
- func (fpv *Log_FieldTerminalPathValue) SetTo(target **Log)
- func (fpv *Log_FieldTerminalPathValue) SetToRaw(target proto.Message)
- type Name
- func (name *Name) AsRawReference() gotenresource.Reference
- func (name *Name) AsReference() *Reference
- func (name *Name) ConvertToNative(typeDesc reflect.Type) (interface{}, error)
- func (name *Name) ConvertToType(typeVal ref.Type) ref.Val
- func (name *Name) Equal(other ref.Val) ref.Val
- func (name *Name) FullyQualifiedName() (string, error)
- func (name *Name) GetIParentName() gotenresource.Name
- func (name *Name) GetIUnderlyingParentName() gotenresource.Name
- func (name *Name) GetIdParts() map[string]string
- func (name *Name) GetOrganizationName() *iam_organization.Name
- func (name *Name) GetPattern() gotenresource.NamePattern
- func (name *Name) GetProjectName() *iam_project.Name
- func (name *Name) GetResourceDescriptor() gotenresource.Descriptor
- func (name *Name) GetSegments() gotenresource.NameSegments
- func (name *Name) GotenEqual(other interface{}) bool
- func (name *Name) HasTrait(trait int) bool
- func (name *Name) IsFullyQualified() bool
- func (name *Name) IsSpecified() bool
- func (name *Name) Match(pattern ref.Val) ref.Val
- func (name *Name) Matches(other interface{}) bool
- func (name *Name) ParseProtoString(data string) error
- func (name *Name) ProtoString() (string, error)
- func (name *Name) Receive(function string, overload string, args []ref.Val) ref.Val
- func (name *Name) SetFromCliFlag(raw string) error
- func (name *Name) SetFromSegments(segments gotenresource.NameSegments) error
- func (name *Name) String() string
- func (name *Name) Type() ref.Type
- func (name *Name) TypeName() string
- func (name *Name) Value() interface{}
- type NameBuilder
- func (b *NameBuilder) Name() *Name
- func (b *NameBuilder) Parent() *ParentName
- func (b *NameBuilder) ParentReference() *ParentReference
- func (b *NameBuilder) Reference() *Reference
- func (b *NameBuilder) SetId(id string) *NameBuilder
- func (b *NameBuilder) SetOrganization(parent *iam_organization.Name) *NameBuilder
- func (b *NameBuilder) SetOrganizationId(id string) *NameBuilder
- func (b *NameBuilder) SetProject(parent *iam_project.Name) *NameBuilder
- func (b *NameBuilder) SetProjectId(id string) *NameBuilder
- type NamePattern
- type ParentName
- func (name *ParentName) AsRawReference() gotenresource.Reference
- func (name *ParentName) AsReference() *ParentReference
- func (name *ParentName) ConvertToNative(typeDesc reflect.Type) (interface{}, error)
- func (name *ParentName) ConvertToType(typeVal ref.Type) ref.Val
- func (name *ParentName) DescendsFrom(ancestor string) bool
- func (name *ParentName) Equal(other ref.Val) ref.Val
- func (name *ParentName) FullyQualifiedName() (string, error)
- func (name *ParentName) GetIParentName() gotenresource.Name
- func (name *ParentName) GetIUnderlyingParentName() gotenresource.Name
- func (name *ParentName) GetIdParts() map[string]string
- func (name *ParentName) GetOrganizationName() *iam_organization.Name
- func (name *ParentName) GetPattern() gotenresource.NamePattern
- func (name *ParentName) GetProjectName() *iam_project.Name
- func (name *ParentName) GetResourceDescriptor() gotenresource.Descriptor
- func (name *ParentName) GetSegments() gotenresource.NameSegments
- func (name *ParentName) GotenEqual(other interface{}) bool
- func (name *ParentName) HasTrait(trait int) bool
- func (name *ParentName) IsFullyQualified() bool
- func (name *ParentName) IsSpecified() bool
- func (name *ParentName) Match(pattern ref.Val) ref.Val
- func (name *ParentName) Matches(other interface{}) bool
- func (name *ParentName) ParseProtoString(data string) error
- func (name *ParentName) ProtoString() (string, error)
- func (name *ParentName) Receive(function string, overload string, args []ref.Val) ref.Val
- func (name *ParentName) SetFromCliFlag(raw string) error
- func (name *ParentName) SetFromSegments(segments gotenresource.NameSegments) error
- func (name *ParentName) String() string
- func (name *ParentName) Type() ref.Type
- func (name *ParentName) TypeName() string
- func (name *ParentName) Value() interface{}
- type ParentReference
- func (ref *ParentReference) ClearCached()
- func (ref *ParentReference) GetIParentName() gotenresource.Name
- func (ref *ParentReference) GetIUnderlyingParentName() gotenresource.Name
- func (ref *ParentReference) GetIdParts() map[string]string
- func (ref *ParentReference) GetOrganization() *iam_organization.Organization
- func (ref *ParentReference) GetOrganizationReference() *iam_organization.Reference
- func (ref *ParentReference) GetPattern() gotenresource.NamePattern
- func (ref *ParentReference) GetProject() *iam_project.Project
- func (ref *ParentReference) GetProjectReference() *iam_project.Reference
- func (ref *ParentReference) GetRawResource() gotenresource.Resource
- func (ref *ParentReference) GetResourceDescriptor() gotenresource.Descriptor
- func (ref *ParentReference) GetSegments() gotenresource.NameSegments
- func (ref *ParentReference) GetUnderlyingReference() gotenresource.Reference
- func (ref *ParentReference) GotenEqual(other interface{}) bool
- func (ref *ParentReference) IsFullyQualified() bool
- func (ref *ParentReference) IsSpecified() bool
- func (name *ParentReference) Matches(other interface{}) bool
- func (ref *ParentReference) ParseProtoString(data string) error
- func (ref *ParentReference) ProtoString() (string, error)
- func (ref *ParentReference) ResolveRaw(res gotenresource.Resource) error
- func (ref *ParentReference) Resolved() bool
- func (ref *ParentReference) SetFromCliFlag(raw string) error
- func (ref *ParentReference) String() string
- type Reference
- func (ref *Reference) ClearCached()
- func (ref *Reference) FullyQualifiedName() (string, error)
- func (ref *Reference) GetIParentName() gotenresource.Name
- func (ref *Reference) GetIUnderlyingParentName() gotenresource.Name
- func (ref *Reference) GetIdParts() map[string]string
- func (ref *Reference) GetLog() *Log
- func (ref *Reference) GetPattern() gotenresource.NamePattern
- func (ref *Reference) GetRawResource() gotenresource.Resource
- func (ref *Reference) GetResourceDescriptor() gotenresource.Descriptor
- func (ref *Reference) GetSegments() gotenresource.NameSegments
- func (ref *Reference) GotenEqual(other interface{}) bool
- func (ref *Reference) IsFullyQualified() bool
- func (ref *Reference) IsSpecified() bool
- func (name *Reference) Matches(other interface{}) bool
- func (ref *Reference) ParseProtoString(data string) error
- func (ref *Reference) ProtoString() (string, error)
- func (ref *Reference) Resolve(resolved *Log)
- func (ref *Reference) ResolveRaw(res gotenresource.Resource) error
- func (ref *Reference) Resolved() bool
- func (ref *Reference) SetFromCliFlag(raw string) error
- func (ref *Reference) String() string
Constants ¶
const ( NamePattern_Nil = "logs/{log}" NamePattern_Project = "projects/{project}/logs/{log}" NamePattern_Organization = "organizations/{organization}/logs/{log}" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Descriptor ¶
type Descriptor struct {
// contains filtered or unexported fields
}
func GetDescriptor ¶
func GetDescriptor() *Descriptor
func (*Descriptor) CanBeParentless ¶ added in v1.0.21
func (d *Descriptor) CanBeParentless() bool
func (*Descriptor) GetNameDescriptor ¶
func (d *Descriptor) GetNameDescriptor() *gotenresource.NameDescriptor
func (*Descriptor) GetParentResDescriptors ¶ added in v1.0.21
func (d *Descriptor) GetParentResDescriptors() []gotenresource.Descriptor
func (*Descriptor) GetResourceTypeName ¶
func (d *Descriptor) GetResourceTypeName() *gotenresource.TypeName
func (*Descriptor) NewGetQuery ¶
func (d *Descriptor) NewGetQuery() gotenresource.GetQuery
func (*Descriptor) NewListQuery ¶
func (d *Descriptor) NewListQuery() gotenresource.ListQuery
func (*Descriptor) NewNameList ¶
func (d *Descriptor) NewNameList(size, reserved int) gotenresource.NameList
func (*Descriptor) NewParentNameList ¶
func (d *Descriptor) NewParentNameList(size, reserved int) gotenresource.ParentNameList
func (*Descriptor) NewParentReferenceList ¶
func (d *Descriptor) NewParentReferenceList(size, reserved int) gotenresource.ParentReferenceList
func (*Descriptor) NewQueryResultChange ¶
func (d *Descriptor) NewQueryResultChange() gotenresource.QueryResultChange
func (*Descriptor) NewQueryResultSnapshot ¶
func (d *Descriptor) NewQueryResultSnapshot() gotenresource.QueryResultSnapshot
func (*Descriptor) NewReferenceList ¶
func (d *Descriptor) NewReferenceList(size, reserved int) gotenresource.ReferenceList
func (*Descriptor) NewResource ¶
func (d *Descriptor) NewResource() gotenresource.Resource
func (*Descriptor) NewResourceChange ¶
func (d *Descriptor) NewResourceChange() gotenresource.ResourceChange
func (*Descriptor) NewResourceChangeList ¶
func (d *Descriptor) NewResourceChangeList(size, reserved int) gotenresource.ResourceChangeList
func (*Descriptor) NewResourceChangeMap ¶
func (d *Descriptor) NewResourceChangeMap(reserved int) gotenresource.ResourceChangeMap
func (*Descriptor) NewResourceCursor ¶
func (d *Descriptor) NewResourceCursor() gotenresource.Cursor
func (*Descriptor) NewResourceFieldMask ¶
func (d *Descriptor) NewResourceFieldMask() gotenobject.FieldMask
func (*Descriptor) NewResourceFilter ¶
func (d *Descriptor) NewResourceFilter() gotenresource.Filter
func (*Descriptor) NewResourceList ¶
func (d *Descriptor) NewResourceList(size, reserved int) gotenresource.ResourceList
func (*Descriptor) NewResourceMap ¶
func (d *Descriptor) NewResourceMap(reserved int) gotenresource.ResourceMap
func (*Descriptor) NewResourceName ¶
func (d *Descriptor) NewResourceName() gotenresource.Name
func (*Descriptor) NewResourceOrderBy ¶
func (d *Descriptor) NewResourceOrderBy() gotenresource.OrderBy
func (*Descriptor) NewResourcePager ¶ added in v0.9.0
func (d *Descriptor) NewResourcePager() gotenresource.PagerQuery
func (*Descriptor) NewSearchQuery ¶
func (d *Descriptor) NewSearchQuery() gotenresource.SearchQuery
func (*Descriptor) NewWatchQuery ¶
func (d *Descriptor) NewWatchQuery() gotenresource.WatchQuery
func (*Descriptor) ParseFieldPath ¶
func (d *Descriptor) ParseFieldPath(raw string) (gotenobject.FieldPath, error)
func (*Descriptor) ParseResourceName ¶
func (d *Descriptor) ParseResourceName(nameStr string) (gotenresource.Name, error)
func (*Descriptor) SupportsMetadata ¶ added in v1.0.21
func (d *Descriptor) SupportsMetadata() bool
type Filter ¶
type Filter struct {
FilterCondition
}
func (*Filter) ConvertToNative ¶
func (*Filter) 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) EvaluateRaw ¶
func (filter *Filter) EvaluateRaw(res gotenresource.Resource) bool
func (*Filter) FilterSlice ¶
FilterSlice is a helper for filtering arrays
func (*Filter) GetCondition ¶
func (filter *Filter) GetCondition() FilterCondition
GetCondition is a getter of FilterCondition, which also handles nil pointer
func (*Filter) GetRawCondition ¶
func (filter *Filter) GetRawCondition() gotenresource.FilterCondition
func (*Filter) ParseProtoString ¶
func (*Filter) ProtoString ¶
func (*Filter) SetFromCliFlag ¶
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 Log_FieldPath, opts ...gotenfilter.FilterConditionOption) *filterCndBuilderAnyPath
func (*FilterBuilder) With ¶
func (b *FilterBuilder) With(condOrBuilder FilterBuilderOrCondition, opts ...gotenfilter.FilterConditionOption) *FilterBuilder
type FilterBuilderOrCondition ¶
type FilterBuilderOrCondition interface {
// contains filtered or unexported methods
}
type FilterCondition ¶
type FilterCondition interface { gotenresource.FilterCondition And(...FilterCondition) FilterCondition Evaluate(res *Log) bool // Whether this condition is at least as specific as other. // When true, any Log 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 Log_FieldPath) bool // contains filtered or unexported methods }
func AndFilterConditions ¶
func AndFilterConditions(conds ...FilterCondition) FilterCondition
type FilterConditionCompare ¶
type FilterConditionCompare struct { Operator filterParser.CompareOperator Log_FieldPathValue }
func (*FilterConditionCompare) And ¶
func (cond *FilterConditionCompare) And(conds ...FilterCondition) FilterCondition
func (*FilterConditionCompare) ConditionCompare ¶
func (cond *FilterConditionCompare) ConditionCompare()
func (*FilterConditionCompare) Evaluate ¶
func (cond *FilterConditionCompare) Evaluate(res *Log) bool
func (*FilterConditionCompare) EvaluateRaw ¶
func (cond *FilterConditionCompare) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionCompare) GetOperator ¶
func (cond *FilterConditionCompare) GetOperator() filterParser.CompareOperator
func (*FilterConditionCompare) GetRawFieldPath ¶
func (cond *FilterConditionCompare) GetRawFieldPath() gotenobject.FieldPath
func (*FilterConditionCompare) GetRawFieldPathValue ¶
func (cond *FilterConditionCompare) GetRawFieldPathValue() gotenobject.FieldPathValue
func (*FilterConditionCompare) Satisfies ¶
func (cond *FilterConditionCompare) Satisfies(other FilterCondition) bool
func (*FilterConditionCompare) SatisfiesRaw ¶
func (cond *FilterConditionCompare) SatisfiesRaw(other gotenresource.FilterCondition) bool
func (*FilterConditionCompare) SpecifiesFieldPath ¶
func (cond *FilterConditionCompare) SpecifiesFieldPath(fp Log_FieldPath) bool
func (*FilterConditionCompare) SpecifiesRawFieldPath ¶
func (cond *FilterConditionCompare) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
func (*FilterConditionCompare) String ¶
func (cond *FilterConditionCompare) String() string
type FilterConditionComposite ¶
type FilterConditionComposite struct { Operator filterParser.CompositeOperator Conditions []FilterCondition }
func (*FilterConditionComposite) And ¶
func (cond *FilterConditionComposite) And(conds ...FilterCondition) FilterCondition
func (*FilterConditionComposite) ConditionComposite ¶
func (cond *FilterConditionComposite) ConditionComposite()
func (*FilterConditionComposite) Evaluate ¶
func (cond *FilterConditionComposite) Evaluate(res *Log) bool
func (*FilterConditionComposite) EvaluateRaw ¶
func (cond *FilterConditionComposite) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionComposite) GetOperator ¶
func (cond *FilterConditionComposite) GetOperator() filterParser.CompositeOperator
func (*FilterConditionComposite) GetSubConditions ¶
func (cond *FilterConditionComposite) GetSubConditions() []gotenresource.FilterCondition
func (*FilterConditionComposite) Satisfies ¶
func (cond *FilterConditionComposite) Satisfies(other FilterCondition) bool
func (*FilterConditionComposite) SatisfiesRaw ¶
func (cond *FilterConditionComposite) SatisfiesRaw(other gotenresource.FilterCondition) bool
func (*FilterConditionComposite) SpecifiesFieldPath ¶
func (cond *FilterConditionComposite) SpecifiesFieldPath(fp Log_FieldPath) bool
func (*FilterConditionComposite) SpecifiesRawFieldPath ¶
func (cond *FilterConditionComposite) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
func (*FilterConditionComposite) String ¶
func (cond *FilterConditionComposite) String() string
type FilterConditionContains ¶
type FilterConditionContains struct { Type gotenresource.ConditionContainsType FieldPath Log_FieldPath Value Log_FieldPathArrayItemValue Values []Log_FieldPathArrayItemValue }
func (*FilterConditionContains) And ¶
func (cond *FilterConditionContains) And(conds ...FilterCondition) FilterCondition
func (*FilterConditionContains) ConditionContains ¶
func (cond *FilterConditionContains) ConditionContains()
func (*FilterConditionContains) ConditionContainsType ¶
func (cond *FilterConditionContains) ConditionContainsType() gotenresource.ConditionContainsType
func (*FilterConditionContains) Evaluate ¶
func (cond *FilterConditionContains) Evaluate(res *Log) bool
func (*FilterConditionContains) EvaluateRaw ¶
func (cond *FilterConditionContains) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionContains) GetFieldPath ¶
func (cond *FilterConditionContains) GetFieldPath() Log_FieldPath
func (*FilterConditionContains) GetRawFieldPath ¶
func (cond *FilterConditionContains) GetRawFieldPath() gotenobject.FieldPath
func (*FilterConditionContains) GetRawFieldPathItemValue ¶
func (cond *FilterConditionContains) GetRawFieldPathItemValue() gotenobject.FieldPathArrayItemValue
func (*FilterConditionContains) GetRawFieldPathItemValues ¶
func (cond *FilterConditionContains) GetRawFieldPathItemValues() (res []gotenobject.FieldPathArrayItemValue)
func (*FilterConditionContains) Satisfies ¶
func (cond *FilterConditionContains) Satisfies(other FilterCondition) bool
func (*FilterConditionContains) SatisfiesRaw ¶
func (cond *FilterConditionContains) SatisfiesRaw(other gotenresource.FilterCondition) bool
func (*FilterConditionContains) SpecifiesFieldPath ¶
func (cond *FilterConditionContains) SpecifiesFieldPath(fp Log_FieldPath) bool
func (*FilterConditionContains) SpecifiesRawFieldPath ¶
func (cond *FilterConditionContains) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
func (*FilterConditionContains) String ¶
func (cond *FilterConditionContains) String() string
type FilterConditionIn ¶
type FilterConditionIn struct {
Log_FieldPathArrayOfValues
}
func (*FilterConditionIn) And ¶
func (cond *FilterConditionIn) And(conds ...FilterCondition) FilterCondition
func (*FilterConditionIn) ConditionIn ¶
func (cond *FilterConditionIn) ConditionIn()
func (*FilterConditionIn) Evaluate ¶
func (cond *FilterConditionIn) Evaluate(res *Log) 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 Log_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 Log_FieldPath }
func (*FilterConditionIsNaN) And ¶
func (cond *FilterConditionIsNaN) And(conds ...FilterCondition) FilterCondition
func (*FilterConditionIsNaN) ConditionIsNaN ¶
func (cond *FilterConditionIsNaN) ConditionIsNaN()
func (*FilterConditionIsNaN) Evaluate ¶
func (cond *FilterConditionIsNaN) Evaluate(res *Log) bool
func (*FilterConditionIsNaN) EvaluateRaw ¶
func (cond *FilterConditionIsNaN) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionIsNaN) GetRawFieldPath ¶
func (cond *FilterConditionIsNaN) GetRawFieldPath() gotenobject.FieldPath
func (*FilterConditionIsNaN) Satisfies ¶
func (cond *FilterConditionIsNaN) Satisfies(other FilterCondition) bool
func (*FilterConditionIsNaN) SatisfiesRaw ¶
func (cond *FilterConditionIsNaN) SatisfiesRaw(other gotenresource.FilterCondition) bool
func (*FilterConditionIsNaN) SpecifiesFieldPath ¶
func (cond *FilterConditionIsNaN) SpecifiesFieldPath(fp Log_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 Log_FieldPath }
func (*FilterConditionIsNull) And ¶
func (cond *FilterConditionIsNull) And(conds ...FilterCondition) FilterCondition
func (*FilterConditionIsNull) ConditionIsNull ¶
func (cond *FilterConditionIsNull) ConditionIsNull()
func (*FilterConditionIsNull) Evaluate ¶
func (cond *FilterConditionIsNull) Evaluate(res *Log) bool
func (*FilterConditionIsNull) EvaluateRaw ¶
func (cond *FilterConditionIsNull) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionIsNull) GetRawFieldPath ¶
func (cond *FilterConditionIsNull) GetRawFieldPath() gotenobject.FieldPath
func (*FilterConditionIsNull) NotNull ¶
func (cond *FilterConditionIsNull) NotNull() bool
func (*FilterConditionIsNull) Satisfies ¶
func (cond *FilterConditionIsNull) Satisfies(other FilterCondition) bool
func (*FilterConditionIsNull) SatisfiesRaw ¶
func (cond *FilterConditionIsNull) SatisfiesRaw(other gotenresource.FilterCondition) bool
func (*FilterConditionIsNull) SpecifiesFieldPath ¶
func (cond *FilterConditionIsNull) SpecifiesFieldPath(fp Log_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 (cond *FilterConditionNot) And(conds ...FilterCondition) FilterCondition
func (*FilterConditionNot) ConditionNot ¶
func (cond *FilterConditionNot) ConditionNot()
func (*FilterConditionNot) Evaluate ¶
func (cond *FilterConditionNot) Evaluate(res *Log) 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 Log_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 {
Log_FieldPathArrayOfValues
}
func (*FilterConditionNotIn) And ¶
func (cond *FilterConditionNotIn) And(conds ...FilterCondition) FilterCondition
func (*FilterConditionNotIn) ConditionNotIn ¶
func (cond *FilterConditionNotIn) ConditionNotIn()
func (*FilterConditionNotIn) Evaluate ¶
func (cond *FilterConditionNotIn) Evaluate(res *Log) bool
func (*FilterConditionNotIn) EvaluateRaw ¶
func (cond *FilterConditionNotIn) EvaluateRaw(res gotenresource.Resource) bool
func (*FilterConditionNotIn) GetRawFieldPath ¶
func (cond *FilterConditionNotIn) GetRawFieldPath() gotenobject.FieldPath
func (*FilterConditionNotIn) GetRawFieldPathArrayOfValues ¶
func (cond *FilterConditionNotIn) GetRawFieldPathArrayOfValues() gotenobject.FieldPathArrayOfValues
func (*FilterConditionNotIn) Satisfies ¶
func (cond *FilterConditionNotIn) Satisfies(other FilterCondition) bool
func (*FilterConditionNotIn) SatisfiesRaw ¶
func (cond *FilterConditionNotIn) SatisfiesRaw(other gotenresource.FilterCondition) bool
func (*FilterConditionNotIn) SpecifiesFieldPath ¶
func (cond *FilterConditionNotIn) SpecifiesFieldPath(fp Log_FieldPath) bool
func (*FilterConditionNotIn) SpecifiesRawFieldPath ¶
func (cond *FilterConditionNotIn) SpecifiesRawFieldPath(fp gotenobject.FieldPath) bool
func (*FilterConditionNotIn) String ¶
func (cond *FilterConditionNotIn) String() string
type Log ¶
type Log struct { // Name of Log. It contains scope + ID of the log. // ID is a base64 encoded unique key that identifies tuple: // scope // service // region_id // version // log_descriptor // labels // // Key is not to be decoded outside of service, but treated as opaque string Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"` // Contains scope from name field without resource ID. // Used for internal purpose for filtering (logs are using custom store). // Example formats are: // - organization/umbrella // - projects/mars_exploration // - <system> Scope string `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty" firestore:"scope"` // Service name, for example "devices.edgelq.com" Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty" firestore:"service"` // Region of the service to which log is assigned, for example "us-west2" Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty" firestore:"region"` // Associated service version, for example "v1alpha2" Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty" firestore:"version"` // Associated log descriptor LogDescriptor *log_descriptor.Reference `` /* 147-byte string literal not displayed */ // List of query-able labels Labels map[string]string `` /* 172-byte string literal not displayed */ // Log timestamp Time *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=time,proto3" json:"time,omitempty" firestore:"time"` // Log payload Payload *structpb.Struct `protobuf:"bytes,9,opt,name=payload,proto3" json:"payload,omitempty" firestore:"payload"` // contains filtered or unexported fields }
Log Resource
func (*Log) CloneRaw ¶
func (o *Log) CloneRaw() gotenobject.GotenObjectExt
func (*Log) Descriptor ¶
Deprecated, Use Log.ProtoReflect.Descriptor instead.
func (*Log) EnsureMetadata ¶ added in v1.0.21
func (*Log) GetLogDescriptor ¶
func (m *Log) GetLogDescriptor() *log_descriptor.Reference
func (*Log) GetMetadata ¶ added in v1.0.21
func (*Log) GetPayload ¶
func (*Log) GetRawName ¶
func (r *Log) GetRawName() gotenresource.Name
func (*Log) GetResourceDescriptor ¶
func (r *Log) GetResourceDescriptor() gotenresource.Descriptor
func (*Log) GetService ¶
func (*Log) GetTime ¶
func (m *Log) GetTime() *timestamppb.Timestamp
func (*Log) GetVersion ¶
func (*Log) GotenMessage ¶
func (*Log) GotenMessage()
func (*Log) GotenObjectExt ¶
func (o *Log) GotenObjectExt()
func (*Log) GotenValidate ¶
func (*Log) MakeDiffFieldMask ¶
func (o *Log) MakeDiffFieldMask(other *Log) *Log_FieldMask
func (*Log) MakeFullFieldMask ¶
func (o *Log) MakeFullFieldMask() *Log_FieldMask
func (*Log) MakeRawDiffFieldMask ¶
func (o *Log) MakeRawDiffFieldMask(other gotenobject.GotenObjectExt) gotenobject.FieldMask
func (*Log) MakeRawFullFieldMask ¶
func (o *Log) MakeRawFullFieldMask() gotenobject.FieldMask
func (*Log) MarshalJSON ¶
func (*Log) MaybePopulateDefaults ¶
func (*Log) MergeRaw ¶
func (o *Log) MergeRaw(source gotenobject.GotenObjectExt)
func (*Log) ProtoMessage ¶
func (*Log) ProtoMessage()
func (*Log) ProtoReflect ¶
func (*Log) SetLogDescriptor ¶
func (m *Log) SetLogDescriptor(fv *log_descriptor.Reference)
func (*Log) SetPayload ¶
func (*Log) SetService ¶
func (*Log) SetTime ¶
func (m *Log) SetTime(fv *timestamppb.Timestamp)
func (*Log) SetVersion ¶
func (*Log) UnmarshalJSON ¶
type LogFieldPathBuilder ¶
type LogFieldPathBuilder struct{}
func NewLogFieldPathBuilder ¶
func NewLogFieldPathBuilder() LogFieldPathBuilder
func (LogFieldPathBuilder) Labels ¶
func (LogFieldPathBuilder) Labels() LogPathSelectorLabels
func (LogFieldPathBuilder) LogDescriptor ¶
func (LogFieldPathBuilder) LogDescriptor() LogPathSelectorLogDescriptor
func (LogFieldPathBuilder) Name ¶
func (LogFieldPathBuilder) Name() LogPathSelectorName
func (LogFieldPathBuilder) Payload ¶
func (LogFieldPathBuilder) Payload() LogPathSelectorPayload
func (LogFieldPathBuilder) Region ¶
func (LogFieldPathBuilder) Region() LogPathSelectorRegion
func (LogFieldPathBuilder) Scope ¶
func (LogFieldPathBuilder) Scope() LogPathSelectorScope
func (LogFieldPathBuilder) Service ¶
func (LogFieldPathBuilder) Service() LogPathSelectorService
func (LogFieldPathBuilder) Time ¶
func (LogFieldPathBuilder) Time() LogPathSelectorTime
func (LogFieldPathBuilder) Version ¶
func (LogFieldPathBuilder) Version() LogPathSelectorVersion
type LogList ¶
type LogList []*Log
func (LogList) Append ¶
func (l LogList) Append(item gotenresource.Resource) gotenresource.ResourceList
func (LogList) AppendList ¶
func (l LogList) AppendList(list gotenresource.ResourceList) gotenresource.ResourceList
func (LogList) Slice ¶
func (l LogList) Slice(first, second int) gotenresource.ResourceList
type LogMap ¶
func (LogMap) Delete ¶
func (m LogMap) Delete(name gotenresource.Name)
func (LogMap) ForEach ¶
func (m LogMap) ForEach(cb func(gotenresource.Name, gotenresource.Resource) bool)
func (LogMap) Get ¶
func (m LogMap) Get(name gotenresource.Name) gotenresource.Resource
func (LogMap) Set ¶
func (m LogMap) Set(res gotenresource.Resource)
type LogMapPathSelectorLabels ¶
type LogMapPathSelectorLabels struct {
// contains filtered or unexported fields
}
func (LogMapPathSelectorLabels) FieldPath ¶
func (s LogMapPathSelectorLabels) FieldPath() *Log_FieldPathMap
func (LogMapPathSelectorLabels) WithArrayOfValues ¶
func (s LogMapPathSelectorLabels) WithArrayOfValues(values []string) *Log_FieldPathMapArrayOfValues
func (LogMapPathSelectorLabels) WithValue ¶
func (s LogMapPathSelectorLabels) WithValue(value string) *Log_FieldPathMapValue
type LogNameList ¶
type LogNameList []*Name
func (LogNameList) Append ¶
func (l LogNameList) Append(name gotenresource.Name) gotenresource.NameList
func (LogNameList) AppendList ¶
func (l LogNameList) AppendList(list gotenresource.NameList) gotenresource.NameList
func (LogNameList) At ¶
func (l LogNameList) At(idx int) gotenresource.Name
func (LogNameList) Length ¶
func (l LogNameList) Length() int
func (LogNameList) Set ¶
func (l LogNameList) Set(idx int, name gotenresource.Name)
func (LogNameList) Slice ¶
func (l LogNameList) Slice(first, second int) gotenresource.NameList
type LogParentNameList ¶
type LogParentNameList []*ParentName
func (LogParentNameList) Append ¶
func (l LogParentNameList) Append(name gotenresource.Name) gotenresource.ParentNameList
func (LogParentNameList) AppendList ¶
func (l LogParentNameList) AppendList(list gotenresource.ParentNameList) gotenresource.ParentNameList
func (LogParentNameList) At ¶
func (l LogParentNameList) At(idx int) gotenresource.Name
func (LogParentNameList) Length ¶
func (l LogParentNameList) Length() int
func (LogParentNameList) Set ¶
func (l LogParentNameList) Set(idx int, name gotenresource.Name)
func (LogParentNameList) Slice ¶
func (l LogParentNameList) Slice(first, second int) gotenresource.ParentNameList
type LogParentReferenceList ¶
type LogParentReferenceList []*ParentReference
func (LogParentReferenceList) Append ¶
func (l LogParentReferenceList) Append(ref gotenresource.Reference) gotenresource.ParentReferenceList
func (LogParentReferenceList) AppendList ¶
func (l LogParentReferenceList) AppendList(list gotenresource.ParentReferenceList) gotenresource.ParentReferenceList
func (LogParentReferenceList) At ¶
func (l LogParentReferenceList) At(idx int) gotenresource.Reference
func (LogParentReferenceList) Length ¶
func (l LogParentReferenceList) Length() int
func (LogParentReferenceList) Set ¶
func (l LogParentReferenceList) Set(idx int, ref gotenresource.Reference)
func (LogParentReferenceList) Slice ¶
func (l LogParentReferenceList) Slice(first, second int) gotenresource.ParentReferenceList
type LogPathSelectorLabels ¶
type LogPathSelectorLabels struct{}
func (LogPathSelectorLabels) FieldPath ¶
func (LogPathSelectorLabels) FieldPath() *Log_FieldTerminalPath
func (LogPathSelectorLabels) WithArrayOfValues ¶
func (s LogPathSelectorLabels) WithArrayOfValues(values []map[string]string) *Log_FieldTerminalPathArrayOfValues
func (LogPathSelectorLabels) WithKey ¶
func (LogPathSelectorLabels) WithKey(key string) LogMapPathSelectorLabels
func (LogPathSelectorLabels) WithValue ¶
func (s LogPathSelectorLabels) WithValue(value map[string]string) *Log_FieldTerminalPathValue
type LogPathSelectorLogDescriptor ¶
type LogPathSelectorLogDescriptor struct{}
func (LogPathSelectorLogDescriptor) FieldPath ¶
func (LogPathSelectorLogDescriptor) FieldPath() *Log_FieldTerminalPath
func (LogPathSelectorLogDescriptor) WithArrayOfValues ¶
func (s LogPathSelectorLogDescriptor) WithArrayOfValues(values []*log_descriptor.Reference) *Log_FieldTerminalPathArrayOfValues
func (LogPathSelectorLogDescriptor) WithValue ¶
func (s LogPathSelectorLogDescriptor) WithValue(value *log_descriptor.Reference) *Log_FieldTerminalPathValue
type LogPathSelectorName ¶
type LogPathSelectorName struct{}
func (LogPathSelectorName) FieldPath ¶
func (LogPathSelectorName) FieldPath() *Log_FieldTerminalPath
func (LogPathSelectorName) WithArrayOfValues ¶
func (s LogPathSelectorName) WithArrayOfValues(values []*Name) *Log_FieldTerminalPathArrayOfValues
func (LogPathSelectorName) WithValue ¶
func (s LogPathSelectorName) WithValue(value *Name) *Log_FieldTerminalPathValue
type LogPathSelectorPayload ¶
type LogPathSelectorPayload struct{}
func (LogPathSelectorPayload) FieldPath ¶
func (LogPathSelectorPayload) FieldPath() *Log_FieldTerminalPath
func (LogPathSelectorPayload) WithArrayOfValues ¶
func (s LogPathSelectorPayload) WithArrayOfValues(values []*structpb.Struct) *Log_FieldTerminalPathArrayOfValues
func (LogPathSelectorPayload) WithValue ¶
func (s LogPathSelectorPayload) WithValue(value *structpb.Struct) *Log_FieldTerminalPathValue
type LogPathSelectorRegion ¶
type LogPathSelectorRegion struct{}
func (LogPathSelectorRegion) FieldPath ¶
func (LogPathSelectorRegion) FieldPath() *Log_FieldTerminalPath
func (LogPathSelectorRegion) WithArrayOfValues ¶
func (s LogPathSelectorRegion) WithArrayOfValues(values []string) *Log_FieldTerminalPathArrayOfValues
func (LogPathSelectorRegion) WithValue ¶
func (s LogPathSelectorRegion) WithValue(value string) *Log_FieldTerminalPathValue
type LogPathSelectorScope ¶
type LogPathSelectorScope struct{}
func (LogPathSelectorScope) FieldPath ¶
func (LogPathSelectorScope) FieldPath() *Log_FieldTerminalPath
func (LogPathSelectorScope) WithArrayOfValues ¶
func (s LogPathSelectorScope) WithArrayOfValues(values []string) *Log_FieldTerminalPathArrayOfValues
func (LogPathSelectorScope) WithValue ¶
func (s LogPathSelectorScope) WithValue(value string) *Log_FieldTerminalPathValue
type LogPathSelectorService ¶
type LogPathSelectorService struct{}
func (LogPathSelectorService) FieldPath ¶
func (LogPathSelectorService) FieldPath() *Log_FieldTerminalPath
func (LogPathSelectorService) WithArrayOfValues ¶
func (s LogPathSelectorService) WithArrayOfValues(values []string) *Log_FieldTerminalPathArrayOfValues
func (LogPathSelectorService) WithValue ¶
func (s LogPathSelectorService) WithValue(value string) *Log_FieldTerminalPathValue
type LogPathSelectorTime ¶
type LogPathSelectorTime struct{}
func (LogPathSelectorTime) FieldPath ¶
func (LogPathSelectorTime) FieldPath() *Log_FieldTerminalPath
func (LogPathSelectorTime) WithArrayOfValues ¶
func (s LogPathSelectorTime) WithArrayOfValues(values []*timestamppb.Timestamp) *Log_FieldTerminalPathArrayOfValues
func (LogPathSelectorTime) WithValue ¶
func (s LogPathSelectorTime) WithValue(value *timestamppb.Timestamp) *Log_FieldTerminalPathValue
type LogPathSelectorVersion ¶
type LogPathSelectorVersion struct{}
func (LogPathSelectorVersion) FieldPath ¶
func (LogPathSelectorVersion) FieldPath() *Log_FieldTerminalPath
func (LogPathSelectorVersion) WithArrayOfValues ¶
func (s LogPathSelectorVersion) WithArrayOfValues(values []string) *Log_FieldTerminalPathArrayOfValues
func (LogPathSelectorVersion) WithValue ¶
func (s LogPathSelectorVersion) WithValue(value string) *Log_FieldTerminalPathValue
type LogReferenceList ¶
type LogReferenceList []*Reference
func (LogReferenceList) Append ¶
func (l LogReferenceList) Append(ref gotenresource.Reference) gotenresource.ReferenceList
func (LogReferenceList) AppendList ¶
func (l LogReferenceList) AppendList(list gotenresource.ReferenceList) gotenresource.ReferenceList
func (LogReferenceList) At ¶
func (l LogReferenceList) At(idx int) gotenresource.Reference
func (LogReferenceList) Length ¶
func (l LogReferenceList) Length() int
func (LogReferenceList) Set ¶
func (l LogReferenceList) Set(idx int, ref gotenresource.Reference)
func (LogReferenceList) Slice ¶
func (l LogReferenceList) Slice(first, second int) gotenresource.ReferenceList
type Log_FieldMask ¶
type Log_FieldMask struct {
Paths []Log_FieldPath
}
func FullLog_FieldMask ¶
func FullLog_FieldMask() *Log_FieldMask
func ResourceViewFieldMask ¶
func ResourceViewFieldMask(viewName view.View, extraMask *Log_FieldMask) *Log_FieldMask
func (*Log_FieldMask) AppendPath ¶
func (fieldMask *Log_FieldMask) AppendPath(path Log_FieldPath)
func (*Log_FieldMask) AppendRawPath ¶
func (fieldMask *Log_FieldMask) AppendRawPath(path gotenobject.FieldPath)
func (*Log_FieldMask) DecodeFirestore ¶
func (fieldMask *Log_FieldMask) DecodeFirestore(fpbv *firestorepb.Value) error
func (*Log_FieldMask) EncodeFirestore ¶
func (fieldMask *Log_FieldMask) EncodeFirestore() (*firestorepb.Value, error)
firestore encoding/decoding integration
func (*Log_FieldMask) FilterInputFields ¶
func (fieldMask *Log_FieldMask) FilterInputFields() *Log_FieldMask
FilterInputFields generates copy of field paths with output_only field paths removed
func (*Log_FieldMask) FromProtoFieldMask ¶
func (fieldMask *Log_FieldMask) FromProtoFieldMask(protoFieldMask *googlefieldmaskpb.FieldMask) error
func (*Log_FieldMask) GetPaths ¶
func (fieldMask *Log_FieldMask) GetPaths() []Log_FieldPath
func (*Log_FieldMask) GetRawPaths ¶
func (fieldMask *Log_FieldMask) GetRawPaths() []gotenobject.FieldPath
func (*Log_FieldMask) IsFull ¶
func (fieldMask *Log_FieldMask) IsFull() bool
func (Log_FieldMask) Marshal ¶
func (fieldMask Log_FieldMask) Marshal() ([]byte, error)
implement methods required by customType
func (Log_FieldMask) MarshalJSON ¶
func (fieldMask Log_FieldMask) MarshalJSON() ([]byte, error)
func (*Log_FieldMask) PathsCount ¶
func (fieldMask *Log_FieldMask) PathsCount() int
func (*Log_FieldMask) Project ¶
func (fieldMask *Log_FieldMask) Project(source *Log) *Log
func (*Log_FieldMask) ProjectRaw ¶
func (fieldMask *Log_FieldMask) ProjectRaw(source gotenobject.GotenObjectExt) gotenobject.GotenObjectExt
func (*Log_FieldMask) ProtoMessage ¶
func (fieldMask *Log_FieldMask) ProtoMessage()
func (*Log_FieldMask) ProtoReflect ¶
func (fieldMask *Log_FieldMask) ProtoReflect() preflect.Message
func (*Log_FieldMask) Reset ¶
func (fieldMask *Log_FieldMask) Reset()
func (*Log_FieldMask) Set ¶
func (fieldMask *Log_FieldMask) Set(target, source *Log)
func (*Log_FieldMask) SetFromCliFlag ¶
func (fieldMask *Log_FieldMask) SetFromCliFlag(raw string) error
func (*Log_FieldMask) SetRaw ¶
func (fieldMask *Log_FieldMask) SetRaw(target, source gotenobject.GotenObjectExt)
func (*Log_FieldMask) Size ¶
func (fieldMask *Log_FieldMask) Size() int
func (*Log_FieldMask) String ¶
func (fieldMask *Log_FieldMask) String() string
func (*Log_FieldMask) Subtract ¶
func (fieldMask *Log_FieldMask) Subtract(other *Log_FieldMask) *Log_FieldMask
func (*Log_FieldMask) SubtractRaw ¶
func (fieldMask *Log_FieldMask) SubtractRaw(other gotenobject.FieldMask) gotenobject.FieldMask
func (*Log_FieldMask) ToProtoFieldMask ¶
func (fieldMask *Log_FieldMask) ToProtoFieldMask() *googlefieldmaskpb.FieldMask
ToFieldMask is used for proto conversions
func (*Log_FieldMask) Unmarshal ¶
func (fieldMask *Log_FieldMask) Unmarshal(data []byte) error
func (*Log_FieldMask) UnmarshalJSON ¶
func (fieldMask *Log_FieldMask) UnmarshalJSON(data []byte) error
type Log_FieldPath ¶
type Log_FieldPath interface { gotenobject.FieldPath Selector() Log_FieldPathSelector Get(source *Log) []interface{} GetSingle(source *Log) (interface{}, bool) ClearValue(item *Log) // Those methods build corresponding Log_FieldPathValue // (or array of values) and holds passed value. Panics if injected type is incorrect. WithIValue(value interface{}) Log_FieldPathValue WithIArrayOfValues(values interface{}) Log_FieldPathArrayOfValues WithIArrayItemValue(value interface{}) Log_FieldPathArrayItemValue }
FieldPath provides implementation to handle https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/field_mask.proto
func BuildLog_FieldPath ¶
func BuildLog_FieldPath(fp gotenobject.RawFieldPath) (Log_FieldPath, error)
func MustParseLog_FieldPath ¶
func MustParseLog_FieldPath(rawField string) Log_FieldPath
func ParseLog_FieldPath ¶
func ParseLog_FieldPath(rawField string) (Log_FieldPath, error)
type Log_FieldPathArrayItemValue ¶
type Log_FieldPathArrayItemValue interface { gotenobject.FieldPathArrayItemValue Log_FieldPath ContainsValue(*Log) bool }
Log_FieldPathArrayItemValue allows storing single item in Path-specific values for Log according to their type Present only for array (repeated) types.
func MustParseLog_FieldPathArrayItemValue ¶
func MustParseLog_FieldPathArrayItemValue(pathStr, valueStr string) Log_FieldPathArrayItemValue
func ParseLog_FieldPathArrayItemValue ¶
func ParseLog_FieldPathArrayItemValue(pathStr, valueStr string) (Log_FieldPathArrayItemValue, error)
ParseLog_FieldPathArrayItemValue parses string and JSON-encoded value to its Value
type Log_FieldPathArrayOfValues ¶
type Log_FieldPathArrayOfValues interface { gotenobject.FieldPathArrayOfValues Log_FieldPath }
Log_FieldPathArrayOfValues allows storing slice of values for Log fields according to their type
func MustParseLog_FieldPathArrayOfValues ¶
func MustParseLog_FieldPathArrayOfValues(pathStr, valuesStr string) Log_FieldPathArrayOfValues
func ParseLog_FieldPathArrayOfValues ¶
func ParseLog_FieldPathArrayOfValues(pathStr, valuesStr string) (Log_FieldPathArrayOfValues, error)
type Log_FieldPathMap ¶
type Log_FieldPathMap struct {
// contains filtered or unexported fields
}
FieldPath for map type with additional Key information
func (*Log_FieldPathMap) ClearValue ¶
func (fpm *Log_FieldPathMap) ClearValue(item *Log)
func (*Log_FieldPathMap) ClearValueRaw ¶
func (fpm *Log_FieldPathMap) ClearValueRaw(item proto.Message)
func (*Log_FieldPathMap) Get ¶
func (fpm *Log_FieldPathMap) Get(source *Log) (values []interface{})
Get returns all values pointed by selected field map key from source Log
func (*Log_FieldPathMap) GetDefault ¶
func (fpm *Log_FieldPathMap) GetDefault() interface{}
GetDefault returns a default value of the field type
func (*Log_FieldPathMap) GetRaw ¶
func (fpm *Log_FieldPathMap) GetRaw(source proto.Message) []interface{}
func (*Log_FieldPathMap) GetSingle ¶
func (fpm *Log_FieldPathMap) GetSingle(source *Log) (interface{}, bool)
GetSingle returns value by selected field map key from source Log
func (*Log_FieldPathMap) GetSingleRaw ¶
func (fpm *Log_FieldPathMap) GetSingleRaw(source proto.Message) (interface{}, bool)
func (*Log_FieldPathMap) IsLeaf ¶
func (fpm *Log_FieldPathMap) IsLeaf() bool
IsLeaf - whether field path is holds simple value
func (*Log_FieldPathMap) JSONString ¶
func (fpm *Log_FieldPathMap) JSONString() string
JSONString returns path representation is JSON convention. Note that map keys are not transformed
func (*Log_FieldPathMap) Key ¶
func (fpm *Log_FieldPathMap) Key() string
func (*Log_FieldPathMap) Selector ¶
func (fpm *Log_FieldPathMap) Selector() Log_FieldPathSelector
func (*Log_FieldPathMap) SplitIntoTerminalIPaths ¶ added in v0.8.0
func (fpm *Log_FieldPathMap) SplitIntoTerminalIPaths() []gotenobject.FieldPath
func (*Log_FieldPathMap) String ¶
func (fpm *Log_FieldPathMap) String() string
String returns path representation in proto convention
func (*Log_FieldPathMap) WithIArrayItemValue ¶
func (fpm *Log_FieldPathMap) WithIArrayItemValue(value interface{}) Log_FieldPathArrayItemValue
func (*Log_FieldPathMap) WithIArrayOfValues ¶
func (fpm *Log_FieldPathMap) WithIArrayOfValues(values interface{}) Log_FieldPathArrayOfValues
func (*Log_FieldPathMap) WithIValue ¶
func (fpm *Log_FieldPathMap) WithIValue(value interface{}) Log_FieldPathValue
func (*Log_FieldPathMap) WithRawIArrayItemValue ¶
func (fpm *Log_FieldPathMap) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
func (*Log_FieldPathMap) WithRawIArrayOfValues ¶
func (fpm *Log_FieldPathMap) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
func (*Log_FieldPathMap) WithRawIValue ¶
func (fpm *Log_FieldPathMap) WithRawIValue(value interface{}) gotenobject.FieldPathValue
type Log_FieldPathMapArrayOfValues ¶
type Log_FieldPathMapArrayOfValues struct { Log_FieldPathMap // contains filtered or unexported fields }
func (*Log_FieldPathMapArrayOfValues) AsLabelsArrayOfElementValues ¶
func (fpmaov *Log_FieldPathMapArrayOfValues) AsLabelsArrayOfElementValues() ([]string, bool)
func (*Log_FieldPathMapArrayOfValues) GetRawValues ¶
func (fpmaov *Log_FieldPathMapArrayOfValues) GetRawValues() (values []interface{})
type Log_FieldPathMapValue ¶
type Log_FieldPathMapValue struct { Log_FieldPathMap // contains filtered or unexported fields }
func (*Log_FieldPathMapValue) AsLabelsElementValue ¶
func (fpmv *Log_FieldPathMapValue) AsLabelsElementValue() (string, bool)
func (*Log_FieldPathMapValue) CompareWith ¶
func (fpmv *Log_FieldPathMapValue) CompareWith(source *Log) (int, bool)
CompareWith compares value in the 'Log_FieldPathMapValue' with the value under path in 'Log'.
func (*Log_FieldPathMapValue) CompareWithRaw ¶
func (fpmv *Log_FieldPathMapValue) CompareWithRaw(source proto.Message) (int, bool)
func (*Log_FieldPathMapValue) GetRawValue ¶
func (fpmv *Log_FieldPathMapValue) GetRawValue() interface{}
GetValue returns value stored under selected field in Log as interface{}
func (*Log_FieldPathMapValue) SetTo ¶
func (fpmv *Log_FieldPathMapValue) SetTo(target **Log)
SetTo stores value for selected field in Log
func (*Log_FieldPathMapValue) SetToRaw ¶
func (fpmv *Log_FieldPathMapValue) SetToRaw(target proto.Message)
type Log_FieldPathSelector ¶
type Log_FieldPathSelector int32
const ( Log_FieldPathSelectorName Log_FieldPathSelector = 0 Log_FieldPathSelectorScope Log_FieldPathSelector = 1 Log_FieldPathSelectorService Log_FieldPathSelector = 2 Log_FieldPathSelectorRegion Log_FieldPathSelector = 3 Log_FieldPathSelectorVersion Log_FieldPathSelector = 4 Log_FieldPathSelectorLogDescriptor Log_FieldPathSelector = 5 Log_FieldPathSelectorLabels Log_FieldPathSelector = 6 Log_FieldPathSelectorTime Log_FieldPathSelector = 7 Log_FieldPathSelectorPayload Log_FieldPathSelector = 8 )
func (Log_FieldPathSelector) String ¶
func (s Log_FieldPathSelector) String() string
type Log_FieldPathValue ¶
type Log_FieldPathValue interface { Log_FieldPath gotenobject.FieldPathValue SetTo(target **Log) CompareWith(*Log) (cmp int, comparable bool) }
Log_FieldPathValue allows storing values for Log fields according to their type
func MustParseLog_FieldPathValue ¶
func MustParseLog_FieldPathValue(pathStr, valueStr string) Log_FieldPathValue
func ParseLog_FieldPathValue ¶
func ParseLog_FieldPathValue(pathStr, valueStr string) (Log_FieldPathValue, error)
type Log_FieldTerminalPath ¶
type Log_FieldTerminalPath struct {
// contains filtered or unexported fields
}
func (*Log_FieldTerminalPath) ClearValue ¶
func (fp *Log_FieldTerminalPath) ClearValue(item *Log)
func (*Log_FieldTerminalPath) ClearValueRaw ¶
func (fp *Log_FieldTerminalPath) ClearValueRaw(item proto.Message)
func (*Log_FieldTerminalPath) Get ¶
func (fp *Log_FieldTerminalPath) Get(source *Log) (values []interface{})
Get returns all values pointed by specific field from source Log
func (*Log_FieldTerminalPath) GetDefault ¶
func (fp *Log_FieldTerminalPath) GetDefault() interface{}
GetDefault returns a default value of the field type
func (*Log_FieldTerminalPath) GetRaw ¶
func (fp *Log_FieldTerminalPath) GetRaw(source proto.Message) []interface{}
func (*Log_FieldTerminalPath) GetSingle ¶
func (fp *Log_FieldTerminalPath) GetSingle(source *Log) (interface{}, bool)
GetSingle returns value pointed by specific field of from source Log
func (*Log_FieldTerminalPath) GetSingleRaw ¶
func (fp *Log_FieldTerminalPath) GetSingleRaw(source proto.Message) (interface{}, bool)
func (*Log_FieldTerminalPath) IsLeaf ¶
func (fp *Log_FieldTerminalPath) IsLeaf() bool
IsLeaf - whether field path is holds simple value
func (*Log_FieldTerminalPath) JSONString ¶
func (fp *Log_FieldTerminalPath) JSONString() string
JSONString returns path representation is JSON convention
func (*Log_FieldTerminalPath) Selector ¶
func (fp *Log_FieldTerminalPath) Selector() Log_FieldPathSelector
func (*Log_FieldTerminalPath) SplitIntoTerminalIPaths ¶ added in v0.8.0
func (fp *Log_FieldTerminalPath) SplitIntoTerminalIPaths() []gotenobject.FieldPath
func (*Log_FieldTerminalPath) String ¶
func (fp *Log_FieldTerminalPath) String() string
String returns path representation in proto convention
func (*Log_FieldTerminalPath) WithIArrayItemValue ¶
func (fp *Log_FieldTerminalPath) WithIArrayItemValue(value interface{}) Log_FieldPathArrayItemValue
func (*Log_FieldTerminalPath) WithIArrayOfValues ¶
func (fp *Log_FieldTerminalPath) WithIArrayOfValues(values interface{}) Log_FieldPathArrayOfValues
func (*Log_FieldTerminalPath) WithIValue ¶
func (fp *Log_FieldTerminalPath) WithIValue(value interface{}) Log_FieldPathValue
func (*Log_FieldTerminalPath) WithRawIArrayItemValue ¶
func (fp *Log_FieldTerminalPath) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue
func (*Log_FieldTerminalPath) WithRawIArrayOfValues ¶
func (fp *Log_FieldTerminalPath) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues
func (*Log_FieldTerminalPath) WithRawIValue ¶
func (fp *Log_FieldTerminalPath) WithRawIValue(value interface{}) gotenobject.FieldPathValue
type Log_FieldTerminalPathArrayItemValue ¶
type Log_FieldTerminalPathArrayItemValue struct { Log_FieldTerminalPath // contains filtered or unexported fields }
func (*Log_FieldTerminalPathArrayItemValue) ContainsValue ¶
func (fpaiv *Log_FieldTerminalPathArrayItemValue) ContainsValue(source *Log) bool
Contains returns a boolean indicating if value that is being held is present in given 'Log'
func (*Log_FieldTerminalPathArrayItemValue) GetRawItemValue ¶
func (fpaiv *Log_FieldTerminalPathArrayItemValue) GetRawItemValue() interface{}
GetRawValue returns stored element value for array in object Log as interface{}
func (*Log_FieldTerminalPathArrayItemValue) GetSingle ¶
func (fpaiv *Log_FieldTerminalPathArrayItemValue) GetSingle(source *Log) (interface{}, bool)
func (*Log_FieldTerminalPathArrayItemValue) GetSingleRaw ¶
func (fpaiv *Log_FieldTerminalPathArrayItemValue) GetSingleRaw(source proto.Message) (interface{}, bool)
type Log_FieldTerminalPathArrayOfValues ¶
type Log_FieldTerminalPathArrayOfValues struct { Log_FieldTerminalPath // contains filtered or unexported fields }
func (*Log_FieldTerminalPathArrayOfValues) AsLabelsArrayOfValues ¶
func (fpaov *Log_FieldTerminalPathArrayOfValues) AsLabelsArrayOfValues() ([]map[string]string, bool)
func (*Log_FieldTerminalPathArrayOfValues) AsLogDescriptorArrayOfValues ¶
func (fpaov *Log_FieldTerminalPathArrayOfValues) AsLogDescriptorArrayOfValues() ([]*log_descriptor.Reference, bool)
func (*Log_FieldTerminalPathArrayOfValues) AsNameArrayOfValues ¶
func (fpaov *Log_FieldTerminalPathArrayOfValues) AsNameArrayOfValues() ([]*Name, bool)
func (*Log_FieldTerminalPathArrayOfValues) AsPayloadArrayOfValues ¶
func (fpaov *Log_FieldTerminalPathArrayOfValues) AsPayloadArrayOfValues() ([]*structpb.Struct, bool)
func (*Log_FieldTerminalPathArrayOfValues) AsRegionArrayOfValues ¶
func (fpaov *Log_FieldTerminalPathArrayOfValues) AsRegionArrayOfValues() ([]string, bool)
func (*Log_FieldTerminalPathArrayOfValues) AsScopeArrayOfValues ¶
func (fpaov *Log_FieldTerminalPathArrayOfValues) AsScopeArrayOfValues() ([]string, bool)
func (*Log_FieldTerminalPathArrayOfValues) AsServiceArrayOfValues ¶
func (fpaov *Log_FieldTerminalPathArrayOfValues) AsServiceArrayOfValues() ([]string, bool)
func (*Log_FieldTerminalPathArrayOfValues) AsTimeArrayOfValues ¶
func (fpaov *Log_FieldTerminalPathArrayOfValues) AsTimeArrayOfValues() ([]*timestamppb.Timestamp, bool)
func (*Log_FieldTerminalPathArrayOfValues) AsVersionArrayOfValues ¶
func (fpaov *Log_FieldTerminalPathArrayOfValues) AsVersionArrayOfValues() ([]string, bool)
func (*Log_FieldTerminalPathArrayOfValues) GetRawValues ¶
func (fpaov *Log_FieldTerminalPathArrayOfValues) GetRawValues() (values []interface{})
type Log_FieldTerminalPathValue ¶
type Log_FieldTerminalPathValue struct { Log_FieldTerminalPath // contains filtered or unexported fields }
func (*Log_FieldTerminalPathValue) AsLabelsValue ¶
func (fpv *Log_FieldTerminalPathValue) AsLabelsValue() (map[string]string, bool)
func (*Log_FieldTerminalPathValue) AsLogDescriptorValue ¶
func (fpv *Log_FieldTerminalPathValue) AsLogDescriptorValue() (*log_descriptor.Reference, bool)
func (*Log_FieldTerminalPathValue) AsNameValue ¶
func (fpv *Log_FieldTerminalPathValue) AsNameValue() (*Name, bool)
func (*Log_FieldTerminalPathValue) AsPayloadValue ¶
func (fpv *Log_FieldTerminalPathValue) AsPayloadValue() (*structpb.Struct, bool)
func (*Log_FieldTerminalPathValue) AsRegionValue ¶
func (fpv *Log_FieldTerminalPathValue) AsRegionValue() (string, bool)
func (*Log_FieldTerminalPathValue) AsScopeValue ¶
func (fpv *Log_FieldTerminalPathValue) AsScopeValue() (string, bool)
func (*Log_FieldTerminalPathValue) AsServiceValue ¶
func (fpv *Log_FieldTerminalPathValue) AsServiceValue() (string, bool)
func (*Log_FieldTerminalPathValue) AsTimeValue ¶
func (fpv *Log_FieldTerminalPathValue) AsTimeValue() (*timestamppb.Timestamp, bool)
func (*Log_FieldTerminalPathValue) AsVersionValue ¶
func (fpv *Log_FieldTerminalPathValue) AsVersionValue() (string, bool)
func (*Log_FieldTerminalPathValue) CompareWith ¶
func (fpv *Log_FieldTerminalPathValue) CompareWith(source *Log) (int, bool)
CompareWith compares value in the 'Log_FieldTerminalPathValue' with the value under path in 'Log'.
func (*Log_FieldTerminalPathValue) CompareWithRaw ¶
func (fpv *Log_FieldTerminalPathValue) CompareWithRaw(source proto.Message) (int, bool)
func (*Log_FieldTerminalPathValue) GetRawValue ¶
func (fpv *Log_FieldTerminalPathValue) GetRawValue() interface{}
GetRawValue returns raw value stored under selected path for 'Log' as interface{}
func (*Log_FieldTerminalPathValue) SetTo ¶
func (fpv *Log_FieldTerminalPathValue) SetTo(target **Log)
SetTo stores value for selected field for object Log
func (*Log_FieldTerminalPathValue) SetToRaw ¶
func (fpv *Log_FieldTerminalPathValue) SetToRaw(target proto.Message)
type Name ¶
type Name struct { ParentName LogId string `firestore:"logId"` }
func MustParseName ¶
func ParseNameOrId ¶
func (*Name) AsRawReference ¶
func (name *Name) AsRawReference() gotenresource.Reference
func (*Name) AsReference ¶
func (*Name) ConvertToNative ¶
func (*Name) FullyQualifiedName ¶
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) GetOrganizationName ¶
func (name *Name) GetOrganizationName() *iam_organization.Name
func (*Name) GetPattern ¶
func (name *Name) GetPattern() gotenresource.NamePattern
func (*Name) GetProjectName ¶
func (name *Name) GetProjectName() *iam_project.Name
func (*Name) GetResourceDescriptor ¶
func (name *Name) GetResourceDescriptor() gotenresource.Descriptor
func (*Name) GetSegments ¶
func (name *Name) GetSegments() gotenresource.NameSegments
func (*Name) GotenEqual ¶
GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)
func (*Name) IsFullyQualified ¶
func (*Name) IsSpecified ¶
func (*Name) Matches ¶
Matches is same as GotenEqual, but also will accept "other" if name is wildcard.
func (*Name) ParseProtoString ¶
func (*Name) ProtoString ¶
func (*Name) SetFromCliFlag ¶
implement CustomTypeCliValue method
func (*Name) SetFromSegments ¶
func (name *Name) SetFromSegments(segments gotenresource.NameSegments) error
type NameBuilder ¶
type NameBuilder struct {
// contains filtered or unexported fields
}
func NewNameBuilder ¶
func NewNameBuilder() *NameBuilder
func (*NameBuilder) Name ¶
func (b *NameBuilder) Name() *Name
func (*NameBuilder) Parent ¶
func (b *NameBuilder) Parent() *ParentName
func (*NameBuilder) ParentReference ¶
func (b *NameBuilder) ParentReference() *ParentReference
func (*NameBuilder) Reference ¶
func (b *NameBuilder) Reference() *Reference
func (*NameBuilder) SetId ¶
func (b *NameBuilder) SetId(id string) *NameBuilder
func (*NameBuilder) SetOrganization ¶
func (b *NameBuilder) SetOrganization(parent *iam_organization.Name) *NameBuilder
func (*NameBuilder) SetOrganizationId ¶
func (b *NameBuilder) SetOrganizationId(id string) *NameBuilder
func (*NameBuilder) SetProject ¶
func (b *NameBuilder) SetProject(parent *iam_project.Name) *NameBuilder
func (*NameBuilder) SetProjectId ¶
func (b *NameBuilder) SetProjectId(id string) *NameBuilder
type NamePattern ¶
type NamePattern struct {
Pattern gotenresource.NamePattern `firestore:"pattern"`
}
type ParentName ¶
type ParentName struct { NamePattern ProjectId string `firestore:"projectId"` OrganizationId string `firestore:"organizationId"` }
func MustParseParentName ¶
func MustParseParentName(name string) *ParentName
func ParseParentName ¶
func ParseParentName(name string) (*ParentName, error)
func (*ParentName) AsRawReference ¶
func (name *ParentName) AsRawReference() gotenresource.Reference
func (*ParentName) AsReference ¶
func (name *ParentName) AsReference() *ParentReference
func (*ParentName) ConvertToNative ¶ added in v1.0.21
func (name *ParentName) ConvertToNative(typeDesc reflect.Type) (interface{}, error)
func (*ParentName) ConvertToType ¶ added in v1.0.21
func (name *ParentName) ConvertToType(typeVal ref.Type) ref.Val
func (*ParentName) DescendsFrom ¶
func (name *ParentName) DescendsFrom(ancestor string) bool
func (*ParentName) FullyQualifiedName ¶
func (name *ParentName) FullyQualifiedName() (string, error)
func (*ParentName) GetIParentName ¶ added in v0.8.0
func (name *ParentName) GetIParentName() gotenresource.Name
func (*ParentName) GetIUnderlyingParentName ¶ added in v0.8.0
func (name *ParentName) GetIUnderlyingParentName() gotenresource.Name
func (*ParentName) GetIdParts ¶
func (name *ParentName) GetIdParts() map[string]string
func (*ParentName) GetOrganizationName ¶
func (name *ParentName) GetOrganizationName() *iam_organization.Name
func (*ParentName) GetPattern ¶
func (name *ParentName) GetPattern() gotenresource.NamePattern
func (*ParentName) GetProjectName ¶
func (name *ParentName) GetProjectName() *iam_project.Name
func (*ParentName) GetResourceDescriptor ¶
func (name *ParentName) GetResourceDescriptor() gotenresource.Descriptor
func (*ParentName) GetSegments ¶
func (name *ParentName) GetSegments() gotenresource.NameSegments
func (*ParentName) GotenEqual ¶
func (name *ParentName) GotenEqual(other interface{}) bool
GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)
func (*ParentName) HasTrait ¶ added in v1.0.21
func (name *ParentName) HasTrait(trait int) bool
func (*ParentName) IsFullyQualified ¶
func (name *ParentName) IsFullyQualified() bool
func (*ParentName) IsSpecified ¶
func (name *ParentName) IsSpecified() bool
func (*ParentName) Matches ¶
func (name *ParentName) Matches(other interface{}) bool
Matches is same as GotenEqual, but also will accept "other" if name is wildcard.
func (*ParentName) ParseProtoString ¶
func (name *ParentName) ParseProtoString(data string) error
func (*ParentName) ProtoString ¶
func (name *ParentName) ProtoString() (string, error)
func (*ParentName) SetFromCliFlag ¶
func (name *ParentName) SetFromCliFlag(raw string) error
implement CustomTypeCliValue method
func (*ParentName) SetFromSegments ¶
func (name *ParentName) SetFromSegments(segments gotenresource.NameSegments) error
func (*ParentName) String ¶
func (name *ParentName) String() string
func (*ParentName) Type ¶ added in v1.0.21
func (name *ParentName) Type() ref.Type
func (*ParentName) TypeName ¶ added in v1.0.21
func (name *ParentName) TypeName() string
func (*ParentName) Value ¶ added in v1.0.21
func (name *ParentName) Value() interface{}
type ParentReference ¶
type ParentReference struct { ParentName // contains filtered or unexported fields }
func MakeParentReference ¶
func MakeParentReference(name *ParentName) (*ParentReference, error)
func MustParseParentReference ¶
func MustParseParentReference(name string) *ParentReference
func ParseParentReference ¶
func ParseParentReference(name string) (*ParentReference, error)
func (*ParentReference) ClearCached ¶
func (ref *ParentReference) ClearCached()
func (*ParentReference) GetIParentName ¶ added in v0.8.0
func (ref *ParentReference) GetIParentName() gotenresource.Name
func (*ParentReference) GetIUnderlyingParentName ¶ added in v0.8.0
func (ref *ParentReference) GetIUnderlyingParentName() gotenresource.Name
func (*ParentReference) GetIdParts ¶
func (ref *ParentReference) GetIdParts() map[string]string
func (*ParentReference) GetOrganization ¶
func (ref *ParentReference) GetOrganization() *iam_organization.Organization
func (*ParentReference) GetOrganizationReference ¶
func (ref *ParentReference) GetOrganizationReference() *iam_organization.Reference
func (*ParentReference) GetPattern ¶
func (ref *ParentReference) GetPattern() gotenresource.NamePattern
func (*ParentReference) GetProject ¶
func (ref *ParentReference) GetProject() *iam_project.Project
func (*ParentReference) GetProjectReference ¶
func (ref *ParentReference) GetProjectReference() *iam_project.Reference
func (*ParentReference) GetRawResource ¶
func (ref *ParentReference) GetRawResource() gotenresource.Resource
func (*ParentReference) GetResourceDescriptor ¶
func (ref *ParentReference) GetResourceDescriptor() gotenresource.Descriptor
func (*ParentReference) GetSegments ¶
func (ref *ParentReference) GetSegments() gotenresource.NameSegments
func (*ParentReference) GetUnderlyingReference ¶
func (ref *ParentReference) GetUnderlyingReference() gotenresource.Reference
func (*ParentReference) GotenEqual ¶
func (ref *ParentReference) GotenEqual(other interface{}) bool
GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)
func (*ParentReference) IsFullyQualified ¶
func (ref *ParentReference) IsFullyQualified() bool
func (*ParentReference) IsSpecified ¶
func (ref *ParentReference) IsSpecified() bool
func (*ParentReference) Matches ¶
func (name *ParentReference) Matches(other interface{}) bool
Matches is same as GotenEqual, but also will accept "other" if name is wildcard.
func (*ParentReference) ParseProtoString ¶
func (ref *ParentReference) ParseProtoString(data string) error
func (*ParentReference) ProtoString ¶
func (ref *ParentReference) ProtoString() (string, error)
func (*ParentReference) ResolveRaw ¶
func (ref *ParentReference) ResolveRaw(res gotenresource.Resource) error
func (*ParentReference) Resolved ¶
func (ref *ParentReference) Resolved() bool
func (*ParentReference) SetFromCliFlag ¶
func (ref *ParentReference) SetFromCliFlag(raw string) error
implement CustomTypeCliValue method
func (*ParentReference) String ¶
func (ref *ParentReference) String() string
type Reference ¶
type Reference struct { Name // contains filtered or unexported fields }
func MustParseReference ¶
func ParseReference ¶
func (*Reference) ClearCached ¶
func (ref *Reference) ClearCached()
func (*Reference) FullyQualifiedName ¶
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 (*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 ¶
GotenEqual returns true if other is of same type and paths are equal (implements goten.Equaler interface)
func (*Reference) IsFullyQualified ¶
func (*Reference) IsSpecified ¶
func (*Reference) Matches ¶
Matches is same as GotenEqual, but also will accept "other" if name is wildcard.
func (*Reference) ParseProtoString ¶
func (*Reference) ProtoString ¶
func (*Reference) ResolveRaw ¶
func (ref *Reference) ResolveRaw(res gotenresource.Resource) error
func (*Reference) SetFromCliFlag ¶
implement CustomTypeCliValue method