Documentation
¶
Index ¶
- func CopyFile(srcPath, destPath string) (int64, error)
- func MkdirParents(path string, perm os.FileMode) error
- type ArtifactBroker
- func (b *ArtifactBroker) AttachTestCase(tc core.TestCase)
- func (b *ArtifactBroker) PublishArtifact(destination string, source string)
- func (b *ArtifactBroker) PublishArtifactData(destination string, data []byte)
- func (b *ArtifactBroker) PublishLogFile(name string, source string)
- func (b *ArtifactBroker) StreamArtifactData(destination string) io.WriteCloser
- func (b *ArtifactBroker) UploadArtifact(name string, directory string, source string)
- type ArtifactManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ArtifactBroker ¶
type ArtifactBroker struct {
// contains filtered or unexported fields
}
func (*ArtifactBroker) AttachTestCase ¶
func (b *ArtifactBroker) AttachTestCase(tc core.TestCase)
func (*ArtifactBroker) PublishArtifact ¶
func (b *ArtifactBroker) PublishArtifact(destination string, source string)
PublishArtifact implements storm/artifacts.ArtifactBroker.
func (*ArtifactBroker) PublishArtifactData ¶
func (b *ArtifactBroker) PublishArtifactData(destination string, data []byte)
PublishArtifactData implements storm/artifacts.ArtifactBroker.
func (*ArtifactBroker) PublishLogFile ¶
func (b *ArtifactBroker) PublishLogFile(name string, source string)
PublishLogFile implements storm/artifacts.ArtifactBroker.
func (*ArtifactBroker) StreamArtifactData ¶
func (b *ArtifactBroker) StreamArtifactData(destination string) io.WriteCloser
StreamArtifactData implements storm/artifacts.ArtifactBroker.
func (*ArtifactBroker) UploadArtifact ¶
func (b *ArtifactBroker) UploadArtifact(name string, directory string, source string)
UploadArtifact implements storm/artifacts.ArtifactBroker.
type ArtifactManager ¶
type ArtifactManager struct {
// contains filtered or unexported fields
}
func NewArtifactManager ¶
func NewArtifactManager(suite core.SuiteContext, logDir *string, artifactDir *string) (*ArtifactManager, error)
NewArtifactManager creates a new artifact manager. If logDir is nil, no log artifacts will be saved.
func (*ArtifactManager) NewBroker ¶
func (m *ArtifactManager) NewBroker() *ArtifactBroker
NewBroker creates a new artifact child broker that is attached to this manager. The broker must be attached to a test case before it can be used to publish artifacts.
Click to show internal directories.
Click to hide internal directories.