Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Archiver ¶
func NewTarArchiver ¶
func NewTarArchiver(out io.WriteCloser) Archiver
type ArchiverServer ¶ added in v0.18.0
type ArchiverServer struct {
// contains filtered or unexported fields
}
func NewArchiverServer ¶ added in v0.18.0
func NewArchiverServer(addr, outdir, outerExt string, builder WriteCloserBuilder) *ArchiverServer
func (*ArchiverServer) EnableTLS ¶ added in v0.18.0
func (s *ArchiverServer) EnableTLS(serverCert, serverKey, clientCA string) error
func (*ArchiverServer) Shutdown ¶ added in v0.18.0
func (s *ArchiverServer) Shutdown(ctx context.Context) error
func (*ArchiverServer) Start ¶ added in v0.18.0
func (s *ArchiverServer) Start() error
type CreateReportRequest ¶ added in v0.18.0
type CreateReportRequest struct {
Name string `json:"name"`
}
type RemoteArchiver ¶ added in v0.18.0
type RemoteArchiver struct {
// contains filtered or unexported fields
}
func NewRemoteArchiver ¶ added in v0.18.0
func NewRemoteArchiver(server string) (*RemoteArchiver, error)
func (*RemoteArchiver) Close ¶ added in v0.18.0
func (a *RemoteArchiver) Close() error
func (*RemoteArchiver) Create ¶ added in v0.18.0
func (a *RemoteArchiver) Create(name string) (io.WriteCloser, error)
func (*RemoteArchiver) InitReport ¶ added in v0.18.0
func (a *RemoteArchiver) InitReport(reportName string) error
func (*RemoteArchiver) SetClientCert ¶ added in v0.18.0
func (a *RemoteArchiver) SetClientCert(certPath, keyPath string) error
func (*RemoteArchiver) SetServerCA ¶ added in v0.18.0
func (a *RemoteArchiver) SetServerCA(filepath string) error
type WriteCloserBuilder ¶ added in v0.18.0
type WriteCloserBuilder interface {
Build(closer io.WriteCloser) (io.WriteCloser, error)
}
Click to show internal directories.
Click to hide internal directories.