crypto_key

package
v1.2.16 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	NamePattern_Project_Region = "projects/{project}/regions/{region}/cryptoKeys/{crypto_key}"
)

Variables

This section is empty.

Functions

func AsAnyCastAccess

func AsAnyCastAccess(access CryptoKeyAccess) gotenresource.Access

Types

type CryptoKey

type CryptoKey struct {

	// Name of CryptoKey
	// 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,2,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"`
	Key      string     `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty" firestore:"key"`
	// contains filtered or unexported fields
}

CryptoKey Resource

func (*CryptoKey) Clone

func (o *CryptoKey) Clone() *CryptoKey

func (*CryptoKey) CloneRaw

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

func (*CryptoKey) Descriptor

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

Deprecated, Use CryptoKey.ProtoReflect.Descriptor instead.

func (*CryptoKey) EnsureMetadata

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

func (*CryptoKey) GetKey

func (m *CryptoKey) GetKey() string

func (*CryptoKey) GetMetadata

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

func (*CryptoKey) GetName

func (m *CryptoKey) GetName() *Name

func (*CryptoKey) GetRawName

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

func (*CryptoKey) GetResourceDescriptor

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

func (*CryptoKey) GotenMessage

func (*CryptoKey) GotenMessage()

func (*CryptoKey) GotenObjectExt

func (o *CryptoKey) GotenObjectExt()

func (*CryptoKey) GotenValidate

func (obj *CryptoKey) GotenValidate() error

func (*CryptoKey) MakeDiffFieldMask

func (o *CryptoKey) MakeDiffFieldMask(other *CryptoKey) *CryptoKey_FieldMask

func (*CryptoKey) MakeFullFieldMask

func (o *CryptoKey) MakeFullFieldMask() *CryptoKey_FieldMask

func (*CryptoKey) MakeRawDiffFieldMask

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

func (*CryptoKey) MakeRawFullFieldMask

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

func (*CryptoKey) Marshal

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

func (*CryptoKey) MarshalJSON

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

func (*CryptoKey) MaybePopulateDefaults

func (r *CryptoKey) MaybePopulateDefaults() error

func (*CryptoKey) Merge

func (o *CryptoKey) Merge(source *CryptoKey)

func (*CryptoKey) MergeRaw

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

func (*CryptoKey) ProtoMessage

func (*CryptoKey) ProtoMessage()

func (*CryptoKey) ProtoReflect

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

func (*CryptoKey) Reset

func (m *CryptoKey) Reset()

func (*CryptoKey) SetKey

func (m *CryptoKey) SetKey(fv string)

func (*CryptoKey) SetMetadata

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

func (*CryptoKey) SetName

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

func (*CryptoKey) String

func (m *CryptoKey) String() string

func (*CryptoKey) Unmarshal

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

func (*CryptoKey) UnmarshalJSON

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

type CryptoKeyAccess

type CryptoKeyAccess interface {
	GetCryptoKey(context.Context, *GetQuery) (*CryptoKey, error)
	BatchGetCryptoKeys(context.Context, []*Reference, ...gotenresource.BatchGetOption) error
	QueryCryptoKeys(context.Context, *ListQuery) (*QueryResultSnapshot, error)
	WatchCryptoKey(context.Context, *GetQuery, func(*CryptoKeyChange) error) error
	WatchCryptoKeys(context.Context, *WatchQuery, func(*QueryResultChange) error) error
	SaveCryptoKey(context.Context, *CryptoKey, ...gotenresource.SaveOption) error
	DeleteCryptoKey(context.Context, *Reference, ...gotenresource.DeleteOption) error
}

type CryptoKeyChange

type CryptoKeyChange struct {

	// CryptoKey change
	//
	// Types that are valid to be assigned to ChangeType:
	//	*CryptoKeyChange_Added_
	//	*CryptoKeyChange_Modified_
	//	*CryptoKeyChange_Current_
	//	*CryptoKeyChange_Removed_
	ChangeType isCryptoKeyChange_ChangeType `protobuf_oneof:"change_type"`
	// contains filtered or unexported fields
}

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

func (*CryptoKeyChange) Descriptor

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

Deprecated, Use CryptoKeyChange.ProtoReflect.Descriptor instead.

func (*CryptoKeyChange) GetAdded

func (m *CryptoKeyChange) GetAdded() *CryptoKeyChange_Added

func (*CryptoKeyChange) GetChangeType

func (m *CryptoKeyChange) GetChangeType() isCryptoKeyChange_ChangeType

func (*CryptoKeyChange) GetCryptoKey

func (c *CryptoKeyChange) GetCryptoKey() *CryptoKey

func (*CryptoKeyChange) GetCryptoKeyName

func (c *CryptoKeyChange) GetCryptoKeyName() *Name

func (*CryptoKeyChange) GetCurrent

func (m *CryptoKeyChange) GetCurrent() *CryptoKeyChange_Current

func (*CryptoKeyChange) GetCurrentViewIndex

func (c *CryptoKeyChange) GetCurrentViewIndex() int32

func (*CryptoKeyChange) GetModified

func (m *CryptoKeyChange) GetModified() *CryptoKeyChange_Modified

func (*CryptoKeyChange) GetPreviousViewIndex

func (c *CryptoKeyChange) GetPreviousViewIndex() int32

func (*CryptoKeyChange) GetRawName

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

func (*CryptoKeyChange) GetRawResource

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

func (*CryptoKeyChange) GetRemoved

func (m *CryptoKeyChange) GetRemoved() *CryptoKeyChange_Removed

func (*CryptoKeyChange) GotenMessage

func (*CryptoKeyChange) GotenMessage()

func (*CryptoKeyChange) GotenValidate

func (obj *CryptoKeyChange) GotenValidate() error

func (*CryptoKeyChange) IsAdd

func (c *CryptoKeyChange) IsAdd() bool

func (*CryptoKeyChange) IsCurrent

func (c *CryptoKeyChange) IsCurrent() bool

func (*CryptoKeyChange) IsDelete

func (c *CryptoKeyChange) IsDelete() bool

func (*CryptoKeyChange) IsModify

func (c *CryptoKeyChange) IsModify() bool

func (*CryptoKeyChange) Marshal

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

func (*CryptoKeyChange) MarshalJSON

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

func (*CryptoKeyChange) ProtoMessage

func (*CryptoKeyChange) ProtoMessage()

func (*CryptoKeyChange) ProtoReflect

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

func (*CryptoKeyChange) Reset

func (m *CryptoKeyChange) Reset()

func (*CryptoKeyChange) SetAdded

func (m *CryptoKeyChange) SetAdded(fv *CryptoKeyChange_Added)

func (*CryptoKeyChange) SetAddedRaw

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

func (*CryptoKeyChange) SetChangeType

func (m *CryptoKeyChange) SetChangeType(ofv isCryptoKeyChange_ChangeType)

func (*CryptoKeyChange) SetCurrent

func (m *CryptoKeyChange) SetCurrent(fv *CryptoKeyChange_Current)

func (*CryptoKeyChange) SetCurrentRaw

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

func (*CryptoKeyChange) SetDeletedRaw

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

func (*CryptoKeyChange) SetModified

func (m *CryptoKeyChange) SetModified(fv *CryptoKeyChange_Modified)

func (*CryptoKeyChange) SetModifiedRaw

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

func (*CryptoKeyChange) SetRemoved

func (m *CryptoKeyChange) SetRemoved(fv *CryptoKeyChange_Removed)

func (*CryptoKeyChange) String

func (m *CryptoKeyChange) String() string

func (*CryptoKeyChange) Unmarshal

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

func (*CryptoKeyChange) UnmarshalJSON

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

type CryptoKeyChangeList

type CryptoKeyChangeList []*CryptoKeyChange

func (CryptoKeyChangeList) Append

func (CryptoKeyChangeList) At

func (CryptoKeyChangeList) Length

func (l CryptoKeyChangeList) Length() int

func (CryptoKeyChangeList) Set

func (CryptoKeyChangeList) Slice

type CryptoKeyChangeMap

type CryptoKeyChangeMap map[Name]*CryptoKeyChange

func (CryptoKeyChangeMap) Delete

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

func (CryptoKeyChangeMap) ForEach

func (CryptoKeyChangeMap) Get

func (CryptoKeyChangeMap) Length

func (m CryptoKeyChangeMap) Length() int

func (CryptoKeyChangeMap) Set

type CryptoKeyChange_Added

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

CryptoKey has been added to query view

func (*CryptoKeyChange_Added) Descriptor

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

Deprecated, Use CryptoKeyChange_Added.ProtoReflect.Descriptor instead.

func (*CryptoKeyChange_Added) GetCryptoKey

func (m *CryptoKeyChange_Added) GetCryptoKey() *CryptoKey

func (*CryptoKeyChange_Added) GetViewIndex

func (m *CryptoKeyChange_Added) GetViewIndex() int32

func (*CryptoKeyChange_Added) GotenMessage

func (*CryptoKeyChange_Added) GotenMessage()

func (*CryptoKeyChange_Added) GotenValidate

func (obj *CryptoKeyChange_Added) GotenValidate() error

func (*CryptoKeyChange_Added) Marshal

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

func (*CryptoKeyChange_Added) MarshalJSON

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

func (*CryptoKeyChange_Added) ProtoMessage

func (*CryptoKeyChange_Added) ProtoMessage()

func (*CryptoKeyChange_Added) ProtoReflect

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

func (*CryptoKeyChange_Added) Reset

func (m *CryptoKeyChange_Added) Reset()

func (*CryptoKeyChange_Added) SetCryptoKey

func (m *CryptoKeyChange_Added) SetCryptoKey(fv *CryptoKey)

func (*CryptoKeyChange_Added) SetViewIndex

func (m *CryptoKeyChange_Added) SetViewIndex(fv int32)

func (*CryptoKeyChange_Added) String

func (m *CryptoKeyChange_Added) String() string

func (*CryptoKeyChange_Added) Unmarshal

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

func (*CryptoKeyChange_Added) UnmarshalJSON

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

type CryptoKeyChange_Added_

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

type CryptoKeyChange_Current

type CryptoKeyChange_Current struct {
	CryptoKey *CryptoKey `protobuf:"bytes,1,opt,name=crypto_key,json=cryptoKey,proto3" json:"crypto_key,omitempty" firestore:"cryptoKey"`
	// contains filtered or unexported fields
}

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

func (*CryptoKeyChange_Current) Descriptor

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

Deprecated, Use CryptoKeyChange_Current.ProtoReflect.Descriptor instead.

func (*CryptoKeyChange_Current) GetCryptoKey

func (m *CryptoKeyChange_Current) GetCryptoKey() *CryptoKey

func (*CryptoKeyChange_Current) GotenMessage

func (*CryptoKeyChange_Current) GotenMessage()

func (*CryptoKeyChange_Current) GotenValidate

func (obj *CryptoKeyChange_Current) GotenValidate() error

func (*CryptoKeyChange_Current) Marshal

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

func (*CryptoKeyChange_Current) MarshalJSON

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

func (*CryptoKeyChange_Current) ProtoMessage

func (*CryptoKeyChange_Current) ProtoMessage()

func (*CryptoKeyChange_Current) ProtoReflect

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

func (*CryptoKeyChange_Current) Reset

func (m *CryptoKeyChange_Current) Reset()

func (*CryptoKeyChange_Current) SetCryptoKey

func (m *CryptoKeyChange_Current) SetCryptoKey(fv *CryptoKey)

func (*CryptoKeyChange_Current) String

func (m *CryptoKeyChange_Current) String() string

func (*CryptoKeyChange_Current) Unmarshal

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

func (*CryptoKeyChange_Current) UnmarshalJSON

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

type CryptoKeyChange_Current_

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

type CryptoKeyChange_Modified

type CryptoKeyChange_Modified struct {

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

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

func (*CryptoKeyChange_Modified) Descriptor

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

Deprecated, Use CryptoKeyChange_Modified.ProtoReflect.Descriptor instead.

func (*CryptoKeyChange_Modified) GetCryptoKey

func (m *CryptoKeyChange_Modified) GetCryptoKey() *CryptoKey

func (*CryptoKeyChange_Modified) GetFieldMask

func (m *CryptoKeyChange_Modified) GetFieldMask() *CryptoKey_FieldMask

func (*CryptoKeyChange_Modified) GetName

func (m *CryptoKeyChange_Modified) GetName() *Name

func (*CryptoKeyChange_Modified) GetPreviousViewIndex

func (m *CryptoKeyChange_Modified) GetPreviousViewIndex() int32

func (*CryptoKeyChange_Modified) GetViewIndex

func (m *CryptoKeyChange_Modified) GetViewIndex() int32

func (*CryptoKeyChange_Modified) GotenMessage

func (*CryptoKeyChange_Modified) GotenMessage()

func (*CryptoKeyChange_Modified) GotenValidate

func (obj *CryptoKeyChange_Modified) GotenValidate() error

func (*CryptoKeyChange_Modified) Marshal

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

func (*CryptoKeyChange_Modified) MarshalJSON

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

func (*CryptoKeyChange_Modified) ProtoMessage

func (*CryptoKeyChange_Modified) ProtoMessage()

func (*CryptoKeyChange_Modified) ProtoReflect

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

func (*CryptoKeyChange_Modified) Reset

func (m *CryptoKeyChange_Modified) Reset()

func (*CryptoKeyChange_Modified) SetCryptoKey

func (m *CryptoKeyChange_Modified) SetCryptoKey(fv *CryptoKey)

func (*CryptoKeyChange_Modified) SetFieldMask

func (m *CryptoKeyChange_Modified) SetFieldMask(fv *CryptoKey_FieldMask)

func (*CryptoKeyChange_Modified) SetName

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

func (*CryptoKeyChange_Modified) SetPreviousViewIndex

func (m *CryptoKeyChange_Modified) SetPreviousViewIndex(fv int32)

func (*CryptoKeyChange_Modified) SetViewIndex

func (m *CryptoKeyChange_Modified) SetViewIndex(fv int32)

func (*CryptoKeyChange_Modified) String

func (m *CryptoKeyChange_Modified) String() string

func (*CryptoKeyChange_Modified) Unmarshal

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

func (*CryptoKeyChange_Modified) UnmarshalJSON

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

type CryptoKeyChange_Modified_

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

type CryptoKeyChange_Removed

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

func (*CryptoKeyChange_Removed) Descriptor

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

Deprecated, Use CryptoKeyChange_Removed.ProtoReflect.Descriptor instead.

func (*CryptoKeyChange_Removed) GetName

func (m *CryptoKeyChange_Removed) GetName() *Name

func (*CryptoKeyChange_Removed) GetViewIndex

func (m *CryptoKeyChange_Removed) GetViewIndex() int32

func (*CryptoKeyChange_Removed) GotenMessage

func (*CryptoKeyChange_Removed) GotenMessage()

func (*CryptoKeyChange_Removed) GotenValidate

func (obj *CryptoKeyChange_Removed) GotenValidate() error

func (*CryptoKeyChange_Removed) Marshal

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

func (*CryptoKeyChange_Removed) MarshalJSON

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

func (*CryptoKeyChange_Removed) ProtoMessage

func (*CryptoKeyChange_Removed) ProtoMessage()

func (*CryptoKeyChange_Removed) ProtoReflect

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

func (*CryptoKeyChange_Removed) Reset

func (m *CryptoKeyChange_Removed) Reset()

func (*CryptoKeyChange_Removed) SetName

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

func (*CryptoKeyChange_Removed) SetViewIndex

func (m *CryptoKeyChange_Removed) SetViewIndex(fv int32)

func (*CryptoKeyChange_Removed) String

func (m *CryptoKeyChange_Removed) String() string

func (*CryptoKeyChange_Removed) Unmarshal

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

func (*CryptoKeyChange_Removed) UnmarshalJSON

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

type CryptoKeyChange_Removed_

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

type CryptoKeyFieldPathBuilder

type CryptoKeyFieldPathBuilder struct{}

func NewCryptoKeyFieldPathBuilder

func NewCryptoKeyFieldPathBuilder() CryptoKeyFieldPathBuilder

func (CryptoKeyFieldPathBuilder) Key

func (CryptoKeyFieldPathBuilder) Metadata

func (CryptoKeyFieldPathBuilder) Name

type CryptoKeyList

type CryptoKeyList []*CryptoKey

func (CryptoKeyList) Append

func (CryptoKeyList) AppendList

func (CryptoKeyList) At

func (CryptoKeyList) Length

func (l CryptoKeyList) Length() int

func (CryptoKeyList) Set

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

func (CryptoKeyList) Slice

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

type CryptoKeyMap

type CryptoKeyMap map[Name]*CryptoKey

func (CryptoKeyMap) Delete

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

func (CryptoKeyMap) ForEach

func (CryptoKeyMap) Get

func (CryptoKeyMap) Length

func (m CryptoKeyMap) Length() int

func (CryptoKeyMap) Set

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

type CryptoKeyMapPathSelectorMetadataAnnotations

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

func (CryptoKeyMapPathSelectorMetadataAnnotations) FieldPath

func (CryptoKeyMapPathSelectorMetadataAnnotations) WithArrayOfValues

func (CryptoKeyMapPathSelectorMetadataAnnotations) WithValue

type CryptoKeyMapPathSelectorMetadataLabels

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

func (CryptoKeyMapPathSelectorMetadataLabels) FieldPath

func (CryptoKeyMapPathSelectorMetadataLabels) WithArrayOfValues

func (CryptoKeyMapPathSelectorMetadataLabels) WithValue

type CryptoKeyMapPathSelectorMetadataShards

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

func (CryptoKeyMapPathSelectorMetadataShards) FieldPath

func (CryptoKeyMapPathSelectorMetadataShards) WithArrayOfValues

func (CryptoKeyMapPathSelectorMetadataShards) WithValue

type CryptoKeyNameList

type CryptoKeyNameList []*Name

func (CryptoKeyNameList) Append

func (CryptoKeyNameList) AppendList

func (CryptoKeyNameList) At

func (CryptoKeyNameList) Length

func (l CryptoKeyNameList) Length() int

func (CryptoKeyNameList) Set

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

func (CryptoKeyNameList) Slice

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

type CryptoKeyParentNameList

type CryptoKeyParentNameList []*ParentName

func (CryptoKeyParentNameList) Append

func (CryptoKeyParentNameList) AppendList

func (CryptoKeyParentNameList) At

func (CryptoKeyParentNameList) Length

func (l CryptoKeyParentNameList) Length() int

func (CryptoKeyParentNameList) Set

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

func (CryptoKeyParentNameList) Slice

type CryptoKeyParentReferenceList

type CryptoKeyParentReferenceList []*ParentReference

func (CryptoKeyParentReferenceList) Append

func (CryptoKeyParentReferenceList) AppendList

func (CryptoKeyParentReferenceList) At

func (CryptoKeyParentReferenceList) Length

func (l CryptoKeyParentReferenceList) Length() int

func (CryptoKeyParentReferenceList) Set

func (CryptoKeyParentReferenceList) Slice

type CryptoKeyPathSelectorKey

type CryptoKeyPathSelectorKey struct{}

func (CryptoKeyPathSelectorKey) FieldPath

func (CryptoKeyPathSelectorKey) WithArrayOfValues

func (CryptoKeyPathSelectorKey) WithValue

type CryptoKeyPathSelectorMetadata

type CryptoKeyPathSelectorMetadata struct{}

func (CryptoKeyPathSelectorMetadata) Annotations

func (CryptoKeyPathSelectorMetadata) CreateTime

func (CryptoKeyPathSelectorMetadata) DeleteTime

func (CryptoKeyPathSelectorMetadata) FieldPath

func (CryptoKeyPathSelectorMetadata) Generation

func (CryptoKeyPathSelectorMetadata) Labels

func (CryptoKeyPathSelectorMetadata) Lifecycle

func (CryptoKeyPathSelectorMetadata) OwnerReferences

func (CryptoKeyPathSelectorMetadata) ResourceVersion

func (CryptoKeyPathSelectorMetadata) Services

func (CryptoKeyPathSelectorMetadata) Shards

func (CryptoKeyPathSelectorMetadata) Syncing

func (CryptoKeyPathSelectorMetadata) Tags

func (CryptoKeyPathSelectorMetadata) UpdateTime

func (CryptoKeyPathSelectorMetadata) Uuid

func (CryptoKeyPathSelectorMetadata) WithArrayOfValues

func (CryptoKeyPathSelectorMetadata) WithSubArrayItemValue

func (CryptoKeyPathSelectorMetadata) WithSubArrayOfValues

func (CryptoKeyPathSelectorMetadata) WithSubPath

func (CryptoKeyPathSelectorMetadata) WithSubValue

func (CryptoKeyPathSelectorMetadata) WithValue

type CryptoKeyPathSelectorMetadataAnnotations

type CryptoKeyPathSelectorMetadataAnnotations struct{}

func (CryptoKeyPathSelectorMetadataAnnotations) FieldPath

func (CryptoKeyPathSelectorMetadataAnnotations) WithArrayOfValues

func (CryptoKeyPathSelectorMetadataAnnotations) WithKey

func (CryptoKeyPathSelectorMetadataAnnotations) WithValue

type CryptoKeyPathSelectorMetadataCreateTime

type CryptoKeyPathSelectorMetadataCreateTime struct{}

func (CryptoKeyPathSelectorMetadataCreateTime) FieldPath

func (CryptoKeyPathSelectorMetadataCreateTime) WithArrayOfValues

func (CryptoKeyPathSelectorMetadataCreateTime) WithValue

type CryptoKeyPathSelectorMetadataDeleteTime

type CryptoKeyPathSelectorMetadataDeleteTime struct{}

func (CryptoKeyPathSelectorMetadataDeleteTime) FieldPath

func (CryptoKeyPathSelectorMetadataDeleteTime) WithArrayOfValues

func (CryptoKeyPathSelectorMetadataDeleteTime) WithValue

type CryptoKeyPathSelectorMetadataGeneration

type CryptoKeyPathSelectorMetadataGeneration struct{}

func (CryptoKeyPathSelectorMetadataGeneration) FieldPath

func (CryptoKeyPathSelectorMetadataGeneration) WithArrayOfValues

func (CryptoKeyPathSelectorMetadataGeneration) WithValue

type CryptoKeyPathSelectorMetadataLabels

type CryptoKeyPathSelectorMetadataLabels struct{}

func (CryptoKeyPathSelectorMetadataLabels) FieldPath

func (CryptoKeyPathSelectorMetadataLabels) WithArrayOfValues

func (CryptoKeyPathSelectorMetadataLabels) WithKey

func (CryptoKeyPathSelectorMetadataLabels) WithValue

type CryptoKeyPathSelectorMetadataLifecycle

type CryptoKeyPathSelectorMetadataLifecycle struct{}

func (CryptoKeyPathSelectorMetadataLifecycle) BlockDeletion

func (CryptoKeyPathSelectorMetadataLifecycle) FieldPath

func (CryptoKeyPathSelectorMetadataLifecycle) State

func (CryptoKeyPathSelectorMetadataLifecycle) WithArrayOfValues

func (CryptoKeyPathSelectorMetadataLifecycle) WithValue

type CryptoKeyPathSelectorMetadataLifecycleBlockDeletion

type CryptoKeyPathSelectorMetadataLifecycleBlockDeletion struct{}

func (CryptoKeyPathSelectorMetadataLifecycleBlockDeletion) FieldPath

func (CryptoKeyPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues

func (CryptoKeyPathSelectorMetadataLifecycleBlockDeletion) WithValue

type CryptoKeyPathSelectorMetadataLifecycleState

type CryptoKeyPathSelectorMetadataLifecycleState struct{}

func (CryptoKeyPathSelectorMetadataLifecycleState) FieldPath

func (CryptoKeyPathSelectorMetadataLifecycleState) WithArrayOfValues

func (CryptoKeyPathSelectorMetadataLifecycleState) WithValue

type CryptoKeyPathSelectorMetadataOwnerReferences

type CryptoKeyPathSelectorMetadataOwnerReferences struct{}

func (CryptoKeyPathSelectorMetadataOwnerReferences) Controller

func (CryptoKeyPathSelectorMetadataOwnerReferences) FieldPath

func (CryptoKeyPathSelectorMetadataOwnerReferences) Kind

func (CryptoKeyPathSelectorMetadataOwnerReferences) Name

func (CryptoKeyPathSelectorMetadataOwnerReferences) Region

func (CryptoKeyPathSelectorMetadataOwnerReferences) Version

func (CryptoKeyPathSelectorMetadataOwnerReferences) WithArrayOfValues

func (CryptoKeyPathSelectorMetadataOwnerReferences) WithItemValue

func (CryptoKeyPathSelectorMetadataOwnerReferences) WithValue

type CryptoKeyPathSelectorMetadataOwnerReferencesController

type CryptoKeyPathSelectorMetadataOwnerReferencesController struct{}

func (CryptoKeyPathSelectorMetadataOwnerReferencesController) FieldPath

func (CryptoKeyPathSelectorMetadataOwnerReferencesController) WithArrayOfValues

func (CryptoKeyPathSelectorMetadataOwnerReferencesController) WithValue

type CryptoKeyPathSelectorMetadataOwnerReferencesKind

type CryptoKeyPathSelectorMetadataOwnerReferencesKind struct{}

func (CryptoKeyPathSelectorMetadataOwnerReferencesKind) FieldPath

func (CryptoKeyPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues

func (CryptoKeyPathSelectorMetadataOwnerReferencesKind) WithValue

type CryptoKeyPathSelectorMetadataOwnerReferencesName

type CryptoKeyPathSelectorMetadataOwnerReferencesName struct{}

func (CryptoKeyPathSelectorMetadataOwnerReferencesName) FieldPath

func (CryptoKeyPathSelectorMetadataOwnerReferencesName) WithArrayOfValues

func (CryptoKeyPathSelectorMetadataOwnerReferencesName) WithValue

type CryptoKeyPathSelectorMetadataOwnerReferencesRegion

type CryptoKeyPathSelectorMetadataOwnerReferencesRegion struct{}

func (CryptoKeyPathSelectorMetadataOwnerReferencesRegion) FieldPath

func (CryptoKeyPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues

func (CryptoKeyPathSelectorMetadataOwnerReferencesRegion) WithValue

type CryptoKeyPathSelectorMetadataOwnerReferencesRequiresOwnerReference

type CryptoKeyPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}

func (CryptoKeyPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath

func (CryptoKeyPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues

func (CryptoKeyPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue

type CryptoKeyPathSelectorMetadataOwnerReferencesVersion

type CryptoKeyPathSelectorMetadataOwnerReferencesVersion struct{}

func (CryptoKeyPathSelectorMetadataOwnerReferencesVersion) FieldPath

func (CryptoKeyPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues

func (CryptoKeyPathSelectorMetadataOwnerReferencesVersion) WithValue

type CryptoKeyPathSelectorMetadataResourceVersion

type CryptoKeyPathSelectorMetadataResourceVersion struct{}

func (CryptoKeyPathSelectorMetadataResourceVersion) FieldPath

func (CryptoKeyPathSelectorMetadataResourceVersion) WithArrayOfValues

func (CryptoKeyPathSelectorMetadataResourceVersion) WithValue

type CryptoKeyPathSelectorMetadataServices

type CryptoKeyPathSelectorMetadataServices struct{}

func (CryptoKeyPathSelectorMetadataServices) AllowedServices

func (CryptoKeyPathSelectorMetadataServices) FieldPath

func (CryptoKeyPathSelectorMetadataServices) OwningService

func (CryptoKeyPathSelectorMetadataServices) WithArrayOfValues

func (CryptoKeyPathSelectorMetadataServices) WithValue

type CryptoKeyPathSelectorMetadataServicesAllowedServices

type CryptoKeyPathSelectorMetadataServicesAllowedServices struct{}

func (CryptoKeyPathSelectorMetadataServicesAllowedServices) FieldPath

func (CryptoKeyPathSelectorMetadataServicesAllowedServices) WithArrayOfValues

func (CryptoKeyPathSelectorMetadataServicesAllowedServices) WithItemValue

func (CryptoKeyPathSelectorMetadataServicesAllowedServices) WithValue

type CryptoKeyPathSelectorMetadataServicesOwningService

type CryptoKeyPathSelectorMetadataServicesOwningService struct{}

func (CryptoKeyPathSelectorMetadataServicesOwningService) FieldPath

func (CryptoKeyPathSelectorMetadataServicesOwningService) WithArrayOfValues

func (CryptoKeyPathSelectorMetadataServicesOwningService) WithValue

type CryptoKeyPathSelectorMetadataShards

type CryptoKeyPathSelectorMetadataShards struct{}

func (CryptoKeyPathSelectorMetadataShards) FieldPath

func (CryptoKeyPathSelectorMetadataShards) WithArrayOfValues

func (CryptoKeyPathSelectorMetadataShards) WithKey

func (CryptoKeyPathSelectorMetadataShards) WithValue

type CryptoKeyPathSelectorMetadataSyncing

type CryptoKeyPathSelectorMetadataSyncing struct{}

func (CryptoKeyPathSelectorMetadataSyncing) FieldPath

func (CryptoKeyPathSelectorMetadataSyncing) OwningRegion

func (CryptoKeyPathSelectorMetadataSyncing) Regions

func (CryptoKeyPathSelectorMetadataSyncing) WithArrayOfValues

func (CryptoKeyPathSelectorMetadataSyncing) WithValue

type CryptoKeyPathSelectorMetadataSyncingOwningRegion

type CryptoKeyPathSelectorMetadataSyncingOwningRegion struct{}

func (CryptoKeyPathSelectorMetadataSyncingOwningRegion) FieldPath

func (CryptoKeyPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues

func (CryptoKeyPathSelectorMetadataSyncingOwningRegion) WithValue

type CryptoKeyPathSelectorMetadataSyncingRegions

type CryptoKeyPathSelectorMetadataSyncingRegions struct{}

func (CryptoKeyPathSelectorMetadataSyncingRegions) FieldPath

func (CryptoKeyPathSelectorMetadataSyncingRegions) WithArrayOfValues

func (CryptoKeyPathSelectorMetadataSyncingRegions) WithItemValue

func (CryptoKeyPathSelectorMetadataSyncingRegions) WithValue

type CryptoKeyPathSelectorMetadataTags

type CryptoKeyPathSelectorMetadataTags struct{}

func (CryptoKeyPathSelectorMetadataTags) FieldPath

func (CryptoKeyPathSelectorMetadataTags) WithArrayOfValues

func (CryptoKeyPathSelectorMetadataTags) WithItemValue

func (CryptoKeyPathSelectorMetadataTags) WithValue

type CryptoKeyPathSelectorMetadataUpdateTime

type CryptoKeyPathSelectorMetadataUpdateTime struct{}

func (CryptoKeyPathSelectorMetadataUpdateTime) FieldPath

func (CryptoKeyPathSelectorMetadataUpdateTime) WithArrayOfValues

func (CryptoKeyPathSelectorMetadataUpdateTime) WithValue

type CryptoKeyPathSelectorMetadataUuid

type CryptoKeyPathSelectorMetadataUuid struct{}

func (CryptoKeyPathSelectorMetadataUuid) FieldPath

func (CryptoKeyPathSelectorMetadataUuid) WithArrayOfValues

func (CryptoKeyPathSelectorMetadataUuid) WithValue

type CryptoKeyPathSelectorName

type CryptoKeyPathSelectorName struct{}

func (CryptoKeyPathSelectorName) FieldPath

func (CryptoKeyPathSelectorName) WithArrayOfValues

func (CryptoKeyPathSelectorName) WithValue

type CryptoKeyReferenceList

type CryptoKeyReferenceList []*Reference

func (CryptoKeyReferenceList) Append

func (CryptoKeyReferenceList) AppendList

func (CryptoKeyReferenceList) At

func (CryptoKeyReferenceList) Length

func (l CryptoKeyReferenceList) Length() int

func (CryptoKeyReferenceList) Set

func (CryptoKeyReferenceList) Slice

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

type CryptoKey_FieldMask

type CryptoKey_FieldMask struct {
	Paths []CryptoKey_FieldPath
}

func FullCryptoKey_FieldMask

func FullCryptoKey_FieldMask() *CryptoKey_FieldMask

func ResourceViewFieldMask

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

func (*CryptoKey_FieldMask) AppendPath

func (fieldMask *CryptoKey_FieldMask) AppendPath(path CryptoKey_FieldPath)

func (*CryptoKey_FieldMask) AppendRawPath

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

func (*CryptoKey_FieldMask) DecodeFirestore

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

func (*CryptoKey_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*CryptoKey_FieldMask) FilterInputFields

func (fieldMask *CryptoKey_FieldMask) FilterInputFields() *CryptoKey_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*CryptoKey_FieldMask) FromProtoFieldMask

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

func (*CryptoKey_FieldMask) GetPaths

func (fieldMask *CryptoKey_FieldMask) GetPaths() []CryptoKey_FieldPath

func (*CryptoKey_FieldMask) GetRawPaths

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

func (*CryptoKey_FieldMask) IsFull

func (fieldMask *CryptoKey_FieldMask) IsFull() bool

func (CryptoKey_FieldMask) Marshal

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

implement methods required by customType

func (CryptoKey_FieldMask) MarshalJSON

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

func (*CryptoKey_FieldMask) PathsCount

func (fieldMask *CryptoKey_FieldMask) PathsCount() int

func (*CryptoKey_FieldMask) Project

func (fieldMask *CryptoKey_FieldMask) Project(source *CryptoKey) *CryptoKey

func (*CryptoKey_FieldMask) ProjectRaw

func (*CryptoKey_FieldMask) ProtoMessage

func (fieldMask *CryptoKey_FieldMask) ProtoMessage()

func (*CryptoKey_FieldMask) ProtoReflect

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

func (*CryptoKey_FieldMask) Reset

func (fieldMask *CryptoKey_FieldMask) Reset()

func (*CryptoKey_FieldMask) Set

func (fieldMask *CryptoKey_FieldMask) Set(target, source *CryptoKey)

func (*CryptoKey_FieldMask) SetFromCliFlag

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

func (*CryptoKey_FieldMask) SetRaw

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

func (*CryptoKey_FieldMask) Size

func (fieldMask *CryptoKey_FieldMask) Size() int

func (*CryptoKey_FieldMask) String

func (fieldMask *CryptoKey_FieldMask) String() string

func (*CryptoKey_FieldMask) Subtract

func (fieldMask *CryptoKey_FieldMask) Subtract(other *CryptoKey_FieldMask) *CryptoKey_FieldMask

func (*CryptoKey_FieldMask) SubtractRaw

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

func (*CryptoKey_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*CryptoKey_FieldMask) Unmarshal

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

func (*CryptoKey_FieldMask) UnmarshalJSON

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

type CryptoKey_FieldPath

type CryptoKey_FieldPath interface {
	gotenobject.FieldPath
	Selector() CryptoKey_FieldPathSelector
	Get(source *CryptoKey) []interface{}
	GetSingle(source *CryptoKey) (interface{}, bool)
	ClearValue(item *CryptoKey)

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

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

func BuildCryptoKey_FieldPath

func BuildCryptoKey_FieldPath(fp gotenobject.RawFieldPath) (CryptoKey_FieldPath, error)

func MustParseCryptoKey_FieldPath

func MustParseCryptoKey_FieldPath(rawField string) CryptoKey_FieldPath

func ParseCryptoKey_FieldPath

func ParseCryptoKey_FieldPath(rawField string) (CryptoKey_FieldPath, error)

type CryptoKey_FieldPathArrayItemValue

type CryptoKey_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	CryptoKey_FieldPath
	ContainsValue(*CryptoKey) bool
}

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

func MustParseCryptoKey_FieldPathArrayItemValue

func MustParseCryptoKey_FieldPathArrayItemValue(pathStr, valueStr string) CryptoKey_FieldPathArrayItemValue

func ParseCryptoKey_FieldPathArrayItemValue

func ParseCryptoKey_FieldPathArrayItemValue(pathStr, valueStr string) (CryptoKey_FieldPathArrayItemValue, error)

ParseCryptoKey_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type CryptoKey_FieldPathArrayOfValues

type CryptoKey_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	CryptoKey_FieldPath
}

CryptoKey_FieldPathArrayOfValues allows storing slice of values for CryptoKey fields according to their type

func MustParseCryptoKey_FieldPathArrayOfValues

func MustParseCryptoKey_FieldPathArrayOfValues(pathStr, valuesStr string) CryptoKey_FieldPathArrayOfValues

func ParseCryptoKey_FieldPathArrayOfValues

func ParseCryptoKey_FieldPathArrayOfValues(pathStr, valuesStr string) (CryptoKey_FieldPathArrayOfValues, error)

type CryptoKey_FieldPathSelector

type CryptoKey_FieldPathSelector int32
const (
	CryptoKey_FieldPathSelectorName     CryptoKey_FieldPathSelector = 0
	CryptoKey_FieldPathSelectorMetadata CryptoKey_FieldPathSelector = 1
	CryptoKey_FieldPathSelectorKey      CryptoKey_FieldPathSelector = 2
)

func (CryptoKey_FieldPathSelector) String

type CryptoKey_FieldPathValue

type CryptoKey_FieldPathValue interface {
	CryptoKey_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **CryptoKey)
	CompareWith(*CryptoKey) (cmp int, comparable bool)
}

CryptoKey_FieldPathValue allows storing values for CryptoKey fields according to their type

func MustParseCryptoKey_FieldPathValue

func MustParseCryptoKey_FieldPathValue(pathStr, valueStr string) CryptoKey_FieldPathValue

func ParseCryptoKey_FieldPathValue

func ParseCryptoKey_FieldPathValue(pathStr, valueStr string) (CryptoKey_FieldPathValue, error)

type CryptoKey_FieldSubPath

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

func (*CryptoKey_FieldSubPath) AsMetadataSubPath

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

func (*CryptoKey_FieldSubPath) ClearValue

func (fps *CryptoKey_FieldSubPath) ClearValue(item *CryptoKey)

func (*CryptoKey_FieldSubPath) ClearValueRaw

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

func (*CryptoKey_FieldSubPath) Get

func (fps *CryptoKey_FieldSubPath) Get(source *CryptoKey) (values []interface{})

Get returns all values pointed by selected field from source CryptoKey

func (*CryptoKey_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*CryptoKey_FieldSubPath) GetRaw

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

func (*CryptoKey_FieldSubPath) GetSingle

func (fps *CryptoKey_FieldSubPath) GetSingle(source *CryptoKey) (interface{}, bool)

GetSingle returns value of selected field from source CryptoKey

func (*CryptoKey_FieldSubPath) GetSingleRaw

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

func (*CryptoKey_FieldSubPath) IsLeaf

func (fps *CryptoKey_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*CryptoKey_FieldSubPath) JSONString

func (fps *CryptoKey_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*CryptoKey_FieldSubPath) Selector

func (*CryptoKey_FieldSubPath) SplitIntoTerminalIPaths

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

func (*CryptoKey_FieldSubPath) String

func (fps *CryptoKey_FieldSubPath) String() string

String returns path representation in proto convention

func (*CryptoKey_FieldSubPath) WithIArrayItemValue

func (fps *CryptoKey_FieldSubPath) WithIArrayItemValue(value interface{}) CryptoKey_FieldPathArrayItemValue

func (*CryptoKey_FieldSubPath) WithIArrayOfValues

func (fps *CryptoKey_FieldSubPath) WithIArrayOfValues(values interface{}) CryptoKey_FieldPathArrayOfValues

func (*CryptoKey_FieldSubPath) WithIValue

func (fps *CryptoKey_FieldSubPath) WithIValue(value interface{}) CryptoKey_FieldPathValue

func (*CryptoKey_FieldSubPath) WithRawIArrayItemValue

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

func (*CryptoKey_FieldSubPath) WithRawIArrayOfValues

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

func (*CryptoKey_FieldSubPath) WithRawIValue

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

type CryptoKey_FieldSubPathArrayItemValue

type CryptoKey_FieldSubPathArrayItemValue struct {
	CryptoKey_FieldPath
	// contains filtered or unexported fields
}

func (*CryptoKey_FieldSubPathArrayItemValue) AsMetadataPathItemValue

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

func (*CryptoKey_FieldSubPathArrayItemValue) ContainsValue

func (fpaivs *CryptoKey_FieldSubPathArrayItemValue) ContainsValue(source *CryptoKey) bool

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

func (*CryptoKey_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type CryptoKey_FieldSubPathArrayOfValues

type CryptoKey_FieldSubPathArrayOfValues struct {
	CryptoKey_FieldPath
	// contains filtered or unexported fields
}

func (*CryptoKey_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues

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

func (*CryptoKey_FieldSubPathArrayOfValues) GetRawValues

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

type CryptoKey_FieldSubPathValue

type CryptoKey_FieldSubPathValue struct {
	CryptoKey_FieldPath
	// contains filtered or unexported fields
}

func (*CryptoKey_FieldSubPathValue) AsMetadataPathValue

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

func (*CryptoKey_FieldSubPathValue) CompareWith

func (fpvs *CryptoKey_FieldSubPathValue) CompareWith(source *CryptoKey) (int, bool)

func (*CryptoKey_FieldSubPathValue) CompareWithRaw

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

func (*CryptoKey_FieldSubPathValue) GetRawValue

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

func (*CryptoKey_FieldSubPathValue) SetTo

func (fpvs *CryptoKey_FieldSubPathValue) SetTo(target **CryptoKey)

func (*CryptoKey_FieldSubPathValue) SetToRaw

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

type CryptoKey_FieldTerminalPath

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

func (*CryptoKey_FieldTerminalPath) ClearValue

func (fp *CryptoKey_FieldTerminalPath) ClearValue(item *CryptoKey)

func (*CryptoKey_FieldTerminalPath) ClearValueRaw

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

func (*CryptoKey_FieldTerminalPath) Get

func (fp *CryptoKey_FieldTerminalPath) Get(source *CryptoKey) (values []interface{})

Get returns all values pointed by specific field from source CryptoKey

func (*CryptoKey_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*CryptoKey_FieldTerminalPath) GetRaw

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

func (*CryptoKey_FieldTerminalPath) GetSingle

func (fp *CryptoKey_FieldTerminalPath) GetSingle(source *CryptoKey) (interface{}, bool)

GetSingle returns value pointed by specific field of from source CryptoKey

func (*CryptoKey_FieldTerminalPath) GetSingleRaw

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

func (*CryptoKey_FieldTerminalPath) IsLeaf

func (fp *CryptoKey_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*CryptoKey_FieldTerminalPath) JSONString

func (fp *CryptoKey_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*CryptoKey_FieldTerminalPath) Selector

func (*CryptoKey_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*CryptoKey_FieldTerminalPath) String

func (fp *CryptoKey_FieldTerminalPath) String() string

String returns path representation in proto convention

func (*CryptoKey_FieldTerminalPath) WithIArrayItemValue

func (fp *CryptoKey_FieldTerminalPath) WithIArrayItemValue(value interface{}) CryptoKey_FieldPathArrayItemValue

func (*CryptoKey_FieldTerminalPath) WithIArrayOfValues

func (fp *CryptoKey_FieldTerminalPath) WithIArrayOfValues(values interface{}) CryptoKey_FieldPathArrayOfValues

func (*CryptoKey_FieldTerminalPath) WithIValue

func (fp *CryptoKey_FieldTerminalPath) WithIValue(value interface{}) CryptoKey_FieldPathValue

func (*CryptoKey_FieldTerminalPath) WithRawIArrayItemValue

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

func (*CryptoKey_FieldTerminalPath) WithRawIArrayOfValues

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

func (*CryptoKey_FieldTerminalPath) WithRawIValue

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

type CryptoKey_FieldTerminalPathArrayItemValue

type CryptoKey_FieldTerminalPathArrayItemValue struct {
	CryptoKey_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*CryptoKey_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *CryptoKey_FieldTerminalPathArrayItemValue) ContainsValue(source *CryptoKey) bool

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

func (*CryptoKey_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*CryptoKey_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *CryptoKey_FieldTerminalPathArrayItemValue) GetSingle(source *CryptoKey) (interface{}, bool)

func (*CryptoKey_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type CryptoKey_FieldTerminalPathArrayOfValues

type CryptoKey_FieldTerminalPathArrayOfValues struct {
	CryptoKey_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*CryptoKey_FieldTerminalPathArrayOfValues) AsKeyArrayOfValues

func (fpaov *CryptoKey_FieldTerminalPathArrayOfValues) AsKeyArrayOfValues() ([]string, bool)

func (*CryptoKey_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues

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

func (*CryptoKey_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

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

func (*CryptoKey_FieldTerminalPathArrayOfValues) GetRawValues

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

type CryptoKey_FieldTerminalPathValue

type CryptoKey_FieldTerminalPathValue struct {
	CryptoKey_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*CryptoKey_FieldTerminalPathValue) AsKeyValue

func (fpv *CryptoKey_FieldTerminalPathValue) AsKeyValue() (string, bool)

func (*CryptoKey_FieldTerminalPathValue) AsMetadataValue

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

func (*CryptoKey_FieldTerminalPathValue) AsNameValue

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

func (*CryptoKey_FieldTerminalPathValue) CompareWith

func (fpv *CryptoKey_FieldTerminalPathValue) CompareWith(source *CryptoKey) (int, bool)

CompareWith compares value in the 'CryptoKey_FieldTerminalPathValue' with the value under path in 'CryptoKey'.

func (*CryptoKey_FieldTerminalPathValue) CompareWithRaw

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

func (*CryptoKey_FieldTerminalPathValue) GetRawValue

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

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

func (*CryptoKey_FieldTerminalPathValue) SetTo

func (fpv *CryptoKey_FieldTerminalPathValue) SetTo(target **CryptoKey)

SetTo stores value for selected field for object CryptoKey

func (*CryptoKey_FieldTerminalPathValue) SetToRaw

func (fpv *CryptoKey_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 *CryptoKey) 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 []*CryptoKey) (out []*CryptoKey)

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 CryptoKey_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 *CryptoKey) bool

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

func AndFilterConditions

func AndFilterConditions(conds ...FilterCondition) FilterCondition

type FilterConditionCompare

type FilterConditionCompare struct {
	Operator filterParser.CompareOperator
	CryptoKey_FieldPathValue
}

func (*FilterConditionCompare) And

func (*FilterConditionCompare) ConditionCompare

func (cond *FilterConditionCompare) ConditionCompare()

func (*FilterConditionCompare) Evaluate

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

func (*FilterConditionContains) EvaluateRaw

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

func (*FilterConditionContains) GetFieldPath

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

func (*FilterConditionIn) And

func (*FilterConditionIn) ConditionIn

func (cond *FilterConditionIn) ConditionIn()

func (*FilterConditionIn) Evaluate

func (cond *FilterConditionIn) Evaluate(res *CryptoKey) 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 CryptoKey_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 CryptoKey_FieldPath
}

func (*FilterConditionIsNaN) And

func (*FilterConditionIsNaN) ConditionIsNaN

func (cond *FilterConditionIsNaN) ConditionIsNaN()

func (*FilterConditionIsNaN) Evaluate

func (cond *FilterConditionIsNaN) Evaluate(res *CryptoKey) 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 CryptoKey_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 CryptoKey_FieldPath
}

func (*FilterConditionIsNull) And

func (*FilterConditionIsNull) ConditionIsNull

func (cond *FilterConditionIsNull) ConditionIsNull()

func (*FilterConditionIsNull) Evaluate

func (cond *FilterConditionIsNull) Evaluate(res *CryptoKey) 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 CryptoKey_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 *CryptoKey) 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 CryptoKey_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 {
	CryptoKey_FieldPathArrayOfValues
}

func (*FilterConditionNotIn) And

func (*FilterConditionNotIn) ConditionNotIn

func (cond *FilterConditionNotIn) ConditionNotIn()

func (*FilterConditionNotIn) Evaluate

func (cond *FilterConditionNotIn) Evaluate(res *CryptoKey) 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 CryptoKey_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      *CryptoKey_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           *CryptoKey_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
	CryptoKeyId string `firestore:"cryptoKeyId"`
}

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 *CryptoKey) int

func (*OrderBy) CompareRaw

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

func (*OrderBy) GetFieldMask

func (orderBy *OrderBy) GetFieldMask() *CryptoKey_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 CryptoKeyList, elem *CryptoKey) (CryptoKeyList, 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 CryptoKeyList)

func (*OrderBy) SortRaw

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

func (*OrderBy) String

func (orderBy *OrderBy) String() string

type OrderByField

type OrderByField struct {
	FieldPath CryptoKey_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 *CryptoKey) 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        []*CryptoKeyChange
	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 {
	CryptoKeys        []*CryptoKey
	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, cryptoKey *CryptoKey) (*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) GetCryptoKey

func (ref *Reference) GetCryptoKey() *CryptoKey

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

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