Documentation ¶
Overview ¶
Package pb is a generated protocol buffer package.
It is generated from these files:
service.proto
It has these top-level messages:
Principal Subject ContextRequest IsAllowedResponse AndPrincipals RolePolicy Policy EvaluatedCondition EvaluatedRolePolicy EvaluatedPolicy EvaluationDebugResponse AllRoleResponse AllPermissionResponse
Index ¶
- func RegisterEvaluatorServer(s *grpc.Server, srv EvaluatorServer)
- type AllPermissionResponse
- type AllPermissionResponse_Permission
- func (*AllPermissionResponse_Permission) Descriptor() ([]byte, []int)
- func (m *AllPermissionResponse_Permission) GetActions() []string
- func (m *AllPermissionResponse_Permission) GetResource() string
- func (*AllPermissionResponse_Permission) ProtoMessage()
- func (m *AllPermissionResponse_Permission) Reset()
- func (m *AllPermissionResponse_Permission) String() string
- type AllRoleResponse
- type AndPrincipals
- type ContextRequest
- func (*ContextRequest) Descriptor() ([]byte, []int)
- func (m *ContextRequest) GetAction() string
- func (m *ContextRequest) GetAttributes() map[string]string
- func (m *ContextRequest) GetResource() string
- func (m *ContextRequest) GetServiceName() string
- func (m *ContextRequest) GetSubject() *Subject
- func (*ContextRequest) ProtoMessage()
- func (m *ContextRequest) Reset()
- func (m *ContextRequest) String() string
- type EvaluatedCondition
- type EvaluatedPolicy
- func (*EvaluatedPolicy) Descriptor() ([]byte, []int)
- func (m *EvaluatedPolicy) GetCondition() *EvaluatedCondition
- func (m *EvaluatedPolicy) GetEffect() string
- func (m *EvaluatedPolicy) GetID() string
- func (m *EvaluatedPolicy) GetName() string
- func (m *EvaluatedPolicy) GetPermissions() []*EvaluatedPolicy_Permission
- func (m *EvaluatedPolicy) GetPrincipals() []string
- func (m *EvaluatedPolicy) GetStatus() string
- func (*EvaluatedPolicy) ProtoMessage()
- func (m *EvaluatedPolicy) Reset()
- func (m *EvaluatedPolicy) String() string
- type EvaluatedPolicy_Permission
- func (*EvaluatedPolicy_Permission) Descriptor() ([]byte, []int)
- func (m *EvaluatedPolicy_Permission) GetActions() []string
- func (m *EvaluatedPolicy_Permission) GetResource() string
- func (m *EvaluatedPolicy_Permission) GetResourceExpression() string
- func (*EvaluatedPolicy_Permission) ProtoMessage()
- func (m *EvaluatedPolicy_Permission) Reset()
- func (m *EvaluatedPolicy_Permission) String() string
- type EvaluatedRolePolicy
- func (*EvaluatedRolePolicy) Descriptor() ([]byte, []int)
- func (m *EvaluatedRolePolicy) GetCondition() *EvaluatedCondition
- func (m *EvaluatedRolePolicy) GetEffect() string
- func (m *EvaluatedRolePolicy) GetID() string
- func (m *EvaluatedRolePolicy) GetName() string
- func (m *EvaluatedRolePolicy) GetPrincipals() []string
- func (m *EvaluatedRolePolicy) GetResourceExpressions() []string
- func (m *EvaluatedRolePolicy) GetResources() []string
- func (m *EvaluatedRolePolicy) GetRoles() []string
- func (m *EvaluatedRolePolicy) GetStatus() string
- func (*EvaluatedRolePolicy) ProtoMessage()
- func (m *EvaluatedRolePolicy) Reset()
- func (m *EvaluatedRolePolicy) String() string
- type EvaluationDebugResponse
- func (*EvaluationDebugResponse) Descriptor() ([]byte, []int)
- func (m *EvaluationDebugResponse) GetAllowed() bool
- func (m *EvaluationDebugResponse) GetGrantedRoles() []string
- func (m *EvaluationDebugResponse) GetPolicies() []*EvaluatedPolicy
- func (m *EvaluationDebugResponse) GetReason() string
- func (m *EvaluationDebugResponse) GetRequestContext() *ContextRequest
- func (m *EvaluationDebugResponse) GetRolePolicies() []*EvaluatedRolePolicy
- func (*EvaluationDebugResponse) ProtoMessage()
- func (m *EvaluationDebugResponse) Reset()
- func (m *EvaluationDebugResponse) String() string
- type EvaluatorClient
- type EvaluatorServer
- type IsAllowedResponse
- func (*IsAllowedResponse) Descriptor() ([]byte, []int)
- func (m *IsAllowedResponse) GetAllowed() bool
- func (m *IsAllowedResponse) GetErrMsg() string
- func (m *IsAllowedResponse) GetReason() int32
- func (*IsAllowedResponse) ProtoMessage()
- func (m *IsAllowedResponse) Reset()
- func (m *IsAllowedResponse) String() string
- type Policy
- func (*Policy) Descriptor() ([]byte, []int)
- func (m *Policy) GetCondition() string
- func (m *Policy) GetEffect() string
- func (m *Policy) GetID() string
- func (m *Policy) GetName() string
- func (m *Policy) GetPermissions() []*Policy_Permission
- func (m *Policy) GetPrincipals() []*AndPrincipals
- func (*Policy) ProtoMessage()
- func (m *Policy) Reset()
- func (m *Policy) String() string
- type Policy_Permission
- func (*Policy_Permission) Descriptor() ([]byte, []int)
- func (m *Policy_Permission) GetActions() []string
- func (m *Policy_Permission) GetResource() string
- func (m *Policy_Permission) GetResourceExpression() string
- func (*Policy_Permission) ProtoMessage()
- func (m *Policy_Permission) Reset()
- func (m *Policy_Permission) String() string
- type Principal
- type RolePolicy
- func (*RolePolicy) Descriptor() ([]byte, []int)
- func (m *RolePolicy) GetCondition() string
- func (m *RolePolicy) GetEffect() string
- func (m *RolePolicy) GetID() string
- func (m *RolePolicy) GetName() string
- func (m *RolePolicy) GetPrincipals() []string
- func (m *RolePolicy) GetResourceExpressions() []string
- func (m *RolePolicy) GetResources() []string
- func (m *RolePolicy) GetRoles() []string
- func (*RolePolicy) ProtoMessage()
- func (m *RolePolicy) Reset()
- func (m *RolePolicy) String() string
- type Subject
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterEvaluatorServer ¶
func RegisterEvaluatorServer(s *grpc.Server, srv EvaluatorServer)
Types ¶
type AllPermissionResponse ¶
type AllPermissionResponse struct {
Permissions []*AllPermissionResponse_Permission `protobuf:"bytes,1,rep,name=permissions" json:"permissions,omitempty"`
}
func (*AllPermissionResponse) Descriptor ¶
func (*AllPermissionResponse) Descriptor() ([]byte, []int)
func (*AllPermissionResponse) GetPermissions ¶
func (m *AllPermissionResponse) GetPermissions() []*AllPermissionResponse_Permission
func (*AllPermissionResponse) ProtoMessage ¶
func (*AllPermissionResponse) ProtoMessage()
func (*AllPermissionResponse) Reset ¶
func (m *AllPermissionResponse) Reset()
func (*AllPermissionResponse) String ¶
func (m *AllPermissionResponse) String() string
type AllPermissionResponse_Permission ¶
type AllPermissionResponse_Permission struct { Resource string `protobuf:"bytes,1,opt,name=resource" json:"resource,omitempty"` Actions []string `protobuf:"bytes,2,rep,name=actions" json:"actions,omitempty"` }
func (*AllPermissionResponse_Permission) Descriptor ¶
func (*AllPermissionResponse_Permission) Descriptor() ([]byte, []int)
func (*AllPermissionResponse_Permission) GetActions ¶
func (m *AllPermissionResponse_Permission) GetActions() []string
func (*AllPermissionResponse_Permission) GetResource ¶
func (m *AllPermissionResponse_Permission) GetResource() string
func (*AllPermissionResponse_Permission) ProtoMessage ¶
func (*AllPermissionResponse_Permission) ProtoMessage()
func (*AllPermissionResponse_Permission) Reset ¶
func (m *AllPermissionResponse_Permission) Reset()
func (*AllPermissionResponse_Permission) String ¶
func (m *AllPermissionResponse_Permission) String() string
type AllRoleResponse ¶
type AllRoleResponse struct {
Roles []string `protobuf:"bytes,1,rep,name=roles" json:"roles,omitempty"`
}
func (*AllRoleResponse) Descriptor ¶
func (*AllRoleResponse) Descriptor() ([]byte, []int)
func (*AllRoleResponse) GetRoles ¶
func (m *AllRoleResponse) GetRoles() []string
func (*AllRoleResponse) ProtoMessage ¶
func (*AllRoleResponse) ProtoMessage()
func (*AllRoleResponse) Reset ¶
func (m *AllRoleResponse) Reset()
func (*AllRoleResponse) String ¶
func (m *AllRoleResponse) String() string
type AndPrincipals ¶
type AndPrincipals struct {
Principals []string `protobuf:"bytes,1,rep,name=principals" json:"principals,omitempty"`
}
func (*AndPrincipals) Descriptor ¶
func (*AndPrincipals) Descriptor() ([]byte, []int)
func (*AndPrincipals) GetPrincipals ¶
func (m *AndPrincipals) GetPrincipals() []string
func (*AndPrincipals) ProtoMessage ¶
func (*AndPrincipals) ProtoMessage()
func (*AndPrincipals) Reset ¶
func (m *AndPrincipals) Reset()
func (*AndPrincipals) String ¶
func (m *AndPrincipals) String() string
type ContextRequest ¶
type ContextRequest struct { Subject *Subject `protobuf:"bytes,1,opt,name=subject" json:"subject,omitempty"` ServiceName string `protobuf:"bytes,2,opt,name=serviceName" json:"serviceName,omitempty"` Resource string `protobuf:"bytes,3,opt,name=resource" json:"resource,omitempty"` Action string `protobuf:"bytes,4,opt,name=action" json:"action,omitempty"` Attributes map[string]string `` /* 140-byte string literal not displayed */ }
func (*ContextRequest) Descriptor ¶
func (*ContextRequest) Descriptor() ([]byte, []int)
func (*ContextRequest) GetAction ¶
func (m *ContextRequest) GetAction() string
func (*ContextRequest) GetAttributes ¶
func (m *ContextRequest) GetAttributes() map[string]string
func (*ContextRequest) GetResource ¶
func (m *ContextRequest) GetResource() string
func (*ContextRequest) GetServiceName ¶
func (m *ContextRequest) GetServiceName() string
func (*ContextRequest) GetSubject ¶
func (m *ContextRequest) GetSubject() *Subject
func (*ContextRequest) ProtoMessage ¶
func (*ContextRequest) ProtoMessage()
func (*ContextRequest) Reset ¶
func (m *ContextRequest) Reset()
func (*ContextRequest) String ¶
func (m *ContextRequest) String() string
type EvaluatedCondition ¶
type EvaluatedCondition struct { ConditionExpression string `protobuf:"bytes,1,opt,name=ConditionExpression" json:"ConditionExpression,omitempty"` EvaluationResult string `protobuf:"bytes,2,opt,name=EvaluationResult" json:"EvaluationResult,omitempty"` }
func (*EvaluatedCondition) Descriptor ¶
func (*EvaluatedCondition) Descriptor() ([]byte, []int)
func (*EvaluatedCondition) GetConditionExpression ¶
func (m *EvaluatedCondition) GetConditionExpression() string
func (*EvaluatedCondition) GetEvaluationResult ¶
func (m *EvaluatedCondition) GetEvaluationResult() string
func (*EvaluatedCondition) ProtoMessage ¶
func (*EvaluatedCondition) ProtoMessage()
func (*EvaluatedCondition) Reset ¶
func (m *EvaluatedCondition) Reset()
func (*EvaluatedCondition) String ¶
func (m *EvaluatedCondition) String() string
type EvaluatedPolicy ¶
type EvaluatedPolicy struct { Status string `protobuf:"bytes,1,opt,name=Status" json:"Status,omitempty"` ID string `protobuf:"bytes,2,opt,name=ID" json:"ID,omitempty"` Name string `protobuf:"bytes,3,opt,name=Name" json:"Name,omitempty"` Effect string `protobuf:"bytes,4,opt,name=Effect" json:"Effect,omitempty"` Permissions []*EvaluatedPolicy_Permission `protobuf:"bytes,5,rep,name=permissions" json:"permissions,omitempty"` Principals []string `protobuf:"bytes,6,rep,name=Principals" json:"Principals,omitempty"` Condition *EvaluatedCondition `protobuf:"bytes,7,opt,name=Condition" json:"Condition,omitempty"` }
func (*EvaluatedPolicy) Descriptor ¶
func (*EvaluatedPolicy) Descriptor() ([]byte, []int)
func (*EvaluatedPolicy) GetCondition ¶
func (m *EvaluatedPolicy) GetCondition() *EvaluatedCondition
func (*EvaluatedPolicy) GetEffect ¶
func (m *EvaluatedPolicy) GetEffect() string
func (*EvaluatedPolicy) GetID ¶
func (m *EvaluatedPolicy) GetID() string
func (*EvaluatedPolicy) GetName ¶
func (m *EvaluatedPolicy) GetName() string
func (*EvaluatedPolicy) GetPermissions ¶
func (m *EvaluatedPolicy) GetPermissions() []*EvaluatedPolicy_Permission
func (*EvaluatedPolicy) GetPrincipals ¶
func (m *EvaluatedPolicy) GetPrincipals() []string
func (*EvaluatedPolicy) GetStatus ¶
func (m *EvaluatedPolicy) GetStatus() string
func (*EvaluatedPolicy) ProtoMessage ¶
func (*EvaluatedPolicy) ProtoMessage()
func (*EvaluatedPolicy) Reset ¶
func (m *EvaluatedPolicy) Reset()
func (*EvaluatedPolicy) String ¶
func (m *EvaluatedPolicy) String() string
type EvaluatedPolicy_Permission ¶
type EvaluatedPolicy_Permission struct { Resource string `protobuf:"bytes,1,opt,name=resource" json:"resource,omitempty"` ResourceExpression string `protobuf:"bytes,2,opt,name=resourceExpression" json:"resourceExpression,omitempty"` Actions []string `protobuf:"bytes,3,rep,name=actions" json:"actions,omitempty"` }
func (*EvaluatedPolicy_Permission) Descriptor ¶
func (*EvaluatedPolicy_Permission) Descriptor() ([]byte, []int)
func (*EvaluatedPolicy_Permission) GetActions ¶
func (m *EvaluatedPolicy_Permission) GetActions() []string
func (*EvaluatedPolicy_Permission) GetResource ¶
func (m *EvaluatedPolicy_Permission) GetResource() string
func (*EvaluatedPolicy_Permission) GetResourceExpression ¶
func (m *EvaluatedPolicy_Permission) GetResourceExpression() string
func (*EvaluatedPolicy_Permission) ProtoMessage ¶
func (*EvaluatedPolicy_Permission) ProtoMessage()
func (*EvaluatedPolicy_Permission) Reset ¶
func (m *EvaluatedPolicy_Permission) Reset()
func (*EvaluatedPolicy_Permission) String ¶
func (m *EvaluatedPolicy_Permission) String() string
type EvaluatedRolePolicy ¶
type EvaluatedRolePolicy struct { Status string `protobuf:"bytes,1,opt,name=Status" json:"Status,omitempty"` ID string `protobuf:"bytes,2,opt,name=ID" json:"ID,omitempty"` Name string `protobuf:"bytes,3,opt,name=Name" json:"Name,omitempty"` Effect string `protobuf:"bytes,4,opt,name=Effect" json:"Effect,omitempty"` Roles []string `protobuf:"bytes,5,rep,name=Roles" json:"Roles,omitempty"` Principals []string `protobuf:"bytes,6,rep,name=Principals" json:"Principals,omitempty"` Resources []string `protobuf:"bytes,7,rep,name=Resources" json:"Resources,omitempty"` ResourceExpressions []string `protobuf:"bytes,8,rep,name=ResourceExpressions" json:"ResourceExpressions,omitempty"` Condition *EvaluatedCondition `protobuf:"bytes,9,opt,name=Condition" json:"Condition,omitempty"` }
func (*EvaluatedRolePolicy) Descriptor ¶
func (*EvaluatedRolePolicy) Descriptor() ([]byte, []int)
func (*EvaluatedRolePolicy) GetCondition ¶
func (m *EvaluatedRolePolicy) GetCondition() *EvaluatedCondition
func (*EvaluatedRolePolicy) GetEffect ¶
func (m *EvaluatedRolePolicy) GetEffect() string
func (*EvaluatedRolePolicy) GetID ¶
func (m *EvaluatedRolePolicy) GetID() string
func (*EvaluatedRolePolicy) GetName ¶
func (m *EvaluatedRolePolicy) GetName() string
func (*EvaluatedRolePolicy) GetPrincipals ¶
func (m *EvaluatedRolePolicy) GetPrincipals() []string
func (*EvaluatedRolePolicy) GetResourceExpressions ¶
func (m *EvaluatedRolePolicy) GetResourceExpressions() []string
func (*EvaluatedRolePolicy) GetResources ¶
func (m *EvaluatedRolePolicy) GetResources() []string
func (*EvaluatedRolePolicy) GetRoles ¶
func (m *EvaluatedRolePolicy) GetRoles() []string
func (*EvaluatedRolePolicy) GetStatus ¶
func (m *EvaluatedRolePolicy) GetStatus() string
func (*EvaluatedRolePolicy) ProtoMessage ¶
func (*EvaluatedRolePolicy) ProtoMessage()
func (*EvaluatedRolePolicy) Reset ¶
func (m *EvaluatedRolePolicy) Reset()
func (*EvaluatedRolePolicy) String ¶
func (m *EvaluatedRolePolicy) String() string
type EvaluationDebugResponse ¶
type EvaluationDebugResponse struct { Allowed bool `protobuf:"varint,1,opt,name=allowed" json:"allowed,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason" json:"reason,omitempty"` RequestContext *ContextRequest `protobuf:"bytes,3,opt,name=requestContext" json:"requestContext,omitempty"` GrantedRoles []string `protobuf:"bytes,4,rep,name=grantedRoles" json:"grantedRoles,omitempty"` RolePolicies []*EvaluatedRolePolicy `protobuf:"bytes,5,rep,name=rolePolicies" json:"rolePolicies,omitempty"` Policies []*EvaluatedPolicy `protobuf:"bytes,6,rep,name=policies" json:"policies,omitempty"` }
func (*EvaluationDebugResponse) Descriptor ¶
func (*EvaluationDebugResponse) Descriptor() ([]byte, []int)
func (*EvaluationDebugResponse) GetAllowed ¶
func (m *EvaluationDebugResponse) GetAllowed() bool
func (*EvaluationDebugResponse) GetGrantedRoles ¶
func (m *EvaluationDebugResponse) GetGrantedRoles() []string
func (*EvaluationDebugResponse) GetPolicies ¶
func (m *EvaluationDebugResponse) GetPolicies() []*EvaluatedPolicy
func (*EvaluationDebugResponse) GetReason ¶
func (m *EvaluationDebugResponse) GetReason() string
func (*EvaluationDebugResponse) GetRequestContext ¶
func (m *EvaluationDebugResponse) GetRequestContext() *ContextRequest
func (*EvaluationDebugResponse) GetRolePolicies ¶
func (m *EvaluationDebugResponse) GetRolePolicies() []*EvaluatedRolePolicy
func (*EvaluationDebugResponse) ProtoMessage ¶
func (*EvaluationDebugResponse) ProtoMessage()
func (*EvaluationDebugResponse) Reset ¶
func (m *EvaluationDebugResponse) Reset()
func (*EvaluationDebugResponse) String ¶
func (m *EvaluationDebugResponse) String() string
type EvaluatorClient ¶
type EvaluatorClient interface { IsAllowed(ctx context.Context, in *ContextRequest, opts ...grpc.CallOption) (*IsAllowedResponse, error) GetAllGrantedRoles(ctx context.Context, in *ContextRequest, opts ...grpc.CallOption) (*AllRoleResponse, error) GetAllPermissions(ctx context.Context, in *ContextRequest, opts ...grpc.CallOption) (*AllPermissionResponse, error) Discover(ctx context.Context, in *ContextRequest, opts ...grpc.CallOption) (*IsAllowedResponse, error) Diagnose(ctx context.Context, in *ContextRequest, opts ...grpc.CallOption) (*EvaluationDebugResponse, error) }
func NewEvaluatorClient ¶
func NewEvaluatorClient(cc *grpc.ClientConn) EvaluatorClient
type EvaluatorServer ¶
type EvaluatorServer interface { IsAllowed(context.Context, *ContextRequest) (*IsAllowedResponse, error) GetAllGrantedRoles(context.Context, *ContextRequest) (*AllRoleResponse, error) GetAllPermissions(context.Context, *ContextRequest) (*AllPermissionResponse, error) Discover(context.Context, *ContextRequest) (*IsAllowedResponse, error) Diagnose(context.Context, *ContextRequest) (*EvaluationDebugResponse, error) }
type IsAllowedResponse ¶
type IsAllowedResponse struct { Allowed bool `protobuf:"varint,1,opt,name=allowed" json:"allowed,omitempty"` Reason int32 `protobuf:"varint,2,opt,name=reason" json:"reason,omitempty"` ErrMsg string `protobuf:"bytes,3,opt,name=errMsg" json:"errMsg,omitempty"` }
func (*IsAllowedResponse) Descriptor ¶
func (*IsAllowedResponse) Descriptor() ([]byte, []int)
func (*IsAllowedResponse) GetAllowed ¶
func (m *IsAllowedResponse) GetAllowed() bool
func (*IsAllowedResponse) GetErrMsg ¶
func (m *IsAllowedResponse) GetErrMsg() string
func (*IsAllowedResponse) GetReason ¶
func (m *IsAllowedResponse) GetReason() int32
func (*IsAllowedResponse) ProtoMessage ¶
func (*IsAllowedResponse) ProtoMessage()
func (*IsAllowedResponse) Reset ¶
func (m *IsAllowedResponse) Reset()
func (*IsAllowedResponse) String ¶
func (m *IsAllowedResponse) String() string
type Policy ¶
type Policy struct { ID string `protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name" json:"Name,omitempty"` Effect string `protobuf:"bytes,3,opt,name=Effect" json:"Effect,omitempty"` Permissions []*Policy_Permission `protobuf:"bytes,4,rep,name=permissions" json:"permissions,omitempty"` Principals []*AndPrincipals `protobuf:"bytes,5,rep,name=Principals" json:"Principals,omitempty"` Condition string `protobuf:"bytes,6,opt,name=Condition" json:"Condition,omitempty"` }
func (*Policy) GetPermissions ¶
func (m *Policy) GetPermissions() []*Policy_Permission
func (*Policy) GetPrincipals ¶
func (m *Policy) GetPrincipals() []*AndPrincipals
type Policy_Permission ¶
type Policy_Permission struct { Resource string `protobuf:"bytes,1,opt,name=resource" json:"resource,omitempty"` ResourceExpression string `protobuf:"bytes,2,opt,name=resourceExpression" json:"resourceExpression,omitempty"` Actions []string `protobuf:"bytes,3,rep,name=actions" json:"actions,omitempty"` }
func (*Policy_Permission) Descriptor ¶
func (*Policy_Permission) Descriptor() ([]byte, []int)
func (*Policy_Permission) GetActions ¶
func (m *Policy_Permission) GetActions() []string
func (*Policy_Permission) GetResource ¶
func (m *Policy_Permission) GetResource() string
func (*Policy_Permission) GetResourceExpression ¶
func (m *Policy_Permission) GetResourceExpression() string
func (*Policy_Permission) ProtoMessage ¶
func (*Policy_Permission) ProtoMessage()
func (*Policy_Permission) Reset ¶
func (m *Policy_Permission) Reset()
func (*Policy_Permission) String ¶
func (m *Policy_Permission) String() string
type Principal ¶
type RolePolicy ¶
type RolePolicy struct { ID string `protobuf:"bytes,1,opt,name=ID" json:"ID,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name" json:"Name,omitempty"` Effect string `protobuf:"bytes,3,opt,name=Effect" json:"Effect,omitempty"` Roles []string `protobuf:"bytes,4,rep,name=Roles" json:"Roles,omitempty"` Principals []string `protobuf:"bytes,5,rep,name=Principals" json:"Principals,omitempty"` Resources []string `protobuf:"bytes,6,rep,name=Resources" json:"Resources,omitempty"` ResourceExpressions []string `protobuf:"bytes,7,rep,name=ResourceExpressions" json:"ResourceExpressions,omitempty"` Condition string `protobuf:"bytes,8,opt,name=Condition" json:"Condition,omitempty"` }
func (*RolePolicy) Descriptor ¶
func (*RolePolicy) Descriptor() ([]byte, []int)
func (*RolePolicy) GetCondition ¶
func (m *RolePolicy) GetCondition() string
func (*RolePolicy) GetEffect ¶
func (m *RolePolicy) GetEffect() string
func (*RolePolicy) GetID ¶
func (m *RolePolicy) GetID() string
func (*RolePolicy) GetName ¶
func (m *RolePolicy) GetName() string
func (*RolePolicy) GetPrincipals ¶
func (m *RolePolicy) GetPrincipals() []string
func (*RolePolicy) GetResourceExpressions ¶
func (m *RolePolicy) GetResourceExpressions() []string
func (*RolePolicy) GetResources ¶
func (m *RolePolicy) GetResources() []string
func (*RolePolicy) GetRoles ¶
func (m *RolePolicy) GetRoles() []string
func (*RolePolicy) ProtoMessage ¶
func (*RolePolicy) ProtoMessage()
func (*RolePolicy) Reset ¶
func (m *RolePolicy) Reset()
func (*RolePolicy) String ¶
func (m *RolePolicy) String() string
Click to show internal directories.
Click to hide internal directories.