Documentation
¶
Index ¶
- type Client
- func (c *Client) CreateProject(ctx context.Context, request CreateProjectRequest) (*CreatedProject, error)
- func (c *Client) EnableSite(ctx context.Context, siteID int) error
- func (c *Client) ListProjects(ctx context.Context) ([]Project, error)
- func (c *Client) ListWorkflowTemplates(ctx context.Context) ([]WorkflowTemplate, error)
- func (c *Client) SyncProject(ctx context.Context, projectID int) (*SyncResult, error)
- type CreateProjectRequest
- type CreatedProject
- type GitSettings
- type Project
- type SyncResult
- type WorkflowTemplate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
BaseURL string
OrgID string
Store *authutil.SessionStore
Clerk *authutil.ClerkClient
HTTPClient *http.Client
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(baseURL, organizationID string, store *authutil.SessionStore, clerk *authutil.ClerkClient) *Client
func (*Client) CreateProject ¶
func (c *Client) CreateProject(ctx context.Context, request CreateProjectRequest) (*CreatedProject, error)
func (*Client) ListWorkflowTemplates ¶
func (c *Client) ListWorkflowTemplates(ctx context.Context) ([]WorkflowTemplate, error)
func (*Client) SyncProject ¶
type CreateProjectRequest ¶
type CreatedProject ¶
type GitSettings ¶
type SyncResult ¶
Click to show internal directories.
Click to hide internal directories.