checkpoint

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 25, 2020 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterCheckpointPeriodServer

func RegisterCheckpointPeriodServer(s *grpc.Server, srv CheckpointPeriodServer)

Types

type CheckpointPeriodClient

type CheckpointPeriodClient interface {
	SetCheckpointPeriod(ctx context.Context, in *InputValue, opts ...grpc.CallOption) (*ReturnValue, error)
	CheckpointCreate(ctx context.Context, in *CreateCheckpoint, opts ...grpc.CallOption) (*PodReturnValue, error)
	StoreYaml(ctx context.Context, in *StoreValue, opts ...grpc.CallOption) (*PodReturnValue, error)
}

CheckpointPeriodClient is the client API for CheckpointPeriod service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type CheckpointPeriodServer

type CheckpointPeriodServer interface {
	SetCheckpointPeriod(context.Context, *InputValue) (*ReturnValue, error)
	CheckpointCreate(context.Context, *CreateCheckpoint) (*PodReturnValue, error)
	StoreYaml(context.Context, *StoreValue) (*PodReturnValue, error)
}

CheckpointPeriodServer is the server API for CheckpointPeriod service.

type CreateCheckpoint added in v0.0.2

type CreateCheckpoint struct {
	PodName              *string  `protobuf:"bytes,1,req,name=PodName" json:"PodName,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateCheckpoint) Descriptor added in v0.0.2

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

func (*CreateCheckpoint) GetPodName added in v0.0.2

func (m *CreateCheckpoint) GetPodName() string

func (*CreateCheckpoint) ProtoMessage added in v0.0.2

func (*CreateCheckpoint) ProtoMessage()

func (*CreateCheckpoint) Reset added in v0.0.2

func (m *CreateCheckpoint) Reset()

func (*CreateCheckpoint) String added in v0.0.2

func (m *CreateCheckpoint) String() string

func (*CreateCheckpoint) XXX_DiscardUnknown added in v0.0.2

func (m *CreateCheckpoint) XXX_DiscardUnknown()

func (*CreateCheckpoint) XXX_Marshal added in v0.0.2

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

func (*CreateCheckpoint) XXX_Merge added in v0.0.2

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

func (*CreateCheckpoint) XXX_Size added in v0.0.2

func (m *CreateCheckpoint) XXX_Size() int

func (*CreateCheckpoint) XXX_Unmarshal added in v0.0.2

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

type InputValue

type InputValue struct {
	Period               *int64   `protobuf:"varint,1,req,name=Period" json:"Period,omitempty"`
	PodName              []string `protobuf:"bytes,2,rep,name=PodName" json:"PodName,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*InputValue) Descriptor

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

func (*InputValue) GetPeriod

func (m *InputValue) GetPeriod() int64

func (*InputValue) GetPodName

func (m *InputValue) GetPodName() []string

func (*InputValue) ProtoMessage

func (*InputValue) ProtoMessage()

func (*InputValue) Reset

func (m *InputValue) Reset()

func (*InputValue) String

func (m *InputValue) String() string

func (*InputValue) XXX_DiscardUnknown

func (m *InputValue) XXX_DiscardUnknown()

func (*InputValue) XXX_Marshal

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

func (*InputValue) XXX_Merge

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

func (*InputValue) XXX_Size

func (m *InputValue) XXX_Size() int

func (*InputValue) XXX_Unmarshal

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

type PodReturnValue added in v0.0.2

type PodReturnValue struct {
	CheckpointName       *string  `protobuf:"bytes,1,req,name=CheckpointName" json:"CheckpointName,omitempty"`
	Err                  *string  `protobuf:"bytes,2,req,name=err" json:"err,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PodReturnValue) Descriptor added in v0.0.2

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

func (*PodReturnValue) GetCheckpointName added in v0.0.2

func (m *PodReturnValue) GetCheckpointName() string

func (*PodReturnValue) GetErr added in v0.0.2

func (m *PodReturnValue) GetErr() string

func (*PodReturnValue) ProtoMessage added in v0.0.2

func (*PodReturnValue) ProtoMessage()

func (*PodReturnValue) Reset added in v0.0.2

func (m *PodReturnValue) Reset()

func (*PodReturnValue) String added in v0.0.2

func (m *PodReturnValue) String() string

func (*PodReturnValue) XXX_DiscardUnknown added in v0.0.2

func (m *PodReturnValue) XXX_DiscardUnknown()

func (*PodReturnValue) XXX_Marshal added in v0.0.2

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

func (*PodReturnValue) XXX_Merge added in v0.0.2

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

func (*PodReturnValue) XXX_Size added in v0.0.2

func (m *PodReturnValue) XXX_Size() int

func (*PodReturnValue) XXX_Unmarshal added in v0.0.2

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

type ReturnValue

type ReturnValue struct {
	Period               *int64   `protobuf:"varint,1,req,name=Period" json:"Period,omitempty"`
	Err                  *string  `protobuf:"bytes,2,req,name=err" json:"err,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReturnValue) Descriptor

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

func (*ReturnValue) GetErr

func (m *ReturnValue) GetErr() string

func (*ReturnValue) GetPeriod

func (m *ReturnValue) GetPeriod() int64

func (*ReturnValue) ProtoMessage

func (*ReturnValue) ProtoMessage()

func (*ReturnValue) Reset

func (m *ReturnValue) Reset()

func (*ReturnValue) String

func (m *ReturnValue) String() string

func (*ReturnValue) XXX_DiscardUnknown

func (m *ReturnValue) XXX_DiscardUnknown()

func (*ReturnValue) XXX_Marshal

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

func (*ReturnValue) XXX_Merge

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

func (*ReturnValue) XXX_Size

func (m *ReturnValue) XXX_Size() int

func (*ReturnValue) XXX_Unmarshal

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

type StoreValue added in v0.0.3

type StoreValue struct {
	Yaml                 []byte   `protobuf:"bytes,1,req,name=Yaml" json:"Yaml,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StoreValue) Descriptor added in v0.0.3

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

func (*StoreValue) GetYaml added in v0.0.3

func (m *StoreValue) GetYaml() []byte

func (*StoreValue) ProtoMessage added in v0.0.3

func (*StoreValue) ProtoMessage()

func (*StoreValue) Reset added in v0.0.3

func (m *StoreValue) Reset()

func (*StoreValue) String added in v0.0.3

func (m *StoreValue) String() string

func (*StoreValue) XXX_DiscardUnknown added in v0.0.3

func (m *StoreValue) XXX_DiscardUnknown()

func (*StoreValue) XXX_Marshal added in v0.0.3

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

func (*StoreValue) XXX_Merge added in v0.0.3

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

func (*StoreValue) XXX_Size added in v0.0.3

func (m *StoreValue) XXX_Size() int

func (*StoreValue) XXX_Unmarshal added in v0.0.3

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

type UnimplementedCheckpointPeriodServer

type UnimplementedCheckpointPeriodServer struct {
}

UnimplementedCheckpointPeriodServer can be embedded to have forward compatible implementations.

func (*UnimplementedCheckpointPeriodServer) CheckpointCreate added in v0.0.2

func (*UnimplementedCheckpointPeriodServer) SetCheckpointPeriod

func (*UnimplementedCheckpointPeriodServer) SetCheckpointPeriod(ctx context.Context, req *InputValue) (*ReturnValue, error)

func (*UnimplementedCheckpointPeriodServer) StoreYaml added in v0.0.3

Jump to

Keyboard shortcuts

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