fencev1

package
v0.1.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_fence_v1_fence_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CreateEntityRequest

type CreateEntityRequest struct {
	Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateEntityRequest) Descriptor deprecated

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

Deprecated: Use CreateEntityRequest.ProtoReflect.Descriptor instead.

func (*CreateEntityRequest) GetEntity

func (x *CreateEntityRequest) GetEntity() *Entity

func (*CreateEntityRequest) ProtoMessage

func (*CreateEntityRequest) ProtoMessage()

func (*CreateEntityRequest) ProtoReflect

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

func (*CreateEntityRequest) Reset

func (x *CreateEntityRequest) Reset()

func (*CreateEntityRequest) String

func (x *CreateEntityRequest) String() string

type CreateEntityResponse

type CreateEntityResponse struct {
	Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateEntityResponse) Descriptor deprecated

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

Deprecated: Use CreateEntityResponse.ProtoReflect.Descriptor instead.

func (*CreateEntityResponse) GetEntity

func (x *CreateEntityResponse) GetEntity() *Entity

func (*CreateEntityResponse) ProtoMessage

func (*CreateEntityResponse) ProtoMessage()

func (*CreateEntityResponse) ProtoReflect

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

func (*CreateEntityResponse) Reset

func (x *CreateEntityResponse) Reset()

func (*CreateEntityResponse) String

func (x *CreateEntityResponse) String() string

type CreatePolicyRequest

type CreatePolicyRequest struct {
	Policy *Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePolicyRequest) Descriptor deprecated

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

Deprecated: Use CreatePolicyRequest.ProtoReflect.Descriptor instead.

func (*CreatePolicyRequest) GetPolicy

func (x *CreatePolicyRequest) GetPolicy() *Policy

func (*CreatePolicyRequest) ProtoMessage

func (*CreatePolicyRequest) ProtoMessage()

func (*CreatePolicyRequest) ProtoReflect

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

func (*CreatePolicyRequest) Reset

func (x *CreatePolicyRequest) Reset()

func (*CreatePolicyRequest) String

func (x *CreatePolicyRequest) String() string

type CreatePolicyResponse

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

func (*CreatePolicyResponse) Descriptor deprecated

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

Deprecated: Use CreatePolicyResponse.ProtoReflect.Descriptor instead.

func (*CreatePolicyResponse) ProtoMessage

func (*CreatePolicyResponse) ProtoMessage()

func (*CreatePolicyResponse) ProtoReflect

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

func (*CreatePolicyResponse) Reset

func (x *CreatePolicyResponse) Reset()

func (*CreatePolicyResponse) String

func (x *CreatePolicyResponse) String() string

type DeleteEntityRequest

type DeleteEntityRequest struct {
	Uid *UID `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteEntityRequest) Descriptor deprecated

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

Deprecated: Use DeleteEntityRequest.ProtoReflect.Descriptor instead.

func (*DeleteEntityRequest) GetUid

func (x *DeleteEntityRequest) GetUid() *UID

func (*DeleteEntityRequest) ProtoMessage

func (*DeleteEntityRequest) ProtoMessage()

func (*DeleteEntityRequest) ProtoReflect

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

func (*DeleteEntityRequest) Reset

func (x *DeleteEntityRequest) Reset()

func (*DeleteEntityRequest) String

func (x *DeleteEntityRequest) String() string

type DeleteEntityResponse

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

func (*DeleteEntityResponse) Descriptor deprecated

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

Deprecated: Use DeleteEntityResponse.ProtoReflect.Descriptor instead.

func (*DeleteEntityResponse) ProtoMessage

func (*DeleteEntityResponse) ProtoMessage()

func (*DeleteEntityResponse) ProtoReflect

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

func (*DeleteEntityResponse) Reset

func (x *DeleteEntityResponse) Reset()

func (*DeleteEntityResponse) String

func (x *DeleteEntityResponse) String() string

type DeletePolicyRequest

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

func (*DeletePolicyRequest) Descriptor deprecated

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

Deprecated: Use DeletePolicyRequest.ProtoReflect.Descriptor instead.

func (*DeletePolicyRequest) GetId

func (x *DeletePolicyRequest) GetId() string

func (*DeletePolicyRequest) ProtoMessage

func (*DeletePolicyRequest) ProtoMessage()

func (*DeletePolicyRequest) ProtoReflect

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

func (*DeletePolicyRequest) Reset

func (x *DeletePolicyRequest) Reset()

func (*DeletePolicyRequest) String

func (x *DeletePolicyRequest) String() string

type DeletePolicyResponse

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

func (*DeletePolicyResponse) Descriptor deprecated

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

Deprecated: Use DeletePolicyResponse.ProtoReflect.Descriptor instead.

func (*DeletePolicyResponse) ProtoMessage

func (*DeletePolicyResponse) ProtoMessage()

func (*DeletePolicyResponse) ProtoReflect

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

func (*DeletePolicyResponse) Reset

func (x *DeletePolicyResponse) Reset()

func (*DeletePolicyResponse) String

func (x *DeletePolicyResponse) String() string

type Diagnostics

type Diagnostics struct {
	Reasons []*Reason `protobuf:"bytes,1,rep,name=reasons,proto3" json:"reasons,omitempty"`
	Errors  []*Error  `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
	// contains filtered or unexported fields
}

func (*Diagnostics) Descriptor deprecated

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

Deprecated: Use Diagnostics.ProtoReflect.Descriptor instead.

func (*Diagnostics) GetErrors

func (x *Diagnostics) GetErrors() []*Error

func (*Diagnostics) GetReasons

func (x *Diagnostics) GetReasons() []*Reason

func (*Diagnostics) ProtoMessage

func (*Diagnostics) ProtoMessage()

func (*Diagnostics) ProtoReflect

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

func (*Diagnostics) Reset

func (x *Diagnostics) Reset()

func (*Diagnostics) String

func (x *Diagnostics) String() string

type Entity

type Entity struct {
	Uid        *UID                       `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	Parents    []*UID                     `protobuf:"bytes,2,rep,name=parents,proto3" json:"parents,omitempty"`
	Attributes map[string]*structpb.Value `` /* 147-byte string literal not displayed */
	Tags       map[string]*structpb.Value `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Entity) Descriptor deprecated

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

Deprecated: Use Entity.ProtoReflect.Descriptor instead.

func (*Entity) GetAttributes

func (x *Entity) GetAttributes() map[string]*structpb.Value

func (*Entity) GetParents

func (x *Entity) GetParents() []*UID

func (*Entity) GetTags

func (x *Entity) GetTags() map[string]*structpb.Value

func (*Entity) GetUid

func (x *Entity) GetUid() *UID

func (*Entity) ProtoMessage

func (*Entity) ProtoMessage()

func (*Entity) ProtoReflect

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

func (*Entity) Reset

func (x *Entity) Reset()

func (*Entity) String

func (x *Entity) String() string

type Error

type Error struct {
	PolicyId string    `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	Position *Position `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
	Message  string    `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*Error) Descriptor deprecated

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

Deprecated: Use Error.ProtoReflect.Descriptor instead.

func (*Error) GetMessage

func (x *Error) GetMessage() string

func (*Error) GetPolicyId

func (x *Error) GetPolicyId() string

func (*Error) GetPosition

func (x *Error) GetPosition() *Position

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) ProtoReflect

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

func (*Error) Reset

func (x *Error) Reset()

func (*Error) String

func (x *Error) String() string

type IsAllowedRequest

type IsAllowedRequest struct {
	Principal *UID `protobuf:"bytes,1,opt,name=principal,proto3" json:"principal,omitempty"`
	Action    *UID `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	Resource  *UID `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*IsAllowedRequest) Descriptor deprecated

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

Deprecated: Use IsAllowedRequest.ProtoReflect.Descriptor instead.

func (*IsAllowedRequest) GetAction

func (x *IsAllowedRequest) GetAction() *UID

func (*IsAllowedRequest) GetPrincipal

func (x *IsAllowedRequest) GetPrincipal() *UID

func (*IsAllowedRequest) GetResource

func (x *IsAllowedRequest) GetResource() *UID

func (*IsAllowedRequest) ProtoMessage

func (*IsAllowedRequest) ProtoMessage()

func (*IsAllowedRequest) ProtoReflect

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

func (*IsAllowedRequest) Reset

func (x *IsAllowedRequest) Reset()

func (*IsAllowedRequest) String

func (x *IsAllowedRequest) String() string

type IsAllowedResponse

type IsAllowedResponse struct {
	Decision    bool         `protobuf:"varint,1,opt,name=decision,proto3" json:"decision,omitempty"`
	Diagnostics *Diagnostics `protobuf:"bytes,2,opt,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	// contains filtered or unexported fields
}

func (*IsAllowedResponse) Descriptor deprecated

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

Deprecated: Use IsAllowedResponse.ProtoReflect.Descriptor instead.

func (*IsAllowedResponse) GetDecision

func (x *IsAllowedResponse) GetDecision() bool

func (*IsAllowedResponse) GetDiagnostics

func (x *IsAllowedResponse) GetDiagnostics() *Diagnostics

func (*IsAllowedResponse) ProtoMessage

func (*IsAllowedResponse) ProtoMessage()

func (*IsAllowedResponse) ProtoReflect

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

func (*IsAllowedResponse) Reset

func (x *IsAllowedResponse) Reset()

func (*IsAllowedResponse) String

func (x *IsAllowedResponse) String() string

type Policy

type Policy struct {
	Definition string `protobuf:"bytes,1,opt,name=definition,proto3" json:"definition,omitempty"`
	Id         string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*Policy) Descriptor deprecated

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

Deprecated: Use Policy.ProtoReflect.Descriptor instead.

func (*Policy) GetDefinition

func (x *Policy) GetDefinition() string

func (*Policy) GetId

func (x *Policy) GetId() string

func (*Policy) ProtoMessage

func (*Policy) ProtoMessage()

func (*Policy) ProtoReflect

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

func (*Policy) Reset

func (x *Policy) Reset()

func (*Policy) String

func (x *Policy) String() string

type Position

type Position struct {
	FileName string `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
	Offset   int64  `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Line     int64  `protobuf:"varint,3,opt,name=line,proto3" json:"line,omitempty"`
	Column   int64  `protobuf:"varint,4,opt,name=column,proto3" json:"column,omitempty"`
	// contains filtered or unexported fields
}

func (*Position) Descriptor deprecated

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

Deprecated: Use Position.ProtoReflect.Descriptor instead.

func (*Position) GetColumn

func (x *Position) GetColumn() int64

func (*Position) GetFileName

func (x *Position) GetFileName() string

func (*Position) GetLine

func (x *Position) GetLine() int64

func (*Position) GetOffset

func (x *Position) GetOffset() int64

func (*Position) ProtoMessage

func (*Position) ProtoMessage()

func (*Position) ProtoReflect

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

func (*Position) Reset

func (x *Position) Reset()

func (*Position) String

func (x *Position) String() string

type Reason

type Reason struct {
	PolicyId string    `protobuf:"bytes,1,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
	Position *Position `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
	// contains filtered or unexported fields
}

func (*Reason) Descriptor deprecated

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

Deprecated: Use Reason.ProtoReflect.Descriptor instead.

func (*Reason) GetPolicyId

func (x *Reason) GetPolicyId() string

func (*Reason) GetPosition

func (x *Reason) GetPosition() *Position

func (*Reason) ProtoMessage

func (*Reason) ProtoMessage()

func (*Reason) ProtoReflect

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

func (*Reason) Reset

func (x *Reason) Reset()

func (*Reason) String

func (x *Reason) String() string

type UID

type UID struct {
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Id   string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*UID) Descriptor deprecated

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

Deprecated: Use UID.ProtoReflect.Descriptor instead.

func (*UID) GetId

func (x *UID) GetId() string

func (*UID) GetType

func (x *UID) GetType() string

func (*UID) ProtoMessage

func (*UID) ProtoMessage()

func (*UID) ProtoReflect

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

func (*UID) Reset

func (x *UID) Reset()

func (*UID) String

func (x *UID) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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