Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Flow ¶
func (c *Client) Flow(flow string) *FlowCommandChain
func (*Client) SetSizeLimit ¶ added in v0.1.3
Nax number of bytes to read for a single message. Limit must be in human-readable format (i.e. 10M, 50KB, etc) - for more details refer to https://pkg.go.dev/github.com/docker/go-units@v0.5.0#section-documentation
type Credentials ¶
func (*Credentials) GetUserInfo ¶
func (c *Credentials) GetUserInfo() *url.Userinfo
type File ¶ added in v0.1.2
func (*File) Image ¶ added in v0.1.2
Uses image.Decode to decode an image that has been encoded in a registered format. The string returned is the format name.
func (*File) Kind ¶ added in v0.1.2
Generic file kind extracted from MIME-type (i.e. text, image, etc).
type FlowCommandChain ¶
type FlowCommandChain struct {
// contains filtered or unexported fields
}
func (*FlowCommandChain) Run ¶
func (chain *FlowCommandChain) Run() *RobocatFlow
func (*FlowCommandChain) WithData ¶
func (chain *FlowCommandChain) WithData(data string) *FlowCommandChain
func (*FlowCommandChain) WithProxy ¶
func (chain *FlowCommandChain) WithProxy(proxy string) *FlowCommandChain
func (*FlowCommandChain) WithTimeout ¶
func (chain *FlowCommandChain) WithTimeout(timeout time.Duration) *FlowCommandChain
type RobocatFileStream ¶
type RobocatFileStream struct { RobocatStream[*File] }
type RobocatFlow ¶
type RobocatFlow struct {
// contains filtered or unexported fields
}
func (*RobocatFlow) Done ¶
func (f *RobocatFlow) Done() <-chan struct{}
func (*RobocatFlow) Err ¶
func (f *RobocatFlow) Err() error
func (*RobocatFlow) Files ¶
func (f *RobocatFlow) Files() *RobocatFileStream
func (*RobocatFlow) Log ¶
func (f *RobocatFlow) Log() *RobocatLogStream
func (*RobocatFlow) Wait ¶
func (f *RobocatFlow) Wait() error
type RobocatInput ¶
type RobocatInput struct {
// contains filtered or unexported fields
}
type RobocatLogStream ¶
type RobocatLogStream struct { RobocatStream[string] }
type RobocatStream ¶
type RobocatStream[T any] struct { // contains filtered or unexported fields }
func (*RobocatStream[T]) Channel ¶
func (s *RobocatStream[T]) Channel() <-chan T
Get read-only channel with stream items.
func (*RobocatStream[T]) Push ¶
func (s *RobocatStream[T]) Push(item T) error
Append a new item to the stream.
func (*RobocatStream[T]) Watch ¶
func (s *RobocatStream[T]) Watch(callback func(item T))
Click to show internal directories.
Click to hide internal directories.