runtimev1

package
v0.35.1 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_cerbos_runtime_v1_runtime_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CompileErrors

type CompileErrors struct {
	Errors []*CompileErrors_Err `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"`
	// contains filtered or unexported fields
}

func (*CompileErrors) Descriptor deprecated

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

Deprecated: Use CompileErrors.ProtoReflect.Descriptor instead.

func (*CompileErrors) GetErrors

func (x *CompileErrors) GetErrors() []*CompileErrors_Err

func (*CompileErrors) HashPB

func (m *CompileErrors) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*CompileErrors) MarshalToSizedBufferVT

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

func (*CompileErrors) MarshalToVT

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

func (*CompileErrors) MarshalVT

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

func (*CompileErrors) ProtoMessage

func (*CompileErrors) ProtoMessage()

func (*CompileErrors) ProtoReflect

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

func (*CompileErrors) Reset

func (x *CompileErrors) Reset()

func (*CompileErrors) SizeVT

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

func (*CompileErrors) String

func (x *CompileErrors) String() string

func (*CompileErrors) UnmarshalVT

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

type CompileErrors_Err

type CompileErrors_Err struct {
	File        string        `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
	Error       string        `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	Description string        `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Position    *v12.Position `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"`
	Context     string        `protobuf:"bytes,5,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*CompileErrors_Err) Descriptor deprecated

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

Deprecated: Use CompileErrors_Err.ProtoReflect.Descriptor instead.

func (*CompileErrors_Err) GetContext added in v0.34.0

func (x *CompileErrors_Err) GetContext() string

func (*CompileErrors_Err) GetDescription

func (x *CompileErrors_Err) GetDescription() string

func (*CompileErrors_Err) GetError

func (x *CompileErrors_Err) GetError() string

func (*CompileErrors_Err) GetFile

func (x *CompileErrors_Err) GetFile() string

func (*CompileErrors_Err) GetPosition added in v0.34.0

func (x *CompileErrors_Err) GetPosition() *v12.Position

func (*CompileErrors_Err) HashPB

func (m *CompileErrors_Err) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*CompileErrors_Err) MarshalToSizedBufferVT

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

func (*CompileErrors_Err) MarshalToVT

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

func (*CompileErrors_Err) MarshalVT

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

func (*CompileErrors_Err) ProtoMessage

func (*CompileErrors_Err) ProtoMessage()

func (*CompileErrors_Err) ProtoReflect

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

func (*CompileErrors_Err) Reset

func (x *CompileErrors_Err) Reset()

func (*CompileErrors_Err) SizeVT

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

func (*CompileErrors_Err) String

func (x *CompileErrors_Err) String() string

func (*CompileErrors_Err) UnmarshalVT

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

type Condition

type Condition struct {

	// Types that are assignable to Op:
	//
	//	*Condition_All
	//	*Condition_Any
	//	*Condition_None
	//	*Condition_Expr
	Op isCondition_Op `protobuf_oneof:"op"`
	// contains filtered or unexported fields
}

func (*Condition) Descriptor deprecated

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

Deprecated: Use Condition.ProtoReflect.Descriptor instead.

func (*Condition) GetAll

func (x *Condition) GetAll() *Condition_ExprList

func (*Condition) GetAny

func (x *Condition) GetAny() *Condition_ExprList

func (*Condition) GetExpr

func (x *Condition) GetExpr() *Expr

func (*Condition) GetNone

func (x *Condition) GetNone() *Condition_ExprList

func (*Condition) GetOp

func (m *Condition) GetOp() isCondition_Op

func (*Condition) HashPB

func (m *Condition) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*Condition) MarshalToSizedBufferVT

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

func (*Condition) MarshalToVT

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

func (*Condition) MarshalVT

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

func (*Condition) ProtoMessage

func (*Condition) ProtoMessage()

func (*Condition) ProtoReflect

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

func (*Condition) Reset

func (x *Condition) Reset()

func (*Condition) SizeVT

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

func (*Condition) String

func (x *Condition) String() string

func (*Condition) UnmarshalVT

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

type Condition_All

type Condition_All struct {
	All *Condition_ExprList `protobuf:"bytes,1,opt,name=all,proto3,oneof"`
}

func (*Condition_All) MarshalToSizedBufferVT

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

func (*Condition_All) MarshalToVT

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

func (*Condition_All) SizeVT

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

type Condition_Any

type Condition_Any struct {
	Any *Condition_ExprList `protobuf:"bytes,2,opt,name=any,proto3,oneof"`
}

func (*Condition_Any) MarshalToSizedBufferVT

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

func (*Condition_Any) MarshalToVT

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

func (*Condition_Any) SizeVT

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

type Condition_Expr

type Condition_Expr struct {
	Expr *Expr `protobuf:"bytes,4,opt,name=expr,proto3,oneof"`
}

func (*Condition_Expr) MarshalToSizedBufferVT

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

func (*Condition_Expr) MarshalToVT

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

func (*Condition_Expr) SizeVT

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

type Condition_ExprList

type Condition_ExprList struct {
	Expr []*Condition `protobuf:"bytes,1,rep,name=expr,proto3" json:"expr,omitempty"`
	// contains filtered or unexported fields
}

func (*Condition_ExprList) Descriptor deprecated

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

Deprecated: Use Condition_ExprList.ProtoReflect.Descriptor instead.

func (*Condition_ExprList) GetExpr

func (x *Condition_ExprList) GetExpr() []*Condition

func (*Condition_ExprList) HashPB

func (m *Condition_ExprList) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*Condition_ExprList) MarshalToSizedBufferVT

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

func (*Condition_ExprList) MarshalToVT

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

func (*Condition_ExprList) MarshalVT

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

func (*Condition_ExprList) ProtoMessage

func (*Condition_ExprList) ProtoMessage()

func (*Condition_ExprList) ProtoReflect

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

func (*Condition_ExprList) Reset

func (x *Condition_ExprList) Reset()

func (*Condition_ExprList) SizeVT

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

func (*Condition_ExprList) String

func (x *Condition_ExprList) String() string

func (*Condition_ExprList) UnmarshalVT

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

type Condition_None

type Condition_None struct {
	None *Condition_ExprList `protobuf:"bytes,3,opt,name=none,proto3,oneof"`
}

func (*Condition_None) MarshalToSizedBufferVT

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

func (*Condition_None) MarshalToVT

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

func (*Condition_None) SizeVT

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

type Errors

type Errors struct {

	// Types that are assignable to Kind:
	//
	//	*Errors_IndexBuildErrors
	//	*Errors_CompileErrors
	Kind isErrors_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

func (*Errors) Descriptor deprecated

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

Deprecated: Use Errors.ProtoReflect.Descriptor instead.

func (*Errors) GetCompileErrors

func (x *Errors) GetCompileErrors() *CompileErrors

func (*Errors) GetIndexBuildErrors

func (x *Errors) GetIndexBuildErrors() *IndexBuildErrors

func (*Errors) GetKind

func (m *Errors) GetKind() isErrors_Kind

func (*Errors) HashPB

func (m *Errors) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*Errors) MarshalToSizedBufferVT

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

func (*Errors) MarshalToVT

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

func (*Errors) MarshalVT

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

func (*Errors) ProtoMessage

func (*Errors) ProtoMessage()

func (*Errors) ProtoReflect

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

func (*Errors) Reset

func (x *Errors) Reset()

func (*Errors) SizeVT

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

func (*Errors) String

func (x *Errors) String() string

func (*Errors) UnmarshalVT

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

type Errors_CompileErrors

type Errors_CompileErrors struct {
	CompileErrors *CompileErrors `protobuf:"bytes,2,opt,name=compile_errors,json=compileErrors,proto3,oneof"`
}

func (*Errors_CompileErrors) MarshalToSizedBufferVT

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

func (*Errors_CompileErrors) MarshalToVT

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

func (*Errors_CompileErrors) SizeVT

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

type Errors_IndexBuildErrors

type Errors_IndexBuildErrors struct {
	IndexBuildErrors *IndexBuildErrors `protobuf:"bytes,1,opt,name=index_build_errors,json=indexBuildErrors,proto3,oneof"`
}

func (*Errors_IndexBuildErrors) MarshalToSizedBufferVT

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

func (*Errors_IndexBuildErrors) MarshalToVT

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

func (*Errors_IndexBuildErrors) SizeVT

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

type Expr

type Expr struct {
	Original string                `protobuf:"bytes,1,opt,name=original,proto3" json:"original,omitempty"`
	Checked  *v1alpha1.CheckedExpr `protobuf:"bytes,2,opt,name=checked,proto3" json:"checked,omitempty"`
	// contains filtered or unexported fields
}

func (*Expr) Descriptor deprecated

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

Deprecated: Use Expr.ProtoReflect.Descriptor instead.

func (*Expr) GetChecked

func (x *Expr) GetChecked() *v1alpha1.CheckedExpr

func (*Expr) GetOriginal

func (x *Expr) GetOriginal() string

func (*Expr) HashPB

func (m *Expr) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*Expr) MarshalToSizedBufferVT

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

func (*Expr) MarshalToVT

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

func (*Expr) MarshalVT

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

func (*Expr) ProtoMessage

func (*Expr) ProtoMessage()

func (*Expr) ProtoReflect

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

func (*Expr) Reset

func (x *Expr) Reset()

func (*Expr) SizeVT

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

func (*Expr) String

func (x *Expr) String() string

func (*Expr) UnmarshalVT

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

type IndexBuildErrors

type IndexBuildErrors struct {

	// Deprecated: Marked as deprecated in cerbos/runtime/v1/runtime.proto.
	Disabled       []string                          `protobuf:"bytes,1,rep,name=disabled,proto3" json:"disabled,omitempty"`
	DuplicateDefs  []*IndexBuildErrors_DuplicateDef  `protobuf:"bytes,2,rep,name=duplicate_defs,json=duplicateDefs,proto3" json:"duplicate_defs,omitempty"`
	LoadFailures   []*IndexBuildErrors_LoadFailure   `protobuf:"bytes,3,rep,name=load_failures,json=loadFailures,proto3" json:"load_failures,omitempty"`
	MissingImports []*IndexBuildErrors_MissingImport `protobuf:"bytes,4,rep,name=missing_imports,json=missingImports,proto3" json:"missing_imports,omitempty"`
	MissingScopes  []string                          `protobuf:"bytes,5,rep,name=missing_scopes,json=missingScopes,proto3" json:"missing_scopes,omitempty"`
	DisabledDefs   []*IndexBuildErrors_Disabled      `protobuf:"bytes,6,rep,name=disabled_defs,json=disabledDefs,proto3" json:"disabled_defs,omitempty"`
	// contains filtered or unexported fields
}

func (*IndexBuildErrors) Descriptor deprecated

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

Deprecated: Use IndexBuildErrors.ProtoReflect.Descriptor instead.

func (*IndexBuildErrors) GetDisabled deprecated

func (x *IndexBuildErrors) GetDisabled() []string

Deprecated: Marked as deprecated in cerbos/runtime/v1/runtime.proto.

func (*IndexBuildErrors) GetDisabledDefs added in v0.34.0

func (x *IndexBuildErrors) GetDisabledDefs() []*IndexBuildErrors_Disabled

func (*IndexBuildErrors) GetDuplicateDefs

func (x *IndexBuildErrors) GetDuplicateDefs() []*IndexBuildErrors_DuplicateDef

func (*IndexBuildErrors) GetLoadFailures

func (x *IndexBuildErrors) GetLoadFailures() []*IndexBuildErrors_LoadFailure

func (*IndexBuildErrors) GetMissingImports

func (x *IndexBuildErrors) GetMissingImports() []*IndexBuildErrors_MissingImport

func (*IndexBuildErrors) GetMissingScopes

func (x *IndexBuildErrors) GetMissingScopes() []string

func (*IndexBuildErrors) HashPB

func (m *IndexBuildErrors) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*IndexBuildErrors) MarshalToSizedBufferVT

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

func (*IndexBuildErrors) MarshalToVT

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

func (*IndexBuildErrors) MarshalVT

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

func (*IndexBuildErrors) ProtoMessage

func (*IndexBuildErrors) ProtoMessage()

func (*IndexBuildErrors) ProtoReflect

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

func (*IndexBuildErrors) Reset

func (x *IndexBuildErrors) Reset()

func (*IndexBuildErrors) SizeVT

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

func (*IndexBuildErrors) String

func (x *IndexBuildErrors) String() string

func (*IndexBuildErrors) UnmarshalVT

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

type IndexBuildErrors_Disabled added in v0.34.0

type IndexBuildErrors_Disabled struct {
	File     string        `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
	Policy   string        `protobuf:"bytes,2,opt,name=policy,proto3" json:"policy,omitempty"`
	Position *v12.Position `protobuf:"bytes,3,opt,name=position,proto3" json:"position,omitempty"`
	// contains filtered or unexported fields
}

func (*IndexBuildErrors_Disabled) Descriptor deprecated added in v0.34.0

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

Deprecated: Use IndexBuildErrors_Disabled.ProtoReflect.Descriptor instead.

func (*IndexBuildErrors_Disabled) GetFile added in v0.34.0

func (x *IndexBuildErrors_Disabled) GetFile() string

func (*IndexBuildErrors_Disabled) GetPolicy added in v0.34.0

func (x *IndexBuildErrors_Disabled) GetPolicy() string

func (*IndexBuildErrors_Disabled) GetPosition added in v0.34.0

func (x *IndexBuildErrors_Disabled) GetPosition() *v12.Position

func (*IndexBuildErrors_Disabled) HashPB added in v0.34.0

func (m *IndexBuildErrors_Disabled) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*IndexBuildErrors_Disabled) MarshalToSizedBufferVT added in v0.34.0

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

func (*IndexBuildErrors_Disabled) MarshalToVT added in v0.34.0

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

func (*IndexBuildErrors_Disabled) MarshalVT added in v0.34.0

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

func (*IndexBuildErrors_Disabled) ProtoMessage added in v0.34.0

func (*IndexBuildErrors_Disabled) ProtoMessage()

func (*IndexBuildErrors_Disabled) ProtoReflect added in v0.34.0

func (*IndexBuildErrors_Disabled) Reset added in v0.34.0

func (x *IndexBuildErrors_Disabled) Reset()

func (*IndexBuildErrors_Disabled) SizeVT added in v0.34.0

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

func (*IndexBuildErrors_Disabled) String added in v0.34.0

func (x *IndexBuildErrors_Disabled) String() string

func (*IndexBuildErrors_Disabled) UnmarshalVT added in v0.34.0

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

type IndexBuildErrors_DuplicateDef

type IndexBuildErrors_DuplicateDef struct {
	File      string        `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
	OtherFile string        `protobuf:"bytes,2,opt,name=other_file,json=otherFile,proto3" json:"other_file,omitempty"`
	Policy    string        `protobuf:"bytes,3,opt,name=policy,proto3" json:"policy,omitempty"`
	Position  *v12.Position `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"`
	// contains filtered or unexported fields
}

func (*IndexBuildErrors_DuplicateDef) Descriptor deprecated

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

Deprecated: Use IndexBuildErrors_DuplicateDef.ProtoReflect.Descriptor instead.

func (*IndexBuildErrors_DuplicateDef) GetFile

func (*IndexBuildErrors_DuplicateDef) GetOtherFile

func (x *IndexBuildErrors_DuplicateDef) GetOtherFile() string

func (*IndexBuildErrors_DuplicateDef) GetPolicy added in v0.34.0

func (x *IndexBuildErrors_DuplicateDef) GetPolicy() string

func (*IndexBuildErrors_DuplicateDef) GetPosition added in v0.34.0

func (x *IndexBuildErrors_DuplicateDef) GetPosition() *v12.Position

func (*IndexBuildErrors_DuplicateDef) HashPB

func (m *IndexBuildErrors_DuplicateDef) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*IndexBuildErrors_DuplicateDef) MarshalToSizedBufferVT

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

func (*IndexBuildErrors_DuplicateDef) MarshalToVT

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

func (*IndexBuildErrors_DuplicateDef) MarshalVT

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

func (*IndexBuildErrors_DuplicateDef) ProtoMessage

func (*IndexBuildErrors_DuplicateDef) ProtoMessage()

func (*IndexBuildErrors_DuplicateDef) ProtoReflect

func (*IndexBuildErrors_DuplicateDef) Reset

func (x *IndexBuildErrors_DuplicateDef) Reset()

func (*IndexBuildErrors_DuplicateDef) SizeVT

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

func (*IndexBuildErrors_DuplicateDef) String

func (*IndexBuildErrors_DuplicateDef) UnmarshalVT

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

type IndexBuildErrors_LoadFailure

type IndexBuildErrors_LoadFailure struct {
	File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
	// Deprecated: Marked as deprecated in cerbos/runtime/v1/runtime.proto.
	Error        string     `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	ErrorDetails *v12.Error `protobuf:"bytes,3,opt,name=error_details,json=errorDetails,proto3" json:"error_details,omitempty"`
	// contains filtered or unexported fields
}

func (*IndexBuildErrors_LoadFailure) Descriptor deprecated

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

Deprecated: Use IndexBuildErrors_LoadFailure.ProtoReflect.Descriptor instead.

func (*IndexBuildErrors_LoadFailure) GetError deprecated

func (x *IndexBuildErrors_LoadFailure) GetError() string

Deprecated: Marked as deprecated in cerbos/runtime/v1/runtime.proto.

func (*IndexBuildErrors_LoadFailure) GetErrorDetails added in v0.34.0

func (x *IndexBuildErrors_LoadFailure) GetErrorDetails() *v12.Error

func (*IndexBuildErrors_LoadFailure) GetFile

func (x *IndexBuildErrors_LoadFailure) GetFile() string

func (*IndexBuildErrors_LoadFailure) HashPB

func (m *IndexBuildErrors_LoadFailure) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*IndexBuildErrors_LoadFailure) MarshalToSizedBufferVT

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

func (*IndexBuildErrors_LoadFailure) MarshalToVT

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

func (*IndexBuildErrors_LoadFailure) MarshalVT

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

func (*IndexBuildErrors_LoadFailure) ProtoMessage

func (*IndexBuildErrors_LoadFailure) ProtoMessage()

func (*IndexBuildErrors_LoadFailure) ProtoReflect

func (*IndexBuildErrors_LoadFailure) Reset

func (x *IndexBuildErrors_LoadFailure) Reset()

func (*IndexBuildErrors_LoadFailure) SizeVT

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

func (*IndexBuildErrors_LoadFailure) String

func (*IndexBuildErrors_LoadFailure) UnmarshalVT

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

type IndexBuildErrors_MissingImport

type IndexBuildErrors_MissingImport struct {
	ImportingFile   string        `protobuf:"bytes,1,opt,name=importing_file,json=importingFile,proto3" json:"importing_file,omitempty"`
	Desc            string        `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"`
	ImportingPolicy string        `protobuf:"bytes,3,opt,name=importing_policy,json=importingPolicy,proto3" json:"importing_policy,omitempty"`
	ImportKind      string        `protobuf:"bytes,4,opt,name=import_kind,json=importKind,proto3" json:"import_kind,omitempty"`
	ImportName      string        `protobuf:"bytes,5,opt,name=import_name,json=importName,proto3" json:"import_name,omitempty"`
	Position        *v12.Position `protobuf:"bytes,6,opt,name=position,proto3" json:"position,omitempty"`
	Context         string        `protobuf:"bytes,7,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*IndexBuildErrors_MissingImport) Descriptor deprecated

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

Deprecated: Use IndexBuildErrors_MissingImport.ProtoReflect.Descriptor instead.

func (*IndexBuildErrors_MissingImport) GetContext added in v0.34.0

func (x *IndexBuildErrors_MissingImport) GetContext() string

func (*IndexBuildErrors_MissingImport) GetDesc

func (*IndexBuildErrors_MissingImport) GetImportKind added in v0.34.0

func (x *IndexBuildErrors_MissingImport) GetImportKind() string

func (*IndexBuildErrors_MissingImport) GetImportName added in v0.34.0

func (x *IndexBuildErrors_MissingImport) GetImportName() string

func (*IndexBuildErrors_MissingImport) GetImportingFile

func (x *IndexBuildErrors_MissingImport) GetImportingFile() string

func (*IndexBuildErrors_MissingImport) GetImportingPolicy added in v0.34.0

func (x *IndexBuildErrors_MissingImport) GetImportingPolicy() string

func (*IndexBuildErrors_MissingImport) GetPosition added in v0.34.0

func (x *IndexBuildErrors_MissingImport) GetPosition() *v12.Position

func (*IndexBuildErrors_MissingImport) HashPB

func (m *IndexBuildErrors_MissingImport) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*IndexBuildErrors_MissingImport) MarshalToSizedBufferVT

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

func (*IndexBuildErrors_MissingImport) MarshalToVT

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

func (*IndexBuildErrors_MissingImport) MarshalVT

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

func (*IndexBuildErrors_MissingImport) ProtoMessage

func (*IndexBuildErrors_MissingImport) ProtoMessage()

func (*IndexBuildErrors_MissingImport) ProtoReflect

func (*IndexBuildErrors_MissingImport) Reset

func (x *IndexBuildErrors_MissingImport) Reset()

func (*IndexBuildErrors_MissingImport) SizeVT

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

func (*IndexBuildErrors_MissingImport) String

func (*IndexBuildErrors_MissingImport) UnmarshalVT

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

type Output added in v0.33.0

type Output struct {
	When *Output_When `protobuf:"bytes,1,opt,name=when,proto3" json:"when,omitempty"`
	// contains filtered or unexported fields
}

func (*Output) Descriptor deprecated added in v0.33.0

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

Deprecated: Use Output.ProtoReflect.Descriptor instead.

func (*Output) GetWhen added in v0.33.0

func (x *Output) GetWhen() *Output_When

func (*Output) HashPB added in v0.33.0

func (m *Output) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*Output) MarshalToSizedBufferVT added in v0.33.0

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

func (*Output) MarshalToVT added in v0.33.0

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

func (*Output) MarshalVT added in v0.33.0

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

func (*Output) ProtoMessage added in v0.33.0

func (*Output) ProtoMessage()

func (*Output) ProtoReflect added in v0.33.0

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

func (*Output) Reset added in v0.33.0

func (x *Output) Reset()

func (*Output) SizeVT added in v0.33.0

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

func (*Output) String added in v0.33.0

func (x *Output) String() string

func (*Output) UnmarshalVT added in v0.33.0

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

type Output_When added in v0.33.0

type Output_When struct {
	RuleActivated   *Expr `protobuf:"bytes,1,opt,name=rule_activated,json=ruleActivated,proto3" json:"rule_activated,omitempty"`
	ConditionNotMet *Expr `protobuf:"bytes,2,opt,name=condition_not_met,json=conditionNotMet,proto3" json:"condition_not_met,omitempty"`
	// contains filtered or unexported fields
}

func (*Output_When) Descriptor deprecated added in v0.33.0

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

Deprecated: Use Output_When.ProtoReflect.Descriptor instead.

func (*Output_When) GetConditionNotMet added in v0.33.0

func (x *Output_When) GetConditionNotMet() *Expr

func (*Output_When) GetRuleActivated added in v0.33.0

func (x *Output_When) GetRuleActivated() *Expr

func (*Output_When) HashPB added in v0.33.0

func (m *Output_When) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*Output_When) MarshalToSizedBufferVT added in v0.33.0

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

func (*Output_When) MarshalToVT added in v0.33.0

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

func (*Output_When) MarshalVT added in v0.33.0

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

func (*Output_When) ProtoMessage added in v0.33.0

func (*Output_When) ProtoMessage()

func (*Output_When) ProtoReflect added in v0.33.0

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

func (*Output_When) Reset added in v0.33.0

func (x *Output_When) Reset()

func (*Output_When) SizeVT added in v0.33.0

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

func (*Output_When) String added in v0.33.0

func (x *Output_When) String() string

func (*Output_When) UnmarshalVT added in v0.33.0

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

type RunnableDerivedRole

type RunnableDerivedRole struct {
	Name        string                    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ParentRoles map[string]*emptypb.Empty `` /* 182-byte string literal not displayed */
	// Deprecated: Marked as deprecated in cerbos/runtime/v1/runtime.proto.
	Variables        map[string]*Expr `` /* 159-byte string literal not displayed */
	Condition        *Condition       `protobuf:"bytes,4,opt,name=condition,proto3" json:"condition,omitempty"`
	OrderedVariables []*Variable      `protobuf:"bytes,5,rep,name=ordered_variables,json=orderedVariables,proto3" json:"ordered_variables,omitempty"`
	// contains filtered or unexported fields
}

func (*RunnableDerivedRole) Descriptor deprecated

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

Deprecated: Use RunnableDerivedRole.ProtoReflect.Descriptor instead.

func (*RunnableDerivedRole) GetCondition

func (x *RunnableDerivedRole) GetCondition() *Condition

func (*RunnableDerivedRole) GetName

func (x *RunnableDerivedRole) GetName() string

func (*RunnableDerivedRole) GetOrderedVariables

func (x *RunnableDerivedRole) GetOrderedVariables() []*Variable

func (*RunnableDerivedRole) GetParentRoles

func (x *RunnableDerivedRole) GetParentRoles() map[string]*emptypb.Empty

func (*RunnableDerivedRole) GetVariables deprecated

func (x *RunnableDerivedRole) GetVariables() map[string]*Expr

Deprecated: Marked as deprecated in cerbos/runtime/v1/runtime.proto.

func (*RunnableDerivedRole) HashPB

func (m *RunnableDerivedRole) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*RunnableDerivedRole) MarshalToSizedBufferVT

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

func (*RunnableDerivedRole) MarshalToVT

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

func (*RunnableDerivedRole) MarshalVT

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

func (*RunnableDerivedRole) ProtoMessage

func (*RunnableDerivedRole) ProtoMessage()

func (*RunnableDerivedRole) ProtoReflect

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

func (*RunnableDerivedRole) Reset

func (x *RunnableDerivedRole) Reset()

func (*RunnableDerivedRole) SizeVT

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

func (*RunnableDerivedRole) String

func (x *RunnableDerivedRole) String() string

func (*RunnableDerivedRole) UnmarshalVT

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

type RunnableDerivedRolesSet deprecated

type RunnableDerivedRolesSet struct {
	Meta         *RunnableDerivedRolesSet_Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	DerivedRoles map[string]*RunnableDerivedRole   `` /* 185-byte string literal not displayed */
	// contains filtered or unexported fields
}

Deprecated: Marked as deprecated in cerbos/runtime/v1/runtime.proto.

func (*RunnableDerivedRolesSet) Descriptor deprecated

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

Deprecated: Use RunnableDerivedRolesSet.ProtoReflect.Descriptor instead.

func (*RunnableDerivedRolesSet) GetDerivedRoles

func (x *RunnableDerivedRolesSet) GetDerivedRoles() map[string]*RunnableDerivedRole

func (*RunnableDerivedRolesSet) GetMeta

func (*RunnableDerivedRolesSet) HashPB

func (m *RunnableDerivedRolesSet) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*RunnableDerivedRolesSet) MarshalToSizedBufferVT

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

func (*RunnableDerivedRolesSet) MarshalToVT

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

func (*RunnableDerivedRolesSet) MarshalVT

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

func (*RunnableDerivedRolesSet) ProtoMessage

func (*RunnableDerivedRolesSet) ProtoMessage()

func (*RunnableDerivedRolesSet) ProtoReflect

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

func (*RunnableDerivedRolesSet) Reset

func (x *RunnableDerivedRolesSet) Reset()

func (*RunnableDerivedRolesSet) SizeVT

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

func (*RunnableDerivedRolesSet) String

func (x *RunnableDerivedRolesSet) String() string

func (*RunnableDerivedRolesSet) UnmarshalVT

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

type RunnableDerivedRolesSet_Metadata

type RunnableDerivedRolesSet_Metadata struct {
	Fqn         string            `protobuf:"bytes,1,opt,name=fqn,proto3" json:"fqn,omitempty"`
	Annotations map[string]string `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RunnableDerivedRolesSet_Metadata) Descriptor deprecated

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

Deprecated: Use RunnableDerivedRolesSet_Metadata.ProtoReflect.Descriptor instead.

func (*RunnableDerivedRolesSet_Metadata) GetAnnotations added in v0.34.0

func (x *RunnableDerivedRolesSet_Metadata) GetAnnotations() map[string]string

func (*RunnableDerivedRolesSet_Metadata) GetFqn

func (*RunnableDerivedRolesSet_Metadata) HashPB

func (m *RunnableDerivedRolesSet_Metadata) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*RunnableDerivedRolesSet_Metadata) MarshalToSizedBufferVT

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

func (*RunnableDerivedRolesSet_Metadata) MarshalToVT

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

func (*RunnableDerivedRolesSet_Metadata) MarshalVT

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

func (*RunnableDerivedRolesSet_Metadata) ProtoMessage

func (*RunnableDerivedRolesSet_Metadata) ProtoMessage()

func (*RunnableDerivedRolesSet_Metadata) ProtoReflect

func (*RunnableDerivedRolesSet_Metadata) Reset

func (*RunnableDerivedRolesSet_Metadata) SizeVT

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

func (*RunnableDerivedRolesSet_Metadata) String

func (*RunnableDerivedRolesSet_Metadata) UnmarshalVT

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

type RunnablePolicySet

type RunnablePolicySet struct {
	Fqn string `protobuf:"bytes,1,opt,name=fqn,proto3" json:"fqn,omitempty"`
	// Types that are assignable to PolicySet:
	//
	//	*RunnablePolicySet_ResourcePolicy
	//	*RunnablePolicySet_PrincipalPolicy
	//	*RunnablePolicySet_DerivedRoles
	//	*RunnablePolicySet_Variables
	PolicySet       isRunnablePolicySet_PolicySet `protobuf_oneof:"policy_set"`
	CompilerVersion uint32                        `protobuf:"varint,6,opt,name=compiler_version,json=compilerVersion,proto3" json:"compiler_version,omitempty"`
	// contains filtered or unexported fields
}

func (*RunnablePolicySet) Descriptor deprecated

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

Deprecated: Use RunnablePolicySet.ProtoReflect.Descriptor instead.

func (*RunnablePolicySet) GetCompilerVersion

func (x *RunnablePolicySet) GetCompilerVersion() uint32

func (*RunnablePolicySet) GetDerivedRoles deprecated

func (x *RunnablePolicySet) GetDerivedRoles() *RunnableDerivedRolesSet

Deprecated: Marked as deprecated in cerbos/runtime/v1/runtime.proto.

func (*RunnablePolicySet) GetFqn

func (x *RunnablePolicySet) GetFqn() string

func (*RunnablePolicySet) GetPolicySet

func (m *RunnablePolicySet) GetPolicySet() isRunnablePolicySet_PolicySet

func (*RunnablePolicySet) GetPrincipalPolicy

func (x *RunnablePolicySet) GetPrincipalPolicy() *RunnablePrincipalPolicySet

func (*RunnablePolicySet) GetResourcePolicy

func (x *RunnablePolicySet) GetResourcePolicy() *RunnableResourcePolicySet

func (*RunnablePolicySet) GetVariables deprecated

func (x *RunnablePolicySet) GetVariables() *RunnableVariablesSet

Deprecated: Marked as deprecated in cerbos/runtime/v1/runtime.proto.

func (*RunnablePolicySet) HashPB

func (m *RunnablePolicySet) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*RunnablePolicySet) MarshalToSizedBufferVT

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

func (*RunnablePolicySet) MarshalToVT

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

func (*RunnablePolicySet) MarshalVT

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

func (*RunnablePolicySet) ProtoMessage

func (*RunnablePolicySet) ProtoMessage()

func (*RunnablePolicySet) ProtoReflect

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

func (*RunnablePolicySet) Reset

func (x *RunnablePolicySet) Reset()

func (*RunnablePolicySet) SizeVT

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

func (*RunnablePolicySet) String

func (x *RunnablePolicySet) String() string

func (*RunnablePolicySet) UnmarshalVT

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

type RunnablePolicySet_DerivedRoles

type RunnablePolicySet_DerivedRoles struct {
	// Deprecated: Marked as deprecated in cerbos/runtime/v1/runtime.proto.
	DerivedRoles *RunnableDerivedRolesSet `protobuf:"bytes,4,opt,name=derived_roles,json=derivedRoles,proto3,oneof"`
}

func (*RunnablePolicySet_DerivedRoles) MarshalToSizedBufferVT

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

func (*RunnablePolicySet_DerivedRoles) MarshalToVT

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

func (*RunnablePolicySet_DerivedRoles) SizeVT

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

type RunnablePolicySet_PrincipalPolicy

type RunnablePolicySet_PrincipalPolicy struct {
	PrincipalPolicy *RunnablePrincipalPolicySet `protobuf:"bytes,3,opt,name=principal_policy,json=principalPolicy,proto3,oneof"`
}

func (*RunnablePolicySet_PrincipalPolicy) MarshalToSizedBufferVT

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

func (*RunnablePolicySet_PrincipalPolicy) MarshalToVT

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

func (*RunnablePolicySet_PrincipalPolicy) SizeVT

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

type RunnablePolicySet_ResourcePolicy

type RunnablePolicySet_ResourcePolicy struct {
	ResourcePolicy *RunnableResourcePolicySet `protobuf:"bytes,2,opt,name=resource_policy,json=resourcePolicy,proto3,oneof"`
}

func (*RunnablePolicySet_ResourcePolicy) MarshalToSizedBufferVT

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

func (*RunnablePolicySet_ResourcePolicy) MarshalToVT

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

func (*RunnablePolicySet_ResourcePolicy) SizeVT

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

type RunnablePolicySet_Variables

type RunnablePolicySet_Variables struct {
	// Deprecated: Marked as deprecated in cerbos/runtime/v1/runtime.proto.
	Variables *RunnableVariablesSet `protobuf:"bytes,5,opt,name=variables,proto3,oneof"`
}

func (*RunnablePolicySet_Variables) MarshalToSizedBufferVT

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

func (*RunnablePolicySet_Variables) MarshalToVT

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

func (*RunnablePolicySet_Variables) SizeVT

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

type RunnablePrincipalPolicySet

type RunnablePrincipalPolicySet struct {
	Meta     *RunnablePrincipalPolicySet_Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Policies []*RunnablePrincipalPolicySet_Policy `protobuf:"bytes,2,rep,name=policies,proto3" json:"policies,omitempty"`
	// contains filtered or unexported fields
}

RunnablePrincipalPolicySet is a container for all "compiled" principal policies belonging to a particular scope hierarchy. See the description of RunnableResourcePolicySet to get an idea about how this is constructed.

func (*RunnablePrincipalPolicySet) Descriptor deprecated

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

Deprecated: Use RunnablePrincipalPolicySet.ProtoReflect.Descriptor instead.

func (*RunnablePrincipalPolicySet) GetMeta

func (*RunnablePrincipalPolicySet) GetPolicies

func (*RunnablePrincipalPolicySet) HashPB

func (m *RunnablePrincipalPolicySet) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*RunnablePrincipalPolicySet) MarshalToSizedBufferVT

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

func (*RunnablePrincipalPolicySet) MarshalToVT

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

func (*RunnablePrincipalPolicySet) MarshalVT

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

func (*RunnablePrincipalPolicySet) ProtoMessage

func (*RunnablePrincipalPolicySet) ProtoMessage()

func (*RunnablePrincipalPolicySet) ProtoReflect

func (*RunnablePrincipalPolicySet) Reset

func (x *RunnablePrincipalPolicySet) Reset()

func (*RunnablePrincipalPolicySet) SizeVT

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

func (*RunnablePrincipalPolicySet) String

func (x *RunnablePrincipalPolicySet) String() string

func (*RunnablePrincipalPolicySet) UnmarshalVT

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

type RunnablePrincipalPolicySet_Metadata

type RunnablePrincipalPolicySet_Metadata struct {
	Fqn              string                          `protobuf:"bytes,1,opt,name=fqn,proto3" json:"fqn,omitempty"`
	Principal        string                          `protobuf:"bytes,2,opt,name=principal,proto3" json:"principal,omitempty"`
	Version          string                          `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	SourceAttributes map[string]*v1.SourceAttributes `` /* 197-byte string literal not displayed */
	Annotations      map[string]string               `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RunnablePrincipalPolicySet_Metadata) Descriptor deprecated

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

Deprecated: Use RunnablePrincipalPolicySet_Metadata.ProtoReflect.Descriptor instead.

func (*RunnablePrincipalPolicySet_Metadata) GetAnnotations added in v0.34.0

func (x *RunnablePrincipalPolicySet_Metadata) GetAnnotations() map[string]string

func (*RunnablePrincipalPolicySet_Metadata) GetFqn

func (*RunnablePrincipalPolicySet_Metadata) GetPrincipal

func (x *RunnablePrincipalPolicySet_Metadata) GetPrincipal() string

func (*RunnablePrincipalPolicySet_Metadata) GetSourceAttributes added in v0.33.0

func (x *RunnablePrincipalPolicySet_Metadata) GetSourceAttributes() map[string]*v1.SourceAttributes

func (*RunnablePrincipalPolicySet_Metadata) GetVersion

func (*RunnablePrincipalPolicySet_Metadata) HashPB

func (m *RunnablePrincipalPolicySet_Metadata) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*RunnablePrincipalPolicySet_Metadata) MarshalToSizedBufferVT

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

func (*RunnablePrincipalPolicySet_Metadata) MarshalToVT

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

func (*RunnablePrincipalPolicySet_Metadata) MarshalVT

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

func (*RunnablePrincipalPolicySet_Metadata) ProtoMessage

func (*RunnablePrincipalPolicySet_Metadata) ProtoMessage()

func (*RunnablePrincipalPolicySet_Metadata) ProtoReflect

func (*RunnablePrincipalPolicySet_Metadata) Reset

func (*RunnablePrincipalPolicySet_Metadata) SizeVT

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

func (*RunnablePrincipalPolicySet_Metadata) String

func (*RunnablePrincipalPolicySet_Metadata) UnmarshalVT

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

type RunnablePrincipalPolicySet_Policy

type RunnablePrincipalPolicySet_Policy struct {
	Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
	// Deprecated: Marked as deprecated in cerbos/runtime/v1/runtime.proto.
	Variables        map[string]*Expr                                            `` /* 159-byte string literal not displayed */
	ResourceRules    map[string]*RunnablePrincipalPolicySet_Policy_ResourceRules `` /* 188-byte string literal not displayed */
	OrderedVariables []*Variable                                                 `protobuf:"bytes,4,rep,name=ordered_variables,json=orderedVariables,proto3" json:"ordered_variables,omitempty"`
	// contains filtered or unexported fields
}

func (*RunnablePrincipalPolicySet_Policy) Descriptor deprecated

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

Deprecated: Use RunnablePrincipalPolicySet_Policy.ProtoReflect.Descriptor instead.

func (*RunnablePrincipalPolicySet_Policy) GetOrderedVariables

func (x *RunnablePrincipalPolicySet_Policy) GetOrderedVariables() []*Variable

func (*RunnablePrincipalPolicySet_Policy) GetResourceRules

func (*RunnablePrincipalPolicySet_Policy) GetScope

func (*RunnablePrincipalPolicySet_Policy) GetVariables deprecated

func (x *RunnablePrincipalPolicySet_Policy) GetVariables() map[string]*Expr

Deprecated: Marked as deprecated in cerbos/runtime/v1/runtime.proto.

func (*RunnablePrincipalPolicySet_Policy) HashPB

func (m *RunnablePrincipalPolicySet_Policy) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*RunnablePrincipalPolicySet_Policy) MarshalToSizedBufferVT

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

func (*RunnablePrincipalPolicySet_Policy) MarshalToVT

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

func (*RunnablePrincipalPolicySet_Policy) MarshalVT

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

func (*RunnablePrincipalPolicySet_Policy) ProtoMessage

func (*RunnablePrincipalPolicySet_Policy) ProtoMessage()

func (*RunnablePrincipalPolicySet_Policy) ProtoReflect

func (*RunnablePrincipalPolicySet_Policy) Reset

func (*RunnablePrincipalPolicySet_Policy) SizeVT

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

func (*RunnablePrincipalPolicySet_Policy) String

func (*RunnablePrincipalPolicySet_Policy) UnmarshalVT

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

type RunnablePrincipalPolicySet_Policy_ActionRule

type RunnablePrincipalPolicySet_Policy_ActionRule struct {
	Action    string     `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`
	Name      string     `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Condition *Condition `protobuf:"bytes,3,opt,name=condition,proto3" json:"condition,omitempty"`
	Effect    v11.Effect `protobuf:"varint,4,opt,name=effect,proto3,enum=cerbos.effect.v1.Effect" json:"effect,omitempty"`
	// Deprecated: Marked as deprecated in cerbos/runtime/v1/runtime.proto.
	Output     *Expr   `protobuf:"bytes,5,opt,name=output,proto3" json:"output,omitempty"`
	EmitOutput *Output `protobuf:"bytes,6,opt,name=emit_output,json=emitOutput,proto3" json:"emit_output,omitempty"`
	// contains filtered or unexported fields
}

func (*RunnablePrincipalPolicySet_Policy_ActionRule) Descriptor deprecated

Deprecated: Use RunnablePrincipalPolicySet_Policy_ActionRule.ProtoReflect.Descriptor instead.

func (*RunnablePrincipalPolicySet_Policy_ActionRule) GetAction

func (*RunnablePrincipalPolicySet_Policy_ActionRule) GetCondition

func (*RunnablePrincipalPolicySet_Policy_ActionRule) GetEffect

func (*RunnablePrincipalPolicySet_Policy_ActionRule) GetEmitOutput added in v0.33.0

func (*RunnablePrincipalPolicySet_Policy_ActionRule) GetName

func (*RunnablePrincipalPolicySet_Policy_ActionRule) GetOutput deprecated

Deprecated: Marked as deprecated in cerbos/runtime/v1/runtime.proto.

func (*RunnablePrincipalPolicySet_Policy_ActionRule) HashPB

func (m *RunnablePrincipalPolicySet_Policy_ActionRule) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*RunnablePrincipalPolicySet_Policy_ActionRule) MarshalToSizedBufferVT

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

func (*RunnablePrincipalPolicySet_Policy_ActionRule) MarshalToVT

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

func (*RunnablePrincipalPolicySet_Policy_ActionRule) MarshalVT

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

func (*RunnablePrincipalPolicySet_Policy_ActionRule) ProtoMessage

func (*RunnablePrincipalPolicySet_Policy_ActionRule) ProtoReflect

func (*RunnablePrincipalPolicySet_Policy_ActionRule) Reset

func (*RunnablePrincipalPolicySet_Policy_ActionRule) SizeVT

func (*RunnablePrincipalPolicySet_Policy_ActionRule) String

func (*RunnablePrincipalPolicySet_Policy_ActionRule) UnmarshalVT

type RunnablePrincipalPolicySet_Policy_ResourceRules

type RunnablePrincipalPolicySet_Policy_ResourceRules struct {
	ActionRules []*RunnablePrincipalPolicySet_Policy_ActionRule `protobuf:"bytes,1,rep,name=action_rules,json=actionRules,proto3" json:"action_rules,omitempty"`
	// contains filtered or unexported fields
}

func (*RunnablePrincipalPolicySet_Policy_ResourceRules) Descriptor deprecated

Deprecated: Use RunnablePrincipalPolicySet_Policy_ResourceRules.ProtoReflect.Descriptor instead.

func (*RunnablePrincipalPolicySet_Policy_ResourceRules) GetActionRules

func (*RunnablePrincipalPolicySet_Policy_ResourceRules) HashPB

func (m *RunnablePrincipalPolicySet_Policy_ResourceRules) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*RunnablePrincipalPolicySet_Policy_ResourceRules) MarshalToSizedBufferVT

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

func (*RunnablePrincipalPolicySet_Policy_ResourceRules) MarshalToVT

func (*RunnablePrincipalPolicySet_Policy_ResourceRules) MarshalVT

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

func (*RunnablePrincipalPolicySet_Policy_ResourceRules) ProtoMessage

func (*RunnablePrincipalPolicySet_Policy_ResourceRules) ProtoReflect

func (*RunnablePrincipalPolicySet_Policy_ResourceRules) Reset

func (*RunnablePrincipalPolicySet_Policy_ResourceRules) SizeVT

func (*RunnablePrincipalPolicySet_Policy_ResourceRules) String

func (*RunnablePrincipalPolicySet_Policy_ResourceRules) UnmarshalVT

type RunnableResourcePolicySet

type RunnableResourcePolicySet struct {
	Meta     *RunnableResourcePolicySet_Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Policies []*RunnableResourcePolicySet_Policy `protobuf:"bytes,2,rep,name=policies,proto3" json:"policies,omitempty"`
	Schemas  *v1.Schemas                         `protobuf:"bytes,3,opt,name=schemas,proto3" json:"schemas,omitempty"`
	// contains filtered or unexported fields
}

RunnableResourcePolicySet is a container for all "compiled" resource policies belonging to a particular scope hierarchy. For example, consider the following policy files:

Resource Version Scope -------------------------------- leave_request default foo.bar.baz leave_request default foo.bar leave_request default foo leave_request staging foo

After "compiling", the above would result in two RunnableResourcePolicySet objects. One containing the three leave_request:default polcies and one containing the single leave_request:staging policy.

func (*RunnableResourcePolicySet) Descriptor deprecated

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

Deprecated: Use RunnableResourcePolicySet.ProtoReflect.Descriptor instead.

func (*RunnableResourcePolicySet) GetMeta

func (*RunnableResourcePolicySet) GetPolicies

func (*RunnableResourcePolicySet) GetSchemas

func (x *RunnableResourcePolicySet) GetSchemas() *v1.Schemas

func (*RunnableResourcePolicySet) HashPB

func (m *RunnableResourcePolicySet) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*RunnableResourcePolicySet) MarshalToSizedBufferVT

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

func (*RunnableResourcePolicySet) MarshalToVT

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

func (*RunnableResourcePolicySet) MarshalVT

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

func (*RunnableResourcePolicySet) ProtoMessage

func (*RunnableResourcePolicySet) ProtoMessage()

func (*RunnableResourcePolicySet) ProtoReflect

func (*RunnableResourcePolicySet) Reset

func (x *RunnableResourcePolicySet) Reset()

func (*RunnableResourcePolicySet) SizeVT

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

func (*RunnableResourcePolicySet) String

func (x *RunnableResourcePolicySet) String() string

func (*RunnableResourcePolicySet) UnmarshalVT

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

type RunnableResourcePolicySet_Metadata

type RunnableResourcePolicySet_Metadata struct {
	Fqn              string                          `protobuf:"bytes,1,opt,name=fqn,proto3" json:"fqn,omitempty"`
	Resource         string                          `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"`
	Version          string                          `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	SourceAttributes map[string]*v1.SourceAttributes `` /* 197-byte string literal not displayed */
	Annotations      map[string]string               `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RunnableResourcePolicySet_Metadata) Descriptor deprecated

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

Deprecated: Use RunnableResourcePolicySet_Metadata.ProtoReflect.Descriptor instead.

func (*RunnableResourcePolicySet_Metadata) GetAnnotations added in v0.34.0

func (x *RunnableResourcePolicySet_Metadata) GetAnnotations() map[string]string

func (*RunnableResourcePolicySet_Metadata) GetFqn

func (*RunnableResourcePolicySet_Metadata) GetResource

func (x *RunnableResourcePolicySet_Metadata) GetResource() string

func (*RunnableResourcePolicySet_Metadata) GetSourceAttributes added in v0.33.0

func (x *RunnableResourcePolicySet_Metadata) GetSourceAttributes() map[string]*v1.SourceAttributes

func (*RunnableResourcePolicySet_Metadata) GetVersion

func (*RunnableResourcePolicySet_Metadata) HashPB

func (m *RunnableResourcePolicySet_Metadata) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*RunnableResourcePolicySet_Metadata) MarshalToSizedBufferVT

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

func (*RunnableResourcePolicySet_Metadata) MarshalToVT

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

func (*RunnableResourcePolicySet_Metadata) MarshalVT

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

func (*RunnableResourcePolicySet_Metadata) ProtoMessage

func (*RunnableResourcePolicySet_Metadata) ProtoMessage()

func (*RunnableResourcePolicySet_Metadata) ProtoReflect

func (*RunnableResourcePolicySet_Metadata) Reset

func (*RunnableResourcePolicySet_Metadata) SizeVT

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

func (*RunnableResourcePolicySet_Metadata) String

func (*RunnableResourcePolicySet_Metadata) UnmarshalVT

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

type RunnableResourcePolicySet_Policy

type RunnableResourcePolicySet_Policy struct {
	Scope        string                          `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
	DerivedRoles map[string]*RunnableDerivedRole `` /* 185-byte string literal not displayed */
	// Deprecated: Marked as deprecated in cerbos/runtime/v1/runtime.proto.
	Variables        map[string]*Expr                         `` /* 159-byte string literal not displayed */
	Rules            []*RunnableResourcePolicySet_Policy_Rule `protobuf:"bytes,4,rep,name=rules,proto3" json:"rules,omitempty"`
	Schemas          *v1.Schemas                              `protobuf:"bytes,5,opt,name=schemas,proto3" json:"schemas,omitempty"`
	OrderedVariables []*Variable                              `protobuf:"bytes,6,rep,name=ordered_variables,json=orderedVariables,proto3" json:"ordered_variables,omitempty"`
	// contains filtered or unexported fields
}

func (*RunnableResourcePolicySet_Policy) Descriptor deprecated

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

Deprecated: Use RunnableResourcePolicySet_Policy.ProtoReflect.Descriptor instead.

func (*RunnableResourcePolicySet_Policy) GetDerivedRoles

func (*RunnableResourcePolicySet_Policy) GetOrderedVariables

func (x *RunnableResourcePolicySet_Policy) GetOrderedVariables() []*Variable

func (*RunnableResourcePolicySet_Policy) GetRules

func (*RunnableResourcePolicySet_Policy) GetSchemas

func (x *RunnableResourcePolicySet_Policy) GetSchemas() *v1.Schemas

func (*RunnableResourcePolicySet_Policy) GetScope

func (*RunnableResourcePolicySet_Policy) GetVariables deprecated

func (x *RunnableResourcePolicySet_Policy) GetVariables() map[string]*Expr

Deprecated: Marked as deprecated in cerbos/runtime/v1/runtime.proto.

func (*RunnableResourcePolicySet_Policy) HashPB

func (m *RunnableResourcePolicySet_Policy) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*RunnableResourcePolicySet_Policy) MarshalToSizedBufferVT

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

func (*RunnableResourcePolicySet_Policy) MarshalToVT

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

func (*RunnableResourcePolicySet_Policy) MarshalVT

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

func (*RunnableResourcePolicySet_Policy) ProtoMessage

func (*RunnableResourcePolicySet_Policy) ProtoMessage()

func (*RunnableResourcePolicySet_Policy) ProtoReflect

func (*RunnableResourcePolicySet_Policy) Reset

func (*RunnableResourcePolicySet_Policy) SizeVT

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

func (*RunnableResourcePolicySet_Policy) String

func (*RunnableResourcePolicySet_Policy) UnmarshalVT

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

type RunnableResourcePolicySet_Policy_Rule

type RunnableResourcePolicySet_Policy_Rule struct {
	Name         string                    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Actions      map[string]*emptypb.Empty `` /* 155-byte string literal not displayed */
	DerivedRoles map[string]*emptypb.Empty `` /* 185-byte string literal not displayed */
	Roles        map[string]*emptypb.Empty `` /* 151-byte string literal not displayed */
	Condition    *Condition                `protobuf:"bytes,5,opt,name=condition,proto3" json:"condition,omitempty"`
	Effect       v11.Effect                `protobuf:"varint,6,opt,name=effect,proto3,enum=cerbos.effect.v1.Effect" json:"effect,omitempty"`
	// Deprecated: Marked as deprecated in cerbos/runtime/v1/runtime.proto.
	Output     *Expr   `protobuf:"bytes,7,opt,name=output,proto3" json:"output,omitempty"`
	EmitOutput *Output `protobuf:"bytes,8,opt,name=emit_output,json=emitOutput,proto3" json:"emit_output,omitempty"`
	// contains filtered or unexported fields
}

func (*RunnableResourcePolicySet_Policy_Rule) Descriptor deprecated

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

Deprecated: Use RunnableResourcePolicySet_Policy_Rule.ProtoReflect.Descriptor instead.

func (*RunnableResourcePolicySet_Policy_Rule) GetActions

func (*RunnableResourcePolicySet_Policy_Rule) GetCondition

func (*RunnableResourcePolicySet_Policy_Rule) GetDerivedRoles

func (x *RunnableResourcePolicySet_Policy_Rule) GetDerivedRoles() map[string]*emptypb.Empty

func (*RunnableResourcePolicySet_Policy_Rule) GetEffect

func (*RunnableResourcePolicySet_Policy_Rule) GetEmitOutput added in v0.33.0

func (x *RunnableResourcePolicySet_Policy_Rule) GetEmitOutput() *Output

func (*RunnableResourcePolicySet_Policy_Rule) GetName

func (*RunnableResourcePolicySet_Policy_Rule) GetOutput deprecated

Deprecated: Marked as deprecated in cerbos/runtime/v1/runtime.proto.

func (*RunnableResourcePolicySet_Policy_Rule) GetRoles

func (*RunnableResourcePolicySet_Policy_Rule) HashPB

func (m *RunnableResourcePolicySet_Policy_Rule) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*RunnableResourcePolicySet_Policy_Rule) MarshalToSizedBufferVT

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

func (*RunnableResourcePolicySet_Policy_Rule) MarshalToVT

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

func (*RunnableResourcePolicySet_Policy_Rule) MarshalVT

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

func (*RunnableResourcePolicySet_Policy_Rule) ProtoMessage

func (*RunnableResourcePolicySet_Policy_Rule) ProtoMessage()

func (*RunnableResourcePolicySet_Policy_Rule) ProtoReflect

func (*RunnableResourcePolicySet_Policy_Rule) Reset

func (*RunnableResourcePolicySet_Policy_Rule) SizeVT

func (*RunnableResourcePolicySet_Policy_Rule) String

func (*RunnableResourcePolicySet_Policy_Rule) UnmarshalVT

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

type RunnableVariablesSet deprecated

type RunnableVariablesSet struct {
	Meta      *RunnableVariablesSet_Metadata `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Variables map[string]*Expr               `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

Deprecated: Marked as deprecated in cerbos/runtime/v1/runtime.proto.

func (*RunnableVariablesSet) Descriptor deprecated

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

Deprecated: Use RunnableVariablesSet.ProtoReflect.Descriptor instead.

func (*RunnableVariablesSet) GetMeta

func (*RunnableVariablesSet) GetVariables

func (x *RunnableVariablesSet) GetVariables() map[string]*Expr

func (*RunnableVariablesSet) HashPB

func (m *RunnableVariablesSet) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*RunnableVariablesSet) MarshalToSizedBufferVT

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

func (*RunnableVariablesSet) MarshalToVT

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

func (*RunnableVariablesSet) MarshalVT

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

func (*RunnableVariablesSet) ProtoMessage

func (*RunnableVariablesSet) ProtoMessage()

func (*RunnableVariablesSet) ProtoReflect

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

func (*RunnableVariablesSet) Reset

func (x *RunnableVariablesSet) Reset()

func (*RunnableVariablesSet) SizeVT

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

func (*RunnableVariablesSet) String

func (x *RunnableVariablesSet) String() string

func (*RunnableVariablesSet) UnmarshalVT

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

type RunnableVariablesSet_Metadata

type RunnableVariablesSet_Metadata struct {
	Fqn         string            `protobuf:"bytes,1,opt,name=fqn,proto3" json:"fqn,omitempty"`
	Annotations map[string]string `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RunnableVariablesSet_Metadata) Descriptor deprecated

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

Deprecated: Use RunnableVariablesSet_Metadata.ProtoReflect.Descriptor instead.

func (*RunnableVariablesSet_Metadata) GetAnnotations added in v0.34.0

func (x *RunnableVariablesSet_Metadata) GetAnnotations() map[string]string

func (*RunnableVariablesSet_Metadata) GetFqn

func (*RunnableVariablesSet_Metadata) HashPB

func (m *RunnableVariablesSet_Metadata) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*RunnableVariablesSet_Metadata) MarshalToSizedBufferVT

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

func (*RunnableVariablesSet_Metadata) MarshalToVT

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

func (*RunnableVariablesSet_Metadata) MarshalVT

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

func (*RunnableVariablesSet_Metadata) ProtoMessage

func (*RunnableVariablesSet_Metadata) ProtoMessage()

func (*RunnableVariablesSet_Metadata) ProtoReflect

func (*RunnableVariablesSet_Metadata) Reset

func (x *RunnableVariablesSet_Metadata) Reset()

func (*RunnableVariablesSet_Metadata) SizeVT

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

func (*RunnableVariablesSet_Metadata) String

func (*RunnableVariablesSet_Metadata) UnmarshalVT

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

type Variable

type Variable struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Expr *Expr  `protobuf:"bytes,2,opt,name=expr,proto3" json:"expr,omitempty"`
	// contains filtered or unexported fields
}

func (*Variable) Descriptor deprecated

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

Deprecated: Use Variable.ProtoReflect.Descriptor instead.

func (*Variable) GetExpr

func (x *Variable) GetExpr() *Expr

func (*Variable) GetName

func (x *Variable) GetName() string

func (*Variable) HashPB

func (m *Variable) HashPB(hasher hash.Hash, ignore map[string]struct{})

HashPB computes a hash of the message using the given hash function The ignore set must contain fully-qualified field names (pkg.msg.field) that should be ignored from the hash

func (*Variable) MarshalToSizedBufferVT

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

func (*Variable) MarshalToVT

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

func (*Variable) MarshalVT

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

func (*Variable) ProtoMessage

func (*Variable) ProtoMessage()

func (*Variable) ProtoReflect

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

func (*Variable) Reset

func (x *Variable) Reset()

func (*Variable) SizeVT

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

func (*Variable) String

func (x *Variable) String() string

func (*Variable) UnmarshalVT

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

Jump to

Keyboard shortcuts

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