attestation_domain

package
v0.6.9 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: Apache-2.0 Imports: 51 Imported by: 29

Documentation ¶

Index ¶

Constants ¶

View Source
const (
	NamePattern_Project = "projects/{project}/attestationDomains/{attestation_domain}"
)

Variables ¶

This section is empty.

Functions ¶

Types ¶

type AttestationDomain ¶

type AttestationDomain struct {

	// Meta
	Metadata *ntt_meta.Meta `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty" firestore:"metadata"`
	// Name of AttestationDomain
	Name *Name `protobuf:"bytes,2,opt,customtype=Name,name=name,proto3" json:"name,omitempty" firestore:"name"`
	// Display name
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty" firestore:"displayName"`
	// If false (default), attestation verifier SHALL check CA certificate chain
	// up to the TPM chip manufacturers CA (defined in manufacturer_ca_issuers).
	// This step is necessary to prove that the attestation request comes from a
	// genuine TPM device, and not a TPM emulator.
	//
	// If true, attestation verifier SHALL skip EKcert verification -
	// !!INSECURE!! Without this check, any keys may come from a simulated TPM
	// on the device. An attacker may therefore forge any key they want.
	// Therefore, this option should only be changed for development purposes.
	InsecureSkipManufacturerEkcertVerification bool `` /* 249-byte string literal not displayed */
	// Attestees wanting to attest under this attestation domain SHALL fulfill
	// requirements of at least one of attestation policies defined in this list.
	// Policies are checked in the order they appear on this list.
	Policies []*AttestationDomain_Policy `protobuf:"bytes,5,rep,name=policies,proto3" json:"policies,omitempty" firestore:"policies"`
	// Attestation policy may require atestees pubkey to be present on
	// enrollment_list.
	EnrollmentList []*AttestationDomain_EnrolledKey `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

AttestationDomain represents attestation parameters for a heterogenous fleet of devices.

func (*AttestationDomain) Clone ¶

func (*AttestationDomain) CloneRaw ¶

func (*AttestationDomain) Descriptor ¶

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

Deprecated, Use AttestationDomain.ProtoReflect.Descriptor instead.

func (*AttestationDomain) GetDisplayName ¶

func (m *AttestationDomain) GetDisplayName() string

func (*AttestationDomain) GetEnrollmentList ¶

func (m *AttestationDomain) GetEnrollmentList() []*AttestationDomain_EnrolledKey

func (*AttestationDomain) GetInsecureSkipManufacturerEkcertVerification ¶

func (m *AttestationDomain) GetInsecureSkipManufacturerEkcertVerification() bool

func (*AttestationDomain) GetMetadata ¶

func (m *AttestationDomain) GetMetadata() *ntt_meta.Meta

func (*AttestationDomain) GetName ¶

func (m *AttestationDomain) GetName() *Name

func (*AttestationDomain) GetPolicies ¶

func (m *AttestationDomain) GetPolicies() []*AttestationDomain_Policy

func (*AttestationDomain) GetRawName ¶

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

func (*AttestationDomain) GetResourceDescriptor ¶

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

func (*AttestationDomain) GotenMessage ¶

func (*AttestationDomain) GotenMessage()

func (*AttestationDomain) GotenObjectExt ¶

func (o *AttestationDomain) GotenObjectExt()

func (*AttestationDomain) GotenValidate ¶

func (obj *AttestationDomain) GotenValidate() error

func (*AttestationDomain) MakeDiffFieldMask ¶

func (o *AttestationDomain) MakeDiffFieldMask(other *AttestationDomain) *AttestationDomain_FieldMask

func (*AttestationDomain) MakeFullFieldMask ¶

func (o *AttestationDomain) MakeFullFieldMask() *AttestationDomain_FieldMask

func (*AttestationDomain) MakeRawDiffFieldMask ¶

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

func (*AttestationDomain) MakeRawFullFieldMask ¶

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

func (*AttestationDomain) Marshal ¶

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

func (*AttestationDomain) MarshalJSON ¶

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

func (*AttestationDomain) MaybePopulateDefaults ¶

func (r *AttestationDomain) MaybePopulateDefaults() error

func (*AttestationDomain) Merge ¶

func (o *AttestationDomain) Merge(source *AttestationDomain)

func (*AttestationDomain) MergeRaw ¶

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

func (*AttestationDomain) ProtoMessage ¶

func (*AttestationDomain) ProtoMessage()

func (*AttestationDomain) ProtoReflect ¶

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

func (*AttestationDomain) Reset ¶

func (m *AttestationDomain) Reset()

func (*AttestationDomain) SetDisplayName ¶

func (m *AttestationDomain) SetDisplayName(fv string)

func (*AttestationDomain) SetEnrollmentList ¶

func (m *AttestationDomain) SetEnrollmentList(fv []*AttestationDomain_EnrolledKey)

func (*AttestationDomain) SetInsecureSkipManufacturerEkcertVerification ¶

func (m *AttestationDomain) SetInsecureSkipManufacturerEkcertVerification(fv bool)

func (*AttestationDomain) SetMetadata ¶

func (m *AttestationDomain) SetMetadata(fv *ntt_meta.Meta)

func (*AttestationDomain) SetName ¶

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

func (*AttestationDomain) SetPolicies ¶

func (m *AttestationDomain) SetPolicies(fv []*AttestationDomain_Policy)

func (*AttestationDomain) String ¶

func (m *AttestationDomain) String() string

func (*AttestationDomain) Unmarshal ¶

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

func (*AttestationDomain) UnmarshalJSON ¶

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

type AttestationDomainAccess ¶

type AttestationDomainAccess interface {
	GetAttestationDomain(context.Context, *GetQuery) (*AttestationDomain, error)
	BatchGetAttestationDomains(context.Context, []*Reference, ...gotenresource.BatchGetOption) error
	QueryAttestationDomains(context.Context, *ListQuery) (*QueryResultSnapshot, error)
	WatchAttestationDomain(context.Context, *GetQuery, func(*AttestationDomainChange) error) error
	WatchAttestationDomains(context.Context, *WatchQuery, func(*QueryResultChange) error) error
	SaveAttestationDomain(context.Context, *AttestationDomain, ...gotenresource.SaveOption) error
	DeleteAttestationDomain(context.Context, *Reference, ...gotenresource.DeleteOption) error
}

type AttestationDomainChange ¶

type AttestationDomainChange struct {

	// AttestationDomain change
	//
	// Types that are valid to be assigned to ChangeType:
	//	*AttestationDomainChange_Added_
	//	*AttestationDomainChange_Modified_
	//	*AttestationDomainChange_Current_
	//	*AttestationDomainChange_Removed_
	ChangeType isAttestationDomainChange_ChangeType `protobuf_oneof:"change_type"`
	// contains filtered or unexported fields
}

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

func (*AttestationDomainChange) Descriptor ¶

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

Deprecated, Use AttestationDomainChange.ProtoReflect.Descriptor instead.

func (*AttestationDomainChange) GetAdded ¶

func (*AttestationDomainChange) GetAttestationDomain ¶

func (c *AttestationDomainChange) GetAttestationDomain() *AttestationDomain

func (*AttestationDomainChange) GetAttestationDomainName ¶

func (c *AttestationDomainChange) GetAttestationDomainName() *Name

func (*AttestationDomainChange) GetChangeType ¶

func (m *AttestationDomainChange) GetChangeType() isAttestationDomainChange_ChangeType

func (*AttestationDomainChange) GetCurrent ¶

func (*AttestationDomainChange) GetCurrentViewIndex ¶

func (c *AttestationDomainChange) GetCurrentViewIndex() int32

func (*AttestationDomainChange) GetModified ¶

func (*AttestationDomainChange) GetPreviousViewIndex ¶

func (c *AttestationDomainChange) GetPreviousViewIndex() int32

func (*AttestationDomainChange) GetRawName ¶

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

func (*AttestationDomainChange) GetRawResource ¶ added in v0.5.1

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

func (*AttestationDomainChange) GetRemoved ¶

func (*AttestationDomainChange) GotenMessage ¶

func (*AttestationDomainChange) GotenMessage()

func (*AttestationDomainChange) GotenValidate ¶

func (obj *AttestationDomainChange) GotenValidate() error

func (*AttestationDomainChange) IsAdd ¶

func (c *AttestationDomainChange) IsAdd() bool

func (*AttestationDomainChange) IsCurrent ¶

func (c *AttestationDomainChange) IsCurrent() bool

func (*AttestationDomainChange) IsDelete ¶

func (c *AttestationDomainChange) IsDelete() bool

func (*AttestationDomainChange) IsModify ¶

func (c *AttestationDomainChange) IsModify() bool

func (*AttestationDomainChange) Marshal ¶

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

func (*AttestationDomainChange) MarshalJSON ¶

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

func (*AttestationDomainChange) ProtoMessage ¶

func (*AttestationDomainChange) ProtoMessage()

func (*AttestationDomainChange) ProtoReflect ¶

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

func (*AttestationDomainChange) Reset ¶

func (m *AttestationDomainChange) Reset()

func (*AttestationDomainChange) SetAdded ¶

func (*AttestationDomainChange) SetAddedRaw ¶

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

func (*AttestationDomainChange) SetChangeType ¶

func (m *AttestationDomainChange) SetChangeType(ofv isAttestationDomainChange_ChangeType)

func (*AttestationDomainChange) SetCurrent ¶

func (*AttestationDomainChange) SetCurrentRaw ¶

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

func (*AttestationDomainChange) SetDeletedRaw ¶

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

func (*AttestationDomainChange) SetModified ¶

func (*AttestationDomainChange) SetModifiedRaw ¶

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

func (*AttestationDomainChange) SetRemoved ¶

func (*AttestationDomainChange) String ¶

func (m *AttestationDomainChange) String() string

func (*AttestationDomainChange) Unmarshal ¶

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

func (*AttestationDomainChange) UnmarshalJSON ¶

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

type AttestationDomainChangeList ¶

type AttestationDomainChangeList []*AttestationDomainChange

func (AttestationDomainChangeList) Append ¶

func (AttestationDomainChangeList) AppendList ¶

func (AttestationDomainChangeList) At ¶

func (AttestationDomainChangeList) Length ¶

func (l AttestationDomainChangeList) Length() int

func (AttestationDomainChangeList) Set ¶

func (AttestationDomainChangeList) Slice ¶

type AttestationDomainChangeMap ¶

type AttestationDomainChangeMap map[Name]*AttestationDomainChange

func (AttestationDomainChangeMap) Delete ¶

func (AttestationDomainChangeMap) ForEach ¶

func (AttestationDomainChangeMap) Get ¶

func (AttestationDomainChangeMap) Length ¶

func (m AttestationDomainChangeMap) Length() int

func (AttestationDomainChangeMap) Set ¶

type AttestationDomainChange_Added ¶

type AttestationDomainChange_Added struct {
	AttestationDomain *AttestationDomain `` /* 142-byte string literal not displayed */
	// Integer describing index of added AttestationDomain 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
}

AttestationDomain has been added to query view

func (*AttestationDomainChange_Added) Descriptor ¶

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

Deprecated, Use AttestationDomainChange_Added.ProtoReflect.Descriptor instead.

func (*AttestationDomainChange_Added) GetAttestationDomain ¶

func (m *AttestationDomainChange_Added) GetAttestationDomain() *AttestationDomain

func (*AttestationDomainChange_Added) GetViewIndex ¶

func (m *AttestationDomainChange_Added) GetViewIndex() int32

func (*AttestationDomainChange_Added) GotenMessage ¶

func (*AttestationDomainChange_Added) GotenMessage()

func (*AttestationDomainChange_Added) GotenValidate ¶

func (obj *AttestationDomainChange_Added) GotenValidate() error

func (*AttestationDomainChange_Added) Marshal ¶

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

func (*AttestationDomainChange_Added) MarshalJSON ¶

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

func (*AttestationDomainChange_Added) ProtoMessage ¶

func (*AttestationDomainChange_Added) ProtoMessage()

func (*AttestationDomainChange_Added) ProtoReflect ¶

func (*AttestationDomainChange_Added) Reset ¶

func (m *AttestationDomainChange_Added) Reset()

func (*AttestationDomainChange_Added) SetAttestationDomain ¶

func (m *AttestationDomainChange_Added) SetAttestationDomain(fv *AttestationDomain)

func (*AttestationDomainChange_Added) SetViewIndex ¶

func (m *AttestationDomainChange_Added) SetViewIndex(fv int32)

func (*AttestationDomainChange_Added) String ¶

func (*AttestationDomainChange_Added) Unmarshal ¶

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

func (*AttestationDomainChange_Added) UnmarshalJSON ¶

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

type AttestationDomainChange_Added_ ¶

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

type AttestationDomainChange_Current ¶

type AttestationDomainChange_Current struct {
	AttestationDomain *AttestationDomain `` /* 142-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*AttestationDomainChange_Current) Descriptor ¶

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

Deprecated, Use AttestationDomainChange_Current.ProtoReflect.Descriptor instead.

func (*AttestationDomainChange_Current) GetAttestationDomain ¶

func (m *AttestationDomainChange_Current) GetAttestationDomain() *AttestationDomain

func (*AttestationDomainChange_Current) GotenMessage ¶

func (*AttestationDomainChange_Current) GotenMessage()

func (*AttestationDomainChange_Current) GotenValidate ¶

func (obj *AttestationDomainChange_Current) GotenValidate() error

func (*AttestationDomainChange_Current) Marshal ¶

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

func (*AttestationDomainChange_Current) MarshalJSON ¶

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

func (*AttestationDomainChange_Current) ProtoMessage ¶

func (*AttestationDomainChange_Current) ProtoMessage()

func (*AttestationDomainChange_Current) ProtoReflect ¶

func (*AttestationDomainChange_Current) Reset ¶

func (*AttestationDomainChange_Current) SetAttestationDomain ¶

func (m *AttestationDomainChange_Current) SetAttestationDomain(fv *AttestationDomain)

func (*AttestationDomainChange_Current) String ¶

func (*AttestationDomainChange_Current) Unmarshal ¶

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

func (*AttestationDomainChange_Current) UnmarshalJSON ¶

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

type AttestationDomainChange_Current_ ¶

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

type AttestationDomainChange_Modified ¶

type AttestationDomainChange_Modified struct {

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

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

func (*AttestationDomainChange_Modified) Descriptor ¶

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

Deprecated, Use AttestationDomainChange_Modified.ProtoReflect.Descriptor instead.

func (*AttestationDomainChange_Modified) GetAttestationDomain ¶

func (m *AttestationDomainChange_Modified) GetAttestationDomain() *AttestationDomain

func (*AttestationDomainChange_Modified) GetFieldMask ¶

func (*AttestationDomainChange_Modified) GetName ¶

func (m *AttestationDomainChange_Modified) GetName() *Name

func (*AttestationDomainChange_Modified) GetPreviousViewIndex ¶

func (m *AttestationDomainChange_Modified) GetPreviousViewIndex() int32

func (*AttestationDomainChange_Modified) GetViewIndex ¶

func (m *AttestationDomainChange_Modified) GetViewIndex() int32

func (*AttestationDomainChange_Modified) GotenMessage ¶

func (*AttestationDomainChange_Modified) GotenMessage()

func (*AttestationDomainChange_Modified) GotenValidate ¶

func (obj *AttestationDomainChange_Modified) GotenValidate() error

func (*AttestationDomainChange_Modified) Marshal ¶

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

func (*AttestationDomainChange_Modified) MarshalJSON ¶

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

func (*AttestationDomainChange_Modified) ProtoMessage ¶

func (*AttestationDomainChange_Modified) ProtoMessage()

func (*AttestationDomainChange_Modified) ProtoReflect ¶

func (*AttestationDomainChange_Modified) Reset ¶

func (*AttestationDomainChange_Modified) SetAttestationDomain ¶

func (m *AttestationDomainChange_Modified) SetAttestationDomain(fv *AttestationDomain)

func (*AttestationDomainChange_Modified) SetFieldMask ¶

func (*AttestationDomainChange_Modified) SetName ¶

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

func (*AttestationDomainChange_Modified) SetPreviousViewIndex ¶

func (m *AttestationDomainChange_Modified) SetPreviousViewIndex(fv int32)

func (*AttestationDomainChange_Modified) SetViewIndex ¶

func (m *AttestationDomainChange_Modified) SetViewIndex(fv int32)

func (*AttestationDomainChange_Modified) String ¶

func (*AttestationDomainChange_Modified) Unmarshal ¶

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

func (*AttestationDomainChange_Modified) UnmarshalJSON ¶

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

type AttestationDomainChange_Modified_ ¶

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

type AttestationDomainChange_Removed ¶

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

func (*AttestationDomainChange_Removed) Descriptor ¶

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

Deprecated, Use AttestationDomainChange_Removed.ProtoReflect.Descriptor instead.

func (*AttestationDomainChange_Removed) GetName ¶

func (m *AttestationDomainChange_Removed) GetName() *Name

func (*AttestationDomainChange_Removed) GetViewIndex ¶

func (m *AttestationDomainChange_Removed) GetViewIndex() int32

func (*AttestationDomainChange_Removed) GotenMessage ¶

func (*AttestationDomainChange_Removed) GotenMessage()

func (*AttestationDomainChange_Removed) GotenValidate ¶

func (obj *AttestationDomainChange_Removed) GotenValidate() error

func (*AttestationDomainChange_Removed) Marshal ¶

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

func (*AttestationDomainChange_Removed) MarshalJSON ¶

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

func (*AttestationDomainChange_Removed) ProtoMessage ¶

func (*AttestationDomainChange_Removed) ProtoMessage()

func (*AttestationDomainChange_Removed) ProtoReflect ¶

func (*AttestationDomainChange_Removed) Reset ¶

func (*AttestationDomainChange_Removed) SetName ¶

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

func (*AttestationDomainChange_Removed) SetViewIndex ¶

func (m *AttestationDomainChange_Removed) SetViewIndex(fv int32)

func (*AttestationDomainChange_Removed) String ¶

func (*AttestationDomainChange_Removed) Unmarshal ¶

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

func (*AttestationDomainChange_Removed) UnmarshalJSON ¶

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

type AttestationDomainChange_Removed_ ¶

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

type AttestationDomainEnrolledKeyFieldPathBuilder ¶

type AttestationDomainEnrolledKeyFieldPathBuilder struct{}

func NewAttestationDomainEnrolledKeyFieldPathBuilder ¶

func NewAttestationDomainEnrolledKeyFieldPathBuilder() AttestationDomainEnrolledKeyFieldPathBuilder

func (AttestationDomainEnrolledKeyFieldPathBuilder) Comment ¶

func (AttestationDomainEnrolledKeyFieldPathBuilder) PubkeyPem ¶

type AttestationDomainEnrolledKey_FieldPath ¶

type AttestationDomainEnrolledKey_FieldPath interface {
	gotenobject.FieldPath
	Selector() AttestationDomainEnrolledKey_FieldPathSelector
	Get(source *AttestationDomain_EnrolledKey) []interface{}
	GetSingle(source *AttestationDomain_EnrolledKey) (interface{}, bool)
	ClearValue(item *AttestationDomain_EnrolledKey)

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

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

func MustParseAttestationDomainEnrolledKey_FieldPath ¶

func MustParseAttestationDomainEnrolledKey_FieldPath(rawField string) AttestationDomainEnrolledKey_FieldPath

func ParseAttestationDomainEnrolledKey_FieldPath ¶

func ParseAttestationDomainEnrolledKey_FieldPath(rawField string) (AttestationDomainEnrolledKey_FieldPath, error)

type AttestationDomainEnrolledKey_FieldPathArrayItemValue ¶

type AttestationDomainEnrolledKey_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	AttestationDomainEnrolledKey_FieldPath
	ContainsValue(*AttestationDomain_EnrolledKey) bool
}

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

func MustParseAttestationDomainEnrolledKey_FieldPathArrayItemValue ¶

func MustParseAttestationDomainEnrolledKey_FieldPathArrayItemValue(pathStr, valueStr string) AttestationDomainEnrolledKey_FieldPathArrayItemValue

func ParseAttestationDomainEnrolledKey_FieldPathArrayItemValue ¶

func ParseAttestationDomainEnrolledKey_FieldPathArrayItemValue(pathStr, valueStr string) (AttestationDomainEnrolledKey_FieldPathArrayItemValue, error)

ParseAttestationDomainEnrolledKey_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type AttestationDomainEnrolledKey_FieldPathArrayOfValues ¶

type AttestationDomainEnrolledKey_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	AttestationDomainEnrolledKey_FieldPath
}

AttestationDomainEnrolledKey_FieldPathArrayOfValues allows storing slice of values for EnrolledKey fields according to their type

func MustParseAttestationDomainEnrolledKey_FieldPathArrayOfValues ¶

func MustParseAttestationDomainEnrolledKey_FieldPathArrayOfValues(pathStr, valuesStr string) AttestationDomainEnrolledKey_FieldPathArrayOfValues

func ParseAttestationDomainEnrolledKey_FieldPathArrayOfValues ¶

func ParseAttestationDomainEnrolledKey_FieldPathArrayOfValues(pathStr, valuesStr string) (AttestationDomainEnrolledKey_FieldPathArrayOfValues, error)

type AttestationDomainEnrolledKey_FieldPathSelector ¶

type AttestationDomainEnrolledKey_FieldPathSelector int32
const (
	AttestationDomainEnrolledKey_FieldPathSelectorPubkeyPem AttestationDomainEnrolledKey_FieldPathSelector = 0
	AttestationDomainEnrolledKey_FieldPathSelectorComment   AttestationDomainEnrolledKey_FieldPathSelector = 1
)

func (AttestationDomainEnrolledKey_FieldPathSelector) String ¶

type AttestationDomainEnrolledKey_FieldPathValue ¶

type AttestationDomainEnrolledKey_FieldPathValue interface {
	AttestationDomainEnrolledKey_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **AttestationDomain_EnrolledKey)
	CompareWith(*AttestationDomain_EnrolledKey) (cmp int, comparable bool)
}

AttestationDomainEnrolledKey_FieldPathValue allows storing values for EnrolledKey fields according to their type

func MustParseAttestationDomainEnrolledKey_FieldPathValue ¶

func MustParseAttestationDomainEnrolledKey_FieldPathValue(pathStr, valueStr string) AttestationDomainEnrolledKey_FieldPathValue

func ParseAttestationDomainEnrolledKey_FieldPathValue ¶

func ParseAttestationDomainEnrolledKey_FieldPathValue(pathStr, valueStr string) (AttestationDomainEnrolledKey_FieldPathValue, error)

type AttestationDomainEnrolledKey_FieldTerminalPath ¶

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

func (*AttestationDomainEnrolledKey_FieldTerminalPath) ClearValue ¶

func (*AttestationDomainEnrolledKey_FieldTerminalPath) ClearValueRaw ¶

func (*AttestationDomainEnrolledKey_FieldTerminalPath) Get ¶

func (fp *AttestationDomainEnrolledKey_FieldTerminalPath) Get(source *AttestationDomain_EnrolledKey) (values []interface{})

Get returns all values pointed by specific field from source AttestationDomain_EnrolledKey

func (*AttestationDomainEnrolledKey_FieldTerminalPath) GetDefault ¶

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

GetDefault returns a default value of the field type

func (*AttestationDomainEnrolledKey_FieldTerminalPath) GetRaw ¶

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

func (*AttestationDomainEnrolledKey_FieldTerminalPath) GetSingle ¶

GetSingle returns value pointed by specific field of from source AttestationDomain_EnrolledKey

func (*AttestationDomainEnrolledKey_FieldTerminalPath) GetSingleRaw ¶

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

func (*AttestationDomainEnrolledKey_FieldTerminalPath) IsLeaf ¶

IsLeaf - whether field path is holds simple value

func (*AttestationDomainEnrolledKey_FieldTerminalPath) JSONString ¶

JSONString returns path representation is JSON convention

func (*AttestationDomainEnrolledKey_FieldTerminalPath) Selector ¶

func (*AttestationDomainEnrolledKey_FieldTerminalPath) String ¶

String returns path representation in proto convention

func (*AttestationDomainEnrolledKey_FieldTerminalPath) WithIArrayItemValue ¶

func (*AttestationDomainEnrolledKey_FieldTerminalPath) WithIArrayOfValues ¶

func (*AttestationDomainEnrolledKey_FieldTerminalPath) WithIValue ¶

func (*AttestationDomainEnrolledKey_FieldTerminalPath) WithRawIArrayItemValue ¶

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

func (*AttestationDomainEnrolledKey_FieldTerminalPath) WithRawIArrayOfValues ¶

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

func (*AttestationDomainEnrolledKey_FieldTerminalPath) WithRawIValue ¶

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

type AttestationDomainEnrolledKey_FieldTerminalPathArrayItemValue ¶

type AttestationDomainEnrolledKey_FieldTerminalPathArrayItemValue struct {
	AttestationDomainEnrolledKey_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AttestationDomainEnrolledKey_FieldTerminalPathArrayItemValue) ContainsValue ¶

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

func (*AttestationDomainEnrolledKey_FieldTerminalPathArrayItemValue) GetRawItemValue ¶

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

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

func (*AttestationDomainEnrolledKey_FieldTerminalPathArrayItemValue) GetSingle ¶

func (*AttestationDomainEnrolledKey_FieldTerminalPathArrayItemValue) GetSingleRaw ¶

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

type AttestationDomainEnrolledKey_FieldTerminalPathArrayOfValues ¶

type AttestationDomainEnrolledKey_FieldTerminalPathArrayOfValues struct {
	AttestationDomainEnrolledKey_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AttestationDomainEnrolledKey_FieldTerminalPathArrayOfValues) AsCommentArrayOfValues ¶

func (fpaov *AttestationDomainEnrolledKey_FieldTerminalPathArrayOfValues) AsCommentArrayOfValues() ([]string, bool)

func (*AttestationDomainEnrolledKey_FieldTerminalPathArrayOfValues) AsPubkeyPemArrayOfValues ¶

func (fpaov *AttestationDomainEnrolledKey_FieldTerminalPathArrayOfValues) AsPubkeyPemArrayOfValues() ([]string, bool)

func (*AttestationDomainEnrolledKey_FieldTerminalPathArrayOfValues) GetRawValues ¶

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

type AttestationDomainEnrolledKey_FieldTerminalPathValue ¶

type AttestationDomainEnrolledKey_FieldTerminalPathValue struct {
	AttestationDomainEnrolledKey_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AttestationDomainEnrolledKey_FieldTerminalPathValue) AsCommentValue ¶

func (*AttestationDomainEnrolledKey_FieldTerminalPathValue) AsPubkeyPemValue ¶

func (*AttestationDomainEnrolledKey_FieldTerminalPathValue) CompareWith ¶

CompareWith compares value in the 'AttestationDomainEnrolledKey_FieldTerminalPathValue' with the value under path in 'AttestationDomain_EnrolledKey'.

func (*AttestationDomainEnrolledKey_FieldTerminalPathValue) CompareWithRaw ¶

func (*AttestationDomainEnrolledKey_FieldTerminalPathValue) GetRawValue ¶

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

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

func (*AttestationDomainEnrolledKey_FieldTerminalPathValue) SetTo ¶

SetTo stores value for selected field for object EnrolledKey

func (*AttestationDomainEnrolledKey_FieldTerminalPathValue) SetToRaw ¶

type AttestationDomainFieldPathBuilder ¶

type AttestationDomainFieldPathBuilder struct{}

func NewAttestationDomainFieldPathBuilder ¶

func NewAttestationDomainFieldPathBuilder() AttestationDomainFieldPathBuilder

func (AttestationDomainFieldPathBuilder) DisplayName ¶

func (AttestationDomainFieldPathBuilder) EnrollmentList ¶

func (AttestationDomainFieldPathBuilder) Metadata ¶

func (AttestationDomainFieldPathBuilder) Name ¶

func (AttestationDomainFieldPathBuilder) Policies ¶

type AttestationDomainList ¶

type AttestationDomainList []*AttestationDomain

func (AttestationDomainList) Append ¶

func (AttestationDomainList) AppendList ¶

func (AttestationDomainList) At ¶

func (AttestationDomainList) Length ¶

func (l AttestationDomainList) Length() int

func (AttestationDomainList) Set ¶

func (AttestationDomainList) Slice ¶

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

type AttestationDomainMap ¶

type AttestationDomainMap map[Name]*AttestationDomain

func (AttestationDomainMap) Delete ¶

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

func (AttestationDomainMap) ForEach ¶

func (AttestationDomainMap) Get ¶

func (AttestationDomainMap) Length ¶

func (m AttestationDomainMap) Length() int

func (AttestationDomainMap) Set ¶

type AttestationDomainMapPathSelectorMetadataAnnotations ¶

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

func (AttestationDomainMapPathSelectorMetadataAnnotations) FieldPath ¶

func (AttestationDomainMapPathSelectorMetadataAnnotations) WithArrayOfValues ¶

func (AttestationDomainMapPathSelectorMetadataAnnotations) WithValue ¶

type AttestationDomainMapPathSelectorMetadataLabels ¶

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

func (AttestationDomainMapPathSelectorMetadataLabels) FieldPath ¶

func (AttestationDomainMapPathSelectorMetadataLabels) WithArrayOfValues ¶

func (AttestationDomainMapPathSelectorMetadataLabels) WithValue ¶

type AttestationDomainMapPathSelectorMetadataShards ¶

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

func (AttestationDomainMapPathSelectorMetadataShards) FieldPath ¶

func (AttestationDomainMapPathSelectorMetadataShards) WithArrayOfValues ¶

func (AttestationDomainMapPathSelectorMetadataShards) WithValue ¶

type AttestationDomainNameList ¶

type AttestationDomainNameList []*Name

func (AttestationDomainNameList) Append ¶

func (AttestationDomainNameList) AppendList ¶

func (AttestationDomainNameList) At ¶

func (AttestationDomainNameList) Length ¶

func (l AttestationDomainNameList) Length() int

func (AttestationDomainNameList) Set ¶

func (AttestationDomainNameList) Slice ¶

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

type AttestationDomainParentNameList ¶

type AttestationDomainParentNameList []*ParentName

func (AttestationDomainParentNameList) Append ¶

func (AttestationDomainParentNameList) AppendList ¶

func (AttestationDomainParentNameList) At ¶

func (AttestationDomainParentNameList) Length ¶

func (AttestationDomainParentNameList) Set ¶

func (AttestationDomainParentNameList) Slice ¶

type AttestationDomainParentReferenceList ¶

type AttestationDomainParentReferenceList []*ParentReference

func (AttestationDomainParentReferenceList) Append ¶

func (AttestationDomainParentReferenceList) AppendList ¶

func (AttestationDomainParentReferenceList) At ¶

func (AttestationDomainParentReferenceList) Length ¶

func (AttestationDomainParentReferenceList) Set ¶

func (AttestationDomainParentReferenceList) Slice ¶

type AttestationDomainPathSelectorDisplayName ¶

type AttestationDomainPathSelectorDisplayName struct{}

func (AttestationDomainPathSelectorDisplayName) FieldPath ¶

func (AttestationDomainPathSelectorDisplayName) WithArrayOfValues ¶

func (AttestationDomainPathSelectorDisplayName) WithValue ¶

type AttestationDomainPathSelectorEnrollmentList ¶

type AttestationDomainPathSelectorEnrollmentList struct{}

func (AttestationDomainPathSelectorEnrollmentList) Comment ¶

func (AttestationDomainPathSelectorEnrollmentList) FieldPath ¶

func (AttestationDomainPathSelectorEnrollmentList) PubkeyPem ¶

func (AttestationDomainPathSelectorEnrollmentList) WithArrayOfValues ¶

func (AttestationDomainPathSelectorEnrollmentList) WithSubArrayItemValue ¶

func (AttestationDomainPathSelectorEnrollmentList) WithSubArrayOfValues ¶

func (AttestationDomainPathSelectorEnrollmentList) WithSubPath ¶

func (AttestationDomainPathSelectorEnrollmentList) WithSubValue ¶

func (AttestationDomainPathSelectorEnrollmentList) WithValue ¶

type AttestationDomainPathSelectorEnrollmentListComment ¶

type AttestationDomainPathSelectorEnrollmentListComment struct{}

func (AttestationDomainPathSelectorEnrollmentListComment) FieldPath ¶

func (AttestationDomainPathSelectorEnrollmentListComment) WithArrayOfValues ¶

func (AttestationDomainPathSelectorEnrollmentListComment) WithValue ¶

type AttestationDomainPathSelectorEnrollmentListPubkeyPem ¶

type AttestationDomainPathSelectorEnrollmentListPubkeyPem struct{}

func (AttestationDomainPathSelectorEnrollmentListPubkeyPem) FieldPath ¶

func (AttestationDomainPathSelectorEnrollmentListPubkeyPem) WithArrayOfValues ¶

func (AttestationDomainPathSelectorEnrollmentListPubkeyPem) WithValue ¶

type AttestationDomainPathSelectorInsecureSkipManufacturerEkcertVerification ¶

type AttestationDomainPathSelectorInsecureSkipManufacturerEkcertVerification struct{}

func (AttestationDomainPathSelectorInsecureSkipManufacturerEkcertVerification) FieldPath ¶

func (AttestationDomainPathSelectorInsecureSkipManufacturerEkcertVerification) WithArrayOfValues ¶

func (AttestationDomainPathSelectorInsecureSkipManufacturerEkcertVerification) WithValue ¶

type AttestationDomainPathSelectorMetadata ¶

type AttestationDomainPathSelectorMetadata struct{}

func (AttestationDomainPathSelectorMetadata) Annotations ¶

func (AttestationDomainPathSelectorMetadata) CreateTime ¶

func (AttestationDomainPathSelectorMetadata) FieldPath ¶

func (AttestationDomainPathSelectorMetadata) Generation ¶

func (AttestationDomainPathSelectorMetadata) Labels ¶

func (AttestationDomainPathSelectorMetadata) OwnerReferences ¶

func (AttestationDomainPathSelectorMetadata) ResourceVersion ¶

func (AttestationDomainPathSelectorMetadata) Shards ¶

func (AttestationDomainPathSelectorMetadata) Syncing ¶

func (AttestationDomainPathSelectorMetadata) Tags ¶

func (AttestationDomainPathSelectorMetadata) UpdateTime ¶

func (AttestationDomainPathSelectorMetadata) Uuid ¶

func (AttestationDomainPathSelectorMetadata) WithArrayOfValues ¶

func (AttestationDomainPathSelectorMetadata) WithSubArrayItemValue ¶

func (AttestationDomainPathSelectorMetadata) WithSubArrayOfValues ¶

func (AttestationDomainPathSelectorMetadata) WithSubPath ¶

func (AttestationDomainPathSelectorMetadata) WithSubValue ¶

func (AttestationDomainPathSelectorMetadata) WithValue ¶

type AttestationDomainPathSelectorMetadataAnnotations ¶

type AttestationDomainPathSelectorMetadataAnnotations struct{}

func (AttestationDomainPathSelectorMetadataAnnotations) FieldPath ¶

func (AttestationDomainPathSelectorMetadataAnnotations) WithArrayOfValues ¶

func (AttestationDomainPathSelectorMetadataAnnotations) WithKey ¶

func (AttestationDomainPathSelectorMetadataAnnotations) WithValue ¶

type AttestationDomainPathSelectorMetadataCreateTime ¶

type AttestationDomainPathSelectorMetadataCreateTime struct{}

func (AttestationDomainPathSelectorMetadataCreateTime) FieldPath ¶

func (AttestationDomainPathSelectorMetadataCreateTime) WithArrayOfValues ¶

func (AttestationDomainPathSelectorMetadataCreateTime) WithValue ¶

type AttestationDomainPathSelectorMetadataGeneration ¶

type AttestationDomainPathSelectorMetadataGeneration struct{}

func (AttestationDomainPathSelectorMetadataGeneration) FieldPath ¶

func (AttestationDomainPathSelectorMetadataGeneration) WithArrayOfValues ¶

func (AttestationDomainPathSelectorMetadataGeneration) WithValue ¶

type AttestationDomainPathSelectorMetadataLabels ¶

type AttestationDomainPathSelectorMetadataLabels struct{}

func (AttestationDomainPathSelectorMetadataLabels) FieldPath ¶

func (AttestationDomainPathSelectorMetadataLabels) WithArrayOfValues ¶

func (AttestationDomainPathSelectorMetadataLabels) WithKey ¶

func (AttestationDomainPathSelectorMetadataLabels) WithValue ¶

type AttestationDomainPathSelectorMetadataOwnerReferences ¶

type AttestationDomainPathSelectorMetadataOwnerReferences struct{}

func (AttestationDomainPathSelectorMetadataOwnerReferences) FieldPath ¶

func (AttestationDomainPathSelectorMetadataOwnerReferences) Kind ¶

func (AttestationDomainPathSelectorMetadataOwnerReferences) Name ¶

func (AttestationDomainPathSelectorMetadataOwnerReferences) Uid ¶

func (AttestationDomainPathSelectorMetadataOwnerReferences) WithArrayOfValues ¶

func (AttestationDomainPathSelectorMetadataOwnerReferences) WithItemValue ¶

func (AttestationDomainPathSelectorMetadataOwnerReferences) WithValue ¶

type AttestationDomainPathSelectorMetadataOwnerReferencesApiVersion ¶

type AttestationDomainPathSelectorMetadataOwnerReferencesApiVersion struct{}

func (AttestationDomainPathSelectorMetadataOwnerReferencesApiVersion) FieldPath ¶

func (AttestationDomainPathSelectorMetadataOwnerReferencesApiVersion) WithArrayOfValues ¶

func (AttestationDomainPathSelectorMetadataOwnerReferencesApiVersion) WithValue ¶

type AttestationDomainPathSelectorMetadataOwnerReferencesBlockOwnerDeletion ¶

type AttestationDomainPathSelectorMetadataOwnerReferencesBlockOwnerDeletion struct{}

func (AttestationDomainPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) FieldPath ¶

func (AttestationDomainPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithArrayOfValues ¶

func (AttestationDomainPathSelectorMetadataOwnerReferencesBlockOwnerDeletion) WithValue ¶

type AttestationDomainPathSelectorMetadataOwnerReferencesController ¶

type AttestationDomainPathSelectorMetadataOwnerReferencesController struct{}

func (AttestationDomainPathSelectorMetadataOwnerReferencesController) FieldPath ¶

func (AttestationDomainPathSelectorMetadataOwnerReferencesController) WithArrayOfValues ¶

func (AttestationDomainPathSelectorMetadataOwnerReferencesController) WithValue ¶

type AttestationDomainPathSelectorMetadataOwnerReferencesKind ¶

type AttestationDomainPathSelectorMetadataOwnerReferencesKind struct{}

func (AttestationDomainPathSelectorMetadataOwnerReferencesKind) FieldPath ¶

func (AttestationDomainPathSelectorMetadataOwnerReferencesKind) WithArrayOfValues ¶

func (AttestationDomainPathSelectorMetadataOwnerReferencesKind) WithValue ¶

type AttestationDomainPathSelectorMetadataOwnerReferencesName ¶

type AttestationDomainPathSelectorMetadataOwnerReferencesName struct{}

func (AttestationDomainPathSelectorMetadataOwnerReferencesName) FieldPath ¶

func (AttestationDomainPathSelectorMetadataOwnerReferencesName) WithArrayOfValues ¶

func (AttestationDomainPathSelectorMetadataOwnerReferencesName) WithValue ¶

type AttestationDomainPathSelectorMetadataOwnerReferencesUid ¶

type AttestationDomainPathSelectorMetadataOwnerReferencesUid struct{}

func (AttestationDomainPathSelectorMetadataOwnerReferencesUid) FieldPath ¶

func (AttestationDomainPathSelectorMetadataOwnerReferencesUid) WithArrayOfValues ¶

func (AttestationDomainPathSelectorMetadataOwnerReferencesUid) WithValue ¶

type AttestationDomainPathSelectorMetadataResourceVersion ¶

type AttestationDomainPathSelectorMetadataResourceVersion struct{}

func (AttestationDomainPathSelectorMetadataResourceVersion) FieldPath ¶

func (AttestationDomainPathSelectorMetadataResourceVersion) WithArrayOfValues ¶

func (AttestationDomainPathSelectorMetadataResourceVersion) WithValue ¶

type AttestationDomainPathSelectorMetadataShards ¶

type AttestationDomainPathSelectorMetadataShards struct{}

func (AttestationDomainPathSelectorMetadataShards) FieldPath ¶

func (AttestationDomainPathSelectorMetadataShards) WithArrayOfValues ¶

func (AttestationDomainPathSelectorMetadataShards) WithKey ¶

func (AttestationDomainPathSelectorMetadataShards) WithValue ¶

type AttestationDomainPathSelectorMetadataSyncing ¶

type AttestationDomainPathSelectorMetadataSyncing struct{}

func (AttestationDomainPathSelectorMetadataSyncing) FieldPath ¶

func (AttestationDomainPathSelectorMetadataSyncing) OwningRegion ¶

func (AttestationDomainPathSelectorMetadataSyncing) Regions ¶

func (AttestationDomainPathSelectorMetadataSyncing) WithArrayOfValues ¶

func (AttestationDomainPathSelectorMetadataSyncing) WithValue ¶

type AttestationDomainPathSelectorMetadataSyncingOwningRegion ¶

type AttestationDomainPathSelectorMetadataSyncingOwningRegion struct{}

func (AttestationDomainPathSelectorMetadataSyncingOwningRegion) FieldPath ¶

func (AttestationDomainPathSelectorMetadataSyncingOwningRegion) WithArrayOfValues ¶

func (AttestationDomainPathSelectorMetadataSyncingOwningRegion) WithValue ¶

type AttestationDomainPathSelectorMetadataSyncingRegions ¶

type AttestationDomainPathSelectorMetadataSyncingRegions struct{}

func (AttestationDomainPathSelectorMetadataSyncingRegions) FieldPath ¶

func (AttestationDomainPathSelectorMetadataSyncingRegions) WithArrayOfValues ¶

func (AttestationDomainPathSelectorMetadataSyncingRegions) WithItemValue ¶

func (AttestationDomainPathSelectorMetadataSyncingRegions) WithValue ¶

type AttestationDomainPathSelectorMetadataTags ¶

type AttestationDomainPathSelectorMetadataTags struct{}

func (AttestationDomainPathSelectorMetadataTags) FieldPath ¶

func (AttestationDomainPathSelectorMetadataTags) WithArrayOfValues ¶

func (AttestationDomainPathSelectorMetadataTags) WithItemValue ¶

func (AttestationDomainPathSelectorMetadataTags) WithValue ¶

type AttestationDomainPathSelectorMetadataUpdateTime ¶

type AttestationDomainPathSelectorMetadataUpdateTime struct{}

func (AttestationDomainPathSelectorMetadataUpdateTime) FieldPath ¶

func (AttestationDomainPathSelectorMetadataUpdateTime) WithArrayOfValues ¶

func (AttestationDomainPathSelectorMetadataUpdateTime) WithValue ¶

type AttestationDomainPathSelectorMetadataUuid ¶

type AttestationDomainPathSelectorMetadataUuid struct{}

func (AttestationDomainPathSelectorMetadataUuid) FieldPath ¶

func (AttestationDomainPathSelectorMetadataUuid) WithArrayOfValues ¶

func (AttestationDomainPathSelectorMetadataUuid) WithValue ¶

type AttestationDomainPathSelectorName ¶

type AttestationDomainPathSelectorName struct{}

func (AttestationDomainPathSelectorName) FieldPath ¶

func (AttestationDomainPathSelectorName) WithArrayOfValues ¶

func (AttestationDomainPathSelectorName) WithValue ¶

type AttestationDomainPathSelectorPolicies ¶

type AttestationDomainPathSelectorPolicies struct{}

func (AttestationDomainPathSelectorPolicies) ExpectedPcrs ¶

func (AttestationDomainPathSelectorPolicies) FieldPath ¶

func (AttestationDomainPathSelectorPolicies) RequireEnrollment ¶

func (AttestationDomainPathSelectorPolicies) VerifyEventLog ¶

func (AttestationDomainPathSelectorPolicies) WithArrayOfValues ¶

func (AttestationDomainPathSelectorPolicies) WithSubArrayItemValue ¶

func (AttestationDomainPathSelectorPolicies) WithSubArrayOfValues ¶

func (AttestationDomainPathSelectorPolicies) WithSubPath ¶

func (AttestationDomainPathSelectorPolicies) WithSubValue ¶

func (AttestationDomainPathSelectorPolicies) WithValue ¶

type AttestationDomainPathSelectorPoliciesExpectedPcrs ¶

type AttestationDomainPathSelectorPoliciesExpectedPcrs struct{}

func (AttestationDomainPathSelectorPoliciesExpectedPcrs) Comment ¶

func (AttestationDomainPathSelectorPoliciesExpectedPcrs) DigestAlg ¶

func (AttestationDomainPathSelectorPoliciesExpectedPcrs) DigestHex ¶

func (AttestationDomainPathSelectorPoliciesExpectedPcrs) FieldPath ¶

func (AttestationDomainPathSelectorPoliciesExpectedPcrs) Index ¶

func (AttestationDomainPathSelectorPoliciesExpectedPcrs) WithArrayOfValues ¶

func (AttestationDomainPathSelectorPoliciesExpectedPcrs) WithItemValue ¶

func (AttestationDomainPathSelectorPoliciesExpectedPcrs) WithValue ¶

type AttestationDomainPathSelectorPoliciesExpectedPcrsComment ¶

type AttestationDomainPathSelectorPoliciesExpectedPcrsComment struct{}

func (AttestationDomainPathSelectorPoliciesExpectedPcrsComment) FieldPath ¶

func (AttestationDomainPathSelectorPoliciesExpectedPcrsComment) WithArrayOfValues ¶

func (AttestationDomainPathSelectorPoliciesExpectedPcrsComment) WithValue ¶

type AttestationDomainPathSelectorPoliciesExpectedPcrsDigestAlg ¶

type AttestationDomainPathSelectorPoliciesExpectedPcrsDigestAlg struct{}

func (AttestationDomainPathSelectorPoliciesExpectedPcrsDigestAlg) FieldPath ¶

func (AttestationDomainPathSelectorPoliciesExpectedPcrsDigestAlg) WithArrayOfValues ¶

func (AttestationDomainPathSelectorPoliciesExpectedPcrsDigestAlg) WithValue ¶

type AttestationDomainPathSelectorPoliciesExpectedPcrsDigestHex ¶

type AttestationDomainPathSelectorPoliciesExpectedPcrsDigestHex struct{}

func (AttestationDomainPathSelectorPoliciesExpectedPcrsDigestHex) FieldPath ¶

func (AttestationDomainPathSelectorPoliciesExpectedPcrsDigestHex) WithArrayOfValues ¶

func (AttestationDomainPathSelectorPoliciesExpectedPcrsDigestHex) WithValue ¶

type AttestationDomainPathSelectorPoliciesExpectedPcrsIndex ¶

type AttestationDomainPathSelectorPoliciesExpectedPcrsIndex struct{}

func (AttestationDomainPathSelectorPoliciesExpectedPcrsIndex) FieldPath ¶

func (AttestationDomainPathSelectorPoliciesExpectedPcrsIndex) WithArrayOfValues ¶

func (AttestationDomainPathSelectorPoliciesExpectedPcrsIndex) WithValue ¶

type AttestationDomainPathSelectorPoliciesManufacturerRootCaCertsPem ¶

type AttestationDomainPathSelectorPoliciesManufacturerRootCaCertsPem struct{}

func (AttestationDomainPathSelectorPoliciesManufacturerRootCaCertsPem) FieldPath ¶

func (AttestationDomainPathSelectorPoliciesManufacturerRootCaCertsPem) WithArrayOfValues ¶

func (AttestationDomainPathSelectorPoliciesManufacturerRootCaCertsPem) WithValue ¶

type AttestationDomainPathSelectorPoliciesRequireEnrollment ¶

type AttestationDomainPathSelectorPoliciesRequireEnrollment struct{}

func (AttestationDomainPathSelectorPoliciesRequireEnrollment) FieldPath ¶

func (AttestationDomainPathSelectorPoliciesRequireEnrollment) WithArrayOfValues ¶

func (AttestationDomainPathSelectorPoliciesRequireEnrollment) WithValue ¶

type AttestationDomainPathSelectorPoliciesVerifyEventLog ¶

type AttestationDomainPathSelectorPoliciesVerifyEventLog struct{}

func (AttestationDomainPathSelectorPoliciesVerifyEventLog) FieldPath ¶

func (AttestationDomainPathSelectorPoliciesVerifyEventLog) WithArrayOfValues ¶

func (AttestationDomainPathSelectorPoliciesVerifyEventLog) WithValue ¶

type AttestationDomainPolicyFieldPathBuilder ¶

type AttestationDomainPolicyFieldPathBuilder struct{}

func NewAttestationDomainPolicyFieldPathBuilder ¶

func NewAttestationDomainPolicyFieldPathBuilder() AttestationDomainPolicyFieldPathBuilder

func (AttestationDomainPolicyFieldPathBuilder) ExpectedPcrs ¶

func (AttestationDomainPolicyFieldPathBuilder) ManufacturerRootCaCertsPem ¶

func (AttestationDomainPolicyFieldPathBuilder) RequireEnrollment ¶

func (AttestationDomainPolicyFieldPathBuilder) VerifyEventLog ¶

type AttestationDomainPolicy_FieldPath ¶

type AttestationDomainPolicy_FieldPath interface {
	gotenobject.FieldPath
	Selector() AttestationDomainPolicy_FieldPathSelector
	Get(source *AttestationDomain_Policy) []interface{}
	GetSingle(source *AttestationDomain_Policy) (interface{}, bool)
	ClearValue(item *AttestationDomain_Policy)

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

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

func MustParseAttestationDomainPolicy_FieldPath ¶

func MustParseAttestationDomainPolicy_FieldPath(rawField string) AttestationDomainPolicy_FieldPath

func ParseAttestationDomainPolicy_FieldPath ¶

func ParseAttestationDomainPolicy_FieldPath(rawField string) (AttestationDomainPolicy_FieldPath, error)

type AttestationDomainPolicy_FieldPathArrayItemValue ¶

type AttestationDomainPolicy_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	AttestationDomainPolicy_FieldPath
	ContainsValue(*AttestationDomain_Policy) bool
}

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

func MustParseAttestationDomainPolicy_FieldPathArrayItemValue ¶

func MustParseAttestationDomainPolicy_FieldPathArrayItemValue(pathStr, valueStr string) AttestationDomainPolicy_FieldPathArrayItemValue

func ParseAttestationDomainPolicy_FieldPathArrayItemValue ¶

func ParseAttestationDomainPolicy_FieldPathArrayItemValue(pathStr, valueStr string) (AttestationDomainPolicy_FieldPathArrayItemValue, error)

ParseAttestationDomainPolicy_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type AttestationDomainPolicy_FieldPathArrayOfValues ¶

type AttestationDomainPolicy_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	AttestationDomainPolicy_FieldPath
}

AttestationDomainPolicy_FieldPathArrayOfValues allows storing slice of values for Policy fields according to their type

func MustParseAttestationDomainPolicy_FieldPathArrayOfValues ¶

func MustParseAttestationDomainPolicy_FieldPathArrayOfValues(pathStr, valuesStr string) AttestationDomainPolicy_FieldPathArrayOfValues

func ParseAttestationDomainPolicy_FieldPathArrayOfValues ¶

func ParseAttestationDomainPolicy_FieldPathArrayOfValues(pathStr, valuesStr string) (AttestationDomainPolicy_FieldPathArrayOfValues, error)

type AttestationDomainPolicy_FieldPathSelector ¶

type AttestationDomainPolicy_FieldPathSelector int32
const (
	AttestationDomainPolicy_FieldPathSelectorManufacturerRootCaCertsPem AttestationDomainPolicy_FieldPathSelector = 0
	AttestationDomainPolicy_FieldPathSelectorRequireEnrollment          AttestationDomainPolicy_FieldPathSelector = 1
	AttestationDomainPolicy_FieldPathSelectorVerifyEventLog             AttestationDomainPolicy_FieldPathSelector = 2
	AttestationDomainPolicy_FieldPathSelectorExpectedPcrs               AttestationDomainPolicy_FieldPathSelector = 3
)

func (AttestationDomainPolicy_FieldPathSelector) String ¶

type AttestationDomainPolicy_FieldPathValue ¶

type AttestationDomainPolicy_FieldPathValue interface {
	AttestationDomainPolicy_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **AttestationDomain_Policy)
	CompareWith(*AttestationDomain_Policy) (cmp int, comparable bool)
}

AttestationDomainPolicy_FieldPathValue allows storing values for Policy fields according to their type

func MustParseAttestationDomainPolicy_FieldPathValue ¶

func MustParseAttestationDomainPolicy_FieldPathValue(pathStr, valueStr string) AttestationDomainPolicy_FieldPathValue

func ParseAttestationDomainPolicy_FieldPathValue ¶

func ParseAttestationDomainPolicy_FieldPathValue(pathStr, valueStr string) (AttestationDomainPolicy_FieldPathValue, error)

type AttestationDomainPolicy_FieldSubPath ¶

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

func (*AttestationDomainPolicy_FieldSubPath) AsExpectedPcrsSubPath ¶

func (fps *AttestationDomainPolicy_FieldSubPath) AsExpectedPcrsSubPath() (iam_common.PCR_FieldPath, bool)

func (*AttestationDomainPolicy_FieldSubPath) ClearValue ¶

func (*AttestationDomainPolicy_FieldSubPath) ClearValueRaw ¶

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

func (*AttestationDomainPolicy_FieldSubPath) Get ¶

func (fps *AttestationDomainPolicy_FieldSubPath) Get(source *AttestationDomain_Policy) (values []interface{})

Get returns all values pointed by selected field from source AttestationDomain_Policy

func (*AttestationDomainPolicy_FieldSubPath) GetDefault ¶

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

GetDefault returns a default value of the field type

func (*AttestationDomainPolicy_FieldSubPath) GetRaw ¶

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

func (*AttestationDomainPolicy_FieldSubPath) GetSingle ¶

func (fps *AttestationDomainPolicy_FieldSubPath) GetSingle(source *AttestationDomain_Policy) (interface{}, bool)

GetSingle returns value of selected field from source AttestationDomain_Policy

func (*AttestationDomainPolicy_FieldSubPath) GetSingleRaw ¶

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

func (*AttestationDomainPolicy_FieldSubPath) IsLeaf ¶

IsLeaf - whether field path is holds simple value

func (*AttestationDomainPolicy_FieldSubPath) JSONString ¶

func (fps *AttestationDomainPolicy_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*AttestationDomainPolicy_FieldSubPath) Selector ¶

func (*AttestationDomainPolicy_FieldSubPath) String ¶

String returns path representation in proto convention

func (*AttestationDomainPolicy_FieldSubPath) WithIArrayItemValue ¶

func (*AttestationDomainPolicy_FieldSubPath) WithIArrayOfValues ¶

func (*AttestationDomainPolicy_FieldSubPath) WithIValue ¶

func (*AttestationDomainPolicy_FieldSubPath) WithRawIArrayItemValue ¶

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

func (*AttestationDomainPolicy_FieldSubPath) WithRawIArrayOfValues ¶

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

func (*AttestationDomainPolicy_FieldSubPath) WithRawIValue ¶

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

type AttestationDomainPolicy_FieldSubPathArrayItemValue ¶

type AttestationDomainPolicy_FieldSubPathArrayItemValue struct {
	AttestationDomainPolicy_FieldPath
	// contains filtered or unexported fields
}

func (*AttestationDomainPolicy_FieldSubPathArrayItemValue) AsExpectedPcrsPathItemValue ¶

func (*AttestationDomainPolicy_FieldSubPathArrayItemValue) ContainsValue ¶

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

func (*AttestationDomainPolicy_FieldSubPathArrayItemValue) GetRawItemValue ¶

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

GetRawValue returns stored array item value

type AttestationDomainPolicy_FieldSubPathArrayOfValues ¶

type AttestationDomainPolicy_FieldSubPathArrayOfValues struct {
	AttestationDomainPolicy_FieldPath
	// contains filtered or unexported fields
}

func (*AttestationDomainPolicy_FieldSubPathArrayOfValues) AsExpectedPcrsPathArrayOfValues ¶

func (*AttestationDomainPolicy_FieldSubPathArrayOfValues) GetRawValues ¶

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

type AttestationDomainPolicy_FieldSubPathValue ¶

type AttestationDomainPolicy_FieldSubPathValue struct {
	AttestationDomainPolicy_FieldPath
	// contains filtered or unexported fields
}

func (*AttestationDomainPolicy_FieldSubPathValue) AsExpectedPcrsPathValue ¶

func (*AttestationDomainPolicy_FieldSubPathValue) CompareWith ¶

func (*AttestationDomainPolicy_FieldSubPathValue) CompareWithRaw ¶

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

func (*AttestationDomainPolicy_FieldSubPathValue) GetRawValue ¶

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

func (*AttestationDomainPolicy_FieldSubPathValue) SetTo ¶

func (*AttestationDomainPolicy_FieldSubPathValue) SetToRaw ¶

type AttestationDomainPolicy_FieldTerminalPath ¶

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

func (*AttestationDomainPolicy_FieldTerminalPath) ClearValue ¶

func (*AttestationDomainPolicy_FieldTerminalPath) ClearValueRaw ¶

func (*AttestationDomainPolicy_FieldTerminalPath) Get ¶

func (fp *AttestationDomainPolicy_FieldTerminalPath) Get(source *AttestationDomain_Policy) (values []interface{})

Get returns all values pointed by specific field from source AttestationDomain_Policy

func (*AttestationDomainPolicy_FieldTerminalPath) GetDefault ¶

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

GetDefault returns a default value of the field type

func (*AttestationDomainPolicy_FieldTerminalPath) GetRaw ¶

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

func (*AttestationDomainPolicy_FieldTerminalPath) GetSingle ¶

func (fp *AttestationDomainPolicy_FieldTerminalPath) GetSingle(source *AttestationDomain_Policy) (interface{}, bool)

GetSingle returns value pointed by specific field of from source AttestationDomain_Policy

func (*AttestationDomainPolicy_FieldTerminalPath) GetSingleRaw ¶

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

func (*AttestationDomainPolicy_FieldTerminalPath) IsLeaf ¶

IsLeaf - whether field path is holds simple value

func (*AttestationDomainPolicy_FieldTerminalPath) JSONString ¶

JSONString returns path representation is JSON convention

func (*AttestationDomainPolicy_FieldTerminalPath) Selector ¶

func (*AttestationDomainPolicy_FieldTerminalPath) String ¶

String returns path representation in proto convention

func (*AttestationDomainPolicy_FieldTerminalPath) WithIArrayItemValue ¶

func (*AttestationDomainPolicy_FieldTerminalPath) WithIArrayOfValues ¶

func (*AttestationDomainPolicy_FieldTerminalPath) WithIValue ¶

func (*AttestationDomainPolicy_FieldTerminalPath) WithRawIArrayItemValue ¶

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

func (*AttestationDomainPolicy_FieldTerminalPath) WithRawIArrayOfValues ¶

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

func (*AttestationDomainPolicy_FieldTerminalPath) WithRawIValue ¶

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

type AttestationDomainPolicy_FieldTerminalPathArrayItemValue ¶

type AttestationDomainPolicy_FieldTerminalPathArrayItemValue struct {
	AttestationDomainPolicy_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AttestationDomainPolicy_FieldTerminalPathArrayItemValue) AsExpectedPcrsItemValue ¶

func (fpaiv *AttestationDomainPolicy_FieldTerminalPathArrayItemValue) AsExpectedPcrsItemValue() (*iam_common.PCR, bool)

func (*AttestationDomainPolicy_FieldTerminalPathArrayItemValue) ContainsValue ¶

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

func (*AttestationDomainPolicy_FieldTerminalPathArrayItemValue) GetRawItemValue ¶

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

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

func (*AttestationDomainPolicy_FieldTerminalPathArrayItemValue) GetSingle ¶

func (*AttestationDomainPolicy_FieldTerminalPathArrayItemValue) GetSingleRaw ¶

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

type AttestationDomainPolicy_FieldTerminalPathArrayOfValues ¶

type AttestationDomainPolicy_FieldTerminalPathArrayOfValues struct {
	AttestationDomainPolicy_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AttestationDomainPolicy_FieldTerminalPathArrayOfValues) AsExpectedPcrsArrayOfValues ¶

func (fpaov *AttestationDomainPolicy_FieldTerminalPathArrayOfValues) AsExpectedPcrsArrayOfValues() ([][]*iam_common.PCR, bool)

func (*AttestationDomainPolicy_FieldTerminalPathArrayOfValues) AsManufacturerRootCaCertsPemArrayOfValues ¶

func (fpaov *AttestationDomainPolicy_FieldTerminalPathArrayOfValues) AsManufacturerRootCaCertsPemArrayOfValues() ([]string, bool)

func (*AttestationDomainPolicy_FieldTerminalPathArrayOfValues) AsRequireEnrollmentArrayOfValues ¶

func (fpaov *AttestationDomainPolicy_FieldTerminalPathArrayOfValues) AsRequireEnrollmentArrayOfValues() ([]bool, bool)

func (*AttestationDomainPolicy_FieldTerminalPathArrayOfValues) AsVerifyEventLogArrayOfValues ¶

func (fpaov *AttestationDomainPolicy_FieldTerminalPathArrayOfValues) AsVerifyEventLogArrayOfValues() ([]bool, bool)

func (*AttestationDomainPolicy_FieldTerminalPathArrayOfValues) GetRawValues ¶

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

type AttestationDomainPolicy_FieldTerminalPathValue ¶

type AttestationDomainPolicy_FieldTerminalPathValue struct {
	AttestationDomainPolicy_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AttestationDomainPolicy_FieldTerminalPathValue) AsExpectedPcrsValue ¶

func (fpv *AttestationDomainPolicy_FieldTerminalPathValue) AsExpectedPcrsValue() ([]*iam_common.PCR, bool)

func (*AttestationDomainPolicy_FieldTerminalPathValue) AsManufacturerRootCaCertsPemValue ¶

func (fpv *AttestationDomainPolicy_FieldTerminalPathValue) AsManufacturerRootCaCertsPemValue() (string, bool)

func (*AttestationDomainPolicy_FieldTerminalPathValue) AsRequireEnrollmentValue ¶

func (fpv *AttestationDomainPolicy_FieldTerminalPathValue) AsRequireEnrollmentValue() (bool, bool)

func (*AttestationDomainPolicy_FieldTerminalPathValue) AsVerifyEventLogValue ¶

func (fpv *AttestationDomainPolicy_FieldTerminalPathValue) AsVerifyEventLogValue() (bool, bool)

func (*AttestationDomainPolicy_FieldTerminalPathValue) CompareWith ¶

CompareWith compares value in the 'AttestationDomainPolicy_FieldTerminalPathValue' with the value under path in 'AttestationDomain_Policy'.

func (*AttestationDomainPolicy_FieldTerminalPathValue) CompareWithRaw ¶

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

func (*AttestationDomainPolicy_FieldTerminalPathValue) GetRawValue ¶

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

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

func (*AttestationDomainPolicy_FieldTerminalPathValue) SetTo ¶

SetTo stores value for selected field for object Policy

func (*AttestationDomainPolicy_FieldTerminalPathValue) SetToRaw ¶

type AttestationDomainReferenceList ¶

type AttestationDomainReferenceList []*Reference

func (AttestationDomainReferenceList) Append ¶

func (AttestationDomainReferenceList) AppendList ¶

func (AttestationDomainReferenceList) At ¶

func (AttestationDomainReferenceList) Length ¶

func (AttestationDomainReferenceList) Set ¶

func (AttestationDomainReferenceList) Slice ¶

type AttestationDomain_EnrolledKey ¶

type AttestationDomain_EnrolledKey struct {

	// PEM encoded EK pubkey.
	// It can be read from TPM by running something like `tpm2_createek -G rsa
	// -u ek.pub -c key.ctx -f pem`.
	PubkeyPem string `protobuf:"bytes,1,opt,name=pubkey_pem,json=pubkeyPem,proto3" json:"pubkey_pem,omitempty" firestore:"pubkeyPem"`
	// User's comments for this entry
	Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty" firestore:"comment"`
	// contains filtered or unexported fields
}

EnrolledKey defines an enrolled key.

func (*AttestationDomain_EnrolledKey) Clone ¶

func (*AttestationDomain_EnrolledKey) CloneRaw ¶

func (*AttestationDomain_EnrolledKey) Descriptor ¶

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

Deprecated, Use AttestationDomain_EnrolledKey.ProtoReflect.Descriptor instead.

func (*AttestationDomain_EnrolledKey) GetComment ¶

func (m *AttestationDomain_EnrolledKey) GetComment() string

func (*AttestationDomain_EnrolledKey) GetPubkeyPem ¶

func (m *AttestationDomain_EnrolledKey) GetPubkeyPem() string

func (*AttestationDomain_EnrolledKey) GotenMessage ¶

func (*AttestationDomain_EnrolledKey) GotenMessage()

func (*AttestationDomain_EnrolledKey) GotenObjectExt ¶

func (o *AttestationDomain_EnrolledKey) GotenObjectExt()

func (*AttestationDomain_EnrolledKey) GotenValidate ¶

func (obj *AttestationDomain_EnrolledKey) GotenValidate() error

func (*AttestationDomain_EnrolledKey) MakeDiffFieldMask ¶

func (*AttestationDomain_EnrolledKey) MakeFullFieldMask ¶

func (*AttestationDomain_EnrolledKey) MakeRawDiffFieldMask ¶

func (*AttestationDomain_EnrolledKey) MakeRawFullFieldMask ¶

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

func (*AttestationDomain_EnrolledKey) Marshal ¶

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

func (*AttestationDomain_EnrolledKey) MarshalJSON ¶

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

func (*AttestationDomain_EnrolledKey) Merge ¶

func (*AttestationDomain_EnrolledKey) MergeRaw ¶

func (*AttestationDomain_EnrolledKey) ProtoMessage ¶

func (*AttestationDomain_EnrolledKey) ProtoMessage()

func (*AttestationDomain_EnrolledKey) ProtoReflect ¶

func (*AttestationDomain_EnrolledKey) Reset ¶

func (m *AttestationDomain_EnrolledKey) Reset()

func (*AttestationDomain_EnrolledKey) SetComment ¶

func (m *AttestationDomain_EnrolledKey) SetComment(fv string)

func (*AttestationDomain_EnrolledKey) SetPubkeyPem ¶

func (m *AttestationDomain_EnrolledKey) SetPubkeyPem(fv string)

func (*AttestationDomain_EnrolledKey) String ¶

func (*AttestationDomain_EnrolledKey) Unmarshal ¶

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

func (*AttestationDomain_EnrolledKey) UnmarshalJSON ¶

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

type AttestationDomain_EnrolledKeyPathSelectorComment ¶

type AttestationDomain_EnrolledKeyPathSelectorComment struct{}

func (AttestationDomain_EnrolledKeyPathSelectorComment) FieldPath ¶

func (AttestationDomain_EnrolledKeyPathSelectorComment) WithArrayOfValues ¶

func (AttestationDomain_EnrolledKeyPathSelectorComment) WithValue ¶

type AttestationDomain_EnrolledKeyPathSelectorPubkeyPem ¶

type AttestationDomain_EnrolledKeyPathSelectorPubkeyPem struct{}

func (AttestationDomain_EnrolledKeyPathSelectorPubkeyPem) FieldPath ¶

func (AttestationDomain_EnrolledKeyPathSelectorPubkeyPem) WithArrayOfValues ¶

func (AttestationDomain_EnrolledKeyPathSelectorPubkeyPem) WithValue ¶

type AttestationDomain_EnrolledKey_FieldMask ¶

type AttestationDomain_EnrolledKey_FieldMask struct {
	Paths []AttestationDomainEnrolledKey_FieldPath
}

func FullAttestationDomain_EnrolledKey_FieldMask ¶

func FullAttestationDomain_EnrolledKey_FieldMask() *AttestationDomain_EnrolledKey_FieldMask

func (*AttestationDomain_EnrolledKey_FieldMask) AppendPath ¶

func (*AttestationDomain_EnrolledKey_FieldMask) AppendRawPath ¶

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

func (*AttestationDomain_EnrolledKey_FieldMask) DecodeFirestore ¶

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

func (*AttestationDomain_EnrolledKey_FieldMask) EncodeFirestore ¶

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

firestore encoding/decoding integration

func (*AttestationDomain_EnrolledKey_FieldMask) FilterInputFields ¶

FilterInputFields generates copy of field paths with output_only field paths removed

func (*AttestationDomain_EnrolledKey_FieldMask) FromProtoFieldMask ¶

func (fieldMask *AttestationDomain_EnrolledKey_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error

func (*AttestationDomain_EnrolledKey_FieldMask) GetPaths ¶

func (*AttestationDomain_EnrolledKey_FieldMask) GetRawPaths ¶

func (*AttestationDomain_EnrolledKey_FieldMask) IsFull ¶

func (fieldMask *AttestationDomain_EnrolledKey_FieldMask) IsFull() bool

func (AttestationDomain_EnrolledKey_FieldMask) Marshal ¶

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

implement methods required by customType

func (AttestationDomain_EnrolledKey_FieldMask) MarshalJSON ¶

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

func (*AttestationDomain_EnrolledKey_FieldMask) PathsCount ¶

func (fieldMask *AttestationDomain_EnrolledKey_FieldMask) PathsCount() int

func (*AttestationDomain_EnrolledKey_FieldMask) Project ¶

func (*AttestationDomain_EnrolledKey_FieldMask) ProjectRaw ¶

func (*AttestationDomain_EnrolledKey_FieldMask) ProtoMessage ¶

func (fieldMask *AttestationDomain_EnrolledKey_FieldMask) ProtoMessage()

func (*AttestationDomain_EnrolledKey_FieldMask) ProtoReflect ¶

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

func (*AttestationDomain_EnrolledKey_FieldMask) Reset ¶

func (fieldMask *AttestationDomain_EnrolledKey_FieldMask) Reset()

func (*AttestationDomain_EnrolledKey_FieldMask) Set ¶

func (*AttestationDomain_EnrolledKey_FieldMask) SetFromCliFlag ¶

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

func (*AttestationDomain_EnrolledKey_FieldMask) SetRaw ¶

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

func (*AttestationDomain_EnrolledKey_FieldMask) Size ¶

func (fieldMask *AttestationDomain_EnrolledKey_FieldMask) Size() int

func (*AttestationDomain_EnrolledKey_FieldMask) String ¶

func (fieldMask *AttestationDomain_EnrolledKey_FieldMask) String() string

func (*AttestationDomain_EnrolledKey_FieldMask) Subtract ¶

func (*AttestationDomain_EnrolledKey_FieldMask) SubtractRaw ¶

func (*AttestationDomain_EnrolledKey_FieldMask) ToProtoFieldMask ¶

func (fieldMask *AttestationDomain_EnrolledKey_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask

ToFieldMask is used for proto conversions

func (*AttestationDomain_EnrolledKey_FieldMask) Unmarshal ¶

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

func (*AttestationDomain_EnrolledKey_FieldMask) UnmarshalJSON ¶

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

type AttestationDomain_FieldMask ¶

type AttestationDomain_FieldMask struct {
	Paths []AttestationDomain_FieldPath
}

func FullAttestationDomain_FieldMask ¶

func FullAttestationDomain_FieldMask() *AttestationDomain_FieldMask

func ResourceViewFieldMask ¶

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

func (*AttestationDomain_FieldMask) AppendPath ¶

func (fieldMask *AttestationDomain_FieldMask) AppendPath(path AttestationDomain_FieldPath)

func (*AttestationDomain_FieldMask) AppendRawPath ¶

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

func (*AttestationDomain_FieldMask) DecodeFirestore ¶

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

func (*AttestationDomain_FieldMask) EncodeFirestore ¶

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

firestore encoding/decoding integration

func (*AttestationDomain_FieldMask) FilterInputFields ¶

func (fieldMask *AttestationDomain_FieldMask) FilterInputFields() *AttestationDomain_FieldMask

FilterInputFields generates copy of field paths with output_only field paths removed

func (*AttestationDomain_FieldMask) FromProtoFieldMask ¶

func (fieldMask *AttestationDomain_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error

func (*AttestationDomain_FieldMask) GetPaths ¶

func (*AttestationDomain_FieldMask) GetRawPaths ¶

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

func (*AttestationDomain_FieldMask) IsFull ¶

func (fieldMask *AttestationDomain_FieldMask) IsFull() bool

func (AttestationDomain_FieldMask) Marshal ¶

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

implement methods required by customType

func (AttestationDomain_FieldMask) MarshalJSON ¶

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

func (*AttestationDomain_FieldMask) PathsCount ¶

func (fieldMask *AttestationDomain_FieldMask) PathsCount() int

func (*AttestationDomain_FieldMask) Project ¶

func (*AttestationDomain_FieldMask) ProjectRaw ¶

func (*AttestationDomain_FieldMask) ProtoMessage ¶

func (fieldMask *AttestationDomain_FieldMask) ProtoMessage()

func (*AttestationDomain_FieldMask) ProtoReflect ¶

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

func (*AttestationDomain_FieldMask) Reset ¶

func (fieldMask *AttestationDomain_FieldMask) Reset()

func (*AttestationDomain_FieldMask) Set ¶

func (fieldMask *AttestationDomain_FieldMask) Set(target, source *AttestationDomain)

func (*AttestationDomain_FieldMask) SetFromCliFlag ¶

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

func (*AttestationDomain_FieldMask) SetRaw ¶

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

func (*AttestationDomain_FieldMask) Size ¶

func (fieldMask *AttestationDomain_FieldMask) Size() int

func (*AttestationDomain_FieldMask) String ¶

func (fieldMask *AttestationDomain_FieldMask) String() string

func (*AttestationDomain_FieldMask) Subtract ¶

func (*AttestationDomain_FieldMask) SubtractRaw ¶

func (*AttestationDomain_FieldMask) ToProtoFieldMask ¶

func (fieldMask *AttestationDomain_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask

ToFieldMask is used for proto conversions

func (*AttestationDomain_FieldMask) Unmarshal ¶

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

func (*AttestationDomain_FieldMask) UnmarshalJSON ¶

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

type AttestationDomain_FieldPath ¶

type AttestationDomain_FieldPath interface {
	gotenobject.FieldPath
	Selector() AttestationDomain_FieldPathSelector
	Get(source *AttestationDomain) []interface{}
	GetSingle(source *AttestationDomain) (interface{}, bool)
	ClearValue(item *AttestationDomain)

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

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

func MustParseAttestationDomain_FieldPath ¶

func MustParseAttestationDomain_FieldPath(rawField string) AttestationDomain_FieldPath

func ParseAttestationDomain_FieldPath ¶

func ParseAttestationDomain_FieldPath(rawField string) (AttestationDomain_FieldPath, error)

type AttestationDomain_FieldPathArrayItemValue ¶

type AttestationDomain_FieldPathArrayItemValue interface {
	gotenobject.FieldPathArrayItemValue
	AttestationDomain_FieldPath
	ContainsValue(*AttestationDomain) bool
}

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

func MustParseAttestationDomain_FieldPathArrayItemValue ¶

func MustParseAttestationDomain_FieldPathArrayItemValue(pathStr, valueStr string) AttestationDomain_FieldPathArrayItemValue

func ParseAttestationDomain_FieldPathArrayItemValue ¶

func ParseAttestationDomain_FieldPathArrayItemValue(pathStr, valueStr string) (AttestationDomain_FieldPathArrayItemValue, error)

ParseAttestationDomain_FieldPathArrayItemValue parses string and JSON-encoded value to its Value

type AttestationDomain_FieldPathArrayOfValues ¶

type AttestationDomain_FieldPathArrayOfValues interface {
	gotenobject.FieldPathArrayOfValues
	AttestationDomain_FieldPath
}

AttestationDomain_FieldPathArrayOfValues allows storing slice of values for AttestationDomain fields according to their type

func MustParseAttestationDomain_FieldPathArrayOfValues ¶

func MustParseAttestationDomain_FieldPathArrayOfValues(pathStr, valuesStr string) AttestationDomain_FieldPathArrayOfValues

func ParseAttestationDomain_FieldPathArrayOfValues ¶

func ParseAttestationDomain_FieldPathArrayOfValues(pathStr, valuesStr string) (AttestationDomain_FieldPathArrayOfValues, error)

type AttestationDomain_FieldPathSelector ¶

type AttestationDomain_FieldPathSelector int32
const (
	AttestationDomain_FieldPathSelectorMetadata                                   AttestationDomain_FieldPathSelector = 0
	AttestationDomain_FieldPathSelectorName                                       AttestationDomain_FieldPathSelector = 1
	AttestationDomain_FieldPathSelectorDisplayName                                AttestationDomain_FieldPathSelector = 2
	AttestationDomain_FieldPathSelectorInsecureSkipManufacturerEkcertVerification AttestationDomain_FieldPathSelector = 3
	AttestationDomain_FieldPathSelectorPolicies                                   AttestationDomain_FieldPathSelector = 4
	AttestationDomain_FieldPathSelectorEnrollmentList                             AttestationDomain_FieldPathSelector = 5
)

func (AttestationDomain_FieldPathSelector) String ¶

type AttestationDomain_FieldPathValue ¶

type AttestationDomain_FieldPathValue interface {
	AttestationDomain_FieldPath
	gotenobject.FieldPathValue
	SetTo(target **AttestationDomain)
	CompareWith(*AttestationDomain) (cmp int, comparable bool)
}

AttestationDomain_FieldPathValue allows storing values for AttestationDomain fields according to their type

func MustParseAttestationDomain_FieldPathValue ¶

func MustParseAttestationDomain_FieldPathValue(pathStr, valueStr string) AttestationDomain_FieldPathValue

func ParseAttestationDomain_FieldPathValue ¶

func ParseAttestationDomain_FieldPathValue(pathStr, valueStr string) (AttestationDomain_FieldPathValue, error)

type AttestationDomain_FieldSubPath ¶

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

func (*AttestationDomain_FieldSubPath) AsEnrollmentListSubPath ¶

func (*AttestationDomain_FieldSubPath) AsMetadataSubPath ¶

func (fps *AttestationDomain_FieldSubPath) AsMetadataSubPath() (ntt_meta.Meta_FieldPath, bool)

func (*AttestationDomain_FieldSubPath) AsPoliciesSubPath ¶

func (*AttestationDomain_FieldSubPath) ClearValue ¶

func (fps *AttestationDomain_FieldSubPath) ClearValue(item *AttestationDomain)

func (*AttestationDomain_FieldSubPath) ClearValueRaw ¶

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

func (*AttestationDomain_FieldSubPath) Get ¶

func (fps *AttestationDomain_FieldSubPath) Get(source *AttestationDomain) (values []interface{})

Get returns all values pointed by selected field from source AttestationDomain

func (*AttestationDomain_FieldSubPath) GetDefault ¶

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

GetDefault returns a default value of the field type

func (*AttestationDomain_FieldSubPath) GetRaw ¶

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

func (*AttestationDomain_FieldSubPath) GetSingle ¶

func (fps *AttestationDomain_FieldSubPath) GetSingle(source *AttestationDomain) (interface{}, bool)

GetSingle returns value of selected field from source AttestationDomain

func (*AttestationDomain_FieldSubPath) GetSingleRaw ¶

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

func (*AttestationDomain_FieldSubPath) IsLeaf ¶

func (fps *AttestationDomain_FieldSubPath) IsLeaf() bool

IsLeaf - whether field path is holds simple value

func (*AttestationDomain_FieldSubPath) JSONString ¶

func (fps *AttestationDomain_FieldSubPath) JSONString() string

JSONString returns path representation is JSON convention

func (*AttestationDomain_FieldSubPath) Selector ¶

func (*AttestationDomain_FieldSubPath) String ¶

func (fps *AttestationDomain_FieldSubPath) String() string

String returns path representation in proto convention

func (*AttestationDomain_FieldSubPath) WithIArrayItemValue ¶

func (fps *AttestationDomain_FieldSubPath) WithIArrayItemValue(value interface{}) AttestationDomain_FieldPathArrayItemValue

func (*AttestationDomain_FieldSubPath) WithIArrayOfValues ¶

func (fps *AttestationDomain_FieldSubPath) WithIArrayOfValues(values interface{}) AttestationDomain_FieldPathArrayOfValues

func (*AttestationDomain_FieldSubPath) WithIValue ¶

func (fps *AttestationDomain_FieldSubPath) WithIValue(value interface{}) AttestationDomain_FieldPathValue

func (*AttestationDomain_FieldSubPath) WithRawIArrayItemValue ¶

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

func (*AttestationDomain_FieldSubPath) WithRawIArrayOfValues ¶

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

func (*AttestationDomain_FieldSubPath) WithRawIValue ¶

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

type AttestationDomain_FieldSubPathArrayItemValue ¶

type AttestationDomain_FieldSubPathArrayItemValue struct {
	AttestationDomain_FieldPath
	// contains filtered or unexported fields
}

func (*AttestationDomain_FieldSubPathArrayItemValue) AsEnrollmentListPathItemValue ¶

func (*AttestationDomain_FieldSubPathArrayItemValue) AsMetadataPathItemValue ¶

func (*AttestationDomain_FieldSubPathArrayItemValue) AsPoliciesPathItemValue ¶

func (*AttestationDomain_FieldSubPathArrayItemValue) ContainsValue ¶

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

func (*AttestationDomain_FieldSubPathArrayItemValue) GetRawItemValue ¶

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

GetRawValue returns stored array item value

type AttestationDomain_FieldSubPathArrayOfValues ¶

type AttestationDomain_FieldSubPathArrayOfValues struct {
	AttestationDomain_FieldPath
	// contains filtered or unexported fields
}

func (*AttestationDomain_FieldSubPathArrayOfValues) AsEnrollmentListPathArrayOfValues ¶

func (*AttestationDomain_FieldSubPathArrayOfValues) AsMetadataPathArrayOfValues ¶

func (*AttestationDomain_FieldSubPathArrayOfValues) AsPoliciesPathArrayOfValues ¶

func (*AttestationDomain_FieldSubPathArrayOfValues) GetRawValues ¶

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

type AttestationDomain_FieldSubPathValue ¶

type AttestationDomain_FieldSubPathValue struct {
	AttestationDomain_FieldPath
	// contains filtered or unexported fields
}

func (*AttestationDomain_FieldSubPathValue) AsEnrollmentListPathValue ¶

func (*AttestationDomain_FieldSubPathValue) AsMetadataPathValue ¶

func (*AttestationDomain_FieldSubPathValue) AsPoliciesPathValue ¶

func (*AttestationDomain_FieldSubPathValue) CompareWith ¶

func (fpvs *AttestationDomain_FieldSubPathValue) CompareWith(source *AttestationDomain) (int, bool)

func (*AttestationDomain_FieldSubPathValue) CompareWithRaw ¶

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

func (*AttestationDomain_FieldSubPathValue) GetRawValue ¶

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

func (*AttestationDomain_FieldSubPathValue) SetTo ¶

func (*AttestationDomain_FieldSubPathValue) SetToRaw ¶

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

type AttestationDomain_FieldTerminalPath ¶

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

func (*AttestationDomain_FieldTerminalPath) ClearValue ¶

func (*AttestationDomain_FieldTerminalPath) ClearValueRaw ¶

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

func (*AttestationDomain_FieldTerminalPath) Get ¶

func (fp *AttestationDomain_FieldTerminalPath) Get(source *AttestationDomain) (values []interface{})

Get returns all values pointed by specific field from source AttestationDomain

func (*AttestationDomain_FieldTerminalPath) GetDefault ¶

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

GetDefault returns a default value of the field type

func (*AttestationDomain_FieldTerminalPath) GetRaw ¶

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

func (*AttestationDomain_FieldTerminalPath) GetSingle ¶

func (fp *AttestationDomain_FieldTerminalPath) GetSingle(source *AttestationDomain) (interface{}, bool)

GetSingle returns value pointed by specific field of from source AttestationDomain

func (*AttestationDomain_FieldTerminalPath) GetSingleRaw ¶

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

func (*AttestationDomain_FieldTerminalPath) IsLeaf ¶

IsLeaf - whether field path is holds simple value

func (*AttestationDomain_FieldTerminalPath) JSONString ¶

JSONString returns path representation is JSON convention

func (*AttestationDomain_FieldTerminalPath) Selector ¶

func (*AttestationDomain_FieldTerminalPath) String ¶

String returns path representation in proto convention

func (*AttestationDomain_FieldTerminalPath) WithIArrayItemValue ¶

func (fp *AttestationDomain_FieldTerminalPath) WithIArrayItemValue(value interface{}) AttestationDomain_FieldPathArrayItemValue

func (*AttestationDomain_FieldTerminalPath) WithIArrayOfValues ¶

func (fp *AttestationDomain_FieldTerminalPath) WithIArrayOfValues(values interface{}) AttestationDomain_FieldPathArrayOfValues

func (*AttestationDomain_FieldTerminalPath) WithIValue ¶

func (*AttestationDomain_FieldTerminalPath) WithRawIArrayItemValue ¶

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

func (*AttestationDomain_FieldTerminalPath) WithRawIArrayOfValues ¶

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

func (*AttestationDomain_FieldTerminalPath) WithRawIValue ¶

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

type AttestationDomain_FieldTerminalPathArrayItemValue ¶

type AttestationDomain_FieldTerminalPathArrayItemValue struct {
	AttestationDomain_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AttestationDomain_FieldTerminalPathArrayItemValue) AsEnrollmentListItemValue ¶

func (*AttestationDomain_FieldTerminalPathArrayItemValue) AsPoliciesItemValue ¶

func (*AttestationDomain_FieldTerminalPathArrayItemValue) ContainsValue ¶

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

func (*AttestationDomain_FieldTerminalPathArrayItemValue) GetRawItemValue ¶

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

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

func (*AttestationDomain_FieldTerminalPathArrayItemValue) GetSingle ¶

func (fpaiv *AttestationDomain_FieldTerminalPathArrayItemValue) GetSingle(source *AttestationDomain) (interface{}, bool)

func (*AttestationDomain_FieldTerminalPathArrayItemValue) GetSingleRaw ¶

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

type AttestationDomain_FieldTerminalPathArrayOfValues ¶

type AttestationDomain_FieldTerminalPathArrayOfValues struct {
	AttestationDomain_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AttestationDomain_FieldTerminalPathArrayOfValues) AsDisplayNameArrayOfValues ¶

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

func (*AttestationDomain_FieldTerminalPathArrayOfValues) AsEnrollmentListArrayOfValues ¶

func (fpaov *AttestationDomain_FieldTerminalPathArrayOfValues) AsEnrollmentListArrayOfValues() ([][]*AttestationDomain_EnrolledKey, bool)

func (*AttestationDomain_FieldTerminalPathArrayOfValues) AsInsecureSkipManufacturerEkcertVerificationArrayOfValues ¶

func (fpaov *AttestationDomain_FieldTerminalPathArrayOfValues) AsInsecureSkipManufacturerEkcertVerificationArrayOfValues() ([]bool, bool)

func (*AttestationDomain_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues ¶

func (fpaov *AttestationDomain_FieldTerminalPathArrayOfValues) AsMetadataArrayOfValues() ([]*ntt_meta.Meta, bool)

func (*AttestationDomain_FieldTerminalPathArrayOfValues) AsNameArrayOfValues ¶

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

func (*AttestationDomain_FieldTerminalPathArrayOfValues) AsPoliciesArrayOfValues ¶

func (fpaov *AttestationDomain_FieldTerminalPathArrayOfValues) AsPoliciesArrayOfValues() ([][]*AttestationDomain_Policy, bool)

func (*AttestationDomain_FieldTerminalPathArrayOfValues) GetRawValues ¶

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

type AttestationDomain_FieldTerminalPathValue ¶

type AttestationDomain_FieldTerminalPathValue struct {
	AttestationDomain_FieldTerminalPath
	// contains filtered or unexported fields
}

func (*AttestationDomain_FieldTerminalPathValue) AsDisplayNameValue ¶

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

func (*AttestationDomain_FieldTerminalPathValue) AsEnrollmentListValue ¶

func (*AttestationDomain_FieldTerminalPathValue) AsInsecureSkipManufacturerEkcertVerificationValue ¶

func (fpv *AttestationDomain_FieldTerminalPathValue) AsInsecureSkipManufacturerEkcertVerificationValue() (bool, bool)

func (*AttestationDomain_FieldTerminalPathValue) AsMetadataValue ¶

func (fpv *AttestationDomain_FieldTerminalPathValue) AsMetadataValue() (*ntt_meta.Meta, bool)

func (*AttestationDomain_FieldTerminalPathValue) AsNameValue ¶

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

func (*AttestationDomain_FieldTerminalPathValue) AsPoliciesValue ¶

func (*AttestationDomain_FieldTerminalPathValue) CompareWith ¶

CompareWith compares value in the 'AttestationDomain_FieldTerminalPathValue' with the value under path in 'AttestationDomain'.

func (*AttestationDomain_FieldTerminalPathValue) CompareWithRaw ¶

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

func (*AttestationDomain_FieldTerminalPathValue) GetRawValue ¶

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

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

func (*AttestationDomain_FieldTerminalPathValue) SetTo ¶

SetTo stores value for selected field for object AttestationDomain

func (*AttestationDomain_FieldTerminalPathValue) SetToRaw ¶

type AttestationDomain_Policy ¶

type AttestationDomain_Policy struct {

	// List of acceptable manufacturer's root CAs certs (in PEM format).
	//
	// To obtain such a cert, run something like:
	// `tpm2_getekcertificate -o cert.bin`
	// `openssl x509 -inform der -in cert.bin -noout -text`
	// Then manually download certificate specified in Authority Information
	// Access (AIA). Repeat the above `openssl` command on the newly
	// downloadedfile (change the value of `-in` argument). Continue this until
	// you reach a certificate which does not have AIA. It's the root
	// certificate. Convert it to PEM like so: `openssl x509 -inform der -in
	// root.crt -out root.pem` Still, we need to encode newlines: `awk 'NF
	// {sub(/\r/, ""); printf "%s\\n",$0;}' root.pem` Then paste the output
	// here.
	//
	// Note: multiple PEM certificates may be included here by simple means of
	// concatenation.
	ManufacturerRootCaCertsPem string `` /* 184-byte string literal not displayed */
	// If true, the attestee's pubkey SHALL be present on this
	// AttestationDomain's enrollment list, otherwise fail the attestation.
	RequireEnrollment bool `` /* 143-byte string literal not displayed */
	// If true, the verifier SHALL parse, replay and verify TPM event log
	// provided by the atestee, otherwise fail the attestation.
	// Note that requiring verification of event does not provide additional
	// security. See
	// https://github.com/google/go-attestation/blob/master/docs/event-log-disclosure.md#event-type-and-verification-footguns
	VerifyEventLog bool `` /* 133-byte string literal not displayed */
	// List of expected PCR values.
	// All PCRs on this list SHALL match exactly the PCRs provided by the
	// atestee, otherwise the attestation SHALL be failed. The verifier SHALL
	// perform sanity checks: PCR index/digest pairs are unique and the size of
	// the list is sane (TODO).
	// They can be read from TPM by running something like `tpm2_pcrread`.
	ExpectedPcrs []*iam_common.PCR `protobuf:"bytes,4,rep,name=expected_pcrs,json=expectedPcrs,proto3" json:"expected_pcrs,omitempty" firestore:"expectedPcrs"`
	// contains filtered or unexported fields
}

Policy defines a singular attestation policy, that should match a homogenous class of device (i.e. hardware and firmware configuration) in the fleet.

func (*AttestationDomain_Policy) Clone ¶

func (*AttestationDomain_Policy) CloneRaw ¶

func (*AttestationDomain_Policy) Descriptor ¶

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

Deprecated, Use AttestationDomain_Policy.ProtoReflect.Descriptor instead.

func (*AttestationDomain_Policy) GetExpectedPcrs ¶

func (m *AttestationDomain_Policy) GetExpectedPcrs() []*iam_common.PCR

func (*AttestationDomain_Policy) GetManufacturerRootCaCertsPem ¶

func (m *AttestationDomain_Policy) GetManufacturerRootCaCertsPem() string

func (*AttestationDomain_Policy) GetRequireEnrollment ¶

func (m *AttestationDomain_Policy) GetRequireEnrollment() bool

func (*AttestationDomain_Policy) GetVerifyEventLog ¶

func (m *AttestationDomain_Policy) GetVerifyEventLog() bool

func (*AttestationDomain_Policy) GotenMessage ¶

func (*AttestationDomain_Policy) GotenMessage()

func (*AttestationDomain_Policy) GotenObjectExt ¶

func (o *AttestationDomain_Policy) GotenObjectExt()

func (*AttestationDomain_Policy) GotenValidate ¶

func (obj *AttestationDomain_Policy) GotenValidate() error

func (*AttestationDomain_Policy) MakeDiffFieldMask ¶

func (*AttestationDomain_Policy) MakeFullFieldMask ¶

func (*AttestationDomain_Policy) MakeRawDiffFieldMask ¶

func (*AttestationDomain_Policy) MakeRawFullFieldMask ¶

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

func (*AttestationDomain_Policy) Marshal ¶

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

func (*AttestationDomain_Policy) MarshalJSON ¶

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

func (*AttestationDomain_Policy) Merge ¶

func (*AttestationDomain_Policy) MergeRaw ¶

func (*AttestationDomain_Policy) ProtoMessage ¶

func (*AttestationDomain_Policy) ProtoMessage()

func (*AttestationDomain_Policy) ProtoReflect ¶

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

func (*AttestationDomain_Policy) Reset ¶

func (m *AttestationDomain_Policy) Reset()

func (*AttestationDomain_Policy) SetExpectedPcrs ¶

func (m *AttestationDomain_Policy) SetExpectedPcrs(fv []*iam_common.PCR)

func (*AttestationDomain_Policy) SetManufacturerRootCaCertsPem ¶

func (m *AttestationDomain_Policy) SetManufacturerRootCaCertsPem(fv string)

func (*AttestationDomain_Policy) SetRequireEnrollment ¶

func (m *AttestationDomain_Policy) SetRequireEnrollment(fv bool)

func (*AttestationDomain_Policy) SetVerifyEventLog ¶

func (m *AttestationDomain_Policy) SetVerifyEventLog(fv bool)

func (*AttestationDomain_Policy) String ¶

func (m *AttestationDomain_Policy) String() string

func (*AttestationDomain_Policy) Unmarshal ¶

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

func (*AttestationDomain_Policy) UnmarshalJSON ¶

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

type AttestationDomain_PolicyPathSelectorExpectedPcrs ¶

type AttestationDomain_PolicyPathSelectorExpectedPcrs struct{}

func (AttestationDomain_PolicyPathSelectorExpectedPcrs) Comment ¶

func (AttestationDomain_PolicyPathSelectorExpectedPcrs) DigestAlg ¶

func (AttestationDomain_PolicyPathSelectorExpectedPcrs) DigestHex ¶

func (AttestationDomain_PolicyPathSelectorExpectedPcrs) FieldPath ¶

func (AttestationDomain_PolicyPathSelectorExpectedPcrs) Index ¶

func (AttestationDomain_PolicyPathSelectorExpectedPcrs) WithArrayOfValues ¶

func (AttestationDomain_PolicyPathSelectorExpectedPcrs) WithItemValue ¶

func (AttestationDomain_PolicyPathSelectorExpectedPcrs) WithSubArrayItemValue ¶

func (AttestationDomain_PolicyPathSelectorExpectedPcrs) WithSubArrayOfValues ¶

func (AttestationDomain_PolicyPathSelectorExpectedPcrs) WithSubPath ¶

func (AttestationDomain_PolicyPathSelectorExpectedPcrs) WithSubValue ¶

func (AttestationDomain_PolicyPathSelectorExpectedPcrs) WithValue ¶

type AttestationDomain_PolicyPathSelectorExpectedPcrsComment ¶

type AttestationDomain_PolicyPathSelectorExpectedPcrsComment struct{}

func (AttestationDomain_PolicyPathSelectorExpectedPcrsComment) FieldPath ¶

func (AttestationDomain_PolicyPathSelectorExpectedPcrsComment) WithArrayOfValues ¶

func (AttestationDomain_PolicyPathSelectorExpectedPcrsComment) WithValue ¶

type AttestationDomain_PolicyPathSelectorExpectedPcrsDigestAlg ¶

type AttestationDomain_PolicyPathSelectorExpectedPcrsDigestAlg struct{}

func (AttestationDomain_PolicyPathSelectorExpectedPcrsDigestAlg) FieldPath ¶

func (AttestationDomain_PolicyPathSelectorExpectedPcrsDigestAlg) WithArrayOfValues ¶

func (AttestationDomain_PolicyPathSelectorExpectedPcrsDigestAlg) WithValue ¶

type AttestationDomain_PolicyPathSelectorExpectedPcrsDigestHex ¶

type AttestationDomain_PolicyPathSelectorExpectedPcrsDigestHex struct{}

func (AttestationDomain_PolicyPathSelectorExpectedPcrsDigestHex) FieldPath ¶

func (AttestationDomain_PolicyPathSelectorExpectedPcrsDigestHex) WithArrayOfValues ¶

func (AttestationDomain_PolicyPathSelectorExpectedPcrsDigestHex) WithValue ¶

type AttestationDomain_PolicyPathSelectorExpectedPcrsIndex ¶

type AttestationDomain_PolicyPathSelectorExpectedPcrsIndex struct{}

func (AttestationDomain_PolicyPathSelectorExpectedPcrsIndex) FieldPath ¶

func (AttestationDomain_PolicyPathSelectorExpectedPcrsIndex) WithArrayOfValues ¶

func (AttestationDomain_PolicyPathSelectorExpectedPcrsIndex) WithValue ¶

type AttestationDomain_PolicyPathSelectorManufacturerRootCaCertsPem ¶

type AttestationDomain_PolicyPathSelectorManufacturerRootCaCertsPem struct{}

func (AttestationDomain_PolicyPathSelectorManufacturerRootCaCertsPem) FieldPath ¶

func (AttestationDomain_PolicyPathSelectorManufacturerRootCaCertsPem) WithArrayOfValues ¶

func (AttestationDomain_PolicyPathSelectorManufacturerRootCaCertsPem) WithValue ¶

type AttestationDomain_PolicyPathSelectorRequireEnrollment ¶

type AttestationDomain_PolicyPathSelectorRequireEnrollment struct{}

func (AttestationDomain_PolicyPathSelectorRequireEnrollment) FieldPath ¶

func (AttestationDomain_PolicyPathSelectorRequireEnrollment) WithArrayOfValues ¶

func (AttestationDomain_PolicyPathSelectorRequireEnrollment) WithValue ¶

type AttestationDomain_PolicyPathSelectorVerifyEventLog ¶

type AttestationDomain_PolicyPathSelectorVerifyEventLog struct{}

func (AttestationDomain_PolicyPathSelectorVerifyEventLog) FieldPath ¶

func (AttestationDomain_PolicyPathSelectorVerifyEventLog) WithArrayOfValues ¶

func (AttestationDomain_PolicyPathSelectorVerifyEventLog) WithValue ¶

type AttestationDomain_Policy_FieldMask ¶

type AttestationDomain_Policy_FieldMask struct {
	Paths []AttestationDomainPolicy_FieldPath
}

func FullAttestationDomain_Policy_FieldMask ¶

func FullAttestationDomain_Policy_FieldMask() *AttestationDomain_Policy_FieldMask

func (*AttestationDomain_Policy_FieldMask) AppendPath ¶

func (*AttestationDomain_Policy_FieldMask) AppendRawPath ¶

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

func (*AttestationDomain_Policy_FieldMask) DecodeFirestore ¶

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

func (*AttestationDomain_Policy_FieldMask) EncodeFirestore ¶

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

firestore encoding/decoding integration

func (*AttestationDomain_Policy_FieldMask) FilterInputFields ¶

FilterInputFields generates copy of field paths with output_only field paths removed

func (*AttestationDomain_Policy_FieldMask) FromProtoFieldMask ¶

func (fieldMask *AttestationDomain_Policy_FieldMask) FromProtoFieldMask(protoFieldMask *fieldmaskpb.FieldMask) error

func (*AttestationDomain_Policy_FieldMask) GetPaths ¶

func (*AttestationDomain_Policy_FieldMask) GetRawPaths ¶

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

func (*AttestationDomain_Policy_FieldMask) IsFull ¶

func (fieldMask *AttestationDomain_Policy_FieldMask) IsFull() bool

func (AttestationDomain_Policy_FieldMask) Marshal ¶

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

implement methods required by customType

func (AttestationDomain_Policy_FieldMask) MarshalJSON ¶

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

func (*AttestationDomain_Policy_FieldMask) PathsCount ¶

func (fieldMask *AttestationDomain_Policy_FieldMask) PathsCount() int

func (*AttestationDomain_Policy_FieldMask) Project ¶

func (*AttestationDomain_Policy_FieldMask) ProjectRaw ¶

func (*AttestationDomain_Policy_FieldMask) ProtoMessage ¶

func (fieldMask *AttestationDomain_Policy_FieldMask) ProtoMessage()

func (*AttestationDomain_Policy_FieldMask) ProtoReflect ¶

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

func (*AttestationDomain_Policy_FieldMask) Reset ¶

func (fieldMask *AttestationDomain_Policy_FieldMask) Reset()

func (*AttestationDomain_Policy_FieldMask) Set ¶

func (fieldMask *AttestationDomain_Policy_FieldMask) Set(target, source *AttestationDomain_Policy)

func (*AttestationDomain_Policy_FieldMask) SetFromCliFlag ¶

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

func (*AttestationDomain_Policy_FieldMask) SetRaw ¶

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

func (*AttestationDomain_Policy_FieldMask) Size ¶

func (fieldMask *AttestationDomain_Policy_FieldMask) Size() int

func (*AttestationDomain_Policy_FieldMask) String ¶

func (fieldMask *AttestationDomain_Policy_FieldMask) String() string

func (*AttestationDomain_Policy_FieldMask) Subtract ¶

func (*AttestationDomain_Policy_FieldMask) SubtractRaw ¶

func (*AttestationDomain_Policy_FieldMask) ToProtoFieldMask ¶

func (fieldMask *AttestationDomain_Policy_FieldMask) ToProtoFieldMask() *fieldmaskpb.FieldMask

ToFieldMask is used for proto conversions

func (*AttestationDomain_Policy_FieldMask) Unmarshal ¶

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

func (*AttestationDomain_Policy_FieldMask) UnmarshalJSON ¶

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

type Descriptor ¶

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

func GetDescriptor ¶

func GetDescriptor() *Descriptor

func (*Descriptor) GetNameDescriptor ¶

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

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 ¶ added in v0.4.16

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

func (*Descriptor) NewResourceFilter ¶ added in v0.4.16

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 ¶ added in v0.4.16

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

func (*Descriptor) NewSearchQuery ¶

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

func (*Descriptor) NewSearchQueryResultSnapshot ¶

func (d *Descriptor) NewSearchQueryResultSnapshot() gotenresource.SearchQueryResultSnapshot

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)

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

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 AttestationDomain_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 *AttestationDomain) bool

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

func AndFilterConditions ¶

func AndFilterConditions(conds ...FilterCondition) FilterCondition

type FilterConditionCompare ¶

type FilterConditionCompare struct {
	Operator filterParser.CompareOperator
	AttestationDomain_FieldPathValue
}

func (*FilterConditionCompare) And ¶

func (*FilterConditionCompare) ConditionCompare ¶

func (cond *FilterConditionCompare) ConditionCompare()

func (*FilterConditionCompare) Evaluate ¶

func (cond *FilterConditionCompare) Evaluate(res *AttestationDomain) 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 AttestationDomain_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 *AttestationDomain) 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 AttestationDomain_FieldPath) bool

func (*FilterConditionComposite) SpecifiesRawFieldPath ¶

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

func (*FilterConditionComposite) String ¶

func (cond *FilterConditionComposite) String() string

type FilterConditionContains ¶

func (*FilterConditionContains) And ¶

func (*FilterConditionContains) ConditionContains ¶

func (cond *FilterConditionContains) ConditionContains()

func (*FilterConditionContains) ConditionContainsType ¶

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

func (*FilterConditionContains) Evaluate ¶

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

func (*FilterConditionContains) EvaluateRaw ¶

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

func (*FilterConditionContains) GetFieldPath ¶

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 AttestationDomain_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 {
	AttestationDomain_FieldPathArrayOfValues
}

func (*FilterConditionIn) And ¶

func (*FilterConditionIn) ConditionIn ¶

func (cond *FilterConditionIn) ConditionIn()

func (*FilterConditionIn) Evaluate ¶

func (cond *FilterConditionIn) Evaluate(res *AttestationDomain) 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 AttestationDomain_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 AttestationDomain_FieldPath
}

func (*FilterConditionIsNaN) And ¶

func (*FilterConditionIsNaN) ConditionIsNaN ¶

func (cond *FilterConditionIsNaN) ConditionIsNaN()

func (*FilterConditionIsNaN) Evaluate ¶

func (cond *FilterConditionIsNaN) Evaluate(res *AttestationDomain) 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 AttestationDomain_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 AttestationDomain_FieldPath
}

func (*FilterConditionIsNull) And ¶

func (*FilterConditionIsNull) ConditionIsNull ¶

func (cond *FilterConditionIsNull) ConditionIsNull()

func (*FilterConditionIsNull) Evaluate ¶

func (cond *FilterConditionIsNull) Evaluate(res *AttestationDomain) 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 AttestationDomain_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 *AttestationDomain) 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 AttestationDomain_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 {
	AttestationDomain_FieldPathArrayOfValues
}

func (*FilterConditionNotIn) And ¶

func (*FilterConditionNotIn) ConditionNotIn ¶

func (cond *FilterConditionNotIn) ConditionNotIn()

func (*FilterConditionNotIn) Evaluate ¶

func (cond *FilterConditionNotIn) Evaluate(res *AttestationDomain) 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 AttestationDomain_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      *AttestationDomain_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   *AttestationDomain_FieldMask
}

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) 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) String ¶

func (q *ListQuery) String() string

type Name ¶

type Name struct {
	ParentName
	AttestationDomainId string `firestore:"attestationDomainId"`
}

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

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

func (*OrderBy) CompareRaw ¶

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

func (*OrderBy) GetFieldMask ¶

func (orderBy *OrderBy) GetFieldMask() *AttestationDomain_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 AttestationDomainList, elem *AttestationDomain) (AttestationDomainList, 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 AttestationDomainList)

func (*OrderBy) SortRaw ¶

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

func (*OrderBy) String ¶

func (orderBy *OrderBy) String() string

type OrderByField ¶

type OrderByField struct {
	FieldPath AttestationDomain_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 *AttestationDomain) 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

type ParentName ¶

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

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) DescendsFrom ¶

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

func (*ParentName) FullyQualifiedName ¶

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

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) IsFullyQualified ¶

func (name *ParentName) IsFullyQualified() bool

func (*ParentName) IsSpecified ¶

func (name *ParentName) IsSpecified() bool

func (*ParentName) Matches ¶

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

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

func (*ParentName) ParseProtoString ¶

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

func (*ParentName) ProtoString ¶

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

func (*ParentName) SetFromCliFlag ¶

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

implement CustomTypeCliValue method

func (*ParentName) SetFromSegments ¶

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

func (*ParentName) String ¶

func (name *ParentName) String() string

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) ConvertToNative ¶ added in v0.6.9

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

func (*ParentReference) ConvertToType ¶ added in v0.6.9

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

func (*ParentReference) Equal ¶ added in v0.6.9

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

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) HasTrait ¶ added in v0.6.9

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

func (*ParentReference) IsFullyQualified ¶

func (ref *ParentReference) IsFullyQualified() bool

func (*ParentReference) IsSpecified ¶

func (ref *ParentReference) IsSpecified() bool

func (*ParentReference) Match ¶ added in v0.6.9

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

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) Receive ¶ added in v0.6.9

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

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

func (*ParentReference) Type ¶ added in v0.6.9

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

func (*ParentReference) TypeName ¶ added in v0.6.9

func (name *ParentReference) TypeName() string

func (*ParentReference) Value ¶ added in v0.6.9

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

type QueryResultChange ¶

type QueryResultChange struct {
	Changes        []*AttestationDomainChange
	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 {
	AttestationDomains []*AttestationDomain
	PrevPageCursor     *PagerCursor
	NextPageCursor     *PagerCursor
}

func (*QueryResultSnapshot) GetNextPageCursor ¶

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

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) 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, attestationDomain *AttestationDomain) (*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) GetAttestationDomain ¶

func (ref *Reference) GetAttestationDomain() *AttestationDomain

func (*Reference) GetIdParts ¶

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

func (*Reference) GetPattern ¶

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

func (*Reference) GetRawResource ¶

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

func (*Reference) GetResourceDescriptor ¶

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

func (*Reference) GetSegments ¶

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

func (*Reference) GotenEqual ¶

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

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

func (*Reference) IsFullyQualified ¶

func (ref *Reference) IsFullyQualified() bool

func (*Reference) IsSpecified ¶

func (ref *Reference) IsSpecified() bool

func (*Reference) Matches ¶

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

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

func (*Reference) ParseProtoString ¶

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

func (*Reference) ProtoString ¶

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

func (*Reference) Resolve ¶

func (ref *Reference) Resolve(resolved *AttestationDomain)

func (*Reference) ResolveRaw ¶

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

func (*Reference) Resolved ¶

func (ref *Reference) Resolved() bool

func (*Reference) SetFromCliFlag ¶

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

implement CustomTypeCliValue method

func (*Reference) String ¶

func (ref *Reference) String() string

type WatchQuery ¶

type WatchQuery struct {
	ListQuery
	WatchType   watch_type.WatchType
	ChunkSize   int
	ResumeToken string
}

func (*WatchQuery) GetMaximumChunkSize ¶

func (q *WatchQuery) GetMaximumChunkSize() int

func (*WatchQuery) GetResumeToken ¶

func (q *WatchQuery) GetResumeToken() string

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) SetWatchType ¶

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

func (*WatchQuery) String ¶ added in v0.4.29

func (q *WatchQuery) String() string

Jump to

Keyboard shortcuts

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