Documentation
¶
Index ¶
- func NewAzureBlobFS(client *azblob.Client, container string) *azureBlobFS
- func NewGCSFS(client *gcs.Client, bucket string) *gcsFS
- func NewLocalFS(base string) *localFS
- func NewS3FS(client *s3.Client, bucket string) *s3FS
- func NewSMBFS(server string, port, share string, auth types.Authentication) (*smbFS, error)
- func NewSSHFS(host, user, password string) (*sshFS, error)
- func SaveArtifact(ctx context.Context, fs artifact.FilesystemRW, a *models.Artifact, ...) error
- func SaveArtifactInline(ctx gocontext.Context, fs artifact.FilesystemRW, path string, data []byte) (os.FileInfo, error)
- type Artifact
- type MIMEWriter
- type SMBFileInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAzureBlobFS ¶
func NewLocalFS ¶
func NewLocalFS(base string) *localFS
func NewSMBFS ¶
func NewSMBFS(server string, port, share string, auth types.Authentication) (*smbFS, error)
func SaveArtifact ¶
Types ¶
type MIMEWriter ¶
type MIMEWriter struct {
Max int
// contains filtered or unexported fields
}
func (*MIMEWriter) Detect ¶
func (t *MIMEWriter) Detect() *mimetype.MIME
type SMBFileInfo ¶
func (*SMBFileInfo) FullPath ¶
func (t *SMBFileInfo) FullPath() string
Click to show internal directories.
Click to hide internal directories.