Documentation
¶
Overview ¶
Package attributes is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterAttributesServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterAttributesServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AttributesServiceClient) error
- func RegisterAttributesServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterAttributesServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AttributesServiceServer) error
- func RegisterAttributesServiceServer(s grpc.ServiceRegistrar, srv AttributesServiceServer)
- type AssignKeyAccessServerToAttributeRequestdeprecated
- func (*AssignKeyAccessServerToAttributeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AssignKeyAccessServerToAttributeRequest) GetAttributeKeyAccessServer() *AttributeKeyAccessServer
- func (*AssignKeyAccessServerToAttributeRequest) ProtoMessage()
- func (x *AssignKeyAccessServerToAttributeRequest) ProtoReflect() protoreflect.Message
- func (x *AssignKeyAccessServerToAttributeRequest) Reset()
- func (x *AssignKeyAccessServerToAttributeRequest) String() string
- type AssignKeyAccessServerToAttributeResponsedeprecated
- func (*AssignKeyAccessServerToAttributeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AssignKeyAccessServerToAttributeResponse) GetAttributeKeyAccessServer() *AttributeKeyAccessServer
- func (*AssignKeyAccessServerToAttributeResponse) ProtoMessage()
- func (x *AssignKeyAccessServerToAttributeResponse) ProtoReflect() protoreflect.Message
- func (x *AssignKeyAccessServerToAttributeResponse) Reset()
- func (x *AssignKeyAccessServerToAttributeResponse) String() string
- type AssignKeyAccessServerToValueRequestdeprecated
- func (*AssignKeyAccessServerToValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AssignKeyAccessServerToValueRequest) GetValueKeyAccessServer() *ValueKeyAccessServer
- func (*AssignKeyAccessServerToValueRequest) ProtoMessage()
- func (x *AssignKeyAccessServerToValueRequest) ProtoReflect() protoreflect.Message
- func (x *AssignKeyAccessServerToValueRequest) Reset()
- func (x *AssignKeyAccessServerToValueRequest) String() string
- type AssignKeyAccessServerToValueResponsedeprecated
- func (*AssignKeyAccessServerToValueResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AssignKeyAccessServerToValueResponse) GetValueKeyAccessServer() *ValueKeyAccessServer
- func (*AssignKeyAccessServerToValueResponse) ProtoMessage()
- func (x *AssignKeyAccessServerToValueResponse) ProtoReflect() protoreflect.Message
- func (x *AssignKeyAccessServerToValueResponse) Reset()
- func (x *AssignKeyAccessServerToValueResponse) String() string
- type AssignPublicKeyToAttributeRequest
- func (*AssignPublicKeyToAttributeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AssignPublicKeyToAttributeRequest) GetAttributeKey() *AttributeKey
- func (*AssignPublicKeyToAttributeRequest) ProtoMessage()
- func (x *AssignPublicKeyToAttributeRequest) ProtoReflect() protoreflect.Message
- func (x *AssignPublicKeyToAttributeRequest) Reset()
- func (x *AssignPublicKeyToAttributeRequest) String() string
- type AssignPublicKeyToAttributeResponse
- func (*AssignPublicKeyToAttributeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AssignPublicKeyToAttributeResponse) GetAttributeKey() *AttributeKey
- func (*AssignPublicKeyToAttributeResponse) ProtoMessage()
- func (x *AssignPublicKeyToAttributeResponse) ProtoReflect() protoreflect.Message
- func (x *AssignPublicKeyToAttributeResponse) Reset()
- func (x *AssignPublicKeyToAttributeResponse) String() string
- type AssignPublicKeyToValueRequest
- func (*AssignPublicKeyToValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AssignPublicKeyToValueRequest) GetValueKey() *ValueKey
- func (*AssignPublicKeyToValueRequest) ProtoMessage()
- func (x *AssignPublicKeyToValueRequest) ProtoReflect() protoreflect.Message
- func (x *AssignPublicKeyToValueRequest) Reset()
- func (x *AssignPublicKeyToValueRequest) String() string
- type AssignPublicKeyToValueResponse
- func (*AssignPublicKeyToValueResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AssignPublicKeyToValueResponse) GetValueKey() *ValueKey
- func (*AssignPublicKeyToValueResponse) ProtoMessage()
- func (x *AssignPublicKeyToValueResponse) ProtoReflect() protoreflect.Message
- func (x *AssignPublicKeyToValueResponse) Reset()
- func (x *AssignPublicKeyToValueResponse) String() string
- type AttributeKey
- func (*AttributeKey) Descriptor() ([]byte, []int)deprecated
- func (x *AttributeKey) GetAttributeId() string
- func (x *AttributeKey) GetKeyId() string
- func (*AttributeKey) ProtoMessage()
- func (x *AttributeKey) ProtoReflect() protoreflect.Message
- func (x *AttributeKey) Reset()
- func (x *AttributeKey) String() string
- type AttributeKeyAccessServerdeprecated
- func (*AttributeKeyAccessServer) Descriptor() ([]byte, []int)deprecated
- func (x *AttributeKeyAccessServer) GetAttributeId() string
- func (x *AttributeKeyAccessServer) GetKeyAccessServerId() string
- func (*AttributeKeyAccessServer) ProtoMessage()
- func (x *AttributeKeyAccessServer) ProtoReflect() protoreflect.Message
- func (x *AttributeKeyAccessServer) Reset()
- func (x *AttributeKeyAccessServer) String() string
- type AttributesServiceClient
- type AttributesServiceServer
- type CreateAttributeRequest
- func (*CreateAttributeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAttributeRequest) GetMetadata() *common.MetadataMutable
- func (x *CreateAttributeRequest) GetName() string
- func (x *CreateAttributeRequest) GetNamespaceId() string
- func (x *CreateAttributeRequest) GetRule() policy.AttributeRuleTypeEnum
- func (x *CreateAttributeRequest) GetValues() []string
- func (*CreateAttributeRequest) ProtoMessage()
- func (x *CreateAttributeRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAttributeRequest) Reset()
- func (x *CreateAttributeRequest) String() string
- type CreateAttributeResponse
- func (*CreateAttributeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAttributeResponse) GetAttribute() *policy.Attribute
- func (*CreateAttributeResponse) ProtoMessage()
- func (x *CreateAttributeResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAttributeResponse) Reset()
- func (x *CreateAttributeResponse) String() string
- type CreateAttributeValueRequest
- func (*CreateAttributeValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAttributeValueRequest) GetAttributeId() string
- func (x *CreateAttributeValueRequest) GetMetadata() *common.MetadataMutable
- func (x *CreateAttributeValueRequest) GetValue() string
- func (*CreateAttributeValueRequest) ProtoMessage()
- func (x *CreateAttributeValueRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAttributeValueRequest) Reset()
- func (x *CreateAttributeValueRequest) String() string
- type CreateAttributeValueResponse
- func (*CreateAttributeValueResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAttributeValueResponse) GetValue() *policy.Value
- func (*CreateAttributeValueResponse) ProtoMessage()
- func (x *CreateAttributeValueResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAttributeValueResponse) Reset()
- func (x *CreateAttributeValueResponse) String() string
- type DeactivateAttributeRequest
- func (*DeactivateAttributeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeactivateAttributeRequest) GetId() string
- func (*DeactivateAttributeRequest) ProtoMessage()
- func (x *DeactivateAttributeRequest) ProtoReflect() protoreflect.Message
- func (x *DeactivateAttributeRequest) Reset()
- func (x *DeactivateAttributeRequest) String() string
- type DeactivateAttributeResponse
- func (*DeactivateAttributeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeactivateAttributeResponse) GetAttribute() *policy.Attribute
- func (*DeactivateAttributeResponse) ProtoMessage()
- func (x *DeactivateAttributeResponse) ProtoReflect() protoreflect.Message
- func (x *DeactivateAttributeResponse) Reset()
- func (x *DeactivateAttributeResponse) String() string
- type DeactivateAttributeValueRequest
- func (*DeactivateAttributeValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeactivateAttributeValueRequest) GetId() string
- func (*DeactivateAttributeValueRequest) ProtoMessage()
- func (x *DeactivateAttributeValueRequest) ProtoReflect() protoreflect.Message
- func (x *DeactivateAttributeValueRequest) Reset()
- func (x *DeactivateAttributeValueRequest) String() string
- type DeactivateAttributeValueResponse
- func (*DeactivateAttributeValueResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeactivateAttributeValueResponse) GetValue() *policy.Value
- func (*DeactivateAttributeValueResponse) ProtoMessage()
- func (x *DeactivateAttributeValueResponse) ProtoReflect() protoreflect.Message
- func (x *DeactivateAttributeValueResponse) Reset()
- func (x *DeactivateAttributeValueResponse) String() string
- type GetAttributeRequest
- func (*GetAttributeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAttributeRequest) GetAttributeId() string
- func (x *GetAttributeRequest) GetFqn() string
- func (x *GetAttributeRequest) GetId() stringdeprecated
- func (m *GetAttributeRequest) GetIdentifier() isGetAttributeRequest_Identifier
- func (*GetAttributeRequest) ProtoMessage()
- func (x *GetAttributeRequest) ProtoReflect() protoreflect.Message
- func (x *GetAttributeRequest) Reset()
- func (x *GetAttributeRequest) String() string
- type GetAttributeRequest_AttributeId
- type GetAttributeRequest_Fqn
- type GetAttributeResponse
- func (*GetAttributeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAttributeResponse) GetAttribute() *policy.Attribute
- func (*GetAttributeResponse) ProtoMessage()
- func (x *GetAttributeResponse) ProtoReflect() protoreflect.Message
- func (x *GetAttributeResponse) Reset()
- func (x *GetAttributeResponse) String() string
- type GetAttributeValueRequest
- func (*GetAttributeValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAttributeValueRequest) GetFqn() string
- func (x *GetAttributeValueRequest) GetId() stringdeprecated
- func (m *GetAttributeValueRequest) GetIdentifier() isGetAttributeValueRequest_Identifier
- func (x *GetAttributeValueRequest) GetValueId() string
- func (*GetAttributeValueRequest) ProtoMessage()
- func (x *GetAttributeValueRequest) ProtoReflect() protoreflect.Message
- func (x *GetAttributeValueRequest) Reset()
- func (x *GetAttributeValueRequest) String() string
- type GetAttributeValueRequest_Fqn
- type GetAttributeValueRequest_ValueId
- type GetAttributeValueResponse
- func (*GetAttributeValueResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAttributeValueResponse) GetValue() *policy.Value
- func (*GetAttributeValueResponse) ProtoMessage()
- func (x *GetAttributeValueResponse) ProtoReflect() protoreflect.Message
- func (x *GetAttributeValueResponse) Reset()
- func (x *GetAttributeValueResponse) String() string
- type GetAttributeValuesByFqnsRequest
- func (*GetAttributeValuesByFqnsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAttributeValuesByFqnsRequest) GetFqns() []string
- func (*GetAttributeValuesByFqnsRequest) ProtoMessage()
- func (x *GetAttributeValuesByFqnsRequest) ProtoReflect() protoreflect.Message
- func (x *GetAttributeValuesByFqnsRequest) Reset()
- func (x *GetAttributeValuesByFqnsRequest) String() string
- type GetAttributeValuesByFqnsResponse
- func (*GetAttributeValuesByFqnsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAttributeValuesByFqnsResponse) GetFqnAttributeValues() map[string]*GetAttributeValuesByFqnsResponse_AttributeAndValue
- func (*GetAttributeValuesByFqnsResponse) ProtoMessage()
- func (x *GetAttributeValuesByFqnsResponse) ProtoReflect() protoreflect.Message
- func (x *GetAttributeValuesByFqnsResponse) Reset()
- func (x *GetAttributeValuesByFqnsResponse) String() string
- type GetAttributeValuesByFqnsResponse_AttributeAndValue
- func (*GetAttributeValuesByFqnsResponse_AttributeAndValue) Descriptor() ([]byte, []int)deprecated
- func (x *GetAttributeValuesByFqnsResponse_AttributeAndValue) GetAttribute() *policy.Attribute
- func (x *GetAttributeValuesByFqnsResponse_AttributeAndValue) GetValue() *policy.Value
- func (*GetAttributeValuesByFqnsResponse_AttributeAndValue) ProtoMessage()
- func (x *GetAttributeValuesByFqnsResponse_AttributeAndValue) ProtoReflect() protoreflect.Message
- func (x *GetAttributeValuesByFqnsResponse_AttributeAndValue) Reset()
- func (x *GetAttributeValuesByFqnsResponse_AttributeAndValue) String() string
- type ListAttributeValuesRequest
- func (*ListAttributeValuesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAttributeValuesRequest) GetAttributeId() string
- func (x *ListAttributeValuesRequest) GetPagination() *policy.PageRequest
- func (x *ListAttributeValuesRequest) GetState() common.ActiveStateEnum
- func (*ListAttributeValuesRequest) ProtoMessage()
- func (x *ListAttributeValuesRequest) ProtoReflect() protoreflect.Message
- func (x *ListAttributeValuesRequest) Reset()
- func (x *ListAttributeValuesRequest) String() string
- type ListAttributeValuesResponse
- func (*ListAttributeValuesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAttributeValuesResponse) GetPagination() *policy.PageResponse
- func (x *ListAttributeValuesResponse) GetValues() []*policy.Value
- func (*ListAttributeValuesResponse) ProtoMessage()
- func (x *ListAttributeValuesResponse) ProtoReflect() protoreflect.Message
- func (x *ListAttributeValuesResponse) Reset()
- func (x *ListAttributeValuesResponse) String() string
- type ListAttributesRequest
- func (*ListAttributesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAttributesRequest) GetNamespace() string
- func (x *ListAttributesRequest) GetPagination() *policy.PageRequest
- func (x *ListAttributesRequest) GetState() common.ActiveStateEnum
- func (*ListAttributesRequest) ProtoMessage()
- func (x *ListAttributesRequest) ProtoReflect() protoreflect.Message
- func (x *ListAttributesRequest) Reset()
- func (x *ListAttributesRequest) String() string
- type ListAttributesResponse
- func (*ListAttributesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAttributesResponse) GetAttributes() []*policy.Attribute
- func (x *ListAttributesResponse) GetPagination() *policy.PageResponse
- func (*ListAttributesResponse) ProtoMessage()
- func (x *ListAttributesResponse) ProtoReflect() protoreflect.Message
- func (x *ListAttributesResponse) Reset()
- func (x *ListAttributesResponse) String() string
- type RemoveKeyAccessServerFromAttributeRequestdeprecated
- func (*RemoveKeyAccessServerFromAttributeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveKeyAccessServerFromAttributeRequest) GetAttributeKeyAccessServer() *AttributeKeyAccessServer
- func (*RemoveKeyAccessServerFromAttributeRequest) ProtoMessage()
- func (x *RemoveKeyAccessServerFromAttributeRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveKeyAccessServerFromAttributeRequest) Reset()
- func (x *RemoveKeyAccessServerFromAttributeRequest) String() string
- type RemoveKeyAccessServerFromAttributeResponsedeprecated
- func (*RemoveKeyAccessServerFromAttributeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveKeyAccessServerFromAttributeResponse) GetAttributeKeyAccessServer() *AttributeKeyAccessServer
- func (*RemoveKeyAccessServerFromAttributeResponse) ProtoMessage()
- func (x *RemoveKeyAccessServerFromAttributeResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveKeyAccessServerFromAttributeResponse) Reset()
- func (x *RemoveKeyAccessServerFromAttributeResponse) String() string
- type RemoveKeyAccessServerFromValueRequestdeprecated
- func (*RemoveKeyAccessServerFromValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveKeyAccessServerFromValueRequest) GetValueKeyAccessServer() *ValueKeyAccessServer
- func (*RemoveKeyAccessServerFromValueRequest) ProtoMessage()
- func (x *RemoveKeyAccessServerFromValueRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveKeyAccessServerFromValueRequest) Reset()
- func (x *RemoveKeyAccessServerFromValueRequest) String() string
- type RemoveKeyAccessServerFromValueResponsedeprecated
- func (*RemoveKeyAccessServerFromValueResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveKeyAccessServerFromValueResponse) GetValueKeyAccessServer() *ValueKeyAccessServer
- func (*RemoveKeyAccessServerFromValueResponse) ProtoMessage()
- func (x *RemoveKeyAccessServerFromValueResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveKeyAccessServerFromValueResponse) Reset()
- func (x *RemoveKeyAccessServerFromValueResponse) String() string
- type RemovePublicKeyFromAttributeRequest
- func (*RemovePublicKeyFromAttributeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemovePublicKeyFromAttributeRequest) GetAttributeKey() *AttributeKey
- func (*RemovePublicKeyFromAttributeRequest) ProtoMessage()
- func (x *RemovePublicKeyFromAttributeRequest) ProtoReflect() protoreflect.Message
- func (x *RemovePublicKeyFromAttributeRequest) Reset()
- func (x *RemovePublicKeyFromAttributeRequest) String() string
- type RemovePublicKeyFromAttributeResponse
- func (*RemovePublicKeyFromAttributeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemovePublicKeyFromAttributeResponse) GetAttributeKey() *AttributeKey
- func (*RemovePublicKeyFromAttributeResponse) ProtoMessage()
- func (x *RemovePublicKeyFromAttributeResponse) ProtoReflect() protoreflect.Message
- func (x *RemovePublicKeyFromAttributeResponse) Reset()
- func (x *RemovePublicKeyFromAttributeResponse) String() string
- type RemovePublicKeyFromValueRequest
- func (*RemovePublicKeyFromValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemovePublicKeyFromValueRequest) GetValueKey() *ValueKey
- func (*RemovePublicKeyFromValueRequest) ProtoMessage()
- func (x *RemovePublicKeyFromValueRequest) ProtoReflect() protoreflect.Message
- func (x *RemovePublicKeyFromValueRequest) Reset()
- func (x *RemovePublicKeyFromValueRequest) String() string
- type RemovePublicKeyFromValueResponse
- func (*RemovePublicKeyFromValueResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemovePublicKeyFromValueResponse) GetValueKey() *ValueKey
- func (*RemovePublicKeyFromValueResponse) ProtoMessage()
- func (x *RemovePublicKeyFromValueResponse) ProtoReflect() protoreflect.Message
- func (x *RemovePublicKeyFromValueResponse) Reset()
- func (x *RemovePublicKeyFromValueResponse) String() string
- type UnimplementedAttributesServiceServer
- func (UnimplementedAttributesServiceServer) AssignKeyAccessServerToAttribute(context.Context, *AssignKeyAccessServerToAttributeRequest) (*AssignKeyAccessServerToAttributeResponse, error)
- func (UnimplementedAttributesServiceServer) AssignKeyAccessServerToValue(context.Context, *AssignKeyAccessServerToValueRequest) (*AssignKeyAccessServerToValueResponse, error)
- func (UnimplementedAttributesServiceServer) AssignPublicKeyToAttribute(context.Context, *AssignPublicKeyToAttributeRequest) (*AssignPublicKeyToAttributeResponse, error)
- func (UnimplementedAttributesServiceServer) AssignPublicKeyToValue(context.Context, *AssignPublicKeyToValueRequest) (*AssignPublicKeyToValueResponse, error)
- func (UnimplementedAttributesServiceServer) CreateAttribute(context.Context, *CreateAttributeRequest) (*CreateAttributeResponse, error)
- func (UnimplementedAttributesServiceServer) CreateAttributeValue(context.Context, *CreateAttributeValueRequest) (*CreateAttributeValueResponse, error)
- func (UnimplementedAttributesServiceServer) DeactivateAttribute(context.Context, *DeactivateAttributeRequest) (*DeactivateAttributeResponse, error)
- func (UnimplementedAttributesServiceServer) DeactivateAttributeValue(context.Context, *DeactivateAttributeValueRequest) (*DeactivateAttributeValueResponse, error)
- func (UnimplementedAttributesServiceServer) GetAttribute(context.Context, *GetAttributeRequest) (*GetAttributeResponse, error)
- func (UnimplementedAttributesServiceServer) GetAttributeValue(context.Context, *GetAttributeValueRequest) (*GetAttributeValueResponse, error)
- func (UnimplementedAttributesServiceServer) GetAttributeValuesByFqns(context.Context, *GetAttributeValuesByFqnsRequest) (*GetAttributeValuesByFqnsResponse, error)
- func (UnimplementedAttributesServiceServer) ListAttributeValues(context.Context, *ListAttributeValuesRequest) (*ListAttributeValuesResponse, error)
- func (UnimplementedAttributesServiceServer) ListAttributes(context.Context, *ListAttributesRequest) (*ListAttributesResponse, error)
- func (UnimplementedAttributesServiceServer) RemoveKeyAccessServerFromAttribute(context.Context, *RemoveKeyAccessServerFromAttributeRequest) (*RemoveKeyAccessServerFromAttributeResponse, error)
- func (UnimplementedAttributesServiceServer) RemoveKeyAccessServerFromValue(context.Context, *RemoveKeyAccessServerFromValueRequest) (*RemoveKeyAccessServerFromValueResponse, error)
- func (UnimplementedAttributesServiceServer) RemovePublicKeyFromAttribute(context.Context, *RemovePublicKeyFromAttributeRequest) (*RemovePublicKeyFromAttributeResponse, error)
- func (UnimplementedAttributesServiceServer) RemovePublicKeyFromValue(context.Context, *RemovePublicKeyFromValueRequest) (*RemovePublicKeyFromValueResponse, error)
- func (UnimplementedAttributesServiceServer) UpdateAttribute(context.Context, *UpdateAttributeRequest) (*UpdateAttributeResponse, error)
- func (UnimplementedAttributesServiceServer) UpdateAttributeValue(context.Context, *UpdateAttributeValueRequest) (*UpdateAttributeValueResponse, error)
- type UnsafeAttributesServiceServer
- type UpdateAttributeRequest
- func (*UpdateAttributeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAttributeRequest) GetId() string
- func (x *UpdateAttributeRequest) GetMetadata() *common.MetadataMutable
- func (x *UpdateAttributeRequest) GetMetadataUpdateBehavior() common.MetadataUpdateEnum
- func (*UpdateAttributeRequest) ProtoMessage()
- func (x *UpdateAttributeRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAttributeRequest) Reset()
- func (x *UpdateAttributeRequest) String() string
- type UpdateAttributeResponse
- func (*UpdateAttributeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAttributeResponse) GetAttribute() *policy.Attribute
- func (*UpdateAttributeResponse) ProtoMessage()
- func (x *UpdateAttributeResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateAttributeResponse) Reset()
- func (x *UpdateAttributeResponse) String() string
- type UpdateAttributeValueRequest
- func (*UpdateAttributeValueRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAttributeValueRequest) GetId() string
- func (x *UpdateAttributeValueRequest) GetMetadata() *common.MetadataMutable
- func (x *UpdateAttributeValueRequest) GetMetadataUpdateBehavior() common.MetadataUpdateEnum
- func (*UpdateAttributeValueRequest) ProtoMessage()
- func (x *UpdateAttributeValueRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAttributeValueRequest) Reset()
- func (x *UpdateAttributeValueRequest) String() string
- type UpdateAttributeValueResponse
- func (*UpdateAttributeValueResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAttributeValueResponse) GetValue() *policy.Value
- func (*UpdateAttributeValueResponse) ProtoMessage()
- func (x *UpdateAttributeValueResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateAttributeValueResponse) Reset()
- func (x *UpdateAttributeValueResponse) String() string
- type ValueKey
- type ValueKeyAccessServerdeprecated
- func (*ValueKeyAccessServer) Descriptor() ([]byte, []int)deprecated
- func (x *ValueKeyAccessServer) GetKeyAccessServerId() string
- func (x *ValueKeyAccessServer) GetValueId() string
- func (*ValueKeyAccessServer) ProtoMessage()
- func (x *ValueKeyAccessServer) ProtoReflect() protoreflect.Message
- func (x *ValueKeyAccessServer) Reset()
- func (x *ValueKeyAccessServer) String() string
Constants ¶
const ( AttributesService_ListAttributes_FullMethodName = "/policy.attributes.AttributesService/ListAttributes" AttributesService_ListAttributeValues_FullMethodName = "/policy.attributes.AttributesService/ListAttributeValues" AttributesService_GetAttribute_FullMethodName = "/policy.attributes.AttributesService/GetAttribute" AttributesService_GetAttributeValuesByFqns_FullMethodName = "/policy.attributes.AttributesService/GetAttributeValuesByFqns" AttributesService_CreateAttribute_FullMethodName = "/policy.attributes.AttributesService/CreateAttribute" AttributesService_UpdateAttribute_FullMethodName = "/policy.attributes.AttributesService/UpdateAttribute" AttributesService_DeactivateAttribute_FullMethodName = "/policy.attributes.AttributesService/DeactivateAttribute" AttributesService_GetAttributeValue_FullMethodName = "/policy.attributes.AttributesService/GetAttributeValue" AttributesService_CreateAttributeValue_FullMethodName = "/policy.attributes.AttributesService/CreateAttributeValue" AttributesService_UpdateAttributeValue_FullMethodName = "/policy.attributes.AttributesService/UpdateAttributeValue" AttributesService_DeactivateAttributeValue_FullMethodName = "/policy.attributes.AttributesService/DeactivateAttributeValue" AttributesService_AssignKeyAccessServerToAttribute_FullMethodName = "/policy.attributes.AttributesService/AssignKeyAccessServerToAttribute" AttributesService_RemoveKeyAccessServerFromAttribute_FullMethodName = "/policy.attributes.AttributesService/RemoveKeyAccessServerFromAttribute" AttributesService_AssignKeyAccessServerToValue_FullMethodName = "/policy.attributes.AttributesService/AssignKeyAccessServerToValue" AttributesService_RemoveKeyAccessServerFromValue_FullMethodName = "/policy.attributes.AttributesService/RemoveKeyAccessServerFromValue" AttributesService_AssignPublicKeyToAttribute_FullMethodName = "/policy.attributes.AttributesService/AssignPublicKeyToAttribute" AttributesService_RemovePublicKeyFromAttribute_FullMethodName = "/policy.attributes.AttributesService/RemovePublicKeyFromAttribute" AttributesService_AssignPublicKeyToValue_FullMethodName = "/policy.attributes.AttributesService/AssignPublicKeyToValue" AttributesService_RemovePublicKeyFromValue_FullMethodName = "/policy.attributes.AttributesService/RemovePublicKeyFromValue" )
Variables ¶
var AttributesService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "policy.attributes.AttributesService", HandlerType: (*AttributesServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListAttributes", Handler: _AttributesService_ListAttributes_Handler, }, { MethodName: "ListAttributeValues", Handler: _AttributesService_ListAttributeValues_Handler, }, { MethodName: "GetAttribute", Handler: _AttributesService_GetAttribute_Handler, }, { MethodName: "GetAttributeValuesByFqns", Handler: _AttributesService_GetAttributeValuesByFqns_Handler, }, { MethodName: "CreateAttribute", Handler: _AttributesService_CreateAttribute_Handler, }, { MethodName: "UpdateAttribute", Handler: _AttributesService_UpdateAttribute_Handler, }, { MethodName: "DeactivateAttribute", Handler: _AttributesService_DeactivateAttribute_Handler, }, { MethodName: "GetAttributeValue", Handler: _AttributesService_GetAttributeValue_Handler, }, { MethodName: "CreateAttributeValue", Handler: _AttributesService_CreateAttributeValue_Handler, }, { MethodName: "UpdateAttributeValue", Handler: _AttributesService_UpdateAttributeValue_Handler, }, { MethodName: "DeactivateAttributeValue", Handler: _AttributesService_DeactivateAttributeValue_Handler, }, { MethodName: "AssignKeyAccessServerToAttribute", Handler: _AttributesService_AssignKeyAccessServerToAttribute_Handler, }, { MethodName: "RemoveKeyAccessServerFromAttribute", Handler: _AttributesService_RemoveKeyAccessServerFromAttribute_Handler, }, { MethodName: "AssignKeyAccessServerToValue", Handler: _AttributesService_AssignKeyAccessServerToValue_Handler, }, { MethodName: "RemoveKeyAccessServerFromValue", Handler: _AttributesService_RemoveKeyAccessServerFromValue_Handler, }, { MethodName: "AssignPublicKeyToAttribute", Handler: _AttributesService_AssignPublicKeyToAttribute_Handler, }, { MethodName: "RemovePublicKeyFromAttribute", Handler: _AttributesService_RemovePublicKeyFromAttribute_Handler, }, { MethodName: "AssignPublicKeyToValue", Handler: _AttributesService_AssignPublicKeyToValue_Handler, }, { MethodName: "RemovePublicKeyFromValue", Handler: _AttributesService_RemovePublicKeyFromValue_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "policy/attributes/attributes.proto", }
AttributesService_ServiceDesc is the grpc.ServiceDesc for AttributesService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_policy_attributes_attributes_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAttributesServiceHandler ¶
func RegisterAttributesServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterAttributesServiceHandler registers the http handlers for service AttributesService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterAttributesServiceHandlerClient ¶
func RegisterAttributesServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client AttributesServiceClient) error
RegisterAttributesServiceHandlerClient registers the http handlers for service AttributesService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "AttributesServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "AttributesServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "AttributesServiceClient" to call the correct interceptors.
func RegisterAttributesServiceHandlerFromEndpoint ¶
func RegisterAttributesServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterAttributesServiceHandlerFromEndpoint is same as RegisterAttributesServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterAttributesServiceHandlerServer ¶
func RegisterAttributesServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server AttributesServiceServer) error
RegisterAttributesServiceHandlerServer registers the http handlers for service AttributesService to "mux". UnaryRPC :call AttributesServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterAttributesServiceHandlerFromEndpoint instead.
func RegisterAttributesServiceServer ¶
func RegisterAttributesServiceServer(s grpc.ServiceRegistrar, srv AttributesServiceServer)
Types ¶
type AssignKeyAccessServerToAttributeRequest
deprecated
type AssignKeyAccessServerToAttributeRequest struct {
// Required
AttributeKeyAccessServer *AttributeKeyAccessServer `` /* 137-byte string literal not displayed */
// contains filtered or unexported fields
}
Deprecated: utilize AssignPublicKeyToAttributeRequest
Deprecated: Marked as deprecated in policy/attributes/attributes.proto.
func (*AssignKeyAccessServerToAttributeRequest) Descriptor
deprecated
func (*AssignKeyAccessServerToAttributeRequest) Descriptor() ([]byte, []int)
Deprecated: Use AssignKeyAccessServerToAttributeRequest.ProtoReflect.Descriptor instead.
func (*AssignKeyAccessServerToAttributeRequest) GetAttributeKeyAccessServer ¶
func (x *AssignKeyAccessServerToAttributeRequest) GetAttributeKeyAccessServer() *AttributeKeyAccessServer
func (*AssignKeyAccessServerToAttributeRequest) ProtoMessage ¶
func (*AssignKeyAccessServerToAttributeRequest) ProtoMessage()
func (*AssignKeyAccessServerToAttributeRequest) ProtoReflect ¶
func (x *AssignKeyAccessServerToAttributeRequest) ProtoReflect() protoreflect.Message
func (*AssignKeyAccessServerToAttributeRequest) Reset ¶
func (x *AssignKeyAccessServerToAttributeRequest) Reset()
func (*AssignKeyAccessServerToAttributeRequest) String ¶
func (x *AssignKeyAccessServerToAttributeRequest) String() string
type AssignKeyAccessServerToAttributeResponse
deprecated
type AssignKeyAccessServerToAttributeResponse struct {
AttributeKeyAccessServer *AttributeKeyAccessServer `` /* 137-byte string literal not displayed */
// contains filtered or unexported fields
}
Deprecated: Marked as deprecated in policy/attributes/attributes.proto.
func (*AssignKeyAccessServerToAttributeResponse) Descriptor
deprecated
func (*AssignKeyAccessServerToAttributeResponse) Descriptor() ([]byte, []int)
Deprecated: Use AssignKeyAccessServerToAttributeResponse.ProtoReflect.Descriptor instead.
func (*AssignKeyAccessServerToAttributeResponse) GetAttributeKeyAccessServer ¶
func (x *AssignKeyAccessServerToAttributeResponse) GetAttributeKeyAccessServer() *AttributeKeyAccessServer
func (*AssignKeyAccessServerToAttributeResponse) ProtoMessage ¶
func (*AssignKeyAccessServerToAttributeResponse) ProtoMessage()
func (*AssignKeyAccessServerToAttributeResponse) ProtoReflect ¶
func (x *AssignKeyAccessServerToAttributeResponse) ProtoReflect() protoreflect.Message
func (*AssignKeyAccessServerToAttributeResponse) Reset ¶
func (x *AssignKeyAccessServerToAttributeResponse) Reset()
func (*AssignKeyAccessServerToAttributeResponse) String ¶
func (x *AssignKeyAccessServerToAttributeResponse) String() string
type AssignKeyAccessServerToValueRequest
deprecated
type AssignKeyAccessServerToValueRequest struct {
// Required
ValueKeyAccessServer *ValueKeyAccessServer `protobuf:"bytes,1,opt,name=value_key_access_server,json=valueKeyAccessServer,proto3" json:"value_key_access_server,omitempty"`
// contains filtered or unexported fields
}
Deprecated: utilize AssignPublicKeyToValueRequest
Deprecated: Marked as deprecated in policy/attributes/attributes.proto.
func (*AssignKeyAccessServerToValueRequest) Descriptor
deprecated
func (*AssignKeyAccessServerToValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use AssignKeyAccessServerToValueRequest.ProtoReflect.Descriptor instead.
func (*AssignKeyAccessServerToValueRequest) GetValueKeyAccessServer ¶
func (x *AssignKeyAccessServerToValueRequest) GetValueKeyAccessServer() *ValueKeyAccessServer
func (*AssignKeyAccessServerToValueRequest) ProtoMessage ¶
func (*AssignKeyAccessServerToValueRequest) ProtoMessage()
func (*AssignKeyAccessServerToValueRequest) ProtoReflect ¶
func (x *AssignKeyAccessServerToValueRequest) ProtoReflect() protoreflect.Message
func (*AssignKeyAccessServerToValueRequest) Reset ¶
func (x *AssignKeyAccessServerToValueRequest) Reset()
func (*AssignKeyAccessServerToValueRequest) String ¶
func (x *AssignKeyAccessServerToValueRequest) String() string
type AssignKeyAccessServerToValueResponse
deprecated
type AssignKeyAccessServerToValueResponse struct {
ValueKeyAccessServer *ValueKeyAccessServer `protobuf:"bytes,1,opt,name=value_key_access_server,json=valueKeyAccessServer,proto3" json:"value_key_access_server,omitempty"`
// contains filtered or unexported fields
}
Deprecated: Marked as deprecated in policy/attributes/attributes.proto.
func (*AssignKeyAccessServerToValueResponse) Descriptor
deprecated
func (*AssignKeyAccessServerToValueResponse) Descriptor() ([]byte, []int)
Deprecated: Use AssignKeyAccessServerToValueResponse.ProtoReflect.Descriptor instead.
func (*AssignKeyAccessServerToValueResponse) GetValueKeyAccessServer ¶
func (x *AssignKeyAccessServerToValueResponse) GetValueKeyAccessServer() *ValueKeyAccessServer
func (*AssignKeyAccessServerToValueResponse) ProtoMessage ¶
func (*AssignKeyAccessServerToValueResponse) ProtoMessage()
func (*AssignKeyAccessServerToValueResponse) ProtoReflect ¶
func (x *AssignKeyAccessServerToValueResponse) ProtoReflect() protoreflect.Message
func (*AssignKeyAccessServerToValueResponse) Reset ¶
func (x *AssignKeyAccessServerToValueResponse) Reset()
func (*AssignKeyAccessServerToValueResponse) String ¶
func (x *AssignKeyAccessServerToValueResponse) String() string
type AssignPublicKeyToAttributeRequest ¶ added in v0.3.3
type AssignPublicKeyToAttributeRequest struct {
// Required
AttributeKey *AttributeKey `protobuf:"bytes,1,opt,name=attribute_key,json=attributeKey,proto3" json:"attribute_key,omitempty"`
// contains filtered or unexported fields
}
func (*AssignPublicKeyToAttributeRequest) Descriptor
deprecated
added in
v0.3.3
func (*AssignPublicKeyToAttributeRequest) Descriptor() ([]byte, []int)
Deprecated: Use AssignPublicKeyToAttributeRequest.ProtoReflect.Descriptor instead.
func (*AssignPublicKeyToAttributeRequest) GetAttributeKey ¶ added in v0.3.3
func (x *AssignPublicKeyToAttributeRequest) GetAttributeKey() *AttributeKey
func (*AssignPublicKeyToAttributeRequest) ProtoMessage ¶ added in v0.3.3
func (*AssignPublicKeyToAttributeRequest) ProtoMessage()
func (*AssignPublicKeyToAttributeRequest) ProtoReflect ¶ added in v0.3.3
func (x *AssignPublicKeyToAttributeRequest) ProtoReflect() protoreflect.Message
func (*AssignPublicKeyToAttributeRequest) Reset ¶ added in v0.3.3
func (x *AssignPublicKeyToAttributeRequest) Reset()
func (*AssignPublicKeyToAttributeRequest) String ¶ added in v0.3.3
func (x *AssignPublicKeyToAttributeRequest) String() string
type AssignPublicKeyToAttributeResponse ¶ added in v0.3.3
type AssignPublicKeyToAttributeResponse struct {
// Required
AttributeKey *AttributeKey `protobuf:"bytes,1,opt,name=attribute_key,json=attributeKey,proto3" json:"attribute_key,omitempty"`
// contains filtered or unexported fields
}
func (*AssignPublicKeyToAttributeResponse) Descriptor
deprecated
added in
v0.3.3
func (*AssignPublicKeyToAttributeResponse) Descriptor() ([]byte, []int)
Deprecated: Use AssignPublicKeyToAttributeResponse.ProtoReflect.Descriptor instead.
func (*AssignPublicKeyToAttributeResponse) GetAttributeKey ¶ added in v0.3.3
func (x *AssignPublicKeyToAttributeResponse) GetAttributeKey() *AttributeKey
func (*AssignPublicKeyToAttributeResponse) ProtoMessage ¶ added in v0.3.3
func (*AssignPublicKeyToAttributeResponse) ProtoMessage()
func (*AssignPublicKeyToAttributeResponse) ProtoReflect ¶ added in v0.3.3
func (x *AssignPublicKeyToAttributeResponse) ProtoReflect() protoreflect.Message
func (*AssignPublicKeyToAttributeResponse) Reset ¶ added in v0.3.3
func (x *AssignPublicKeyToAttributeResponse) Reset()
func (*AssignPublicKeyToAttributeResponse) String ¶ added in v0.3.3
func (x *AssignPublicKeyToAttributeResponse) String() string
type AssignPublicKeyToValueRequest ¶ added in v0.3.3
type AssignPublicKeyToValueRequest struct {
// Required
ValueKey *ValueKey `protobuf:"bytes,1,opt,name=value_key,json=valueKey,proto3" json:"value_key,omitempty"`
// contains filtered or unexported fields
}
func (*AssignPublicKeyToValueRequest) Descriptor
deprecated
added in
v0.3.3
func (*AssignPublicKeyToValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use AssignPublicKeyToValueRequest.ProtoReflect.Descriptor instead.
func (*AssignPublicKeyToValueRequest) GetValueKey ¶ added in v0.3.3
func (x *AssignPublicKeyToValueRequest) GetValueKey() *ValueKey
func (*AssignPublicKeyToValueRequest) ProtoMessage ¶ added in v0.3.3
func (*AssignPublicKeyToValueRequest) ProtoMessage()
func (*AssignPublicKeyToValueRequest) ProtoReflect ¶ added in v0.3.3
func (x *AssignPublicKeyToValueRequest) ProtoReflect() protoreflect.Message
func (*AssignPublicKeyToValueRequest) Reset ¶ added in v0.3.3
func (x *AssignPublicKeyToValueRequest) Reset()
func (*AssignPublicKeyToValueRequest) String ¶ added in v0.3.3
func (x *AssignPublicKeyToValueRequest) String() string
type AssignPublicKeyToValueResponse ¶ added in v0.3.3
type AssignPublicKeyToValueResponse struct {
// Required
ValueKey *ValueKey `protobuf:"bytes,1,opt,name=value_key,json=valueKey,proto3" json:"value_key,omitempty"`
// contains filtered or unexported fields
}
func (*AssignPublicKeyToValueResponse) Descriptor
deprecated
added in
v0.3.3
func (*AssignPublicKeyToValueResponse) Descriptor() ([]byte, []int)
Deprecated: Use AssignPublicKeyToValueResponse.ProtoReflect.Descriptor instead.
func (*AssignPublicKeyToValueResponse) GetValueKey ¶ added in v0.3.3
func (x *AssignPublicKeyToValueResponse) GetValueKey() *ValueKey
func (*AssignPublicKeyToValueResponse) ProtoMessage ¶ added in v0.3.3
func (*AssignPublicKeyToValueResponse) ProtoMessage()
func (*AssignPublicKeyToValueResponse) ProtoReflect ¶ added in v0.3.3
func (x *AssignPublicKeyToValueResponse) ProtoReflect() protoreflect.Message
func (*AssignPublicKeyToValueResponse) Reset ¶ added in v0.3.3
func (x *AssignPublicKeyToValueResponse) Reset()
func (*AssignPublicKeyToValueResponse) String ¶ added in v0.3.3
func (x *AssignPublicKeyToValueResponse) String() string
type AttributeKey ¶ added in v0.2.24
type AttributeKey struct {
// Required
AttributeId string `protobuf:"bytes,1,opt,name=attribute_id,json=attributeId,proto3" json:"attribute_id,omitempty"`
// Required
KeyId string `protobuf:"bytes,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
// contains filtered or unexported fields
}
func (*AttributeKey) Descriptor
deprecated
added in
v0.2.24
func (*AttributeKey) Descriptor() ([]byte, []int)
Deprecated: Use AttributeKey.ProtoReflect.Descriptor instead.
func (*AttributeKey) GetAttributeId ¶ added in v0.2.24
func (x *AttributeKey) GetAttributeId() string
func (*AttributeKey) GetKeyId ¶ added in v0.2.24
func (x *AttributeKey) GetKeyId() string
func (*AttributeKey) ProtoMessage ¶ added in v0.2.24
func (*AttributeKey) ProtoMessage()
func (*AttributeKey) ProtoReflect ¶ added in v0.2.24
func (x *AttributeKey) ProtoReflect() protoreflect.Message
func (*AttributeKey) Reset ¶ added in v0.2.24
func (x *AttributeKey) Reset()
func (*AttributeKey) String ¶ added in v0.2.24
func (x *AttributeKey) String() string
type AttributeKeyAccessServer
deprecated
type AttributeKeyAccessServer struct {
// Required
AttributeId string `protobuf:"bytes,1,opt,name=attribute_id,json=attributeId,proto3" json:"attribute_id,omitempty"`
// Required
KeyAccessServerId string `protobuf:"bytes,2,opt,name=key_access_server_id,json=keyAccessServerId,proto3" json:"key_access_server_id,omitempty"`
// contains filtered or unexported fields
}
Deprecated
Deprecated: Marked as deprecated in policy/attributes/attributes.proto.
func (*AttributeKeyAccessServer) Descriptor
deprecated
func (*AttributeKeyAccessServer) Descriptor() ([]byte, []int)
Deprecated: Use AttributeKeyAccessServer.ProtoReflect.Descriptor instead.
func (*AttributeKeyAccessServer) GetAttributeId ¶
func (x *AttributeKeyAccessServer) GetAttributeId() string
func (*AttributeKeyAccessServer) GetKeyAccessServerId ¶
func (x *AttributeKeyAccessServer) GetKeyAccessServerId() string
func (*AttributeKeyAccessServer) ProtoMessage ¶
func (*AttributeKeyAccessServer) ProtoMessage()
func (*AttributeKeyAccessServer) ProtoReflect ¶
func (x *AttributeKeyAccessServer) ProtoReflect() protoreflect.Message
func (*AttributeKeyAccessServer) Reset ¶
func (x *AttributeKeyAccessServer) Reset()
func (*AttributeKeyAccessServer) String ¶
func (x *AttributeKeyAccessServer) String() string
type AttributesServiceClient ¶
type AttributesServiceClient interface {
// --------------------------------------*
// Attribute RPCs
// ---------------------------------------
ListAttributes(ctx context.Context, in *ListAttributesRequest, opts ...grpc.CallOption) (*ListAttributesResponse, error)
ListAttributeValues(ctx context.Context, in *ListAttributeValuesRequest, opts ...grpc.CallOption) (*ListAttributeValuesResponse, error)
GetAttribute(ctx context.Context, in *GetAttributeRequest, opts ...grpc.CallOption) (*GetAttributeResponse, error)
GetAttributeValuesByFqns(ctx context.Context, in *GetAttributeValuesByFqnsRequest, opts ...grpc.CallOption) (*GetAttributeValuesByFqnsResponse, error)
CreateAttribute(ctx context.Context, in *CreateAttributeRequest, opts ...grpc.CallOption) (*CreateAttributeResponse, error)
UpdateAttribute(ctx context.Context, in *UpdateAttributeRequest, opts ...grpc.CallOption) (*UpdateAttributeResponse, error)
DeactivateAttribute(ctx context.Context, in *DeactivateAttributeRequest, opts ...grpc.CallOption) (*DeactivateAttributeResponse, error)
// --------------------------------------*
// Value RPCs
// ---------------------------------------
GetAttributeValue(ctx context.Context, in *GetAttributeValueRequest, opts ...grpc.CallOption) (*GetAttributeValueResponse, error)
CreateAttributeValue(ctx context.Context, in *CreateAttributeValueRequest, opts ...grpc.CallOption) (*CreateAttributeValueResponse, error)
UpdateAttributeValue(ctx context.Context, in *UpdateAttributeValueRequest, opts ...grpc.CallOption) (*UpdateAttributeValueResponse, error)
DeactivateAttributeValue(ctx context.Context, in *DeactivateAttributeValueRequest, opts ...grpc.CallOption) (*DeactivateAttributeValueResponse, error)
// Deprecated: Do not use.
// Deprecated: utilize AssignPublicKeyToAttribute
AssignKeyAccessServerToAttribute(ctx context.Context, in *AssignKeyAccessServerToAttributeRequest, opts ...grpc.CallOption) (*AssignKeyAccessServerToAttributeResponse, error)
// Deprecated: Do not use.
// Deprecated: utilize RemovePublicKeyFromAttribute
RemoveKeyAccessServerFromAttribute(ctx context.Context, in *RemoveKeyAccessServerFromAttributeRequest, opts ...grpc.CallOption) (*RemoveKeyAccessServerFromAttributeResponse, error)
// Deprecated: Do not use.
// Deprecated: utilize AssignPublicKeyToValue
AssignKeyAccessServerToValue(ctx context.Context, in *AssignKeyAccessServerToValueRequest, opts ...grpc.CallOption) (*AssignKeyAccessServerToValueResponse, error)
// Deprecated: Do not use.
// Deprecated: utilize RemovePublicKeyFromValue
RemoveKeyAccessServerFromValue(ctx context.Context, in *RemoveKeyAccessServerFromValueRequest, opts ...grpc.CallOption) (*RemoveKeyAccessServerFromValueResponse, error)
AssignPublicKeyToAttribute(ctx context.Context, in *AssignPublicKeyToAttributeRequest, opts ...grpc.CallOption) (*AssignPublicKeyToAttributeResponse, error)
RemovePublicKeyFromAttribute(ctx context.Context, in *RemovePublicKeyFromAttributeRequest, opts ...grpc.CallOption) (*RemovePublicKeyFromAttributeResponse, error)
AssignPublicKeyToValue(ctx context.Context, in *AssignPublicKeyToValueRequest, opts ...grpc.CallOption) (*AssignPublicKeyToValueResponse, error)
RemovePublicKeyFromValue(ctx context.Context, in *RemovePublicKeyFromValueRequest, opts ...grpc.CallOption) (*RemovePublicKeyFromValueResponse, error)
}
AttributesServiceClient is the client API for AttributesService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAttributesServiceClient ¶
func NewAttributesServiceClient(cc grpc.ClientConnInterface) AttributesServiceClient
type AttributesServiceServer ¶
type AttributesServiceServer interface {
// --------------------------------------*
// Attribute RPCs
// ---------------------------------------
ListAttributes(context.Context, *ListAttributesRequest) (*ListAttributesResponse, error)
ListAttributeValues(context.Context, *ListAttributeValuesRequest) (*ListAttributeValuesResponse, error)
GetAttribute(context.Context, *GetAttributeRequest) (*GetAttributeResponse, error)
GetAttributeValuesByFqns(context.Context, *GetAttributeValuesByFqnsRequest) (*GetAttributeValuesByFqnsResponse, error)
CreateAttribute(context.Context, *CreateAttributeRequest) (*CreateAttributeResponse, error)
UpdateAttribute(context.Context, *UpdateAttributeRequest) (*UpdateAttributeResponse, error)
DeactivateAttribute(context.Context, *DeactivateAttributeRequest) (*DeactivateAttributeResponse, error)
// --------------------------------------*
// Value RPCs
// ---------------------------------------
GetAttributeValue(context.Context, *GetAttributeValueRequest) (*GetAttributeValueResponse, error)
CreateAttributeValue(context.Context, *CreateAttributeValueRequest) (*CreateAttributeValueResponse, error)
UpdateAttributeValue(context.Context, *UpdateAttributeValueRequest) (*UpdateAttributeValueResponse, error)
DeactivateAttributeValue(context.Context, *DeactivateAttributeValueRequest) (*DeactivateAttributeValueResponse, error)
// Deprecated: Do not use.
// Deprecated: utilize AssignPublicKeyToAttribute
AssignKeyAccessServerToAttribute(context.Context, *AssignKeyAccessServerToAttributeRequest) (*AssignKeyAccessServerToAttributeResponse, error)
// Deprecated: Do not use.
// Deprecated: utilize RemovePublicKeyFromAttribute
RemoveKeyAccessServerFromAttribute(context.Context, *RemoveKeyAccessServerFromAttributeRequest) (*RemoveKeyAccessServerFromAttributeResponse, error)
// Deprecated: Do not use.
// Deprecated: utilize AssignPublicKeyToValue
AssignKeyAccessServerToValue(context.Context, *AssignKeyAccessServerToValueRequest) (*AssignKeyAccessServerToValueResponse, error)
// Deprecated: Do not use.
// Deprecated: utilize RemovePublicKeyFromValue
RemoveKeyAccessServerFromValue(context.Context, *RemoveKeyAccessServerFromValueRequest) (*RemoveKeyAccessServerFromValueResponse, error)
AssignPublicKeyToAttribute(context.Context, *AssignPublicKeyToAttributeRequest) (*AssignPublicKeyToAttributeResponse, error)
RemovePublicKeyFromAttribute(context.Context, *RemovePublicKeyFromAttributeRequest) (*RemovePublicKeyFromAttributeResponse, error)
AssignPublicKeyToValue(context.Context, *AssignPublicKeyToValueRequest) (*AssignPublicKeyToValueResponse, error)
RemovePublicKeyFromValue(context.Context, *RemovePublicKeyFromValueRequest) (*RemovePublicKeyFromValueResponse, error)
// contains filtered or unexported methods
}
AttributesServiceServer is the server API for AttributesService service. All implementations must embed UnimplementedAttributesServiceServer for forward compatibility
type CreateAttributeRequest ¶
type CreateAttributeRequest struct {
// Required
NamespaceId string `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"`
// Required
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Required
Rule policy.AttributeRuleTypeEnum `protobuf:"varint,3,opt,name=rule,proto3,enum=policy.AttributeRuleTypeEnum" json:"rule,omitempty"`
// Optional
// Attribute values (when provided) must be alphanumeric strings, allowing hyphens and underscores but not as the first or last character.
// The stored attribute value will be normalized to lower case.
Values []string `protobuf:"bytes,4,rep,name=values,proto3" json:"values,omitempty"`
// Optional
Metadata *common.MetadataMutable `protobuf:"bytes,100,opt,name=metadata,proto3" json:"metadata,omitempty"`
// contains filtered or unexported fields
}
func (*CreateAttributeRequest) Descriptor
deprecated
func (*CreateAttributeRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAttributeRequest.ProtoReflect.Descriptor instead.
func (*CreateAttributeRequest) GetMetadata ¶
func (x *CreateAttributeRequest) GetMetadata() *common.MetadataMutable
func (*CreateAttributeRequest) GetName ¶
func (x *CreateAttributeRequest) GetName() string
func (*CreateAttributeRequest) GetNamespaceId ¶
func (x *CreateAttributeRequest) GetNamespaceId() string
func (*CreateAttributeRequest) GetRule ¶
func (x *CreateAttributeRequest) GetRule() policy.AttributeRuleTypeEnum
func (*CreateAttributeRequest) GetValues ¶
func (x *CreateAttributeRequest) GetValues() []string
func (*CreateAttributeRequest) ProtoMessage ¶
func (*CreateAttributeRequest) ProtoMessage()
func (*CreateAttributeRequest) ProtoReflect ¶
func (x *CreateAttributeRequest) ProtoReflect() protoreflect.Message
func (*CreateAttributeRequest) Reset ¶
func (x *CreateAttributeRequest) Reset()
func (*CreateAttributeRequest) String ¶
func (x *CreateAttributeRequest) String() string
type CreateAttributeResponse ¶
type CreateAttributeResponse struct {
Attribute *policy.Attribute `protobuf:"bytes,1,opt,name=attribute,proto3" json:"attribute,omitempty"`
// contains filtered or unexported fields
}
func (*CreateAttributeResponse) Descriptor
deprecated
func (*CreateAttributeResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAttributeResponse.ProtoReflect.Descriptor instead.
func (*CreateAttributeResponse) GetAttribute ¶
func (x *CreateAttributeResponse) GetAttribute() *policy.Attribute
func (*CreateAttributeResponse) ProtoMessage ¶
func (*CreateAttributeResponse) ProtoMessage()
func (*CreateAttributeResponse) ProtoReflect ¶
func (x *CreateAttributeResponse) ProtoReflect() protoreflect.Message
func (*CreateAttributeResponse) Reset ¶
func (x *CreateAttributeResponse) Reset()
func (*CreateAttributeResponse) String ¶
func (x *CreateAttributeResponse) String() string
type CreateAttributeValueRequest ¶
type CreateAttributeValueRequest struct {
// Required
AttributeId string `protobuf:"bytes,1,opt,name=attribute_id,json=attributeId,proto3" json:"attribute_id,omitempty"`
// Required
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// Optional
// Common metadata
Metadata *common.MetadataMutable `protobuf:"bytes,100,opt,name=metadata,proto3" json:"metadata,omitempty"`
// contains filtered or unexported fields
}
func (*CreateAttributeValueRequest) Descriptor
deprecated
func (*CreateAttributeValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAttributeValueRequest.ProtoReflect.Descriptor instead.
func (*CreateAttributeValueRequest) GetAttributeId ¶
func (x *CreateAttributeValueRequest) GetAttributeId() string
func (*CreateAttributeValueRequest) GetMetadata ¶
func (x *CreateAttributeValueRequest) GetMetadata() *common.MetadataMutable
func (*CreateAttributeValueRequest) GetValue ¶
func (x *CreateAttributeValueRequest) GetValue() string
func (*CreateAttributeValueRequest) ProtoMessage ¶
func (*CreateAttributeValueRequest) ProtoMessage()
func (*CreateAttributeValueRequest) ProtoReflect ¶
func (x *CreateAttributeValueRequest) ProtoReflect() protoreflect.Message
func (*CreateAttributeValueRequest) Reset ¶
func (x *CreateAttributeValueRequest) Reset()
func (*CreateAttributeValueRequest) String ¶
func (x *CreateAttributeValueRequest) String() string
type CreateAttributeValueResponse ¶
type CreateAttributeValueResponse struct {
Value *policy.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*CreateAttributeValueResponse) Descriptor
deprecated
func (*CreateAttributeValueResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAttributeValueResponse.ProtoReflect.Descriptor instead.
func (*CreateAttributeValueResponse) GetValue ¶
func (x *CreateAttributeValueResponse) GetValue() *policy.Value
func (*CreateAttributeValueResponse) ProtoMessage ¶
func (*CreateAttributeValueResponse) ProtoMessage()
func (*CreateAttributeValueResponse) ProtoReflect ¶
func (x *CreateAttributeValueResponse) ProtoReflect() protoreflect.Message
func (*CreateAttributeValueResponse) Reset ¶
func (x *CreateAttributeValueResponse) Reset()
func (*CreateAttributeValueResponse) String ¶
func (x *CreateAttributeValueResponse) String() string
type DeactivateAttributeRequest ¶
type DeactivateAttributeRequest struct {
// Required
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*DeactivateAttributeRequest) Descriptor
deprecated
func (*DeactivateAttributeRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeactivateAttributeRequest.ProtoReflect.Descriptor instead.
func (*DeactivateAttributeRequest) GetId ¶
func (x *DeactivateAttributeRequest) GetId() string
func (*DeactivateAttributeRequest) ProtoMessage ¶
func (*DeactivateAttributeRequest) ProtoMessage()
func (*DeactivateAttributeRequest) ProtoReflect ¶
func (x *DeactivateAttributeRequest) ProtoReflect() protoreflect.Message
func (*DeactivateAttributeRequest) Reset ¶
func (x *DeactivateAttributeRequest) Reset()
func (*DeactivateAttributeRequest) String ¶
func (x *DeactivateAttributeRequest) String() string
type DeactivateAttributeResponse ¶
type DeactivateAttributeResponse struct {
Attribute *policy.Attribute `protobuf:"bytes,1,opt,name=attribute,proto3" json:"attribute,omitempty"`
// contains filtered or unexported fields
}
func (*DeactivateAttributeResponse) Descriptor
deprecated
func (*DeactivateAttributeResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeactivateAttributeResponse.ProtoReflect.Descriptor instead.
func (*DeactivateAttributeResponse) GetAttribute ¶
func (x *DeactivateAttributeResponse) GetAttribute() *policy.Attribute
func (*DeactivateAttributeResponse) ProtoMessage ¶
func (*DeactivateAttributeResponse) ProtoMessage()
func (*DeactivateAttributeResponse) ProtoReflect ¶
func (x *DeactivateAttributeResponse) ProtoReflect() protoreflect.Message
func (*DeactivateAttributeResponse) Reset ¶
func (x *DeactivateAttributeResponse) Reset()
func (*DeactivateAttributeResponse) String ¶
func (x *DeactivateAttributeResponse) String() string
type DeactivateAttributeValueRequest ¶
type DeactivateAttributeValueRequest struct {
// Required
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*DeactivateAttributeValueRequest) Descriptor
deprecated
func (*DeactivateAttributeValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeactivateAttributeValueRequest.ProtoReflect.Descriptor instead.
func (*DeactivateAttributeValueRequest) GetId ¶
func (x *DeactivateAttributeValueRequest) GetId() string
func (*DeactivateAttributeValueRequest) ProtoMessage ¶
func (*DeactivateAttributeValueRequest) ProtoMessage()
func (*DeactivateAttributeValueRequest) ProtoReflect ¶
func (x *DeactivateAttributeValueRequest) ProtoReflect() protoreflect.Message
func (*DeactivateAttributeValueRequest) Reset ¶
func (x *DeactivateAttributeValueRequest) Reset()
func (*DeactivateAttributeValueRequest) String ¶
func (x *DeactivateAttributeValueRequest) String() string
type DeactivateAttributeValueResponse ¶
type DeactivateAttributeValueResponse struct {
Value *policy.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*DeactivateAttributeValueResponse) Descriptor
deprecated
func (*DeactivateAttributeValueResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeactivateAttributeValueResponse.ProtoReflect.Descriptor instead.
func (*DeactivateAttributeValueResponse) GetValue ¶
func (x *DeactivateAttributeValueResponse) GetValue() *policy.Value
func (*DeactivateAttributeValueResponse) ProtoMessage ¶
func (*DeactivateAttributeValueResponse) ProtoMessage()
func (*DeactivateAttributeValueResponse) ProtoReflect ¶
func (x *DeactivateAttributeValueResponse) ProtoReflect() protoreflect.Message
func (*DeactivateAttributeValueResponse) Reset ¶
func (x *DeactivateAttributeValueResponse) Reset()
func (*DeactivateAttributeValueResponse) String ¶
func (x *DeactivateAttributeValueResponse) String() string
type GetAttributeRequest ¶
type GetAttributeRequest struct {
// Deprecated: utilize identifier
//
// Deprecated: Marked as deprecated in policy/attributes/attributes.proto.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Types that are assignable to Identifier:
//
// *GetAttributeRequest_AttributeId
// *GetAttributeRequest_Fqn
Identifier isGetAttributeRequest_Identifier `protobuf_oneof:"identifier"`
// contains filtered or unexported fields
}
func (*GetAttributeRequest) Descriptor
deprecated
func (*GetAttributeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAttributeRequest.ProtoReflect.Descriptor instead.
func (*GetAttributeRequest) GetAttributeId ¶ added in v0.2.26
func (x *GetAttributeRequest) GetAttributeId() string
func (*GetAttributeRequest) GetFqn ¶ added in v0.2.26
func (x *GetAttributeRequest) GetFqn() string
func (*GetAttributeRequest) GetId
deprecated
func (x *GetAttributeRequest) GetId() string
Deprecated: Marked as deprecated in policy/attributes/attributes.proto.
func (*GetAttributeRequest) GetIdentifier ¶ added in v0.2.26
func (m *GetAttributeRequest) GetIdentifier() isGetAttributeRequest_Identifier
func (*GetAttributeRequest) ProtoMessage ¶
func (*GetAttributeRequest) ProtoMessage()
func (*GetAttributeRequest) ProtoReflect ¶
func (x *GetAttributeRequest) ProtoReflect() protoreflect.Message
func (*GetAttributeRequest) Reset ¶
func (x *GetAttributeRequest) Reset()
func (*GetAttributeRequest) String ¶
func (x *GetAttributeRequest) String() string
type GetAttributeRequest_AttributeId ¶ added in v0.2.26
type GetAttributeRequest_AttributeId struct {
// option (buf.validate.oneof).required = true; // TODO: enable this when we remove the deprecated field
AttributeId string `protobuf:"bytes,2,opt,name=attribute_id,json=attributeId,proto3,oneof"`
}
type GetAttributeRequest_Fqn ¶ added in v0.2.26
type GetAttributeRequest_Fqn struct {
Fqn string `protobuf:"bytes,3,opt,name=fqn,proto3,oneof"`
}
type GetAttributeResponse ¶
type GetAttributeResponse struct {
Attribute *policy.Attribute `protobuf:"bytes,1,opt,name=attribute,proto3" json:"attribute,omitempty"`
// contains filtered or unexported fields
}
func (*GetAttributeResponse) Descriptor
deprecated
func (*GetAttributeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAttributeResponse.ProtoReflect.Descriptor instead.
func (*GetAttributeResponse) GetAttribute ¶
func (x *GetAttributeResponse) GetAttribute() *policy.Attribute
func (*GetAttributeResponse) ProtoMessage ¶
func (*GetAttributeResponse) ProtoMessage()
func (*GetAttributeResponse) ProtoReflect ¶
func (x *GetAttributeResponse) ProtoReflect() protoreflect.Message
func (*GetAttributeResponse) Reset ¶
func (x *GetAttributeResponse) Reset()
func (*GetAttributeResponse) String ¶
func (x *GetAttributeResponse) String() string
type GetAttributeValueRequest ¶
type GetAttributeValueRequest struct {
// Deprecated: utilize identifier
//
// Deprecated: Marked as deprecated in policy/attributes/attributes.proto.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Types that are assignable to Identifier:
//
// *GetAttributeValueRequest_ValueId
// *GetAttributeValueRequest_Fqn
Identifier isGetAttributeValueRequest_Identifier `protobuf_oneof:"identifier"`
// contains filtered or unexported fields
}
/ / Value RPC messages /
func (*GetAttributeValueRequest) Descriptor
deprecated
func (*GetAttributeValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAttributeValueRequest.ProtoReflect.Descriptor instead.
func (*GetAttributeValueRequest) GetFqn ¶ added in v0.2.26
func (x *GetAttributeValueRequest) GetFqn() string
func (*GetAttributeValueRequest) GetId
deprecated
func (x *GetAttributeValueRequest) GetId() string
Deprecated: Marked as deprecated in policy/attributes/attributes.proto.
func (*GetAttributeValueRequest) GetIdentifier ¶ added in v0.2.26
func (m *GetAttributeValueRequest) GetIdentifier() isGetAttributeValueRequest_Identifier
func (*GetAttributeValueRequest) GetValueId ¶ added in v0.2.26
func (x *GetAttributeValueRequest) GetValueId() string
func (*GetAttributeValueRequest) ProtoMessage ¶
func (*GetAttributeValueRequest) ProtoMessage()
func (*GetAttributeValueRequest) ProtoReflect ¶
func (x *GetAttributeValueRequest) ProtoReflect() protoreflect.Message
func (*GetAttributeValueRequest) Reset ¶
func (x *GetAttributeValueRequest) Reset()
func (*GetAttributeValueRequest) String ¶
func (x *GetAttributeValueRequest) String() string
type GetAttributeValueRequest_Fqn ¶ added in v0.2.26
type GetAttributeValueRequest_Fqn struct {
Fqn string `protobuf:"bytes,3,opt,name=fqn,proto3,oneof"`
}
type GetAttributeValueRequest_ValueId ¶ added in v0.2.26
type GetAttributeValueRequest_ValueId struct {
// option (buf.validate.oneof).required = true; // TODO: enable this when we remove the deprecated field
ValueId string `protobuf:"bytes,2,opt,name=value_id,json=valueId,proto3,oneof"`
}
type GetAttributeValueResponse ¶
type GetAttributeValueResponse struct {
Value *policy.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*GetAttributeValueResponse) Descriptor
deprecated
func (*GetAttributeValueResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAttributeValueResponse.ProtoReflect.Descriptor instead.
func (*GetAttributeValueResponse) GetValue ¶
func (x *GetAttributeValueResponse) GetValue() *policy.Value
func (*GetAttributeValueResponse) ProtoMessage ¶
func (*GetAttributeValueResponse) ProtoMessage()
func (*GetAttributeValueResponse) ProtoReflect ¶
func (x *GetAttributeValueResponse) ProtoReflect() protoreflect.Message
func (*GetAttributeValueResponse) Reset ¶
func (x *GetAttributeValueResponse) Reset()
func (*GetAttributeValueResponse) String ¶
func (x *GetAttributeValueResponse) String() string
type GetAttributeValuesByFqnsRequest ¶
type GetAttributeValuesByFqnsRequest struct {
// Required
// Fully Qualified Names of attribute values (i.e. https://<namespace>/attr/<attribute_name>/value/<value_name>), normalized to lower case.
Fqns []string `protobuf:"bytes,1,rep,name=fqns,proto3" json:"fqns,omitempty"`
// contains filtered or unexported fields
}
func (*GetAttributeValuesByFqnsRequest) Descriptor
deprecated
func (*GetAttributeValuesByFqnsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAttributeValuesByFqnsRequest.ProtoReflect.Descriptor instead.
func (*GetAttributeValuesByFqnsRequest) GetFqns ¶
func (x *GetAttributeValuesByFqnsRequest) GetFqns() []string
func (*GetAttributeValuesByFqnsRequest) ProtoMessage ¶
func (*GetAttributeValuesByFqnsRequest) ProtoMessage()
func (*GetAttributeValuesByFqnsRequest) ProtoReflect ¶
func (x *GetAttributeValuesByFqnsRequest) ProtoReflect() protoreflect.Message
func (*GetAttributeValuesByFqnsRequest) Reset ¶
func (x *GetAttributeValuesByFqnsRequest) Reset()
func (*GetAttributeValuesByFqnsRequest) String ¶
func (x *GetAttributeValuesByFqnsRequest) String() string
type GetAttributeValuesByFqnsResponse ¶
type GetAttributeValuesByFqnsResponse struct {
// map of FQNs to complete attributes and the one selected value
FqnAttributeValues map[string]*GetAttributeValuesByFqnsResponse_AttributeAndValue `` /* 205-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*GetAttributeValuesByFqnsResponse) Descriptor
deprecated
func (*GetAttributeValuesByFqnsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAttributeValuesByFqnsResponse.ProtoReflect.Descriptor instead.
func (*GetAttributeValuesByFqnsResponse) GetFqnAttributeValues ¶
func (x *GetAttributeValuesByFqnsResponse) GetFqnAttributeValues() map[string]*GetAttributeValuesByFqnsResponse_AttributeAndValue
func (*GetAttributeValuesByFqnsResponse) ProtoMessage ¶
func (*GetAttributeValuesByFqnsResponse) ProtoMessage()
func (*GetAttributeValuesByFqnsResponse) ProtoReflect ¶
func (x *GetAttributeValuesByFqnsResponse) ProtoReflect() protoreflect.Message
func (*GetAttributeValuesByFqnsResponse) Reset ¶
func (x *GetAttributeValuesByFqnsResponse) Reset()
func (*GetAttributeValuesByFqnsResponse) String ¶
func (x *GetAttributeValuesByFqnsResponse) String() string
type GetAttributeValuesByFqnsResponse_AttributeAndValue ¶
type GetAttributeValuesByFqnsResponse_AttributeAndValue struct {
Attribute *policy.Attribute `protobuf:"bytes,1,opt,name=attribute,proto3" json:"attribute,omitempty"`
Value *policy.Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*GetAttributeValuesByFqnsResponse_AttributeAndValue) Descriptor
deprecated
func (*GetAttributeValuesByFqnsResponse_AttributeAndValue) Descriptor() ([]byte, []int)
Deprecated: Use GetAttributeValuesByFqnsResponse_AttributeAndValue.ProtoReflect.Descriptor instead.
func (*GetAttributeValuesByFqnsResponse_AttributeAndValue) GetAttribute ¶
func (x *GetAttributeValuesByFqnsResponse_AttributeAndValue) GetAttribute() *policy.Attribute
func (*GetAttributeValuesByFqnsResponse_AttributeAndValue) GetValue ¶
func (x *GetAttributeValuesByFqnsResponse_AttributeAndValue) GetValue() *policy.Value
func (*GetAttributeValuesByFqnsResponse_AttributeAndValue) ProtoMessage ¶
func (*GetAttributeValuesByFqnsResponse_AttributeAndValue) ProtoMessage()
func (*GetAttributeValuesByFqnsResponse_AttributeAndValue) ProtoReflect ¶
func (x *GetAttributeValuesByFqnsResponse_AttributeAndValue) ProtoReflect() protoreflect.Message
func (*GetAttributeValuesByFqnsResponse_AttributeAndValue) Reset ¶
func (x *GetAttributeValuesByFqnsResponse_AttributeAndValue) Reset()
func (*GetAttributeValuesByFqnsResponse_AttributeAndValue) String ¶
func (x *GetAttributeValuesByFqnsResponse_AttributeAndValue) String() string
type ListAttributeValuesRequest ¶
type ListAttributeValuesRequest struct {
// Required
AttributeId string `protobuf:"bytes,1,opt,name=attribute_id,json=attributeId,proto3" json:"attribute_id,omitempty"`
// Optional
// ACTIVE by default when not specified
State common.ActiveStateEnum `protobuf:"varint,2,opt,name=state,proto3,enum=common.ActiveStateEnum" json:"state,omitempty"`
// Optional
Pagination *policy.PageRequest `protobuf:"bytes,10,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
func (*ListAttributeValuesRequest) Descriptor
deprecated
func (*ListAttributeValuesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAttributeValuesRequest.ProtoReflect.Descriptor instead.
func (*ListAttributeValuesRequest) GetAttributeId ¶
func (x *ListAttributeValuesRequest) GetAttributeId() string
func (*ListAttributeValuesRequest) GetPagination ¶ added in v0.2.19
func (x *ListAttributeValuesRequest) GetPagination() *policy.PageRequest
func (*ListAttributeValuesRequest) GetState ¶
func (x *ListAttributeValuesRequest) GetState() common.ActiveStateEnum
func (*ListAttributeValuesRequest) ProtoMessage ¶
func (*ListAttributeValuesRequest) ProtoMessage()
func (*ListAttributeValuesRequest) ProtoReflect ¶
func (x *ListAttributeValuesRequest) ProtoReflect() protoreflect.Message
func (*ListAttributeValuesRequest) Reset ¶
func (x *ListAttributeValuesRequest) Reset()
func (*ListAttributeValuesRequest) String ¶
func (x *ListAttributeValuesRequest) String() string
type ListAttributeValuesResponse ¶
type ListAttributeValuesResponse struct {
Values []*policy.Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
Pagination *policy.PageResponse `protobuf:"bytes,10,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
func (*ListAttributeValuesResponse) Descriptor
deprecated
func (*ListAttributeValuesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAttributeValuesResponse.ProtoReflect.Descriptor instead.
func (*ListAttributeValuesResponse) GetPagination ¶ added in v0.2.19
func (x *ListAttributeValuesResponse) GetPagination() *policy.PageResponse
func (*ListAttributeValuesResponse) GetValues ¶
func (x *ListAttributeValuesResponse) GetValues() []*policy.Value
func (*ListAttributeValuesResponse) ProtoMessage ¶
func (*ListAttributeValuesResponse) ProtoMessage()
func (*ListAttributeValuesResponse) ProtoReflect ¶
func (x *ListAttributeValuesResponse) ProtoReflect() protoreflect.Message
func (*ListAttributeValuesResponse) Reset ¶
func (x *ListAttributeValuesResponse) Reset()
func (*ListAttributeValuesResponse) String ¶
func (x *ListAttributeValuesResponse) String() string
type ListAttributesRequest ¶
type ListAttributesRequest struct {
// Optional
// ACTIVE by default when not specified
State common.ActiveStateEnum `protobuf:"varint,1,opt,name=state,proto3,enum=common.ActiveStateEnum" json:"state,omitempty"`
// Optional
// Namespace ID or name
Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
// Optional
Pagination *policy.PageRequest `protobuf:"bytes,10,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
func (*ListAttributesRequest) Descriptor
deprecated
func (*ListAttributesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAttributesRequest.ProtoReflect.Descriptor instead.
func (*ListAttributesRequest) GetNamespace ¶
func (x *ListAttributesRequest) GetNamespace() string
func (*ListAttributesRequest) GetPagination ¶ added in v0.2.19
func (x *ListAttributesRequest) GetPagination() *policy.PageRequest
func (*ListAttributesRequest) GetState ¶
func (x *ListAttributesRequest) GetState() common.ActiveStateEnum
func (*ListAttributesRequest) ProtoMessage ¶
func (*ListAttributesRequest) ProtoMessage()
func (*ListAttributesRequest) ProtoReflect ¶
func (x *ListAttributesRequest) ProtoReflect() protoreflect.Message
func (*ListAttributesRequest) Reset ¶
func (x *ListAttributesRequest) Reset()
func (*ListAttributesRequest) String ¶
func (x *ListAttributesRequest) String() string
type ListAttributesResponse ¶
type ListAttributesResponse struct {
Attributes []*policy.Attribute `protobuf:"bytes,1,rep,name=attributes,proto3" json:"attributes,omitempty"`
Pagination *policy.PageResponse `protobuf:"bytes,10,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
func (*ListAttributesResponse) Descriptor
deprecated
func (*ListAttributesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAttributesResponse.ProtoReflect.Descriptor instead.
func (*ListAttributesResponse) GetAttributes ¶
func (x *ListAttributesResponse) GetAttributes() []*policy.Attribute
func (*ListAttributesResponse) GetPagination ¶ added in v0.2.19
func (x *ListAttributesResponse) GetPagination() *policy.PageResponse
func (*ListAttributesResponse) ProtoMessage ¶
func (*ListAttributesResponse) ProtoMessage()
func (*ListAttributesResponse) ProtoReflect ¶
func (x *ListAttributesResponse) ProtoReflect() protoreflect.Message
func (*ListAttributesResponse) Reset ¶
func (x *ListAttributesResponse) Reset()
func (*ListAttributesResponse) String ¶
func (x *ListAttributesResponse) String() string
type RemoveKeyAccessServerFromAttributeRequest
deprecated
type RemoveKeyAccessServerFromAttributeRequest struct {
// Required
AttributeKeyAccessServer *AttributeKeyAccessServer `` /* 137-byte string literal not displayed */
// contains filtered or unexported fields
}
Deprecated: utilize RemovePublicKeyFromAttributeRequest
Deprecated: Marked as deprecated in policy/attributes/attributes.proto.
func (*RemoveKeyAccessServerFromAttributeRequest) Descriptor
deprecated
func (*RemoveKeyAccessServerFromAttributeRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveKeyAccessServerFromAttributeRequest.ProtoReflect.Descriptor instead.
func (*RemoveKeyAccessServerFromAttributeRequest) GetAttributeKeyAccessServer ¶
func (x *RemoveKeyAccessServerFromAttributeRequest) GetAttributeKeyAccessServer() *AttributeKeyAccessServer
func (*RemoveKeyAccessServerFromAttributeRequest) ProtoMessage ¶
func (*RemoveKeyAccessServerFromAttributeRequest) ProtoMessage()
func (*RemoveKeyAccessServerFromAttributeRequest) ProtoReflect ¶
func (x *RemoveKeyAccessServerFromAttributeRequest) ProtoReflect() protoreflect.Message
func (*RemoveKeyAccessServerFromAttributeRequest) Reset ¶
func (x *RemoveKeyAccessServerFromAttributeRequest) Reset()
func (*RemoveKeyAccessServerFromAttributeRequest) String ¶
func (x *RemoveKeyAccessServerFromAttributeRequest) String() string
type RemoveKeyAccessServerFromAttributeResponse
deprecated
type RemoveKeyAccessServerFromAttributeResponse struct {
AttributeKeyAccessServer *AttributeKeyAccessServer `` /* 137-byte string literal not displayed */
// contains filtered or unexported fields
}
Deprecated: Marked as deprecated in policy/attributes/attributes.proto.
func (*RemoveKeyAccessServerFromAttributeResponse) Descriptor
deprecated
func (*RemoveKeyAccessServerFromAttributeResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveKeyAccessServerFromAttributeResponse.ProtoReflect.Descriptor instead.
func (*RemoveKeyAccessServerFromAttributeResponse) GetAttributeKeyAccessServer ¶
func (x *RemoveKeyAccessServerFromAttributeResponse) GetAttributeKeyAccessServer() *AttributeKeyAccessServer
func (*RemoveKeyAccessServerFromAttributeResponse) ProtoMessage ¶
func (*RemoveKeyAccessServerFromAttributeResponse) ProtoMessage()
func (*RemoveKeyAccessServerFromAttributeResponse) ProtoReflect ¶
func (x *RemoveKeyAccessServerFromAttributeResponse) ProtoReflect() protoreflect.Message
func (*RemoveKeyAccessServerFromAttributeResponse) Reset ¶
func (x *RemoveKeyAccessServerFromAttributeResponse) Reset()
func (*RemoveKeyAccessServerFromAttributeResponse) String ¶
func (x *RemoveKeyAccessServerFromAttributeResponse) String() string
type RemoveKeyAccessServerFromValueRequest
deprecated
type RemoveKeyAccessServerFromValueRequest struct {
// Required
ValueKeyAccessServer *ValueKeyAccessServer `protobuf:"bytes,1,opt,name=value_key_access_server,json=valueKeyAccessServer,proto3" json:"value_key_access_server,omitempty"`
// contains filtered or unexported fields
}
Deprecated: utilize RemovePublicKeyFromValueRequest
Deprecated: Marked as deprecated in policy/attributes/attributes.proto.
func (*RemoveKeyAccessServerFromValueRequest) Descriptor
deprecated
func (*RemoveKeyAccessServerFromValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveKeyAccessServerFromValueRequest.ProtoReflect.Descriptor instead.
func (*RemoveKeyAccessServerFromValueRequest) GetValueKeyAccessServer ¶
func (x *RemoveKeyAccessServerFromValueRequest) GetValueKeyAccessServer() *ValueKeyAccessServer
func (*RemoveKeyAccessServerFromValueRequest) ProtoMessage ¶
func (*RemoveKeyAccessServerFromValueRequest) ProtoMessage()
func (*RemoveKeyAccessServerFromValueRequest) ProtoReflect ¶
func (x *RemoveKeyAccessServerFromValueRequest) ProtoReflect() protoreflect.Message
func (*RemoveKeyAccessServerFromValueRequest) Reset ¶
func (x *RemoveKeyAccessServerFromValueRequest) Reset()
func (*RemoveKeyAccessServerFromValueRequest) String ¶
func (x *RemoveKeyAccessServerFromValueRequest) String() string
type RemoveKeyAccessServerFromValueResponse
deprecated
type RemoveKeyAccessServerFromValueResponse struct {
ValueKeyAccessServer *ValueKeyAccessServer `protobuf:"bytes,1,opt,name=value_key_access_server,json=valueKeyAccessServer,proto3" json:"value_key_access_server,omitempty"`
// contains filtered or unexported fields
}
Deprecated: Marked as deprecated in policy/attributes/attributes.proto.
func (*RemoveKeyAccessServerFromValueResponse) Descriptor
deprecated
func (*RemoveKeyAccessServerFromValueResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveKeyAccessServerFromValueResponse.ProtoReflect.Descriptor instead.
func (*RemoveKeyAccessServerFromValueResponse) GetValueKeyAccessServer ¶
func (x *RemoveKeyAccessServerFromValueResponse) GetValueKeyAccessServer() *ValueKeyAccessServer
func (*RemoveKeyAccessServerFromValueResponse) ProtoMessage ¶
func (*RemoveKeyAccessServerFromValueResponse) ProtoMessage()
func (*RemoveKeyAccessServerFromValueResponse) ProtoReflect ¶
func (x *RemoveKeyAccessServerFromValueResponse) ProtoReflect() protoreflect.Message
func (*RemoveKeyAccessServerFromValueResponse) Reset ¶
func (x *RemoveKeyAccessServerFromValueResponse) Reset()
func (*RemoveKeyAccessServerFromValueResponse) String ¶
func (x *RemoveKeyAccessServerFromValueResponse) String() string
type RemovePublicKeyFromAttributeRequest ¶ added in v0.3.3
type RemovePublicKeyFromAttributeRequest struct {
// Required
AttributeKey *AttributeKey `protobuf:"bytes,1,opt,name=attribute_key,json=attributeKey,proto3" json:"attribute_key,omitempty"`
// contains filtered or unexported fields
}
func (*RemovePublicKeyFromAttributeRequest) Descriptor
deprecated
added in
v0.3.3
func (*RemovePublicKeyFromAttributeRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemovePublicKeyFromAttributeRequest.ProtoReflect.Descriptor instead.
func (*RemovePublicKeyFromAttributeRequest) GetAttributeKey ¶ added in v0.3.3
func (x *RemovePublicKeyFromAttributeRequest) GetAttributeKey() *AttributeKey
func (*RemovePublicKeyFromAttributeRequest) ProtoMessage ¶ added in v0.3.3
func (*RemovePublicKeyFromAttributeRequest) ProtoMessage()
func (*RemovePublicKeyFromAttributeRequest) ProtoReflect ¶ added in v0.3.3
func (x *RemovePublicKeyFromAttributeRequest) ProtoReflect() protoreflect.Message
func (*RemovePublicKeyFromAttributeRequest) Reset ¶ added in v0.3.3
func (x *RemovePublicKeyFromAttributeRequest) Reset()
func (*RemovePublicKeyFromAttributeRequest) String ¶ added in v0.3.3
func (x *RemovePublicKeyFromAttributeRequest) String() string
type RemovePublicKeyFromAttributeResponse ¶ added in v0.3.3
type RemovePublicKeyFromAttributeResponse struct {
// Required
AttributeKey *AttributeKey `protobuf:"bytes,1,opt,name=attribute_key,json=attributeKey,proto3" json:"attribute_key,omitempty"`
// contains filtered or unexported fields
}
func (*RemovePublicKeyFromAttributeResponse) Descriptor
deprecated
added in
v0.3.3
func (*RemovePublicKeyFromAttributeResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemovePublicKeyFromAttributeResponse.ProtoReflect.Descriptor instead.
func (*RemovePublicKeyFromAttributeResponse) GetAttributeKey ¶ added in v0.3.3
func (x *RemovePublicKeyFromAttributeResponse) GetAttributeKey() *AttributeKey
func (*RemovePublicKeyFromAttributeResponse) ProtoMessage ¶ added in v0.3.3
func (*RemovePublicKeyFromAttributeResponse) ProtoMessage()
func (*RemovePublicKeyFromAttributeResponse) ProtoReflect ¶ added in v0.3.3
func (x *RemovePublicKeyFromAttributeResponse) ProtoReflect() protoreflect.Message
func (*RemovePublicKeyFromAttributeResponse) Reset ¶ added in v0.3.3
func (x *RemovePublicKeyFromAttributeResponse) Reset()
func (*RemovePublicKeyFromAttributeResponse) String ¶ added in v0.3.3
func (x *RemovePublicKeyFromAttributeResponse) String() string
type RemovePublicKeyFromValueRequest ¶ added in v0.3.3
type RemovePublicKeyFromValueRequest struct {
// Required
ValueKey *ValueKey `protobuf:"bytes,1,opt,name=value_key,json=valueKey,proto3" json:"value_key,omitempty"`
// contains filtered or unexported fields
}
func (*RemovePublicKeyFromValueRequest) Descriptor
deprecated
added in
v0.3.3
func (*RemovePublicKeyFromValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemovePublicKeyFromValueRequest.ProtoReflect.Descriptor instead.
func (*RemovePublicKeyFromValueRequest) GetValueKey ¶ added in v0.3.3
func (x *RemovePublicKeyFromValueRequest) GetValueKey() *ValueKey
func (*RemovePublicKeyFromValueRequest) ProtoMessage ¶ added in v0.3.3
func (*RemovePublicKeyFromValueRequest) ProtoMessage()
func (*RemovePublicKeyFromValueRequest) ProtoReflect ¶ added in v0.3.3
func (x *RemovePublicKeyFromValueRequest) ProtoReflect() protoreflect.Message
func (*RemovePublicKeyFromValueRequest) Reset ¶ added in v0.3.3
func (x *RemovePublicKeyFromValueRequest) Reset()
func (*RemovePublicKeyFromValueRequest) String ¶ added in v0.3.3
func (x *RemovePublicKeyFromValueRequest) String() string
type RemovePublicKeyFromValueResponse ¶ added in v0.3.3
type RemovePublicKeyFromValueResponse struct {
// Required
ValueKey *ValueKey `protobuf:"bytes,1,opt,name=value_key,json=valueKey,proto3" json:"value_key,omitempty"`
// contains filtered or unexported fields
}
func (*RemovePublicKeyFromValueResponse) Descriptor
deprecated
added in
v0.3.3
func (*RemovePublicKeyFromValueResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemovePublicKeyFromValueResponse.ProtoReflect.Descriptor instead.
func (*RemovePublicKeyFromValueResponse) GetValueKey ¶ added in v0.3.3
func (x *RemovePublicKeyFromValueResponse) GetValueKey() *ValueKey
func (*RemovePublicKeyFromValueResponse) ProtoMessage ¶ added in v0.3.3
func (*RemovePublicKeyFromValueResponse) ProtoMessage()
func (*RemovePublicKeyFromValueResponse) ProtoReflect ¶ added in v0.3.3
func (x *RemovePublicKeyFromValueResponse) ProtoReflect() protoreflect.Message
func (*RemovePublicKeyFromValueResponse) Reset ¶ added in v0.3.3
func (x *RemovePublicKeyFromValueResponse) Reset()
func (*RemovePublicKeyFromValueResponse) String ¶ added in v0.3.3
func (x *RemovePublicKeyFromValueResponse) String() string
type UnimplementedAttributesServiceServer ¶
type UnimplementedAttributesServiceServer struct {
}
UnimplementedAttributesServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAttributesServiceServer) AssignKeyAccessServerToAttribute ¶
func (UnimplementedAttributesServiceServer) AssignKeyAccessServerToAttribute(context.Context, *AssignKeyAccessServerToAttributeRequest) (*AssignKeyAccessServerToAttributeResponse, error)
func (UnimplementedAttributesServiceServer) AssignKeyAccessServerToValue ¶
func (UnimplementedAttributesServiceServer) AssignKeyAccessServerToValue(context.Context, *AssignKeyAccessServerToValueRequest) (*AssignKeyAccessServerToValueResponse, error)
func (UnimplementedAttributesServiceServer) AssignPublicKeyToAttribute ¶ added in v0.3.3
func (UnimplementedAttributesServiceServer) AssignPublicKeyToAttribute(context.Context, *AssignPublicKeyToAttributeRequest) (*AssignPublicKeyToAttributeResponse, error)
func (UnimplementedAttributesServiceServer) AssignPublicKeyToValue ¶ added in v0.3.3
func (UnimplementedAttributesServiceServer) AssignPublicKeyToValue(context.Context, *AssignPublicKeyToValueRequest) (*AssignPublicKeyToValueResponse, error)
func (UnimplementedAttributesServiceServer) CreateAttribute ¶
func (UnimplementedAttributesServiceServer) CreateAttribute(context.Context, *CreateAttributeRequest) (*CreateAttributeResponse, error)
func (UnimplementedAttributesServiceServer) CreateAttributeValue ¶
func (UnimplementedAttributesServiceServer) CreateAttributeValue(context.Context, *CreateAttributeValueRequest) (*CreateAttributeValueResponse, error)
func (UnimplementedAttributesServiceServer) DeactivateAttribute ¶
func (UnimplementedAttributesServiceServer) DeactivateAttribute(context.Context, *DeactivateAttributeRequest) (*DeactivateAttributeResponse, error)
func (UnimplementedAttributesServiceServer) DeactivateAttributeValue ¶
func (UnimplementedAttributesServiceServer) DeactivateAttributeValue(context.Context, *DeactivateAttributeValueRequest) (*DeactivateAttributeValueResponse, error)
func (UnimplementedAttributesServiceServer) GetAttribute ¶
func (UnimplementedAttributesServiceServer) GetAttribute(context.Context, *GetAttributeRequest) (*GetAttributeResponse, error)
func (UnimplementedAttributesServiceServer) GetAttributeValue ¶
func (UnimplementedAttributesServiceServer) GetAttributeValue(context.Context, *GetAttributeValueRequest) (*GetAttributeValueResponse, error)
func (UnimplementedAttributesServiceServer) GetAttributeValuesByFqns ¶
func (UnimplementedAttributesServiceServer) GetAttributeValuesByFqns(context.Context, *GetAttributeValuesByFqnsRequest) (*GetAttributeValuesByFqnsResponse, error)
func (UnimplementedAttributesServiceServer) ListAttributeValues ¶
func (UnimplementedAttributesServiceServer) ListAttributeValues(context.Context, *ListAttributeValuesRequest) (*ListAttributeValuesResponse, error)
func (UnimplementedAttributesServiceServer) ListAttributes ¶
func (UnimplementedAttributesServiceServer) ListAttributes(context.Context, *ListAttributesRequest) (*ListAttributesResponse, error)
func (UnimplementedAttributesServiceServer) RemoveKeyAccessServerFromAttribute ¶
func (UnimplementedAttributesServiceServer) RemoveKeyAccessServerFromAttribute(context.Context, *RemoveKeyAccessServerFromAttributeRequest) (*RemoveKeyAccessServerFromAttributeResponse, error)
func (UnimplementedAttributesServiceServer) RemoveKeyAccessServerFromValue ¶
func (UnimplementedAttributesServiceServer) RemoveKeyAccessServerFromValue(context.Context, *RemoveKeyAccessServerFromValueRequest) (*RemoveKeyAccessServerFromValueResponse, error)
func (UnimplementedAttributesServiceServer) RemovePublicKeyFromAttribute ¶ added in v0.3.3
func (UnimplementedAttributesServiceServer) RemovePublicKeyFromAttribute(context.Context, *RemovePublicKeyFromAttributeRequest) (*RemovePublicKeyFromAttributeResponse, error)
func (UnimplementedAttributesServiceServer) RemovePublicKeyFromValue ¶ added in v0.3.3
func (UnimplementedAttributesServiceServer) RemovePublicKeyFromValue(context.Context, *RemovePublicKeyFromValueRequest) (*RemovePublicKeyFromValueResponse, error)
func (UnimplementedAttributesServiceServer) UpdateAttribute ¶
func (UnimplementedAttributesServiceServer) UpdateAttribute(context.Context, *UpdateAttributeRequest) (*UpdateAttributeResponse, error)
func (UnimplementedAttributesServiceServer) UpdateAttributeValue ¶
func (UnimplementedAttributesServiceServer) UpdateAttributeValue(context.Context, *UpdateAttributeValueRequest) (*UpdateAttributeValueResponse, error)
type UnsafeAttributesServiceServer ¶
type UnsafeAttributesServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAttributesServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AttributesServiceServer will result in compilation errors.
type UpdateAttributeRequest ¶
type UpdateAttributeRequest struct {
// Required
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Optional
Metadata *common.MetadataMutable `protobuf:"bytes,100,opt,name=metadata,proto3" json:"metadata,omitempty"`
MetadataUpdateBehavior common.MetadataUpdateEnum `` /* 163-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*UpdateAttributeRequest) Descriptor
deprecated
func (*UpdateAttributeRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAttributeRequest.ProtoReflect.Descriptor instead.
func (*UpdateAttributeRequest) GetId ¶
func (x *UpdateAttributeRequest) GetId() string
func (*UpdateAttributeRequest) GetMetadata ¶
func (x *UpdateAttributeRequest) GetMetadata() *common.MetadataMutable
func (*UpdateAttributeRequest) GetMetadataUpdateBehavior ¶
func (x *UpdateAttributeRequest) GetMetadataUpdateBehavior() common.MetadataUpdateEnum
func (*UpdateAttributeRequest) ProtoMessage ¶
func (*UpdateAttributeRequest) ProtoMessage()
func (*UpdateAttributeRequest) ProtoReflect ¶
func (x *UpdateAttributeRequest) ProtoReflect() protoreflect.Message
func (*UpdateAttributeRequest) Reset ¶
func (x *UpdateAttributeRequest) Reset()
func (*UpdateAttributeRequest) String ¶
func (x *UpdateAttributeRequest) String() string
type UpdateAttributeResponse ¶
type UpdateAttributeResponse struct {
Attribute *policy.Attribute `protobuf:"bytes,1,opt,name=attribute,proto3" json:"attribute,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateAttributeResponse) Descriptor
deprecated
func (*UpdateAttributeResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAttributeResponse.ProtoReflect.Descriptor instead.
func (*UpdateAttributeResponse) GetAttribute ¶
func (x *UpdateAttributeResponse) GetAttribute() *policy.Attribute
func (*UpdateAttributeResponse) ProtoMessage ¶
func (*UpdateAttributeResponse) ProtoMessage()
func (*UpdateAttributeResponse) ProtoReflect ¶
func (x *UpdateAttributeResponse) ProtoReflect() protoreflect.Message
func (*UpdateAttributeResponse) Reset ¶
func (x *UpdateAttributeResponse) Reset()
func (*UpdateAttributeResponse) String ¶
func (x *UpdateAttributeResponse) String() string
type UpdateAttributeValueRequest ¶
type UpdateAttributeValueRequest struct {
// Required
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Optional
// Common metadata
Metadata *common.MetadataMutable `protobuf:"bytes,100,opt,name=metadata,proto3" json:"metadata,omitempty"`
MetadataUpdateBehavior common.MetadataUpdateEnum `` /* 163-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*UpdateAttributeValueRequest) Descriptor
deprecated
func (*UpdateAttributeValueRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAttributeValueRequest.ProtoReflect.Descriptor instead.
func (*UpdateAttributeValueRequest) GetId ¶
func (x *UpdateAttributeValueRequest) GetId() string
func (*UpdateAttributeValueRequest) GetMetadata ¶
func (x *UpdateAttributeValueRequest) GetMetadata() *common.MetadataMutable
func (*UpdateAttributeValueRequest) GetMetadataUpdateBehavior ¶
func (x *UpdateAttributeValueRequest) GetMetadataUpdateBehavior() common.MetadataUpdateEnum
func (*UpdateAttributeValueRequest) ProtoMessage ¶
func (*UpdateAttributeValueRequest) ProtoMessage()
func (*UpdateAttributeValueRequest) ProtoReflect ¶
func (x *UpdateAttributeValueRequest) ProtoReflect() protoreflect.Message
func (*UpdateAttributeValueRequest) Reset ¶
func (x *UpdateAttributeValueRequest) Reset()
func (*UpdateAttributeValueRequest) String ¶
func (x *UpdateAttributeValueRequest) String() string
type UpdateAttributeValueResponse ¶
type UpdateAttributeValueResponse struct {
Value *policy.Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateAttributeValueResponse) Descriptor
deprecated
func (*UpdateAttributeValueResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAttributeValueResponse.ProtoReflect.Descriptor instead.
func (*UpdateAttributeValueResponse) GetValue ¶
func (x *UpdateAttributeValueResponse) GetValue() *policy.Value
func (*UpdateAttributeValueResponse) ProtoMessage ¶
func (*UpdateAttributeValueResponse) ProtoMessage()
func (*UpdateAttributeValueResponse) ProtoReflect ¶
func (x *UpdateAttributeValueResponse) ProtoReflect() protoreflect.Message
func (*UpdateAttributeValueResponse) Reset ¶
func (x *UpdateAttributeValueResponse) Reset()
func (*UpdateAttributeValueResponse) String ¶
func (x *UpdateAttributeValueResponse) String() string
type ValueKey ¶ added in v0.2.24
type ValueKey struct {
// Required
ValueId string `protobuf:"bytes,1,opt,name=value_id,json=valueId,proto3" json:"value_id,omitempty"`
// Required (The id listed in the AsymmetricKeys object)
KeyId string `protobuf:"bytes,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
// contains filtered or unexported fields
}
func (*ValueKey) Descriptor
deprecated
added in
v0.2.24
func (*ValueKey) GetValueId ¶ added in v0.2.24
func (*ValueKey) ProtoMessage ¶ added in v0.2.24
func (*ValueKey) ProtoMessage()
func (*ValueKey) ProtoReflect ¶ added in v0.2.24
func (x *ValueKey) ProtoReflect() protoreflect.Message
type ValueKeyAccessServer
deprecated
type ValueKeyAccessServer struct {
// Required
ValueId string `protobuf:"bytes,1,opt,name=value_id,json=valueId,proto3" json:"value_id,omitempty"`
// Required
KeyAccessServerId string `protobuf:"bytes,2,opt,name=key_access_server_id,json=keyAccessServerId,proto3" json:"key_access_server_id,omitempty"`
// contains filtered or unexported fields
}
Deprecated: Marked as deprecated in policy/attributes/attributes.proto.
func (*ValueKeyAccessServer) Descriptor
deprecated
func (*ValueKeyAccessServer) Descriptor() ([]byte, []int)
Deprecated: Use ValueKeyAccessServer.ProtoReflect.Descriptor instead.
func (*ValueKeyAccessServer) GetKeyAccessServerId ¶
func (x *ValueKeyAccessServer) GetKeyAccessServerId() string
func (*ValueKeyAccessServer) GetValueId ¶
func (x *ValueKeyAccessServer) GetValueId() string
func (*ValueKeyAccessServer) ProtoMessage ¶
func (*ValueKeyAccessServer) ProtoMessage()
func (*ValueKeyAccessServer) ProtoReflect ¶
func (x *ValueKeyAccessServer) ProtoReflect() protoreflect.Message
func (*ValueKeyAccessServer) Reset ¶
func (x *ValueKeyAccessServer) Reset()
func (*ValueKeyAccessServer) String ¶
func (x *ValueKeyAccessServer) String() string