| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This package is not in the latest version of its module.
Go to latest Published: Aug 2, 2022 License: GPL-3.0The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Modules with tagged versions give importers more predictable builds.
When a project reaches major version v1 it is considered stable.
This section is empty.
This section is empty.
This section is empty.
type RenderClient struct {
// contains filtered or unexported fields
}
func New(token string) (*RenderClient, error)
func (r *RenderClient) ListDeploys(serviceID string) ([]Deploy, error)
func (r *RenderClient) ListServices() ([]Service, error)
type Response []ResponseItem
type Service struct {
ID string `json:"id"`
Type string `json:"type"`
Repo string `json:"repo"`
Name string `json:"name"`
AutoDeploy bool `json:"autoDeploy"`
Branch string `json:"branch"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
NotifyOnFail string `json:"notifyOnFail"`
OwnerID string `json:"ownerId"`
Slug string `json:"slug"`
Suspenders []string `json:"suspenders"`
Schedule string `json:"schedule"`
LastSuccessfulRunAt time.Time `json:"lastSuccessfulRunAt"`
ServiceDetails ServiceDetails `json:"serviceDetails"`
Deploys []Deploy `json:"deploys"`
}
type ServiceDetails struct {
Disk map[string]interface{} `json:"disk"`
Env string `json:"env"`
EnvSpecificDetails ServiceDetailsEnv `json:"envSpecificDetails"`
HealthCheckPath string `json:"healthCheckPath"`
NumInstances int `json:"numInstances"`
OpenPorts map[string]interface{} `json:"openPorts"`
PublishPath string `json:"publishPath"`
ParentServer map[string]interface{} `json:"parentServer"`
Plan string `json:"plan"`
PullRequestPreviewsEnabled bool `json:"pullRequestPreviewsEnabled"`
Region string `json:"region"`
URL string `json:"url"`
BuildCommand string `json:"buildCommand"`
}
| Back | FazBrowse Home | New Git URL |