Documentation
¶
Index ¶
- type Client
- func (c *Client) Call(ctx context.Context, operationID string, params map[string]any) (map[string]any, error)
- func (c *Client) CreateProject(ctx context.Context, name, description string) (map[string]any, error)
- func (c *Client) DeployApplication(ctx context.Context, uuid string) (map[string]any, error)
- func (c *Client) GetApplication(ctx context.Context, uuid string) (map[string]any, error)
- func (c *Client) GetDatabase(ctx context.Context, uuid string) (map[string]any, error)
- func (c *Client) GetProject(ctx context.Context, uuid string) (map[string]any, error)
- func (c *Client) GetServer(ctx context.Context, uuid string) (map[string]any, error)
- func (c *Client) GetService(ctx context.Context, uuid string) (map[string]any, error)
- func (c *Client) GetTeam(ctx context.Context) (map[string]any, error)
- func (c *Client) GetTeamMembers(ctx context.Context) ([]map[string]any, error)
- func (c *Client) ListApplications(ctx context.Context) ([]map[string]any, error)
- func (c *Client) ListDatabases(ctx context.Context) ([]map[string]any, error)
- func (c *Client) ListEnvironments(ctx context.Context, projectUUID string) ([]map[string]any, error)
- func (c *Client) ListProjects(ctx context.Context) ([]map[string]any, error)
- func (c *Client) ListServers(ctx context.Context) ([]map[string]any, error)
- func (c *Client) ListServices(ctx context.Context) ([]map[string]any, error)
- func (c *Client) ValidateServer(ctx context.Context, uuid string) (map[string]any, error)
- type Config
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 Python CoolifyClient for Go usage.
func (*Client) Call ¶
func (c *Client) Call(ctx context.Context, operationID string, params map[string]any) (map[string]any, error)
Call invokes a Coolify API operation by operationId.
func (*Client) CreateProject ¶
func (c *Client) CreateProject(ctx context.Context, name, description string) (map[string]any, error)
CreateProject creates a new project.
func (*Client) DeployApplication ¶
DeployApplication triggers deployment of an application.
func (*Client) GetApplication ¶
GetApplication returns an application by UUID.
func (*Client) GetDatabase ¶
GetDatabase returns a database by UUID.
func (*Client) GetProject ¶
GetProject returns a project by UUID.
func (*Client) GetService ¶
GetService returns a service by UUID.
func (*Client) GetTeamMembers ¶
GetTeamMembers returns members of the current team.
func (*Client) ListApplications ¶
ListApplications returns all applications.
func (*Client) ListDatabases ¶
ListDatabases returns all databases.
func (*Client) ListEnvironments ¶
func (c *Client) ListEnvironments(ctx context.Context, projectUUID string) ([]map[string]any, error)
ListEnvironments returns environments for a project.
func (*Client) ListProjects ¶
ListProjects returns all projects.
func (*Client) ListServers ¶
ListServers returns all servers.
func (*Client) ListServices ¶
ListServices returns all services.