Documentation
¶
Index ¶
- Variables
- func RegisterPostMortemServiceServer(s *grpc.Server, srv PostMortemServiceServer)
- type CreatePostMortemRequest
- func (*CreatePostMortemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePostMortemRequest) GetItem() *v1alpha1.PostMortem
- func (*CreatePostMortemRequest) ProtoMessage()
- func (x *CreatePostMortemRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePostMortemRequest) Reset()
- func (x *CreatePostMortemRequest) String() string
- type CreatePostMortemResponse
- type DeletePostMortemRequest
- func (*DeletePostMortemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePostMortemRequest) GetName() string
- func (x *DeletePostMortemRequest) GetNamespace() string
- func (*DeletePostMortemRequest) ProtoMessage()
- func (x *DeletePostMortemRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePostMortemRequest) Reset()
- func (x *DeletePostMortemRequest) String() string
- type DeletePostMortemResponse
- type GetPostMortemRequest
- func (*GetPostMortemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPostMortemRequest) GetName() string
- func (x *GetPostMortemRequest) GetNamespace() string
- func (*GetPostMortemRequest) ProtoMessage()
- func (x *GetPostMortemRequest) ProtoReflect() protoreflect.Message
- func (x *GetPostMortemRequest) Reset()
- func (x *GetPostMortemRequest) String() string
- type GetPostMortemResponse
- func (*GetPostMortemResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPostMortemResponse) GetItem() *v1alpha1.PostMortem
- func (x *GetPostMortemResponse) GetYaml() string
- func (*GetPostMortemResponse) ProtoMessage()
- func (x *GetPostMortemResponse) ProtoReflect() protoreflect.Message
- func (x *GetPostMortemResponse) Reset()
- func (x *GetPostMortemResponse) String() string
- type ListPostMortemsRequest
- func (*ListPostMortemsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPostMortemsRequest) GetLabels() map[string]string
- func (x *ListPostMortemsRequest) GetNamespace() string
- func (*ListPostMortemsRequest) ProtoMessage()
- func (x *ListPostMortemsRequest) ProtoReflect() protoreflect.Message
- func (x *ListPostMortemsRequest) Reset()
- func (x *ListPostMortemsRequest) String() string
- type ListPostMortemsResponse
- func (*ListPostMortemsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPostMortemsResponse) GetItems() *v1alpha1.PostMortemList
- func (*ListPostMortemsResponse) ProtoMessage()
- func (x *ListPostMortemsResponse) ProtoReflect() protoreflect.Message
- func (x *ListPostMortemsResponse) Reset()
- func (x *ListPostMortemsResponse) String() string
- type PostMortemServiceClient
- type PostMortemServiceServer
- type UnimplementedPostMortemServiceServer
- func (*UnimplementedPostMortemServiceServer) CreatePostMortem(context.Context, *CreatePostMortemRequest) (*CreatePostMortemResponse, error)
- func (*UnimplementedPostMortemServiceServer) DeletePostMortem(context.Context, *DeletePostMortemRequest) (*DeletePostMortemResponse, error)
- func (*UnimplementedPostMortemServiceServer) GetPostMortem(context.Context, *GetPostMortemRequest) (*GetPostMortemResponse, error)
- func (*UnimplementedPostMortemServiceServer) ListPostMortems(context.Context, *ListPostMortemsRequest) (*ListPostMortemsResponse, error)
- func (*UnimplementedPostMortemServiceServer) UpdatePostMortem(context.Context, *UpdatePostMortemRequest) (*UpdatePostMortemResponse, error)
- type UpdatePostMortemRequest
- func (*UpdatePostMortemRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePostMortemRequest) GetItem() *v1alpha1.PostMortem
- func (*UpdatePostMortemRequest) ProtoMessage()
- func (x *UpdatePostMortemRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePostMortemRequest) Reset()
- func (x *UpdatePostMortemRequest) String() string
- type UpdatePostMortemResponse
Constants ¶
This section is empty.
Variables ¶
var File_github_com_metaprov_modeldapi_services_postmortem_v1_postmortem_proto protoreflect.FileDescriptor
Functions ¶
func RegisterPostMortemServiceServer ¶
func RegisterPostMortemServiceServer(s *grpc.Server, srv PostMortemServiceServer)
Types ¶
type CreatePostMortemRequest ¶ added in v0.2.6
type CreatePostMortemRequest struct {
Item *v1alpha1.PostMortem `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
// contains filtered or unexported fields
}
func (*CreatePostMortemRequest) Descriptor
deprecated
added in
v0.2.6
func (*CreatePostMortemRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePostMortemRequest.ProtoReflect.Descriptor instead.
func (*CreatePostMortemRequest) GetItem ¶ added in v0.2.305
func (x *CreatePostMortemRequest) GetItem() *v1alpha1.PostMortem
func (*CreatePostMortemRequest) ProtoMessage ¶ added in v0.2.6
func (*CreatePostMortemRequest) ProtoMessage()
func (*CreatePostMortemRequest) ProtoReflect ¶ added in v0.2.6
func (x *CreatePostMortemRequest) ProtoReflect() protoreflect.Message
func (*CreatePostMortemRequest) Reset ¶ added in v0.2.6
func (x *CreatePostMortemRequest) Reset()
func (*CreatePostMortemRequest) String ¶ added in v0.2.6
func (x *CreatePostMortemRequest) String() string
type CreatePostMortemResponse ¶ added in v0.2.6
type CreatePostMortemResponse struct {
// contains filtered or unexported fields
}
func (*CreatePostMortemResponse) Descriptor
deprecated
added in
v0.2.6
func (*CreatePostMortemResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreatePostMortemResponse.ProtoReflect.Descriptor instead.
func (*CreatePostMortemResponse) ProtoMessage ¶ added in v0.2.6
func (*CreatePostMortemResponse) ProtoMessage()
func (*CreatePostMortemResponse) ProtoReflect ¶ added in v0.2.6
func (x *CreatePostMortemResponse) ProtoReflect() protoreflect.Message
func (*CreatePostMortemResponse) Reset ¶ added in v0.2.6
func (x *CreatePostMortemResponse) Reset()
func (*CreatePostMortemResponse) String ¶ added in v0.2.6
func (x *CreatePostMortemResponse) String() string
type DeletePostMortemRequest ¶ added in v0.2.6
type DeletePostMortemRequest 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 (*DeletePostMortemRequest) Descriptor
deprecated
added in
v0.2.6
func (*DeletePostMortemRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePostMortemRequest.ProtoReflect.Descriptor instead.
func (*DeletePostMortemRequest) GetName ¶ added in v0.2.6
func (x *DeletePostMortemRequest) GetName() string
func (*DeletePostMortemRequest) GetNamespace ¶ added in v0.2.6
func (x *DeletePostMortemRequest) GetNamespace() string
func (*DeletePostMortemRequest) ProtoMessage ¶ added in v0.2.6
func (*DeletePostMortemRequest) ProtoMessage()
func (*DeletePostMortemRequest) ProtoReflect ¶ added in v0.2.6
func (x *DeletePostMortemRequest) ProtoReflect() protoreflect.Message
func (*DeletePostMortemRequest) Reset ¶ added in v0.2.6
func (x *DeletePostMortemRequest) Reset()
func (*DeletePostMortemRequest) String ¶ added in v0.2.6
func (x *DeletePostMortemRequest) String() string
type DeletePostMortemResponse ¶ added in v0.2.6
type DeletePostMortemResponse struct {
// contains filtered or unexported fields
}
func (*DeletePostMortemResponse) Descriptor
deprecated
added in
v0.2.6
func (*DeletePostMortemResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeletePostMortemResponse.ProtoReflect.Descriptor instead.
func (*DeletePostMortemResponse) ProtoMessage ¶ added in v0.2.6
func (*DeletePostMortemResponse) ProtoMessage()
func (*DeletePostMortemResponse) ProtoReflect ¶ added in v0.2.6
func (x *DeletePostMortemResponse) ProtoReflect() protoreflect.Message
func (*DeletePostMortemResponse) Reset ¶ added in v0.2.6
func (x *DeletePostMortemResponse) Reset()
func (*DeletePostMortemResponse) String ¶ added in v0.2.6
func (x *DeletePostMortemResponse) String() string
type GetPostMortemRequest ¶ added in v0.2.6
type GetPostMortemRequest 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 (*GetPostMortemRequest) Descriptor
deprecated
added in
v0.2.6
func (*GetPostMortemRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPostMortemRequest.ProtoReflect.Descriptor instead.
func (*GetPostMortemRequest) GetName ¶ added in v0.2.6
func (x *GetPostMortemRequest) GetName() string
func (*GetPostMortemRequest) GetNamespace ¶ added in v0.2.6
func (x *GetPostMortemRequest) GetNamespace() string
func (*GetPostMortemRequest) ProtoMessage ¶ added in v0.2.6
func (*GetPostMortemRequest) ProtoMessage()
func (*GetPostMortemRequest) ProtoReflect ¶ added in v0.2.6
func (x *GetPostMortemRequest) ProtoReflect() protoreflect.Message
func (*GetPostMortemRequest) Reset ¶ added in v0.2.6
func (x *GetPostMortemRequest) Reset()
func (*GetPostMortemRequest) String ¶ added in v0.2.6
func (x *GetPostMortemRequest) String() string
type GetPostMortemResponse ¶ added in v0.2.6
type GetPostMortemResponse struct {
Item *v1alpha1.PostMortem `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 (*GetPostMortemResponse) Descriptor
deprecated
added in
v0.2.6
func (*GetPostMortemResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPostMortemResponse.ProtoReflect.Descriptor instead.
func (*GetPostMortemResponse) GetItem ¶ added in v0.2.6
func (x *GetPostMortemResponse) GetItem() *v1alpha1.PostMortem
func (*GetPostMortemResponse) GetYaml ¶ added in v0.2.6
func (x *GetPostMortemResponse) GetYaml() string
func (*GetPostMortemResponse) ProtoMessage ¶ added in v0.2.6
func (*GetPostMortemResponse) ProtoMessage()
func (*GetPostMortemResponse) ProtoReflect ¶ added in v0.2.6
func (x *GetPostMortemResponse) ProtoReflect() protoreflect.Message
func (*GetPostMortemResponse) Reset ¶ added in v0.2.6
func (x *GetPostMortemResponse) Reset()
func (*GetPostMortemResponse) String ¶ added in v0.2.6
func (x *GetPostMortemResponse) String() string
type ListPostMortemsRequest ¶ added in v0.2.6
type ListPostMortemsRequest struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
Labels map[string]string `` /* 153-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*ListPostMortemsRequest) Descriptor
deprecated
added in
v0.2.6
func (*ListPostMortemsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPostMortemsRequest.ProtoReflect.Descriptor instead.
func (*ListPostMortemsRequest) GetLabels ¶ added in v0.2.6
func (x *ListPostMortemsRequest) GetLabels() map[string]string
func (*ListPostMortemsRequest) GetNamespace ¶ added in v0.2.6
func (x *ListPostMortemsRequest) GetNamespace() string
func (*ListPostMortemsRequest) ProtoMessage ¶ added in v0.2.6
func (*ListPostMortemsRequest) ProtoMessage()
func (*ListPostMortemsRequest) ProtoReflect ¶ added in v0.2.6
func (x *ListPostMortemsRequest) ProtoReflect() protoreflect.Message
func (*ListPostMortemsRequest) Reset ¶ added in v0.2.6
func (x *ListPostMortemsRequest) Reset()
func (*ListPostMortemsRequest) String ¶ added in v0.2.6
func (x *ListPostMortemsRequest) String() string
type ListPostMortemsResponse ¶ added in v0.2.6
type ListPostMortemsResponse struct {
Items *v1alpha1.PostMortemList `protobuf:"bytes,1,opt,name=items,proto3" json:"items,omitempty"`
// contains filtered or unexported fields
}
func (*ListPostMortemsResponse) Descriptor
deprecated
added in
v0.2.6
func (*ListPostMortemsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPostMortemsResponse.ProtoReflect.Descriptor instead.
func (*ListPostMortemsResponse) GetItems ¶ added in v0.2.6
func (x *ListPostMortemsResponse) GetItems() *v1alpha1.PostMortemList
func (*ListPostMortemsResponse) ProtoMessage ¶ added in v0.2.6
func (*ListPostMortemsResponse) ProtoMessage()
func (*ListPostMortemsResponse) ProtoReflect ¶ added in v0.2.6
func (x *ListPostMortemsResponse) ProtoReflect() protoreflect.Message
func (*ListPostMortemsResponse) Reset ¶ added in v0.2.6
func (x *ListPostMortemsResponse) Reset()
func (*ListPostMortemsResponse) String ¶ added in v0.2.6
func (x *ListPostMortemsResponse) String() string
type PostMortemServiceClient ¶
type PostMortemServiceClient interface {
ListPostMortems(ctx context.Context, in *ListPostMortemsRequest, opts ...grpc.CallOption) (*ListPostMortemsResponse, error)
CreatePostMortem(ctx context.Context, in *CreatePostMortemRequest, opts ...grpc.CallOption) (*CreatePostMortemResponse, error)
GetPostMortem(ctx context.Context, in *GetPostMortemRequest, opts ...grpc.CallOption) (*GetPostMortemResponse, error)
UpdatePostMortem(ctx context.Context, in *UpdatePostMortemRequest, opts ...grpc.CallOption) (*UpdatePostMortemResponse, error)
DeletePostMortem(ctx context.Context, in *DeletePostMortemRequest, opts ...grpc.CallOption) (*DeletePostMortemResponse, error)
}
PostMortemServiceClient is the client API for PostMortemService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPostMortemServiceClient ¶
func NewPostMortemServiceClient(cc grpc.ClientConnInterface) PostMortemServiceClient
type PostMortemServiceServer ¶
type PostMortemServiceServer interface {
ListPostMortems(context.Context, *ListPostMortemsRequest) (*ListPostMortemsResponse, error)
CreatePostMortem(context.Context, *CreatePostMortemRequest) (*CreatePostMortemResponse, error)
GetPostMortem(context.Context, *GetPostMortemRequest) (*GetPostMortemResponse, error)
UpdatePostMortem(context.Context, *UpdatePostMortemRequest) (*UpdatePostMortemResponse, error)
DeletePostMortem(context.Context, *DeletePostMortemRequest) (*DeletePostMortemResponse, error)
}
PostMortemServiceServer is the server API for PostMortemService service.
type UnimplementedPostMortemServiceServer ¶
type UnimplementedPostMortemServiceServer struct {
}
UnimplementedPostMortemServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedPostMortemServiceServer) CreatePostMortem ¶ added in v0.2.6
func (*UnimplementedPostMortemServiceServer) CreatePostMortem(context.Context, *CreatePostMortemRequest) (*CreatePostMortemResponse, error)
func (*UnimplementedPostMortemServiceServer) DeletePostMortem ¶ added in v0.2.6
func (*UnimplementedPostMortemServiceServer) DeletePostMortem(context.Context, *DeletePostMortemRequest) (*DeletePostMortemResponse, error)
func (*UnimplementedPostMortemServiceServer) GetPostMortem ¶ added in v0.2.6
func (*UnimplementedPostMortemServiceServer) GetPostMortem(context.Context, *GetPostMortemRequest) (*GetPostMortemResponse, error)
func (*UnimplementedPostMortemServiceServer) ListPostMortems ¶ added in v0.2.6
func (*UnimplementedPostMortemServiceServer) ListPostMortems(context.Context, *ListPostMortemsRequest) (*ListPostMortemsResponse, error)
func (*UnimplementedPostMortemServiceServer) UpdatePostMortem ¶ added in v0.2.6
func (*UnimplementedPostMortemServiceServer) UpdatePostMortem(context.Context, *UpdatePostMortemRequest) (*UpdatePostMortemResponse, error)
type UpdatePostMortemRequest ¶ added in v0.2.6
type UpdatePostMortemRequest struct {
Item *v1alpha1.PostMortem `protobuf:"bytes,5,opt,name=item,proto3" json:"item,omitempty"`
// contains filtered or unexported fields
}
func (*UpdatePostMortemRequest) Descriptor
deprecated
added in
v0.2.6
func (*UpdatePostMortemRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePostMortemRequest.ProtoReflect.Descriptor instead.
func (*UpdatePostMortemRequest) GetItem ¶ added in v0.2.305
func (x *UpdatePostMortemRequest) GetItem() *v1alpha1.PostMortem
func (*UpdatePostMortemRequest) ProtoMessage ¶ added in v0.2.6
func (*UpdatePostMortemRequest) ProtoMessage()
func (*UpdatePostMortemRequest) ProtoReflect ¶ added in v0.2.6
func (x *UpdatePostMortemRequest) ProtoReflect() protoreflect.Message
func (*UpdatePostMortemRequest) Reset ¶ added in v0.2.6
func (x *UpdatePostMortemRequest) Reset()
func (*UpdatePostMortemRequest) String ¶ added in v0.2.6
func (x *UpdatePostMortemRequest) String() string
type UpdatePostMortemResponse ¶ added in v0.2.6
type UpdatePostMortemResponse struct {
// contains filtered or unexported fields
}
func (*UpdatePostMortemResponse) Descriptor
deprecated
added in
v0.2.6
func (*UpdatePostMortemResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePostMortemResponse.ProtoReflect.Descriptor instead.
func (*UpdatePostMortemResponse) ProtoMessage ¶ added in v0.2.6
func (*UpdatePostMortemResponse) ProtoMessage()
func (*UpdatePostMortemResponse) ProtoReflect ¶ added in v0.2.6
func (x *UpdatePostMortemResponse) ProtoReflect() protoreflect.Message
func (*UpdatePostMortemResponse) Reset ¶ added in v0.2.6
func (x *UpdatePostMortemResponse) Reset()
func (*UpdatePostMortemResponse) String ¶ added in v0.2.6
func (x *UpdatePostMortemResponse) String() string