Documentation
¶
Index ¶
- Variables
- func RegisterFeatureServiceServer(s *grpc.Server, srv FeatureServiceServer)
- type CreateFeatureRequest
- func (*CreateFeatureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFeatureRequest) GetItem() *v1alpha1.Feature
- func (*CreateFeatureRequest) ProtoMessage()
- func (x *CreateFeatureRequest) ProtoReflect() protoreflect.Message
- func (x *CreateFeatureRequest) Reset()
- func (x *CreateFeatureRequest) String() string
- type CreateFeatureResponse
- type DeleteFeatureRequest
- func (*DeleteFeatureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFeatureRequest) GetName() string
- func (x *DeleteFeatureRequest) GetNamespace() string
- func (*DeleteFeatureRequest) ProtoMessage()
- func (x *DeleteFeatureRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteFeatureRequest) Reset()
- func (x *DeleteFeatureRequest) String() string
- type DeleteFeatureResponse
- type FeatureServiceClient
- type FeatureServiceServer
- type GetFeatureRequest
- func (*GetFeatureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFeatureRequest) GetName() string
- func (x *GetFeatureRequest) GetNamespace() string
- func (*GetFeatureRequest) ProtoMessage()
- func (x *GetFeatureRequest) ProtoReflect() protoreflect.Message
- func (x *GetFeatureRequest) Reset()
- func (x *GetFeatureRequest) String() string
- type GetFeatureResponse
- func (*GetFeatureResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFeatureResponse) GetItem() *v1alpha1.Feature
- func (x *GetFeatureResponse) GetYaml() string
- func (*GetFeatureResponse) ProtoMessage()
- func (x *GetFeatureResponse) ProtoReflect() protoreflect.Message
- func (x *GetFeatureResponse) Reset()
- func (x *GetFeatureResponse) String() string
- type ListFeaturesRequest
- func (*ListFeaturesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListFeaturesRequest) GetLabels() map[string]string
- func (x *ListFeaturesRequest) GetNamespace() string
- func (x *ListFeaturesRequest) GetOrderBy() string
- func (x *ListFeaturesRequest) GetPageSize() int32
- func (x *ListFeaturesRequest) GetPageToken() string
- func (*ListFeaturesRequest) ProtoMessage()
- func (x *ListFeaturesRequest) ProtoReflect() protoreflect.Message
- func (x *ListFeaturesRequest) Reset()
- func (x *ListFeaturesRequest) String() string
- type ListFeaturesResponse
- func (*ListFeaturesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListFeaturesResponse) GetItems() *v1alpha1.FeatureList
- func (*ListFeaturesResponse) ProtoMessage()
- func (x *ListFeaturesResponse) ProtoReflect() protoreflect.Message
- func (x *ListFeaturesResponse) Reset()
- func (x *ListFeaturesResponse) String() string
- type UnimplementedFeatureServiceServer
- func (*UnimplementedFeatureServiceServer) CreateFeature(context.Context, *CreateFeatureRequest) (*CreateFeatureResponse, error)
- func (*UnimplementedFeatureServiceServer) DeleteFeature(context.Context, *DeleteFeatureRequest) (*DeleteFeatureResponse, error)
- func (*UnimplementedFeatureServiceServer) GetFeature(context.Context, *GetFeatureRequest) (*GetFeatureResponse, error)
- func (*UnimplementedFeatureServiceServer) ListFeatures(context.Context, *ListFeaturesRequest) (*ListFeaturesResponse, error)
- func (*UnimplementedFeatureServiceServer) UpdateFeature(context.Context, *UpdateFeatureRequest) (*UpdateFeatureResponse, error)
- type UpdateFeatureRequest
- func (*UpdateFeatureRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateFeatureRequest) GetFieldMask() *field_mask.FieldMask
- func (x *UpdateFeatureRequest) GetItem() *v1alpha1.Feature
- func (*UpdateFeatureRequest) ProtoMessage()
- func (x *UpdateFeatureRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateFeatureRequest) Reset()
- func (x *UpdateFeatureRequest) String() string
- type UpdateFeatureResponse
Constants ¶
This section is empty.
Variables ¶
var File_github_com_metaprov_modelaapi_services_feature_v1_feature_proto protoreflect.FileDescriptor
Functions ¶
func RegisterFeatureServiceServer ¶
func RegisterFeatureServiceServer(s *grpc.Server, srv FeatureServiceServer)
Types ¶
type CreateFeatureRequest ¶
type CreateFeatureRequest struct { Item *v1alpha1.Feature `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` // contains filtered or unexported fields }
func (*CreateFeatureRequest) Descriptor
deprecated
func (*CreateFeatureRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateFeatureRequest.ProtoReflect.Descriptor instead.
func (*CreateFeatureRequest) GetItem ¶
func (x *CreateFeatureRequest) GetItem() *v1alpha1.Feature
func (*CreateFeatureRequest) ProtoMessage ¶
func (*CreateFeatureRequest) ProtoMessage()
func (*CreateFeatureRequest) ProtoReflect ¶
func (x *CreateFeatureRequest) ProtoReflect() protoreflect.Message
func (*CreateFeatureRequest) Reset ¶
func (x *CreateFeatureRequest) Reset()
func (*CreateFeatureRequest) String ¶
func (x *CreateFeatureRequest) String() string
type CreateFeatureResponse ¶
type CreateFeatureResponse struct {
// contains filtered or unexported fields
}
func (*CreateFeatureResponse) Descriptor
deprecated
func (*CreateFeatureResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateFeatureResponse.ProtoReflect.Descriptor instead.
func (*CreateFeatureResponse) ProtoMessage ¶
func (*CreateFeatureResponse) ProtoMessage()
func (*CreateFeatureResponse) ProtoReflect ¶
func (x *CreateFeatureResponse) ProtoReflect() protoreflect.Message
func (*CreateFeatureResponse) Reset ¶
func (x *CreateFeatureResponse) Reset()
func (*CreateFeatureResponse) String ¶
func (x *CreateFeatureResponse) String() string
type DeleteFeatureRequest ¶
type DeleteFeatureRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteFeatureRequest) Descriptor
deprecated
func (*DeleteFeatureRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFeatureRequest.ProtoReflect.Descriptor instead.
func (*DeleteFeatureRequest) GetName ¶
func (x *DeleteFeatureRequest) GetName() string
func (*DeleteFeatureRequest) GetNamespace ¶
func (x *DeleteFeatureRequest) GetNamespace() string
func (*DeleteFeatureRequest) ProtoMessage ¶
func (*DeleteFeatureRequest) ProtoMessage()
func (*DeleteFeatureRequest) ProtoReflect ¶
func (x *DeleteFeatureRequest) ProtoReflect() protoreflect.Message
func (*DeleteFeatureRequest) Reset ¶
func (x *DeleteFeatureRequest) Reset()
func (*DeleteFeatureRequest) String ¶
func (x *DeleteFeatureRequest) String() string
type DeleteFeatureResponse ¶
type DeleteFeatureResponse struct {
// contains filtered or unexported fields
}
func (*DeleteFeatureResponse) Descriptor
deprecated
func (*DeleteFeatureResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFeatureResponse.ProtoReflect.Descriptor instead.
func (*DeleteFeatureResponse) ProtoMessage ¶
func (*DeleteFeatureResponse) ProtoMessage()
func (*DeleteFeatureResponse) ProtoReflect ¶
func (x *DeleteFeatureResponse) ProtoReflect() protoreflect.Message
func (*DeleteFeatureResponse) Reset ¶
func (x *DeleteFeatureResponse) Reset()
func (*DeleteFeatureResponse) String ¶
func (x *DeleteFeatureResponse) String() string
type FeatureServiceClient ¶
type FeatureServiceClient interface { ListFeatures(ctx context.Context, in *ListFeaturesRequest, opts ...grpc.CallOption) (*ListFeaturesResponse, error) CreateFeature(ctx context.Context, in *CreateFeatureRequest, opts ...grpc.CallOption) (*CreateFeatureResponse, error) GetFeature(ctx context.Context, in *GetFeatureRequest, opts ...grpc.CallOption) (*GetFeatureResponse, error) UpdateFeature(ctx context.Context, in *UpdateFeatureRequest, opts ...grpc.CallOption) (*UpdateFeatureResponse, error) DeleteFeature(ctx context.Context, in *DeleteFeatureRequest, opts ...grpc.CallOption) (*DeleteFeatureResponse, error) }
FeatureServiceClient is the client API for FeatureService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewFeatureServiceClient ¶
func NewFeatureServiceClient(cc grpc.ClientConnInterface) FeatureServiceClient
type FeatureServiceServer ¶
type FeatureServiceServer interface { ListFeatures(context.Context, *ListFeaturesRequest) (*ListFeaturesResponse, error) CreateFeature(context.Context, *CreateFeatureRequest) (*CreateFeatureResponse, error) GetFeature(context.Context, *GetFeatureRequest) (*GetFeatureResponse, error) UpdateFeature(context.Context, *UpdateFeatureRequest) (*UpdateFeatureResponse, error) DeleteFeature(context.Context, *DeleteFeatureRequest) (*DeleteFeatureResponse, error) }
FeatureServiceServer is the server API for FeatureService service.
type GetFeatureRequest ¶
type GetFeatureRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetFeatureRequest) Descriptor
deprecated
func (*GetFeatureRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFeatureRequest.ProtoReflect.Descriptor instead.
func (*GetFeatureRequest) GetName ¶
func (x *GetFeatureRequest) GetName() string
func (*GetFeatureRequest) GetNamespace ¶
func (x *GetFeatureRequest) GetNamespace() string
func (*GetFeatureRequest) ProtoMessage ¶
func (*GetFeatureRequest) ProtoMessage()
func (*GetFeatureRequest) ProtoReflect ¶
func (x *GetFeatureRequest) ProtoReflect() protoreflect.Message
func (*GetFeatureRequest) Reset ¶
func (x *GetFeatureRequest) Reset()
func (*GetFeatureRequest) String ¶
func (x *GetFeatureRequest) String() string
type GetFeatureResponse ¶
type GetFeatureResponse struct { Item *v1alpha1.Feature `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` Yaml string `protobuf:"bytes,2,opt,name=yaml,proto3" json:"yaml,omitempty"` // contains filtered or unexported fields }
func (*GetFeatureResponse) Descriptor
deprecated
func (*GetFeatureResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFeatureResponse.ProtoReflect.Descriptor instead.
func (*GetFeatureResponse) GetItem ¶
func (x *GetFeatureResponse) GetItem() *v1alpha1.Feature
func (*GetFeatureResponse) GetYaml ¶
func (x *GetFeatureResponse) GetYaml() string
func (*GetFeatureResponse) ProtoMessage ¶
func (*GetFeatureResponse) ProtoMessage()
func (*GetFeatureResponse) ProtoReflect ¶
func (x *GetFeatureResponse) ProtoReflect() protoreflect.Message
func (*GetFeatureResponse) Reset ¶
func (x *GetFeatureResponse) Reset()
func (*GetFeatureResponse) String ¶
func (x *GetFeatureResponse) String() string
type ListFeaturesRequest ¶
type ListFeaturesRequest struct { Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"` Labels map[string]string `` /* 153-byte string literal not displayed */ PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // contains filtered or unexported fields }
func (*ListFeaturesRequest) Descriptor
deprecated
func (*ListFeaturesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFeaturesRequest.ProtoReflect.Descriptor instead.
func (*ListFeaturesRequest) GetLabels ¶
func (x *ListFeaturesRequest) GetLabels() map[string]string
func (*ListFeaturesRequest) GetNamespace ¶
func (x *ListFeaturesRequest) GetNamespace() string
func (*ListFeaturesRequest) GetOrderBy ¶ added in v0.4.414
func (x *ListFeaturesRequest) GetOrderBy() string
func (*ListFeaturesRequest) GetPageSize ¶ added in v0.4.414
func (x *ListFeaturesRequest) GetPageSize() int32
func (*ListFeaturesRequest) GetPageToken ¶ added in v0.4.414
func (x *ListFeaturesRequest) GetPageToken() string
func (*ListFeaturesRequest) ProtoMessage ¶
func (*ListFeaturesRequest) ProtoMessage()
func (*ListFeaturesRequest) ProtoReflect ¶
func (x *ListFeaturesRequest) ProtoReflect() protoreflect.Message
func (*ListFeaturesRequest) Reset ¶
func (x *ListFeaturesRequest) Reset()
func (*ListFeaturesRequest) String ¶
func (x *ListFeaturesRequest) String() string
type ListFeaturesResponse ¶
type ListFeaturesResponse struct { Items *v1alpha1.FeatureList `protobuf:"bytes,1,opt,name=items,proto3" json:"items,omitempty"` // contains filtered or unexported fields }
func (*ListFeaturesResponse) Descriptor
deprecated
func (*ListFeaturesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListFeaturesResponse.ProtoReflect.Descriptor instead.
func (*ListFeaturesResponse) GetItems ¶
func (x *ListFeaturesResponse) GetItems() *v1alpha1.FeatureList
func (*ListFeaturesResponse) ProtoMessage ¶
func (*ListFeaturesResponse) ProtoMessage()
func (*ListFeaturesResponse) ProtoReflect ¶
func (x *ListFeaturesResponse) ProtoReflect() protoreflect.Message
func (*ListFeaturesResponse) Reset ¶
func (x *ListFeaturesResponse) Reset()
func (*ListFeaturesResponse) String ¶
func (x *ListFeaturesResponse) String() string
type UnimplementedFeatureServiceServer ¶
type UnimplementedFeatureServiceServer struct { }
UnimplementedFeatureServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedFeatureServiceServer) CreateFeature ¶
func (*UnimplementedFeatureServiceServer) CreateFeature(context.Context, *CreateFeatureRequest) (*CreateFeatureResponse, error)
func (*UnimplementedFeatureServiceServer) DeleteFeature ¶
func (*UnimplementedFeatureServiceServer) DeleteFeature(context.Context, *DeleteFeatureRequest) (*DeleteFeatureResponse, error)
func (*UnimplementedFeatureServiceServer) GetFeature ¶
func (*UnimplementedFeatureServiceServer) GetFeature(context.Context, *GetFeatureRequest) (*GetFeatureResponse, error)
func (*UnimplementedFeatureServiceServer) ListFeatures ¶
func (*UnimplementedFeatureServiceServer) ListFeatures(context.Context, *ListFeaturesRequest) (*ListFeaturesResponse, error)
func (*UnimplementedFeatureServiceServer) UpdateFeature ¶
func (*UnimplementedFeatureServiceServer) UpdateFeature(context.Context, *UpdateFeatureRequest) (*UpdateFeatureResponse, error)
type UpdateFeatureRequest ¶
type UpdateFeatureRequest struct { Item *v1alpha1.Feature `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"` FieldMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdateFeatureRequest) Descriptor
deprecated
func (*UpdateFeatureRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFeatureRequest.ProtoReflect.Descriptor instead.
func (*UpdateFeatureRequest) GetFieldMask ¶ added in v0.4.422
func (x *UpdateFeatureRequest) GetFieldMask() *field_mask.FieldMask
func (*UpdateFeatureRequest) GetItem ¶
func (x *UpdateFeatureRequest) GetItem() *v1alpha1.Feature
func (*UpdateFeatureRequest) ProtoMessage ¶
func (*UpdateFeatureRequest) ProtoMessage()
func (*UpdateFeatureRequest) ProtoReflect ¶
func (x *UpdateFeatureRequest) ProtoReflect() protoreflect.Message
func (*UpdateFeatureRequest) Reset ¶
func (x *UpdateFeatureRequest) Reset()
func (*UpdateFeatureRequest) String ¶
func (x *UpdateFeatureRequest) String() string
type UpdateFeatureResponse ¶
type UpdateFeatureResponse struct {
// contains filtered or unexported fields
}
func (*UpdateFeatureResponse) Descriptor
deprecated
func (*UpdateFeatureResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateFeatureResponse.ProtoReflect.Descriptor instead.
func (*UpdateFeatureResponse) ProtoMessage ¶
func (*UpdateFeatureResponse) ProtoMessage()
func (*UpdateFeatureResponse) ProtoReflect ¶
func (x *UpdateFeatureResponse) ProtoReflect() protoreflect.Message
func (*UpdateFeatureResponse) Reset ¶
func (x *UpdateFeatureResponse) Reset()
func (*UpdateFeatureResponse) String ¶
func (x *UpdateFeatureResponse) String() string