os_version

package
v1.0.38 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	NamePattern_Nil = "osVersions/{os_version}"
)

Variables

View Source
var (
	OsVersion_Channel_name = map[int32]string{
		0: "CHANNEL_UNSPECIFIED",
		1: "NORMAL",
		2: "BETA",
	}

	OsVersion_Channel_value = map[string]int32{
		"CHANNEL_UNSPECIFIED": 0,
		"NORMAL":              1,
		"BETA":                2,
	}
)

Functions

func AsAnyCastAccess

func AsAnyCastAccess(access OsVersionAccess) gotenresource.Access

Types

type Descriptor

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

func GetDescriptor

func GetDescriptor() *Descriptor

func (*Descriptor) CanBeParentless added in v1.0.21

func (d *Descriptor) CanBeParentless() bool

func (*Descriptor) GetNameDescriptor

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

func (*Descriptor) GetParentResDescriptors added in v1.0.21

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

func (*Descriptor) GetResourceTypeName

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

func (*Descriptor) NewGetQuery

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

func (*Descriptor) NewListQuery

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

func (*Descriptor) NewNameList

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

func (*Descriptor) NewParentNameList

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

func (*Descriptor) NewParentReferenceList

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

func (*Descriptor) NewQueryResultChange

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

func (*Descriptor) NewQueryResultSnapshot

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

func (*Descriptor) NewReferenceList

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

func (*Descriptor) NewResource

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

func (*Descriptor) NewResourceChange

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

func (*Descriptor) NewResourceChangeList

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

func (*Descriptor) NewResourceChangeMap

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

func (*Descriptor) NewResourceCursor

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

func (*Descriptor) NewResourceFieldMask

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

func (*Descriptor) NewResourceFilter

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

func (*Descriptor) NewResourceList

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

func (*Descriptor) NewResourceMap

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

func (*Descriptor) NewResourceName

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

func (*Descriptor) NewResourceOrderBy

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

func (*Descriptor) NewResourcePager

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 *OsVersion) 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 []*OsVersion) (out []*OsVersion)

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 OsVersion_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 *OsVersion) bool

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

func AndFilterConditions

func AndFilterConditions(conds ...FilterCondition) FilterCondition

type FilterConditionCompare

type FilterConditionCompare struct {
	Operator filterParser.CompareOperator
	OsVersion_FieldPathValue
}

func (*FilterConditionCompare) And

func (*FilterConditionCompare) ConditionCompare

func (cond *FilterConditionCompare) ConditionCompare()

func (*FilterConditionCompare) Evaluate

func (cond *FilterConditionCompare) Evaluate(res *OsVersion) bool

func (*FilterConditionCompare) EvaluateRaw

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

func (*FilterConditionCompare) GetOperator

func (*FilterConditionCompare) GetRawFieldPath

func (cond *FilterConditionCompare) GetRawFieldPath() gotenobject.FieldPath

func (*FilterConditionCompare) GetRawFieldPathValue

func (cond *FilterConditionCompare) GetRawFieldPathValue() gotenobject.FieldPathValue

func (*FilterConditionCompare) Satisfies

func (cond *FilterConditionCompare) Satisfies(other FilterCondition) bool

func (*FilterConditionCompare) SatisfiesRaw

func (cond *FilterConditionCompare) SatisfiesRaw(other gotenresource.FilterCondition) bool

func (*FilterConditionCompare) SpecifiesFieldPath

func (cond *FilterConditionCompare) SpecifiesFieldPath(fp OsVersion_FieldPath) bool

func (*FilterConditionCompare) SpecifiesRawFieldPath

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

func (*FilterConditionCompare) String

func (cond *FilterConditionCompare) String() string

type FilterConditionComposite

type FilterConditionComposite struct {
	Operator   filterParser.CompositeOperator
	Conditions []FilterCondition
}

func (*FilterConditionComposite) And

func (*FilterConditionComposite) ConditionComposite

func (cond *FilterConditionComposite) ConditionComposite()

func (*FilterConditionComposite) Evaluate

func (cond *FilterConditionComposite) Evaluate(res *OsVersion) bool

func (*FilterConditionComposite) EvaluateRaw

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

func (*FilterConditionComposite) GetOperator

func (*FilterConditionComposite) GetSubConditions

func (cond *FilterConditionComposite) GetSubConditions() []gotenresource.FilterCondition

func (*FilterConditionComposite) Satisfies

func (cond *FilterConditionComposite) Satisfies(other FilterCondition) bool

func (*FilterConditionComposite) SatisfiesRaw

func (cond *FilterConditionComposite) SatisfiesRaw(other gotenresource.FilterCondition) bool

func (*FilterConditionComposite) SpecifiesFieldPath

func (cond *FilterConditionComposite) SpecifiesFieldPath(fp OsVersion_FieldPath) bool

func (*FilterConditionComposite) SpecifiesRawFieldPath

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

func (*FilterConditionComposite) String

func (cond *FilterConditionComposite) String() string

type FilterConditionContains

func (*FilterConditionContains) And

func (*FilterConditionContains) ConditionContains

func (cond *FilterConditionContains) ConditionContains()

func (*FilterConditionContains) ConditionContainsType

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

func (*FilterConditionContains) Evaluate

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

func (*FilterConditionContains) EvaluateRaw

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

func (*FilterConditionContains) GetFieldPath

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

func (*FilterConditionIn) And

func (*FilterConditionIn) ConditionIn

func (cond *FilterConditionIn) ConditionIn()

func (*FilterConditionIn) Evaluate

func (cond *FilterConditionIn) Evaluate(res *OsVersion) 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 OsVersion_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 OsVersion_FieldPath
}

func (*FilterConditionIsNaN) And

func (*FilterConditionIsNaN) ConditionIsNaN

func (cond *FilterConditionIsNaN) ConditionIsNaN()

func (*FilterConditionIsNaN) Evaluate

func (cond *FilterConditionIsNaN) Evaluate(res *OsVersion) 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 OsVersion_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 OsVersion_FieldPath
}

func (*FilterConditionIsNull) And

func (*FilterConditionIsNull) ConditionIsNull

func (cond *FilterConditionIsNull) ConditionIsNull()

func (*FilterConditionIsNull) Evaluate

func (cond *FilterConditionIsNull) Evaluate(res *OsVersion) 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 OsVersion_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 *OsVersion) 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 OsVersion_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 {
	OsVersion_FieldPathArrayOfValues
}

func (*FilterConditionNotIn) And

func (*FilterConditionNotIn) ConditionNotIn

func (cond *FilterConditionNotIn) ConditionNotIn()

func (*FilterConditionNotIn) Evaluate

func (cond *FilterConditionNotIn) Evaluate(res *OsVersion) 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 OsVersion_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      *OsVersion_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           *OsVersion_FieldMask
	WithPagingInfo bool
}

func (*ListQuery) GetFieldMask

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

func (*ListQuery) GetFilter

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

func (*ListQuery) GetPager

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

func (*ListQuery) GetResourceDescriptor

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

func (*ListQuery) GetWithPagingInfo

func (q *ListQuery) GetWithPagingInfo() bool

func (*ListQuery) GotenQuery

func (q *ListQuery) GotenQuery()

func (*ListQuery) SetFieldMask

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

func (*ListQuery) SetFilter

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

func (*ListQuery) SetPager

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

func (*ListQuery) SetWithPagingInfo

func (q *ListQuery) SetWithPagingInfo(with bool)

func (*ListQuery) String

func (q *ListQuery) String() string

type Name

type Name struct {
	NamePattern
	OsVersionId string `firestore:"osVersionId"`
}

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

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

func (*Name) GetIUnderlyingParentName

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

func (*Name) GetIdParts

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

func (*Name) GetPattern

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

func (*Name) 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 *OsVersion) int

func (*OrderBy) CompareRaw

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

func (*OrderBy) GetFieldMask

func (orderBy *OrderBy) GetFieldMask() *OsVersion_FieldMask

func (*OrderBy) GetOrderByFields

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

func (*OrderBy) GetRawFieldMask

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

func (*OrderBy) InsertSorted

func (orderBy *OrderBy) InsertSorted(sorted OsVersionList, elem *OsVersion) (OsVersionList, int)

func (*OrderBy) InsertSortedRaw

func (orderBy *OrderBy) InsertSortedRaw(sorted gotenresource.ResourceList, elem gotenresource.Resource) (gotenresource.ResourceList, int)

func (*OrderBy) ParseProtoString

func (orderBy *OrderBy) ParseProtoString(data string) error

func (*OrderBy) ProtoString

func (orderBy *OrderBy) ProtoString() (string, error)

func (*OrderBy) SetFromCliFlag

func (orderBy *OrderBy) SetFromCliFlag(raw string) error

func (*OrderBy) Sort

func (orderBy *OrderBy) Sort(results OsVersionList)

func (*OrderBy) SortRaw

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

func (*OrderBy) String

func (orderBy *OrderBy) String() string

type OrderByField

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

func (*OrderByField) GetDirection

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

func (*OrderByField) GetFieldPath

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

type OsVersion

type OsVersion struct {

	// Name of OsVersion
	// When creating a new instance, this field is optional and if not provided,
	// it will be generated automatically. Last ID segment must conform to the
	// following regex: [a-z][a-z0-9\\-]{0,28}[a-z0-9]
	Name     *Name      `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	Metadata *meta.Meta `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"`
	// The version name.
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty" firestore:"version"`
	// Supported device type.
	DeviceType *device_type.Reference `` /* 135-byte string literal not displayed */
	// The minum previous OS version that is required to upgrade devices to the OS
	// version.
	MinimumPreviousVersion string            `` /* 164-byte string literal not displayed */
	Channel                OsVersion_Channel `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

OsVersion Resource

func (*OsVersion) Clone

func (o *OsVersion) Clone() *OsVersion

func (*OsVersion) CloneRaw

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

func (*OsVersion) Descriptor

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

Deprecated, Use OsVersion.ProtoReflect.Descriptor instead.

func (*OsVersion) EnsureMetadata added in v1.0.21

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

func (*OsVersion) GetChannel

func (m *OsVersion) GetChannel() OsVersion_Channel

func (*OsVersion) GetDeviceType

func (m *OsVersion) GetDeviceType() *device_type.Reference

func (*OsVersion) GetMetadata

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

func (*OsVersion) GetMinimumPreviousVersion

func (m *OsVersion) GetMinimumPreviousVersion() string

func (*OsVersion) GetName

func (m *OsVersion) GetName() *Name

func (*OsVersion) GetRawName

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

func (*OsVersion) GetResourceDescriptor

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

func (*OsVersion) GetVersion

func (m *OsVersion) GetVersion() string

func (*OsVersion) GotenMessage

func (*OsVersion) GotenMessage()

func (*OsVersion) GotenObjectExt

func (o *OsVersion) GotenObjectExt()

func (*OsVersion) GotenValidate

func (obj *OsVersion) GotenValidate() error

func (*OsVersion) MakeDiffFieldMask

func (o *OsVersion) MakeDiffFieldMask(other *OsVersion) *OsVersion_FieldMask

func (*OsVersion) MakeFullFieldMask

func (o *OsVersion) MakeFullFieldMask() *OsVersion_FieldMask

func (*OsVersion) MakeRawDiffFieldMask

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

func (*OsVersion) MakeRawFullFieldMask

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

func (*OsVersion) Marshal

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

func (*OsVersion) MarshalJSON

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

func (*OsVersion) MaybePopulateDefaults

func (r *OsVersion) MaybePopulateDefaults() error

func (*OsVersion) Merge

func (o *OsVersion) Merge(source *OsVersion)

func (*OsVersion) MergeRaw

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

func (*OsVersion) ProtoMessage

func (*OsVersion) ProtoMessage()

func (*OsVersion) ProtoReflect

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

func (*OsVersion) Reset

func (m *OsVersion) Reset()

func (*OsVersion) SetChannel

func (m *OsVersion) SetChannel(fv OsVersion_Channel)

func (*OsVersion) SetDeviceType

func (m *OsVersion) SetDeviceType(fv *device_type.Reference)

func (*OsVersion) SetMetadata

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

func (*OsVersion) SetMinimumPreviousVersion

func (m *OsVersion) SetMinimumPreviousVersion(fv string)

func (*OsVersion) SetName

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

func (*OsVersion) SetVersion

func (m *OsVersion) SetVersion(fv string)

func (*OsVersion) String

func (m *OsVersion) String() string

func (*OsVersion) Unmarshal

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

func (*OsVersion) UnmarshalJSON

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

type OsVersionAccess

type OsVersionAccess interface {
	GetOsVersion(context.Context, *GetQuery) (*OsVersion, error)
	BatchGetOsVersions(context.Context, []*Reference, ...gotenresource.BatchGetOption) error
	QueryOsVersions(context.Context, *ListQuery) (*QueryResultSnapshot, error)
	WatchOsVersion(context.Context, *GetQuery, func(*OsVersionChange) error) error
	WatchOsVersions(context.Context, *WatchQuery, func(*QueryResultChange) error) error
	SaveOsVersion(context.Context, *OsVersion, ...gotenresource.SaveOption) error
	DeleteOsVersion(context.Context, *Reference, ...gotenresource.DeleteOption) error
}

type OsVersionChange

type OsVersionChange struct {

	// OsVersion change
	//
	// Types that are valid to be assigned to ChangeType:
	//	*OsVersionChange_Added_
	//	*OsVersionChange_Modified_
	//	*OsVersionChange_Current_
	//	*OsVersionChange_Removed_
	ChangeType isOsVersionChange_ChangeType `protobuf_oneof:"change_type"`
	// contains filtered or unexported fields
}

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

func (*OsVersionChange) Descriptor

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

Deprecated, Use OsVersionChange.ProtoReflect.Descriptor instead.

func (*OsVersionChange) GetAdded

func (m *OsVersionChange) GetAdded() *OsVersionChange_Added

func (*OsVersionChange) GetChangeType

func (m *OsVersionChange) GetChangeType() isOsVersionChange_ChangeType

func (*OsVersionChange) GetCurrent

func (m *OsVersionChange) GetCurrent() *OsVersionChange_Current

func (*OsVersionChange) GetCurrentViewIndex

func (c *OsVersionChange) GetCurrentViewIndex() int32

func (*OsVersionChange) GetModified

func (m *OsVersionChange) GetModified() *OsVersionChange_Modified

func (*OsVersionChange) GetOsVersion

func (c *OsVersionChange) GetOsVersion() *OsVersion

func (*OsVersionChange) GetOsVersionName

func (c *OsVersionChange) GetOsVersionName() *Name

func (*OsVersionChange) GetPreviousViewIndex

func (c *OsVersionChange) GetPreviousViewIndex() int32

func (*OsVersionChange) GetRawName

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

func (*OsVersionChange) GetRawResource

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

func (*OsVersionChange) GetRemoved

func (m *OsVersionChange) GetRemoved() *OsVersionChange_Removed

func (*OsVersionChange) GotenMessage

func (*OsVersionChange) GotenMessage()

func (*OsVersionChange) GotenValidate

func (obj *OsVersionChange) GotenValidate() error

func (*OsVersionChange) IsAdd

func (c *OsVersionChange) IsAdd() bool

func (*OsVersionChange) IsCurrent

func (c *OsVersionChange) IsCurrent() bool

func (*OsVersionChange) IsDelete

func (c *OsVersionChange) IsDelete() bool

func (*OsVersionChange) IsModify

func (c *OsVersionChange) IsModify() bool

func (*OsVersionChange) Marshal

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

func (*OsVersionChange) MarshalJSON

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

func (*OsVersionChange) ProtoMessage

func (*OsVersionChange) ProtoMessage()

func (*OsVersionChange) ProtoReflect

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

func (*OsVersionChange) Reset

func (m *OsVersionChange) Reset()

func (*OsVersionChange) SetAdded

func (m *OsVersionChange) SetAdded(fv *OsVersionChange_Added)

func (*OsVersionChange) SetAddedRaw

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

func (*OsVersionChange) SetChangeType

func (m *OsVersionChange) SetChangeType(ofv isOsVersionChange_ChangeType)

func (*OsVersionChange) SetCurrent

func (m *OsVersionChange) SetCurrent(fv *OsVersionChange_Current)

func (*OsVersionChange) SetCurrentRaw

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

func (*OsVersionChange) SetDeletedRaw

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

func (*OsVersionChange) SetModified

func (m *OsVersionChange) SetModified(fv *OsVersionChange_Modified)

func (*OsVersionChange) SetModifiedRaw

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

func (*OsVersionChange) SetRemoved

func (m *OsVersionChange) SetRemoved(fv *OsVersionChange_Removed)

func (*OsVersionChange) String

func (m *OsVersionChange) String() string

func (*OsVersionChange) Unmarshal

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

func (*OsVersionChange) UnmarshalJSON

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

type OsVersionChangeList

type OsVersionChangeList []*OsVersionChange

func (OsVersionChangeList) Append

func (OsVersionChangeList) At

func (OsVersionChangeList) Length

func (l OsVersionChangeList) Length() int

func (OsVersionChangeList) Set

func (OsVersionChangeList) Slice

type OsVersionChangeMap

type OsVersionChangeMap map[Name]*OsVersionChange

func (OsVersionChangeMap) Delete

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

func (OsVersionChangeMap) ForEach

func (OsVersionChangeMap) Get

func (OsVersionChangeMap) Length

func (m OsVersionChangeMap) Length() int

func (OsVersionChangeMap) Set

type OsVersionChange_Added

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

OsVersion has been added to query view

func (*OsVersionChange_Added) Descriptor

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

Deprecated, Use OsVersionChange_Added.ProtoReflect.Descriptor instead.

func (*OsVersionChange_Added) GetOsVersion

func (m *OsVersionChange_Added) GetOsVersion() *OsVersion

func (*OsVersionChange_Added) GetViewIndex

func (m *OsVersionChange_Added) GetViewIndex() int32

func (*OsVersionChange_Added) GotenMessage

func (*OsVersionChange_Added) GotenMessage()

func (*OsVersionChange_Added) GotenValidate

func (obj *OsVersionChange_Added) GotenValidate() error

func (*OsVersionChange_Added) Marshal

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

func (*OsVersionChange_Added) MarshalJSON

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

func (*OsVersionChange_Added) ProtoMessage

func (*OsVersionChange_Added) ProtoMessage()

func (*OsVersionChange_Added) ProtoReflect

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

func (*OsVersionChange_Added) Reset

func (m *OsVersionChange_Added) Reset()

func (*OsVersionChange_Added) SetOsVersion

func (m *OsVersionChange_Added) SetOsVersion(fv *OsVersion)

func (*OsVersionChange_Added) SetViewIndex

func (m *OsVersionChange_Added) SetViewIndex(fv int32)

func (*OsVersionChange_Added) String

func (m *OsVersionChange_Added) String() string

func (*OsVersionChange_Added) Unmarshal

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

func (*OsVersionChange_Added) UnmarshalJSON

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

type OsVersionChange_Added_

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

type OsVersionChange_Current

type OsVersionChange_Current struct {
	OsVersion *OsVersion `protobuf:"bytes,1,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty" firestore:"osVersion"`
	// contains filtered or unexported fields
}

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

func (*OsVersionChange_Current) Descriptor

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

Deprecated, Use OsVersionChange_Current.ProtoReflect.Descriptor instead.

func (*OsVersionChange_Current) GetOsVersion

func (m *OsVersionChange_Current) GetOsVersion() *OsVersion

func (*OsVersionChange_Current) GotenMessage

func (*OsVersionChange_Current) GotenMessage()

func (*OsVersionChange_Current) GotenValidate

func (obj *OsVersionChange_Current) GotenValidate() error

func (*OsVersionChange_Current) Marshal

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

func (*OsVersionChange_Current) MarshalJSON

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

func (*OsVersionChange_Current) ProtoMessage

func (*OsVersionChange_Current) ProtoMessage()

func (*OsVersionChange_Current) ProtoReflect

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

func (*OsVersionChange_Current) Reset

func (m *OsVersionChange_Current) Reset()

func (*OsVersionChange_Current) SetOsVersion

func (m *OsVersionChange_Current) SetOsVersion(fv *OsVersion)

func (*OsVersionChange_Current) String

func (m *OsVersionChange_Current) String() string

func (*OsVersionChange_Current) Unmarshal

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

func (*OsVersionChange_Current) UnmarshalJSON

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

type OsVersionChange_Current_

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

type OsVersionChange_Modified

type OsVersionChange_Modified struct {

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

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

func (*OsVersionChange_Modified) Descriptor

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

Deprecated, Use OsVersionChange_Modified.ProtoReflect.Descriptor instead.

func (*OsVersionChange_Modified) GetFieldMask

func (m *OsVersionChange_Modified) GetFieldMask() *OsVersion_FieldMask

func (*OsVersionChange_Modified) GetName

func (m *OsVersionChange_Modified) GetName() *Name

func (*OsVersionChange_Modified) GetOsVersion

func (m *OsVersionChange_Modified) GetOsVersion() *OsVersion

func (*OsVersionChange_Modified) GetPreviousViewIndex

func (m *OsVersionChange_Modified) GetPreviousViewIndex() int32

func (*OsVersionChange_Modified) GetViewIndex

func (m *OsVersionChange_Modified) GetViewIndex() int32

func (*OsVersionChange_Modified) GotenMessage

func (*OsVersionChange_Modified) GotenMessage()

func (*OsVersionChange_Modified) GotenValidate

func (obj *OsVersionChange_Modified) GotenValidate() error

func (*OsVersionChange_Modified) Marshal

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

func (*OsVersionChange_Modified) MarshalJSON

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

func (*OsVersionChange_Modified) ProtoMessage

func (*OsVersionChange_Modified) ProtoMessage()

func (*OsVersionChange_Modified) ProtoReflect

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

func (*OsVersionChange_Modified) Reset

func (m *OsVersionChange_Modified) Reset()

func (*OsVersionChange_Modified) SetFieldMask

func (m *OsVersionChange_Modified) SetFieldMask(fv *OsVersion_FieldMask)

func (*OsVersionChange_Modified) SetName

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

func (*OsVersionChange_Modified) SetOsVersion

func (m *OsVersionChange_Modified) SetOsVersion(fv *OsVersion)

func (*OsVersionChange_Modified) SetPreviousViewIndex

func (m *OsVersionChange_Modified) SetPreviousViewIndex(fv int32)

func (*OsVersionChange_Modified) SetViewIndex

func (m *OsVersionChange_Modified) SetViewIndex(fv int32)

func (*OsVersionChange_Modified) String

func (m *OsVersionChange_Modified) String() string

func (*OsVersionChange_Modified) Unmarshal

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

func (*OsVersionChange_Modified) UnmarshalJSON

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

type OsVersionChange_Modified_

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

type OsVersionChange_Removed

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

func (*OsVersionChange_Removed) Descriptor

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

Deprecated, Use OsVersionChange_Removed.ProtoReflect.Descriptor instead.

func (*OsVersionChange_Removed) GetName

func (m *OsVersionChange_Removed) GetName() *Name

func (*OsVersionChange_Removed) GetViewIndex

func (m *OsVersionChange_Removed) GetViewIndex() int32

func (*OsVersionChange_Removed) GotenMessage

func (*OsVersionChange_Removed) GotenMessage()

func (*OsVersionChange_Removed) GotenValidate

func (obj *OsVersionChange_Removed) GotenValidate() error

func (*OsVersionChange_Removed) Marshal

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

func (*OsVersionChange_Removed) MarshalJSON

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

func (*OsVersionChange_Removed) ProtoMessage

func (*OsVersionChange_Removed) ProtoMessage()

func (*OsVersionChange_Removed) ProtoReflect

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

func (*OsVersionChange_Removed) Reset

func (m *OsVersionChange_Removed) Reset()

func (*OsVersionChange_Removed) SetName

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

func (*OsVersionChange_Removed) SetViewIndex

func (m *OsVersionChange_Removed) SetViewIndex(fv int32)

func (*OsVersionChange_Removed) String

func (m *OsVersionChange_Removed) String() string

func (*OsVersionChange_Removed) Unmarshal

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

func (*OsVersionChange_Removed) UnmarshalJSON

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

type OsVersionChange_Removed_

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

type OsVersionFieldPathBuilder

type OsVersionFieldPathBuilder struct{}

func NewOsVersionFieldPathBuilder

func NewOsVersionFieldPathBuilder() OsVersionFieldPathBuilder

func (OsVersionFieldPathBuilder) Channel

func (OsVersionFieldPathBuilder) DeviceType

func (OsVersionFieldPathBuilder) Metadata

func (OsVersionFieldPathBuilder) MinimumPreviousVersion

func (OsVersionFieldPathBuilder) Name

func (OsVersionFieldPathBuilder) Version

type OsVersionList

type OsVersionList []*OsVersion

func (OsVersionList) Append

func (OsVersionList) AppendList

func (OsVersionList) At

func (OsVersionList) Length

func (l OsVersionList) Length() int

func (OsVersionList) Set

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

func (OsVersionList) Slice

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

type OsVersionMap

type OsVersionMap map[Name]*OsVersion

func (OsVersionMap) Delete

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

func (OsVersionMap) ForEach

func (OsVersionMap) Get

func (OsVersionMap) Length

func (m OsVersionMap) Length() int

func (OsVersionMap) Set

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

type OsVersionMapPathSelectorMetadataAnnotations

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

func (OsVersionMapPathSelectorMetadataAnnotations) FieldPath

func (OsVersionMapPathSelectorMetadataAnnotations) WithArrayOfValues

func (OsVersionMapPathSelectorMetadataAnnotations) WithValue

type OsVersionMapPathSelectorMetadataLabels

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

func (OsVersionMapPathSelectorMetadataLabels) FieldPath

func (OsVersionMapPathSelectorMetadataLabels) WithArrayOfValues

func (OsVersionMapPathSelectorMetadataLabels) WithValue

type OsVersionMapPathSelectorMetadataShards

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

func (OsVersionMapPathSelectorMetadataShards) FieldPath

func (OsVersionMapPathSelectorMetadataShards) WithArrayOfValues

func (OsVersionMapPathSelectorMetadataShards) WithValue

type OsVersionNameList

type OsVersionNameList []*Name

func (OsVersionNameList) Append

func (OsVersionNameList) AppendList

func (OsVersionNameList) At

func (OsVersionNameList) Length

func (l OsVersionNameList) Length() int

func (OsVersionNameList) Set

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

func (OsVersionNameList) Slice

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

type OsVersionPathSelectorChannel

type OsVersionPathSelectorChannel struct{}

func (OsVersionPathSelectorChannel) FieldPath

func (OsVersionPathSelectorChannel) WithArrayOfValues

func (OsVersionPathSelectorChannel) WithValue

type OsVersionPathSelectorDeviceType

type OsVersionPathSelectorDeviceType struct{}

func (OsVersionPathSelectorDeviceType) FieldPath

func (OsVersionPathSelectorDeviceType) WithArrayOfValues

func (OsVersionPathSelectorDeviceType) WithValue

type OsVersionPathSelectorMetadata

type OsVersionPathSelectorMetadata struct{}

func (OsVersionPathSelectorMetadata) Annotations

func (OsVersionPathSelectorMetadata) CreateTime

func (OsVersionPathSelectorMetadata) DeleteTime

func (OsVersionPathSelectorMetadata) FieldPath

func (OsVersionPathSelectorMetadata) Generation

func (OsVersionPathSelectorMetadata) Labels

func (OsVersionPathSelectorMetadata) Lifecycle

func (OsVersionPathSelectorMetadata) OwnerReferences

func (OsVersionPathSelectorMetadata) ResourceVersion

func (OsVersionPathSelectorMetadata) Services added in v1.0.21

func (OsVersionPathSelectorMetadata) Shards

func (OsVersionPathSelectorMetadata) Syncing

func (OsVersionPathSelectorMetadata) Tags

func (OsVersionPathSelectorMetadata) UpdateTime

func (OsVersionPathSelectorMetadata) Uuid

func (OsVersionPathSelectorMetadata) WithArrayOfValues

func (OsVersionPathSelectorMetadata) WithSubArrayItemValue

func (OsVersionPathSelectorMetadata) WithSubArrayOfValues

func (OsVersionPathSelectorMetadata) WithSubPath

func (OsVersionPathSelectorMetadata) WithSubValue

func (OsVersionPathSelectorMetadata) WithValue

type OsVersionPathSelectorMetadataAnnotations

type OsVersionPathSelectorMetadataAnnotations struct{}

func (OsVersionPathSelectorMetadataAnnotations) FieldPath

func (OsVersionPathSelectorMetadataAnnotations) WithArrayOfValues

func (OsVersionPathSelectorMetadataAnnotations) WithKey

func (OsVersionPathSelectorMetadataAnnotations) WithValue

type OsVersionPathSelectorMetadataCreateTime

type OsVersionPathSelectorMetadataCreateTime struct{}

func (OsVersionPathSelectorMetadataCreateTime) FieldPath

func (OsVersionPathSelectorMetadataCreateTime) WithArrayOfValues

func (OsVersionPathSelectorMetadataCreateTime) WithValue

type OsVersionPathSelectorMetadataDeleteTime

type OsVersionPathSelectorMetadataDeleteTime struct{}

func (OsVersionPathSelectorMetadataDeleteTime) FieldPath

func (OsVersionPathSelectorMetadataDeleteTime) WithArrayOfValues

func (OsVersionPathSelectorMetadataDeleteTime) WithValue

type OsVersionPathSelectorMetadataGeneration

type OsVersionPathSelectorMetadataGeneration struct{}

func (OsVersionPathSelectorMetadataGeneration) FieldPath

func (OsVersionPathSelectorMetadataGeneration) WithArrayOfValues

func (OsVersionPathSelectorMetadataGeneration) WithValue

type OsVersionPathSelectorMetadataLabels

type OsVersionPathSelectorMetadataLabels struct{}

func (OsVersionPathSelectorMetadataLabels) FieldPath

func (OsVersionPathSelectorMetadataLabels) WithArrayOfValues

func (OsVersionPathSelectorMetadataLabels) WithKey

func (OsVersionPathSelectorMetadataLabels) WithValue

type OsVersionPathSelectorMetadataLifecycle

type OsVersionPathSelectorMetadataLifecycle struct{}

func (OsVersionPathSelectorMetadataLifecycle) BlockDeletion

func (OsVersionPathSelectorMetadataLifecycle) FieldPath

func (OsVersionPathSelectorMetadataLifecycle) State

func (OsVersionPathSelectorMetadataLifecycle) WithArrayOfValues

func (OsVersionPathSelectorMetadataLifecycle) WithValue

type OsVersionPathSelectorMetadataLifecycleBlockDeletion

type OsVersionPathSelectorMetadataLifecycleBlockDeletion struct{}

func (OsVersionPathSelectorMetadataLifecycleBlockDeletion) FieldPath

func (OsVersionPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues

func (OsVersionPathSelectorMetadataLifecycleBlockDeletion) WithValue

type OsVersionPathSelectorMetadataLifecycleState

type OsVersionPathSelectorMetadataLifecycleState struct{}

func (OsVersionPathSelectorMetadataLifecycleState) FieldPath

func (OsVersionPathSelectorMetadataLifecycleState) WithArrayOfValues

func (OsVersionPathSelectorMetadataLifecycleState) WithValue

type OsVersionPathSelectorMetadataOwnerReferences

type OsVersionPathSelectorMetadataOwnerReferences struct{}

func (OsVersionPathSelectorMetadataOwnerReferences) Controller

func (OsVersionPathSelectorMetadataOwnerReferences) FieldPath

func (OsVersionPathSelectorMetadataOwnerReferences) Kind

func (OsVersionPathSelectorMetadataOwnerReferences) Name

func (OsVersionPathSelectorMetadataOwnerReferences) Region

func (OsVersionPathSelectorMetadataOwnerReferences) Version

func (OsVersionPathSelectorMetadataOwnerReferences) WithArrayOfValues

func (OsVersionPathSelectorMetadataOwnerReferences) WithItemValue

func (OsVersionPathSelectorMetadataOwnerReferences) WithValue

type OsVersionPathSelectorMetadataOwnerReferencesController

type OsVersionPathSelectorMetadataOwnerReferencesController struct{}

func (OsVersionPathSelectorMetadataOwnerReferencesController) FieldPath

func (OsVersionPathSelectorMetadataOwnerReferencesController) WithArrayOfValues

func (OsVersionPathSelectorMetadataOwnerReferencesController) WithValue

type OsVersionPathSelectorMetadataOwnerReferencesKind

type OsVersionPathSelectorMetadataOwnerReferencesKind struct{}

func (OsVersionPathSelectorMetadataOwnerReferencesKind) FieldPath

func (OsVersionPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues

func (OsVersionPathSelectorMetadataOwnerReferencesKind) WithValue

type OsVersionPathSelectorMetadataOwnerReferencesName

type OsVersionPathSelectorMetadataOwnerReferencesName struct{}

func (OsVersionPathSelectorMetadataOwnerReferencesName) FieldPath

func (OsVersionPathSelectorMetadataOwnerReferencesName) WithArrayOfValues

func (OsVersionPathSelectorMetadataOwnerReferencesName) WithValue

type OsVersionPathSelectorMetadataOwnerReferencesRegion

type OsVersionPathSelectorMetadataOwnerReferencesRegion struct{}

func (OsVersionPathSelectorMetadataOwnerReferencesRegion) FieldPath

func (OsVersionPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues

func (OsVersionPathSelectorMetadataOwnerReferencesRegion) WithValue

type OsVersionPathSelectorMetadataOwnerReferencesRequiresOwnerReference

type OsVersionPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}

func (OsVersionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath

func (OsVersionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues

func (OsVersionPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue

type OsVersionPathSelectorMetadataOwnerReferencesVersion

type OsVersionPathSelectorMetadataOwnerReferencesVersion struct{}

func (OsVersionPathSelectorMetadataOwnerReferencesVersion) FieldPath

func (OsVersionPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues

func (OsVersionPathSelectorMetadataOwnerReferencesVersion) WithValue

type OsVersionPathSelectorMetadataResourceVersion

type OsVersionPathSelectorMetadataResourceVersion struct{}

func (OsVersionPathSelectorMetadataResourceVersion) FieldPath

func (OsVersionPathSelectorMetadataResourceVersion) WithArrayOfValues

func (OsVersionPathSelectorMetadataResourceVersion) WithValue

type OsVersionPathSelectorMetadataServices added in v1.0.21

type OsVersionPathSelectorMetadataServices struct{}

func (OsVersionPathSelectorMetadataServices) AllowedServices added in v1.0.21

func (OsVersionPathSelectorMetadataServices) FieldPath added in v1.0.21

func (OsVersionPathSelectorMetadataServices) OwningService added in v1.0.21

func (OsVersionPathSelectorMetadataServices) WithArrayOfValues added in v1.0.21

func (OsVersionPathSelectorMetadataServices) WithValue added in v1.0.21

type OsVersionPathSelectorMetadataServicesAllowedServices added in v1.0.21

type OsVersionPathSelectorMetadataServicesAllowedServices struct{}

func (OsVersionPathSelectorMetadataServicesAllowedServices) FieldPath added in v1.0.21

func (OsVersionPathSelectorMetadataServicesAllowedServices) WithArrayOfValues added in v1.0.21

func (OsVersionPathSelectorMetadataServicesAllowedServices) WithItemValue added in v1.0.21

func (OsVersionPathSelectorMetadataServicesAllowedServices) WithValue added in v1.0.21

type OsVersionPathSelectorMetadataServicesOwningService added in v1.0.21

type OsVersionPathSelectorMetadataServicesOwningService struct{}

func (OsVersionPathSelectorMetadataServicesOwningService) FieldPath added in v1.0.21

func (OsVersionPathSelectorMetadataServicesOwningService) WithArrayOfValues added in v1.0.21

func (OsVersionPathSelectorMetadataServicesOwningService) WithValue added in v1.0.21

type OsVersionPathSelectorMetadataShards

type OsVersionPathSelectorMetadataShards struct{}

func (OsVersionPathSelectorMetadataShards) FieldPath

func (OsVersionPathSelectorMetadataShards) WithArrayOfValues

func (OsVersionPathSelectorMetadataShards) WithKey

func (OsVersionPathSelectorMetadataShards) WithValue

type OsVersionPathSelectorMetadataSyncing

type OsVersionPathSelectorMetadataSyncing struct{}

func (OsVersionPathSelectorMetadataSyncing) FieldPath

func (OsVersionPathSelectorMetadataSyncing) OwningRegion

func (OsVersionPathSelectorMetadataSyncing) Regions

func (OsVersionPathSelectorMetadataSyncing) WithArrayOfValues

func (OsVersionPathSelectorMetadataSyncing) WithValue

type OsVersionPathSelectorMetadataSyncingOwningRegion

type OsVersionPathSelectorMetadataSyncingOwningRegion struct{}

func (OsVersionPathSelectorMetadataSyncingOwningRegion) FieldPath

func (OsVersionPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues

func (OsVersionPathSelectorMetadataSyncingOwningRegion) WithValue

type OsVersionPathSelectorMetadataSyncingRegions

type OsVersionPathSelectorMetadataSyncingRegions struct{}

func (OsVersionPathSelectorMetadataSyncingRegions) FieldPath

func (OsVersionPathSelectorMetadataSyncingRegions) WithArrayOfValues

func (OsVersionPathSelectorMetadataSyncingRegions) WithItemValue

func (OsVersionPathSelectorMetadataSyncingRegions) WithValue

type OsVersionPathSelectorMetadataTags

type OsVersionPathSelectorMetadataTags struct{}

func (OsVersionPathSelectorMetadataTags) FieldPath

func (OsVersionPathSelectorMetadataTags) WithArrayOfValues

func (OsVersionPathSelectorMetadataTags) WithItemValue

func (OsVersionPathSelectorMetadataTags) WithValue

type OsVersionPathSelectorMetadataUpdateTime

type OsVersionPathSelectorMetadataUpdateTime struct{}

func (OsVersionPathSelectorMetadataUpdateTime) FieldPath

func (OsVersionPathSelectorMetadataUpdateTime) WithArrayOfValues

func (OsVersionPathSelectorMetadataUpdateTime) WithValue

type OsVersionPathSelectorMetadataUuid

type OsVersionPathSelectorMetadataUuid struct{}

func (OsVersionPathSelectorMetadataUuid) FieldPath

func (OsVersionPathSelectorMetadataUuid) WithArrayOfValues

func (OsVersionPathSelectorMetadataUuid) WithValue

type OsVersionPathSelectorMinimumPreviousVersion

type OsVersionPathSelectorMinimumPreviousVersion struct{}

func (OsVersionPathSelectorMinimumPreviousVersion) FieldPath

func (OsVersionPathSelectorMinimumPreviousVersion) WithArrayOfValues

func (OsVersionPathSelectorMinimumPreviousVersion) WithValue

type OsVersionPathSelectorName

type OsVersionPathSelectorName struct{}

func (OsVersionPathSelectorName) FieldPath

func (OsVersionPathSelectorName) WithArrayOfValues

func (OsVersionPathSelectorName) WithValue

type OsVersionPathSelectorVersion

type OsVersionPathSelectorVersion struct{}

func (OsVersionPathSelectorVersion) FieldPath

func (OsVersionPathSelectorVersion) WithArrayOfValues

func (OsVersionPathSelectorVersion) WithValue

type OsVersionReferenceList

type OsVersionReferenceList []*Reference

func (OsVersionReferenceList) Append

func (OsVersionReferenceList) AppendList

func (OsVersionReferenceList) At

func (OsVersionReferenceList) Length

func (l OsVersionReferenceList) Length() int

func (OsVersionReferenceList) Set

func (OsVersionReferenceList) Slice

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

type OsVersion_Channel

type OsVersion_Channel int32
const (
	OsVersion_CHANNEL_UNSPECIFIED OsVersion_Channel = 0
	OsVersion_NORMAL              OsVersion_Channel = 1
	OsVersion_BETA                OsVersion_Channel = 2
)

func (OsVersion_Channel) Descriptor

func (OsVersion_Channel) Enum

func (OsVersion_Channel) EnumDescriptor

func (OsVersion_Channel) EnumDescriptor() ([]byte, []int)

Deprecated, Use OsVersion_Channel.ProtoReflect.Descriptor instead.

func (OsVersion_Channel) Number

func (OsVersion_Channel) String

func (x OsVersion_Channel) String() string

func (OsVersion_Channel) Type

type OsVersion_FieldMask

type OsVersion_FieldMask struct {
	Paths []OsVersion_FieldPath
}

func FullOsVersion_FieldMask

func FullOsVersion_FieldMask() *OsVersion_FieldMask

func ResourceViewFieldMask

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

func (*OsVersion_FieldMask) AppendPath

func (fieldMask *OsVersion_FieldMask) AppendPath(path OsVersion_FieldPath)

func (*OsVersion_FieldMask) AppendRawPath

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

func (*OsVersion_FieldMask) DecodeFirestore

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

func (*OsVersion_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*OsVersion_FieldMask) FilterInputFields

func (fieldMask *OsVersion_FieldMask) FilterInputFields() *OsVersion_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*OsVersion_FieldMask) FromProtoFieldMask

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

func (*OsVersion_FieldMask) GetPaths

func (fieldMask *OsVersion_FieldMask) GetPaths() []OsVersion_FieldPath

func (*OsVersion_FieldMask) GetRawPaths

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

func (*OsVersion_FieldMask) IsFull

func (fieldMask *OsVersion_FieldMask) IsFull() bool

func (OsVersion_FieldMask) Marshal

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

implement methods required by customType

func (OsVersion_FieldMask) MarshalJSON

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

func (*OsVersion_FieldMask) PathsCount

func (fieldMask *OsVersion_FieldMask) PathsCount() int

func (*OsVersion_FieldMask) Project

func (fieldMask *OsVersion_FieldMask) Project(source *OsVersion) *OsVersion

func (*OsVersion_FieldMask) ProjectRaw

func (*OsVersion_FieldMask) ProtoMessage

func (fieldMask *OsVersion_FieldMask) ProtoMessage()

func (*OsVersion_FieldMask) ProtoReflect

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

func (*OsVersion_FieldMask) Reset

func (fieldMask *OsVersion_FieldMask) Reset()

func (*OsVersion_FieldMask) Set

func (fieldMask *OsVersion_FieldMask) Set(target, source *OsVersion)

func (*OsVersion_FieldMask) SetFromCliFlag

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

func (*OsVersion_FieldMask) SetRaw

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

func (*OsVersion_FieldMask) Size

func (fieldMask *OsVersion_FieldMask) Size() int

func (*OsVersion_FieldMask) String

func (fieldMask *OsVersion_FieldMask) String() string

func (*OsVersion_FieldMask) Subtract

func (fieldMask *OsVersion_FieldMask) Subtract(other *OsVersion_FieldMask) *OsVersion_FieldMask

func (*OsVersion_FieldMask) SubtractRaw

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

func (*OsVersion_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*OsVersion_FieldMask) Unmarshal

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

func (*OsVersion_FieldMask) UnmarshalJSON

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

type OsVersion_FieldPath

type OsVersion_FieldPath interface {
	gotenobject.FieldPath
	Selector() OsVersion_FieldPathSelector
	Get(source *OsVersion) []interface{}
	GetSingle(source *OsVersion) (interface{}, bool)
	ClearValue(item *OsVersion)

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

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

func BuildOsVersion_FieldPath

func BuildOsVersion_FieldPath(fp gotenobject.RawFieldPath) (OsVersion_FieldPath, error)

func MustParseOsVersion_FieldPath

func MustParseOsVersion_FieldPath(rawField string) OsVersion_FieldPath

func ParseOsVersion_FieldPath

func ParseOsVersion_FieldPath(rawField string) (OsVersion_FieldPath, error)

type OsVersion_FieldPathArrayItemValue

type OsVersion_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	OsVersion_FieldPath
	ContainsValue(*OsVersion) bool
}

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

func MustParseOsVersion_FieldPathArrayItemValue

func MustParseOsVersion_FieldPathArrayItemValue(pathStr, valueStr string) OsVersion_FieldPathArrayItemValue

func ParseOsVersion_FieldPathArrayItemValue

func ParseOsVersion_FieldPathArrayItemValue(pathStr, valueStr string) (OsVersion_FieldPathArrayItemValue, error)

ParseOsVersion_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type OsVersion_FieldPathArrayOfValues

type OsVersion_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	OsVersion_FieldPath
}

OsVersion_FieldPathArrayOfValues allows storing slice of values for OsVersion fields according to their type

func MustParseOsVersion_FieldPathArrayOfValues

func MustParseOsVersion_FieldPathArrayOfValues(pathStr, valuesStr string) OsVersion_FieldPathArrayOfValues

func ParseOsVersion_FieldPathArrayOfValues

func ParseOsVersion_FieldPathArrayOfValues(pathStr, valuesStr string) (OsVersion_FieldPathArrayOfValues, error)

type OsVersion_FieldPathSelector

type OsVersion_FieldPathSelector int32
const (
	OsVersion_FieldPathSelectorName                   OsVersion_FieldPathSelector = 0
	OsVersion_FieldPathSelectorMetadata               OsVersion_FieldPathSelector = 1
	OsVersion_FieldPathSelectorVersion                OsVersion_FieldPathSelector = 2
	OsVersion_FieldPathSelectorDeviceType             OsVersion_FieldPathSelector = 3
	OsVersion_FieldPathSelectorMinimumPreviousVersion OsVersion_FieldPathSelector = 4
	OsVersion_FieldPathSelectorChannel                OsVersion_FieldPathSelector = 5
)

func (OsVersion_FieldPathSelector) String

type OsVersion_FieldPathValue

type OsVersion_FieldPathValue interface {
	OsVersion_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **OsVersion)
	CompareWith(*OsVersion) (cmp int, comparable bool)
}

OsVersion_FieldPathValue allows storing values for OsVersion fields according to their type

func MustParseOsVersion_FieldPathValue

func MustParseOsVersion_FieldPathValue(pathStr, valueStr string) OsVersion_FieldPathValue

func ParseOsVersion_FieldPathValue

func ParseOsVersion_FieldPathValue(pathStr, valueStr string) (OsVersion_FieldPathValue, error)

type OsVersion_FieldSubPath

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

func (*OsVersion_FieldSubPath) AsMetadataSubPath

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

func (*OsVersion_FieldSubPath) ClearValue

func (fps *OsVersion_FieldSubPath) ClearValue(item *OsVersion)

func (*OsVersion_FieldSubPath) ClearValueRaw

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

func (*OsVersion_FieldSubPath) Get

func (fps *OsVersion_FieldSubPath) Get(source *OsVersion) (values []interface{})

Get returns all values pointed by selected field from source OsVersion

func (*OsVersion_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*OsVersion_FieldSubPath) GetRaw

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

func (*OsVersion_FieldSubPath) GetSingle

func (fps *OsVersion_FieldSubPath) GetSingle(source *OsVersion) (interface{}, bool)

GetSingle returns value of selected field from source OsVersion

func (*OsVersion_FieldSubPath) GetSingleRaw

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

func (*OsVersion_FieldSubPath) IsLeaf

func (fps *OsVersion_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*OsVersion_FieldSubPath) JSONString

func (fps *OsVersion_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*OsVersion_FieldSubPath) Selector

func (*OsVersion_FieldSubPath) SplitIntoTerminalIPaths

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

func (*OsVersion_FieldSubPath) String

func (fps *OsVersion_FieldSubPath) String() string

String returns path representation in proto convention

func (*OsVersion_FieldSubPath) WithIArrayItemValue

func (fps *OsVersion_FieldSubPath) WithIArrayItemValue(value interface{}) OsVersion_FieldPathArrayItemValue

func (*OsVersion_FieldSubPath) WithIArrayOfValues

func (fps *OsVersion_FieldSubPath) WithIArrayOfValues(values interface{}) OsVersion_FieldPathArrayOfValues

func (*OsVersion_FieldSubPath) WithIValue

func (fps *OsVersion_FieldSubPath) WithIValue(value interface{}) OsVersion_FieldPathValue

func (*OsVersion_FieldSubPath) WithRawIArrayItemValue

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

func (*OsVersion_FieldSubPath) WithRawIArrayOfValues

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

func (*OsVersion_FieldSubPath) WithRawIValue

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

type OsVersion_FieldSubPathArrayItemValue

type OsVersion_FieldSubPathArrayItemValue struct {
	OsVersion_FieldPath
	// contains filtered or unexported fields
}

func (*OsVersion_FieldSubPathArrayItemValue) AsMetadataPathItemValue

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

func (*OsVersion_FieldSubPathArrayItemValue) ContainsValue

func (fpaivs *OsVersion_FieldSubPathArrayItemValue) ContainsValue(source *OsVersion) bool

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

func (*OsVersion_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type OsVersion_FieldSubPathArrayOfValues

type OsVersion_FieldSubPathArrayOfValues struct {
	OsVersion_FieldPath
	// contains filtered or unexported fields
}

func (*OsVersion_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues

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

func (*OsVersion_FieldSubPathArrayOfValues) GetRawValues

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

type OsVersion_FieldSubPathValue

type OsVersion_FieldSubPathValue struct {
	OsVersion_FieldPath
	// contains filtered or unexported fields
}

func (*OsVersion_FieldSubPathValue) AsMetadataPathValue

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

func (*OsVersion_FieldSubPathValue) CompareWith

func (fpvs *OsVersion_FieldSubPathValue) CompareWith(source *OsVersion) (int, bool)

func (*OsVersion_FieldSubPathValue) CompareWithRaw

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

func (*OsVersion_FieldSubPathValue) GetRawValue

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

func (*OsVersion_FieldSubPathValue) SetTo

func (fpvs *OsVersion_FieldSubPathValue) SetTo(target **OsVersion)

func (*OsVersion_FieldSubPathValue) SetToRaw

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

type OsVersion_FieldTerminalPath

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

func (*OsVersion_FieldTerminalPath) ClearValue

func (fp *OsVersion_FieldTerminalPath) ClearValue(item *OsVersion)

func (*OsVersion_FieldTerminalPath) ClearValueRaw

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

func (*OsVersion_FieldTerminalPath) Get

func (fp *OsVersion_FieldTerminalPath) Get(source *OsVersion) (values []interface{})

Get returns all values pointed by specific field from source OsVersion

func (*OsVersion_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*OsVersion_FieldTerminalPath) GetRaw

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

func (*OsVersion_FieldTerminalPath) GetSingle

func (fp *OsVersion_FieldTerminalPath) GetSingle(source *OsVersion) (interface{}, bool)

GetSingle returns value pointed by specific field of from source OsVersion

func (*OsVersion_FieldTerminalPath) GetSingleRaw

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

func (*OsVersion_FieldTerminalPath) IsLeaf

func (fp *OsVersion_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*OsVersion_FieldTerminalPath) JSONString

func (fp *OsVersion_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*OsVersion_FieldTerminalPath) Selector

func (*OsVersion_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*OsVersion_FieldTerminalPath) String

func (fp *OsVersion_FieldTerminalPath) String() string

String returns path representation in proto convention

func (*OsVersion_FieldTerminalPath) WithIArrayItemValue

func (fp *OsVersion_FieldTerminalPath) WithIArrayItemValue(value interface{}) OsVersion_FieldPathArrayItemValue

func (*OsVersion_FieldTerminalPath) WithIArrayOfValues

func (fp *OsVersion_FieldTerminalPath) WithIArrayOfValues(values interface{}) OsVersion_FieldPathArrayOfValues

func (*OsVersion_FieldTerminalPath) WithIValue

func (fp *OsVersion_FieldTerminalPath) WithIValue(value interface{}) OsVersion_FieldPathValue

func (*OsVersion_FieldTerminalPath) WithRawIArrayItemValue

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

func (*OsVersion_FieldTerminalPath) WithRawIArrayOfValues

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

func (*OsVersion_FieldTerminalPath) WithRawIValue

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

type OsVersion_FieldTerminalPathArrayItemValue

type OsVersion_FieldTerminalPathArrayItemValue struct {
	OsVersion_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*OsVersion_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *OsVersion_FieldTerminalPathArrayItemValue) ContainsValue(source *OsVersion) bool

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

func (*OsVersion_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*OsVersion_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *OsVersion_FieldTerminalPathArrayItemValue) GetSingle(source *OsVersion) (interface{}, bool)

func (*OsVersion_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type OsVersion_FieldTerminalPathArrayOfValues

type OsVersion_FieldTerminalPathArrayOfValues struct {
	OsVersion_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*OsVersion_FieldTerminalPathArrayOfValues) AsChannelArrayOfValues

func (fpaov *OsVersion_FieldTerminalPathArrayOfValues) AsChannelArrayOfValues() ([]OsVersion_Channel, bool)

func (*OsVersion_FieldTerminalPathArrayOfValues) AsDeviceTypeArrayOfValues

func (fpaov *OsVersion_FieldTerminalPathArrayOfValues) AsDeviceTypeArrayOfValues() ([]*device_type.Reference, bool)

func (*OsVersion_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues

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

func (*OsVersion_FieldTerminalPathArrayOfValues) AsMinimumPreviousVersionArrayOfValues

func (fpaov *OsVersion_FieldTerminalPathArrayOfValues) AsMinimumPreviousVersionArrayOfValues() ([]string, bool)

func (*OsVersion_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

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

func (*OsVersion_FieldTerminalPathArrayOfValues) AsVersionArrayOfValues

func (fpaov *OsVersion_FieldTerminalPathArrayOfValues) AsVersionArrayOfValues() ([]string, bool)

func (*OsVersion_FieldTerminalPathArrayOfValues) GetRawValues

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

type OsVersion_FieldTerminalPathValue

type OsVersion_FieldTerminalPathValue struct {
	OsVersion_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*OsVersion_FieldTerminalPathValue) AsChannelValue

func (fpv *OsVersion_FieldTerminalPathValue) AsChannelValue() (OsVersion_Channel, bool)

func (*OsVersion_FieldTerminalPathValue) AsDeviceTypeValue

func (fpv *OsVersion_FieldTerminalPathValue) AsDeviceTypeValue() (*device_type.Reference, bool)

func (*OsVersion_FieldTerminalPathValue) AsMetadataValue

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

func (*OsVersion_FieldTerminalPathValue) AsMinimumPreviousVersionValue

func (fpv *OsVersion_FieldTerminalPathValue) AsMinimumPreviousVersionValue() (string, bool)

func (*OsVersion_FieldTerminalPathValue) AsNameValue

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

func (*OsVersion_FieldTerminalPathValue) AsVersionValue

func (fpv *OsVersion_FieldTerminalPathValue) AsVersionValue() (string, bool)

func (*OsVersion_FieldTerminalPathValue) CompareWith

func (fpv *OsVersion_FieldTerminalPathValue) CompareWith(source *OsVersion) (int, bool)

CompareWith compares value in the 'OsVersion_FieldTerminalPathValue' with the value under path in 'OsVersion'.

func (*OsVersion_FieldTerminalPathValue) CompareWithRaw

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

func (*OsVersion_FieldTerminalPathValue) GetRawValue

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

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

func (*OsVersion_FieldTerminalPathValue) SetTo

func (fpv *OsVersion_FieldTerminalPathValue) SetTo(target **OsVersion)

SetTo stores value for selected field for object OsVersion

func (*OsVersion_FieldTerminalPathValue) SetToRaw

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

type PagerCursor

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

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

func (*PagerCursor) GetInclusion

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

func (*PagerCursor) GetPageDirection

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

func (*PagerCursor) GetValue

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

func (*PagerCursor) IsEmpty

func (cursor *PagerCursor) IsEmpty() bool

func (*PagerCursor) ParseProtoString

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

func (*PagerCursor) ProtoString

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

func (*PagerCursor) SetCursorValue

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

func (*PagerCursor) SetFromCliFlag

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

func (*PagerCursor) SetInclusion

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

func (*PagerCursor) SetPageDirection

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

func (*PagerCursor) String

func (cursor *PagerCursor) String() string

type PagerQuery

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

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

func MakePagerQuery

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

MakePagerQuery builds pager from API data and applies defaults

func (*PagerQuery) GetCursor

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

func (*PagerQuery) GetLimit

func (p *PagerQuery) GetLimit() int

func (*PagerQuery) GetOrderBy

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

func (*PagerQuery) GetPeekForward

func (p *PagerQuery) GetPeekForward() bool

func (*PagerQuery) GetResourceDescriptor

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

func (*PagerQuery) PageDirection

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

func (*PagerQuery) SetCursor

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

func (*PagerQuery) SetLimit

func (p *PagerQuery) SetLimit(limit int)

func (*PagerQuery) SetOrderBy

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

func (*PagerQuery) SetPageDirection

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

func (*PagerQuery) SetPeekForward

func (p *PagerQuery) SetPeekForward(peekForward bool)

type QueryResultChange

type QueryResultChange struct {
	Changes        []*OsVersionChange
	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 {
	OsVersions        []*OsVersion
	PrevPageCursor    *PagerCursor
	NextPageCursor    *PagerCursor
	TotalResultsCount int32
	CurrentOffset     int32
}

func (*QueryResultSnapshot) GetNextPageCursor

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

func (*QueryResultSnapshot) GetPagingInfo

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

func (*QueryResultSnapshot) GetPrevPageCursor

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

func (*QueryResultSnapshot) GetResults

func (*QueryResultSnapshot) SetCursors

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

func (*QueryResultSnapshot) SetPagingInfo

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

func (*QueryResultSnapshot) SetResults

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

type Reference

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

func MakeReference

func MakeReference(name *Name, osVersion *OsVersion) (*Reference, error)

func MustParseReference

func MustParseReference(name string) *Reference

func ParseReference

func ParseReference(name string) (*Reference, error)

func (*Reference) ClearCached

func (ref *Reference) ClearCached()

func (*Reference) FullyQualifiedName

func (ref *Reference) FullyQualifiedName() (string, error)

func (*Reference) GetIParentName

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

func (*Reference) GetIUnderlyingParentName

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

func (*Reference) GetIdParts

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

func (*Reference) GetOsVersion

func (ref *Reference) GetOsVersion() *OsVersion

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

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

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

func (*WatchQuery) GetWatchType

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

func (*WatchQuery) SetMaximumChunkSize

func (q *WatchQuery) SetMaximumChunkSize(chunkSize int)

func (*WatchQuery) SetResumeToken

func (q *WatchQuery) SetResumeToken(token string)

func (*WatchQuery) SetStartingTime

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

func (*WatchQuery) SetWatchType

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

func (*WatchQuery) String

func (q *WatchQuery) String() string

Jump to

Keyboard shortcuts

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