effectv1

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 4 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Effect_name = map[int32]string{
		0: "EFFECT_UNSPECIFIED",
		1: "EFFECT_ALLOW",
		2: "EFFECT_DENY",
		3: "EFFECT_NO_MATCH",
	}
	Effect_value = map[string]int32{
		"EFFECT_UNSPECIFIED": 0,
		"EFFECT_ALLOW":       1,
		"EFFECT_DENY":        2,
		"EFFECT_NO_MATCH":    3,
	}
)

Enum value maps for Effect.

View Source
var File_cerbos_effect_v1_effect_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Effect

type Effect int32
const (
	Effect_EFFECT_UNSPECIFIED Effect = 0
	Effect_EFFECT_ALLOW       Effect = 1
	Effect_EFFECT_DENY        Effect = 2
	Effect_EFFECT_NO_MATCH    Effect = 3
)

func (Effect) Descriptor

func (Effect) Descriptor() protoreflect.EnumDescriptor

func (Effect) Enum

func (x Effect) Enum() *Effect

func (Effect) EnumDescriptor deprecated

func (Effect) EnumDescriptor() ([]byte, []int)

Deprecated: Use Effect.Descriptor instead.

func (Effect) Number

func (x Effect) Number() protoreflect.EnumNumber

func (Effect) String

func (x Effect) String() string

func (Effect) Type

func (Effect) Type() protoreflect.EnumType

Jump to

Keyboard shortcuts

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