secret

package
v1.5.12 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	NamePattern_Project_Region = "projects/{project}/regions/{region}/secrets/{secret}"
)

Variables

This section is empty.

Functions

func AsAnyCastAccess

func AsAnyCastAccess(access SecretAccess) gotenresource.Access

Types

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

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 Secret_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 *Secret) bool

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

func AndFilterConditions

func AndFilterConditions(conds ...FilterCondition) FilterCondition

type FilterConditionCompare

type FilterConditionCompare struct {
	Operator filterParser.CompareOperator
	Secret_FieldPathValue
}

func (*FilterConditionCompare) And

func (*FilterConditionCompare) ConditionCompare

func (cond *FilterConditionCompare) ConditionCompare()

func (*FilterConditionCompare) Evaluate

func (cond *FilterConditionCompare) Evaluate(res *Secret) 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 Secret_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 *Secret) 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 Secret_FieldPath) bool

func (*FilterConditionComposite) SpecifiesRawFieldPath

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

func (*FilterConditionComposite) String

func (cond *FilterConditionComposite) String() string

type FilterConditionContains

type FilterConditionContains struct {
	Type      gotenresource.ConditionContainsType
	FieldPath Secret_FieldPath

	Value  Secret_FieldPathArrayItemValue
	Values []Secret_FieldPathArrayItemValue
}

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 *Secret) bool

func (*FilterConditionContains) EvaluateRaw

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

func (*FilterConditionContains) GetFieldPath

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

func (*FilterConditionIn) And

func (*FilterConditionIn) ConditionIn

func (cond *FilterConditionIn) ConditionIn()

func (*FilterConditionIn) Evaluate

func (cond *FilterConditionIn) Evaluate(res *Secret) 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 Secret_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 Secret_FieldPath
}

func (*FilterConditionIsNaN) And

func (*FilterConditionIsNaN) ConditionIsNaN

func (cond *FilterConditionIsNaN) ConditionIsNaN()

func (*FilterConditionIsNaN) Evaluate

func (cond *FilterConditionIsNaN) Evaluate(res *Secret) 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 Secret_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 Secret_FieldPath
}

func (*FilterConditionIsNull) And

func (*FilterConditionIsNull) ConditionIsNull

func (cond *FilterConditionIsNull) ConditionIsNull()

func (*FilterConditionIsNull) Evaluate

func (cond *FilterConditionIsNull) Evaluate(res *Secret) 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 Secret_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 *Secret) 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 Secret_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 {
	Secret_FieldPathArrayOfValues
}

func (*FilterConditionNotIn) And

func (*FilterConditionNotIn) ConditionNotIn

func (cond *FilterConditionNotIn) ConditionNotIn()

func (*FilterConditionNotIn) Evaluate

func (cond *FilterConditionNotIn) Evaluate(res *Secret) 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 Secret_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      *Secret_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           *Secret_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
	SecretId string `firestore:"secretId"`
}

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

func (*OrderBy) CompareRaw

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

func (*OrderBy) GetFieldMask

func (orderBy *OrderBy) GetFieldMask() *Secret_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 SecretList, elem *Secret) (SecretList, 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 SecretList)

func (*OrderBy) SortRaw

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

func (*OrderBy) String

func (orderBy *OrderBy) String() string

type OrderByField

type OrderByField struct {
	FieldPath Secret_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 *Secret) 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        []*SecretChange
	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 {
	Secrets           []*Secret
	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, secret *Secret) (*Reference, error)

func MustParseReference

func MustParseReference(name string) *Reference

func ParseReference

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

func (*Reference) ClearCached

func (ref *Reference) ClearCached()

func (*Reference) FullyQualifiedName

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

func (*Reference) GetIParentName

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

func (*Reference) GetIUnderlyingParentName

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

func (*Reference) GetIdParts

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

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

func (ref *Reference) GetSecret() *Secret

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

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 Secret

type Secret struct {

	// Name of Secret
	// 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,4,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"`
	// Display name of Secret
	DisplayName string `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty" firestore:"displayName"`
	// Optional. A detailed description of the Secret.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty" firestore:"description"`
	// masked by read_checks. Database only.
	EncData []byte `protobuf:"bytes,2,opt,name=enc_data,json=encData,proto3" json:"enc_data,omitempty" firestore:"encData"`
	// Data to store as secret. Must be base64 encoded.
	Data map[string]string `` /* 166-byte string literal not displayed */
	// contains filtered or unexported fields
}

Secret Resource

func (*Secret) Clone

func (o *Secret) Clone() *Secret

func (*Secret) CloneRaw

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

func (*Secret) Descriptor

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

Deprecated, Use Secret.ProtoReflect.Descriptor instead.

func (*Secret) EnsureMetadata

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

func (*Secret) GetData

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

func (*Secret) GetDescription added in v1.5.1

func (m *Secret) GetDescription() string

func (*Secret) GetDisplayName added in v1.5.1

func (m *Secret) GetDisplayName() string

func (*Secret) GetEncData

func (m *Secret) GetEncData() []byte

func (*Secret) GetMetadata

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

func (*Secret) GetName

func (m *Secret) GetName() *Name

func (*Secret) GetRawName

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

func (*Secret) GetResourceDescriptor

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

func (*Secret) GotenMessage

func (*Secret) GotenMessage()

func (*Secret) GotenObjectExt

func (o *Secret) GotenObjectExt()

func (*Secret) GotenValidate

func (obj *Secret) GotenValidate() error

func (*Secret) MakeDiffFieldMask

func (o *Secret) MakeDiffFieldMask(other *Secret) *Secret_FieldMask

func (*Secret) MakeFullFieldMask

func (o *Secret) MakeFullFieldMask() *Secret_FieldMask

func (*Secret) MakeRawDiffFieldMask

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

func (*Secret) MakeRawFullFieldMask

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

func (*Secret) Marshal

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

func (*Secret) MarshalJSON

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

func (*Secret) MaybePopulateDefaults

func (r *Secret) MaybePopulateDefaults() error

func (*Secret) Merge

func (o *Secret) Merge(source *Secret)

func (*Secret) MergeRaw

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

func (*Secret) ProtoMessage

func (*Secret) ProtoMessage()

func (*Secret) ProtoReflect

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

func (*Secret) Reset

func (m *Secret) Reset()

func (*Secret) SetData

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

func (*Secret) SetDescription added in v1.5.1

func (m *Secret) SetDescription(fv string)

func (*Secret) SetDisplayName added in v1.5.1

func (m *Secret) SetDisplayName(fv string)

func (*Secret) SetEncData

func (m *Secret) SetEncData(fv []byte)

func (*Secret) SetMetadata

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

func (*Secret) SetName

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

func (*Secret) String

func (m *Secret) String() string

func (*Secret) Unmarshal

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

func (*Secret) UnmarshalJSON

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

type SecretChange

type SecretChange struct {

	// Secret change
	//
	// Types that are valid to be assigned to ChangeType:
	//	*SecretChange_Added_
	//	*SecretChange_Modified_
	//	*SecretChange_Current_
	//	*SecretChange_Removed_
	ChangeType isSecretChange_ChangeType `protobuf_oneof:"change_type"`
	// contains filtered or unexported fields
}

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

func (*SecretChange) Descriptor

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

Deprecated, Use SecretChange.ProtoReflect.Descriptor instead.

func (*SecretChange) GetAdded

func (m *SecretChange) GetAdded() *SecretChange_Added

func (*SecretChange) GetChangeType

func (m *SecretChange) GetChangeType() isSecretChange_ChangeType

func (*SecretChange) GetCurrent

func (m *SecretChange) GetCurrent() *SecretChange_Current

func (*SecretChange) GetCurrentViewIndex

func (c *SecretChange) GetCurrentViewIndex() int32

func (*SecretChange) GetModified

func (m *SecretChange) GetModified() *SecretChange_Modified

func (*SecretChange) GetPreviousViewIndex

func (c *SecretChange) GetPreviousViewIndex() int32

func (*SecretChange) GetRawName

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

func (*SecretChange) GetRawResource

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

func (*SecretChange) GetRemoved

func (m *SecretChange) GetRemoved() *SecretChange_Removed

func (*SecretChange) GetSecret

func (c *SecretChange) GetSecret() *Secret

func (*SecretChange) GetSecretName

func (c *SecretChange) GetSecretName() *Name

func (*SecretChange) GotenMessage

func (*SecretChange) GotenMessage()

func (*SecretChange) GotenValidate

func (obj *SecretChange) GotenValidate() error

func (*SecretChange) IsAdd

func (c *SecretChange) IsAdd() bool

func (*SecretChange) IsCurrent

func (c *SecretChange) IsCurrent() bool

func (*SecretChange) IsDelete

func (c *SecretChange) IsDelete() bool

func (*SecretChange) IsModify

func (c *SecretChange) IsModify() bool

func (*SecretChange) Marshal

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

func (*SecretChange) MarshalJSON

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

func (*SecretChange) ProtoMessage

func (*SecretChange) ProtoMessage()

func (*SecretChange) ProtoReflect

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

func (*SecretChange) Reset

func (m *SecretChange) Reset()

func (*SecretChange) SetAdded

func (m *SecretChange) SetAdded(fv *SecretChange_Added)

func (*SecretChange) SetAddedRaw

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

func (*SecretChange) SetChangeType

func (m *SecretChange) SetChangeType(ofv isSecretChange_ChangeType)

func (*SecretChange) SetCurrent

func (m *SecretChange) SetCurrent(fv *SecretChange_Current)

func (*SecretChange) SetCurrentRaw

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

func (*SecretChange) SetDeletedRaw

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

func (*SecretChange) SetModified

func (m *SecretChange) SetModified(fv *SecretChange_Modified)

func (*SecretChange) SetModifiedRaw

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

func (*SecretChange) SetRemoved

func (m *SecretChange) SetRemoved(fv *SecretChange_Removed)

func (*SecretChange) String

func (m *SecretChange) String() string

func (*SecretChange) Unmarshal

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

func (*SecretChange) UnmarshalJSON

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

type SecretChangeList

type SecretChangeList []*SecretChange

func (SecretChangeList) At

func (SecretChangeList) Length

func (l SecretChangeList) Length() int

func (SecretChangeList) Set

func (l SecretChangeList) Set(idx int, change gotenresource.ResourceChange)

func (SecretChangeList) Slice

func (l SecretChangeList) Slice(first, second int) gotenresource.ResourceChangeList

type SecretChangeMap

type SecretChangeMap map[Name]*SecretChange

func (SecretChangeMap) Delete

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

func (SecretChangeMap) ForEach

func (SecretChangeMap) Get

func (SecretChangeMap) Length

func (m SecretChangeMap) Length() int

func (SecretChangeMap) Set

type SecretChange_Added

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

Secret has been added to query view

func (*SecretChange_Added) Descriptor

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

Deprecated, Use SecretChange_Added.ProtoReflect.Descriptor instead.

func (*SecretChange_Added) GetSecret

func (m *SecretChange_Added) GetSecret() *Secret

func (*SecretChange_Added) GetViewIndex

func (m *SecretChange_Added) GetViewIndex() int32

func (*SecretChange_Added) GotenMessage

func (*SecretChange_Added) GotenMessage()

func (*SecretChange_Added) GotenValidate

func (obj *SecretChange_Added) GotenValidate() error

func (*SecretChange_Added) Marshal

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

func (*SecretChange_Added) MarshalJSON

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

func (*SecretChange_Added) ProtoMessage

func (*SecretChange_Added) ProtoMessage()

func (*SecretChange_Added) ProtoReflect

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

func (*SecretChange_Added) Reset

func (m *SecretChange_Added) Reset()

func (*SecretChange_Added) SetSecret

func (m *SecretChange_Added) SetSecret(fv *Secret)

func (*SecretChange_Added) SetViewIndex

func (m *SecretChange_Added) SetViewIndex(fv int32)

func (*SecretChange_Added) String

func (m *SecretChange_Added) String() string

func (*SecretChange_Added) Unmarshal

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

func (*SecretChange_Added) UnmarshalJSON

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

type SecretChange_Added_

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

type SecretChange_Current

type SecretChange_Current struct {
	Secret *Secret `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty" firestore:"secret"`
	// contains filtered or unexported fields
}

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

func (*SecretChange_Current) Descriptor

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

Deprecated, Use SecretChange_Current.ProtoReflect.Descriptor instead.

func (*SecretChange_Current) GetSecret

func (m *SecretChange_Current) GetSecret() *Secret

func (*SecretChange_Current) GotenMessage

func (*SecretChange_Current) GotenMessage()

func (*SecretChange_Current) GotenValidate

func (obj *SecretChange_Current) GotenValidate() error

func (*SecretChange_Current) Marshal

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

func (*SecretChange_Current) MarshalJSON

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

func (*SecretChange_Current) ProtoMessage

func (*SecretChange_Current) ProtoMessage()

func (*SecretChange_Current) ProtoReflect

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

func (*SecretChange_Current) Reset

func (m *SecretChange_Current) Reset()

func (*SecretChange_Current) SetSecret

func (m *SecretChange_Current) SetSecret(fv *Secret)

func (*SecretChange_Current) String

func (m *SecretChange_Current) String() string

func (*SecretChange_Current) Unmarshal

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

func (*SecretChange_Current) UnmarshalJSON

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

type SecretChange_Current_

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

type SecretChange_Modified

type SecretChange_Modified struct {

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

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

func (*SecretChange_Modified) Descriptor

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

Deprecated, Use SecretChange_Modified.ProtoReflect.Descriptor instead.

func (*SecretChange_Modified) GetFieldMask

func (m *SecretChange_Modified) GetFieldMask() *Secret_FieldMask

func (*SecretChange_Modified) GetName

func (m *SecretChange_Modified) GetName() *Name

func (*SecretChange_Modified) GetPreviousViewIndex

func (m *SecretChange_Modified) GetPreviousViewIndex() int32

func (*SecretChange_Modified) GetSecret

func (m *SecretChange_Modified) GetSecret() *Secret

func (*SecretChange_Modified) GetViewIndex

func (m *SecretChange_Modified) GetViewIndex() int32

func (*SecretChange_Modified) GotenMessage

func (*SecretChange_Modified) GotenMessage()

func (*SecretChange_Modified) GotenValidate

func (obj *SecretChange_Modified) GotenValidate() error

func (*SecretChange_Modified) Marshal

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

func (*SecretChange_Modified) MarshalJSON

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

func (*SecretChange_Modified) ProtoMessage

func (*SecretChange_Modified) ProtoMessage()

func (*SecretChange_Modified) ProtoReflect

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

func (*SecretChange_Modified) Reset

func (m *SecretChange_Modified) Reset()

func (*SecretChange_Modified) SetFieldMask

func (m *SecretChange_Modified) SetFieldMask(fv *Secret_FieldMask)

func (*SecretChange_Modified) SetName

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

func (*SecretChange_Modified) SetPreviousViewIndex

func (m *SecretChange_Modified) SetPreviousViewIndex(fv int32)

func (*SecretChange_Modified) SetSecret

func (m *SecretChange_Modified) SetSecret(fv *Secret)

func (*SecretChange_Modified) SetViewIndex

func (m *SecretChange_Modified) SetViewIndex(fv int32)

func (*SecretChange_Modified) String

func (m *SecretChange_Modified) String() string

func (*SecretChange_Modified) Unmarshal

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

func (*SecretChange_Modified) UnmarshalJSON

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

type SecretChange_Modified_

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

type SecretChange_Removed

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

func (*SecretChange_Removed) Descriptor

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

Deprecated, Use SecretChange_Removed.ProtoReflect.Descriptor instead.

func (*SecretChange_Removed) GetName

func (m *SecretChange_Removed) GetName() *Name

func (*SecretChange_Removed) GetViewIndex

func (m *SecretChange_Removed) GetViewIndex() int32

func (*SecretChange_Removed) GotenMessage

func (*SecretChange_Removed) GotenMessage()

func (*SecretChange_Removed) GotenValidate

func (obj *SecretChange_Removed) GotenValidate() error

func (*SecretChange_Removed) Marshal

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

func (*SecretChange_Removed) MarshalJSON

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

func (*SecretChange_Removed) ProtoMessage

func (*SecretChange_Removed) ProtoMessage()

func (*SecretChange_Removed) ProtoReflect

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

func (*SecretChange_Removed) Reset

func (m *SecretChange_Removed) Reset()

func (*SecretChange_Removed) SetName

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

func (*SecretChange_Removed) SetViewIndex

func (m *SecretChange_Removed) SetViewIndex(fv int32)

func (*SecretChange_Removed) String

func (m *SecretChange_Removed) String() string

func (*SecretChange_Removed) Unmarshal

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

func (*SecretChange_Removed) UnmarshalJSON

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

type SecretChange_Removed_

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

type SecretFieldPathBuilder

type SecretFieldPathBuilder struct{}

func NewSecretFieldPathBuilder

func NewSecretFieldPathBuilder() SecretFieldPathBuilder

func (SecretFieldPathBuilder) Data

func (SecretFieldPathBuilder) Description added in v1.5.1

func (SecretFieldPathBuilder) DisplayName added in v1.5.1

func (SecretFieldPathBuilder) EncData

func (SecretFieldPathBuilder) Metadata

func (SecretFieldPathBuilder) Name

type SecretList

type SecretList []*Secret

func (SecretList) Append

func (SecretList) AppendList

func (SecretList) At

func (SecretList) Length

func (l SecretList) Length() int

func (SecretList) Set

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

func (SecretList) Slice

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

type SecretMap

type SecretMap map[Name]*Secret

func (SecretMap) Delete

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

func (SecretMap) ForEach

func (m SecretMap) ForEach(cb func(gotenresource.Name, gotenresource.Resource) bool)

func (SecretMap) Get

func (SecretMap) Length

func (m SecretMap) Length() int

func (SecretMap) Set

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

type SecretMapPathSelectorData

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

func (SecretMapPathSelectorData) FieldPath

func (SecretMapPathSelectorData) WithArrayOfValues

func (s SecretMapPathSelectorData) WithArrayOfValues(values []string) *Secret_FieldPathMapArrayOfValues

func (SecretMapPathSelectorData) WithValue

type SecretMapPathSelectorMetadataAnnotations

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

func (SecretMapPathSelectorMetadataAnnotations) FieldPath

func (SecretMapPathSelectorMetadataAnnotations) WithArrayOfValues

func (SecretMapPathSelectorMetadataAnnotations) WithValue

type SecretMapPathSelectorMetadataLabels

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

func (SecretMapPathSelectorMetadataLabels) FieldPath

func (SecretMapPathSelectorMetadataLabels) WithArrayOfValues

func (SecretMapPathSelectorMetadataLabels) WithValue

type SecretMapPathSelectorMetadataShards

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

func (SecretMapPathSelectorMetadataShards) FieldPath

func (SecretMapPathSelectorMetadataShards) WithArrayOfValues

func (SecretMapPathSelectorMetadataShards) WithValue

type SecretNameList

type SecretNameList []*Name

func (SecretNameList) Append

func (SecretNameList) AppendList

func (SecretNameList) At

func (SecretNameList) Length

func (l SecretNameList) Length() int

func (SecretNameList) Set

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

func (SecretNameList) Slice

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

type SecretParentNameList

type SecretParentNameList []*ParentName

func (SecretParentNameList) Append

func (SecretParentNameList) AppendList

func (SecretParentNameList) At

func (SecretParentNameList) Length

func (l SecretParentNameList) Length() int

func (SecretParentNameList) Set

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

func (SecretParentNameList) Slice

func (l SecretParentNameList) Slice(first, second int) gotenresource.ParentNameList

type SecretParentReferenceList

type SecretParentReferenceList []*ParentReference

func (SecretParentReferenceList) Append

func (SecretParentReferenceList) At

func (SecretParentReferenceList) Length

func (l SecretParentReferenceList) Length() int

func (SecretParentReferenceList) Set

func (SecretParentReferenceList) Slice

type SecretPathSelectorData

type SecretPathSelectorData struct{}

func (SecretPathSelectorData) FieldPath

func (SecretPathSelectorData) WithArrayOfValues

func (SecretPathSelectorData) WithKey

func (SecretPathSelectorData) WithValue

type SecretPathSelectorDescription added in v1.5.1

type SecretPathSelectorDescription struct{}

func (SecretPathSelectorDescription) FieldPath added in v1.5.1

func (SecretPathSelectorDescription) WithArrayOfValues added in v1.5.1

func (SecretPathSelectorDescription) WithValue added in v1.5.1

type SecretPathSelectorDisplayName added in v1.5.1

type SecretPathSelectorDisplayName struct{}

func (SecretPathSelectorDisplayName) FieldPath added in v1.5.1

func (SecretPathSelectorDisplayName) WithArrayOfValues added in v1.5.1

func (SecretPathSelectorDisplayName) WithValue added in v1.5.1

type SecretPathSelectorEncData

type SecretPathSelectorEncData struct{}

func (SecretPathSelectorEncData) FieldPath

func (SecretPathSelectorEncData) WithArrayOfValues

func (s SecretPathSelectorEncData) WithArrayOfValues(values [][]byte) *Secret_FieldTerminalPathArrayOfValues

func (SecretPathSelectorEncData) WithValue

type SecretPathSelectorMetadata

type SecretPathSelectorMetadata struct{}

func (SecretPathSelectorMetadata) Annotations

func (SecretPathSelectorMetadata) CreateTime

func (SecretPathSelectorMetadata) DeleteTime

func (SecretPathSelectorMetadata) FieldPath

func (SecretPathSelectorMetadata) Generation

func (SecretPathSelectorMetadata) Labels

func (SecretPathSelectorMetadata) Lifecycle

func (SecretPathSelectorMetadata) OwnerReferences

func (SecretPathSelectorMetadata) ResourceVersion

func (SecretPathSelectorMetadata) Services

func (SecretPathSelectorMetadata) Shards

func (SecretPathSelectorMetadata) Syncing

func (SecretPathSelectorMetadata) Tags

func (SecretPathSelectorMetadata) UpdateTime

func (SecretPathSelectorMetadata) Uuid

func (SecretPathSelectorMetadata) WithArrayOfValues

func (SecretPathSelectorMetadata) WithSubArrayItemValue

func (SecretPathSelectorMetadata) WithSubArrayOfValues

func (SecretPathSelectorMetadata) WithSubPath

func (SecretPathSelectorMetadata) WithSubValue

func (SecretPathSelectorMetadata) WithValue

type SecretPathSelectorMetadataAnnotations

type SecretPathSelectorMetadataAnnotations struct{}

func (SecretPathSelectorMetadataAnnotations) FieldPath

func (SecretPathSelectorMetadataAnnotations) WithArrayOfValues

func (SecretPathSelectorMetadataAnnotations) WithKey

func (SecretPathSelectorMetadataAnnotations) WithValue

type SecretPathSelectorMetadataCreateTime

type SecretPathSelectorMetadataCreateTime struct{}

func (SecretPathSelectorMetadataCreateTime) FieldPath

func (SecretPathSelectorMetadataCreateTime) WithArrayOfValues

func (SecretPathSelectorMetadataCreateTime) WithValue

type SecretPathSelectorMetadataDeleteTime

type SecretPathSelectorMetadataDeleteTime struct{}

func (SecretPathSelectorMetadataDeleteTime) FieldPath

func (SecretPathSelectorMetadataDeleteTime) WithArrayOfValues

func (SecretPathSelectorMetadataDeleteTime) WithValue

type SecretPathSelectorMetadataGeneration

type SecretPathSelectorMetadataGeneration struct{}

func (SecretPathSelectorMetadataGeneration) FieldPath

func (SecretPathSelectorMetadataGeneration) WithArrayOfValues

func (SecretPathSelectorMetadataGeneration) WithValue

type SecretPathSelectorMetadataLabels

type SecretPathSelectorMetadataLabels struct{}

func (SecretPathSelectorMetadataLabels) FieldPath

func (SecretPathSelectorMetadataLabels) WithArrayOfValues

func (SecretPathSelectorMetadataLabels) WithKey

func (SecretPathSelectorMetadataLabels) WithValue

type SecretPathSelectorMetadataLifecycle

type SecretPathSelectorMetadataLifecycle struct{}

func (SecretPathSelectorMetadataLifecycle) BlockDeletion

func (SecretPathSelectorMetadataLifecycle) FieldPath

func (SecretPathSelectorMetadataLifecycle) State

func (SecretPathSelectorMetadataLifecycle) WithArrayOfValues

func (SecretPathSelectorMetadataLifecycle) WithValue

type SecretPathSelectorMetadataLifecycleBlockDeletion

type SecretPathSelectorMetadataLifecycleBlockDeletion struct{}

func (SecretPathSelectorMetadataLifecycleBlockDeletion) FieldPath

func (SecretPathSelectorMetadataLifecycleBlockDeletion) WithArrayOfValues

func (SecretPathSelectorMetadataLifecycleBlockDeletion) WithValue

type SecretPathSelectorMetadataLifecycleState

type SecretPathSelectorMetadataLifecycleState struct{}

func (SecretPathSelectorMetadataLifecycleState) FieldPath

func (SecretPathSelectorMetadataLifecycleState) WithArrayOfValues

func (SecretPathSelectorMetadataLifecycleState) WithValue

type SecretPathSelectorMetadataOwnerReferences

type SecretPathSelectorMetadataOwnerReferences struct{}

func (SecretPathSelectorMetadataOwnerReferences) Controller

func (SecretPathSelectorMetadataOwnerReferences) FieldPath

func (SecretPathSelectorMetadataOwnerReferences) Kind

func (SecretPathSelectorMetadataOwnerReferences) Name

func (SecretPathSelectorMetadataOwnerReferences) Region

func (SecretPathSelectorMetadataOwnerReferences) RequiresOwnerReference

func (SecretPathSelectorMetadataOwnerReferences) Version

func (SecretPathSelectorMetadataOwnerReferences) WithArrayOfValues

func (SecretPathSelectorMetadataOwnerReferences) WithItemValue

func (SecretPathSelectorMetadataOwnerReferences) WithValue

type SecretPathSelectorMetadataOwnerReferencesController

type SecretPathSelectorMetadataOwnerReferencesController struct{}

func (SecretPathSelectorMetadataOwnerReferencesController) FieldPath

func (SecretPathSelectorMetadataOwnerReferencesController) WithArrayOfValues

func (SecretPathSelectorMetadataOwnerReferencesController) WithValue

type SecretPathSelectorMetadataOwnerReferencesKind

type SecretPathSelectorMetadataOwnerReferencesKind struct{}

func (SecretPathSelectorMetadataOwnerReferencesKind) FieldPath

func (SecretPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues

func (SecretPathSelectorMetadataOwnerReferencesKind) WithValue

type SecretPathSelectorMetadataOwnerReferencesName

type SecretPathSelectorMetadataOwnerReferencesName struct{}

func (SecretPathSelectorMetadataOwnerReferencesName) FieldPath

func (SecretPathSelectorMetadataOwnerReferencesName) WithArrayOfValues

func (SecretPathSelectorMetadataOwnerReferencesName) WithValue

type SecretPathSelectorMetadataOwnerReferencesRegion

type SecretPathSelectorMetadataOwnerReferencesRegion struct{}

func (SecretPathSelectorMetadataOwnerReferencesRegion) FieldPath

func (SecretPathSelectorMetadataOwnerReferencesRegion) WithArrayOfValues

func (SecretPathSelectorMetadataOwnerReferencesRegion) WithValue

type SecretPathSelectorMetadataOwnerReferencesRequiresOwnerReference

type SecretPathSelectorMetadataOwnerReferencesRequiresOwnerReference struct{}

func (SecretPathSelectorMetadataOwnerReferencesRequiresOwnerReference) FieldPath

func (SecretPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithArrayOfValues

func (SecretPathSelectorMetadataOwnerReferencesRequiresOwnerReference) WithValue

type SecretPathSelectorMetadataOwnerReferencesVersion

type SecretPathSelectorMetadataOwnerReferencesVersion struct{}

func (SecretPathSelectorMetadataOwnerReferencesVersion) FieldPath

func (SecretPathSelectorMetadataOwnerReferencesVersion) WithArrayOfValues

func (SecretPathSelectorMetadataOwnerReferencesVersion) WithValue

type SecretPathSelectorMetadataResourceVersion

type SecretPathSelectorMetadataResourceVersion struct{}

func (SecretPathSelectorMetadataResourceVersion) FieldPath

func (SecretPathSelectorMetadataResourceVersion) WithArrayOfValues

func (SecretPathSelectorMetadataResourceVersion) WithValue

type SecretPathSelectorMetadataServices

type SecretPathSelectorMetadataServices struct{}

func (SecretPathSelectorMetadataServices) AllowedServices

func (SecretPathSelectorMetadataServices) FieldPath

func (SecretPathSelectorMetadataServices) OwningService

func (SecretPathSelectorMetadataServices) WithArrayOfValues

func (SecretPathSelectorMetadataServices) WithValue

type SecretPathSelectorMetadataServicesAllowedServices

type SecretPathSelectorMetadataServicesAllowedServices struct{}

func (SecretPathSelectorMetadataServicesAllowedServices) FieldPath

func (SecretPathSelectorMetadataServicesAllowedServices) WithArrayOfValues

func (SecretPathSelectorMetadataServicesAllowedServices) WithItemValue

func (SecretPathSelectorMetadataServicesAllowedServices) WithValue

type SecretPathSelectorMetadataServicesOwningService

type SecretPathSelectorMetadataServicesOwningService struct{}

func (SecretPathSelectorMetadataServicesOwningService) FieldPath

func (SecretPathSelectorMetadataServicesOwningService) WithArrayOfValues

func (SecretPathSelectorMetadataServicesOwningService) WithValue

type SecretPathSelectorMetadataShards

type SecretPathSelectorMetadataShards struct{}

func (SecretPathSelectorMetadataShards) FieldPath

func (SecretPathSelectorMetadataShards) WithArrayOfValues

func (SecretPathSelectorMetadataShards) WithKey

func (SecretPathSelectorMetadataShards) WithValue

type SecretPathSelectorMetadataSyncing

type SecretPathSelectorMetadataSyncing struct{}

func (SecretPathSelectorMetadataSyncing) FieldPath

func (SecretPathSelectorMetadataSyncing) OwningRegion

func (SecretPathSelectorMetadataSyncing) Regions

func (SecretPathSelectorMetadataSyncing) WithArrayOfValues

func (SecretPathSelectorMetadataSyncing) WithValue

type SecretPathSelectorMetadataSyncingOwningRegion

type SecretPathSelectorMetadataSyncingOwningRegion struct{}

func (SecretPathSelectorMetadataSyncingOwningRegion) FieldPath

func (SecretPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues

func (SecretPathSelectorMetadataSyncingOwningRegion) WithValue

type SecretPathSelectorMetadataSyncingRegions

type SecretPathSelectorMetadataSyncingRegions struct{}

func (SecretPathSelectorMetadataSyncingRegions) FieldPath

func (SecretPathSelectorMetadataSyncingRegions) WithArrayOfValues

func (SecretPathSelectorMetadataSyncingRegions) WithItemValue

func (SecretPathSelectorMetadataSyncingRegions) WithValue

type SecretPathSelectorMetadataTags

type SecretPathSelectorMetadataTags struct{}

func (SecretPathSelectorMetadataTags) FieldPath

func (SecretPathSelectorMetadataTags) WithArrayOfValues

func (SecretPathSelectorMetadataTags) WithItemValue

func (SecretPathSelectorMetadataTags) WithValue

type SecretPathSelectorMetadataUpdateTime

type SecretPathSelectorMetadataUpdateTime struct{}

func (SecretPathSelectorMetadataUpdateTime) FieldPath

func (SecretPathSelectorMetadataUpdateTime) WithArrayOfValues

func (SecretPathSelectorMetadataUpdateTime) WithValue

type SecretPathSelectorMetadataUuid

type SecretPathSelectorMetadataUuid struct{}

func (SecretPathSelectorMetadataUuid) FieldPath

func (SecretPathSelectorMetadataUuid) WithArrayOfValues

func (SecretPathSelectorMetadataUuid) WithValue

type SecretPathSelectorName

type SecretPathSelectorName struct{}

func (SecretPathSelectorName) FieldPath

func (SecretPathSelectorName) WithArrayOfValues

func (s SecretPathSelectorName) WithArrayOfValues(values []*Name) *Secret_FieldTerminalPathArrayOfValues

func (SecretPathSelectorName) WithValue

type SecretReferenceList

type SecretReferenceList []*Reference

func (SecretReferenceList) Append

func (SecretReferenceList) AppendList

func (SecretReferenceList) At

func (SecretReferenceList) Length

func (l SecretReferenceList) Length() int

func (SecretReferenceList) Set

func (SecretReferenceList) Slice

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

type Secret_FieldMask

type Secret_FieldMask struct {
	Paths []Secret_FieldPath
}

func FullSecret_FieldMask

func FullSecret_FieldMask() *Secret_FieldMask

func ResourceViewFieldMask

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

func (*Secret_FieldMask) AppendPath

func (fieldMask *Secret_FieldMask) AppendPath(path Secret_FieldPath)

func (*Secret_FieldMask) AppendRawPath

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

func (*Secret_FieldMask) DecodeFirestore

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

func (*Secret_FieldMask) EncodeFirestore

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

firestore encoding/decoding integration

func (*Secret_FieldMask) FilterInputFields

func (fieldMask *Secret_FieldMask) FilterInputFields() *Secret_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*Secret_FieldMask) FromProtoFieldMask

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

func (*Secret_FieldMask) GetPaths

func (fieldMask *Secret_FieldMask) GetPaths() []Secret_FieldPath

func (*Secret_FieldMask) GetRawPaths

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

func (*Secret_FieldMask) IsFull

func (fieldMask *Secret_FieldMask) IsFull() bool

func (Secret_FieldMask) Marshal

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

implement methods required by customType

func (Secret_FieldMask) MarshalJSON

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

func (*Secret_FieldMask) PathsCount

func (fieldMask *Secret_FieldMask) PathsCount() int

func (*Secret_FieldMask) Project

func (fieldMask *Secret_FieldMask) Project(source *Secret) *Secret

func (*Secret_FieldMask) ProjectRaw

func (*Secret_FieldMask) ProtoMessage

func (fieldMask *Secret_FieldMask) ProtoMessage()

func (*Secret_FieldMask) ProtoReflect

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

func (*Secret_FieldMask) Reset

func (fieldMask *Secret_FieldMask) Reset()

func (*Secret_FieldMask) Set

func (fieldMask *Secret_FieldMask) Set(target, source *Secret)

func (*Secret_FieldMask) SetFromCliFlag

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

func (*Secret_FieldMask) SetRaw

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

func (*Secret_FieldMask) Size

func (fieldMask *Secret_FieldMask) Size() int

func (*Secret_FieldMask) String

func (fieldMask *Secret_FieldMask) String() string

func (*Secret_FieldMask) Subtract

func (fieldMask *Secret_FieldMask) Subtract(other *Secret_FieldMask) *Secret_FieldMask

func (*Secret_FieldMask) SubtractRaw

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

func (*Secret_FieldMask) ToProtoFieldMask

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

ToFieldMask is used for proto conversions

func (*Secret_FieldMask) Unmarshal

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

func (*Secret_FieldMask) UnmarshalJSON

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

type Secret_FieldPath

type Secret_FieldPath interface {
	gotenobject.FieldPath
	Selector() Secret_FieldPathSelector
	Get(source *Secret) []interface{}
	GetSingle(source *Secret) (interface{}, bool)
	ClearValue(item *Secret)

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

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

func BuildSecret_FieldPath

func BuildSecret_FieldPath(fp gotenobject.RawFieldPath) (Secret_FieldPath, error)

func MustParseSecret_FieldPath

func MustParseSecret_FieldPath(rawField string) Secret_FieldPath

func ParseSecret_FieldPath

func ParseSecret_FieldPath(rawField string) (Secret_FieldPath, error)

type Secret_FieldPathArrayItemValue

type Secret_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	Secret_FieldPath
	ContainsValue(*Secret) bool
}

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

func MustParseSecret_FieldPathArrayItemValue

func MustParseSecret_FieldPathArrayItemValue(pathStr, valueStr string) Secret_FieldPathArrayItemValue

func ParseSecret_FieldPathArrayItemValue

func ParseSecret_FieldPathArrayItemValue(pathStr, valueStr string) (Secret_FieldPathArrayItemValue, error)

ParseSecret_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type Secret_FieldPathArrayOfValues

type Secret_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	Secret_FieldPath
}

Secret_FieldPathArrayOfValues allows storing slice of values for Secret fields according to their type

func MustParseSecret_FieldPathArrayOfValues

func MustParseSecret_FieldPathArrayOfValues(pathStr, valuesStr string) Secret_FieldPathArrayOfValues

func ParseSecret_FieldPathArrayOfValues

func ParseSecret_FieldPathArrayOfValues(pathStr, valuesStr string) (Secret_FieldPathArrayOfValues, error)

type Secret_FieldPathMap

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

FieldPath for map type with additional Key information

func (*Secret_FieldPathMap) ClearValue

func (fpm *Secret_FieldPathMap) ClearValue(item *Secret)

func (*Secret_FieldPathMap) ClearValueRaw

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

func (*Secret_FieldPathMap) Get

func (fpm *Secret_FieldPathMap) Get(source *Secret) (values []interface{})

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

func (*Secret_FieldPathMap) GetDefault

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

GetDefault returns a default value of the field type

func (*Secret_FieldPathMap) GetRaw

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

func (*Secret_FieldPathMap) GetSingle

func (fpm *Secret_FieldPathMap) GetSingle(source *Secret) (interface{}, bool)

GetSingle returns value by selected field map key from source Secret

func (*Secret_FieldPathMap) GetSingleRaw

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

func (*Secret_FieldPathMap) IsLeaf

func (fpm *Secret_FieldPathMap) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Secret_FieldPathMap) JSONString

func (fpm *Secret_FieldPathMap) JSONString() string

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

func (*Secret_FieldPathMap) Key

func (fpm *Secret_FieldPathMap) Key() string

func (*Secret_FieldPathMap) Selector

func (*Secret_FieldPathMap) SplitIntoTerminalIPaths

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

func (*Secret_FieldPathMap) String

func (fpm *Secret_FieldPathMap) String() string

String returns path representation in proto convention

func (*Secret_FieldPathMap) WithIArrayItemValue

func (fpm *Secret_FieldPathMap) WithIArrayItemValue(value interface{}) Secret_FieldPathArrayItemValue

func (*Secret_FieldPathMap) WithIArrayOfValues

func (fpm *Secret_FieldPathMap) WithIArrayOfValues(values interface{}) Secret_FieldPathArrayOfValues

func (*Secret_FieldPathMap) WithIValue

func (fpm *Secret_FieldPathMap) WithIValue(value interface{}) Secret_FieldPathValue

func (*Secret_FieldPathMap) WithRawIArrayItemValue

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

func (*Secret_FieldPathMap) WithRawIArrayOfValues

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

func (*Secret_FieldPathMap) WithRawIValue

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

type Secret_FieldPathMapArrayOfValues

type Secret_FieldPathMapArrayOfValues struct {
	Secret_FieldPathMap
	// contains filtered or unexported fields
}

func (*Secret_FieldPathMapArrayOfValues) AsDataArrayOfElementValues

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

func (*Secret_FieldPathMapArrayOfValues) GetRawValues

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

type Secret_FieldPathMapValue

type Secret_FieldPathMapValue struct {
	Secret_FieldPathMap
	// contains filtered or unexported fields
}

func (*Secret_FieldPathMapValue) AsDataElementValue

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

func (*Secret_FieldPathMapValue) CompareWith

func (fpmv *Secret_FieldPathMapValue) CompareWith(source *Secret) (int, bool)

CompareWith compares value in the 'Secret_FieldPathMapValue' with the value under path in 'Secret'.

func (*Secret_FieldPathMapValue) CompareWithRaw

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

func (*Secret_FieldPathMapValue) GetRawValue

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

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

func (*Secret_FieldPathMapValue) SetTo

func (fpmv *Secret_FieldPathMapValue) SetTo(target **Secret)

SetTo stores value for selected field in Secret

func (*Secret_FieldPathMapValue) SetToRaw

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

type Secret_FieldPathSelector

type Secret_FieldPathSelector int32
const (
	Secret_FieldPathSelectorName        Secret_FieldPathSelector = 0
	Secret_FieldPathSelectorMetadata    Secret_FieldPathSelector = 1
	Secret_FieldPathSelectorDisplayName Secret_FieldPathSelector = 2
	Secret_FieldPathSelectorDescription Secret_FieldPathSelector = 3
	Secret_FieldPathSelectorEncData     Secret_FieldPathSelector = 4
	Secret_FieldPathSelectorData        Secret_FieldPathSelector = 5
)

func (Secret_FieldPathSelector) String

func (s Secret_FieldPathSelector) String() string

type Secret_FieldPathValue

type Secret_FieldPathValue interface {
	Secret_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **Secret)
	CompareWith(*Secret) (cmp int, comparable bool)
}

Secret_FieldPathValue allows storing values for Secret fields according to their type

func MustParseSecret_FieldPathValue

func MustParseSecret_FieldPathValue(pathStr, valueStr string) Secret_FieldPathValue

func ParseSecret_FieldPathValue

func ParseSecret_FieldPathValue(pathStr, valueStr string) (Secret_FieldPathValue, error)

type Secret_FieldSubPath

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

func (*Secret_FieldSubPath) AsMetadataSubPath

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

func (*Secret_FieldSubPath) ClearValue

func (fps *Secret_FieldSubPath) ClearValue(item *Secret)

func (*Secret_FieldSubPath) ClearValueRaw

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

func (*Secret_FieldSubPath) Get

func (fps *Secret_FieldSubPath) Get(source *Secret) (values []interface{})

Get returns all values pointed by selected field from source Secret

func (*Secret_FieldSubPath) GetDefault

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

GetDefault returns a default value of the field type

func (*Secret_FieldSubPath) GetRaw

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

func (*Secret_FieldSubPath) GetSingle

func (fps *Secret_FieldSubPath) GetSingle(source *Secret) (interface{}, bool)

GetSingle returns value of selected field from source Secret

func (*Secret_FieldSubPath) GetSingleRaw

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

func (*Secret_FieldSubPath) IsLeaf

func (fps *Secret_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Secret_FieldSubPath) JSONString

func (fps *Secret_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*Secret_FieldSubPath) Selector

func (*Secret_FieldSubPath) SplitIntoTerminalIPaths

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

func (*Secret_FieldSubPath) String

func (fps *Secret_FieldSubPath) String() string

String returns path representation in proto convention

func (*Secret_FieldSubPath) WithIArrayItemValue

func (fps *Secret_FieldSubPath) WithIArrayItemValue(value interface{}) Secret_FieldPathArrayItemValue

func (*Secret_FieldSubPath) WithIArrayOfValues

func (fps *Secret_FieldSubPath) WithIArrayOfValues(values interface{}) Secret_FieldPathArrayOfValues

func (*Secret_FieldSubPath) WithIValue

func (fps *Secret_FieldSubPath) WithIValue(value interface{}) Secret_FieldPathValue

func (*Secret_FieldSubPath) WithRawIArrayItemValue

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

func (*Secret_FieldSubPath) WithRawIArrayOfValues

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

func (*Secret_FieldSubPath) WithRawIValue

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

type Secret_FieldSubPathArrayItemValue

type Secret_FieldSubPathArrayItemValue struct {
	Secret_FieldPath
	// contains filtered or unexported fields
}

func (*Secret_FieldSubPathArrayItemValue) AsMetadataPathItemValue

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

func (*Secret_FieldSubPathArrayItemValue) ContainsValue

func (fpaivs *Secret_FieldSubPathArrayItemValue) ContainsValue(source *Secret) bool

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

func (*Secret_FieldSubPathArrayItemValue) GetRawItemValue

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

GetRawValue returns stored array item value

type Secret_FieldSubPathArrayOfValues

type Secret_FieldSubPathArrayOfValues struct {
	Secret_FieldPath
	// contains filtered or unexported fields
}

func (*Secret_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues

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

func (*Secret_FieldSubPathArrayOfValues) GetRawValues

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

type Secret_FieldSubPathValue

type Secret_FieldSubPathValue struct {
	Secret_FieldPath
	// contains filtered or unexported fields
}

func (*Secret_FieldSubPathValue) AsMetadataPathValue

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

func (*Secret_FieldSubPathValue) CompareWith

func (fpvs *Secret_FieldSubPathValue) CompareWith(source *Secret) (int, bool)

func (*Secret_FieldSubPathValue) CompareWithRaw

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

func (*Secret_FieldSubPathValue) GetRawValue

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

func (*Secret_FieldSubPathValue) SetTo

func (fpvs *Secret_FieldSubPathValue) SetTo(target **Secret)

func (*Secret_FieldSubPathValue) SetToRaw

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

type Secret_FieldTerminalPath

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

func (*Secret_FieldTerminalPath) ClearValue

func (fp *Secret_FieldTerminalPath) ClearValue(item *Secret)

func (*Secret_FieldTerminalPath) ClearValueRaw

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

func (*Secret_FieldTerminalPath) Get

func (fp *Secret_FieldTerminalPath) Get(source *Secret) (values []interface{})

Get returns all values pointed by specific field from source Secret

func (*Secret_FieldTerminalPath) GetDefault

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

GetDefault returns a default value of the field type

func (*Secret_FieldTerminalPath) GetRaw

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

func (*Secret_FieldTerminalPath) GetSingle

func (fp *Secret_FieldTerminalPath) GetSingle(source *Secret) (interface{}, bool)

GetSingle returns value pointed by specific field of from source Secret

func (*Secret_FieldTerminalPath) GetSingleRaw

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

func (*Secret_FieldTerminalPath) IsLeaf

func (fp *Secret_FieldTerminalPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*Secret_FieldTerminalPath) JSONString

func (fp *Secret_FieldTerminalPath) JSONString() string

JSONString returns path representation is JSON convention

func (*Secret_FieldTerminalPath) Selector

func (*Secret_FieldTerminalPath) SplitIntoTerminalIPaths

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

func (*Secret_FieldTerminalPath) String

func (fp *Secret_FieldTerminalPath) String() string

String returns path representation in proto convention

func (*Secret_FieldTerminalPath) WithIArrayItemValue

func (fp *Secret_FieldTerminalPath) WithIArrayItemValue(value interface{}) Secret_FieldPathArrayItemValue

func (*Secret_FieldTerminalPath) WithIArrayOfValues

func (fp *Secret_FieldTerminalPath) WithIArrayOfValues(values interface{}) Secret_FieldPathArrayOfValues

func (*Secret_FieldTerminalPath) WithIValue

func (fp *Secret_FieldTerminalPath) WithIValue(value interface{}) Secret_FieldPathValue

func (*Secret_FieldTerminalPath) WithRawIArrayItemValue

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

func (*Secret_FieldTerminalPath) WithRawIArrayOfValues

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

func (*Secret_FieldTerminalPath) WithRawIValue

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

type Secret_FieldTerminalPathArrayItemValue

type Secret_FieldTerminalPathArrayItemValue struct {
	Secret_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Secret_FieldTerminalPathArrayItemValue) ContainsValue

func (fpaiv *Secret_FieldTerminalPathArrayItemValue) ContainsValue(source *Secret) bool

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

func (*Secret_FieldTerminalPathArrayItemValue) GetRawItemValue

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

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

func (*Secret_FieldTerminalPathArrayItemValue) GetSingle

func (fpaiv *Secret_FieldTerminalPathArrayItemValue) GetSingle(source *Secret) (interface{}, bool)

func (*Secret_FieldTerminalPathArrayItemValue) GetSingleRaw

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

type Secret_FieldTerminalPathArrayOfValues

type Secret_FieldTerminalPathArrayOfValues struct {
	Secret_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Secret_FieldTerminalPathArrayOfValues) AsDataArrayOfValues

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

func (*Secret_FieldTerminalPathArrayOfValues) AsDescriptionArrayOfValues added in v1.5.1

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

func (*Secret_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues added in v1.5.1

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

func (*Secret_FieldTerminalPathArrayOfValues) AsEncDataArrayOfValues

func (fpaov *Secret_FieldTerminalPathArrayOfValues) AsEncDataArrayOfValues() ([][]byte, bool)

func (*Secret_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues

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

func (*Secret_FieldTerminalPathArrayOfValues) AsNameArrayOfValues

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

func (*Secret_FieldTerminalPathArrayOfValues) GetRawValues

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

type Secret_FieldTerminalPathValue

type Secret_FieldTerminalPathValue struct {
	Secret_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*Secret_FieldTerminalPathValue) AsDataValue

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

func (*Secret_FieldTerminalPathValue) AsDescriptionValue added in v1.5.1

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

func (*Secret_FieldTerminalPathValue) AsDisplayNameValue added in v1.5.1

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

func (*Secret_FieldTerminalPathValue) AsEncDataValue

func (fpv *Secret_FieldTerminalPathValue) AsEncDataValue() ([]byte, bool)

func (*Secret_FieldTerminalPathValue) AsMetadataValue

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

func (*Secret_FieldTerminalPathValue) AsNameValue

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

func (*Secret_FieldTerminalPathValue) CompareWith

func (fpv *Secret_FieldTerminalPathValue) CompareWith(source *Secret) (int, bool)

CompareWith compares value in the 'Secret_FieldTerminalPathValue' with the value under path in 'Secret'.

func (*Secret_FieldTerminalPathValue) CompareWithRaw

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

func (*Secret_FieldTerminalPathValue) GetRawValue

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

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

func (*Secret_FieldTerminalPathValue) SetTo

func (fpv *Secret_FieldTerminalPathValue) SetTo(target **Secret)

SetTo stores value for selected field for object Secret

func (*Secret_FieldTerminalPathValue) SetToRaw

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

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