Documentation ¶
Index ¶
- func RegisterDevServer(s *grpc.Server, srv DevServer)
- type DevClient
- type DevServer
- type Dev_MirrorClient
- type Dev_MirrorServer
- type FileAttributes
- func (*FileAttributes) Descriptor() ([]byte, []int)
- func (m *FileAttributes) GetContentsHash() string
- func (m *FileAttributes) GetModTime() *timestamp.Timestamp
- func (m *FileAttributes) GetMode() uint32
- func (*FileAttributes) ProtoMessage()
- func (m *FileAttributes) Reset()
- func (m *FileAttributes) String() string
- func (m *FileAttributes) XXX_DiscardUnknown()
- func (m *FileAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FileAttributes) XXX_Merge(src proto.Message)
- func (m *FileAttributes) XXX_Size() int
- func (m *FileAttributes) XXX_Unmarshal(b []byte) error
- type GetMirrorSnapshotRequest
- func (*GetMirrorSnapshotRequest) Descriptor() ([]byte, []int)
- func (*GetMirrorSnapshotRequest) ProtoMessage()
- func (m *GetMirrorSnapshotRequest) Reset()
- func (m *GetMirrorSnapshotRequest) String() string
- func (m *GetMirrorSnapshotRequest) XXX_DiscardUnknown()
- func (m *GetMirrorSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMirrorSnapshotRequest) XXX_Merge(src proto.Message)
- func (m *GetMirrorSnapshotRequest) XXX_Size() int
- func (m *GetMirrorSnapshotRequest) XXX_Unmarshal(b []byte) error
- type GetMirrorSnapshotResponse
- func (*GetMirrorSnapshotResponse) Descriptor() ([]byte, []int)
- func (m *GetMirrorSnapshotResponse) GetError() *errors.Error
- func (m *GetMirrorSnapshotResponse) GetSnapshot() *MirrorSnapshot
- func (*GetMirrorSnapshotResponse) ProtoMessage()
- func (m *GetMirrorSnapshotResponse) Reset()
- func (m *GetMirrorSnapshotResponse) String() string
- func (m *GetMirrorSnapshotResponse) XXX_DiscardUnknown()
- func (m *GetMirrorSnapshotResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMirrorSnapshotResponse) XXX_Merge(src proto.Message)
- func (m *GetMirrorSnapshotResponse) XXX_Size() int
- func (m *GetMirrorSnapshotResponse) XXX_Unmarshal(b []byte) error
- type MirrorFile
- func (*MirrorFile) Descriptor() ([]byte, []int)
- func (m *MirrorFile) GetFileAttributes() *FileAttributes
- func (m *MirrorFile) GetSyncSourcePath() string
- func (*MirrorFile) ProtoMessage()
- func (m *MirrorFile) Reset()
- func (m *MirrorFile) String() string
- func (m *MirrorFile) XXX_DiscardUnknown()
- func (m *MirrorFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MirrorFile) XXX_Merge(src proto.Message)
- func (m *MirrorFile) XXX_Size() int
- func (m *MirrorFile) XXX_Unmarshal(b []byte) error
- type MirrorFileRequest
- func (*MirrorFileRequest) Descriptor() ([]byte, []int)
- func (m *MirrorFileRequest) GetChunk() []byte
- func (m *MirrorFileRequest) GetHeader() *MirrorFile
- func (*MirrorFileRequest) ProtoMessage()
- func (m *MirrorFileRequest) Reset()
- func (m *MirrorFileRequest) String() string
- func (m *MirrorFileRequest) XXX_DiscardUnknown()
- func (m *MirrorFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MirrorFileRequest) XXX_Merge(src proto.Message)
- func (m *MirrorFileRequest) XXX_Size() int
- func (m *MirrorFileRequest) XXX_Unmarshal(b []byte) error
- type MirrorFileResponse
- func (*MirrorFileResponse) Descriptor() ([]byte, []int)
- func (m *MirrorFileResponse) GetError() *errors.Error
- func (*MirrorFileResponse) ProtoMessage()
- func (m *MirrorFileResponse) Reset()
- func (m *MirrorFileResponse) String() string
- func (m *MirrorFileResponse) XXX_DiscardUnknown()
- func (m *MirrorFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MirrorFileResponse) XXX_Merge(src proto.Message)
- func (m *MirrorFileResponse) XXX_Size() int
- func (m *MirrorFileResponse) XXX_Unmarshal(b []byte) error
- type MirrorSnapshot
- func (*MirrorSnapshot) Descriptor() ([]byte, []int)
- func (m *MirrorSnapshot) GetFiles() map[string]*MirrorFile
- func (*MirrorSnapshot) ProtoMessage()
- func (m *MirrorSnapshot) Reset()
- func (m *MirrorSnapshot) String() string
- func (m *MirrorSnapshot) XXX_DiscardUnknown()
- func (m *MirrorSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MirrorSnapshot) XXX_Merge(src proto.Message)
- func (m *MirrorSnapshot) XXX_Size() int
- func (m *MirrorSnapshot) XXX_Unmarshal(b []byte) error
- type RemoveFileRequest
- func (*RemoveFileRequest) Descriptor() ([]byte, []int)
- func (m *RemoveFileRequest) GetPath() string
- func (*RemoveFileRequest) ProtoMessage()
- func (m *RemoveFileRequest) Reset()
- func (m *RemoveFileRequest) String() string
- func (m *RemoveFileRequest) XXX_DiscardUnknown()
- func (m *RemoveFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveFileRequest) XXX_Merge(src proto.Message)
- func (m *RemoveFileRequest) XXX_Size() int
- func (m *RemoveFileRequest) XXX_Unmarshal(b []byte) error
- type RemoveFileResponse
- func (*RemoveFileResponse) Descriptor() ([]byte, []int)
- func (*RemoveFileResponse) ProtoMessage()
- func (m *RemoveFileResponse) Reset()
- func (m *RemoveFileResponse) String() string
- func (m *RemoveFileResponse) XXX_DiscardUnknown()
- func (m *RemoveFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveFileResponse) XXX_Merge(src proto.Message)
- func (m *RemoveFileResponse) XXX_Size() int
- func (m *RemoveFileResponse) XXX_Unmarshal(b []byte) error
- type SetTargetVersionRequest
- func (*SetTargetVersionRequest) Descriptor() ([]byte, []int)
- func (m *SetTargetVersionRequest) GetVersion() *Version
- func (*SetTargetVersionRequest) ProtoMessage()
- func (m *SetTargetVersionRequest) Reset()
- func (m *SetTargetVersionRequest) String() string
- func (m *SetTargetVersionRequest) XXX_DiscardUnknown()
- func (m *SetTargetVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetTargetVersionRequest) XXX_Merge(src proto.Message)
- func (m *SetTargetVersionRequest) XXX_Size() int
- func (m *SetTargetVersionRequest) XXX_Unmarshal(b []byte) error
- type SetTargetVersionResponse
- func (*SetTargetVersionResponse) Descriptor() ([]byte, []int)
- func (m *SetTargetVersionResponse) GetError() *errors.Error
- func (*SetTargetVersionResponse) ProtoMessage()
- func (m *SetTargetVersionResponse) Reset()
- func (m *SetTargetVersionResponse) String() string
- func (m *SetTargetVersionResponse) XXX_DiscardUnknown()
- func (m *SetTargetVersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetTargetVersionResponse) XXX_Merge(src proto.Message)
- func (m *SetTargetVersionResponse) XXX_Size() int
- func (m *SetTargetVersionResponse) XXX_Unmarshal(b []byte) error
- type SyncCompleteRequest
- func (*SyncCompleteRequest) Descriptor() ([]byte, []int)
- func (*SyncCompleteRequest) ProtoMessage()
- func (m *SyncCompleteRequest) Reset()
- func (m *SyncCompleteRequest) String() string
- func (m *SyncCompleteRequest) XXX_DiscardUnknown()
- func (m *SyncCompleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SyncCompleteRequest) XXX_Merge(src proto.Message)
- func (m *SyncCompleteRequest) XXX_Size() int
- func (m *SyncCompleteRequest) XXX_Unmarshal(b []byte) error
- type SyncCompleteResponse
- func (*SyncCompleteResponse) Descriptor() ([]byte, []int)
- func (m *SyncCompleteResponse) GetError() *errors.Error
- func (*SyncCompleteResponse) ProtoMessage()
- func (m *SyncCompleteResponse) Reset()
- func (m *SyncCompleteResponse) String() string
- func (m *SyncCompleteResponse) XXX_DiscardUnknown()
- func (m *SyncCompleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SyncCompleteResponse) XXX_Merge(src proto.Message)
- func (m *SyncCompleteResponse) XXX_Size() int
- func (m *SyncCompleteResponse) XXX_Unmarshal(b []byte) error
- type SyncConfig
- func (*SyncConfig) Descriptor() ([]byte, []int)
- func (m *SyncConfig) GetOnInitCommand() []string
- func (m *SyncConfig) GetOnSyncCommand() []string
- func (m *SyncConfig) GetRules() []*SyncRule
- func (*SyncConfig) ProtoMessage()
- func (m *SyncConfig) Reset()
- func (m *SyncConfig) String() string
- func (m *SyncConfig) XXX_DiscardUnknown()
- func (m *SyncConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SyncConfig) XXX_Merge(src proto.Message)
- func (m *SyncConfig) XXX_Size() int
- func (m *SyncConfig) XXX_Unmarshal(b []byte) error
- type SyncRule
- func (*SyncRule) Descriptor() ([]byte, []int)
- func (m *SyncRule) GetExcept() []string
- func (m *SyncRule) GetFrom() string
- func (m *SyncRule) GetTo() string
- func (m *SyncRule) GetTriggerInit() bool
- func (*SyncRule) ProtoMessage()
- func (m *SyncRule) Reset()
- func (m *SyncRule) String() string
- func (m *SyncRule) XXX_DiscardUnknown()
- func (m *SyncRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SyncRule) XXX_Merge(src proto.Message)
- func (m *SyncRule) XXX_Size() int
- func (m *SyncRule) XXX_Unmarshal(b []byte) error
- type Version
- func (*Version) Descriptor() ([]byte, []int)
- func (m *Version) GetSyncConfig() *SyncConfig
- func (m *Version) GetVersion() string
- func (*Version) ProtoMessage()
- func (m *Version) Reset()
- func (m *Version) String() string
- func (m *Version) XXX_DiscardUnknown()
- func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Version) XXX_Merge(src proto.Message)
- func (m *Version) XXX_Size() int
- func (m *Version) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterDevServer ¶
Types ¶
type DevClient ¶
type DevClient interface { // SetTargetVersion sets the service's expected code version. SetTargetVersion(ctx context.Context, in *SetTargetVersionRequest, opts ...grpc.CallOption) (*SetTargetVersionResponse, error) // GetMirrorSnapshot returns the files that are currently mirrored in the // container. GetMirrorSnapshot(ctx context.Context, in *GetMirrorSnapshotRequest, opts ...grpc.CallOption) (*GetMirrorSnapshotResponse, error) // Mirror creates or updates the file mirror for the given file. The file // contents are streamed in chunks. Mirror(ctx context.Context, opts ...grpc.CallOption) (Dev_MirrorClient, error) // Remove removes a file mirror (e.g. if a file is deleted from the local // machine). Remove(ctx context.Context, in *RemoveFileRequest, opts ...grpc.CallOption) (*RemoveFileResponse, error) // SyncComplete notifies the dev server that the local machine has finished // updating the mirror files, and that the server can start the second stage // of the sync process. SyncComplete(ctx context.Context, in *SyncCompleteRequest, opts ...grpc.CallOption) (*SyncCompleteResponse, error) }
DevClient is the client API for Dev service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDevClient ¶
func NewDevClient(cc *grpc.ClientConn) DevClient
type DevServer ¶
type DevServer interface { // SetTargetVersion sets the service's expected code version. SetTargetVersion(context.Context, *SetTargetVersionRequest) (*SetTargetVersionResponse, error) // GetMirrorSnapshot returns the files that are currently mirrored in the // container. GetMirrorSnapshot(context.Context, *GetMirrorSnapshotRequest) (*GetMirrorSnapshotResponse, error) // Mirror creates or updates the file mirror for the given file. The file // contents are streamed in chunks. Mirror(Dev_MirrorServer) error // Remove removes a file mirror (e.g. if a file is deleted from the local // machine). Remove(context.Context, *RemoveFileRequest) (*RemoveFileResponse, error) // SyncComplete notifies the dev server that the local machine has finished // updating the mirror files, and that the server can start the second stage // of the sync process. SyncComplete(context.Context, *SyncCompleteRequest) (*SyncCompleteResponse, error) }
DevServer is the server API for Dev service.
type Dev_MirrorClient ¶
type Dev_MirrorClient interface { Send(*MirrorFileRequest) error CloseAndRecv() (*MirrorFileResponse, error) grpc.ClientStream }
type Dev_MirrorServer ¶
type Dev_MirrorServer interface { SendAndClose(*MirrorFileResponse) error Recv() (*MirrorFileRequest, error) grpc.ServerStream }
type FileAttributes ¶
type FileAttributes struct { ContentsHash string `protobuf:"bytes,1,opt,name=contentsHash,proto3" json:"contentsHash,omitempty"` Mode uint32 `protobuf:"varint,2,opt,name=mode,proto3" json:"mode,omitempty"` ModTime *timestamp.Timestamp `protobuf:"bytes,3,opt,name=modTime,proto3" json:"modTime,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FileAttributes) Descriptor ¶
func (*FileAttributes) Descriptor() ([]byte, []int)
func (*FileAttributes) GetContentsHash ¶
func (m *FileAttributes) GetContentsHash() string
func (*FileAttributes) GetModTime ¶
func (m *FileAttributes) GetModTime() *timestamp.Timestamp
func (*FileAttributes) GetMode ¶
func (m *FileAttributes) GetMode() uint32
func (*FileAttributes) ProtoMessage ¶
func (*FileAttributes) ProtoMessage()
func (*FileAttributes) Reset ¶
func (m *FileAttributes) Reset()
func (*FileAttributes) String ¶
func (m *FileAttributes) String() string
func (*FileAttributes) XXX_DiscardUnknown ¶
func (m *FileAttributes) XXX_DiscardUnknown()
func (*FileAttributes) XXX_Marshal ¶
func (m *FileAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FileAttributes) XXX_Merge ¶
func (m *FileAttributes) XXX_Merge(src proto.Message)
func (*FileAttributes) XXX_Size ¶
func (m *FileAttributes) XXX_Size() int
func (*FileAttributes) XXX_Unmarshal ¶
func (m *FileAttributes) XXX_Unmarshal(b []byte) error
type GetMirrorSnapshotRequest ¶
type GetMirrorSnapshotRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetMirrorSnapshotRequest) Descriptor ¶
func (*GetMirrorSnapshotRequest) Descriptor() ([]byte, []int)
func (*GetMirrorSnapshotRequest) ProtoMessage ¶
func (*GetMirrorSnapshotRequest) ProtoMessage()
func (*GetMirrorSnapshotRequest) Reset ¶
func (m *GetMirrorSnapshotRequest) Reset()
func (*GetMirrorSnapshotRequest) String ¶
func (m *GetMirrorSnapshotRequest) String() string
func (*GetMirrorSnapshotRequest) XXX_DiscardUnknown ¶
func (m *GetMirrorSnapshotRequest) XXX_DiscardUnknown()
func (*GetMirrorSnapshotRequest) XXX_Marshal ¶
func (m *GetMirrorSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMirrorSnapshotRequest) XXX_Merge ¶
func (m *GetMirrorSnapshotRequest) XXX_Merge(src proto.Message)
func (*GetMirrorSnapshotRequest) XXX_Size ¶
func (m *GetMirrorSnapshotRequest) XXX_Size() int
func (*GetMirrorSnapshotRequest) XXX_Unmarshal ¶
func (m *GetMirrorSnapshotRequest) XXX_Unmarshal(b []byte) error
type GetMirrorSnapshotResponse ¶
type GetMirrorSnapshotResponse struct { Snapshot *MirrorSnapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"` Error *errors.Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetMirrorSnapshotResponse) Descriptor ¶
func (*GetMirrorSnapshotResponse) Descriptor() ([]byte, []int)
func (*GetMirrorSnapshotResponse) GetError ¶
func (m *GetMirrorSnapshotResponse) GetError() *errors.Error
func (*GetMirrorSnapshotResponse) GetSnapshot ¶
func (m *GetMirrorSnapshotResponse) GetSnapshot() *MirrorSnapshot
func (*GetMirrorSnapshotResponse) ProtoMessage ¶
func (*GetMirrorSnapshotResponse) ProtoMessage()
func (*GetMirrorSnapshotResponse) Reset ¶
func (m *GetMirrorSnapshotResponse) Reset()
func (*GetMirrorSnapshotResponse) String ¶
func (m *GetMirrorSnapshotResponse) String() string
func (*GetMirrorSnapshotResponse) XXX_DiscardUnknown ¶
func (m *GetMirrorSnapshotResponse) XXX_DiscardUnknown()
func (*GetMirrorSnapshotResponse) XXX_Marshal ¶
func (m *GetMirrorSnapshotResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMirrorSnapshotResponse) XXX_Merge ¶
func (m *GetMirrorSnapshotResponse) XXX_Merge(src proto.Message)
func (*GetMirrorSnapshotResponse) XXX_Size ¶
func (m *GetMirrorSnapshotResponse) XXX_Size() int
func (*GetMirrorSnapshotResponse) XXX_Unmarshal ¶
func (m *GetMirrorSnapshotResponse) XXX_Unmarshal(b []byte) error
type MirrorFile ¶
type MirrorFile struct { SyncSourcePath string `protobuf:"bytes,1,opt,name=syncSourcePath,proto3" json:"syncSourcePath,omitempty"` FileAttributes *FileAttributes `protobuf:"bytes,2,opt,name=fileAttributes,proto3" json:"fileAttributes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
MirrorFile represents a local file that has been mirrored into the container.
func (*MirrorFile) Descriptor ¶
func (*MirrorFile) Descriptor() ([]byte, []int)
func (*MirrorFile) GetFileAttributes ¶
func (m *MirrorFile) GetFileAttributes() *FileAttributes
func (*MirrorFile) GetSyncSourcePath ¶
func (m *MirrorFile) GetSyncSourcePath() string
func (*MirrorFile) ProtoMessage ¶
func (*MirrorFile) ProtoMessage()
func (*MirrorFile) Reset ¶
func (m *MirrorFile) Reset()
func (*MirrorFile) String ¶
func (m *MirrorFile) String() string
func (*MirrorFile) XXX_DiscardUnknown ¶
func (m *MirrorFile) XXX_DiscardUnknown()
func (*MirrorFile) XXX_Marshal ¶
func (m *MirrorFile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MirrorFile) XXX_Merge ¶
func (m *MirrorFile) XXX_Merge(src proto.Message)
func (*MirrorFile) XXX_Size ¶
func (m *MirrorFile) XXX_Size() int
func (*MirrorFile) XXX_Unmarshal ¶
func (m *MirrorFile) XXX_Unmarshal(b []byte) error
type MirrorFileRequest ¶
type MirrorFileRequest struct { Header *MirrorFile `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` Chunk []byte `protobuf:"bytes,2,opt,name=chunk,proto3" json:"chunk,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MirrorFileRequest) Descriptor ¶
func (*MirrorFileRequest) Descriptor() ([]byte, []int)
func (*MirrorFileRequest) GetChunk ¶
func (m *MirrorFileRequest) GetChunk() []byte
func (*MirrorFileRequest) GetHeader ¶
func (m *MirrorFileRequest) GetHeader() *MirrorFile
func (*MirrorFileRequest) ProtoMessage ¶
func (*MirrorFileRequest) ProtoMessage()
func (*MirrorFileRequest) Reset ¶
func (m *MirrorFileRequest) Reset()
func (*MirrorFileRequest) String ¶
func (m *MirrorFileRequest) String() string
func (*MirrorFileRequest) XXX_DiscardUnknown ¶
func (m *MirrorFileRequest) XXX_DiscardUnknown()
func (*MirrorFileRequest) XXX_Marshal ¶
func (m *MirrorFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MirrorFileRequest) XXX_Merge ¶
func (m *MirrorFileRequest) XXX_Merge(src proto.Message)
func (*MirrorFileRequest) XXX_Size ¶
func (m *MirrorFileRequest) XXX_Size() int
func (*MirrorFileRequest) XXX_Unmarshal ¶
func (m *MirrorFileRequest) XXX_Unmarshal(b []byte) error
type MirrorFileResponse ¶
type MirrorFileResponse struct { Error *errors.Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MirrorFileResponse) Descriptor ¶
func (*MirrorFileResponse) Descriptor() ([]byte, []int)
func (*MirrorFileResponse) GetError ¶
func (m *MirrorFileResponse) GetError() *errors.Error
func (*MirrorFileResponse) ProtoMessage ¶
func (*MirrorFileResponse) ProtoMessage()
func (*MirrorFileResponse) Reset ¶
func (m *MirrorFileResponse) Reset()
func (*MirrorFileResponse) String ¶
func (m *MirrorFileResponse) String() string
func (*MirrorFileResponse) XXX_DiscardUnknown ¶
func (m *MirrorFileResponse) XXX_DiscardUnknown()
func (*MirrorFileResponse) XXX_Marshal ¶
func (m *MirrorFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MirrorFileResponse) XXX_Merge ¶
func (m *MirrorFileResponse) XXX_Merge(src proto.Message)
func (*MirrorFileResponse) XXX_Size ¶
func (m *MirrorFileResponse) XXX_Size() int
func (*MirrorFileResponse) XXX_Unmarshal ¶
func (m *MirrorFileResponse) XXX_Unmarshal(b []byte) error
type MirrorSnapshot ¶
type MirrorSnapshot struct { Files map[string]*MirrorFile `` /* 151-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
This is the transport format for the sync.MirrorSnapshot type.
func (*MirrorSnapshot) Descriptor ¶
func (*MirrorSnapshot) Descriptor() ([]byte, []int)
func (*MirrorSnapshot) GetFiles ¶
func (m *MirrorSnapshot) GetFiles() map[string]*MirrorFile
func (*MirrorSnapshot) ProtoMessage ¶
func (*MirrorSnapshot) ProtoMessage()
func (*MirrorSnapshot) Reset ¶
func (m *MirrorSnapshot) Reset()
func (*MirrorSnapshot) String ¶
func (m *MirrorSnapshot) String() string
func (*MirrorSnapshot) XXX_DiscardUnknown ¶
func (m *MirrorSnapshot) XXX_DiscardUnknown()
func (*MirrorSnapshot) XXX_Marshal ¶
func (m *MirrorSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MirrorSnapshot) XXX_Merge ¶
func (m *MirrorSnapshot) XXX_Merge(src proto.Message)
func (*MirrorSnapshot) XXX_Size ¶
func (m *MirrorSnapshot) XXX_Size() int
func (*MirrorSnapshot) XXX_Unmarshal ¶
func (m *MirrorSnapshot) XXX_Unmarshal(b []byte) error
type RemoveFileRequest ¶
type RemoveFileRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveFileRequest) Descriptor ¶
func (*RemoveFileRequest) Descriptor() ([]byte, []int)
func (*RemoveFileRequest) GetPath ¶
func (m *RemoveFileRequest) GetPath() string
func (*RemoveFileRequest) ProtoMessage ¶
func (*RemoveFileRequest) ProtoMessage()
func (*RemoveFileRequest) Reset ¶
func (m *RemoveFileRequest) Reset()
func (*RemoveFileRequest) String ¶
func (m *RemoveFileRequest) String() string
func (*RemoveFileRequest) XXX_DiscardUnknown ¶
func (m *RemoveFileRequest) XXX_DiscardUnknown()
func (*RemoveFileRequest) XXX_Marshal ¶
func (m *RemoveFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveFileRequest) XXX_Merge ¶
func (m *RemoveFileRequest) XXX_Merge(src proto.Message)
func (*RemoveFileRequest) XXX_Size ¶
func (m *RemoveFileRequest) XXX_Size() int
func (*RemoveFileRequest) XXX_Unmarshal ¶
func (m *RemoveFileRequest) XXX_Unmarshal(b []byte) error
type RemoveFileResponse ¶
type RemoveFileResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveFileResponse) Descriptor ¶
func (*RemoveFileResponse) Descriptor() ([]byte, []int)
func (*RemoveFileResponse) ProtoMessage ¶
func (*RemoveFileResponse) ProtoMessage()
func (*RemoveFileResponse) Reset ¶
func (m *RemoveFileResponse) Reset()
func (*RemoveFileResponse) String ¶
func (m *RemoveFileResponse) String() string
func (*RemoveFileResponse) XXX_DiscardUnknown ¶
func (m *RemoveFileResponse) XXX_DiscardUnknown()
func (*RemoveFileResponse) XXX_Marshal ¶
func (m *RemoveFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveFileResponse) XXX_Merge ¶
func (m *RemoveFileResponse) XXX_Merge(src proto.Message)
func (*RemoveFileResponse) XXX_Size ¶
func (m *RemoveFileResponse) XXX_Size() int
func (*RemoveFileResponse) XXX_Unmarshal ¶
func (m *RemoveFileResponse) XXX_Unmarshal(b []byte) error
type SetTargetVersionRequest ¶
type SetTargetVersionRequest struct { Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetTargetVersionRequest) Descriptor ¶
func (*SetTargetVersionRequest) Descriptor() ([]byte, []int)
func (*SetTargetVersionRequest) GetVersion ¶
func (m *SetTargetVersionRequest) GetVersion() *Version
func (*SetTargetVersionRequest) ProtoMessage ¶
func (*SetTargetVersionRequest) ProtoMessage()
func (*SetTargetVersionRequest) Reset ¶
func (m *SetTargetVersionRequest) Reset()
func (*SetTargetVersionRequest) String ¶
func (m *SetTargetVersionRequest) String() string
func (*SetTargetVersionRequest) XXX_DiscardUnknown ¶
func (m *SetTargetVersionRequest) XXX_DiscardUnknown()
func (*SetTargetVersionRequest) XXX_Marshal ¶
func (m *SetTargetVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetTargetVersionRequest) XXX_Merge ¶
func (m *SetTargetVersionRequest) XXX_Merge(src proto.Message)
func (*SetTargetVersionRequest) XXX_Size ¶
func (m *SetTargetVersionRequest) XXX_Size() int
func (*SetTargetVersionRequest) XXX_Unmarshal ¶
func (m *SetTargetVersionRequest) XXX_Unmarshal(b []byte) error
type SetTargetVersionResponse ¶
type SetTargetVersionResponse struct { Error *errors.Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetTargetVersionResponse) Descriptor ¶
func (*SetTargetVersionResponse) Descriptor() ([]byte, []int)
func (*SetTargetVersionResponse) GetError ¶
func (m *SetTargetVersionResponse) GetError() *errors.Error
func (*SetTargetVersionResponse) ProtoMessage ¶
func (*SetTargetVersionResponse) ProtoMessage()
func (*SetTargetVersionResponse) Reset ¶
func (m *SetTargetVersionResponse) Reset()
func (*SetTargetVersionResponse) String ¶
func (m *SetTargetVersionResponse) String() string
func (*SetTargetVersionResponse) XXX_DiscardUnknown ¶
func (m *SetTargetVersionResponse) XXX_DiscardUnknown()
func (*SetTargetVersionResponse) XXX_Marshal ¶
func (m *SetTargetVersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetTargetVersionResponse) XXX_Merge ¶
func (m *SetTargetVersionResponse) XXX_Merge(src proto.Message)
func (*SetTargetVersionResponse) XXX_Size ¶
func (m *SetTargetVersionResponse) XXX_Size() int
func (*SetTargetVersionResponse) XXX_Unmarshal ¶
func (m *SetTargetVersionResponse) XXX_Unmarshal(b []byte) error
type SyncCompleteRequest ¶
type SyncCompleteRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SyncCompleteRequest) Descriptor ¶
func (*SyncCompleteRequest) Descriptor() ([]byte, []int)
func (*SyncCompleteRequest) ProtoMessage ¶
func (*SyncCompleteRequest) ProtoMessage()
func (*SyncCompleteRequest) Reset ¶
func (m *SyncCompleteRequest) Reset()
func (*SyncCompleteRequest) String ¶
func (m *SyncCompleteRequest) String() string
func (*SyncCompleteRequest) XXX_DiscardUnknown ¶
func (m *SyncCompleteRequest) XXX_DiscardUnknown()
func (*SyncCompleteRequest) XXX_Marshal ¶
func (m *SyncCompleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SyncCompleteRequest) XXX_Merge ¶
func (m *SyncCompleteRequest) XXX_Merge(src proto.Message)
func (*SyncCompleteRequest) XXX_Size ¶
func (m *SyncCompleteRequest) XXX_Size() int
func (*SyncCompleteRequest) XXX_Unmarshal ¶
func (m *SyncCompleteRequest) XXX_Unmarshal(b []byte) error
type SyncCompleteResponse ¶
type SyncCompleteResponse struct { Error *errors.Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SyncCompleteResponse) Descriptor ¶
func (*SyncCompleteResponse) Descriptor() ([]byte, []int)
func (*SyncCompleteResponse) GetError ¶
func (m *SyncCompleteResponse) GetError() *errors.Error
func (*SyncCompleteResponse) ProtoMessage ¶
func (*SyncCompleteResponse) ProtoMessage()
func (*SyncCompleteResponse) Reset ¶
func (m *SyncCompleteResponse) Reset()
func (*SyncCompleteResponse) String ¶
func (m *SyncCompleteResponse) String() string
func (*SyncCompleteResponse) XXX_DiscardUnknown ¶
func (m *SyncCompleteResponse) XXX_DiscardUnknown()
func (*SyncCompleteResponse) XXX_Marshal ¶
func (m *SyncCompleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SyncCompleteResponse) XXX_Merge ¶
func (m *SyncCompleteResponse) XXX_Merge(src proto.Message)
func (*SyncCompleteResponse) XXX_Size ¶
func (m *SyncCompleteResponse) XXX_Size() int
func (*SyncCompleteResponse) XXX_Unmarshal ¶
func (m *SyncCompleteResponse) XXX_Unmarshal(b []byte) error
type SyncConfig ¶
type SyncConfig struct { Rules []*SyncRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"` // The main child command that gets run after every sync. // This is a long-running process, such as `node src/index.js`. OnSyncCommand []string `protobuf:"bytes,2,rep,name=on_sync_command,json=onSyncCommand,proto3" json:"on_sync_command,omitempty"` // An optional command that can be run before running the on_sync_command. // This is a process that completes, and doesn't have to run before every // restart of the on_sync_command. // For Node, this is usually `npm install`. OnInitCommand []string `protobuf:"bytes,3,rep,name=on_init_command,json=onInitCommand,proto3" json:"on_init_command,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SyncConfig) Descriptor ¶
func (*SyncConfig) Descriptor() ([]byte, []int)
func (*SyncConfig) GetOnInitCommand ¶
func (m *SyncConfig) GetOnInitCommand() []string
func (*SyncConfig) GetOnSyncCommand ¶
func (m *SyncConfig) GetOnSyncCommand() []string
func (*SyncConfig) GetRules ¶
func (m *SyncConfig) GetRules() []*SyncRule
func (*SyncConfig) ProtoMessage ¶
func (*SyncConfig) ProtoMessage()
func (*SyncConfig) Reset ¶
func (m *SyncConfig) Reset()
func (*SyncConfig) String ¶
func (m *SyncConfig) String() string
func (*SyncConfig) XXX_DiscardUnknown ¶
func (m *SyncConfig) XXX_DiscardUnknown()
func (*SyncConfig) XXX_Marshal ¶
func (m *SyncConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SyncConfig) XXX_Merge ¶
func (m *SyncConfig) XXX_Merge(src proto.Message)
func (*SyncConfig) XXX_Size ¶
func (m *SyncConfig) XXX_Size() int
func (*SyncConfig) XXX_Unmarshal ¶
func (m *SyncConfig) XXX_Unmarshal(b []byte) error
type SyncRule ¶
type SyncRule struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` Except []string `protobuf:"bytes,3,rep,name=except,proto3" json:"except,omitempty"` TriggerInit bool `protobuf:"varint,4,opt,name=trigger_init,json=triggerInit,proto3" json:"trigger_init,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SyncRule represents how a file should be synced from the local machine into the container. Files at `From` are copied to `To` except for files matching `Except`, which are ignored in both the source and destination.
func (*SyncRule) Descriptor ¶
func (*SyncRule) GetTriggerInit ¶
func (*SyncRule) ProtoMessage ¶
func (*SyncRule) ProtoMessage()
func (*SyncRule) XXX_DiscardUnknown ¶
func (m *SyncRule) XXX_DiscardUnknown()
func (*SyncRule) XXX_Marshal ¶
func (*SyncRule) XXX_Unmarshal ¶
type Version ¶
type Version struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` SyncConfig *SyncConfig `protobuf:"bytes,2,opt,name=sync_config,json=syncConfig,proto3" json:"sync_config,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Version) Descriptor ¶
func (*Version) GetSyncConfig ¶
func (m *Version) GetSyncConfig() *SyncConfig
func (*Version) GetVersion ¶
func (*Version) ProtoMessage ¶
func (*Version) ProtoMessage()
func (*Version) XXX_DiscardUnknown ¶
func (m *Version) XXX_DiscardUnknown()
func (*Version) XXX_Marshal ¶
func (*Version) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.