Versions in this module Expand all Collapse all v1 v1.1.2 Jan 31, 2025 v1.1.1 Jan 30, 2025 Changes in this version + var ErrLogin = errors.New("run `render login` to authenticate") + var ErrNoWorkspace = errors.New("no workspace set. Use `render workspace set` to set a workspace") + func ClearProjectFilter() error + func DashboardURL() string + func GetProjectFilter() (projectID string, projectName string, err error) + func IsWorkspaceSet() bool + func SetAPIConfig(input APIConfig) error + func SetDashboardURL(u string) error + func SetProjectFilter(projectID string, projectName string) error + func WorkspaceID() (string, error) + func WorkspaceName() (string, error) + type APIConfig struct + ExpiresAt int64 + Host string + Key string + RefreshToken string + func DefaultAPIConfig() (APIConfig, error) + type Config struct + DashboardURL string + ProjectFilter string + ProjectName string + Version int + Workspace string + WorkspaceName string + func Load() (*Config, error) + func (c *Config) Persist() error