Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blob ¶
type Blob struct {
// contains filtered or unexported fields
}
func (Blob) Uncompressed ¶
func (b Blob) Uncompressed() (io.ReadCloser, error)
type FileTarget ¶
type FileTarget struct {
// contains filtered or unexported fields
}
FileTarget writes an artifact tarball to a local file.
func NewFileTarget ¶
func NewFileTarget(path string) *FileTarget
NewFileTarget returns a *FileTarget for the given path.
func (*FileTarget) Write ¶
func (t *FileTarget) Write(ctx context.Context, mdl types.ModelArtifact, pw io.Writer) error
Write writes the given artifact to the target.
Click to show internal directories.
Click to hide internal directories.