Documentation ¶
Index ¶
- Variables
- func RegisterFeaturesServer(s *grpc.Server, srv FeaturesServer)
- type DeleteFeatureRequest
- func (*DeleteFeatureRequest) Descriptor() ([]byte, []int)
- func (m *DeleteFeatureRequest) GetName() string
- func (m *DeleteFeatureRequest) Marshal() (dAtA []byte, err error)
- func (m *DeleteFeatureRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *DeleteFeatureRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeleteFeatureRequest) ProtoMessage()
- func (m *DeleteFeatureRequest) Reset()
- func (m *DeleteFeatureRequest) Size() (n int)
- func (m *DeleteFeatureRequest) String() string
- func (m *DeleteFeatureRequest) Unmarshal(dAtA []byte) error
- func (m *DeleteFeatureRequest) XXX_DiscardUnknown()
- func (m *DeleteFeatureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteFeatureRequest) XXX_Merge(src proto.Message)
- func (m *DeleteFeatureRequest) XXX_Size() int
- func (m *DeleteFeatureRequest) XXX_Unmarshal(b []byte) error
- type DeleteFeatureResponse
- func (*DeleteFeatureResponse) Descriptor() ([]byte, []int)
- func (m *DeleteFeatureResponse) GetFeature() *Feature
- func (m *DeleteFeatureResponse) Marshal() (dAtA []byte, err error)
- func (m *DeleteFeatureResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *DeleteFeatureResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DeleteFeatureResponse) ProtoMessage()
- func (m *DeleteFeatureResponse) Reset()
- func (m *DeleteFeatureResponse) Size() (n int)
- func (m *DeleteFeatureResponse) String() string
- func (m *DeleteFeatureResponse) Unmarshal(dAtA []byte) error
- func (m *DeleteFeatureResponse) XXX_DiscardUnknown()
- func (m *DeleteFeatureResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteFeatureResponse) XXX_Merge(src proto.Message)
- func (m *DeleteFeatureResponse) XXX_Size() int
- func (m *DeleteFeatureResponse) XXX_Unmarshal(b []byte) error
- type Feature
- func (*Feature) Descriptor() ([]byte, []int)
- func (m *Feature) GetDescription() string
- func (m *Feature) GetEnabled() bool
- func (m *Feature) GetExpression() string
- func (m *Feature) GetName() string
- func (m *Feature) GetPercentage() uint32
- func (m *Feature) GetType() Feature_Type
- func (m *Feature) Marshal() (dAtA []byte, err error)
- func (m *Feature) MarshalTo(dAtA []byte) (int, error)
- func (m *Feature) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Feature) ProtoMessage()
- func (m *Feature) Reset()
- func (m *Feature) Size() (n int)
- func (m *Feature) String() string
- func (m *Feature) Unmarshal(dAtA []byte) error
- func (m *Feature) XXX_DiscardUnknown()
- func (m *Feature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Feature) XXX_Merge(src proto.Message)
- func (m *Feature) XXX_Size() int
- func (m *Feature) XXX_Unmarshal(b []byte) error
- type Feature_Type
- type FeaturesClient
- type FeaturesServer
- type GetFeatureRequest
- func (*GetFeatureRequest) Descriptor() ([]byte, []int)
- func (m *GetFeatureRequest) GetName() string
- func (m *GetFeatureRequest) Marshal() (dAtA []byte, err error)
- func (m *GetFeatureRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetFeatureRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetFeatureRequest) ProtoMessage()
- func (m *GetFeatureRequest) Reset()
- func (m *GetFeatureRequest) Size() (n int)
- func (m *GetFeatureRequest) String() string
- func (m *GetFeatureRequest) Unmarshal(dAtA []byte) error
- func (m *GetFeatureRequest) XXX_DiscardUnknown()
- func (m *GetFeatureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetFeatureRequest) XXX_Merge(src proto.Message)
- func (m *GetFeatureRequest) XXX_Size() int
- func (m *GetFeatureRequest) XXX_Unmarshal(b []byte) error
- type GetFeatureResponse
- func (*GetFeatureResponse) Descriptor() ([]byte, []int)
- func (m *GetFeatureResponse) GetFeature() *Feature
- func (m *GetFeatureResponse) Marshal() (dAtA []byte, err error)
- func (m *GetFeatureResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetFeatureResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetFeatureResponse) ProtoMessage()
- func (m *GetFeatureResponse) Reset()
- func (m *GetFeatureResponse) Size() (n int)
- func (m *GetFeatureResponse) String() string
- func (m *GetFeatureResponse) Unmarshal(dAtA []byte) error
- func (m *GetFeatureResponse) XXX_DiscardUnknown()
- func (m *GetFeatureResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetFeatureResponse) XXX_Merge(src proto.Message)
- func (m *GetFeatureResponse) XXX_Size() int
- func (m *GetFeatureResponse) XXX_Unmarshal(b []byte) error
- type GetFeaturesRequest
- func (*GetFeaturesRequest) Descriptor() ([]byte, []int)
- func (m *GetFeaturesRequest) GetNamesOnly() bool
- func (m *GetFeaturesRequest) Marshal() (dAtA []byte, err error)
- func (m *GetFeaturesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetFeaturesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetFeaturesRequest) ProtoMessage()
- func (m *GetFeaturesRequest) Reset()
- func (m *GetFeaturesRequest) Size() (n int)
- func (m *GetFeaturesRequest) String() string
- func (m *GetFeaturesRequest) Unmarshal(dAtA []byte) error
- func (m *GetFeaturesRequest) XXX_DiscardUnknown()
- func (m *GetFeaturesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetFeaturesRequest) XXX_Merge(src proto.Message)
- func (m *GetFeaturesRequest) XXX_Size() int
- func (m *GetFeaturesRequest) XXX_Unmarshal(b []byte) error
- type GetFeaturesResponse
- func (*GetFeaturesResponse) Descriptor() ([]byte, []int)
- func (m *GetFeaturesResponse) GetFeatures() []*Feature
- func (m *GetFeaturesResponse) GetNames() []string
- func (m *GetFeaturesResponse) Marshal() (dAtA []byte, err error)
- func (m *GetFeaturesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetFeaturesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetFeaturesResponse) ProtoMessage()
- func (m *GetFeaturesResponse) Reset()
- func (m *GetFeaturesResponse) Size() (n int)
- func (m *GetFeaturesResponse) String() string
- func (m *GetFeaturesResponse) Unmarshal(dAtA []byte) error
- func (m *GetFeaturesResponse) XXX_DiscardUnknown()
- func (m *GetFeaturesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetFeaturesResponse) XXX_Merge(src proto.Message)
- func (m *GetFeaturesResponse) XXX_Size() int
- func (m *GetFeaturesResponse) XXX_Unmarshal(b []byte) error
- type SetFeatureRequest
- func (*SetFeatureRequest) Descriptor() ([]byte, []int)
- func (m *SetFeatureRequest) GetFeature() *Feature
- func (m *SetFeatureRequest) Marshal() (dAtA []byte, err error)
- func (m *SetFeatureRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SetFeatureRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SetFeatureRequest) ProtoMessage()
- func (m *SetFeatureRequest) Reset()
- func (m *SetFeatureRequest) Size() (n int)
- func (m *SetFeatureRequest) String() string
- func (m *SetFeatureRequest) Unmarshal(dAtA []byte) error
- func (m *SetFeatureRequest) XXX_DiscardUnknown()
- func (m *SetFeatureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetFeatureRequest) XXX_Merge(src proto.Message)
- func (m *SetFeatureRequest) XXX_Size() int
- func (m *SetFeatureRequest) XXX_Unmarshal(b []byte) error
- type SetFeatureResponse
- func (*SetFeatureResponse) Descriptor() ([]byte, []int)
- func (m *SetFeatureResponse) GetAfter() *Feature
- func (m *SetFeatureResponse) GetBefore() *Feature
- func (m *SetFeatureResponse) Marshal() (dAtA []byte, err error)
- func (m *SetFeatureResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SetFeatureResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SetFeatureResponse) ProtoMessage()
- func (m *SetFeatureResponse) Reset()
- func (m *SetFeatureResponse) Size() (n int)
- func (m *SetFeatureResponse) String() string
- func (m *SetFeatureResponse) Unmarshal(dAtA []byte) error
- func (m *SetFeatureResponse) XXX_DiscardUnknown()
- func (m *SetFeatureResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetFeatureResponse) XXX_Merge(src proto.Message)
- func (m *SetFeatureResponse) XXX_Size() int
- func (m *SetFeatureResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedFeaturesServer
- func (*UnimplementedFeaturesServer) DeleteFeature(ctx context.Context, req *DeleteFeatureRequest) (*DeleteFeatureResponse, error)
- func (*UnimplementedFeaturesServer) GetFeature(ctx context.Context, req *GetFeatureRequest) (*GetFeatureResponse, error)
- func (*UnimplementedFeaturesServer) GetFeatures(ctx context.Context, req *GetFeaturesRequest) (*GetFeaturesResponse, error)
- func (*UnimplementedFeaturesServer) SetFeature(ctx context.Context, req *SetFeatureRequest) (*SetFeatureResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthFeature = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowFeature = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupFeature = fmt.Errorf("proto: unexpected end of group") )
View Source
var Feature_Type_name = map[int32]string{
0: "UNKNOWN",
1: "CONSTANT",
2: "PERCENTAGE_BASED",
3: "EXPRESSION",
}
View Source
var Feature_Type_value = map[string]int32{
"UNKNOWN": 0,
"CONSTANT": 1,
"PERCENTAGE_BASED": 2,
"EXPRESSION": 3,
}
Functions ¶
func RegisterFeaturesServer ¶
func RegisterFeaturesServer(s *grpc.Server, srv FeaturesServer)
Types ¶
type DeleteFeatureRequest ¶
type DeleteFeatureRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteFeatureRequest) Descriptor ¶
func (*DeleteFeatureRequest) Descriptor() ([]byte, []int)
func (*DeleteFeatureRequest) GetName ¶
func (m *DeleteFeatureRequest) GetName() string
func (*DeleteFeatureRequest) Marshal ¶
func (m *DeleteFeatureRequest) Marshal() (dAtA []byte, err error)
func (*DeleteFeatureRequest) MarshalTo ¶
func (m *DeleteFeatureRequest) MarshalTo(dAtA []byte) (int, error)
func (*DeleteFeatureRequest) MarshalToSizedBuffer ¶
func (m *DeleteFeatureRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeleteFeatureRequest) ProtoMessage ¶
func (*DeleteFeatureRequest) ProtoMessage()
func (*DeleteFeatureRequest) Reset ¶
func (m *DeleteFeatureRequest) Reset()
func (*DeleteFeatureRequest) Size ¶
func (m *DeleteFeatureRequest) Size() (n int)
func (*DeleteFeatureRequest) String ¶
func (m *DeleteFeatureRequest) String() string
func (*DeleteFeatureRequest) Unmarshal ¶
func (m *DeleteFeatureRequest) Unmarshal(dAtA []byte) error
func (*DeleteFeatureRequest) XXX_DiscardUnknown ¶
func (m *DeleteFeatureRequest) XXX_DiscardUnknown()
func (*DeleteFeatureRequest) XXX_Marshal ¶
func (m *DeleteFeatureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteFeatureRequest) XXX_Merge ¶
func (m *DeleteFeatureRequest) XXX_Merge(src proto.Message)
func (*DeleteFeatureRequest) XXX_Size ¶
func (m *DeleteFeatureRequest) XXX_Size() int
func (*DeleteFeatureRequest) XXX_Unmarshal ¶
func (m *DeleteFeatureRequest) XXX_Unmarshal(b []byte) error
type DeleteFeatureResponse ¶
type DeleteFeatureResponse struct { // Feature is the deleted feature, or nil if there was no such feature. Feature *Feature `protobuf:"bytes,1,opt,name=feature,proto3" json:"feature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteFeatureResponse) Descriptor ¶
func (*DeleteFeatureResponse) Descriptor() ([]byte, []int)
func (*DeleteFeatureResponse) GetFeature ¶
func (m *DeleteFeatureResponse) GetFeature() *Feature
func (*DeleteFeatureResponse) Marshal ¶
func (m *DeleteFeatureResponse) Marshal() (dAtA []byte, err error)
func (*DeleteFeatureResponse) MarshalTo ¶
func (m *DeleteFeatureResponse) MarshalTo(dAtA []byte) (int, error)
func (*DeleteFeatureResponse) MarshalToSizedBuffer ¶
func (m *DeleteFeatureResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DeleteFeatureResponse) ProtoMessage ¶
func (*DeleteFeatureResponse) ProtoMessage()
func (*DeleteFeatureResponse) Reset ¶
func (m *DeleteFeatureResponse) Reset()
func (*DeleteFeatureResponse) Size ¶
func (m *DeleteFeatureResponse) Size() (n int)
func (*DeleteFeatureResponse) String ¶
func (m *DeleteFeatureResponse) String() string
func (*DeleteFeatureResponse) Unmarshal ¶
func (m *DeleteFeatureResponse) Unmarshal(dAtA []byte) error
func (*DeleteFeatureResponse) XXX_DiscardUnknown ¶
func (m *DeleteFeatureResponse) XXX_DiscardUnknown()
func (*DeleteFeatureResponse) XXX_Marshal ¶
func (m *DeleteFeatureResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteFeatureResponse) XXX_Merge ¶
func (m *DeleteFeatureResponse) XXX_Merge(src proto.Message)
func (*DeleteFeatureResponse) XXX_Size ¶
func (m *DeleteFeatureResponse) XXX_Size() int
func (*DeleteFeatureResponse) XXX_Unmarshal ¶
func (m *DeleteFeatureResponse) XXX_Unmarshal(b []byte) error
type Feature ¶
type Feature struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type Feature_Type `protobuf:"varint,2,opt,name=type,proto3,enum=feature.Feature_Type" json:"type,omitempty"` // Enabled is a constant on/off state for this feature. This is used for // CONSTANT type features. Enabled bool `protobuf:"varint,3,opt,name=enabled,proto3" json:"enabled,omitempty"` // Percentage is an unsigned integer in [0, 100], used for PERCENTAGE_BASED // features. Percentage uint32 `protobuf:"varint,4,opt,name=percentage,proto3" json:"percentage,omitempty"` // Expression is a string expression that will be evaluated to determine // whether the feature should be enabled or disabled for a given // request/etc. This is used for EXPRESSION type features. Expression string `protobuf:"bytes,5,opt,name=expression,proto3" json:"expression,omitempty"` // Description is a human-readable description of what this feature flag // is for. Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Feature) Descriptor ¶
func (*Feature) GetDescription ¶
func (*Feature) GetEnabled ¶
func (*Feature) GetExpression ¶
func (*Feature) GetPercentage ¶
func (*Feature) GetType ¶
func (m *Feature) GetType() Feature_Type
func (*Feature) MarshalToSizedBuffer ¶
func (*Feature) ProtoMessage ¶
func (*Feature) ProtoMessage()
func (*Feature) XXX_DiscardUnknown ¶
func (m *Feature) XXX_DiscardUnknown()
func (*Feature) XXX_Marshal ¶
func (*Feature) XXX_Unmarshal ¶
type Feature_Type ¶
type Feature_Type int32
const ( Feature_UNKNOWN Feature_Type = 0 Feature_CONSTANT Feature_Type = 1 Feature_PERCENTAGE_BASED Feature_Type = 2 Feature_EXPRESSION Feature_Type = 3 )
func (Feature_Type) EnumDescriptor ¶
func (Feature_Type) EnumDescriptor() ([]byte, []int)
func (Feature_Type) String ¶
func (x Feature_Type) String() string
type FeaturesClient ¶
type FeaturesClient interface { DeleteFeature(ctx context.Context, in *DeleteFeatureRequest, opts ...grpc.CallOption) (*DeleteFeatureResponse, error) GetFeature(ctx context.Context, in *GetFeatureRequest, opts ...grpc.CallOption) (*GetFeatureResponse, error) GetFeatures(ctx context.Context, in *GetFeaturesRequest, opts ...grpc.CallOption) (*GetFeaturesResponse, error) SetFeature(ctx context.Context, in *SetFeatureRequest, opts ...grpc.CallOption) (*SetFeatureResponse, error) }
FeaturesClient is the client API for Features service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewFeaturesClient ¶
func NewFeaturesClient(cc *grpc.ClientConn) FeaturesClient
type FeaturesServer ¶
type FeaturesServer interface { DeleteFeature(context.Context, *DeleteFeatureRequest) (*DeleteFeatureResponse, error) GetFeature(context.Context, *GetFeatureRequest) (*GetFeatureResponse, error) GetFeatures(context.Context, *GetFeaturesRequest) (*GetFeaturesResponse, error) SetFeature(context.Context, *SetFeatureRequest) (*SetFeatureResponse, error) }
FeaturesServer is the server API for Features service.
type GetFeatureRequest ¶
type GetFeatureRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetFeatureRequest) Descriptor ¶
func (*GetFeatureRequest) Descriptor() ([]byte, []int)
func (*GetFeatureRequest) GetName ¶
func (m *GetFeatureRequest) GetName() string
func (*GetFeatureRequest) Marshal ¶
func (m *GetFeatureRequest) Marshal() (dAtA []byte, err error)
func (*GetFeatureRequest) MarshalTo ¶
func (m *GetFeatureRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetFeatureRequest) MarshalToSizedBuffer ¶
func (m *GetFeatureRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetFeatureRequest) ProtoMessage ¶
func (*GetFeatureRequest) ProtoMessage()
func (*GetFeatureRequest) Reset ¶
func (m *GetFeatureRequest) Reset()
func (*GetFeatureRequest) Size ¶
func (m *GetFeatureRequest) Size() (n int)
func (*GetFeatureRequest) String ¶
func (m *GetFeatureRequest) String() string
func (*GetFeatureRequest) Unmarshal ¶
func (m *GetFeatureRequest) Unmarshal(dAtA []byte) error
func (*GetFeatureRequest) XXX_DiscardUnknown ¶
func (m *GetFeatureRequest) XXX_DiscardUnknown()
func (*GetFeatureRequest) XXX_Marshal ¶
func (m *GetFeatureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetFeatureRequest) XXX_Merge ¶
func (m *GetFeatureRequest) XXX_Merge(src proto.Message)
func (*GetFeatureRequest) XXX_Size ¶
func (m *GetFeatureRequest) XXX_Size() int
func (*GetFeatureRequest) XXX_Unmarshal ¶
func (m *GetFeatureRequest) XXX_Unmarshal(b []byte) error
type GetFeatureResponse ¶
type GetFeatureResponse struct { Feature *Feature `protobuf:"bytes,1,opt,name=feature,proto3" json:"feature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetFeatureResponse) Descriptor ¶
func (*GetFeatureResponse) Descriptor() ([]byte, []int)
func (*GetFeatureResponse) GetFeature ¶
func (m *GetFeatureResponse) GetFeature() *Feature
func (*GetFeatureResponse) Marshal ¶
func (m *GetFeatureResponse) Marshal() (dAtA []byte, err error)
func (*GetFeatureResponse) MarshalTo ¶
func (m *GetFeatureResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetFeatureResponse) MarshalToSizedBuffer ¶
func (m *GetFeatureResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetFeatureResponse) ProtoMessage ¶
func (*GetFeatureResponse) ProtoMessage()
func (*GetFeatureResponse) Reset ¶
func (m *GetFeatureResponse) Reset()
func (*GetFeatureResponse) Size ¶
func (m *GetFeatureResponse) Size() (n int)
func (*GetFeatureResponse) String ¶
func (m *GetFeatureResponse) String() string
func (*GetFeatureResponse) Unmarshal ¶
func (m *GetFeatureResponse) Unmarshal(dAtA []byte) error
func (*GetFeatureResponse) XXX_DiscardUnknown ¶
func (m *GetFeatureResponse) XXX_DiscardUnknown()
func (*GetFeatureResponse) XXX_Marshal ¶
func (m *GetFeatureResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetFeatureResponse) XXX_Merge ¶
func (m *GetFeatureResponse) XXX_Merge(src proto.Message)
func (*GetFeatureResponse) XXX_Size ¶
func (m *GetFeatureResponse) XXX_Size() int
func (*GetFeatureResponse) XXX_Unmarshal ¶
func (m *GetFeatureResponse) XXX_Unmarshal(b []byte) error
type GetFeaturesRequest ¶
type GetFeaturesRequest struct { NamesOnly bool `protobuf:"varint,1,opt,name=names_only,json=namesOnly,proto3" json:"names_only,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetFeaturesRequest) Descriptor ¶
func (*GetFeaturesRequest) Descriptor() ([]byte, []int)
func (*GetFeaturesRequest) GetNamesOnly ¶
func (m *GetFeaturesRequest) GetNamesOnly() bool
func (*GetFeaturesRequest) Marshal ¶
func (m *GetFeaturesRequest) Marshal() (dAtA []byte, err error)
func (*GetFeaturesRequest) MarshalTo ¶
func (m *GetFeaturesRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetFeaturesRequest) MarshalToSizedBuffer ¶
func (m *GetFeaturesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetFeaturesRequest) ProtoMessage ¶
func (*GetFeaturesRequest) ProtoMessage()
func (*GetFeaturesRequest) Reset ¶
func (m *GetFeaturesRequest) Reset()
func (*GetFeaturesRequest) Size ¶
func (m *GetFeaturesRequest) Size() (n int)
func (*GetFeaturesRequest) String ¶
func (m *GetFeaturesRequest) String() string
func (*GetFeaturesRequest) Unmarshal ¶
func (m *GetFeaturesRequest) Unmarshal(dAtA []byte) error
func (*GetFeaturesRequest) XXX_DiscardUnknown ¶
func (m *GetFeaturesRequest) XXX_DiscardUnknown()
func (*GetFeaturesRequest) XXX_Marshal ¶
func (m *GetFeaturesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetFeaturesRequest) XXX_Merge ¶
func (m *GetFeaturesRequest) XXX_Merge(src proto.Message)
func (*GetFeaturesRequest) XXX_Size ¶
func (m *GetFeaturesRequest) XXX_Size() int
func (*GetFeaturesRequest) XXX_Unmarshal ¶
func (m *GetFeaturesRequest) XXX_Unmarshal(b []byte) error
type GetFeaturesResponse ¶
type GetFeaturesResponse struct { Features []*Feature `protobuf:"bytes,1,rep,name=features,proto3" json:"features,omitempty"` Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetFeaturesResponse) Descriptor ¶
func (*GetFeaturesResponse) Descriptor() ([]byte, []int)
func (*GetFeaturesResponse) GetFeatures ¶
func (m *GetFeaturesResponse) GetFeatures() []*Feature
func (*GetFeaturesResponse) GetNames ¶
func (m *GetFeaturesResponse) GetNames() []string
func (*GetFeaturesResponse) Marshal ¶
func (m *GetFeaturesResponse) Marshal() (dAtA []byte, err error)
func (*GetFeaturesResponse) MarshalTo ¶
func (m *GetFeaturesResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetFeaturesResponse) MarshalToSizedBuffer ¶
func (m *GetFeaturesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetFeaturesResponse) ProtoMessage ¶
func (*GetFeaturesResponse) ProtoMessage()
func (*GetFeaturesResponse) Reset ¶
func (m *GetFeaturesResponse) Reset()
func (*GetFeaturesResponse) Size ¶
func (m *GetFeaturesResponse) Size() (n int)
func (*GetFeaturesResponse) String ¶
func (m *GetFeaturesResponse) String() string
func (*GetFeaturesResponse) Unmarshal ¶
func (m *GetFeaturesResponse) Unmarshal(dAtA []byte) error
func (*GetFeaturesResponse) XXX_DiscardUnknown ¶
func (m *GetFeaturesResponse) XXX_DiscardUnknown()
func (*GetFeaturesResponse) XXX_Marshal ¶
func (m *GetFeaturesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetFeaturesResponse) XXX_Merge ¶
func (m *GetFeaturesResponse) XXX_Merge(src proto.Message)
func (*GetFeaturesResponse) XXX_Size ¶
func (m *GetFeaturesResponse) XXX_Size() int
func (*GetFeaturesResponse) XXX_Unmarshal ¶
func (m *GetFeaturesResponse) XXX_Unmarshal(b []byte) error
type SetFeatureRequest ¶
type SetFeatureRequest struct { Feature *Feature `protobuf:"bytes,1,opt,name=feature,proto3" json:"feature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetFeatureRequest) Descriptor ¶
func (*SetFeatureRequest) Descriptor() ([]byte, []int)
func (*SetFeatureRequest) GetFeature ¶
func (m *SetFeatureRequest) GetFeature() *Feature
func (*SetFeatureRequest) Marshal ¶
func (m *SetFeatureRequest) Marshal() (dAtA []byte, err error)
func (*SetFeatureRequest) MarshalTo ¶
func (m *SetFeatureRequest) MarshalTo(dAtA []byte) (int, error)
func (*SetFeatureRequest) MarshalToSizedBuffer ¶
func (m *SetFeatureRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetFeatureRequest) ProtoMessage ¶
func (*SetFeatureRequest) ProtoMessage()
func (*SetFeatureRequest) Reset ¶
func (m *SetFeatureRequest) Reset()
func (*SetFeatureRequest) Size ¶
func (m *SetFeatureRequest) Size() (n int)
func (*SetFeatureRequest) String ¶
func (m *SetFeatureRequest) String() string
func (*SetFeatureRequest) Unmarshal ¶
func (m *SetFeatureRequest) Unmarshal(dAtA []byte) error
func (*SetFeatureRequest) XXX_DiscardUnknown ¶
func (m *SetFeatureRequest) XXX_DiscardUnknown()
func (*SetFeatureRequest) XXX_Marshal ¶
func (m *SetFeatureRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetFeatureRequest) XXX_Merge ¶
func (m *SetFeatureRequest) XXX_Merge(src proto.Message)
func (*SetFeatureRequest) XXX_Size ¶
func (m *SetFeatureRequest) XXX_Size() int
func (*SetFeatureRequest) XXX_Unmarshal ¶
func (m *SetFeatureRequest) XXX_Unmarshal(b []byte) error
type SetFeatureResponse ¶
type SetFeatureResponse struct { Before *Feature `protobuf:"bytes,1,opt,name=before,proto3" json:"before,omitempty"` After *Feature `protobuf:"bytes,2,opt,name=after,proto3" json:"after,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetFeatureResponse) Descriptor ¶
func (*SetFeatureResponse) Descriptor() ([]byte, []int)
func (*SetFeatureResponse) GetAfter ¶
func (m *SetFeatureResponse) GetAfter() *Feature
func (*SetFeatureResponse) GetBefore ¶
func (m *SetFeatureResponse) GetBefore() *Feature
func (*SetFeatureResponse) Marshal ¶
func (m *SetFeatureResponse) Marshal() (dAtA []byte, err error)
func (*SetFeatureResponse) MarshalTo ¶
func (m *SetFeatureResponse) MarshalTo(dAtA []byte) (int, error)
func (*SetFeatureResponse) MarshalToSizedBuffer ¶
func (m *SetFeatureResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetFeatureResponse) ProtoMessage ¶
func (*SetFeatureResponse) ProtoMessage()
func (*SetFeatureResponse) Reset ¶
func (m *SetFeatureResponse) Reset()
func (*SetFeatureResponse) Size ¶
func (m *SetFeatureResponse) Size() (n int)
func (*SetFeatureResponse) String ¶
func (m *SetFeatureResponse) String() string
func (*SetFeatureResponse) Unmarshal ¶
func (m *SetFeatureResponse) Unmarshal(dAtA []byte) error
func (*SetFeatureResponse) XXX_DiscardUnknown ¶
func (m *SetFeatureResponse) XXX_DiscardUnknown()
func (*SetFeatureResponse) XXX_Marshal ¶
func (m *SetFeatureResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetFeatureResponse) XXX_Merge ¶
func (m *SetFeatureResponse) XXX_Merge(src proto.Message)
func (*SetFeatureResponse) XXX_Size ¶
func (m *SetFeatureResponse) XXX_Size() int
func (*SetFeatureResponse) XXX_Unmarshal ¶
func (m *SetFeatureResponse) XXX_Unmarshal(b []byte) error
type UnimplementedFeaturesServer ¶
type UnimplementedFeaturesServer struct { }
UnimplementedFeaturesServer can be embedded to have forward compatible implementations.
func (*UnimplementedFeaturesServer) DeleteFeature ¶
func (*UnimplementedFeaturesServer) DeleteFeature(ctx context.Context, req *DeleteFeatureRequest) (*DeleteFeatureResponse, error)
func (*UnimplementedFeaturesServer) GetFeature ¶
func (*UnimplementedFeaturesServer) GetFeature(ctx context.Context, req *GetFeatureRequest) (*GetFeatureResponse, error)
func (*UnimplementedFeaturesServer) GetFeatures ¶
func (*UnimplementedFeaturesServer) GetFeatures(ctx context.Context, req *GetFeaturesRequest) (*GetFeaturesResponse, error)
func (*UnimplementedFeaturesServer) SetFeature ¶
func (*UnimplementedFeaturesServer) SetFeature(ctx context.Context, req *SetFeatureRequest) (*SetFeatureResponse, error)
Click to show internal directories.
Click to hide internal directories.