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
}
Client encapsulates communication with the API.
func New ¶
func New(cfg *Configuration) (*Client, error)
New returns an effx Client encapsulating operations with the API
func (*Client) DetectServices ¶ added in v0.0.3
DetectServices attempts to detect services based on repo work dir.
func (*Client) IsFeatureDisabled ¶ added in v0.0.3
IsFeatureDisabled returns if a given feature is disabled. example: LANGUAGE_DETECTION
func (*Client) Sync ¶
func (c *Client) Sync(syncRequest *SyncRequest) error
Sync attempts to synchronize provided contents with the upstream api.
type Configuration ¶
Configuration encapsulates information needed for communicating with effx
func DefaultConfigWithFlags ¶
func DefaultConfigWithFlags() (*Configuration, []cli.Flag)
DefaultConfigWithFlags returns configuration and flags specific to effx
func (*Configuration) Validate ¶
func (c *Configuration) Validate() error
Validate ensures the configuration provided contains the required information.
Click to show internal directories.
Click to hide internal directories.