v1

package
v0.1.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterPostMortemServiceServer

func RegisterPostMortemServiceServer(s *grpc.Server, srv PostMortemServiceServer)

Types

type PostMortemCreateRequest

type PostMortemCreateRequest 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"`
	Labels               map[string]string        `` /* 153-byte string literal not displayed */
	Spec                 *v1alpha1.PostMortemSpec `protobuf:"bytes,5,opt,name=spec,proto3" json:"spec,omitempty"`
	Password             string                   `protobuf:"bytes,6,opt,name=password,proto3" json:"password,omitempty"`
	Upsert               bool                     `protobuf:"varint,7,opt,name=upsert,proto3" json:"upsert,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*PostMortemCreateRequest) Descriptor

func (*PostMortemCreateRequest) Descriptor() ([]byte, []int)

func (*PostMortemCreateRequest) GetLabels

func (m *PostMortemCreateRequest) GetLabels() map[string]string

func (*PostMortemCreateRequest) GetName

func (m *PostMortemCreateRequest) GetName() string

func (*PostMortemCreateRequest) GetNamespace

func (m *PostMortemCreateRequest) GetNamespace() string

func (*PostMortemCreateRequest) GetPassword

func (m *PostMortemCreateRequest) GetPassword() string

func (*PostMortemCreateRequest) GetSpec

func (*PostMortemCreateRequest) GetUpsert

func (m *PostMortemCreateRequest) GetUpsert() bool

func (*PostMortemCreateRequest) ProtoMessage

func (*PostMortemCreateRequest) ProtoMessage()

func (*PostMortemCreateRequest) Reset

func (m *PostMortemCreateRequest) Reset()

func (*PostMortemCreateRequest) String

func (m *PostMortemCreateRequest) String() string

func (*PostMortemCreateRequest) XXX_DiscardUnknown added in v0.1.7

func (m *PostMortemCreateRequest) XXX_DiscardUnknown()

func (*PostMortemCreateRequest) XXX_Marshal added in v0.1.7

func (m *PostMortemCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PostMortemCreateRequest) XXX_Merge added in v0.1.7

func (m *PostMortemCreateRequest) XXX_Merge(src proto.Message)

func (*PostMortemCreateRequest) XXX_Size added in v0.1.7

func (m *PostMortemCreateRequest) XXX_Size() int

func (*PostMortemCreateRequest) XXX_Unmarshal added in v0.1.7

func (m *PostMortemCreateRequest) XXX_Unmarshal(b []byte) error

type PostMortemGetNamespacesRequest

type PostMortemGetNamespacesRequest 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PostMortemGetNamespacesRequest) Descriptor

func (*PostMortemGetNamespacesRequest) Descriptor() ([]byte, []int)

func (*PostMortemGetNamespacesRequest) GetName

func (*PostMortemGetNamespacesRequest) GetNamespace

func (m *PostMortemGetNamespacesRequest) GetNamespace() string

func (*PostMortemGetNamespacesRequest) ProtoMessage

func (*PostMortemGetNamespacesRequest) ProtoMessage()

func (*PostMortemGetNamespacesRequest) Reset

func (m *PostMortemGetNamespacesRequest) Reset()

func (*PostMortemGetNamespacesRequest) String

func (*PostMortemGetNamespacesRequest) XXX_DiscardUnknown added in v0.1.7

func (m *PostMortemGetNamespacesRequest) XXX_DiscardUnknown()

func (*PostMortemGetNamespacesRequest) XXX_Marshal added in v0.1.7

func (m *PostMortemGetNamespacesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PostMortemGetNamespacesRequest) XXX_Merge added in v0.1.7

func (m *PostMortemGetNamespacesRequest) XXX_Merge(src proto.Message)

func (*PostMortemGetNamespacesRequest) XXX_Size added in v0.1.7

func (m *PostMortemGetNamespacesRequest) XXX_Size() int

func (*PostMortemGetNamespacesRequest) XXX_Unmarshal added in v0.1.7

func (m *PostMortemGetNamespacesRequest) XXX_Unmarshal(b []byte) error

type PostMortemGetNamespacesResponse

type PostMortemGetNamespacesResponse struct {
	Namespaces           []*v1.NamespaceInfo `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*PostMortemGetNamespacesResponse) Descriptor

func (*PostMortemGetNamespacesResponse) Descriptor() ([]byte, []int)

func (*PostMortemGetNamespacesResponse) GetNamespaces

func (m *PostMortemGetNamespacesResponse) GetNamespaces() []*v1.NamespaceInfo

func (*PostMortemGetNamespacesResponse) ProtoMessage

func (*PostMortemGetNamespacesResponse) ProtoMessage()

func (*PostMortemGetNamespacesResponse) Reset

func (*PostMortemGetNamespacesResponse) String

func (*PostMortemGetNamespacesResponse) XXX_DiscardUnknown added in v0.1.7

func (m *PostMortemGetNamespacesResponse) XXX_DiscardUnknown()

func (*PostMortemGetNamespacesResponse) XXX_Marshal added in v0.1.7

func (m *PostMortemGetNamespacesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PostMortemGetNamespacesResponse) XXX_Merge added in v0.1.7

func (m *PostMortemGetNamespacesResponse) XXX_Merge(src proto.Message)

func (*PostMortemGetNamespacesResponse) XXX_Size added in v0.1.7

func (m *PostMortemGetNamespacesResponse) XXX_Size() int

func (*PostMortemGetNamespacesResponse) XXX_Unmarshal added in v0.1.7

func (m *PostMortemGetNamespacesResponse) XXX_Unmarshal(b []byte) error

type PostMortemGetResponse

type PostMortemGetResponse struct {
	Postmortem           *v1alpha1.PostMortem `protobuf:"bytes,1,opt,name=postmortem,proto3" json:"postmortem,omitempty"`
	Yaml                 string               `protobuf:"bytes,2,opt,name=yaml,proto3" json:"yaml,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*PostMortemGetResponse) Descriptor

func (*PostMortemGetResponse) Descriptor() ([]byte, []int)

func (*PostMortemGetResponse) GetPostmortem

func (m *PostMortemGetResponse) GetPostmortem() *v1alpha1.PostMortem

func (*PostMortemGetResponse) GetYaml

func (m *PostMortemGetResponse) GetYaml() string

func (*PostMortemGetResponse) ProtoMessage

func (*PostMortemGetResponse) ProtoMessage()

func (*PostMortemGetResponse) Reset

func (m *PostMortemGetResponse) Reset()

func (*PostMortemGetResponse) String

func (m *PostMortemGetResponse) String() string

func (*PostMortemGetResponse) XXX_DiscardUnknown added in v0.1.7

func (m *PostMortemGetResponse) XXX_DiscardUnknown()

func (*PostMortemGetResponse) XXX_Marshal added in v0.1.7

func (m *PostMortemGetResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PostMortemGetResponse) XXX_Merge added in v0.1.7

func (m *PostMortemGetResponse) XXX_Merge(src proto.Message)

func (*PostMortemGetResponse) XXX_Size added in v0.1.7

func (m *PostMortemGetResponse) XXX_Size() int

func (*PostMortemGetResponse) XXX_Unmarshal added in v0.1.7

func (m *PostMortemGetResponse) XXX_Unmarshal(b []byte) error

type PostMortemQuery

type PostMortemQuery 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"`
	Labels               map[string]string `` /* 153-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*PostMortemQuery) Descriptor

func (*PostMortemQuery) Descriptor() ([]byte, []int)

func (*PostMortemQuery) GetLabels

func (m *PostMortemQuery) GetLabels() map[string]string

func (*PostMortemQuery) GetName

func (m *PostMortemQuery) GetName() string

func (*PostMortemQuery) GetNamespace

func (m *PostMortemQuery) GetNamespace() string

func (*PostMortemQuery) ProtoMessage

func (*PostMortemQuery) ProtoMessage()

func (*PostMortemQuery) Reset

func (m *PostMortemQuery) Reset()

func (*PostMortemQuery) String

func (m *PostMortemQuery) String() string

func (*PostMortemQuery) XXX_DiscardUnknown added in v0.1.7

func (m *PostMortemQuery) XXX_DiscardUnknown()

func (*PostMortemQuery) XXX_Marshal added in v0.1.7

func (m *PostMortemQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PostMortemQuery) XXX_Merge added in v0.1.7

func (m *PostMortemQuery) XXX_Merge(src proto.Message)

func (*PostMortemQuery) XXX_Size added in v0.1.7

func (m *PostMortemQuery) XXX_Size() int

func (*PostMortemQuery) XXX_Unmarshal added in v0.1.7

func (m *PostMortemQuery) XXX_Unmarshal(b []byte) error

type PostMortemResponse

type PostMortemResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PostMortemResponse) Descriptor

func (*PostMortemResponse) Descriptor() ([]byte, []int)

func (*PostMortemResponse) ProtoMessage

func (*PostMortemResponse) ProtoMessage()

func (*PostMortemResponse) Reset

func (m *PostMortemResponse) Reset()

func (*PostMortemResponse) String

func (m *PostMortemResponse) String() string

func (*PostMortemResponse) XXX_DiscardUnknown added in v0.1.7

func (m *PostMortemResponse) XXX_DiscardUnknown()

func (*PostMortemResponse) XXX_Marshal added in v0.1.7

func (m *PostMortemResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PostMortemResponse) XXX_Merge added in v0.1.7

func (m *PostMortemResponse) XXX_Merge(src proto.Message)

func (*PostMortemResponse) XXX_Size added in v0.1.7

func (m *PostMortemResponse) XXX_Size() int

func (*PostMortemResponse) XXX_Unmarshal added in v0.1.7

func (m *PostMortemResponse) XXX_Unmarshal(b []byte) error

type PostMortemServiceClient

type PostMortemServiceClient interface {
	List(ctx context.Context, in *PostMortemQuery, opts ...grpc.CallOption) (*v1alpha1.PostMortemList, error)
	Create(ctx context.Context, in *PostMortemCreateRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	Get(ctx context.Context, in *PostMortemQuery, opts ...grpc.CallOption) (*PostMortemGetResponse, error)
	Update(ctx context.Context, in *PostMortemUpdateRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	Delete(ctx context.Context, in *PostMortemQuery, opts ...grpc.CallOption) (*empty.Empty, 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.ClientConn) PostMortemServiceClient

type PostMortemServiceServer

PostMortemServiceServer is the server API for PostMortemService service.

type PostMortemUpdateRequest

type PostMortemUpdateRequest 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"`
	Labels               map[string]string        `` /* 153-byte string literal not displayed */
	Spec                 *v1alpha1.PostMortemSpec `protobuf:"bytes,5,opt,name=spec,proto3" json:"spec,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*PostMortemUpdateRequest) Descriptor

func (*PostMortemUpdateRequest) Descriptor() ([]byte, []int)

func (*PostMortemUpdateRequest) GetLabels

func (m *PostMortemUpdateRequest) GetLabels() map[string]string

func (*PostMortemUpdateRequest) GetName

func (m *PostMortemUpdateRequest) GetName() string

func (*PostMortemUpdateRequest) GetNamespace

func (m *PostMortemUpdateRequest) GetNamespace() string

func (*PostMortemUpdateRequest) GetSpec

func (*PostMortemUpdateRequest) ProtoMessage

func (*PostMortemUpdateRequest) ProtoMessage()

func (*PostMortemUpdateRequest) Reset

func (m *PostMortemUpdateRequest) Reset()

func (*PostMortemUpdateRequest) String

func (m *PostMortemUpdateRequest) String() string

func (*PostMortemUpdateRequest) XXX_DiscardUnknown added in v0.1.7

func (m *PostMortemUpdateRequest) XXX_DiscardUnknown()

func (*PostMortemUpdateRequest) XXX_Marshal added in v0.1.7

func (m *PostMortemUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PostMortemUpdateRequest) XXX_Merge added in v0.1.7

func (m *PostMortemUpdateRequest) XXX_Merge(src proto.Message)

func (*PostMortemUpdateRequest) XXX_Size added in v0.1.7

func (m *PostMortemUpdateRequest) XXX_Size() int

func (*PostMortemUpdateRequest) XXX_Unmarshal added in v0.1.7

func (m *PostMortemUpdateRequest) XXX_Unmarshal(b []byte) error

type UnimplementedPostMortemServiceServer

type UnimplementedPostMortemServiceServer struct {
}

UnimplementedPostMortemServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedPostMortemServiceServer) Create

func (*UnimplementedPostMortemServiceServer) Delete

func (*UnimplementedPostMortemServiceServer) Get

func (*UnimplementedPostMortemServiceServer) List

func (*UnimplementedPostMortemServiceServer) Update

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL