Documentation
¶
Overview ¶
Package client provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blueprint ¶
type Blueprint struct {
// AutoSync Automatically sync changes to render.yaml
AutoSync AutoSync `json:"autoSync"`
Branch string `json:"branch"`
Id BlueprintId `json:"id"`
LastSync *time.Time `json:"lastSync,omitempty"`
Name string `json:"name"`
Repo string `json:"repo"`
Status Status `json:"status"`
}
Blueprint defines model for blueprint.
type BlueprintDetail ¶
type BlueprintDetail struct {
// AutoSync Automatically sync changes to render.yaml
AutoSync AutoSync `json:"autoSync"`
Branch string `json:"branch"`
Id BlueprintId `json:"id"`
LastSync *time.Time `json:"lastSync,omitempty"`
Name string `json:"name"`
Repo string `json:"repo"`
Resources []ResourceRef `json:"resources"`
Status Status `json:"status"`
}
BlueprintDetail defines model for blueprintDetail.
type BlueprintPATCH ¶
type BlueprintPATCH struct {
// AutoSync Automatically sync changes to render.yaml
AutoSync *AutoSync `json:"autoSync,omitempty"`
Name *string `json:"name,omitempty"`
}
BlueprintPATCH defines model for blueprintPATCH.
type CommitRef ¶
type CommitRef struct {
Id string `json:"id"`
}
CommitRef defines model for commitRef.
type ResourceRef ¶
type ResourceRef struct {
Id string `json:"id"`
Name string `json:"name"`
// Type type of the resource (ex. web_service or postgres)
Type ResourceRefType `json:"type"`
}
ResourceRef defines model for resourceRef.
type ResourceRefType ¶
type ResourceRefType string
ResourceRefType type of the resource (ex. web_service or postgres)
const ( BackgroundWorker ResourceRefType = "background_worker" CronJob ResourceRefType = "cron_job" EnvironmentGroup ResourceRefType = "environment_group" Postgres ResourceRefType = "postgres" PrivateService ResourceRefType = "private_service" Redis ResourceRefType = "redis" StaticSite ResourceRefType = "static_site" WebService ResourceRefType = "web_service" )
Defines values for ResourceRefType.
type Sync ¶
type Sync struct {
Commit CommitRef `json:"commit"`
CompletedAt *time.Time `json:"completedAt,omitempty"`
Id SyncId `json:"id"`
StartedAt *time.Time `json:"startedAt,omitempty"`
State SyncState `json:"state"`
}
Sync defines model for sync.
Click to show internal directories.
Click to hide internal directories.