Documentation
¶
Index ¶
- type Store
- func (s *Store) Delete(ctx context.Context, key string) error
- func (s *Store) Download(ctx context.Context, key string) ([]planfile.FileResult, *planfile.Metadata, error)
- func (s *Store) Exists(ctx context.Context, key string) (bool, error)
- func (s *Store) GetMetadata(ctx context.Context, key string) (*planfile.Metadata, error)
- func (s *Store) List(ctx context.Context, query planfile.Query) ([]planfile.PlanfileInfo, error)
- func (s *Store) Name() string
- func (s *Store) Upload(ctx context.Context, key string, files []planfile.FileEntry, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store adapts an artifact.Store to implement planfile.Store. It passes file entries through directly and converts metadata between formats.
func (*Store) Download ¶
func (s *Store) Download(ctx context.Context, key string) ([]planfile.FileResult, *planfile.Metadata, error)
Download downloads planfile entries from the backend and converts metadata.
func (*Store) GetMetadata ¶
GetMetadata retrieves planfile metadata without downloading content.
Click to show internal directories.
Click to hide internal directories.