Documentation ¶
Index ¶
- func RegisterGofigureServer(s *grpc.Server, srv GofigureServer)
- type DeleteRequest
- func (*DeleteRequest) Descriptor() ([]byte, []int)
- func (m *DeleteRequest) GetPath() string
- func (m *DeleteRequest) GetRecursive() bool
- func (*DeleteRequest) ProtoMessage()
- func (m *DeleteRequest) Reset()
- func (m *DeleteRequest) String() string
- func (m *DeleteRequest) XXX_DiscardUnknown()
- func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteRequest) XXX_Merge(src proto.Message)
- func (m *DeleteRequest) XXX_Size() int
- func (m *DeleteRequest) XXX_Unmarshal(b []byte) error
- type DeleteResult
- func (*DeleteResult) Descriptor() ([]byte, []int)
- func (*DeleteResult) ProtoMessage()
- func (m *DeleteResult) Reset()
- func (m *DeleteResult) String() string
- func (m *DeleteResult) XXX_DiscardUnknown()
- func (m *DeleteResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteResult) XXX_Merge(src proto.Message)
- func (m *DeleteResult) XXX_Size() int
- func (m *DeleteResult) XXX_Unmarshal(b []byte) error
- type DirectoryResult
- func (*DirectoryResult) Descriptor() ([]byte, []int)
- func (*DirectoryResult) ProtoMessage()
- func (m *DirectoryResult) Reset()
- func (m *DirectoryResult) String() string
- func (m *DirectoryResult) XXX_DiscardUnknown()
- func (m *DirectoryResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DirectoryResult) XXX_Merge(src proto.Message)
- func (m *DirectoryResult) XXX_Size() int
- func (m *DirectoryResult) XXX_Unmarshal(b []byte) error
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)
- func (*Empty) ProtoMessage()
- func (m *Empty) Reset()
- func (m *Empty) String() string
- func (m *Empty) XXX_DiscardUnknown()
- func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Empty) XXX_Merge(src proto.Message)
- func (m *Empty) XXX_Size() int
- func (m *Empty) XXX_Unmarshal(b []byte) error
- type ExecRequest
- func (*ExecRequest) Descriptor() ([]byte, []int)
- func (m *ExecRequest) GetArgs() []string
- func (m *ExecRequest) GetEnv() []string
- func (m *ExecRequest) GetExecutable() string
- func (m *ExecRequest) GetStdin() []byte
- func (*ExecRequest) ProtoMessage()
- func (m *ExecRequest) Reset()
- func (m *ExecRequest) String() string
- func (m *ExecRequest) XXX_DiscardUnknown()
- func (m *ExecRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecRequest) XXX_Merge(src proto.Message)
- func (m *ExecRequest) XXX_Size() int
- func (m *ExecRequest) XXX_Unmarshal(b []byte) error
- type ExecResult
- func (*ExecResult) Descriptor() ([]byte, []int)
- func (m *ExecResult) GetReturnCode() int32
- func (m *ExecResult) GetStderr() string
- func (m *ExecResult) GetStdout() string
- func (*ExecResult) ProtoMessage()
- func (m *ExecResult) Reset()
- func (m *ExecResult) String() string
- func (m *ExecResult) XXX_DiscardUnknown()
- func (m *ExecResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecResult) XXX_Merge(src proto.Message)
- func (m *ExecResult) XXX_Size() int
- func (m *ExecResult) XXX_Unmarshal(b []byte) error
- type FilePath
- func (*FilePath) Descriptor() ([]byte, []int)
- func (m *FilePath) GetPath() string
- func (*FilePath) ProtoMessage()
- func (m *FilePath) Reset()
- func (m *FilePath) String() string
- func (m *FilePath) XXX_DiscardUnknown()
- func (m *FilePath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FilePath) XXX_Merge(src proto.Message)
- func (m *FilePath) XXX_Size() int
- func (m *FilePath) XXX_Unmarshal(b []byte) error
- type FileProperties
- func (*FileProperties) Descriptor() ([]byte, []int)
- func (m *FileProperties) GetGroup() string
- func (m *FileProperties) GetMode() string
- func (m *FileProperties) GetOwner() string
- func (m *FileProperties) GetPath() string
- func (*FileProperties) ProtoMessage()
- func (m *FileProperties) Reset()
- func (m *FileProperties) String() string
- func (m *FileProperties) XXX_DiscardUnknown()
- func (m *FileProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FileProperties) XXX_Merge(src proto.Message)
- func (m *FileProperties) XXX_Size() int
- func (m *FileProperties) XXX_Unmarshal(b []byte) error
- type FileRequest
- func (*FileRequest) Descriptor() ([]byte, []int)
- func (m *FileRequest) GetContent() []byte
- func (m *FileRequest) GetLinkTarget() string
- func (m *FileRequest) GetProperties() *FileProperties
- func (m *FileRequest) GetRecursive() bool
- func (m *FileRequest) GetTouch() bool
- func (*FileRequest) ProtoMessage()
- func (m *FileRequest) Reset()
- func (m *FileRequest) String() string
- func (m *FileRequest) XXX_DiscardUnknown()
- func (m *FileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FileRequest) XXX_Merge(src proto.Message)
- func (m *FileRequest) XXX_Size() int
- func (m *FileRequest) XXX_Unmarshal(b []byte) error
- type FileResult
- func (*FileResult) Descriptor() ([]byte, []int)
- func (*FileResult) ProtoMessage()
- func (m *FileResult) Reset()
- func (m *FileResult) String() string
- func (m *FileResult) XXX_DiscardUnknown()
- func (m *FileResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FileResult) XXX_Merge(src proto.Message)
- func (m *FileResult) XXX_Size() int
- func (m *FileResult) XXX_Unmarshal(b []byte) error
- type GofigureClient
- type GofigureServer
- type LineInFileRequest
- func (*LineInFileRequest) Descriptor() ([]byte, []int)
- func (m *LineInFileRequest) GetLine() string
- func (m *LineInFileRequest) GetProperties() *FileProperties
- func (m *LineInFileRequest) GetRegex() string
- func (*LineInFileRequest) ProtoMessage()
- func (m *LineInFileRequest) Reset()
- func (m *LineInFileRequest) String() string
- func (m *LineInFileRequest) XXX_DiscardUnknown()
- func (m *LineInFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LineInFileRequest) XXX_Merge(src proto.Message)
- func (m *LineInFileRequest) XXX_Size() int
- func (m *LineInFileRequest) XXX_Unmarshal(b []byte) error
- type LineInFileResult
- func (*LineInFileResult) Descriptor() ([]byte, []int)
- func (*LineInFileResult) ProtoMessage()
- func (m *LineInFileResult) Reset()
- func (m *LineInFileResult) String() string
- func (m *LineInFileResult) XXX_DiscardUnknown()
- func (m *LineInFileResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LineInFileResult) XXX_Merge(src proto.Message)
- func (m *LineInFileResult) XXX_Size() int
- func (m *LineInFileResult) XXX_Unmarshal(b []byte) error
- type StatResult
- func (*StatResult) Descriptor() ([]byte, []int)
- func (m *StatResult) GetExists() bool
- func (m *StatResult) GetGid() uint32
- func (m *StatResult) GetGroup() string
- func (m *StatResult) GetIsDir() bool
- func (m *StatResult) GetMode() string
- func (m *StatResult) GetOwner() string
- func (m *StatResult) GetSize() int64
- func (m *StatResult) GetUid() uint32
- func (*StatResult) ProtoMessage()
- func (m *StatResult) Reset()
- func (m *StatResult) String() string
- func (m *StatResult) XXX_DiscardUnknown()
- func (m *StatResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StatResult) XXX_Merge(src proto.Message)
- func (m *StatResult) XXX_Size() int
- func (m *StatResult) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterGofigureServer ¶
func RegisterGofigureServer(s *grpc.Server, srv GofigureServer)
Types ¶
type DeleteRequest ¶
type DeleteRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Recursive bool `protobuf:"varint,2,opt,name=recursive,proto3" json:"recursive,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteRequest) Descriptor ¶
func (*DeleteRequest) Descriptor() ([]byte, []int)
func (*DeleteRequest) GetPath ¶
func (m *DeleteRequest) GetPath() string
func (*DeleteRequest) GetRecursive ¶
func (m *DeleteRequest) GetRecursive() bool
func (*DeleteRequest) ProtoMessage ¶
func (*DeleteRequest) ProtoMessage()
func (*DeleteRequest) Reset ¶
func (m *DeleteRequest) Reset()
func (*DeleteRequest) String ¶
func (m *DeleteRequest) String() string
func (*DeleteRequest) XXX_DiscardUnknown ¶
func (m *DeleteRequest) XXX_DiscardUnknown()
func (*DeleteRequest) XXX_Marshal ¶
func (m *DeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteRequest) XXX_Merge ¶
func (m *DeleteRequest) XXX_Merge(src proto.Message)
func (*DeleteRequest) XXX_Size ¶
func (m *DeleteRequest) XXX_Size() int
func (*DeleteRequest) XXX_Unmarshal ¶
func (m *DeleteRequest) XXX_Unmarshal(b []byte) error
type DeleteResult ¶
type DeleteResult struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteResult) Descriptor ¶
func (*DeleteResult) Descriptor() ([]byte, []int)
func (*DeleteResult) ProtoMessage ¶
func (*DeleteResult) ProtoMessage()
func (*DeleteResult) Reset ¶
func (m *DeleteResult) Reset()
func (*DeleteResult) String ¶
func (m *DeleteResult) String() string
func (*DeleteResult) XXX_DiscardUnknown ¶
func (m *DeleteResult) XXX_DiscardUnknown()
func (*DeleteResult) XXX_Marshal ¶
func (m *DeleteResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteResult) XXX_Merge ¶
func (m *DeleteResult) XXX_Merge(src proto.Message)
func (*DeleteResult) XXX_Size ¶
func (m *DeleteResult) XXX_Size() int
func (*DeleteResult) XXX_Unmarshal ¶
func (m *DeleteResult) XXX_Unmarshal(b []byte) error
type DirectoryResult ¶
type DirectoryResult struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DirectoryResult) Descriptor ¶
func (*DirectoryResult) Descriptor() ([]byte, []int)
func (*DirectoryResult) ProtoMessage ¶
func (*DirectoryResult) ProtoMessage()
func (*DirectoryResult) Reset ¶
func (m *DirectoryResult) Reset()
func (*DirectoryResult) String ¶
func (m *DirectoryResult) String() string
func (*DirectoryResult) XXX_DiscardUnknown ¶
func (m *DirectoryResult) XXX_DiscardUnknown()
func (*DirectoryResult) XXX_Marshal ¶
func (m *DirectoryResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DirectoryResult) XXX_Merge ¶
func (m *DirectoryResult) XXX_Merge(src proto.Message)
func (*DirectoryResult) XXX_Size ¶
func (m *DirectoryResult) XXX_Size() int
func (*DirectoryResult) XXX_Unmarshal ¶
func (m *DirectoryResult) XXX_Unmarshal(b []byte) error
type Empty ¶
type Empty struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) XXX_DiscardUnknown ¶
func (m *Empty) XXX_DiscardUnknown()
func (*Empty) XXX_Marshal ¶
func (*Empty) XXX_Unmarshal ¶
type ExecRequest ¶
type ExecRequest struct { Executable string `protobuf:"bytes,1,opt,name=executable,proto3" json:"executable,omitempty"` Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"` Stdin []byte `protobuf:"bytes,3,opt,name=stdin,proto3" json:"stdin,omitempty"` Env []string `protobuf:"bytes,4,rep,name=env,proto3" json:"env,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExecRequest) Descriptor ¶
func (*ExecRequest) Descriptor() ([]byte, []int)
func (*ExecRequest) GetArgs ¶
func (m *ExecRequest) GetArgs() []string
func (*ExecRequest) GetEnv ¶
func (m *ExecRequest) GetEnv() []string
func (*ExecRequest) GetExecutable ¶
func (m *ExecRequest) GetExecutable() string
func (*ExecRequest) GetStdin ¶
func (m *ExecRequest) GetStdin() []byte
func (*ExecRequest) ProtoMessage ¶
func (*ExecRequest) ProtoMessage()
func (*ExecRequest) Reset ¶
func (m *ExecRequest) Reset()
func (*ExecRequest) String ¶
func (m *ExecRequest) String() string
func (*ExecRequest) XXX_DiscardUnknown ¶
func (m *ExecRequest) XXX_DiscardUnknown()
func (*ExecRequest) XXX_Marshal ¶
func (m *ExecRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecRequest) XXX_Merge ¶
func (m *ExecRequest) XXX_Merge(src proto.Message)
func (*ExecRequest) XXX_Size ¶
func (m *ExecRequest) XXX_Size() int
func (*ExecRequest) XXX_Unmarshal ¶
func (m *ExecRequest) XXX_Unmarshal(b []byte) error
type ExecResult ¶
type ExecResult struct { ReturnCode int32 `protobuf:"varint,1,opt,name=returnCode,proto3" json:"returnCode,omitempty"` Stdout string `protobuf:"bytes,2,opt,name=stdout,proto3" json:"stdout,omitempty"` Stderr string `protobuf:"bytes,3,opt,name=stderr,proto3" json:"stderr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ExecResult) Descriptor ¶
func (*ExecResult) Descriptor() ([]byte, []int)
func (*ExecResult) GetReturnCode ¶
func (m *ExecResult) GetReturnCode() int32
func (*ExecResult) GetStderr ¶
func (m *ExecResult) GetStderr() string
func (*ExecResult) GetStdout ¶
func (m *ExecResult) GetStdout() string
func (*ExecResult) ProtoMessage ¶
func (*ExecResult) ProtoMessage()
func (*ExecResult) Reset ¶
func (m *ExecResult) Reset()
func (*ExecResult) String ¶
func (m *ExecResult) String() string
func (*ExecResult) XXX_DiscardUnknown ¶
func (m *ExecResult) XXX_DiscardUnknown()
func (*ExecResult) XXX_Marshal ¶
func (m *ExecResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExecResult) XXX_Merge ¶
func (m *ExecResult) XXX_Merge(src proto.Message)
func (*ExecResult) XXX_Size ¶
func (m *ExecResult) XXX_Size() int
func (*ExecResult) XXX_Unmarshal ¶
func (m *ExecResult) XXX_Unmarshal(b []byte) error
type FilePath ¶
type FilePath 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 (*FilePath) Descriptor ¶
func (*FilePath) ProtoMessage ¶
func (*FilePath) ProtoMessage()
func (*FilePath) XXX_DiscardUnknown ¶
func (m *FilePath) XXX_DiscardUnknown()
func (*FilePath) XXX_Marshal ¶
func (*FilePath) XXX_Unmarshal ¶
type FileProperties ¶
type FileProperties struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` Group string `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"` // Everyone gets octal wrong, so only accept strings Mode string `protobuf:"bytes,4,opt,name=mode,proto3" json:"mode,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FileProperties) Descriptor ¶
func (*FileProperties) Descriptor() ([]byte, []int)
func (*FileProperties) GetGroup ¶
func (m *FileProperties) GetGroup() string
func (*FileProperties) GetMode ¶
func (m *FileProperties) GetMode() string
func (*FileProperties) GetOwner ¶
func (m *FileProperties) GetOwner() string
func (*FileProperties) GetPath ¶
func (m *FileProperties) GetPath() string
func (*FileProperties) ProtoMessage ¶
func (*FileProperties) ProtoMessage()
func (*FileProperties) Reset ¶
func (m *FileProperties) Reset()
func (*FileProperties) String ¶
func (m *FileProperties) String() string
func (*FileProperties) XXX_DiscardUnknown ¶
func (m *FileProperties) XXX_DiscardUnknown()
func (*FileProperties) XXX_Marshal ¶
func (m *FileProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FileProperties) XXX_Merge ¶
func (m *FileProperties) XXX_Merge(src proto.Message)
func (*FileProperties) XXX_Size ¶
func (m *FileProperties) XXX_Size() int
func (*FileProperties) XXX_Unmarshal ¶
func (m *FileProperties) XXX_Unmarshal(b []byte) error
type FileRequest ¶
type FileRequest struct { Properties *FileProperties `protobuf:"bytes,1,opt,name=properties,proto3" json:"properties,omitempty"` //enum State { // file = 0; // directory = 1; // absent = 2; // symlink = 3; // hardlink = 4; //} //State state = 2; Recursive bool `protobuf:"varint,2,opt,name=recursive,proto3" json:"recursive,omitempty"` Touch bool `protobuf:"varint,3,opt,name=touch,proto3" json:"touch,omitempty"` LinkTarget string `protobuf:"bytes,4,opt,name=linkTarget,proto3" json:"linkTarget,omitempty"` Content []byte `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FileRequest) Descriptor ¶
func (*FileRequest) Descriptor() ([]byte, []int)
func (*FileRequest) GetContent ¶
func (m *FileRequest) GetContent() []byte
func (*FileRequest) GetLinkTarget ¶
func (m *FileRequest) GetLinkTarget() string
func (*FileRequest) GetProperties ¶
func (m *FileRequest) GetProperties() *FileProperties
func (*FileRequest) GetRecursive ¶
func (m *FileRequest) GetRecursive() bool
func (*FileRequest) GetTouch ¶
func (m *FileRequest) GetTouch() bool
func (*FileRequest) ProtoMessage ¶
func (*FileRequest) ProtoMessage()
func (*FileRequest) Reset ¶
func (m *FileRequest) Reset()
func (*FileRequest) String ¶
func (m *FileRequest) String() string
func (*FileRequest) XXX_DiscardUnknown ¶
func (m *FileRequest) XXX_DiscardUnknown()
func (*FileRequest) XXX_Marshal ¶
func (m *FileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FileRequest) XXX_Merge ¶
func (m *FileRequest) XXX_Merge(src proto.Message)
func (*FileRequest) XXX_Size ¶
func (m *FileRequest) XXX_Size() int
func (*FileRequest) XXX_Unmarshal ¶
func (m *FileRequest) XXX_Unmarshal(b []byte) error
type FileResult ¶
type FileResult struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FileResult) Descriptor ¶
func (*FileResult) Descriptor() ([]byte, []int)
func (*FileResult) ProtoMessage ¶
func (*FileResult) ProtoMessage()
func (*FileResult) Reset ¶
func (m *FileResult) Reset()
func (*FileResult) String ¶
func (m *FileResult) String() string
func (*FileResult) XXX_DiscardUnknown ¶
func (m *FileResult) XXX_DiscardUnknown()
func (*FileResult) XXX_Marshal ¶
func (m *FileResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FileResult) XXX_Merge ¶
func (m *FileResult) XXX_Merge(src proto.Message)
func (*FileResult) XXX_Size ¶
func (m *FileResult) XXX_Size() int
func (*FileResult) XXX_Unmarshal ¶
func (m *FileResult) XXX_Unmarshal(b []byte) error
type GofigureClient ¶
type GofigureClient interface { Directory(ctx context.Context, in *FileRequest, opts ...grpc.CallOption) (*DirectoryResult, error) File(ctx context.Context, in *FileRequest, opts ...grpc.CallOption) (*FileResult, error) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResult, error) Stat(ctx context.Context, in *FilePath, opts ...grpc.CallOption) (*StatResult, error) LineInFile(ctx context.Context, in *LineInFileRequest, opts ...grpc.CallOption) (*LineInFileResult, error) Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResult, error) Exit(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Empty, error) }
GofigureClient is the client API for Gofigure service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewGofigureClient ¶
func NewGofigureClient(cc *grpc.ClientConn) GofigureClient
type GofigureServer ¶
type GofigureServer interface { Directory(context.Context, *FileRequest) (*DirectoryResult, error) File(context.Context, *FileRequest) (*FileResult, error) Delete(context.Context, *DeleteRequest) (*DeleteResult, error) Stat(context.Context, *FilePath) (*StatResult, error) LineInFile(context.Context, *LineInFileRequest) (*LineInFileResult, error) Exec(context.Context, *ExecRequest) (*ExecResult, error) Exit(context.Context, *Empty) (*Empty, error) }
GofigureServer is the server API for Gofigure service.
type LineInFileRequest ¶
type LineInFileRequest struct { Properties *FileProperties `protobuf:"bytes,1,opt,name=properties,proto3" json:"properties,omitempty"` Line string `protobuf:"bytes,2,opt,name=line,proto3" json:"line,omitempty"` Regex string `protobuf:"bytes,3,opt,name=regex,proto3" json:"regex,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LineInFileRequest) Descriptor ¶
func (*LineInFileRequest) Descriptor() ([]byte, []int)
func (*LineInFileRequest) GetLine ¶
func (m *LineInFileRequest) GetLine() string
func (*LineInFileRequest) GetProperties ¶
func (m *LineInFileRequest) GetProperties() *FileProperties
func (*LineInFileRequest) GetRegex ¶
func (m *LineInFileRequest) GetRegex() string
func (*LineInFileRequest) ProtoMessage ¶
func (*LineInFileRequest) ProtoMessage()
func (*LineInFileRequest) Reset ¶
func (m *LineInFileRequest) Reset()
func (*LineInFileRequest) String ¶
func (m *LineInFileRequest) String() string
func (*LineInFileRequest) XXX_DiscardUnknown ¶
func (m *LineInFileRequest) XXX_DiscardUnknown()
func (*LineInFileRequest) XXX_Marshal ¶
func (m *LineInFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LineInFileRequest) XXX_Merge ¶
func (m *LineInFileRequest) XXX_Merge(src proto.Message)
func (*LineInFileRequest) XXX_Size ¶
func (m *LineInFileRequest) XXX_Size() int
func (*LineInFileRequest) XXX_Unmarshal ¶
func (m *LineInFileRequest) XXX_Unmarshal(b []byte) error
type LineInFileResult ¶
type LineInFileResult struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LineInFileResult) Descriptor ¶
func (*LineInFileResult) Descriptor() ([]byte, []int)
func (*LineInFileResult) ProtoMessage ¶
func (*LineInFileResult) ProtoMessage()
func (*LineInFileResult) Reset ¶
func (m *LineInFileResult) Reset()
func (*LineInFileResult) String ¶
func (m *LineInFileResult) String() string
func (*LineInFileResult) XXX_DiscardUnknown ¶
func (m *LineInFileResult) XXX_DiscardUnknown()
func (*LineInFileResult) XXX_Marshal ¶
func (m *LineInFileResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LineInFileResult) XXX_Merge ¶
func (m *LineInFileResult) XXX_Merge(src proto.Message)
func (*LineInFileResult) XXX_Size ¶
func (m *LineInFileResult) XXX_Size() int
func (*LineInFileResult) XXX_Unmarshal ¶
func (m *LineInFileResult) XXX_Unmarshal(b []byte) error
type StatResult ¶
type StatResult struct { Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` Mode string `protobuf:"bytes,2,opt,name=mode,proto3" json:"mode,omitempty"` IsDir bool `protobuf:"varint,3,opt,name=isDir,proto3" json:"isDir,omitempty"` Exists bool `protobuf:"varint,4,opt,name=exists,proto3" json:"exists,omitempty"` Uid uint32 `protobuf:"varint,5,opt,name=uid,proto3" json:"uid,omitempty"` Gid uint32 `protobuf:"varint,6,opt,name=gid,proto3" json:"gid,omitempty"` Owner string `protobuf:"bytes,7,opt,name=owner,proto3" json:"owner,omitempty"` Group string `protobuf:"bytes,8,opt,name=group,proto3" json:"group,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StatResult) Descriptor ¶
func (*StatResult) Descriptor() ([]byte, []int)
func (*StatResult) GetExists ¶
func (m *StatResult) GetExists() bool
func (*StatResult) GetGid ¶
func (m *StatResult) GetGid() uint32
func (*StatResult) GetGroup ¶
func (m *StatResult) GetGroup() string
func (*StatResult) GetIsDir ¶
func (m *StatResult) GetIsDir() bool
func (*StatResult) GetMode ¶
func (m *StatResult) GetMode() string
func (*StatResult) GetOwner ¶
func (m *StatResult) GetOwner() string
func (*StatResult) GetSize ¶
func (m *StatResult) GetSize() int64
func (*StatResult) GetUid ¶
func (m *StatResult) GetUid() uint32
func (*StatResult) ProtoMessage ¶
func (*StatResult) ProtoMessage()
func (*StatResult) Reset ¶
func (m *StatResult) Reset()
func (*StatResult) String ¶
func (m *StatResult) String() string
func (*StatResult) XXX_DiscardUnknown ¶
func (m *StatResult) XXX_DiscardUnknown()
func (*StatResult) XXX_Marshal ¶
func (m *StatResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StatResult) XXX_Merge ¶
func (m *StatResult) XXX_Merge(src proto.Message)
func (*StatResult) XXX_Size ¶
func (m *StatResult) XXX_Size() int
func (*StatResult) XXX_Unmarshal ¶
func (m *StatResult) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.