Documentation
¶
Overview ¶
Package sync provides a wrapper around the generated OpenAPI client for sync operations
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 wraps the generated OpenAPI client with convenience methods
func (*Client) PushFlags ¶
func (c *Client) PushFlags(ctx context.Context, localFlags *flagset.Flagset, remoteFlags *flagset.Flagset, dryRun bool) (*PushResult, error)
PushFlags fetches remote flags, compares with local flags, and intelligently creates or updates flags as needed. Returns a PushResult with details of what was changed. If dryRun is true, only performs the comparison without making actual API calls.
Click to show internal directories.
Click to hide internal directories.