common

package
v0.33.3 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 14 Imported by: 20

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_aserto_directory_common_v3_common_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Object

type Object struct {

	// object type name
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// external object identifier (cs-string, no spaces or tabs)
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// display name object
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// property bag
	Properties *structpb.Struct `protobuf:"bytes,4,opt,name=properties,proto3" json:"properties,omitempty"`
	// created at timestamp (UTC)
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// last updated timestamp (UTC)
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// object instance etag
	Etag string `protobuf:"bytes,23,opt,name=etag,proto3" json:"etag,omitempty"`
	// contains filtered or unexported fields
}

func (*Object) CloneMessageVT added in v0.33.2

func (m *Object) CloneMessageVT() proto.Message

func (*Object) CloneVT added in v0.33.2

func (m *Object) CloneVT() *Object

func (*Object) Descriptor deprecated

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

Deprecated: Use Object.ProtoReflect.Descriptor instead.

func (*Object) EqualMessageVT added in v0.33.2

func (this *Object) EqualMessageVT(thatMsg proto.Message) bool

func (*Object) EqualVT added in v0.33.2

func (this *Object) EqualVT(that *Object) bool

func (*Object) GetCreatedAt

func (x *Object) GetCreatedAt() *timestamppb.Timestamp

func (*Object) GetDisplayName

func (x *Object) GetDisplayName() string

func (*Object) GetEtag

func (x *Object) GetEtag() string

func (*Object) GetId

func (x *Object) GetId() string

func (*Object) GetProperties

func (x *Object) GetProperties() *structpb.Struct

func (*Object) GetType

func (x *Object) GetType() string

func (*Object) GetUpdatedAt

func (x *Object) GetUpdatedAt() *timestamppb.Timestamp

func (*Object) MarshalToSizedBufferVT added in v0.33.2

func (m *Object) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Object) MarshalToVT added in v0.33.2

func (m *Object) MarshalToVT(dAtA []byte) (int, error)

func (*Object) MarshalVT added in v0.33.2

func (m *Object) MarshalVT() (dAtA []byte, err error)

func (*Object) ProtoMessage

func (*Object) ProtoMessage()

func (*Object) ProtoReflect

func (x *Object) ProtoReflect() protoreflect.Message

func (*Object) Reset

func (x *Object) Reset()

func (*Object) SizeVT added in v0.33.2

func (m *Object) SizeVT() (n int)

func (*Object) String

func (x *Object) String() string

func (*Object) UnmarshalVT added in v0.33.2

func (m *Object) UnmarshalVT(dAtA []byte) error

type ObjectIdentifier

type ObjectIdentifier struct {

	// object type (lc-string)
	ObjectType string `protobuf:"bytes,1,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty"`
	// object identifier (cs-string)
	ObjectId string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	// contains filtered or unexported fields
}

Object identifier

func (*ObjectIdentifier) CloneMessageVT added in v0.33.2

func (m *ObjectIdentifier) CloneMessageVT() proto.Message

func (*ObjectIdentifier) CloneVT added in v0.33.2

func (m *ObjectIdentifier) CloneVT() *ObjectIdentifier

func (*ObjectIdentifier) Descriptor deprecated

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

Deprecated: Use ObjectIdentifier.ProtoReflect.Descriptor instead.

func (*ObjectIdentifier) EqualMessageVT added in v0.33.2

func (this *ObjectIdentifier) EqualMessageVT(thatMsg proto.Message) bool

func (*ObjectIdentifier) EqualVT added in v0.33.2

func (this *ObjectIdentifier) EqualVT(that *ObjectIdentifier) bool

func (*ObjectIdentifier) GetObjectId

func (x *ObjectIdentifier) GetObjectId() string

func (*ObjectIdentifier) GetObjectType

func (x *ObjectIdentifier) GetObjectType() string

func (*ObjectIdentifier) MarshalToSizedBufferVT added in v0.33.2

func (m *ObjectIdentifier) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*ObjectIdentifier) MarshalToVT added in v0.33.2

func (m *ObjectIdentifier) MarshalToVT(dAtA []byte) (int, error)

func (*ObjectIdentifier) MarshalVT added in v0.33.2

func (m *ObjectIdentifier) MarshalVT() (dAtA []byte, err error)

func (*ObjectIdentifier) ProtoMessage

func (*ObjectIdentifier) ProtoMessage()

func (*ObjectIdentifier) ProtoReflect

func (x *ObjectIdentifier) ProtoReflect() protoreflect.Message

func (*ObjectIdentifier) Reset

func (x *ObjectIdentifier) Reset()

func (*ObjectIdentifier) SizeVT added in v0.33.2

func (m *ObjectIdentifier) SizeVT() (n int)

func (*ObjectIdentifier) String

func (x *ObjectIdentifier) String() string

func (*ObjectIdentifier) UnmarshalVT added in v0.33.2

func (m *ObjectIdentifier) UnmarshalVT(dAtA []byte) error

type PaginationRequest

type PaginationRequest struct {

	// requested page size, valid value between 1-100 rows (default 100)
	Size int32 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	// pagination start token, default ""
	Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

Pagination request

func (*PaginationRequest) CloneMessageVT added in v0.33.2

func (m *PaginationRequest) CloneMessageVT() proto.Message

func (*PaginationRequest) CloneVT added in v0.33.2

func (m *PaginationRequest) CloneVT() *PaginationRequest

func (*PaginationRequest) Descriptor deprecated

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

Deprecated: Use PaginationRequest.ProtoReflect.Descriptor instead.

func (*PaginationRequest) EqualMessageVT added in v0.33.2

func (this *PaginationRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*PaginationRequest) EqualVT added in v0.33.2

func (this *PaginationRequest) EqualVT(that *PaginationRequest) bool

func (*PaginationRequest) GetSize

func (x *PaginationRequest) GetSize() int32

func (*PaginationRequest) GetToken

func (x *PaginationRequest) GetToken() string

func (*PaginationRequest) MarshalToSizedBufferVT added in v0.33.2

func (m *PaginationRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PaginationRequest) MarshalToVT added in v0.33.2

func (m *PaginationRequest) MarshalToVT(dAtA []byte) (int, error)

func (*PaginationRequest) MarshalVT added in v0.33.2

func (m *PaginationRequest) MarshalVT() (dAtA []byte, err error)

func (*PaginationRequest) ProtoMessage

func (*PaginationRequest) ProtoMessage()

func (*PaginationRequest) ProtoReflect

func (x *PaginationRequest) ProtoReflect() protoreflect.Message

func (*PaginationRequest) Reset

func (x *PaginationRequest) Reset()

func (*PaginationRequest) SizeVT added in v0.33.2

func (m *PaginationRequest) SizeVT() (n int)

func (*PaginationRequest) String

func (x *PaginationRequest) String() string

func (*PaginationRequest) UnmarshalVT added in v0.33.2

func (m *PaginationRequest) UnmarshalVT(dAtA []byte) error

type PaginationResponse

type PaginationResponse struct {

	// next page token, when empty there are no more pages to fetch
	NextToken string `protobuf:"bytes,1,opt,name=next_token,json=nextToken,proto3" json:"next_token,omitempty"`
	// contains filtered or unexported fields
}

Pagination response

func (*PaginationResponse) CloneMessageVT added in v0.33.2

func (m *PaginationResponse) CloneMessageVT() proto.Message

func (*PaginationResponse) CloneVT added in v0.33.2

func (m *PaginationResponse) CloneVT() *PaginationResponse

func (*PaginationResponse) Descriptor deprecated

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

Deprecated: Use PaginationResponse.ProtoReflect.Descriptor instead.

func (*PaginationResponse) EqualMessageVT added in v0.33.2

func (this *PaginationResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*PaginationResponse) EqualVT added in v0.33.2

func (this *PaginationResponse) EqualVT(that *PaginationResponse) bool

func (*PaginationResponse) GetNextToken

func (x *PaginationResponse) GetNextToken() string

func (*PaginationResponse) MarshalToSizedBufferVT added in v0.33.2

func (m *PaginationResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PaginationResponse) MarshalToVT added in v0.33.2

func (m *PaginationResponse) MarshalToVT(dAtA []byte) (int, error)

func (*PaginationResponse) MarshalVT added in v0.33.2

func (m *PaginationResponse) MarshalVT() (dAtA []byte, err error)

func (*PaginationResponse) ProtoMessage

func (*PaginationResponse) ProtoMessage()

func (*PaginationResponse) ProtoReflect

func (x *PaginationResponse) ProtoReflect() protoreflect.Message

func (*PaginationResponse) Reset

func (x *PaginationResponse) Reset()

func (*PaginationResponse) SizeVT added in v0.33.2

func (m *PaginationResponse) SizeVT() (n int)

func (*PaginationResponse) String

func (x *PaginationResponse) String() string

func (*PaginationResponse) UnmarshalVT added in v0.33.2

func (m *PaginationResponse) UnmarshalVT(dAtA []byte) error

type Relation

type Relation struct {

	// object type
	ObjectType string `protobuf:"bytes,1,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty"`
	// object identifier
	ObjectId string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	// object relation name
	Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"`
	// subject type
	SubjectType string `protobuf:"bytes,4,opt,name=subject_type,json=subjectType,proto3" json:"subject_type,omitempty"`
	// subject identifier
	SubjectId string `protobuf:"bytes,5,opt,name=subject_id,json=subjectId,proto3" json:"subject_id,omitempty"`
	// optional subject relation name
	SubjectRelation string `protobuf:"bytes,6,opt,name=subject_relation,json=subjectRelation,proto3" json:"subject_relation,omitempty"`
	// created at timestamp (UTC)
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// last updated timestamp (UTC)
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,21,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// object instance etag
	Etag string `protobuf:"bytes,23,opt,name=etag,proto3" json:"etag,omitempty"`
	// contains filtered or unexported fields
}

func (*Relation) CloneMessageVT added in v0.33.2

func (m *Relation) CloneMessageVT() proto.Message

func (*Relation) CloneVT added in v0.33.2

func (m *Relation) CloneVT() *Relation

func (*Relation) Descriptor deprecated

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

Deprecated: Use Relation.ProtoReflect.Descriptor instead.

func (*Relation) EqualMessageVT added in v0.33.2

func (this *Relation) EqualMessageVT(thatMsg proto.Message) bool

func (*Relation) EqualVT added in v0.33.2

func (this *Relation) EqualVT(that *Relation) bool

func (*Relation) GetCreatedAt

func (x *Relation) GetCreatedAt() *timestamppb.Timestamp

func (*Relation) GetEtag

func (x *Relation) GetEtag() string

func (*Relation) GetObjectId

func (x *Relation) GetObjectId() string

func (*Relation) GetObjectType

func (x *Relation) GetObjectType() string

func (*Relation) GetRelation

func (x *Relation) GetRelation() string

func (*Relation) GetSubjectId

func (x *Relation) GetSubjectId() string

func (*Relation) GetSubjectRelation

func (x *Relation) GetSubjectRelation() string

func (*Relation) GetSubjectType

func (x *Relation) GetSubjectType() string

func (*Relation) GetUpdatedAt

func (x *Relation) GetUpdatedAt() *timestamppb.Timestamp

func (*Relation) MarshalToSizedBufferVT added in v0.33.2

func (m *Relation) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Relation) MarshalToVT added in v0.33.2

func (m *Relation) MarshalToVT(dAtA []byte) (int, error)

func (*Relation) MarshalVT added in v0.33.2

func (m *Relation) MarshalVT() (dAtA []byte, err error)

func (*Relation) ProtoMessage

func (*Relation) ProtoMessage()

func (*Relation) ProtoReflect

func (x *Relation) ProtoReflect() protoreflect.Message

func (*Relation) Reset

func (x *Relation) Reset()

func (*Relation) SizeVT added in v0.33.2

func (m *Relation) SizeVT() (n int)

func (*Relation) String

func (x *Relation) String() string

func (*Relation) UnmarshalVT added in v0.33.2

func (m *Relation) UnmarshalVT(dAtA []byte) error

type RelationIdentifier added in v0.30.11

type RelationIdentifier struct {

	// object type
	ObjectType string `protobuf:"bytes,1,opt,name=object_type,json=objectType,proto3" json:"object_type,omitempty"`
	// object identifier
	ObjectId string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	// object relation name
	Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"`
	// subject type
	SubjectType string `protobuf:"bytes,4,opt,name=subject_type,json=subjectType,proto3" json:"subject_type,omitempty"`
	// subject identifier
	SubjectId string `protobuf:"bytes,5,opt,name=subject_id,json=subjectId,proto3" json:"subject_id,omitempty"`
	// optional subject relation name
	SubjectRelation string `protobuf:"bytes,6,opt,name=subject_relation,json=subjectRelation,proto3" json:"subject_relation,omitempty"`
	// contains filtered or unexported fields
}

Relation identifier

func RelationIdentifierFromVTPool added in v0.33.2

func RelationIdentifierFromVTPool() *RelationIdentifier

func (*RelationIdentifier) CloneMessageVT added in v0.33.2

func (m *RelationIdentifier) CloneMessageVT() proto.Message

func (*RelationIdentifier) CloneVT added in v0.33.2

func (m *RelationIdentifier) CloneVT() *RelationIdentifier

func (*RelationIdentifier) Descriptor deprecated added in v0.30.11

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

Deprecated: Use RelationIdentifier.ProtoReflect.Descriptor instead.

func (*RelationIdentifier) EqualMessageVT added in v0.33.2

func (this *RelationIdentifier) EqualMessageVT(thatMsg proto.Message) bool

func (*RelationIdentifier) EqualVT added in v0.33.2

func (this *RelationIdentifier) EqualVT(that *RelationIdentifier) bool

func (*RelationIdentifier) GetObjectId added in v0.30.11

func (x *RelationIdentifier) GetObjectId() string

func (*RelationIdentifier) GetObjectType added in v0.30.11

func (x *RelationIdentifier) GetObjectType() string

func (*RelationIdentifier) GetRelation added in v0.30.11

func (x *RelationIdentifier) GetRelation() string

func (*RelationIdentifier) GetSubjectId added in v0.30.11

func (x *RelationIdentifier) GetSubjectId() string

func (*RelationIdentifier) GetSubjectRelation added in v0.30.11

func (x *RelationIdentifier) GetSubjectRelation() string

func (*RelationIdentifier) GetSubjectType added in v0.30.11

func (x *RelationIdentifier) GetSubjectType() string

func (*RelationIdentifier) MarshalToSizedBufferVT added in v0.33.2

func (m *RelationIdentifier) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RelationIdentifier) MarshalToVT added in v0.33.2

func (m *RelationIdentifier) MarshalToVT(dAtA []byte) (int, error)

func (*RelationIdentifier) MarshalVT added in v0.33.2

func (m *RelationIdentifier) MarshalVT() (dAtA []byte, err error)

func (*RelationIdentifier) ProtoMessage added in v0.30.11

func (*RelationIdentifier) ProtoMessage()

func (*RelationIdentifier) ProtoReflect added in v0.30.11

func (x *RelationIdentifier) ProtoReflect() protoreflect.Message

func (*RelationIdentifier) Reset added in v0.30.11

func (x *RelationIdentifier) Reset()

func (*RelationIdentifier) ResetVT added in v0.33.2

func (m *RelationIdentifier) ResetVT()

func (*RelationIdentifier) ReturnToVTPool added in v0.33.2

func (m *RelationIdentifier) ReturnToVTPool()

func (*RelationIdentifier) SizeVT added in v0.33.2

func (m *RelationIdentifier) SizeVT() (n int)

func (*RelationIdentifier) String added in v0.30.11

func (x *RelationIdentifier) String() string

func (*RelationIdentifier) UnmarshalVT added in v0.33.2

func (m *RelationIdentifier) UnmarshalVT(dAtA []byte) error

Jump to

Keyboard shortcuts

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