Documentation
¶
Overview ¶
Package contentstate adapts the runner's private Linux content store.
Index ¶
- type Adapter
- func (adapter *Adapter) OpenPinned(ctx context.Context, identity jobcontract.ContentIdentity) (jobcontent.PinnedContent, error)
- func (adapter *Adapter) PutContent(ctx context.Context, identity jobcontract.ContentIdentity, source io.Reader) (bool, error)
- func (adapter *Adapter) Ready(ctx context.Context) error
- func (adapter *Adapter) Store() jobcontent.Store
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
func (*Adapter) OpenPinned ¶
func (adapter *Adapter) OpenPinned( ctx context.Context, identity jobcontract.ContentIdentity, ) (jobcontent.PinnedContent, error)
func (*Adapter) PutContent ¶
func (adapter *Adapter) PutContent( ctx context.Context, identity jobcontract.ContentIdentity, source io.Reader, ) (bool, error)
func (*Adapter) Store ¶
func (adapter *Adapter) Store() jobcontent.Store
Click to show internal directories.
Click to hide internal directories.