authorization

package
v1.29.0-20230510112547... Latest Latest
Warning

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

Go to latest
Published: unknown License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_nuntio_management_api_authorization_service_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CheckPermissionRequest

type CheckPermissionRequest struct {
	Token      *user.ConsistencyToken `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Resource   *user.ObjectReference  `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	Permission string                 `protobuf:"bytes,3,opt,name=permission,proto3" json:"permission,omitempty"`
	Subject    *user.SubjectReference `protobuf:"bytes,4,opt,name=subject,proto3" json:"subject,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckPermissionRequest) Descriptor deprecated

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

Deprecated: Use CheckPermissionRequest.ProtoReflect.Descriptor instead.

func (*CheckPermissionRequest) GetPermission

func (x *CheckPermissionRequest) GetPermission() string

func (*CheckPermissionRequest) GetResource

func (x *CheckPermissionRequest) GetResource() *user.ObjectReference

func (*CheckPermissionRequest) GetSubject

func (x *CheckPermissionRequest) GetSubject() *user.SubjectReference

func (*CheckPermissionRequest) GetToken

func (*CheckPermissionRequest) ProtoMessage

func (*CheckPermissionRequest) ProtoMessage()

func (*CheckPermissionRequest) ProtoReflect

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

func (*CheckPermissionRequest) Reset

func (x *CheckPermissionRequest) Reset()

func (*CheckPermissionRequest) String

func (x *CheckPermissionRequest) String() string

type CheckPermissionResponse

type CheckPermissionResponse struct {
	CheckedAt  *user.ConsistencyToken `protobuf:"bytes,1,opt,name=checked_at,json=checkedAt,proto3" json:"checked_at,omitempty"`
	Permission user.Permissionship    `protobuf:"varint,2,opt,name=permission,proto3,enum=nuntio.management.model.user.Permissionship" json:"permission,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckPermissionResponse) Descriptor deprecated

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

Deprecated: Use CheckPermissionResponse.ProtoReflect.Descriptor instead.

func (*CheckPermissionResponse) GetCheckedAt

func (x *CheckPermissionResponse) GetCheckedAt() *user.ConsistencyToken

func (*CheckPermissionResponse) GetPermission

func (x *CheckPermissionResponse) GetPermission() user.Permissionship

func (*CheckPermissionResponse) ProtoMessage

func (*CheckPermissionResponse) ProtoMessage()

func (*CheckPermissionResponse) ProtoReflect

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

func (*CheckPermissionResponse) Reset

func (x *CheckPermissionResponse) Reset()

func (*CheckPermissionResponse) String

func (x *CheckPermissionResponse) String() string

type DeleteRelationshipsRequest

type DeleteRelationshipsRequest struct {
	Filter *user.RelationshipFilter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRelationshipsRequest) Descriptor deprecated

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

Deprecated: Use DeleteRelationshipsRequest.ProtoReflect.Descriptor instead.

func (*DeleteRelationshipsRequest) GetFilter

func (*DeleteRelationshipsRequest) ProtoMessage

func (*DeleteRelationshipsRequest) ProtoMessage()

func (*DeleteRelationshipsRequest) ProtoReflect

func (*DeleteRelationshipsRequest) Reset

func (x *DeleteRelationshipsRequest) Reset()

func (*DeleteRelationshipsRequest) String

func (x *DeleteRelationshipsRequest) String() string

type DeleteRelationshipsResponse

type DeleteRelationshipsResponse struct {
	DeletedAt *user.ConsistencyToken `protobuf:"bytes,1,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRelationshipsResponse) Descriptor deprecated

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

Deprecated: Use DeleteRelationshipsResponse.ProtoReflect.Descriptor instead.

func (*DeleteRelationshipsResponse) GetDeletedAt

func (*DeleteRelationshipsResponse) ProtoMessage

func (*DeleteRelationshipsResponse) ProtoMessage()

func (*DeleteRelationshipsResponse) ProtoReflect

func (*DeleteRelationshipsResponse) Reset

func (x *DeleteRelationshipsResponse) Reset()

func (*DeleteRelationshipsResponse) String

func (x *DeleteRelationshipsResponse) String() string

type GetRelationshipsRequest

type GetRelationshipsRequest struct {
	Token  *user.ConsistencyToken   `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Filter *user.RelationshipFilter `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRelationshipsRequest) Descriptor deprecated

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

Deprecated: Use GetRelationshipsRequest.ProtoReflect.Descriptor instead.

func (*GetRelationshipsRequest) GetFilter

func (*GetRelationshipsRequest) GetToken

func (*GetRelationshipsRequest) ProtoMessage

func (*GetRelationshipsRequest) ProtoMessage()

func (*GetRelationshipsRequest) ProtoReflect

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

func (*GetRelationshipsRequest) Reset

func (x *GetRelationshipsRequest) Reset()

func (*GetRelationshipsRequest) String

func (x *GetRelationshipsRequest) String() string

type GetRelationshipsResponse

type GetRelationshipsResponse struct {
	GotAt         *user.ConsistencyToken `protobuf:"bytes,1,opt,name=got_at,json=gotAt,proto3" json:"got_at,omitempty"`
	Relationships []*user.Relationship   `protobuf:"bytes,2,rep,name=relationships,proto3" json:"relationships,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRelationshipsResponse) Descriptor deprecated

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

Deprecated: Use GetRelationshipsResponse.ProtoReflect.Descriptor instead.

func (*GetRelationshipsResponse) GetGotAt

func (*GetRelationshipsResponse) GetRelationships

func (x *GetRelationshipsResponse) GetRelationships() []*user.Relationship

func (*GetRelationshipsResponse) ProtoMessage

func (*GetRelationshipsResponse) ProtoMessage()

func (*GetRelationshipsResponse) ProtoReflect

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

func (*GetRelationshipsResponse) Reset

func (x *GetRelationshipsResponse) Reset()

func (*GetRelationshipsResponse) String

func (x *GetRelationshipsResponse) String() string

type GetResourcesRequest

type GetResourcesRequest struct {
	Token        *user.ConsistencyToken `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	ResourceType string                 `protobuf:"bytes,2,opt,name=resource_type,json=resourceType,proto3" json:"resource_type,omitempty"`
	Permission   string                 `protobuf:"bytes,3,opt,name=permission,proto3" json:"permission,omitempty"`
	Subject      *user.SubjectReference `protobuf:"bytes,4,opt,name=subject,proto3" json:"subject,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResourcesRequest) Descriptor deprecated

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

Deprecated: Use GetResourcesRequest.ProtoReflect.Descriptor instead.

func (*GetResourcesRequest) GetPermission

func (x *GetResourcesRequest) GetPermission() string

func (*GetResourcesRequest) GetResourceType

func (x *GetResourcesRequest) GetResourceType() string

func (*GetResourcesRequest) GetSubject

func (x *GetResourcesRequest) GetSubject() *user.SubjectReference

func (*GetResourcesRequest) GetToken

func (x *GetResourcesRequest) GetToken() *user.ConsistencyToken

func (*GetResourcesRequest) ProtoMessage

func (*GetResourcesRequest) ProtoMessage()

func (*GetResourcesRequest) ProtoReflect

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

func (*GetResourcesRequest) Reset

func (x *GetResourcesRequest) Reset()

func (*GetResourcesRequest) String

func (x *GetResourcesRequest) String() string

type GetResourcesResponse

type GetResourcesResponse struct {
	GotAt     *user.ConsistencyToken  `protobuf:"bytes,1,opt,name=got_at,json=gotAt,proto3" json:"got_at,omitempty"`
	Resources []*user.ObjectRetrieved `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResourcesResponse) Descriptor deprecated

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

Deprecated: Use GetResourcesResponse.ProtoReflect.Descriptor instead.

func (*GetResourcesResponse) GetGotAt

func (*GetResourcesResponse) GetResources

func (x *GetResourcesResponse) GetResources() []*user.ObjectRetrieved

func (*GetResourcesResponse) ProtoMessage

func (*GetResourcesResponse) ProtoMessage()

func (*GetResourcesResponse) ProtoReflect

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

func (*GetResourcesResponse) Reset

func (x *GetResourcesResponse) Reset()

func (*GetResourcesResponse) String

func (x *GetResourcesResponse) String() string

type GetSchemaRequest

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

func (*GetSchemaRequest) Descriptor deprecated

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

Deprecated: Use GetSchemaRequest.ProtoReflect.Descriptor instead.

func (*GetSchemaRequest) ProtoMessage

func (*GetSchemaRequest) ProtoMessage()

func (*GetSchemaRequest) ProtoReflect

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

func (*GetSchemaRequest) Reset

func (x *GetSchemaRequest) Reset()

func (*GetSchemaRequest) String

func (x *GetSchemaRequest) String() string

type GetSchemaResponse

type GetSchemaResponse struct {
	Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSchemaResponse) Descriptor deprecated

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

Deprecated: Use GetSchemaResponse.ProtoReflect.Descriptor instead.

func (*GetSchemaResponse) GetSchema

func (x *GetSchemaResponse) GetSchema() string

func (*GetSchemaResponse) ProtoMessage

func (*GetSchemaResponse) ProtoMessage()

func (*GetSchemaResponse) ProtoReflect

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

func (*GetSchemaResponse) Reset

func (x *GetSchemaResponse) Reset()

func (*GetSchemaResponse) String

func (x *GetSchemaResponse) String() string

type GetSubjectsRequest

type GetSubjectsRequest struct {
	Token           *user.ConsistencyToken `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Resource        *user.ObjectReference  `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	Permission      string                 `protobuf:"bytes,3,opt,name=permission,proto3" json:"permission,omitempty"`
	SubjectType     string                 `protobuf:"bytes,4,opt,name=subject_type,json=subjectType,proto3" json:"subject_type,omitempty"`
	SubjectRelation *string                `protobuf:"bytes,5,opt,name=subject_relation,json=subjectRelation,proto3,oneof" json:"subject_relation,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSubjectsRequest) Descriptor deprecated

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

Deprecated: Use GetSubjectsRequest.ProtoReflect.Descriptor instead.

func (*GetSubjectsRequest) GetPermission

func (x *GetSubjectsRequest) GetPermission() string

func (*GetSubjectsRequest) GetResource

func (x *GetSubjectsRequest) GetResource() *user.ObjectReference

func (*GetSubjectsRequest) GetSubjectRelation

func (x *GetSubjectsRequest) GetSubjectRelation() string

func (*GetSubjectsRequest) GetSubjectType

func (x *GetSubjectsRequest) GetSubjectType() string

func (*GetSubjectsRequest) GetToken

func (x *GetSubjectsRequest) GetToken() *user.ConsistencyToken

func (*GetSubjectsRequest) ProtoMessage

func (*GetSubjectsRequest) ProtoMessage()

func (*GetSubjectsRequest) ProtoReflect

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

func (*GetSubjectsRequest) Reset

func (x *GetSubjectsRequest) Reset()

func (*GetSubjectsRequest) String

func (x *GetSubjectsRequest) String() string

type GetSubjectsResponse

type GetSubjectsResponse struct {
	GotAt            *user.ConsistencyToken  `protobuf:"bytes,1,opt,name=got_at,json=gotAt,proto3" json:"got_at,omitempty"`
	Subjects         []*user.ObjectRetrieved `protobuf:"bytes,2,rep,name=subjects,proto3" json:"subjects,omitempty"`
	ExcludedSubjects []*user.ObjectRetrieved `protobuf:"bytes,3,rep,name=excluded_subjects,json=excludedSubjects,proto3" json:"excluded_subjects,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSubjectsResponse) Descriptor deprecated

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

Deprecated: Use GetSubjectsResponse.ProtoReflect.Descriptor instead.

func (*GetSubjectsResponse) GetExcludedSubjects

func (x *GetSubjectsResponse) GetExcludedSubjects() []*user.ObjectRetrieved

func (*GetSubjectsResponse) GetGotAt

func (x *GetSubjectsResponse) GetGotAt() *user.ConsistencyToken

func (*GetSubjectsResponse) GetSubjects

func (x *GetSubjectsResponse) GetSubjects() []*user.ObjectRetrieved

func (*GetSubjectsResponse) ProtoMessage

func (*GetSubjectsResponse) ProtoMessage()

func (*GetSubjectsResponse) ProtoReflect

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

func (*GetSubjectsResponse) Reset

func (x *GetSubjectsResponse) Reset()

func (*GetSubjectsResponse) String

func (x *GetSubjectsResponse) String() string

type PingRequest

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

func (*PingRequest) Descriptor deprecated

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

Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.

func (*PingRequest) ProtoMessage

func (*PingRequest) ProtoMessage()

func (*PingRequest) ProtoReflect

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

func (*PingRequest) Reset

func (x *PingRequest) Reset()

func (*PingRequest) String

func (x *PingRequest) String() string

type PingResponse

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

func (*PingResponse) Descriptor deprecated

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

Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.

func (*PingResponse) ProtoMessage

func (*PingResponse) ProtoMessage()

func (*PingResponse) ProtoReflect

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

func (*PingResponse) Reset

func (x *PingResponse) Reset()

func (*PingResponse) String

func (x *PingResponse) String() string

type WriteRelationshipsRequest

type WriteRelationshipsRequest struct {
	Updates []*user.Relationship `protobuf:"bytes,1,rep,name=updates,proto3" json:"updates,omitempty"`
	// contains filtered or unexported fields
}

func (*WriteRelationshipsRequest) Descriptor deprecated

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

Deprecated: Use WriteRelationshipsRequest.ProtoReflect.Descriptor instead.

func (*WriteRelationshipsRequest) GetUpdates

func (x *WriteRelationshipsRequest) GetUpdates() []*user.Relationship

func (*WriteRelationshipsRequest) ProtoMessage

func (*WriteRelationshipsRequest) ProtoMessage()

func (*WriteRelationshipsRequest) ProtoReflect

func (*WriteRelationshipsRequest) Reset

func (x *WriteRelationshipsRequest) Reset()

func (*WriteRelationshipsRequest) String

func (x *WriteRelationshipsRequest) String() string

type WriteRelationshipsResponse

type WriteRelationshipsResponse struct {
	WrittenAt *user.ConsistencyToken `protobuf:"bytes,1,opt,name=written_at,json=writtenAt,proto3" json:"written_at,omitempty"`
	// contains filtered or unexported fields
}

func (*WriteRelationshipsResponse) Descriptor deprecated

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

Deprecated: Use WriteRelationshipsResponse.ProtoReflect.Descriptor instead.

func (*WriteRelationshipsResponse) GetWrittenAt

func (*WriteRelationshipsResponse) ProtoMessage

func (*WriteRelationshipsResponse) ProtoMessage()

func (*WriteRelationshipsResponse) ProtoReflect

func (*WriteRelationshipsResponse) Reset

func (x *WriteRelationshipsResponse) Reset()

func (*WriteRelationshipsResponse) String

func (x *WriteRelationshipsResponse) String() string

type WriteSchemaRequest

type WriteSchemaRequest struct {
	Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"`
	// contains filtered or unexported fields
}

func (*WriteSchemaRequest) Descriptor deprecated

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

Deprecated: Use WriteSchemaRequest.ProtoReflect.Descriptor instead.

func (*WriteSchemaRequest) GetSchema

func (x *WriteSchemaRequest) GetSchema() string

func (*WriteSchemaRequest) ProtoMessage

func (*WriteSchemaRequest) ProtoMessage()

func (*WriteSchemaRequest) ProtoReflect

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

func (*WriteSchemaRequest) Reset

func (x *WriteSchemaRequest) Reset()

func (*WriteSchemaRequest) String

func (x *WriteSchemaRequest) String() string

type WriteSchemaResponse

type WriteSchemaResponse struct {
	WrittenAt *user.ConsistencyToken `protobuf:"bytes,1,opt,name=written_at,json=writtenAt,proto3" json:"written_at,omitempty"`
	// contains filtered or unexported fields
}

func (*WriteSchemaResponse) Descriptor deprecated

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

Deprecated: Use WriteSchemaResponse.ProtoReflect.Descriptor instead.

func (*WriteSchemaResponse) GetWrittenAt

func (x *WriteSchemaResponse) GetWrittenAt() *user.ConsistencyToken

func (*WriteSchemaResponse) ProtoMessage

func (*WriteSchemaResponse) ProtoMessage()

func (*WriteSchemaResponse) ProtoReflect

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

func (*WriteSchemaResponse) Reset

func (x *WriteSchemaResponse) Reset()

func (*WriteSchemaResponse) String

func (x *WriteSchemaResponse) String() string

Jump to

Keyboard shortcuts

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