incremental

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2018 License: BSD-3-Clause Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package incremental is a generated protocol buffer package.

It is generated from these files:

proto/incremental/versionIncremental.proto

It has these top-level messages:

GenerateRequest
GenerateResponse
DeleteRequest
DeleteResponse
UpdateRequest
UpdateResponse

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterVersionIncrementalHandler

func RegisterVersionIncrementalHandler(s server.Server, hdlr VersionIncrementalHandler, opts ...server.HandlerOption)

Types

type DeleteRequest

type DeleteRequest struct {
	// TODO: user unique ID or UUID
	ProjectName string `protobuf:"bytes,1,opt,name=projectName" json:"projectName,omitempty"`
}

func (*DeleteRequest) Descriptor

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

func (*DeleteRequest) GetProjectName

func (m *DeleteRequest) GetProjectName() string

func (*DeleteRequest) ProtoMessage

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) Reset

func (m *DeleteRequest) Reset()

func (*DeleteRequest) String

func (m *DeleteRequest) String() string

type DeleteResponse

type DeleteResponse struct {
	Status uint32 `protobuf:"varint,1,opt,name=status" json:"status,omitempty"`
}

func (*DeleteResponse) Descriptor

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

func (*DeleteResponse) GetStatus

func (m *DeleteResponse) GetStatus() uint32

func (*DeleteResponse) ProtoMessage

func (*DeleteResponse) ProtoMessage()

func (*DeleteResponse) Reset

func (m *DeleteResponse) Reset()

func (*DeleteResponse) String

func (m *DeleteResponse) String() string

type GenerateRequest

type GenerateRequest struct {
	// TODO: user unique ID or UUID
	ProjectName string `protobuf:"bytes,1,opt,name=projectName" json:"projectName,omitempty"`
}

func (*GenerateRequest) Descriptor

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

func (*GenerateRequest) GetProjectName

func (m *GenerateRequest) GetProjectName() string

func (*GenerateRequest) ProtoMessage

func (*GenerateRequest) ProtoMessage()

func (*GenerateRequest) Reset

func (m *GenerateRequest) Reset()

func (*GenerateRequest) String

func (m *GenerateRequest) String() string

type GenerateResponse

type GenerateResponse struct {
	Version uint64 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
}

func (*GenerateResponse) Descriptor

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

func (*GenerateResponse) GetVersion

func (m *GenerateResponse) GetVersion() uint64

func (*GenerateResponse) ProtoMessage

func (*GenerateResponse) ProtoMessage()

func (*GenerateResponse) Reset

func (m *GenerateResponse) Reset()

func (*GenerateResponse) String

func (m *GenerateResponse) String() string

type UpdateRequest

type UpdateRequest struct {
	// TODO: user unique ID or UUID
	ProjectName string `protobuf:"bytes,1,opt,name=projectName" json:"projectName,omitempty"`
	Version     uint64 `protobuf:"varint,2,opt,name=version" json:"version,omitempty"`
}

func (*UpdateRequest) Descriptor

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

func (*UpdateRequest) GetProjectName

func (m *UpdateRequest) GetProjectName() string

func (*UpdateRequest) GetVersion

func (m *UpdateRequest) GetVersion() uint64

func (*UpdateRequest) ProtoMessage

func (*UpdateRequest) ProtoMessage()

func (*UpdateRequest) Reset

func (m *UpdateRequest) Reset()

func (*UpdateRequest) String

func (m *UpdateRequest) String() string

type UpdateResponse

type UpdateResponse struct {
	Status uint32 `protobuf:"varint,1,opt,name=status" json:"status,omitempty"`
}

func (*UpdateResponse) Descriptor

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

func (*UpdateResponse) GetStatus

func (m *UpdateResponse) GetStatus() uint32

func (*UpdateResponse) ProtoMessage

func (*UpdateResponse) ProtoMessage()

func (*UpdateResponse) Reset

func (m *UpdateResponse) Reset()

func (*UpdateResponse) String

func (m *UpdateResponse) String() string

type VersionIncremental

type VersionIncremental struct {
	VersionIncrementalHandler
}

func (*VersionIncremental) Delete

func (*VersionIncremental) Generate

func (*VersionIncremental) Update

type VersionIncrementalClient

type VersionIncrementalClient interface {
	Generate(ctx context.Context, in *GenerateRequest, opts ...client.CallOption) (*GenerateResponse, error)
	Update(ctx context.Context, in *UpdateRequest, opts ...client.CallOption) (*UpdateResponse, error)
	Delete(ctx context.Context, in *DeleteRequest, opts ...client.CallOption) (*DeleteResponse, error)
}

func NewVersionIncrementalClient

func NewVersionIncrementalClient(serviceName string, c client.Client) VersionIncrementalClient

Jump to

Keyboard shortcuts

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