artifacts

package
v0.2.31 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2022 License: MIT Imports: 14 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(ctx context.Context, artifactPath string, port string) context.CancelFunc

Types

type ContainerItem

type ContainerItem struct {
	Path            string `json:"path"`
	ItemType        string `json:"itemType"`
	ContentLocation string `json:"contentLocation"`
}

type ContainerItemResponse

type ContainerItemResponse struct {
	Value []ContainerItem `json:"value"`
}

type FileContainerResourceURL

type FileContainerResourceURL struct {
	FileContainerResourceURL string `json:"fileContainerResourceUrl"`
}

type MkdirFS

type MkdirFS interface {
	fs.FS
	MkdirAll(path string, perm fs.FileMode) error
	Open(name string) (fs.File, error)
	OpenAtEnd(name string) (fs.File, error)
}

type MkdirFsImpl

type MkdirFsImpl struct {
	fs.FS
	// contains filtered or unexported fields
}

func (MkdirFsImpl) MkdirAll

func (fsys MkdirFsImpl) MkdirAll(path string, perm fs.FileMode) error

func (MkdirFsImpl) Open

func (fsys MkdirFsImpl) Open(name string) (fs.File, error)

func (MkdirFsImpl) OpenAtEnd added in v0.2.27

func (fsys MkdirFsImpl) OpenAtEnd(name string) (fs.File, error)

type NamedFileContainerResourceURL

type NamedFileContainerResourceURL struct {
	Name                     string `json:"name"`
	FileContainerResourceURL string `json:"fileContainerResourceUrl"`
}

type NamedFileContainerResourceURLResponse

type NamedFileContainerResourceURLResponse struct {
	Count int                             `json:"count"`
	Value []NamedFileContainerResourceURL `json:"value"`
}

type ResponseMessage

type ResponseMessage struct {
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL