config_map

package
v1.0.50 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	NamePattern_Project_Region = "projects/{project}/regions/{region}/configMaps/{config_map}"
)

Variables

This section is empty.

Functions

func AsAnyCastAccess

func AsAnyCastAccess(access ConfigMapAccess) gotenresource.Access

Types

type ConfigMap

type ConfigMap struct {

	// Name of ConfigMap
	// 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 is an object with information like create, update and delete time
	// (for async deleted resources), has user labels/annotations, sharding
	// information, multi-region syncing information and may have non-schema
	// owners (useful for taking ownership of resources belonging to lower level
	// services by higher ones).
	Metadata *meta.Meta `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"`
	// Display name of ConfigMap
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty" firestore:"displayName"`
	// Data contains the configuration data.
	// Each key must consist of alphanumeric characters, '-', '_' or '.'.
	// Values with non-UTF-8 byte sequences must use the BinaryData field.
	// The keys stored in Data must not overlap with the keys in
	// the BinaryData field, this is enforced during validation process.
	// +optional
	Data map[string]string `` /* 166-byte string literal not displayed */
	// BinaryData contains the binary data.
	// Each key must consist of alphanumeric characters, '-', '_' or '.'.
	// BinaryData can contain byte sequences that are not in the UTF-8 range.
	// The keys stored in BinaryData must not overlap with the ones in
	// the Data field, this is enforced during validation process.
	// Using this field will require 1.10+ apiserver and
	// kubelet.
	// +optional
	BinaryData map[string][]byte `` /* 202-byte string literal not displayed */
	// contains filtered or unexported fields
}

ConfigMap Resource

func (*ConfigMap) Clone

func (o *ConfigMap) Clone() *ConfigMap

func (*ConfigMap) CloneRaw

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

func (*ConfigMap) Descriptor

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

Deprecated, Use ConfigMap.ProtoReflect.Descriptor instead.

func (*ConfigMap) EnsureMetadata

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

func (*ConfigMap) GetBinaryData

func (m *ConfigMap) GetBinaryData() map[string][]byte

func (*ConfigMap) GetData

func (m *ConfigMap) GetData() map[string]string

func (*ConfigMap) GetDisplayName

func (m *ConfigMap) GetDisplayName() string

func (*ConfigMap) GetMetadata

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

func (*ConfigMap) GetName

func (m *ConfigMap) GetName() *Name

func (*ConfigMap) GetRawName

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

func (*ConfigMap) GetResourceDescriptor

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

func (*ConfigMap) GotenMessage

func (*ConfigMap) GotenMessage()

func (*ConfigMap) GotenObjectExt

func (o *ConfigMap) GotenObjectExt()

func (*ConfigMap) GotenValidate

func (obj *ConfigMap) GotenValidate() error

func (*ConfigMap) MakeDiffFieldMask

func (o *ConfigMap) MakeDiffFieldMask(other *ConfigMap) *ConfigMap_FieldMask

func (*ConfigMap) MakeFullFieldMask

func (o *ConfigMap) MakeFullFieldMask() *ConfigMap_FieldMask

func (*ConfigMap) MakeRawDiffFieldMask

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

func (*ConfigMap) MakeRawFullFieldMask

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

func (*ConfigMap) Marshal

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

func (*ConfigMap) MarshalJSON

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

func (*ConfigMap) MaybePopulateDefaults

func (r *ConfigMap) MaybePopulateDefaults() error

func (*ConfigMap) Merge

func (o *ConfigMap) Merge(source *ConfigMap)

func (*ConfigMap) MergeRaw

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

func (*ConfigMap) ProtoMessage

func (*ConfigMap) ProtoMessage()

func (*ConfigMap) ProtoReflect

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

func (*ConfigMap) Reset

func (m *ConfigMap) Reset()

func (*ConfigMap) SetBinaryData

func (m *ConfigMap) SetBinaryData(fv map[string][]byte)

func (*ConfigMap) SetData

func (m *ConfigMap) SetData(fv map[string]string)

func (*ConfigMap) SetDisplayName

func (m *ConfigMap) SetDisplayName(fv string)

func (*ConfigMap) SetMetadata

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

func (*ConfigMap) SetName

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

func (*ConfigMap) String

func (m *ConfigMap) String() string

func (*ConfigMap) Unmarshal

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

func (*ConfigMap) UnmarshalJSON

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

type ConfigMapAccess

type ConfigMapAccess interface {
	GetConfigMap(context.Context, *GetQuery) (*ConfigMap, error)
	BatchGetConfigMaps(context.Context, []*Reference, ...gotenresource.BatchGetOption) error
	QueryConfigMaps(context.Context, *ListQuery) (*QueryResultSnapshot, error)
	WatchConfigMap(context.Context, *GetQuery, func(*ConfigMapChange) error) error
	WatchConfigMaps(context.Context, *WatchQuery, func(*QueryResultChange) error) error
	SaveConfigMap(context.Context, *ConfigMap, ...gotenresource.SaveOption) error
	DeleteConfigMap(context.Context, *Reference, ...gotenresource.DeleteOption) error
}

type ConfigMapChange

type ConfigMapChange struct {

	// ConfigMap change
	//
	// Types that are valid to be assigned to ChangeType:
	//	*ConfigMapChange_Added_
	//	*ConfigMapChange_Modified_
	//	*ConfigMapChange_Current_
	//	*ConfigMapChange_Removed_
	ChangeType isConfigMapChange_ChangeType `protobuf_oneof:"change_type"`
	// contains filtered or unexported fields
}

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

func (*ConfigMapChange) Descriptor

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

Deprecated, Use ConfigMapChange.ProtoReflect.Descriptor instead.

func (*ConfigMapChange) GetAdded

func (m *ConfigMapChange) GetAdded() *ConfigMapChange_Added

func (*ConfigMapChange) GetChangeType

func (m *ConfigMapChange) GetChangeType() isConfigMapChange_ChangeType

func (*ConfigMapChange) GetConfigMap

func (c *ConfigMapChange) GetConfigMap() *ConfigMap

func (*ConfigMapChange) GetConfigMapName

func (c *ConfigMapChange) GetConfigMapName() *Name

func (*ConfigMapChange) GetCurrent

func (m *ConfigMapChange) GetCurrent() *ConfigMapChange_Current

func (*ConfigMapChange) GetCurrentViewIndex

func (c *ConfigMapChange) GetCurrentViewIndex() int32

func (*ConfigMapChange) GetModified

func (m *ConfigMapChange) GetModified() *ConfigMapChange_Modified

func (*ConfigMapChange) GetPreviousViewIndex

func (c *ConfigMapChange) GetPreviousViewIndex() int32

func (*ConfigMapChange) GetRawName

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

func (*ConfigMapChange) GetRawResource

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

func (*ConfigMapChange) GetRemoved

func (m *ConfigMapChange) GetRemoved() *ConfigMapChange_Removed

func (*ConfigMapChange) GotenMessage

func (*ConfigMapChange) GotenMessage()

func (*ConfigMapChange) GotenValidate

func (obj *ConfigMapChange) GotenValidate() error

func (*ConfigMapChange) IsAdd

func (c *ConfigMapChange) IsAdd() bool

func (*ConfigMapChange) IsCurrent

func (c *ConfigMapChange) IsCurrent() bool

func (*ConfigMapChange) IsDelete

func (c *ConfigMapChange) IsDelete() bool

func (*ConfigMapChange) IsModify

func (c *ConfigMapChange) IsModify() bool

func (*ConfigMapChange) Marshal

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

func (*ConfigMapChange) MarshalJSON

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

func (*ConfigMapChange) ProtoMessage

func (*ConfigMapChange) ProtoMessage()

func (*ConfigMapChange) ProtoReflect

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

func (*ConfigMapChange) Reset

func (m *ConfigMapChange) Reset()

func (*ConfigMapChange) SetAdded

func (m *ConfigMapChange) SetAdded(fv *ConfigMapChange_Added)

func (*ConfigMapChange) SetAddedRaw

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

func (*ConfigMapChange) SetChangeType

func (m *ConfigMapChange) SetChangeType(ofv isConfigMapChange_ChangeType)

func (*ConfigMapChange) SetCurrent

func (m *ConfigMapChange) SetCurrent(fv *ConfigMapChange_Current)

func (*ConfigMapChange) SetCurrentRaw

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

func (*ConfigMapChange) SetDeletedRaw

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

func (*ConfigMapChange) SetModified

func (m *ConfigMapChange) SetModified(fv *ConfigMapChange_Modified)

func (*ConfigMapChange) SetModifiedRaw

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

func (*ConfigMapChange) SetRemoved

func (m *ConfigMapChange) SetRemoved(fv *ConfigMapChange_Removed)

func (*ConfigMapChange) String

func (m *ConfigMapChange) String() string

func (*ConfigMapChange) Unmarshal

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

func (*ConfigMapChange) UnmarshalJSON

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

type ConfigMapChangeList

type ConfigMapChangeList []*ConfigMapChange

func (ConfigMapChangeList) Append

func (ConfigMapChangeList) At

func (ConfigMapChangeList) Length

func (l ConfigMapChangeList) Length() int

func (ConfigMapChangeList) Set

func (ConfigMapChangeList) Slice

type ConfigMapChangeMap

type ConfigMapChangeMap map[Name]*ConfigMapChange

func (ConfigMapChangeMap) Delete

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

func (ConfigMapChangeMap) ForEach

func (ConfigMapChangeMap) Get

func (ConfigMapChangeMap) Length

func (m ConfigMapChangeMap) Length() int

func (ConfigMapChangeMap) Set

type ConfigMapChange_Added

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

ConfigMap has been added to query view

func (*ConfigMapChange_Added) Descriptor

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

Deprecated, Use ConfigMapChange_Added.ProtoReflect.Descriptor instead.

func (*ConfigMapChange_Added) GetConfigMap

func (m *ConfigMapChange_Added) GetConfigMap() *ConfigMap

func (*ConfigMapChange_Added) GetViewIndex

func (m *ConfigMapChange_Added) GetViewIndex() int32

func (*ConfigMapChange_Added) GotenMessage

func (*ConfigMapChange_Added) GotenMessage()

func (*ConfigMapChange_Added) GotenValidate

func (obj *ConfigMapChange_Added) GotenValidate() error

func (*ConfigMapChange_Added) Marshal

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

func (*ConfigMapChange_Added) MarshalJSON

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

func (*ConfigMapChange_Added) ProtoMessage

func (*ConfigMapChange_Added) ProtoMessage()

func (*ConfigMapChange_Added) ProtoReflect

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

func (*ConfigMapChange_Added) Reset

func (m *ConfigMapChange_Added) Reset()

func (*ConfigMapChange_Added) SetConfigMap

func (m *ConfigMapChange_Added) SetConfigMap(fv *ConfigMap)

func (*ConfigMapChange_Added) SetViewIndex

func (m *ConfigMapChange_Added) SetViewIndex(fv int32)

func (*ConfigMapChange_Added) String

func (m *ConfigMapChange_Added) String() string

func (*ConfigMapChange_Added) Unmarshal

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

func (*ConfigMapChange_Added) UnmarshalJSON

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

type ConfigMapChange_Added_

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

type ConfigMapChange_Current

type ConfigMapChange_Current struct {
	ConfigMap *ConfigMap `protobuf:"bytes,1,opt,name=config_map,json=configMap,proto3" json:"config_map,omitempty" firestore:"configMap"`
	// contains filtered or unexported fields
}

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

func (*ConfigMapChange_Current) Descriptor

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

Deprecated, Use ConfigMapChange_Current.ProtoReflect.Descriptor instead.

func (*ConfigMapChange_Current) GetConfigMap

func (m *ConfigMapChange_Current) GetConfigMap() *ConfigMap

func (*ConfigMapChange_Current) GotenMessage

func (*ConfigMapChange_Current) GotenMessage()

func (*ConfigMapChange_Current) GotenValidate

func (obj *ConfigMapChange_Current) GotenValidate() error

func (*ConfigMapChange_Current) Marshal

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

func (*ConfigMapChange_Current) MarshalJSON

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

func (*ConfigMapChange_Current) ProtoMessage

func (*ConfigMapChange_Current) ProtoMessage()

func (*ConfigMapChange_Current) ProtoReflect

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

func (*ConfigMapChange_Current) Reset

func (m *ConfigMapChange_Current) Reset()

func (*ConfigMapChange_Current) SetConfigMap

func (m *ConfigMapChange_Current) SetConfigMap(fv *ConfigMap)

func (*ConfigMapChange_Current) String

func (m *ConfigMapChange_Current) String() string

func (*ConfigMapChange_Current) Unmarshal

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

func (*ConfigMapChange_Current) UnmarshalJSON

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

type ConfigMapChange_Current_

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

type ConfigMapChange_Modified

type ConfigMapChange_Modified struct {

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

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

func (*ConfigMapChange_Modified) Descriptor

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

Deprecated, Use ConfigMapChange_Modified.ProtoReflect.Descriptor instead.

func (*ConfigMapChange_Modified) GetConfigMap

func (m *ConfigMapChange_Modified) GetConfigMap() *ConfigMap

func (*ConfigMapChange_Modified) GetFieldMask

func (m *ConfigMapChange_Modified) GetFieldMask() *ConfigMap_FieldMask

func (*ConfigMapChange_Modified) GetName

func (m *ConfigMapChange_Modified) GetName() *Name

func (*ConfigMapChange_Modified) GetPreviousViewIndex

func (m *ConfigMapChange_Modified) GetPreviousViewIndex() int32

func (*ConfigMapChange_Modified) GetViewIndex

func (m *ConfigMapChange_Modified) GetViewIndex() int32

func (*ConfigMapChange_Modified) GotenMessage

func (*ConfigMapChange_Modified) GotenMessage()

func (*ConfigMapChange_Modified) GotenValidate

func (obj *ConfigMapChange_Modified) GotenValidate() error

func (*ConfigMapChange_Modified) Marshal

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

func (*ConfigMapChange_Modified) MarshalJSON

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

func (*ConfigMapChange_Modified) ProtoMessage

func (*ConfigMapChange_Modified) ProtoMessage()

func (*ConfigMapChange_Modified) ProtoReflect

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

func (*ConfigMapChange_Modified) Reset

func (m *ConfigMapChange_Modified) Reset()

func (*ConfigMapChange_Modified) SetConfigMap

func (m *ConfigMapChange_Modified) SetConfigMap(fv *ConfigMap)

func (*ConfigMapChange_Modified) SetFieldMask

func (m *ConfigMapChange_Modified) SetFieldMask(fv *ConfigMap_FieldMask)

func (*ConfigMapChange_Modified) SetName

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

func (*ConfigMapChange_Modified) SetPreviousViewIndex

func (m *ConfigMapChange_Modified) SetPreviousViewIndex(fv int32)

func (*ConfigMapChange_Modified) SetViewIndex

func (m *ConfigMapChange_Modified) SetViewIndex(fv int32)

func (*ConfigMapChange_Modified) String

func (m *ConfigMapChange_Modified) String() string

func (*ConfigMapChange_Modified) Unmarshal

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

func (*ConfigMapChange_Modified) UnmarshalJSON

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

type ConfigMapChange_Modified_

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

type ConfigMapChange_Removed

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

func (*ConfigMapChange_Removed) Descriptor

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

Deprecated, Use ConfigMapChange_Removed.ProtoReflect.Descriptor instead.

func (*ConfigMapChange_Removed) GetName

func (m *ConfigMapChange_Removed) GetName() *Name

func (*ConfigMapChange_Removed) GetViewIndex

func (m *ConfigMapChange_Removed) GetViewIndex() int32

func (*ConfigMapChange_Removed) GotenMessage

func (*ConfigMapChange_Removed) GotenMessage()

func (*ConfigMapChange_Removed) GotenValidate

func (obj *ConfigMapChange_Removed) GotenValidate() error

func (*ConfigMapChange_Removed) Marshal

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

func (*ConfigMapChange_Removed) MarshalJSON

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

func (*ConfigMapChange_Removed) ProtoMessage

func (*ConfigMapChange_Removed) ProtoMessage()

func (*ConfigMapChange_Removed) ProtoReflect

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

func (*ConfigMapChange_Removed) Reset

func (m *ConfigMapChange_Removed) Reset()

func (*ConfigMapChange_Removed) SetName

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

func (*ConfigMapChange_Removed) SetViewIndex

func (m *ConfigMapChange_Removed) SetViewIndex(fv int32)

func (*ConfigMapChange_Removed) String

func (m *ConfigMapChange_Removed) String() string

func (*ConfigMapChange_Removed) Unmarshal

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

func (*ConfigMapChange_Removed) UnmarshalJSON

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

type ConfigMapChange_Removed_

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

type ConfigMapFieldPathBuilder

type ConfigMapFieldPathBuilder struct{}

func NewConfigMapFieldPathBuilder

func NewConfigMapFieldPathBuilder() ConfigMapFieldPathBuilder

func (ConfigMapFieldPathBuilder) BinaryData

func (ConfigMapFieldPathBuilder) Data

func (ConfigMapFieldPathBuilder) DisplayName

func (ConfigMapFieldPathBuilder) Metadata

func (ConfigMapFieldPathBuilder) Name

type ConfigMapList

type ConfigMapList []*ConfigMap

func (ConfigMapList) Append

func (ConfigMapList) AppendList

func (ConfigMapList) At

func (ConfigMapList) Length

func (l ConfigMapList) Length() int

func (ConfigMapList) Set

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

func (ConfigMapList) Slice

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

type ConfigMapMap

type ConfigMapMap map[Name]*ConfigMap

func (ConfigMapMap) Delete

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

func (ConfigMapMap) ForEach

func (ConfigMapMap) Get

func (ConfigMapMap) Length

func (m ConfigMapMap) Length() int

func (ConfigMapMap) Set

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

type ConfigMapMapPathSelectorBinaryData

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

func (ConfigMapMapPathSelectorBinaryData) FieldPath

func (ConfigMapMapPathSelectorBinaryData) WithArrayOfValues

func (ConfigMapMapPathSelectorBinaryData) WithValue

type ConfigMapMapPathSelectorData

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

func (ConfigMapMapPathSelectorData) FieldPath

func (ConfigMapMapPathSelectorData) WithArrayOfValues

func (ConfigMapMapPathSelectorData) WithValue

type ConfigMapMapPathSelectorMetadataAnnotations

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

func (ConfigMapMapPathSelectorMetadataAnnotations) FieldPath

func (ConfigMapMapPathSelectorMetadataAnnotations) WithArrayOfValues

func (ConfigMapMapPathSelectorMetadataAnnotations) WithValue

type ConfigMapMapPathSelectorMetadataLabels

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

func (ConfigMapMapPathSelectorMetadataLabels) FieldPath

func (ConfigMapMapPathSelectorMetadataLabels) WithArrayOfValues

func (ConfigMapMapPathSelectorMetadataLabels) WithValue

type ConfigMapMapPathSelectorMetadataShards

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

func (ConfigMapMapPathSelectorMetadataShards) FieldPath

func (ConfigMapMapPathSelectorMetadataShards) WithArrayOfValues

func (ConfigMapMapPathSelectorMetadataShards) WithValue

type ConfigMapNameList

type ConfigMapNameList []*Name

func (ConfigMapNameList) Append

func (ConfigMapNameList) AppendList

func (ConfigMapNameList) At

func (ConfigMapNameList) Length

func (l ConfigMapNameList) Length() int

func (ConfigMapNameList) Set

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

func (ConfigMapNameList) Slice

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

type ConfigMapParentNameList

type ConfigMapParentNameList []*ParentName

func (ConfigMapParentNameList) Append

func (ConfigMapParentNameList) AppendList

func (ConfigMapParentNameList) At

func (ConfigMapParentNameList) Length

func (l ConfigMapParentNameList) Length() int

func (ConfigMapParentNameList) Set

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

func (ConfigMapParentNameList) Slice

type ConfigMapParentReferenceList

type ConfigMapParentReferenceList []*ParentReference

func (ConfigMapParentReferenceList) Append

func (ConfigMapParentReferenceList) AppendList

func (ConfigMapParentReferenceList) At

func (ConfigMapParentReferenceList) Length

func (l ConfigMapParentReferenceList) Length() int

func (ConfigMapParentReferenceList) Set

func (ConfigMapParentReferenceList) Slice

type ConfigMapPathSelectorBinaryData

type ConfigMapPathSelectorBinaryData struct{}

func (ConfigMapPathSelectorBinaryData) FieldPath

func (ConfigMapPathSelectorBinaryData) WithArrayOfValues

func (ConfigMapPathSelectorBinaryData) WithKey

func (ConfigMapPathSelectorBinaryData) WithValue

type ConfigMapPathSelectorData

type ConfigMapPathSelectorData struct{}

func (ConfigMapPathSelectorData) FieldPath

func (ConfigMapPathSelectorData) WithArrayOfValues

func (ConfigMapPathSelectorData) WithKey

func (ConfigMapPathSelectorData) WithValue

type ConfigMapPathSelectorDisplayName

type ConfigMapPathSelectorDisplayName struct{}

func (ConfigMapPathSelectorDisplayName) FieldPath

func (ConfigMapPathSelectorDisplayName) WithArrayOfValues

func (ConfigMapPathSelectorDisplayName) WithValue

type ConfigMapPathSelectorMetadata

type ConfigMapPathSelectorMetadata struct{}

func (ConfigMapPathSelectorMetadata) Annotations

func (ConfigMapPathSelectorMetadata) CreateTime

func (ConfigMapPathSelectorMetadata) DeleteTime

func (ConfigMapPathSelectorMetadata) FieldPath

func (ConfigMapPathSelectorMetadata) Generation

func (ConfigMapPathSelectorMetadata) Labels

func (ConfigMapPathSelectorMetadata) Lifecycle

func (ConfigMapPathSelectorMetadata) OwnerReferences

func (ConfigMapPathSelectorMetadata) ResourceVersion

func (ConfigMapPathSelectorMetadata) Services

func (ConfigMapPathSelectorMetadata) Shards

func (ConfigMapPathSelectorMetadata) Syncing

func (ConfigMapPathSelectorMetadata) Tags

func (ConfigMapPathSelectorMetadata) UpdateTime

func (ConfigMapPathSelectorMetadata) Uuid

func (ConfigMapPathSelectorMetadata) WithArrayOfValues

func (ConfigMapPathSelectorMetadata) WithSubArrayItemValue

func (ConfigMapPathSelectorMetadata) WithSubArrayOfValues

func (ConfigMapPathSelectorMetadata) WithSubPath

func (ConfigMapPathSelectorMetadata) WithSubValue

func (ConfigMapPathSelectorMetadata) WithValue

type ConfigMapPathSelectorMetadataAnnotations

type ConfigMapPathSelectorMetadataAnnotations struct{}

func (ConfigMapPathSelectorMetadataAnnotations) FieldPath

func (ConfigMapPathSelectorMetadataAnnotations) WithArrayOfValues

func (ConfigMapPathSelectorMetadataAnnotations) WithKey

func (ConfigMapPathSelectorMetadataAnnotations) WithValue

type ConfigMapPathSelectorMetadataCreateTime

type ConfigMapPathSelectorMetadataCreateTime struct{}

func (ConfigMapPathSelectorMetadataCreateTime) FieldPath

func (ConfigMapPathSelectorMetadataCreateTime) WithArrayOfValues

func (ConfigMapPathSelectorMetadataCreateTime) WithValue

type ConfigMapPathSelectorMetadataDeleteTime

type ConfigMapPathSelectorMetadataDeleteTime struct{}

func (ConfigMapPathSelectorMetadataDeleteTime) FieldPath

func (ConfigMapPathSelectorMetadataDeleteTime) WithArrayOfValues

func (ConfigMapPathSelectorMetadataDeleteTime) WithValue

type ConfigMapPathSelectorMetadataGeneration

type ConfigMapPathSelectorMetadataGeneration struct{}

func (ConfigMapPathSelectorMetadataGeneration) FieldPath

func (ConfigMapPathSelectorMetadataGeneration) WithArrayOfValues

func (ConfigMapPathSelectorMetadataGeneration) WithValue

type ConfigMapPathSelectorMetadataLabels

type ConfigMapPathSelectorMetadataLabels struct{}

func (ConfigMapPathSelectorMetadataLabels) FieldPath

func (ConfigMapPathSelectorMetadataLabels) WithArrayOfValues

func (ConfigMapPathSelectorMetadataLabels) WithKey

func (ConfigMapPathSelectorMetadataLabels) WithValue

type ConfigMapPathSelectorMetadataLifecycle

type ConfigMapPathSelectorMetadataLifecycle struct{}

func (ConfigMapPathSelectorMetadataLifecycle) BlockDeletion

func (ConfigMapPathSelectorMetadataLifecycle) FieldPath

func (ConfigMapPathSelectorMetadataLifecycle) State

func (ConfigMapPathSelectorMetadataLifecycle) WithArrayOfValues

func (ConfigMapPathSelectorMetadataLifecycle) WithValue

type ConfigMapPathSelectorMetadataLifecycleBlockDeletion

type ConfigMapPathSelectorMetadataLifecycleBlockDeletion struct{}

func (ConfigMapPathSelectorMetadataLifecycleBlockDeletion) FieldPath

func (ConfigMapPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues

func (ConfigMapPathSelectorMetadataLifecycleBlockDeletion) WithValue

type ConfigMapPathSelectorMetadataLifecycleState

type ConfigMapPathSelectorMetadataLifecycleState struct{}

func (ConfigMapPathSelectorMetadataLifecycleState) FieldPath

func (ConfigMapPathSelectorMetadataLifecycleState) WithArrayOfValues

func (ConfigMapPathSelectorMetadataLifecycleState) WithValue

type ConfigMapPathSelectorMetadataOwnerReferences

type ConfigMapPathSelectorMetadataOwnerReferences struct{}

func (ConfigMapPathSelectorMetadataOwnerReferences) Controller

func (ConfigMapPathSelectorMetadataOwnerReferences) FieldPath

func (ConfigMapPathSelectorMetadataOwnerReferences) Kind

func (ConfigMapPathSelectorMetadataOwnerReferences) Name

func (ConfigMapPathSelectorMetadataOwnerReferences) Region

func (ConfigMapPathSelectorMetadataOwnerReferences) Version

func (ConfigMapPathSelectorMetadataOwnerReferences) WithArrayOfValues

func (ConfigMapPathSelectorMetadataOwnerReferences) WithItemValue

func (ConfigMapPathSelectorMetadataOwnerReferences) WithValue

type ConfigMapPathSelectorMetadataOwnerReferencesController

type ConfigMapPathSelectorMetadataOwnerReferencesController struct{}

func (ConfigMapPathSelectorMetadataOwnerReferencesController) FieldPath

func (ConfigMapPathSelectorMetadataOwnerReferencesController) WithArrayOfValues

func (ConfigMapPathSelectorMetadataOwnerReferencesController) WithValue

type ConfigMapPathSelectorMetadataOwnerReferencesKind

type ConfigMapPathSelectorMetadataOwnerReferencesKind struct{}

func (ConfigMapPathSelectorMetadataOwnerReferencesKind) FieldPath

func (ConfigMapPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues

func (ConfigMapPathSelectorMetadataOwnerReferencesKind) WithValue

type ConfigMapPathSelectorMetadataOwnerReferencesName

type ConfigMapPathSelectorMetadataOwnerReferencesName struct{}

func (ConfigMapPathSelectorMetadataOwnerReferencesName) FieldPath

func (ConfigMapPathSelectorMetadataOwnerReferencesName) WithArrayOfValues

func (ConfigMapPathSelectorMetadataOwnerReferencesName) WithValue

type ConfigMapPathSelectorMetadataOwnerReferencesRegion

type ConfigMapPathSelectorMetadataOwnerReferencesRegion struct{}

func (ConfigMapPathSelectorMetadataOwnerReferencesRegion) FieldPath

func (ConfigMapPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues

func (ConfigMapPathSelectorMetadataOwnerReferencesRegion) WithValue

type ConfigMapPathSelectorMetadataOwnerReferencesRequiresOwnerReference

type ConfigMapPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}

func (ConfigMapPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath

func (ConfigMapPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues

func (ConfigMapPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue

type ConfigMapPathSelectorMetadataOwnerReferencesVersion

type ConfigMapPathSelectorMetadataOwnerReferencesVersion struct{}

func (ConfigMapPathSelectorMetadataOwnerReferencesVersion) FieldPath

func (ConfigMapPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues

func (ConfigMapPathSelectorMetadataOwnerReferencesVersion) WithValue

type ConfigMapPathSelectorMetadataResourceVersion

type ConfigMapPathSelectorMetadataResourceVersion struct{}

func (ConfigMapPathSelectorMetadataResourceVersion) FieldPath

func (ConfigMapPathSelectorMetadataResourceVersion) WithArrayOfValues

func (ConfigMapPathSelectorMetadataResourceVersion) WithValue

type ConfigMapPathSelectorMetadataServices

type ConfigMapPathSelectorMetadataServices struct{}

func (ConfigMapPathSelectorMetadataServices) AllowedServices

func (ConfigMapPathSelectorMetadataServices) FieldPath

func (ConfigMapPathSelectorMetadataServices) OwningService

func (ConfigMapPathSelectorMetadataServices) WithArrayOfValues

func (ConfigMapPathSelectorMetadataServices) WithValue

type ConfigMapPathSelectorMetadataServicesAllowedServices

type ConfigMapPathSelectorMetadataServicesAllowedServices struct{}

func (ConfigMapPathSelectorMetadataServicesAllowedServices) FieldPath

func (ConfigMapPathSelectorMetadataServicesAllowedServices) WithArrayOfValues

func (ConfigMapPathSelectorMetadataServicesAllowedServices) WithItemValue

func (ConfigMapPathSelectorMetadataServicesAllowedServices) WithValue

type ConfigMapPathSelectorMetadataServicesOwningService

type ConfigMapPathSelectorMetadataServicesOwningService struct{}

func (ConfigMapPathSelectorMetadataServicesOwningService) FieldPath

func (ConfigMapPathSelectorMetadataServicesOwningService) WithArrayOfValues

func (ConfigMapPathSelectorMetadataServicesOwningService) WithValue

type ConfigMapPathSelectorMetadataShards

type ConfigMapPathSelectorMetadataShards struct{}

func (ConfigMapPathSelectorMetadataShards) FieldPath

func (ConfigMapPathSelectorMetadataShards) WithArrayOfValues

func (ConfigMapPathSelectorMetadataShards) WithKey

func (ConfigMapPathSelectorMetadataShards) WithValue

type ConfigMapPathSelectorMetadataSyncing

type ConfigMapPathSelectorMetadataSyncing struct{}

func (ConfigMapPathSelectorMetadataSyncing) FieldPath

func (ConfigMapPathSelectorMetadataSyncing) OwningRegion

func (ConfigMapPathSelectorMetadataSyncing) Regions

func (ConfigMapPathSelectorMetadataSyncing) WithArrayOfValues

func (ConfigMapPathSelectorMetadataSyncing) WithValue

type ConfigMapPathSelectorMetadataSyncingOwningRegion

type ConfigMapPathSelectorMetadataSyncingOwningRegion struct{}

func (ConfigMapPathSelectorMetadataSyncingOwningRegion) FieldPath

func (ConfigMapPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues

func (ConfigMapPathSelectorMetadataSyncingOwningRegion) WithValue

type ConfigMapPathSelectorMetadataSyncingRegions

type ConfigMapPathSelectorMetadataSyncingRegions struct{}

func (ConfigMapPathSelectorMetadataSyncingRegions) FieldPath

func (ConfigMapPathSelectorMetadataSyncingRegions) WithArrayOfValues

func (ConfigMapPathSelectorMetadataSyncingRegions) WithItemValue

func (ConfigMapPathSelectorMetadataSyncingRegions) WithValue

type ConfigMapPathSelectorMetadataTags

type ConfigMapPathSelectorMetadataTags struct{}

func (ConfigMapPathSelectorMetadataTags) FieldPath

func (ConfigMapPathSelectorMetadataTags) WithArrayOfValues

func (ConfigMapPathSelectorMetadataTags) WithItemValue

func (ConfigMapPathSelectorMetadataTags) WithValue

type ConfigMapPathSelectorMetadataUpdateTime

type ConfigMapPathSelectorMetadataUpdateTime struct{}

func (ConfigMapPathSelectorMetadataUpdateTime) FieldPath

func (ConfigMapPathSelectorMetadataUpdateTime) WithArrayOfValues

func (ConfigMapPathSelectorMetadataUpdateTime) WithValue

type ConfigMapPathSelectorMetadataUuid

type ConfigMapPathSelectorMetadataUuid struct{}

func (ConfigMapPathSelectorMetadataUuid) FieldPath

func (ConfigMapPathSelectorMetadataUuid) WithArrayOfValues

func (ConfigMapPathSelectorMetadataUuid) WithValue

type ConfigMapPathSelectorName

type ConfigMapPathSelectorName struct{}

func (ConfigMapPathSelectorName) FieldPath

func (ConfigMapPathSelectorName) WithArrayOfValues

func (ConfigMapPathSelectorName) WithValue

type ConfigMapReferenceList

type ConfigMapReferenceList []*Reference

func (ConfigMapReferenceList) Append

func (ConfigMapReferenceList) AppendList

func (ConfigMapReferenceList) At

func (ConfigMapReferenceList) Length

func (l ConfigMapReferenceList) Length() int

func (ConfigMapReferenceList) Set

func (ConfigMapReferenceList) Slice

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

type ConfigMap_FieldMask

type ConfigMap_FieldMask struct {
	Paths []ConfigMap_FieldPath
}

func FullConfigMap_FieldMask

func FullConfigMap_FieldMask() *ConfigMap_FieldMask

func ResourceViewFieldMask

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

func (*ConfigMap_FieldMask) AppendPath

func (fieldMask *ConfigMap_FieldMask) AppendPath(path ConfigMap_FieldPath)

func (*ConfigMap_FieldMask) AppendRawPath

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

func (*ConfigMap_FieldMask) DecodeFirestore

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

func (*ConfigMap_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*ConfigMap_FieldMask) FilterInputFields

func (fieldMask *ConfigMap_FieldMask) FilterInputFields() *ConfigMap_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*ConfigMap_FieldMask) FromProtoFieldMask

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

func (*ConfigMap_FieldMask) GetPaths

func (fieldMask *ConfigMap_FieldMask) GetPaths() []ConfigMap_FieldPath

func (*ConfigMap_FieldMask) GetRawPaths

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

func (*ConfigMap_FieldMask) IsFull

func (fieldMask *ConfigMap_FieldMask) IsFull() bool

func (ConfigMap_FieldMask) Marshal

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

implement methods required by customType

func (ConfigMap_FieldMask) MarshalJSON

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

func (*ConfigMap_FieldMask) PathsCount

func (fieldMask *ConfigMap_FieldMask) PathsCount() int

func (*ConfigMap_FieldMask) Project

func (fieldMask *ConfigMap_FieldMask) Project(source *ConfigMap) *ConfigMap

func (*ConfigMap_FieldMask) ProjectRaw

func (*ConfigMap_FieldMask) ProtoMessage

func (fieldMask *ConfigMap_FieldMask) ProtoMessage()

func (*ConfigMap_FieldMask) ProtoReflect

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

func (*ConfigMap_FieldMask) Reset

func (fieldMask *ConfigMap_FieldMask) Reset()

func (*ConfigMap_FieldMask) Set

func (fieldMask *ConfigMap_FieldMask) Set(target, source *ConfigMap)

func (*ConfigMap_FieldMask) SetFromCliFlag

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

func (*ConfigMap_FieldMask) SetRaw

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

func (*ConfigMap_FieldMask) Size

func (fieldMask *ConfigMap_FieldMask) Size() int

func (*ConfigMap_FieldMask) String

func (fieldMask *ConfigMap_FieldMask) String() string

func (*ConfigMap_FieldMask) Subtract

func (fieldMask *ConfigMap_FieldMask) Subtract(other *ConfigMap_FieldMask) *ConfigMap_FieldMask

func (*ConfigMap_FieldMask) SubtractRaw

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

func (*ConfigMap_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*ConfigMap_FieldMask) Unmarshal

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

func (*ConfigMap_FieldMask) UnmarshalJSON

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

type ConfigMap_FieldPath

type ConfigMap_FieldPath interface {
	gotenobject.FieldPath
	Selector() ConfigMap_FieldPathSelector
	Get(source *ConfigMap) []interface{}
	GetSingle(source *ConfigMap) (interface{}, bool)
	ClearValue(item *ConfigMap)

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

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

func BuildConfigMap_FieldPath

func BuildConfigMap_FieldPath(fp gotenobject.RawFieldPath) (ConfigMap_FieldPath, error)

func MustParseConfigMap_FieldPath

func MustParseConfigMap_FieldPath(rawField string) ConfigMap_FieldPath

func ParseConfigMap_FieldPath

func ParseConfigMap_FieldPath(rawField string) (ConfigMap_FieldPath, error)

type ConfigMap_FieldPathArrayItemValue

type ConfigMap_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	ConfigMap_FieldPath
	ContainsValue(*ConfigMap) bool
}

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

func MustParseConfigMap_FieldPathArrayItemValue

func MustParseConfigMap_FieldPathArrayItemValue(pathStr, valueStr string) ConfigMap_FieldPathArrayItemValue

func ParseConfigMap_FieldPathArrayItemValue

func ParseConfigMap_FieldPathArrayItemValue(pathStr, valueStr string) (ConfigMap_FieldPathArrayItemValue, error)

ParseConfigMap_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type ConfigMap_FieldPathArrayOfValues

type ConfigMap_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	ConfigMap_FieldPath
}

ConfigMap_FieldPathArrayOfValues allows storing slice of values for ConfigMap fields according to their type

func MustParseConfigMap_FieldPathArrayOfValues

func MustParseConfigMap_FieldPathArrayOfValues(pathStr, valuesStr string) ConfigMap_FieldPathArrayOfValues

func ParseConfigMap_FieldPathArrayOfValues

func ParseConfigMap_FieldPathArrayOfValues(pathStr, valuesStr string) (ConfigMap_FieldPathArrayOfValues, error)

type ConfigMap_FieldPathMap

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

FieldPath for map type with additional Key information

func (*ConfigMap_FieldPathMap) ClearValue

func (fpm *ConfigMap_FieldPathMap) ClearValue(item *ConfigMap)

func (*ConfigMap_FieldPathMap) ClearValueRaw

func (fpm *ConfigMap_FieldPathMap) ClearValueRaw(item proto.Message)

func (*ConfigMap_FieldPathMap) Get

func (fpm *ConfigMap_FieldPathMap) Get(source *ConfigMap) (values []interface{})

Get returns all values pointed by selected field map key from source ConfigMap

func (*ConfigMap_FieldPathMap) GetDefault

func (fpm *ConfigMap_FieldPathMap) GetDefault() interface{}

GetDefault returns a default value of the field type

func (*ConfigMap_FieldPathMap) GetRaw

func (fpm *ConfigMap_FieldPathMap) GetRaw(source proto.Message) []interface{}

func (*ConfigMap_FieldPathMap) GetSingle

func (fpm *ConfigMap_FieldPathMap) GetSingle(source *ConfigMap) (interface{}, bool)

GetSingle returns value by selected field map key from source ConfigMap

func (*ConfigMap_FieldPathMap) GetSingleRaw

func (fpm *ConfigMap_FieldPathMap) GetSingleRaw(source proto.Message) (interface{}, bool)

func (*ConfigMap_FieldPathMap) IsLeaf

func (fpm *ConfigMap_FieldPathMap) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*ConfigMap_FieldPathMap) JSONString

func (fpm *ConfigMap_FieldPathMap) JSONString() string

JSONString returns path representation is JSON convention. Note that map keys are not transformed

func (*ConfigMap_FieldPathMap) Key

func (fpm *ConfigMap_FieldPathMap) Key() string

func (*ConfigMap_FieldPathMap) Selector

func (*ConfigMap_FieldPathMap) SplitIntoTerminalIPaths

func (fpm *ConfigMap_FieldPathMap) SplitIntoTerminalIPaths() []gotenobject.FieldPath

func (*ConfigMap_FieldPathMap) String

func (fpm *ConfigMap_FieldPathMap) String() string

String returns path representation in proto convention

func (*ConfigMap_FieldPathMap) WithIArrayItemValue

func (fpm *ConfigMap_FieldPathMap) WithIArrayItemValue(value interface{}) ConfigMap_FieldPathArrayItemValue

func (*ConfigMap_FieldPathMap) WithIArrayOfValues

func (fpm *ConfigMap_FieldPathMap) WithIArrayOfValues(values interface{}) ConfigMap_FieldPathArrayOfValues

func (*ConfigMap_FieldPathMap) WithIValue

func (fpm *ConfigMap_FieldPathMap) WithIValue(value interface{}) ConfigMap_FieldPathValue

func (*ConfigMap_FieldPathMap) WithRawIArrayItemValue

func (fpm *ConfigMap_FieldPathMap) WithRawIArrayItemValue(value interface{}) gotenobject.FieldPathArrayItemValue

func (*ConfigMap_FieldPathMap) WithRawIArrayOfValues

func (fpm *ConfigMap_FieldPathMap) WithRawIArrayOfValues(values interface{}) gotenobject.FieldPathArrayOfValues

func (*ConfigMap_FieldPathMap) WithRawIValue

func (fpm *ConfigMap_FieldPathMap) WithRawIValue(value interface{}) gotenobject.FieldPathValue

type ConfigMap_FieldPathMapArrayOfValues

type ConfigMap_FieldPathMapArrayOfValues struct {
	ConfigMap_FieldPathMap
	// contains filtered or unexported fields
}

func (*ConfigMap_FieldPathMapArrayOfValues) AsBinaryDataArrayOfElementValues

func (fpmaov *ConfigMap_FieldPathMapArrayOfValues) AsBinaryDataArrayOfElementValues() ([][]byte, bool)

func (*ConfigMap_FieldPathMapArrayOfValues) AsDataArrayOfElementValues

func (fpmaov *ConfigMap_FieldPathMapArrayOfValues) AsDataArrayOfElementValues() ([]string, bool)

func (*ConfigMap_FieldPathMapArrayOfValues) GetRawValues

func (fpmaov *ConfigMap_FieldPathMapArrayOfValues) GetRawValues() (values []interface{})

type ConfigMap_FieldPathMapValue

type ConfigMap_FieldPathMapValue struct {
	ConfigMap_FieldPathMap
	// contains filtered or unexported fields
}

func (*ConfigMap_FieldPathMapValue) AsBinaryDataElementValue

func (fpmv *ConfigMap_FieldPathMapValue) AsBinaryDataElementValue() ([]byte, bool)

func (*ConfigMap_FieldPathMapValue) AsDataElementValue

func (fpmv *ConfigMap_FieldPathMapValue) AsDataElementValue() (string, bool)

func (*ConfigMap_FieldPathMapValue) CompareWith

func (fpmv *ConfigMap_FieldPathMapValue) CompareWith(source *ConfigMap) (int, bool)

CompareWith compares value in the 'ConfigMap_FieldPathMapValue' with the value under path in 'ConfigMap'.

func (*ConfigMap_FieldPathMapValue) CompareWithRaw

func (fpmv *ConfigMap_FieldPathMapValue) CompareWithRaw(source proto.Message) (int, bool)

func (*ConfigMap_FieldPathMapValue) GetRawValue

func (fpmv *ConfigMap_FieldPathMapValue) GetRawValue() interface{}

GetValue returns value stored under selected field in ConfigMap as interface{}

func (*ConfigMap_FieldPathMapValue) SetTo

func (fpmv *ConfigMap_FieldPathMapValue) SetTo(target **ConfigMap)

SetTo stores value for selected field in ConfigMap

func (*ConfigMap_FieldPathMapValue) SetToRaw

func (fpmv *ConfigMap_FieldPathMapValue) SetToRaw(target proto.Message)

type ConfigMap_FieldPathSelector

type ConfigMap_FieldPathSelector int32
const (
	ConfigMap_FieldPathSelectorName        ConfigMap_FieldPathSelector = 0
	ConfigMap_FieldPathSelectorMetadata    ConfigMap_FieldPathSelector = 1
	ConfigMap_FieldPathSelectorDisplayName ConfigMap_FieldPathSelector = 2
	ConfigMap_FieldPathSelectorData        ConfigMap_FieldPathSelector = 3
	ConfigMap_FieldPathSelectorBinaryData  ConfigMap_FieldPathSelector = 4
)

func (ConfigMap_FieldPathSelector) String

type ConfigMap_FieldPathValue

type ConfigMap_FieldPathValue interface {
	ConfigMap_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **ConfigMap)
	CompareWith(*ConfigMap) (cmp int, comparable bool)
}

ConfigMap_FieldPathValue allows storing values for ConfigMap fields according to their type

func MustParseConfigMap_FieldPathValue

func MustParseConfigMap_FieldPathValue(pathStr, valueStr string) ConfigMap_FieldPathValue

func ParseConfigMap_FieldPathValue

func ParseConfigMap_FieldPathValue(pathStr, valueStr string) (ConfigMap_FieldPathValue, error)

type ConfigMap_FieldSubPath

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

func (*ConfigMap_FieldSubPath) AsMetadataSubPath

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

func (*ConfigMap_FieldSubPath) ClearValue

func (fps *ConfigMap_FieldSubPath) ClearValue(item *ConfigMap)

func (*ConfigMap_FieldSubPath) ClearValueRaw

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

func (*ConfigMap_FieldSubPath) Get

func (fps *ConfigMap_FieldSubPath) Get(source *ConfigMap) (values []interface{})

Get returns all values pointed by selected field from source ConfigMap

func (*ConfigMap_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*ConfigMap_FieldSubPath) GetRaw

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

func (*ConfigMap_FieldSubPath) GetSingle

func (fps *ConfigMap_FieldSubPath) GetSingle(source *ConfigMap) (interface{}, bool)

GetSingle returns value of selected field from source ConfigMap

func (*ConfigMap_FieldSubPath) GetSingleRaw

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

func (*ConfigMap_FieldSubPath) IsLeaf

func (fps *ConfigMap_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*ConfigMap_FieldSubPath) JSONString

func (fps *ConfigMap_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*ConfigMap_FieldSubPath) Selector

func (*ConfigMap_FieldSubPath) SplitIntoTerminalIPaths

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

func (*ConfigMap_FieldSubPath) String

func (fps *ConfigMap_FieldSubPath) String() string

String returns path representation in proto convention

func (*ConfigMap_FieldSubPath) WithIArrayItemValue

func (fps *ConfigMap_FieldSubPath) WithIArrayItemValue(value interface{}) ConfigMap_FieldPathArrayItemValue

func (*ConfigMap_FieldSubPath) WithIArrayOfValues

func (fps *ConfigMap_FieldSubPath) WithIArrayOfValues(values interface{}) ConfigMap_FieldPathArrayOfValues

func (*ConfigMap_FieldSubPath) WithIValue

func (fps *ConfigMap_FieldSubPath) WithIValue(value interface{}) ConfigMap_FieldPathValue

func (*ConfigMap_FieldSubPath) WithRawIArrayItemValue

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

func (*ConfigMap_FieldSubPath) WithRawIArrayOfValues

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

func (*ConfigMap_FieldSubPath) WithRawIValue

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

type ConfigMap_FieldSubPathArrayItemValue

type ConfigMap_FieldSubPathArrayItemValue struct {
	ConfigMap_FieldPath
	// contains filtered or unexported fields
}

func (*ConfigMap_FieldSubPathArrayItemValue) AsMetadataPathItemValue

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

func (*ConfigMap_FieldSubPathArrayItemValue) ContainsValue

func (fpaivs *ConfigMap_FieldSubPathArrayItemValue) ContainsValue(source *ConfigMap) bool

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

func (*ConfigMap_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type ConfigMap_FieldSubPathArrayOfValues

type ConfigMap_FieldSubPathArrayOfValues struct {
	ConfigMap_FieldPath
	// contains filtered or unexported fields
}

func (*ConfigMap_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues

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

func (*ConfigMap_FieldSubPathArrayOfValues) GetRawValues

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

type ConfigMap_FieldSubPathValue

type ConfigMap_FieldSubPathValue struct {
	ConfigMap_FieldPath
	// contains filtered or unexported fields
}

func (*ConfigMap_FieldSubPathValue) AsMetadataPathValue

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

func (*ConfigMap_FieldSubPathValue) CompareWith

func (fpvs *ConfigMap_FieldSubPathValue) CompareWith(source *ConfigMap) (int, bool)

func (*ConfigMap_FieldSubPathValue) CompareWithRaw

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

func (*ConfigMap_FieldSubPathValue) GetRawValue

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

func (*ConfigMap_FieldSubPathValue) SetTo

func (fpvs *ConfigMap_FieldSubPathValue) SetTo(target **ConfigMap)

func (*ConfigMap_FieldSubPathValue) SetToRaw

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

type ConfigMap_FieldTerminalPath

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

func (*ConfigMap_FieldTerminalPath) ClearValue

func (fp *ConfigMap_FieldTerminalPath) ClearValue(item *ConfigMap)

func (*ConfigMap_FieldTerminalPath) ClearValueRaw

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

func (*ConfigMap_FieldTerminalPath) Get

func (fp *ConfigMap_FieldTerminalPath) Get(source *ConfigMap) (values []interface{})

Get returns all values pointed by specific field from source ConfigMap

func (*ConfigMap_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*ConfigMap_FieldTerminalPath) GetRaw

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

func (*ConfigMap_FieldTerminalPath) GetSingle

func (fp *ConfigMap_FieldTerminalPath) GetSingle(source *ConfigMap) (interface{}, bool)

GetSingle returns value pointed by specific field of from source ConfigMap

func (*ConfigMap_FieldTerminalPath) GetSingleRaw

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

func (*ConfigMap_FieldTerminalPath) IsLeaf

func (fp *ConfigMap_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*ConfigMap_FieldTerminalPath) JSONString

func (fp *ConfigMap_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*ConfigMap_FieldTerminalPath) Selector

func (*ConfigMap_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*ConfigMap_FieldTerminalPath) String

func (fp *ConfigMap_FieldTerminalPath) String() string

String returns path representation in proto convention

func (*ConfigMap_FieldTerminalPath) WithIArrayItemValue

func (fp *ConfigMap_FieldTerminalPath) WithIArrayItemValue(value interface{}) ConfigMap_FieldPathArrayItemValue

func (*ConfigMap_FieldTerminalPath) WithIArrayOfValues

func (fp *ConfigMap_FieldTerminalPath) WithIArrayOfValues(values interface{}) ConfigMap_FieldPathArrayOfValues

func (*ConfigMap_FieldTerminalPath) WithIValue

func (fp *ConfigMap_FieldTerminalPath) WithIValue(value interface{}) ConfigMap_FieldPathValue

func (*ConfigMap_FieldTerminalPath) WithRawIArrayItemValue

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

func (*ConfigMap_FieldTerminalPath) WithRawIArrayOfValues

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

func (*ConfigMap_FieldTerminalPath) WithRawIValue

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

type ConfigMap_FieldTerminalPathArrayItemValue

type ConfigMap_FieldTerminalPathArrayItemValue struct {
	ConfigMap_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ConfigMap_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *ConfigMap_FieldTerminalPathArrayItemValue) ContainsValue(source *ConfigMap) bool

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

func (*ConfigMap_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*ConfigMap_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *ConfigMap_FieldTerminalPathArrayItemValue) GetSingle(source *ConfigMap) (interface{}, bool)

func (*ConfigMap_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type ConfigMap_FieldTerminalPathArrayOfValues

type ConfigMap_FieldTerminalPathArrayOfValues struct {
	ConfigMap_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ConfigMap_FieldTerminalPathArrayOfValues) AsBinaryDataArrayOfValues

func (fpaov *ConfigMap_FieldTerminalPathArrayOfValues) AsBinaryDataArrayOfValues() ([]map[string][]byte, bool)

func (*ConfigMap_FieldTerminalPathArrayOfValues) AsDataArrayOfValues

func (fpaov *ConfigMap_FieldTerminalPathArrayOfValues) AsDataArrayOfValues() ([]map[string]string, bool)

func (*ConfigMap_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues

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

func (*ConfigMap_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues

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

func (*ConfigMap_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

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

func (*ConfigMap_FieldTerminalPathArrayOfValues) GetRawValues

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

type ConfigMap_FieldTerminalPathValue

type ConfigMap_FieldTerminalPathValue struct {
	ConfigMap_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*ConfigMap_FieldTerminalPathValue) AsBinaryDataValue

func (fpv *ConfigMap_FieldTerminalPathValue) AsBinaryDataValue() (map[string][]byte, bool)

func (*ConfigMap_FieldTerminalPathValue) AsDataValue

func (fpv *ConfigMap_FieldTerminalPathValue) AsDataValue() (map[string]string, bool)

func (*ConfigMap_FieldTerminalPathValue) AsDisplayNameValue

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

func (*ConfigMap_FieldTerminalPathValue) AsMetadataValue

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

func (*ConfigMap_FieldTerminalPathValue) AsNameValue

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

func (*ConfigMap_FieldTerminalPathValue) CompareWith

func (fpv *ConfigMap_FieldTerminalPathValue) CompareWith(source *ConfigMap) (int, bool)

CompareWith compares value in the 'ConfigMap_FieldTerminalPathValue' with the value under path in 'ConfigMap'.

func (*ConfigMap_FieldTerminalPathValue) CompareWithRaw

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

func (*ConfigMap_FieldTerminalPathValue) GetRawValue

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

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

func (*ConfigMap_FieldTerminalPathValue) SetTo

func (fpv *ConfigMap_FieldTerminalPathValue) SetTo(target **ConfigMap)

SetTo stores value for selected field for object ConfigMap

func (*ConfigMap_FieldTerminalPathValue) SetToRaw

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

type Descriptor

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

func GetDescriptor

func GetDescriptor() *Descriptor

func (*Descriptor) CanBeParentless

func (d *Descriptor) CanBeParentless() bool

func (*Descriptor) GetNameDescriptor

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

func (*Descriptor) GetParentResDescriptors

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

func (*Descriptor) GetResourceTypeName

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

func (*Descriptor) NewGetQuery

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

func (*Descriptor) NewListQuery

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

func (*Descriptor) NewNameList

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

func (*Descriptor) NewParentNameList

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

func (*Descriptor) NewParentReferenceList

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

func (*Descriptor) NewQueryResultChange

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

func (*Descriptor) NewQueryResultSnapshot

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

func (*Descriptor) NewReferenceList

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

func (*Descriptor) NewResource

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

func (*Descriptor) NewResourceChange

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

func (*Descriptor) NewResourceChangeList

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

func (*Descriptor) NewResourceChangeMap

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

func (*Descriptor) NewResourceCursor

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

func (*Descriptor) NewResourceFieldMask

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

func (*Descriptor) NewResourceFilter

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

func (*Descriptor) NewResourceList

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

func (*Descriptor) NewResourceMap

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

func (*Descriptor) NewResourceName

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

func (*Descriptor) NewResourceOrderBy

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

func (*Descriptor) NewResourcePager

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

func (*Descriptor) NewSearchQuery

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

func (*Descriptor) NewWatchQuery

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

func (*Descriptor) ParseFieldPath

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

func (*Descriptor) ParseResourceName

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

func (*Descriptor) SupportsMetadata

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

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 ConfigMap_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 *ConfigMap) bool

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

func AndFilterConditions

func AndFilterConditions(conds ...FilterCondition) FilterCondition

type FilterConditionCompare

type FilterConditionCompare struct {
	Operator filterParser.CompareOperator
	ConfigMap_FieldPathValue
}

func (*FilterConditionCompare) And

func (*FilterConditionCompare) ConditionCompare

func (cond *FilterConditionCompare) ConditionCompare()

func (*FilterConditionCompare) Evaluate

func (cond *FilterConditionCompare) Evaluate(res *ConfigMap) 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 ConfigMap_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 *ConfigMap) 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 ConfigMap_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 *ConfigMap) bool

func (*FilterConditionContains) EvaluateRaw

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

func (*FilterConditionContains) GetFieldPath

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

func (*FilterConditionIn) And

func (*FilterConditionIn) ConditionIn

func (cond *FilterConditionIn) ConditionIn()

func (*FilterConditionIn) Evaluate

func (cond *FilterConditionIn) Evaluate(res *ConfigMap) 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 ConfigMap_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 ConfigMap_FieldPath
}

func (*FilterConditionIsNaN) And

func (*FilterConditionIsNaN) ConditionIsNaN

func (cond *FilterConditionIsNaN) ConditionIsNaN()

func (*FilterConditionIsNaN) Evaluate

func (cond *FilterConditionIsNaN) Evaluate(res *ConfigMap) 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 ConfigMap_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 ConfigMap_FieldPath
}

func (*FilterConditionIsNull) And

func (*FilterConditionIsNull) ConditionIsNull

func (cond *FilterConditionIsNull) ConditionIsNull()

func (*FilterConditionIsNull) Evaluate

func (cond *FilterConditionIsNull) Evaluate(res *ConfigMap) 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 ConfigMap_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 *ConfigMap) 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 ConfigMap_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 {
	ConfigMap_FieldPathArrayOfValues
}

func (*FilterConditionNotIn) And

func (*FilterConditionNotIn) ConditionNotIn

func (cond *FilterConditionNotIn) ConditionNotIn()

func (*FilterConditionNotIn) Evaluate

func (cond *FilterConditionNotIn) Evaluate(res *ConfigMap) 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 ConfigMap_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      *ConfigMap_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           *ConfigMap_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 {
	ParentName
	ConfigMapId string `firestore:"configMapId"`
}

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

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

func (*Name) GetResourceDescriptor

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

func (*Name) GetSegments

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

func (*Name) GotenEqual

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

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

func (*Name) HasTrait

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

func (*Name) IsFullyQualified

func (name *Name) IsFullyQualified() bool

func (*Name) IsSpecified

func (name *Name) IsSpecified() bool

func (*Name) Match

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

func (*Name) Matches

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

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

func (*Name) ParseProtoString

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

func (*Name) ProtoString

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

func (*Name) Receive

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

func (*Name) SetFromCliFlag

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

implement CustomTypeCliValue method

func (*Name) SetFromSegments

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

func (*Name) String

func (name *Name) String() string

func (*Name) Type

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

func (*Name) TypeName

func (name *Name) TypeName() string

func (*Name) Value

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

type NameBuilder

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

func NewNameBuilder

func NewNameBuilder() *NameBuilder

func (*NameBuilder) Name

func (b *NameBuilder) Name() *Name

func (*NameBuilder) Parent

func (b *NameBuilder) Parent() *ParentName

func (*NameBuilder) ParentReference

func (b *NameBuilder) ParentReference() *ParentReference

func (*NameBuilder) Reference

func (b *NameBuilder) Reference() *Reference

func (*NameBuilder) SetId

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

func (*NameBuilder) SetProject

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

func (*NameBuilder) SetProjectId

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

func (*NameBuilder) SetRegionId

func (b *NameBuilder) SetRegionId(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 *ConfigMap) int

func (*OrderBy) CompareRaw

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

func (*OrderBy) GetFieldMask

func (orderBy *OrderBy) GetFieldMask() *ConfigMap_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 ConfigMapList, elem *ConfigMap) (ConfigMapList, 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 ConfigMapList)

func (*OrderBy) SortRaw

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

func (*OrderBy) String

func (orderBy *OrderBy) String() string

type OrderByField

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

func (*OrderByField) GetDirection

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

func (*OrderByField) GetFieldPath

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

type PagerCursor

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

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

func (*PagerCursor) GetInclusion

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

func (*PagerCursor) GetPageDirection

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

func (*PagerCursor) GetValue

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

func (*PagerCursor) IsEmpty

func (cursor *PagerCursor) IsEmpty() bool

func (*PagerCursor) ParseProtoString

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

func (*PagerCursor) ProtoString

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

func (*PagerCursor) SetCursorValue

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

func (*PagerCursor) SetFromCliFlag

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

func (*PagerCursor) SetInclusion

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

func (*PagerCursor) SetPageDirection

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

func (*PagerCursor) String

func (cursor *PagerCursor) String() string

type PagerQuery

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

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

func MakePagerQuery

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

MakePagerQuery builds pager from API data and applies defaults

func (*PagerQuery) GetCursor

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

func (*PagerQuery) GetLimit

func (p *PagerQuery) GetLimit() int

func (*PagerQuery) GetOrderBy

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

func (*PagerQuery) GetPeekForward

func (p *PagerQuery) GetPeekForward() bool

func (*PagerQuery) GetResourceDescriptor

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

func (*PagerQuery) PageDirection

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

func (*PagerQuery) SetCursor

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

func (*PagerQuery) SetLimit

func (p *PagerQuery) SetLimit(limit int)

func (*PagerQuery) SetOrderBy

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

func (*PagerQuery) SetPageDirection

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

func (*PagerQuery) SetPeekForward

func (p *PagerQuery) SetPeekForward(peekForward bool)

type ParentName

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

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

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

func (*ParentName) ConvertToType

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

func (*ParentName) DescendsFrom

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

func (*ParentName) Equal

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

func (*ParentName) FullyQualifiedName

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

func (*ParentName) GetIParentName

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

func (*ParentName) GetIUnderlyingParentName

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

func (*ParentName) GetIdParts

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

func (*ParentName) GetPattern

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

func (*ParentName) GetProjectName

func (name *ParentName) GetProjectName() *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

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

func (*ParentName) IsFullyQualified

func (name *ParentName) IsFullyQualified() bool

func (*ParentName) IsSpecified

func (name *ParentName) IsSpecified() bool

func (*ParentName) Match

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

func (*ParentName) Matches

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

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

func (*ParentName) ParseProtoString

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

func (*ParentName) ProtoString

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

func (*ParentName) Receive

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

func (*ParentName) SetFromCliFlag

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

implement CustomTypeCliValue method

func (*ParentName) SetFromSegments

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

func (*ParentName) String

func (name *ParentName) String() string

func (*ParentName) Type

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

func (*ParentName) TypeName

func (name *ParentName) TypeName() string

func (*ParentName) Value

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

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

func (*ParentReference) GetIUnderlyingParentName

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

func (*ParentReference) GetIdParts

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

func (*ParentReference) GetPattern

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

func (*ParentReference) GetProject

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

func (*ParentReference) GetProjectReference

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

func (*ParentReference) GetRawResource

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

func (*ParentReference) GetResourceDescriptor

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

func (*ParentReference) GetSegments

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

func (*ParentReference) GetUnderlyingReference

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

func (*ParentReference) GotenEqual

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

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

func (*ParentReference) IsFullyQualified

func (ref *ParentReference) IsFullyQualified() bool

func (*ParentReference) IsSpecified

func (ref *ParentReference) IsSpecified() bool

func (*ParentReference) Matches

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

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

func (*ParentReference) ParseProtoString

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

func (*ParentReference) ProtoString

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

func (*ParentReference) ResolveRaw

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

func (*ParentReference) Resolved

func (ref *ParentReference) Resolved() bool

func (*ParentReference) SetFromCliFlag

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

implement CustomTypeCliValue method

func (*ParentReference) String

func (ref *ParentReference) String() string

type QueryResultChange

type QueryResultChange struct {
	Changes        []*ConfigMapChange
	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 {
	ConfigMaps        []*ConfigMap
	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, configMap *ConfigMap) (*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) GetConfigMap

func (ref *Reference) GetConfigMap() *ConfigMap

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

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