Documentation ¶
Index ¶
- type AddOnType
- type CreateAddOnCreateAddOnCreateAddOnPayload
- type CreateAddOnCreateAddOnCreateAddOnPayloadAddOn
- type CreateAddOnResponse
- type DeleteAddOnDeleteAddOnDeleteAddOnPayload
- type DeleteAddOnDeleteAddOnDeleteAddOnPayloadAddOn
- type DeleteAddOnResponse
- type GetAddOnAddOn
- type GetAddOnAddOnAddOnPlan
- type GetAddOnResponse
- type ListAddOnPlansAddOnPlansAddOnPlanConnection
- type ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan
- func (v *ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan) GetDisplayName() string
- func (v *ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan) GetId() string
- func (v *ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan) GetMaxDataSize() string
- func (v *ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan) GetPricePerMonth() int
- type ListAddOnPlansResponse
- type ListAddOnsAddOnsAddOnConnection
- type ListAddOnsAddOnsAddOnConnectionNodesAddOn
- func (v *ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetAddOnPlan() ListAddOnsAddOnsAddOnConnectionNodesAddOnAddOnPlan
- func (v *ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetId() string
- func (v *ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetName() string
- func (v *ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetOrganization() ListAddOnsAddOnsAddOnConnectionNodesAddOnOrganization
- func (v *ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetPrimaryRegion() string
- func (v *ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetReadRegions() []string
- type ListAddOnsAddOnsAddOnConnectionNodesAddOnAddOnPlan
- type ListAddOnsAddOnsAddOnConnectionNodesAddOnOrganization
- type ListAddOnsResponse
- type UpdateAddOnResponse
- type UpdateAddOnUpdateAddOnUpdateAddOnPayload
- type UpdateAddOnUpdateAddOnUpdateAddOnPayloadAddOn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddOnType ¶ added in v0.0.371
type AddOnType string
const ( // A Redis database AddOnTypeRedis AddOnType = "redis" )
type CreateAddOnCreateAddOnCreateAddOnPayload ¶ added in v0.0.367
type CreateAddOnCreateAddOnCreateAddOnPayload struct {
AddOn CreateAddOnCreateAddOnCreateAddOnPayloadAddOn `json:"addOn"`
}
CreateAddOnCreateAddOnCreateAddOnPayload includes the requested fields of the GraphQL type CreateAddOnPayload. The GraphQL type's documentation follows.
Autogenerated return type of CreateAddOn
func (*CreateAddOnCreateAddOnCreateAddOnPayload) GetAddOn ¶ added in v0.0.367
func (v *CreateAddOnCreateAddOnCreateAddOnPayload) GetAddOn() CreateAddOnCreateAddOnCreateAddOnPayloadAddOn
GetAddOn returns CreateAddOnCreateAddOnCreateAddOnPayload.AddOn, and is useful for accessing the field via an interface.
type CreateAddOnCreateAddOnCreateAddOnPayloadAddOn ¶ added in v0.0.367
type CreateAddOnCreateAddOnCreateAddOnPayloadAddOn struct { Id string `json:"id"` // Public URL for this service PublicUrl string `json:"publicUrl"` }
CreateAddOnCreateAddOnCreateAddOnPayloadAddOn includes the requested fields of the GraphQL type AddOn.
func (*CreateAddOnCreateAddOnCreateAddOnPayloadAddOn) GetId ¶ added in v0.0.367
func (v *CreateAddOnCreateAddOnCreateAddOnPayloadAddOn) GetId() string
GetId returns CreateAddOnCreateAddOnCreateAddOnPayloadAddOn.Id, and is useful for accessing the field via an interface.
func (*CreateAddOnCreateAddOnCreateAddOnPayloadAddOn) GetPublicUrl ¶ added in v0.0.367
func (v *CreateAddOnCreateAddOnCreateAddOnPayloadAddOn) GetPublicUrl() string
GetPublicUrl returns CreateAddOnCreateAddOnCreateAddOnPayloadAddOn.PublicUrl, and is useful for accessing the field via an interface.
type CreateAddOnResponse ¶ added in v0.0.367
type CreateAddOnResponse struct {
CreateAddOn CreateAddOnCreateAddOnCreateAddOnPayload `json:"createAddOn"`
}
CreateAddOnResponse is returned by CreateAddOn on success.
func CreateAddOn ¶ added in v0.0.367
func (*CreateAddOnResponse) GetCreateAddOn ¶ added in v0.0.367
func (v *CreateAddOnResponse) GetCreateAddOn() CreateAddOnCreateAddOnCreateAddOnPayload
GetCreateAddOn returns CreateAddOnResponse.CreateAddOn, and is useful for accessing the field via an interface.
type DeleteAddOnDeleteAddOnDeleteAddOnPayload ¶ added in v0.0.371
type DeleteAddOnDeleteAddOnDeleteAddOnPayload struct {
AddOn DeleteAddOnDeleteAddOnDeleteAddOnPayloadAddOn `json:"addOn"`
}
DeleteAddOnDeleteAddOnDeleteAddOnPayload includes the requested fields of the GraphQL type DeleteAddOnPayload. The GraphQL type's documentation follows.
Autogenerated return type of DeleteAddOn
func (*DeleteAddOnDeleteAddOnDeleteAddOnPayload) GetAddOn ¶ added in v0.0.371
func (v *DeleteAddOnDeleteAddOnDeleteAddOnPayload) GetAddOn() DeleteAddOnDeleteAddOnDeleteAddOnPayloadAddOn
GetAddOn returns DeleteAddOnDeleteAddOnDeleteAddOnPayload.AddOn, and is useful for accessing the field via an interface.
type DeleteAddOnDeleteAddOnDeleteAddOnPayloadAddOn ¶ added in v0.0.371
type DeleteAddOnDeleteAddOnDeleteAddOnPayloadAddOn struct {
Id string `json:"id"`
}
DeleteAddOnDeleteAddOnDeleteAddOnPayloadAddOn includes the requested fields of the GraphQL type AddOn.
func (*DeleteAddOnDeleteAddOnDeleteAddOnPayloadAddOn) GetId ¶ added in v0.0.371
func (v *DeleteAddOnDeleteAddOnDeleteAddOnPayloadAddOn) GetId() string
GetId returns DeleteAddOnDeleteAddOnDeleteAddOnPayloadAddOn.Id, and is useful for accessing the field via an interface.
type DeleteAddOnResponse ¶ added in v0.0.371
type DeleteAddOnResponse struct {
DeleteAddOn DeleteAddOnDeleteAddOnDeleteAddOnPayload `json:"deleteAddOn"`
}
DeleteAddOnResponse is returned by DeleteAddOn on success.
func DeleteAddOn ¶ added in v0.0.371
func (*DeleteAddOnResponse) GetDeleteAddOn ¶ added in v0.0.371
func (v *DeleteAddOnResponse) GetDeleteAddOn() DeleteAddOnDeleteAddOnDeleteAddOnPayload
GetDeleteAddOn returns DeleteAddOnResponse.DeleteAddOn, and is useful for accessing the field via an interface.
type GetAddOnAddOn ¶ added in v0.0.371
type GetAddOnAddOn struct { Id string `json:"id"` // The service name according to the provider Name string `json:"name"` // Public URL for this service PublicUrl string `json:"publicUrl"` // Region where the primary instance is deployed PrimaryRegion string `json:"primaryRegion"` // Regions where replica instances are deployed ReadRegions []string `json:"readRegions"` // The add-on plan AddOnPlan GetAddOnAddOnAddOnPlan `json:"addOnPlan"` }
GetAddOnAddOn includes the requested fields of the GraphQL type AddOn.
func (*GetAddOnAddOn) GetAddOnPlan ¶ added in v0.0.371
func (v *GetAddOnAddOn) GetAddOnPlan() GetAddOnAddOnAddOnPlan
GetAddOnPlan returns GetAddOnAddOn.AddOnPlan, and is useful for accessing the field via an interface.
func (*GetAddOnAddOn) GetId ¶ added in v0.0.371
func (v *GetAddOnAddOn) GetId() string
GetId returns GetAddOnAddOn.Id, and is useful for accessing the field via an interface.
func (*GetAddOnAddOn) GetName ¶ added in v0.0.371
func (v *GetAddOnAddOn) GetName() string
GetName returns GetAddOnAddOn.Name, and is useful for accessing the field via an interface.
func (*GetAddOnAddOn) GetPrimaryRegion ¶ added in v0.0.371
func (v *GetAddOnAddOn) GetPrimaryRegion() string
GetPrimaryRegion returns GetAddOnAddOn.PrimaryRegion, and is useful for accessing the field via an interface.
func (*GetAddOnAddOn) GetPublicUrl ¶ added in v0.0.371
func (v *GetAddOnAddOn) GetPublicUrl() string
GetPublicUrl returns GetAddOnAddOn.PublicUrl, and is useful for accessing the field via an interface.
func (*GetAddOnAddOn) GetReadRegions ¶ added in v0.0.371
func (v *GetAddOnAddOn) GetReadRegions() []string
GetReadRegions returns GetAddOnAddOn.ReadRegions, and is useful for accessing the field via an interface.
type GetAddOnAddOnAddOnPlan ¶ added in v0.0.371
type GetAddOnAddOnAddOnPlan struct { Id string `json:"id"` Name string `json:"name"` DisplayName string `json:"displayName"` }
GetAddOnAddOnAddOnPlan includes the requested fields of the GraphQL type AddOnPlan.
func (*GetAddOnAddOnAddOnPlan) GetDisplayName ¶ added in v0.0.371
func (v *GetAddOnAddOnAddOnPlan) GetDisplayName() string
GetDisplayName returns GetAddOnAddOnAddOnPlan.DisplayName, and is useful for accessing the field via an interface.
func (*GetAddOnAddOnAddOnPlan) GetId ¶ added in v0.0.371
func (v *GetAddOnAddOnAddOnPlan) GetId() string
GetId returns GetAddOnAddOnAddOnPlan.Id, and is useful for accessing the field via an interface.
func (*GetAddOnAddOnAddOnPlan) GetName ¶ added in v0.0.371
func (v *GetAddOnAddOnAddOnPlan) GetName() string
GetName returns GetAddOnAddOnAddOnPlan.Name, and is useful for accessing the field via an interface.
type GetAddOnResponse ¶ added in v0.0.371
type GetAddOnResponse struct { // Find an add-on by ID AddOn GetAddOnAddOn `json:"addOn"` }
GetAddOnResponse is returned by GetAddOn on success.
func (*GetAddOnResponse) GetAddOn ¶ added in v0.0.371
func (v *GetAddOnResponse) GetAddOn() GetAddOnAddOn
GetAddOn returns GetAddOnResponse.AddOn, and is useful for accessing the field via an interface.
type ListAddOnPlansAddOnPlansAddOnPlanConnection ¶ added in v0.0.366
type ListAddOnPlansAddOnPlansAddOnPlanConnection struct { // A list of nodes. Nodes []ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan `json:"nodes"` }
ListAddOnPlansAddOnPlansAddOnPlanConnection includes the requested fields of the GraphQL type AddOnPlanConnection. The GraphQL type's documentation follows.
The connection type for AddOnPlan.
func (*ListAddOnPlansAddOnPlansAddOnPlanConnection) GetNodes ¶ added in v0.0.366
func (v *ListAddOnPlansAddOnPlansAddOnPlanConnection) GetNodes() []ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan
GetNodes returns ListAddOnPlansAddOnPlansAddOnPlanConnection.Nodes, and is useful for accessing the field via an interface.
type ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan ¶ added in v0.0.366
type ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan struct { Id string `json:"id"` DisplayName string `json:"displayName"` MaxDataSize string `json:"maxDataSize"` PricePerMonth int `json:"pricePerMonth"` }
ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan includes the requested fields of the GraphQL type AddOnPlan.
func (*ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan) GetDisplayName ¶ added in v0.0.366
func (v *ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan) GetDisplayName() string
GetDisplayName returns ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan.DisplayName, and is useful for accessing the field via an interface.
func (*ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan) GetId ¶ added in v0.0.366
func (v *ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan) GetId() string
GetId returns ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan.Id, and is useful for accessing the field via an interface.
func (*ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan) GetMaxDataSize ¶ added in v0.0.366
func (v *ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan) GetMaxDataSize() string
GetMaxDataSize returns ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan.MaxDataSize, and is useful for accessing the field via an interface.
func (*ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan) GetPricePerMonth ¶ added in v0.0.366
func (v *ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan) GetPricePerMonth() int
GetPricePerMonth returns ListAddOnPlansAddOnPlansAddOnPlanConnectionNodesAddOnPlan.PricePerMonth, and is useful for accessing the field via an interface.
type ListAddOnPlansResponse ¶ added in v0.0.366
type ListAddOnPlansResponse struct { // List add-on service plans AddOnPlans ListAddOnPlansAddOnPlansAddOnPlanConnection `json:"addOnPlans"` }
ListAddOnPlansResponse is returned by ListAddOnPlans on success.
func ListAddOnPlans ¶ added in v0.0.366
func (*ListAddOnPlansResponse) GetAddOnPlans ¶ added in v0.0.366
func (v *ListAddOnPlansResponse) GetAddOnPlans() ListAddOnPlansAddOnPlansAddOnPlanConnection
GetAddOnPlans returns ListAddOnPlansResponse.AddOnPlans, and is useful for accessing the field via an interface.
type ListAddOnsAddOnsAddOnConnection ¶ added in v0.0.371
type ListAddOnsAddOnsAddOnConnection struct { // A list of nodes. Nodes []ListAddOnsAddOnsAddOnConnectionNodesAddOn `json:"nodes"` }
ListAddOnsAddOnsAddOnConnection includes the requested fields of the GraphQL type AddOnConnection. The GraphQL type's documentation follows.
The connection type for AddOn.
func (*ListAddOnsAddOnsAddOnConnection) GetNodes ¶ added in v0.0.371
func (v *ListAddOnsAddOnsAddOnConnection) GetNodes() []ListAddOnsAddOnsAddOnConnectionNodesAddOn
GetNodes returns ListAddOnsAddOnsAddOnConnection.Nodes, and is useful for accessing the field via an interface.
type ListAddOnsAddOnsAddOnConnectionNodesAddOn ¶ added in v0.0.371
type ListAddOnsAddOnsAddOnConnectionNodesAddOn struct { Id string `json:"id"` // The service name according to the provider Name string `json:"name"` // The add-on plan AddOnPlan ListAddOnsAddOnsAddOnConnectionNodesAddOnAddOnPlan `json:"addOnPlan"` // Region where the primary instance is deployed PrimaryRegion string `json:"primaryRegion"` // Regions where replica instances are deployed ReadRegions []string `json:"readRegions"` // Organization that owns this service Organization ListAddOnsAddOnsAddOnConnectionNodesAddOnOrganization `json:"organization"` }
ListAddOnsAddOnsAddOnConnectionNodesAddOn includes the requested fields of the GraphQL type AddOn.
func (*ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetAddOnPlan ¶ added in v0.0.371
func (v *ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetAddOnPlan() ListAddOnsAddOnsAddOnConnectionNodesAddOnAddOnPlan
GetAddOnPlan returns ListAddOnsAddOnsAddOnConnectionNodesAddOn.AddOnPlan, and is useful for accessing the field via an interface.
func (*ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetId ¶ added in v0.0.371
func (v *ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetId() string
GetId returns ListAddOnsAddOnsAddOnConnectionNodesAddOn.Id, and is useful for accessing the field via an interface.
func (*ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetName ¶ added in v0.0.371
func (v *ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetName() string
GetName returns ListAddOnsAddOnsAddOnConnectionNodesAddOn.Name, and is useful for accessing the field via an interface.
func (*ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetOrganization ¶ added in v0.0.371
func (v *ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetOrganization() ListAddOnsAddOnsAddOnConnectionNodesAddOnOrganization
GetOrganization returns ListAddOnsAddOnsAddOnConnectionNodesAddOn.Organization, and is useful for accessing the field via an interface.
func (*ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetPrimaryRegion ¶ added in v0.0.371
func (v *ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetPrimaryRegion() string
GetPrimaryRegion returns ListAddOnsAddOnsAddOnConnectionNodesAddOn.PrimaryRegion, and is useful for accessing the field via an interface.
func (*ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetReadRegions ¶ added in v0.0.371
func (v *ListAddOnsAddOnsAddOnConnectionNodesAddOn) GetReadRegions() []string
GetReadRegions returns ListAddOnsAddOnsAddOnConnectionNodesAddOn.ReadRegions, and is useful for accessing the field via an interface.
type ListAddOnsAddOnsAddOnConnectionNodesAddOnAddOnPlan ¶ added in v0.0.371
type ListAddOnsAddOnsAddOnConnectionNodesAddOnAddOnPlan struct {
Name string `json:"name"`
}
ListAddOnsAddOnsAddOnConnectionNodesAddOnAddOnPlan includes the requested fields of the GraphQL type AddOnPlan.
func (*ListAddOnsAddOnsAddOnConnectionNodesAddOnAddOnPlan) GetName ¶ added in v0.0.371
func (v *ListAddOnsAddOnsAddOnConnectionNodesAddOnAddOnPlan) GetName() string
GetName returns ListAddOnsAddOnsAddOnConnectionNodesAddOnAddOnPlan.Name, and is useful for accessing the field via an interface.
type ListAddOnsAddOnsAddOnConnectionNodesAddOnOrganization ¶ added in v0.0.371
type ListAddOnsAddOnsAddOnConnectionNodesAddOnOrganization struct { Id string `json:"id"` // Unique organization slug Slug string `json:"slug"` }
ListAddOnsAddOnsAddOnConnectionNodesAddOnOrganization includes the requested fields of the GraphQL type Organization.
func (*ListAddOnsAddOnsAddOnConnectionNodesAddOnOrganization) GetId ¶ added in v0.0.371
func (v *ListAddOnsAddOnsAddOnConnectionNodesAddOnOrganization) GetId() string
GetId returns ListAddOnsAddOnsAddOnConnectionNodesAddOnOrganization.Id, and is useful for accessing the field via an interface.
func (*ListAddOnsAddOnsAddOnConnectionNodesAddOnOrganization) GetSlug ¶ added in v0.0.371
func (v *ListAddOnsAddOnsAddOnConnectionNodesAddOnOrganization) GetSlug() string
GetSlug returns ListAddOnsAddOnsAddOnConnectionNodesAddOnOrganization.Slug, and is useful for accessing the field via an interface.
type ListAddOnsResponse ¶ added in v0.0.371
type ListAddOnsResponse struct { // List add-ons associated with an organization AddOns ListAddOnsAddOnsAddOnConnection `json:"addOns"` }
ListAddOnsResponse is returned by ListAddOns on success.
func ListAddOns ¶ added in v0.0.371
func (*ListAddOnsResponse) GetAddOns ¶ added in v0.0.371
func (v *ListAddOnsResponse) GetAddOns() ListAddOnsAddOnsAddOnConnection
GetAddOns returns ListAddOnsResponse.AddOns, and is useful for accessing the field via an interface.
type UpdateAddOnResponse ¶ added in v0.0.371
type UpdateAddOnResponse struct {
UpdateAddOn UpdateAddOnUpdateAddOnUpdateAddOnPayload `json:"updateAddOn"`
}
UpdateAddOnResponse is returned by UpdateAddOn on success.
func UpdateAddOn ¶ added in v0.0.371
func (*UpdateAddOnResponse) GetUpdateAddOn ¶ added in v0.0.371
func (v *UpdateAddOnResponse) GetUpdateAddOn() UpdateAddOnUpdateAddOnUpdateAddOnPayload
GetUpdateAddOn returns UpdateAddOnResponse.UpdateAddOn, and is useful for accessing the field via an interface.
type UpdateAddOnUpdateAddOnUpdateAddOnPayload ¶ added in v0.0.371
type UpdateAddOnUpdateAddOnUpdateAddOnPayload struct {
AddOn UpdateAddOnUpdateAddOnUpdateAddOnPayloadAddOn `json:"addOn"`
}
UpdateAddOnUpdateAddOnUpdateAddOnPayload includes the requested fields of the GraphQL type UpdateAddOnPayload. The GraphQL type's documentation follows.
Autogenerated return type of UpdateAddOn
func (*UpdateAddOnUpdateAddOnUpdateAddOnPayload) GetAddOn ¶ added in v0.0.371
func (v *UpdateAddOnUpdateAddOnUpdateAddOnPayload) GetAddOn() UpdateAddOnUpdateAddOnUpdateAddOnPayloadAddOn
GetAddOn returns UpdateAddOnUpdateAddOnUpdateAddOnPayload.AddOn, and is useful for accessing the field via an interface.
type UpdateAddOnUpdateAddOnUpdateAddOnPayloadAddOn ¶ added in v0.0.371
type UpdateAddOnUpdateAddOnUpdateAddOnPayloadAddOn struct {
Id string `json:"id"`
}
UpdateAddOnUpdateAddOnUpdateAddOnPayloadAddOn includes the requested fields of the GraphQL type AddOn.
func (*UpdateAddOnUpdateAddOnUpdateAddOnPayloadAddOn) GetId ¶ added in v0.0.371
func (v *UpdateAddOnUpdateAddOnUpdateAddOnPayloadAddOn) GetId() string
GetId returns UpdateAddOnUpdateAddOnUpdateAddOnPayloadAddOn.Id, and is useful for accessing the field via an interface.