Documentation ¶
Index ¶
- Variables
- func RegisterAccessControlServer(s *grpc.Server, srv AccessControlServer)
- type AccessControlClient
- type AccessControlServer
- type Attribute
- func (*Attribute) Descriptor() ([]byte, []int)
- func (this *Attribute) Equal(that interface{}) bool
- func (m *Attribute) GetName() string
- func (m *Attribute) GetRequired() bool
- func (m *Attribute) GetValue() *AttributeValue
- func (this *Attribute) GoString() string
- func (m *Attribute) Marshal() (dAtA []byte, err error)
- func (m *Attribute) MarshalTo(dAtA []byte) (int, error)
- func (*Attribute) ProtoMessage()
- func (m *Attribute) Reset()
- func (m *Attribute) Size() (n int)
- func (this *Attribute) String() string
- func (m *Attribute) Unmarshal(dAtA []byte) error
- func (m *Attribute) XXX_DiscardUnknown()
- func (m *Attribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Attribute) XXX_Merge(src proto.Message)
- func (m *Attribute) XXX_Size() int
- func (m *Attribute) XXX_Unmarshal(b []byte) error
- type AttributeType
- type AttributeValue
- func (*AttributeValue) Descriptor() ([]byte, []int)
- func (this *AttributeValue) Equal(that interface{}) bool
- func (m *AttributeValue) GetType() AttributeType
- func (m *AttributeValue) GetValue() *types.Any
- func (this *AttributeValue) GoString() string
- func (m *AttributeValue) Marshal() (dAtA []byte, err error)
- func (m *AttributeValue) MarshalTo(dAtA []byte) (int, error)
- func (*AttributeValue) ProtoMessage()
- func (m *AttributeValue) Reset()
- func (m *AttributeValue) Size() (n int)
- func (this *AttributeValue) String() string
- func (m *AttributeValue) Unmarshal(dAtA []byte) error
- func (m *AttributeValue) XXX_DiscardUnknown()
- func (m *AttributeValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AttributeValue) XXX_Merge(src proto.Message)
- func (m *AttributeValue) XXX_Size() int
- func (m *AttributeValue) XXX_Unmarshal(b []byte) error
- type BooleanAttributeValue
- func (*BooleanAttributeValue) Descriptor() ([]byte, []int)
- func (this *BooleanAttributeValue) Equal(that interface{}) bool
- func (m *BooleanAttributeValue) GetValue() bool
- func (this *BooleanAttributeValue) GoString() string
- func (m *BooleanAttributeValue) Marshal() (dAtA []byte, err error)
- func (m *BooleanAttributeValue) MarshalTo(dAtA []byte) (int, error)
- func (*BooleanAttributeValue) ProtoMessage()
- func (m *BooleanAttributeValue) Reset()
- func (m *BooleanAttributeValue) Size() (n int)
- func (this *BooleanAttributeValue) String() string
- func (m *BooleanAttributeValue) Unmarshal(dAtA []byte) error
- func (m *BooleanAttributeValue) XXX_DiscardUnknown()
- func (m *BooleanAttributeValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BooleanAttributeValue) XXX_Merge(src proto.Message)
- func (m *BooleanAttributeValue) XXX_Size() int
- func (m *BooleanAttributeValue) XXX_Unmarshal(b []byte) error
- type Condition
- func (*Condition) Descriptor() ([]byte, []int)
- func (this *Condition) Equal(that interface{}) bool
- func (m *Condition) GetName() string
- func (m *Condition) GetOptions() *ConditionOption
- func (m *Condition) GetType() string
- func (this *Condition) GoString() string
- func (m *Condition) Marshal() (dAtA []byte, err error)
- func (m *Condition) MarshalTo(dAtA []byte) (int, error)
- func (*Condition) ProtoMessage()
- func (m *Condition) Reset()
- func (m *Condition) Size() (n int)
- func (this *Condition) String() string
- func (m *Condition) Unmarshal(dAtA []byte) error
- func (m *Condition) XXX_DiscardUnknown()
- func (m *Condition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Condition) XXX_Merge(src proto.Message)
- func (m *Condition) XXX_Size() int
- func (m *Condition) XXX_Unmarshal(b []byte) error
- type ConditionOption
- func (*ConditionOption) Descriptor() ([]byte, []int)
- func (this *ConditionOption) Equal(that interface{}) bool
- func (m *ConditionOption) GetAttributes() []*Attribute
- func (m *ConditionOption) GetExpression() string
- func (this *ConditionOption) GoString() string
- func (m *ConditionOption) Marshal() (dAtA []byte, err error)
- func (m *ConditionOption) MarshalTo(dAtA []byte) (int, error)
- func (*ConditionOption) ProtoMessage()
- func (m *ConditionOption) Reset()
- func (m *ConditionOption) Size() (n int)
- func (this *ConditionOption) String() string
- func (m *ConditionOption) Unmarshal(dAtA []byte) error
- func (m *ConditionOption) XXX_DiscardUnknown()
- func (m *ConditionOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConditionOption) XXX_Merge(src proto.Message)
- func (m *ConditionOption) XXX_Size() int
- func (m *ConditionOption) XXX_Unmarshal(b []byte) error
- type NumberAttributeValue
- func (*NumberAttributeValue) Descriptor() ([]byte, []int)
- func (this *NumberAttributeValue) Equal(that interface{}) bool
- func (m *NumberAttributeValue) GetValue() int64
- func (this *NumberAttributeValue) GoString() string
- func (m *NumberAttributeValue) Marshal() (dAtA []byte, err error)
- func (m *NumberAttributeValue) MarshalTo(dAtA []byte) (int, error)
- func (*NumberAttributeValue) ProtoMessage()
- func (m *NumberAttributeValue) Reset()
- func (m *NumberAttributeValue) Size() (n int)
- func (this *NumberAttributeValue) String() string
- func (m *NumberAttributeValue) Unmarshal(dAtA []byte) error
- func (m *NumberAttributeValue) XXX_DiscardUnknown()
- func (m *NumberAttributeValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NumberAttributeValue) XXX_Merge(src proto.Message)
- func (m *NumberAttributeValue) XXX_Size() int
- func (m *NumberAttributeValue) XXX_Unmarshal(b []byte) error
- type PolicyDTO
- func (*PolicyDTO) Descriptor() ([]byte, []int)
- func (this *PolicyDTO) Equal(that interface{}) bool
- func (m *PolicyDTO) GetAttributeValues() map[string]*PolicyDTO_Attributes
- func (m *PolicyDTO) GetConditions() []byte
- func (m *PolicyDTO) GetDescription() string
- func (m *PolicyDTO) GetEffect() string
- func (m *PolicyDTO) GetId() string
- func (m *PolicyDTO) GetMeta() []byte
- func (m *PolicyDTO) GetPpName() string
- func (m *PolicyDTO) GetSubjects() []string
- func (this *PolicyDTO) GoString() string
- func (m *PolicyDTO) Marshal() (dAtA []byte, err error)
- func (m *PolicyDTO) MarshalTo(dAtA []byte) (int, error)
- func (*PolicyDTO) ProtoMessage()
- func (m *PolicyDTO) Reset()
- func (m *PolicyDTO) Size() (n int)
- func (this *PolicyDTO) String() string
- func (m *PolicyDTO) Unmarshal(dAtA []byte) error
- func (m *PolicyDTO) XXX_DiscardUnknown()
- func (m *PolicyDTO) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PolicyDTO) XXX_Merge(src proto.Message)
- func (m *PolicyDTO) XXX_Size() int
- func (m *PolicyDTO) XXX_Unmarshal(b []byte) error
- type PolicyDTO_Attributes
- func (*PolicyDTO_Attributes) Descriptor() ([]byte, []int)
- func (this *PolicyDTO_Attributes) Equal(that interface{}) bool
- func (m *PolicyDTO_Attributes) GetValues() map[string]*AttributeValue
- func (this *PolicyDTO_Attributes) GoString() string
- func (m *PolicyDTO_Attributes) Marshal() (dAtA []byte, err error)
- func (m *PolicyDTO_Attributes) MarshalTo(dAtA []byte) (int, error)
- func (*PolicyDTO_Attributes) ProtoMessage()
- func (m *PolicyDTO_Attributes) Reset()
- func (m *PolicyDTO_Attributes) Size() (n int)
- func (this *PolicyDTO_Attributes) String() string
- func (m *PolicyDTO_Attributes) Unmarshal(dAtA []byte) error
- func (m *PolicyDTO_Attributes) XXX_DiscardUnknown()
- func (m *PolicyDTO_Attributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PolicyDTO_Attributes) XXX_Merge(src proto.Message)
- func (m *PolicyDTO_Attributes) XXX_Size() int
- func (m *PolicyDTO_Attributes) XXX_Unmarshal(b []byte) error
- type PredefinedPolicy
- func (*PredefinedPolicy) Descriptor() ([]byte, []int)
- func (this *PredefinedPolicy) Equal(that interface{}) bool
- func (m *PredefinedPolicy) GetActions() []string
- func (m *PredefinedPolicy) GetConditions() []*Condition
- func (m *PredefinedPolicy) GetDescription() string
- func (m *PredefinedPolicy) GetName() string
- func (m *PredefinedPolicy) GetResources() []string
- func (this *PredefinedPolicy) GoString() string
- func (m *PredefinedPolicy) Marshal() (dAtA []byte, err error)
- func (m *PredefinedPolicy) MarshalTo(dAtA []byte) (int, error)
- func (*PredefinedPolicy) ProtoMessage()
- func (m *PredefinedPolicy) Reset()
- func (m *PredefinedPolicy) Size() (n int)
- func (this *PredefinedPolicy) String() string
- func (m *PredefinedPolicy) Unmarshal(dAtA []byte) error
- func (m *PredefinedPolicy) XXX_DiscardUnknown()
- func (m *PredefinedPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PredefinedPolicy) XXX_Merge(src proto.Message)
- func (m *PredefinedPolicy) XXX_Size() int
- func (m *PredefinedPolicy) XXX_Unmarshal(b []byte) error
- type StringAttributeValue
- func (*StringAttributeValue) Descriptor() ([]byte, []int)
- func (this *StringAttributeValue) Equal(that interface{}) bool
- func (m *StringAttributeValue) GetValue() string
- func (this *StringAttributeValue) GoString() string
- func (m *StringAttributeValue) Marshal() (dAtA []byte, err error)
- func (m *StringAttributeValue) MarshalTo(dAtA []byte) (int, error)
- func (*StringAttributeValue) ProtoMessage()
- func (m *StringAttributeValue) Reset()
- func (m *StringAttributeValue) Size() (n int)
- func (this *StringAttributeValue) String() string
- func (m *StringAttributeValue) Unmarshal(dAtA []byte) error
- func (m *StringAttributeValue) XXX_DiscardUnknown()
- func (m *StringAttributeValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StringAttributeValue) XXX_Merge(src proto.Message)
- func (m *StringAttributeValue) XXX_Size() int
- func (m *StringAttributeValue) XXX_Unmarshal(b []byte) error
- type UpsertPoliciesUsingDTOReply
- func (*UpsertPoliciesUsingDTOReply) Descriptor() ([]byte, []int)
- func (this *UpsertPoliciesUsingDTOReply) Equal(that interface{}) bool
- func (m *UpsertPoliciesUsingDTOReply) GetIds() []string
- func (this *UpsertPoliciesUsingDTOReply) GoString() string
- func (m *UpsertPoliciesUsingDTOReply) Marshal() (dAtA []byte, err error)
- func (m *UpsertPoliciesUsingDTOReply) MarshalTo(dAtA []byte) (int, error)
- func (*UpsertPoliciesUsingDTOReply) ProtoMessage()
- func (m *UpsertPoliciesUsingDTOReply) Reset()
- func (m *UpsertPoliciesUsingDTOReply) Size() (n int)
- func (this *UpsertPoliciesUsingDTOReply) String() string
- func (m *UpsertPoliciesUsingDTOReply) Unmarshal(dAtA []byte) error
- func (m *UpsertPoliciesUsingDTOReply) XXX_DiscardUnknown()
- func (m *UpsertPoliciesUsingDTOReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpsertPoliciesUsingDTOReply) XXX_Merge(src proto.Message)
- func (m *UpsertPoliciesUsingDTOReply) XXX_Size() int
- func (m *UpsertPoliciesUsingDTOReply) XXX_Unmarshal(b []byte) error
- type UpsertPoliciesUsingDTORequest
- func (*UpsertPoliciesUsingDTORequest) Descriptor() ([]byte, []int)
- func (this *UpsertPoliciesUsingDTORequest) Equal(that interface{}) bool
- func (m *UpsertPoliciesUsingDTORequest) GetDtos() []*PolicyDTO
- func (this *UpsertPoliciesUsingDTORequest) GoString() string
- func (m *UpsertPoliciesUsingDTORequest) Marshal() (dAtA []byte, err error)
- func (m *UpsertPoliciesUsingDTORequest) MarshalTo(dAtA []byte) (int, error)
- func (*UpsertPoliciesUsingDTORequest) ProtoMessage()
- func (m *UpsertPoliciesUsingDTORequest) Reset()
- func (m *UpsertPoliciesUsingDTORequest) Size() (n int)
- func (this *UpsertPoliciesUsingDTORequest) String() string
- func (m *UpsertPoliciesUsingDTORequest) Unmarshal(dAtA []byte) error
- func (m *UpsertPoliciesUsingDTORequest) XXX_DiscardUnknown()
- func (m *UpsertPoliciesUsingDTORequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpsertPoliciesUsingDTORequest) XXX_Merge(src proto.Message)
- func (m *UpsertPoliciesUsingDTORequest) XXX_Size() int
- func (m *UpsertPoliciesUsingDTORequest) XXX_Unmarshal(b []byte) error
- type UpsertPredefinedPoliciesReply
- func (*UpsertPredefinedPoliciesReply) Descriptor() ([]byte, []int)
- func (this *UpsertPredefinedPoliciesReply) Equal(that interface{}) bool
- func (this *UpsertPredefinedPoliciesReply) GoString() string
- func (m *UpsertPredefinedPoliciesReply) Marshal() (dAtA []byte, err error)
- func (m *UpsertPredefinedPoliciesReply) MarshalTo(dAtA []byte) (int, error)
- func (*UpsertPredefinedPoliciesReply) ProtoMessage()
- func (m *UpsertPredefinedPoliciesReply) Reset()
- func (m *UpsertPredefinedPoliciesReply) Size() (n int)
- func (this *UpsertPredefinedPoliciesReply) String() string
- func (m *UpsertPredefinedPoliciesReply) Unmarshal(dAtA []byte) error
- func (m *UpsertPredefinedPoliciesReply) XXX_DiscardUnknown()
- func (m *UpsertPredefinedPoliciesReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpsertPredefinedPoliciesReply) XXX_Merge(src proto.Message)
- func (m *UpsertPredefinedPoliciesReply) XXX_Size() int
- func (m *UpsertPredefinedPoliciesReply) XXX_Unmarshal(b []byte) error
- type UpsertPredefinedPoliciesRequest
- func (*UpsertPredefinedPoliciesRequest) Descriptor() ([]byte, []int)
- func (this *UpsertPredefinedPoliciesRequest) Equal(that interface{}) bool
- func (m *UpsertPredefinedPoliciesRequest) GetPolicies() []*PredefinedPolicy
- func (this *UpsertPredefinedPoliciesRequest) GoString() string
- func (m *UpsertPredefinedPoliciesRequest) Marshal() (dAtA []byte, err error)
- func (m *UpsertPredefinedPoliciesRequest) MarshalTo(dAtA []byte) (int, error)
- func (*UpsertPredefinedPoliciesRequest) ProtoMessage()
- func (m *UpsertPredefinedPoliciesRequest) Reset()
- func (m *UpsertPredefinedPoliciesRequest) Size() (n int)
- func (this *UpsertPredefinedPoliciesRequest) String() string
- func (m *UpsertPredefinedPoliciesRequest) Unmarshal(dAtA []byte) error
- func (m *UpsertPredefinedPoliciesRequest) XXX_DiscardUnknown()
- func (m *UpsertPredefinedPoliciesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpsertPredefinedPoliciesRequest) XXX_Merge(src proto.Message)
- func (m *UpsertPredefinedPoliciesRequest) XXX_Size() int
- func (m *UpsertPredefinedPoliciesRequest) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthAc = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAc = fmt.Errorf("proto: integer overflow") )
View Source
var AttributeType_name = map[int32]string{
0: "ATTRIBUTE_TYPE_INVALID",
1: "ATTRIBUTE_TYPE_STRING",
2: "ATTRIBUTE_TYPE_NUMBER",
3: "ATTRIBUTE_TYPE_BOOLEAN",
}
View Source
var AttributeType_value = map[string]int32{
"ATTRIBUTE_TYPE_INVALID": 0,
"ATTRIBUTE_TYPE_STRING": 1,
"ATTRIBUTE_TYPE_NUMBER": 2,
"ATTRIBUTE_TYPE_BOOLEAN": 3,
}
Functions ¶
func RegisterAccessControlServer ¶
func RegisterAccessControlServer(s *grpc.Server, srv AccessControlServer)
Types ¶
type AccessControlClient ¶
type AccessControlClient interface { UpsertPredefinedPolicies(ctx context.Context, in *UpsertPredefinedPoliciesRequest, opts ...grpc.CallOption) (*UpsertPredefinedPoliciesReply, error) UpsertPoliciesUsingDTO(ctx context.Context, in *UpsertPoliciesUsingDTORequest, opts ...grpc.CallOption) (*UpsertPoliciesUsingDTOReply, error) }
AccessControlClient is the client API for AccessControl service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAccessControlClient ¶
func NewAccessControlClient(cc *grpc.ClientConn) AccessControlClient
type AccessControlServer ¶
type AccessControlServer interface { UpsertPredefinedPolicies(context.Context, *UpsertPredefinedPoliciesRequest) (*UpsertPredefinedPoliciesReply, error) UpsertPoliciesUsingDTO(context.Context, *UpsertPoliciesUsingDTORequest) (*UpsertPoliciesUsingDTOReply, error) }
AccessControlServer is the server API for AccessControl service.
type Attribute ¶
type Attribute struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Required bool `protobuf:"varint,2,opt,name=required,proto3" json:"required,omitempty"` Value *AttributeValue `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` }
func (*Attribute) Descriptor ¶
func (*Attribute) GetRequired ¶
func (*Attribute) GetValue ¶
func (m *Attribute) GetValue() *AttributeValue
func (*Attribute) ProtoMessage ¶
func (*Attribute) ProtoMessage()
func (*Attribute) XXX_DiscardUnknown ¶
func (m *Attribute) XXX_DiscardUnknown()
func (*Attribute) XXX_Marshal ¶
func (*Attribute) XXX_Unmarshal ¶
type AttributeType ¶
type AttributeType int32
const ( ATTRIBUTE_TYPE_INVALID AttributeType = 0 ATTRIBUTE_TYPE_STRING AttributeType = 1 ATTRIBUTE_TYPE_NUMBER AttributeType = 2 ATTRIBUTE_TYPE_BOOLEAN AttributeType = 3 )
func (AttributeType) EnumDescriptor ¶
func (AttributeType) EnumDescriptor() ([]byte, []int)
func (AttributeType) String ¶
func (x AttributeType) String() string
type AttributeValue ¶
type AttributeValue struct { Type AttributeType `protobuf:"varint,1,opt,name=type,proto3,enum=target.grpc.ac.AttributeType" json:"type,omitempty"` Value *types.Any `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` }
func (*AttributeValue) Descriptor ¶
func (*AttributeValue) Descriptor() ([]byte, []int)
func (*AttributeValue) Equal ¶
func (this *AttributeValue) Equal(that interface{}) bool
func (*AttributeValue) GetType ¶
func (m *AttributeValue) GetType() AttributeType
func (*AttributeValue) GetValue ¶
func (m *AttributeValue) GetValue() *types.Any
func (*AttributeValue) GoString ¶
func (this *AttributeValue) GoString() string
func (*AttributeValue) Marshal ¶
func (m *AttributeValue) Marshal() (dAtA []byte, err error)
func (*AttributeValue) ProtoMessage ¶
func (*AttributeValue) ProtoMessage()
func (*AttributeValue) Reset ¶
func (m *AttributeValue) Reset()
func (*AttributeValue) Size ¶
func (m *AttributeValue) Size() (n int)
func (*AttributeValue) String ¶
func (this *AttributeValue) String() string
func (*AttributeValue) Unmarshal ¶
func (m *AttributeValue) Unmarshal(dAtA []byte) error
func (*AttributeValue) XXX_DiscardUnknown ¶
func (m *AttributeValue) XXX_DiscardUnknown()
func (*AttributeValue) XXX_Marshal ¶
func (m *AttributeValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AttributeValue) XXX_Merge ¶
func (m *AttributeValue) XXX_Merge(src proto.Message)
func (*AttributeValue) XXX_Size ¶
func (m *AttributeValue) XXX_Size() int
func (*AttributeValue) XXX_Unmarshal ¶
func (m *AttributeValue) XXX_Unmarshal(b []byte) error
type BooleanAttributeValue ¶
type BooleanAttributeValue struct {
Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (*BooleanAttributeValue) Descriptor ¶
func (*BooleanAttributeValue) Descriptor() ([]byte, []int)
func (*BooleanAttributeValue) Equal ¶
func (this *BooleanAttributeValue) Equal(that interface{}) bool
func (*BooleanAttributeValue) GetValue ¶
func (m *BooleanAttributeValue) GetValue() bool
func (*BooleanAttributeValue) GoString ¶
func (this *BooleanAttributeValue) GoString() string
func (*BooleanAttributeValue) Marshal ¶
func (m *BooleanAttributeValue) Marshal() (dAtA []byte, err error)
func (*BooleanAttributeValue) MarshalTo ¶
func (m *BooleanAttributeValue) MarshalTo(dAtA []byte) (int, error)
func (*BooleanAttributeValue) ProtoMessage ¶
func (*BooleanAttributeValue) ProtoMessage()
func (*BooleanAttributeValue) Reset ¶
func (m *BooleanAttributeValue) Reset()
func (*BooleanAttributeValue) Size ¶
func (m *BooleanAttributeValue) Size() (n int)
func (*BooleanAttributeValue) String ¶
func (this *BooleanAttributeValue) String() string
func (*BooleanAttributeValue) Unmarshal ¶
func (m *BooleanAttributeValue) Unmarshal(dAtA []byte) error
func (*BooleanAttributeValue) XXX_DiscardUnknown ¶
func (m *BooleanAttributeValue) XXX_DiscardUnknown()
func (*BooleanAttributeValue) XXX_Marshal ¶
func (m *BooleanAttributeValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BooleanAttributeValue) XXX_Merge ¶
func (m *BooleanAttributeValue) XXX_Merge(src proto.Message)
func (*BooleanAttributeValue) XXX_Size ¶
func (m *BooleanAttributeValue) XXX_Size() int
func (*BooleanAttributeValue) XXX_Unmarshal ¶
func (m *BooleanAttributeValue) XXX_Unmarshal(b []byte) error
type Condition ¶
type Condition struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Options *ConditionOption `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"` }
func (*Condition) Descriptor ¶
func (*Condition) GetOptions ¶
func (m *Condition) GetOptions() *ConditionOption
func (*Condition) ProtoMessage ¶
func (*Condition) ProtoMessage()
func (*Condition) XXX_DiscardUnknown ¶
func (m *Condition) XXX_DiscardUnknown()
func (*Condition) XXX_Marshal ¶
func (*Condition) XXX_Unmarshal ¶
type ConditionOption ¶
type ConditionOption struct { Expression string `protobuf:"bytes,1,opt,name=expression,proto3" json:"expression,omitempty"` Attributes []*Attribute `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"` }
func (*ConditionOption) Descriptor ¶
func (*ConditionOption) Descriptor() ([]byte, []int)
func (*ConditionOption) Equal ¶
func (this *ConditionOption) Equal(that interface{}) bool
func (*ConditionOption) GetAttributes ¶
func (m *ConditionOption) GetAttributes() []*Attribute
func (*ConditionOption) GetExpression ¶
func (m *ConditionOption) GetExpression() string
func (*ConditionOption) GoString ¶
func (this *ConditionOption) GoString() string
func (*ConditionOption) Marshal ¶
func (m *ConditionOption) Marshal() (dAtA []byte, err error)
func (*ConditionOption) ProtoMessage ¶
func (*ConditionOption) ProtoMessage()
func (*ConditionOption) Reset ¶
func (m *ConditionOption) Reset()
func (*ConditionOption) Size ¶
func (m *ConditionOption) Size() (n int)
func (*ConditionOption) String ¶
func (this *ConditionOption) String() string
func (*ConditionOption) Unmarshal ¶
func (m *ConditionOption) Unmarshal(dAtA []byte) error
func (*ConditionOption) XXX_DiscardUnknown ¶
func (m *ConditionOption) XXX_DiscardUnknown()
func (*ConditionOption) XXX_Marshal ¶
func (m *ConditionOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConditionOption) XXX_Merge ¶
func (m *ConditionOption) XXX_Merge(src proto.Message)
func (*ConditionOption) XXX_Size ¶
func (m *ConditionOption) XXX_Size() int
func (*ConditionOption) XXX_Unmarshal ¶
func (m *ConditionOption) XXX_Unmarshal(b []byte) error
type NumberAttributeValue ¶
type NumberAttributeValue struct {
Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (*NumberAttributeValue) Descriptor ¶
func (*NumberAttributeValue) Descriptor() ([]byte, []int)
func (*NumberAttributeValue) Equal ¶
func (this *NumberAttributeValue) Equal(that interface{}) bool
func (*NumberAttributeValue) GetValue ¶
func (m *NumberAttributeValue) GetValue() int64
func (*NumberAttributeValue) GoString ¶
func (this *NumberAttributeValue) GoString() string
func (*NumberAttributeValue) Marshal ¶
func (m *NumberAttributeValue) Marshal() (dAtA []byte, err error)
func (*NumberAttributeValue) MarshalTo ¶
func (m *NumberAttributeValue) MarshalTo(dAtA []byte) (int, error)
func (*NumberAttributeValue) ProtoMessage ¶
func (*NumberAttributeValue) ProtoMessage()
func (*NumberAttributeValue) Reset ¶
func (m *NumberAttributeValue) Reset()
func (*NumberAttributeValue) Size ¶
func (m *NumberAttributeValue) Size() (n int)
func (*NumberAttributeValue) String ¶
func (this *NumberAttributeValue) String() string
func (*NumberAttributeValue) Unmarshal ¶
func (m *NumberAttributeValue) Unmarshal(dAtA []byte) error
func (*NumberAttributeValue) XXX_DiscardUnknown ¶
func (m *NumberAttributeValue) XXX_DiscardUnknown()
func (*NumberAttributeValue) XXX_Marshal ¶
func (m *NumberAttributeValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NumberAttributeValue) XXX_Merge ¶
func (m *NumberAttributeValue) XXX_Merge(src proto.Message)
func (*NumberAttributeValue) XXX_Size ¶
func (m *NumberAttributeValue) XXX_Size() int
func (*NumberAttributeValue) XXX_Unmarshal ¶
func (m *NumberAttributeValue) XXX_Unmarshal(b []byte) error
type PolicyDTO ¶
type PolicyDTO struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` PpName string `protobuf:"bytes,3,opt,name=pp_name,json=ppName,proto3" json:"pp_name,omitempty"` Effect string `protobuf:"bytes,4,opt,name=effect,proto3" json:"effect,omitempty"` Subjects []string `protobuf:"bytes,5,rep,name=subjects,proto3" json:"subjects,omitempty"` Conditions []byte `protobuf:"bytes,6,opt,name=conditions,proto3" json:"conditions,omitempty"` Meta []byte `protobuf:"bytes,7,opt,name=meta,proto3" json:"meta,omitempty"` AttributeValues map[string]*PolicyDTO_Attributes `` /* 194-byte string literal not displayed */ }
func (*PolicyDTO) Descriptor ¶
func (*PolicyDTO) GetAttributeValues ¶
func (m *PolicyDTO) GetAttributeValues() map[string]*PolicyDTO_Attributes
func (*PolicyDTO) GetConditions ¶
func (*PolicyDTO) GetDescription ¶
func (*PolicyDTO) GetSubjects ¶
func (*PolicyDTO) ProtoMessage ¶
func (*PolicyDTO) ProtoMessage()
func (*PolicyDTO) XXX_DiscardUnknown ¶
func (m *PolicyDTO) XXX_DiscardUnknown()
func (*PolicyDTO) XXX_Marshal ¶
func (*PolicyDTO) XXX_Unmarshal ¶
type PolicyDTO_Attributes ¶
type PolicyDTO_Attributes struct {
Values map[string]*AttributeValue `` /* 153-byte string literal not displayed */
}
func (*PolicyDTO_Attributes) Descriptor ¶
func (*PolicyDTO_Attributes) Descriptor() ([]byte, []int)
func (*PolicyDTO_Attributes) Equal ¶
func (this *PolicyDTO_Attributes) Equal(that interface{}) bool
func (*PolicyDTO_Attributes) GetValues ¶
func (m *PolicyDTO_Attributes) GetValues() map[string]*AttributeValue
func (*PolicyDTO_Attributes) GoString ¶
func (this *PolicyDTO_Attributes) GoString() string
func (*PolicyDTO_Attributes) Marshal ¶
func (m *PolicyDTO_Attributes) Marshal() (dAtA []byte, err error)
func (*PolicyDTO_Attributes) MarshalTo ¶
func (m *PolicyDTO_Attributes) MarshalTo(dAtA []byte) (int, error)
func (*PolicyDTO_Attributes) ProtoMessage ¶
func (*PolicyDTO_Attributes) ProtoMessage()
func (*PolicyDTO_Attributes) Reset ¶
func (m *PolicyDTO_Attributes) Reset()
func (*PolicyDTO_Attributes) Size ¶
func (m *PolicyDTO_Attributes) Size() (n int)
func (*PolicyDTO_Attributes) String ¶
func (this *PolicyDTO_Attributes) String() string
func (*PolicyDTO_Attributes) Unmarshal ¶
func (m *PolicyDTO_Attributes) Unmarshal(dAtA []byte) error
func (*PolicyDTO_Attributes) XXX_DiscardUnknown ¶
func (m *PolicyDTO_Attributes) XXX_DiscardUnknown()
func (*PolicyDTO_Attributes) XXX_Marshal ¶
func (m *PolicyDTO_Attributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PolicyDTO_Attributes) XXX_Merge ¶
func (m *PolicyDTO_Attributes) XXX_Merge(src proto.Message)
func (*PolicyDTO_Attributes) XXX_Size ¶
func (m *PolicyDTO_Attributes) XXX_Size() int
func (*PolicyDTO_Attributes) XXX_Unmarshal ¶
func (m *PolicyDTO_Attributes) XXX_Unmarshal(b []byte) error
type PredefinedPolicy ¶
type PredefinedPolicy struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Resources []string `protobuf:"bytes,3,rep,name=resources,proto3" json:"resources,omitempty"` Actions []string `protobuf:"bytes,4,rep,name=actions,proto3" json:"actions,omitempty"` Conditions []*Condition `protobuf:"bytes,5,rep,name=conditions,proto3" json:"conditions,omitempty"` }
func (*PredefinedPolicy) Descriptor ¶
func (*PredefinedPolicy) Descriptor() ([]byte, []int)
func (*PredefinedPolicy) Equal ¶
func (this *PredefinedPolicy) Equal(that interface{}) bool
func (*PredefinedPolicy) GetActions ¶
func (m *PredefinedPolicy) GetActions() []string
func (*PredefinedPolicy) GetConditions ¶
func (m *PredefinedPolicy) GetConditions() []*Condition
func (*PredefinedPolicy) GetDescription ¶
func (m *PredefinedPolicy) GetDescription() string
func (*PredefinedPolicy) GetName ¶
func (m *PredefinedPolicy) GetName() string
func (*PredefinedPolicy) GetResources ¶
func (m *PredefinedPolicy) GetResources() []string
func (*PredefinedPolicy) GoString ¶
func (this *PredefinedPolicy) GoString() string
func (*PredefinedPolicy) Marshal ¶
func (m *PredefinedPolicy) Marshal() (dAtA []byte, err error)
func (*PredefinedPolicy) ProtoMessage ¶
func (*PredefinedPolicy) ProtoMessage()
func (*PredefinedPolicy) Reset ¶
func (m *PredefinedPolicy) Reset()
func (*PredefinedPolicy) Size ¶
func (m *PredefinedPolicy) Size() (n int)
func (*PredefinedPolicy) String ¶
func (this *PredefinedPolicy) String() string
func (*PredefinedPolicy) Unmarshal ¶
func (m *PredefinedPolicy) Unmarshal(dAtA []byte) error
func (*PredefinedPolicy) XXX_DiscardUnknown ¶
func (m *PredefinedPolicy) XXX_DiscardUnknown()
func (*PredefinedPolicy) XXX_Marshal ¶
func (m *PredefinedPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PredefinedPolicy) XXX_Merge ¶
func (m *PredefinedPolicy) XXX_Merge(src proto.Message)
func (*PredefinedPolicy) XXX_Size ¶
func (m *PredefinedPolicy) XXX_Size() int
func (*PredefinedPolicy) XXX_Unmarshal ¶
func (m *PredefinedPolicy) XXX_Unmarshal(b []byte) error
type StringAttributeValue ¶
type StringAttributeValue struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}
func (*StringAttributeValue) Descriptor ¶
func (*StringAttributeValue) Descriptor() ([]byte, []int)
func (*StringAttributeValue) Equal ¶
func (this *StringAttributeValue) Equal(that interface{}) bool
func (*StringAttributeValue) GetValue ¶
func (m *StringAttributeValue) GetValue() string
func (*StringAttributeValue) GoString ¶
func (this *StringAttributeValue) GoString() string
func (*StringAttributeValue) Marshal ¶
func (m *StringAttributeValue) Marshal() (dAtA []byte, err error)
func (*StringAttributeValue) MarshalTo ¶
func (m *StringAttributeValue) MarshalTo(dAtA []byte) (int, error)
func (*StringAttributeValue) ProtoMessage ¶
func (*StringAttributeValue) ProtoMessage()
func (*StringAttributeValue) Reset ¶
func (m *StringAttributeValue) Reset()
func (*StringAttributeValue) Size ¶
func (m *StringAttributeValue) Size() (n int)
func (*StringAttributeValue) String ¶
func (this *StringAttributeValue) String() string
func (*StringAttributeValue) Unmarshal ¶
func (m *StringAttributeValue) Unmarshal(dAtA []byte) error
func (*StringAttributeValue) XXX_DiscardUnknown ¶
func (m *StringAttributeValue) XXX_DiscardUnknown()
func (*StringAttributeValue) XXX_Marshal ¶
func (m *StringAttributeValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StringAttributeValue) XXX_Merge ¶
func (m *StringAttributeValue) XXX_Merge(src proto.Message)
func (*StringAttributeValue) XXX_Size ¶
func (m *StringAttributeValue) XXX_Size() int
func (*StringAttributeValue) XXX_Unmarshal ¶
func (m *StringAttributeValue) XXX_Unmarshal(b []byte) error
type UpsertPoliciesUsingDTOReply ¶
type UpsertPoliciesUsingDTOReply struct {
Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
}
func (*UpsertPoliciesUsingDTOReply) Descriptor ¶
func (*UpsertPoliciesUsingDTOReply) Descriptor() ([]byte, []int)
func (*UpsertPoliciesUsingDTOReply) Equal ¶
func (this *UpsertPoliciesUsingDTOReply) Equal(that interface{}) bool
func (*UpsertPoliciesUsingDTOReply) GetIds ¶
func (m *UpsertPoliciesUsingDTOReply) GetIds() []string
func (*UpsertPoliciesUsingDTOReply) GoString ¶
func (this *UpsertPoliciesUsingDTOReply) GoString() string
func (*UpsertPoliciesUsingDTOReply) Marshal ¶
func (m *UpsertPoliciesUsingDTOReply) Marshal() (dAtA []byte, err error)
func (*UpsertPoliciesUsingDTOReply) MarshalTo ¶
func (m *UpsertPoliciesUsingDTOReply) MarshalTo(dAtA []byte) (int, error)
func (*UpsertPoliciesUsingDTOReply) ProtoMessage ¶
func (*UpsertPoliciesUsingDTOReply) ProtoMessage()
func (*UpsertPoliciesUsingDTOReply) Reset ¶
func (m *UpsertPoliciesUsingDTOReply) Reset()
func (*UpsertPoliciesUsingDTOReply) Size ¶
func (m *UpsertPoliciesUsingDTOReply) Size() (n int)
func (*UpsertPoliciesUsingDTOReply) String ¶
func (this *UpsertPoliciesUsingDTOReply) String() string
func (*UpsertPoliciesUsingDTOReply) Unmarshal ¶
func (m *UpsertPoliciesUsingDTOReply) Unmarshal(dAtA []byte) error
func (*UpsertPoliciesUsingDTOReply) XXX_DiscardUnknown ¶
func (m *UpsertPoliciesUsingDTOReply) XXX_DiscardUnknown()
func (*UpsertPoliciesUsingDTOReply) XXX_Marshal ¶
func (m *UpsertPoliciesUsingDTOReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpsertPoliciesUsingDTOReply) XXX_Merge ¶
func (m *UpsertPoliciesUsingDTOReply) XXX_Merge(src proto.Message)
func (*UpsertPoliciesUsingDTOReply) XXX_Size ¶
func (m *UpsertPoliciesUsingDTOReply) XXX_Size() int
func (*UpsertPoliciesUsingDTOReply) XXX_Unmarshal ¶
func (m *UpsertPoliciesUsingDTOReply) XXX_Unmarshal(b []byte) error
type UpsertPoliciesUsingDTORequest ¶
type UpsertPoliciesUsingDTORequest struct {
Dtos []*PolicyDTO `protobuf:"bytes,1,rep,name=dtos,proto3" json:"dtos,omitempty"`
}
func (*UpsertPoliciesUsingDTORequest) Descriptor ¶
func (*UpsertPoliciesUsingDTORequest) Descriptor() ([]byte, []int)
func (*UpsertPoliciesUsingDTORequest) Equal ¶
func (this *UpsertPoliciesUsingDTORequest) Equal(that interface{}) bool
func (*UpsertPoliciesUsingDTORequest) GetDtos ¶
func (m *UpsertPoliciesUsingDTORequest) GetDtos() []*PolicyDTO
func (*UpsertPoliciesUsingDTORequest) GoString ¶
func (this *UpsertPoliciesUsingDTORequest) GoString() string
func (*UpsertPoliciesUsingDTORequest) Marshal ¶
func (m *UpsertPoliciesUsingDTORequest) Marshal() (dAtA []byte, err error)
func (*UpsertPoliciesUsingDTORequest) MarshalTo ¶
func (m *UpsertPoliciesUsingDTORequest) MarshalTo(dAtA []byte) (int, error)
func (*UpsertPoliciesUsingDTORequest) ProtoMessage ¶
func (*UpsertPoliciesUsingDTORequest) ProtoMessage()
func (*UpsertPoliciesUsingDTORequest) Reset ¶
func (m *UpsertPoliciesUsingDTORequest) Reset()
func (*UpsertPoliciesUsingDTORequest) Size ¶
func (m *UpsertPoliciesUsingDTORequest) Size() (n int)
func (*UpsertPoliciesUsingDTORequest) String ¶
func (this *UpsertPoliciesUsingDTORequest) String() string
func (*UpsertPoliciesUsingDTORequest) Unmarshal ¶
func (m *UpsertPoliciesUsingDTORequest) Unmarshal(dAtA []byte) error
func (*UpsertPoliciesUsingDTORequest) XXX_DiscardUnknown ¶
func (m *UpsertPoliciesUsingDTORequest) XXX_DiscardUnknown()
func (*UpsertPoliciesUsingDTORequest) XXX_Marshal ¶
func (m *UpsertPoliciesUsingDTORequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpsertPoliciesUsingDTORequest) XXX_Merge ¶
func (m *UpsertPoliciesUsingDTORequest) XXX_Merge(src proto.Message)
func (*UpsertPoliciesUsingDTORequest) XXX_Size ¶
func (m *UpsertPoliciesUsingDTORequest) XXX_Size() int
func (*UpsertPoliciesUsingDTORequest) XXX_Unmarshal ¶
func (m *UpsertPoliciesUsingDTORequest) XXX_Unmarshal(b []byte) error
type UpsertPredefinedPoliciesReply ¶
type UpsertPredefinedPoliciesReply struct { }
func (*UpsertPredefinedPoliciesReply) Descriptor ¶
func (*UpsertPredefinedPoliciesReply) Descriptor() ([]byte, []int)
func (*UpsertPredefinedPoliciesReply) Equal ¶
func (this *UpsertPredefinedPoliciesReply) Equal(that interface{}) bool
func (*UpsertPredefinedPoliciesReply) GoString ¶
func (this *UpsertPredefinedPoliciesReply) GoString() string
func (*UpsertPredefinedPoliciesReply) Marshal ¶
func (m *UpsertPredefinedPoliciesReply) Marshal() (dAtA []byte, err error)
func (*UpsertPredefinedPoliciesReply) MarshalTo ¶
func (m *UpsertPredefinedPoliciesReply) MarshalTo(dAtA []byte) (int, error)
func (*UpsertPredefinedPoliciesReply) ProtoMessage ¶
func (*UpsertPredefinedPoliciesReply) ProtoMessage()
func (*UpsertPredefinedPoliciesReply) Reset ¶
func (m *UpsertPredefinedPoliciesReply) Reset()
func (*UpsertPredefinedPoliciesReply) Size ¶
func (m *UpsertPredefinedPoliciesReply) Size() (n int)
func (*UpsertPredefinedPoliciesReply) String ¶
func (this *UpsertPredefinedPoliciesReply) String() string
func (*UpsertPredefinedPoliciesReply) Unmarshal ¶
func (m *UpsertPredefinedPoliciesReply) Unmarshal(dAtA []byte) error
func (*UpsertPredefinedPoliciesReply) XXX_DiscardUnknown ¶
func (m *UpsertPredefinedPoliciesReply) XXX_DiscardUnknown()
func (*UpsertPredefinedPoliciesReply) XXX_Marshal ¶
func (m *UpsertPredefinedPoliciesReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpsertPredefinedPoliciesReply) XXX_Merge ¶
func (m *UpsertPredefinedPoliciesReply) XXX_Merge(src proto.Message)
func (*UpsertPredefinedPoliciesReply) XXX_Size ¶
func (m *UpsertPredefinedPoliciesReply) XXX_Size() int
func (*UpsertPredefinedPoliciesReply) XXX_Unmarshal ¶
func (m *UpsertPredefinedPoliciesReply) XXX_Unmarshal(b []byte) error
type UpsertPredefinedPoliciesRequest ¶
type UpsertPredefinedPoliciesRequest struct {
Policies []*PredefinedPolicy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"`
}
func (*UpsertPredefinedPoliciesRequest) Descriptor ¶
func (*UpsertPredefinedPoliciesRequest) Descriptor() ([]byte, []int)
func (*UpsertPredefinedPoliciesRequest) Equal ¶
func (this *UpsertPredefinedPoliciesRequest) Equal(that interface{}) bool
func (*UpsertPredefinedPoliciesRequest) GetPolicies ¶
func (m *UpsertPredefinedPoliciesRequest) GetPolicies() []*PredefinedPolicy
func (*UpsertPredefinedPoliciesRequest) GoString ¶
func (this *UpsertPredefinedPoliciesRequest) GoString() string
func (*UpsertPredefinedPoliciesRequest) Marshal ¶
func (m *UpsertPredefinedPoliciesRequest) Marshal() (dAtA []byte, err error)
func (*UpsertPredefinedPoliciesRequest) MarshalTo ¶
func (m *UpsertPredefinedPoliciesRequest) MarshalTo(dAtA []byte) (int, error)
func (*UpsertPredefinedPoliciesRequest) ProtoMessage ¶
func (*UpsertPredefinedPoliciesRequest) ProtoMessage()
func (*UpsertPredefinedPoliciesRequest) Reset ¶
func (m *UpsertPredefinedPoliciesRequest) Reset()
func (*UpsertPredefinedPoliciesRequest) Size ¶
func (m *UpsertPredefinedPoliciesRequest) Size() (n int)
func (*UpsertPredefinedPoliciesRequest) String ¶
func (this *UpsertPredefinedPoliciesRequest) String() string
func (*UpsertPredefinedPoliciesRequest) Unmarshal ¶
func (m *UpsertPredefinedPoliciesRequest) Unmarshal(dAtA []byte) error
func (*UpsertPredefinedPoliciesRequest) XXX_DiscardUnknown ¶
func (m *UpsertPredefinedPoliciesRequest) XXX_DiscardUnknown()
func (*UpsertPredefinedPoliciesRequest) XXX_Marshal ¶
func (m *UpsertPredefinedPoliciesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpsertPredefinedPoliciesRequest) XXX_Merge ¶
func (m *UpsertPredefinedPoliciesRequest) XXX_Merge(src proto.Message)
func (*UpsertPredefinedPoliciesRequest) XXX_Size ¶
func (m *UpsertPredefinedPoliciesRequest) XXX_Size() int
func (*UpsertPredefinedPoliciesRequest) XXX_Unmarshal ¶
func (m *UpsertPredefinedPoliciesRequest) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.