Documentation
¶
Index ¶
- Variables
- type CreateEntitiesRequest
- func (*CreateEntitiesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateEntitiesRequest) GetEntities() []*Entity
- func (*CreateEntitiesRequest) ProtoMessage()
- func (x *CreateEntitiesRequest) ProtoReflect() protoreflect.Message
- func (x *CreateEntitiesRequest) Reset()
- func (x *CreateEntitiesRequest) String() string
- type CreateEntitiesResponse
- func (*CreateEntitiesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateEntitiesResponse) GetEntities() []*Entity
- func (*CreateEntitiesResponse) ProtoMessage()
- func (x *CreateEntitiesResponse) ProtoReflect() protoreflect.Message
- func (x *CreateEntitiesResponse) Reset()
- func (x *CreateEntitiesResponse) String() string
- type CreatePoliciesRequest
- func (*CreatePoliciesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePoliciesRequest) GetPolicies() []*Policy
- func (*CreatePoliciesRequest) ProtoMessage()
- func (x *CreatePoliciesRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePoliciesRequest) Reset()
- func (x *CreatePoliciesRequest) String() string
- type CreatePoliciesResponse
- func (*CreatePoliciesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePoliciesResponse) GetIds() []string
- func (*CreatePoliciesResponse) ProtoMessage()
- func (x *CreatePoliciesResponse) ProtoReflect() protoreflect.Message
- func (x *CreatePoliciesResponse) Reset()
- func (x *CreatePoliciesResponse) String() string
- type DeleteEntityRequest
- func (*DeleteEntityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteEntityRequest) GetUid() *UID
- func (*DeleteEntityRequest) ProtoMessage()
- func (x *DeleteEntityRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteEntityRequest) Reset()
- func (x *DeleteEntityRequest) String() string
- type DeleteEntityResponse
- type DeletePolicyRequest
- func (*DeletePolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePolicyRequest) GetId() string
- func (*DeletePolicyRequest) ProtoMessage()
- func (x *DeletePolicyRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePolicyRequest) Reset()
- func (x *DeletePolicyRequest) String() string
- type DeletePolicyResponse
- type Diagnostics
- func (*Diagnostics) Descriptor() ([]byte, []int)deprecated
- func (x *Diagnostics) GetErrors() []*Error
- func (x *Diagnostics) GetReasons() []*Reason
- func (*Diagnostics) ProtoMessage()
- func (x *Diagnostics) ProtoReflect() protoreflect.Message
- func (x *Diagnostics) Reset()
- func (x *Diagnostics) String() string
- type Entity
- func (*Entity) Descriptor() ([]byte, []int)deprecated
- func (x *Entity) GetAttributes() map[string]*structpb.Value
- func (x *Entity) GetParents() []*UID
- func (x *Entity) GetTags() map[string]*structpb.Value
- func (x *Entity) GetUid() *UID
- func (*Entity) ProtoMessage()
- func (x *Entity) ProtoReflect() protoreflect.Message
- func (x *Entity) Reset()
- func (x *Entity) String() string
- type Error
- func (*Error) Descriptor() ([]byte, []int)deprecated
- func (x *Error) GetMessage() string
- func (x *Error) GetPolicyId() string
- func (x *Error) GetPosition() *Position
- func (*Error) ProtoMessage()
- func (x *Error) ProtoReflect() protoreflect.Message
- func (x *Error) Reset()
- func (x *Error) String() string
- type GetEntityRequest
- type GetEntityResponse
- type GetPolicyRequest
- type GetPolicyResponse
- type IsAllowedRequest
- func (*IsAllowedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IsAllowedRequest) GetAction() *UID
- func (x *IsAllowedRequest) GetContext() map[string]*structpb.Value
- func (x *IsAllowedRequest) GetPrincipal() *UID
- func (x *IsAllowedRequest) GetResource() *UID
- func (*IsAllowedRequest) ProtoMessage()
- func (x *IsAllowedRequest) ProtoReflect() protoreflect.Message
- func (x *IsAllowedRequest) Reset()
- func (x *IsAllowedRequest) String() string
- type IsAllowedResponse
- func (*IsAllowedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IsAllowedResponse) GetDecision() bool
- func (x *IsAllowedResponse) GetDiagnostics() *Diagnostics
- func (x *IsAllowedResponse) GetMessage() string
- func (*IsAllowedResponse) ProtoMessage()
- func (x *IsAllowedResponse) ProtoReflect() protoreflect.Message
- func (x *IsAllowedResponse) Reset()
- func (x *IsAllowedResponse) String() string
- type ListEntitiesRequest
- type ListEntitiesResponse
- func (*ListEntitiesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEntitiesResponse) GetEntities() []*Entity
- func (*ListEntitiesResponse) ProtoMessage()
- func (x *ListEntitiesResponse) ProtoReflect() protoreflect.Message
- func (x *ListEntitiesResponse) Reset()
- func (x *ListEntitiesResponse) String() string
- type ListPoliciesRequest
- type ListPoliciesResponse
- func (*ListPoliciesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPoliciesResponse) GetPolicies() []*Policy
- func (*ListPoliciesResponse) ProtoMessage()
- func (x *ListPoliciesResponse) ProtoReflect() protoreflect.Message
- func (x *ListPoliciesResponse) Reset()
- func (x *ListPoliciesResponse) String() string
- type Policy
- type Position
- func (*Position) Descriptor() ([]byte, []int)deprecated
- func (x *Position) GetColumn() int64
- func (x *Position) GetFileName() string
- func (x *Position) GetLine() int64
- func (x *Position) GetOffset() int64
- func (*Position) ProtoMessage()
- func (x *Position) ProtoReflect() protoreflect.Message
- func (x *Position) Reset()
- func (x *Position) String() string
- type Reason
- func (*Reason) Descriptor() ([]byte, []int)deprecated
- func (x *Reason) GetMessage() string
- func (x *Reason) GetPolicyId() string
- func (x *Reason) GetPosition() *Position
- func (*Reason) ProtoMessage()
- func (x *Reason) ProtoReflect() protoreflect.Message
- func (x *Reason) Reset()
- func (x *Reason) String() string
- type UID
Constants ¶
This section is empty.
Variables ¶
var File_fence_v1_admin_proto protoreflect.FileDescriptor
var File_fence_v1_fence_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CreateEntitiesRequest ¶
type CreateEntitiesRequest struct {
Entities []*Entity `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"`
// contains filtered or unexported fields
}
func (*CreateEntitiesRequest) Descriptor
deprecated
func (*CreateEntitiesRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateEntitiesRequest.ProtoReflect.Descriptor instead.
func (*CreateEntitiesRequest) GetEntities ¶
func (x *CreateEntitiesRequest) GetEntities() []*Entity
func (*CreateEntitiesRequest) ProtoMessage ¶
func (*CreateEntitiesRequest) ProtoMessage()
func (*CreateEntitiesRequest) ProtoReflect ¶
func (x *CreateEntitiesRequest) ProtoReflect() protoreflect.Message
func (*CreateEntitiesRequest) Reset ¶
func (x *CreateEntitiesRequest) Reset()
func (*CreateEntitiesRequest) String ¶
func (x *CreateEntitiesRequest) String() string
type CreateEntitiesResponse ¶
type CreateEntitiesResponse struct {
Entities []*Entity `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"`
// contains filtered or unexported fields
}
func (*CreateEntitiesResponse) Descriptor
deprecated
func (*CreateEntitiesResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateEntitiesResponse.ProtoReflect.Descriptor instead.
func (*CreateEntitiesResponse) GetEntities ¶
func (x *CreateEntitiesResponse) GetEntities() []*Entity
func (*CreateEntitiesResponse) ProtoMessage ¶
func (*CreateEntitiesResponse) ProtoMessage()
func (*CreateEntitiesResponse) ProtoReflect ¶
func (x *CreateEntitiesResponse) ProtoReflect() protoreflect.Message
func (*CreateEntitiesResponse) Reset ¶
func (x *CreateEntitiesResponse) Reset()
func (*CreateEntitiesResponse) String ¶
func (x *CreateEntitiesResponse) String() string
type CreatePoliciesRequest ¶
type CreatePoliciesRequest struct {
Policies []*Policy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"`
// contains filtered or unexported fields
}
func (*CreatePoliciesRequest) Descriptor
deprecated
func (*CreatePoliciesRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePoliciesRequest.ProtoReflect.Descriptor instead.
func (*CreatePoliciesRequest) GetPolicies ¶
func (x *CreatePoliciesRequest) GetPolicies() []*Policy
func (*CreatePoliciesRequest) ProtoMessage ¶
func (*CreatePoliciesRequest) ProtoMessage()
func (*CreatePoliciesRequest) ProtoReflect ¶
func (x *CreatePoliciesRequest) ProtoReflect() protoreflect.Message
func (*CreatePoliciesRequest) Reset ¶
func (x *CreatePoliciesRequest) Reset()
func (*CreatePoliciesRequest) String ¶
func (x *CreatePoliciesRequest) String() string
type CreatePoliciesResponse ¶
type CreatePoliciesResponse struct {
Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
// contains filtered or unexported fields
}
func (*CreatePoliciesResponse) Descriptor
deprecated
func (*CreatePoliciesResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreatePoliciesResponse.ProtoReflect.Descriptor instead.
func (*CreatePoliciesResponse) GetIds ¶
func (x *CreatePoliciesResponse) GetIds() []string
func (*CreatePoliciesResponse) ProtoMessage ¶
func (*CreatePoliciesResponse) ProtoMessage()
func (*CreatePoliciesResponse) ProtoReflect ¶
func (x *CreatePoliciesResponse) ProtoReflect() protoreflect.Message
func (*CreatePoliciesResponse) Reset ¶
func (x *CreatePoliciesResponse) Reset()
func (*CreatePoliciesResponse) String ¶
func (x *CreatePoliciesResponse) 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) GetParents ¶
func (*Entity) ProtoMessage ¶
func (*Entity) ProtoMessage()
func (*Entity) ProtoReflect ¶
func (x *Entity) ProtoReflect() protoreflect.Message
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) GetMessage ¶
func (*Error) GetPolicyId ¶
func (*Error) GetPosition ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
type GetEntityRequest ¶
type GetEntityRequest struct {
// contains filtered or unexported fields
}
func (*GetEntityRequest) Descriptor
deprecated
func (*GetEntityRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEntityRequest.ProtoReflect.Descriptor instead.
func (*GetEntityRequest) ProtoMessage ¶
func (*GetEntityRequest) ProtoMessage()
func (*GetEntityRequest) ProtoReflect ¶
func (x *GetEntityRequest) ProtoReflect() protoreflect.Message
func (*GetEntityRequest) Reset ¶
func (x *GetEntityRequest) Reset()
func (*GetEntityRequest) String ¶
func (x *GetEntityRequest) String() string
type GetEntityResponse ¶
type GetEntityResponse struct {
// contains filtered or unexported fields
}
func (*GetEntityResponse) Descriptor
deprecated
func (*GetEntityResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetEntityResponse.ProtoReflect.Descriptor instead.
func (*GetEntityResponse) ProtoMessage ¶
func (*GetEntityResponse) ProtoMessage()
func (*GetEntityResponse) ProtoReflect ¶
func (x *GetEntityResponse) ProtoReflect() protoreflect.Message
func (*GetEntityResponse) Reset ¶
func (x *GetEntityResponse) Reset()
func (*GetEntityResponse) String ¶
func (x *GetEntityResponse) String() string
type GetPolicyRequest ¶
type GetPolicyRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*GetPolicyRequest) Descriptor
deprecated
func (*GetPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPolicyRequest.ProtoReflect.Descriptor instead.
func (*GetPolicyRequest) GetId ¶
func (x *GetPolicyRequest) GetId() string
func (*GetPolicyRequest) ProtoMessage ¶
func (*GetPolicyRequest) ProtoMessage()
func (*GetPolicyRequest) ProtoReflect ¶
func (x *GetPolicyRequest) ProtoReflect() protoreflect.Message
func (*GetPolicyRequest) Reset ¶
func (x *GetPolicyRequest) Reset()
func (*GetPolicyRequest) String ¶
func (x *GetPolicyRequest) String() string
type GetPolicyResponse ¶
type GetPolicyResponse struct {
Policy *Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
// contains filtered or unexported fields
}
func (*GetPolicyResponse) Descriptor
deprecated
func (*GetPolicyResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPolicyResponse.ProtoReflect.Descriptor instead.
func (*GetPolicyResponse) GetPolicy ¶
func (x *GetPolicyResponse) GetPolicy() *Policy
func (*GetPolicyResponse) ProtoMessage ¶
func (*GetPolicyResponse) ProtoMessage()
func (*GetPolicyResponse) ProtoReflect ¶
func (x *GetPolicyResponse) ProtoReflect() protoreflect.Message
func (*GetPolicyResponse) Reset ¶
func (x *GetPolicyResponse) Reset()
func (*GetPolicyResponse) String ¶
func (x *GetPolicyResponse) 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"`
Context map[string]*structpb.Value `` /* 141-byte string literal not displayed */
// 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) GetContext ¶
func (x *IsAllowedRequest) GetContext() map[string]*structpb.Value
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"`
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,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) GetMessage ¶
func (x *IsAllowedResponse) GetMessage() string
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 ListEntitiesRequest ¶
type ListEntitiesRequest struct {
// contains filtered or unexported fields
}
func (*ListEntitiesRequest) Descriptor
deprecated
func (*ListEntitiesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListEntitiesRequest.ProtoReflect.Descriptor instead.
func (*ListEntitiesRequest) ProtoMessage ¶
func (*ListEntitiesRequest) ProtoMessage()
func (*ListEntitiesRequest) ProtoReflect ¶
func (x *ListEntitiesRequest) ProtoReflect() protoreflect.Message
func (*ListEntitiesRequest) Reset ¶
func (x *ListEntitiesRequest) Reset()
func (*ListEntitiesRequest) String ¶
func (x *ListEntitiesRequest) String() string
type ListEntitiesResponse ¶
type ListEntitiesResponse struct {
Entities []*Entity `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"`
// contains filtered or unexported fields
}
func (*ListEntitiesResponse) Descriptor
deprecated
func (*ListEntitiesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEntitiesResponse.ProtoReflect.Descriptor instead.
func (*ListEntitiesResponse) GetEntities ¶
func (x *ListEntitiesResponse) GetEntities() []*Entity
func (*ListEntitiesResponse) ProtoMessage ¶
func (*ListEntitiesResponse) ProtoMessage()
func (*ListEntitiesResponse) ProtoReflect ¶
func (x *ListEntitiesResponse) ProtoReflect() protoreflect.Message
func (*ListEntitiesResponse) Reset ¶
func (x *ListEntitiesResponse) Reset()
func (*ListEntitiesResponse) String ¶
func (x *ListEntitiesResponse) String() string
type ListPoliciesRequest ¶
type ListPoliciesRequest struct {
// contains filtered or unexported fields
}
TODO: pagination
func (*ListPoliciesRequest) Descriptor
deprecated
func (*ListPoliciesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPoliciesRequest.ProtoReflect.Descriptor instead.
func (*ListPoliciesRequest) ProtoMessage ¶
func (*ListPoliciesRequest) ProtoMessage()
func (*ListPoliciesRequest) ProtoReflect ¶
func (x *ListPoliciesRequest) ProtoReflect() protoreflect.Message
func (*ListPoliciesRequest) Reset ¶
func (x *ListPoliciesRequest) Reset()
func (*ListPoliciesRequest) String ¶
func (x *ListPoliciesRequest) String() string
type ListPoliciesResponse ¶
type ListPoliciesResponse struct {
Policies []*Policy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"`
// contains filtered or unexported fields
}
func (*ListPoliciesResponse) Descriptor
deprecated
func (*ListPoliciesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPoliciesResponse.ProtoReflect.Descriptor instead.
func (*ListPoliciesResponse) GetPolicies ¶
func (x *ListPoliciesResponse) GetPolicies() []*Policy
func (*ListPoliciesResponse) ProtoMessage ¶
func (*ListPoliciesResponse) ProtoMessage()
func (*ListPoliciesResponse) ProtoReflect ¶
func (x *ListPoliciesResponse) ProtoReflect() protoreflect.Message
func (*ListPoliciesResponse) Reset ¶
func (x *ListPoliciesResponse) Reset()
func (*ListPoliciesResponse) String ¶
func (x *ListPoliciesResponse) 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) GetDefinition ¶
func (*Policy) ProtoMessage ¶
func (*Policy) ProtoMessage()
func (*Policy) ProtoReflect ¶
func (x *Policy) ProtoReflect() protoreflect.Message
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) GetFileName ¶
func (*Position) ProtoMessage ¶
func (*Position) ProtoMessage()
func (*Position) ProtoReflect ¶
func (x *Position) ProtoReflect() protoreflect.Message
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"`
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*Reason) Descriptor
deprecated
func (*Reason) GetMessage ¶
func (*Reason) GetPolicyId ¶
func (*Reason) GetPosition ¶
func (*Reason) ProtoMessage ¶
func (*Reason) ProtoMessage()
func (*Reason) ProtoReflect ¶
func (x *Reason) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*UID) ProtoMessage()
func (*UID) ProtoReflect ¶
func (x *UID) ProtoReflect() protoreflect.Message