Documentation ¶
Index ¶
- func New(version string) func() provider.Provider
- func NewCustomDomainResource() resource.Resource
- func NewDeploymentTriggerResource() resource.Resource
- func NewEnvironmentResource() resource.Resource
- func NewProjectResource() resource.Resource
- func NewServiceDomainResource() resource.Resource
- func NewServiceResource() resource.Resource
- func NewSharedVariableResource() resource.Resource
- func NewTcpProxyResource() resource.Resource
- func NewVariableResource() resource.Resource
- type Builder
- type CustomDomain
- type CustomDomainCreateInput
- type CustomDomainResource
- func (r *CustomDomainResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *CustomDomainResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *CustomDomainResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *CustomDomainResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *CustomDomainResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *CustomDomainResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *CustomDomainResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *CustomDomainResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type CustomDomainResourceModel
- type CustomDomainStatus
- type CustomDomainStatusDnsRecordsDNSRecords
- type DeploymentTrigger
- func (v *DeploymentTrigger) GetBranch() string
- func (v *DeploymentTrigger) GetCheckSuites() bool
- func (v *DeploymentTrigger) GetEnvironmentId() string
- func (v *DeploymentTrigger) GetId() string
- func (v *DeploymentTrigger) GetProjectId() string
- func (v *DeploymentTrigger) GetProvider() string
- func (v *DeploymentTrigger) GetRepository() string
- func (v *DeploymentTrigger) GetServiceId() string
- type DeploymentTriggerCreateInput
- func (v *DeploymentTriggerCreateInput) GetBranch() string
- func (v *DeploymentTriggerCreateInput) GetCheckSuites() bool
- func (v *DeploymentTriggerCreateInput) GetEnvironmentId() string
- func (v *DeploymentTriggerCreateInput) GetProjectId() string
- func (v *DeploymentTriggerCreateInput) GetProvider() string
- func (v *DeploymentTriggerCreateInput) GetRepository() string
- func (v *DeploymentTriggerCreateInput) GetRootDirectory() *string
- func (v *DeploymentTriggerCreateInput) GetServiceId() string
- type DeploymentTriggerResource
- func (r *DeploymentTriggerResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *DeploymentTriggerResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *DeploymentTriggerResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *DeploymentTriggerResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *DeploymentTriggerResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *DeploymentTriggerResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *DeploymentTriggerResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *DeploymentTriggerResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type DeploymentTriggerResourceModel
- type DeploymentTriggerUpdateInput
- type Environment
- type EnvironmentCreateInput
- func (v *EnvironmentCreateInput) GetEphemeral() bool
- func (v *EnvironmentCreateInput) GetName() string
- func (v *EnvironmentCreateInput) GetProjectId() string
- func (v *EnvironmentCreateInput) GetSkipInitialDeploys() bool
- func (v *EnvironmentCreateInput) GetSourceEnvironmentId() *string
- func (v *EnvironmentCreateInput) GetStageInitialChanges() bool
- type EnvironmentResource
- func (r *EnvironmentResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *EnvironmentResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *EnvironmentResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *EnvironmentResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *EnvironmentResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *EnvironmentResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *EnvironmentResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *EnvironmentResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type EnvironmentResourceModel
- type ProejctResourceDefaultEnvironmentModel
- type Project
- func (v *Project) GetDescription() string
- func (v *Project) GetEnvironments() ProjectEnvironmentsProjectEnvironmentsConnection
- func (v *Project) GetId() string
- func (v *Project) GetIsPublic() bool
- func (v *Project) GetName() string
- func (v *Project) GetPrDeploys() bool
- func (v *Project) GetTeam() *ProjectTeam
- type ProjectCreateInput
- func (v *ProjectCreateInput) GetDefaultEnvironmentName() string
- func (v *ProjectCreateInput) GetDescription() string
- func (v *ProjectCreateInput) GetIsPublic() bool
- func (v *ProjectCreateInput) GetName() string
- func (v *ProjectCreateInput) GetPlugins() []string
- func (v *ProjectCreateInput) GetPrDeploys() bool
- func (v *ProjectCreateInput) GetRepo() *ProjectCreateRepo
- func (v *ProjectCreateInput) GetTeamId() *string
- type ProjectCreateRepo
- type ProjectEnvironmentsProjectEnvironmentsConnection
- type ProjectEnvironmentsProjectEnvironmentsConnectionEdgesProjectEnvironmentsConnectionEdge
- type ProjectEnvironmentsProjectEnvironmentsConnectionEdgesProjectEnvironmentsConnectionEdgeNodeEnvironment
- func (v *ProjectEnvironmentsProjectEnvironmentsConnectionEdgesProjectEnvironmentsConnectionEdgeNodeEnvironment) GetCreatedAt() time.Time
- func (v *ProjectEnvironmentsProjectEnvironmentsConnectionEdgesProjectEnvironmentsConnectionEdgeNodeEnvironment) GetId() string
- func (v *ProjectEnvironmentsProjectEnvironmentsConnectionEdgesProjectEnvironmentsConnectionEdgeNodeEnvironment) GetName() string
- type ProjectResource
- func (r *ProjectResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ProjectResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ProjectResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ProjectResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ProjectResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ProjectResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ProjectResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ProjectResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ProjectResourceModel
- type ProjectTeam
- type ProjectUpdateInput
- func (v *ProjectUpdateInput) GetBaseEnvironmentId() *string
- func (v *ProjectUpdateInput) GetDescription() string
- func (v *ProjectUpdateInput) GetIsPublic() bool
- func (v *ProjectUpdateInput) GetName() string
- func (v *ProjectUpdateInput) GetPrDeploys() bool
- func (v *ProjectUpdateInput) GetPrForks() bool
- type RailwayProvider
- func (p *RailwayProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *RailwayProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *RailwayProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *RailwayProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *RailwayProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type RailwayProviderModel
- type RestartPolicyType
- type Service
- type ServiceConnectInput
- type ServiceCreateInput
- func (v *ServiceCreateInput) GetBranch() *string
- func (v *ServiceCreateInput) GetEnvironmentId() *string
- func (v *ServiceCreateInput) GetName() string
- func (v *ServiceCreateInput) GetProjectId() string
- func (v *ServiceCreateInput) GetSource() *ServiceSourceInput
- func (v *ServiceCreateInput) GetVariables() map[string]interface{}
- type ServiceDomain
- type ServiceDomainCreateInput
- type ServiceDomainResource
- func (r *ServiceDomainResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ServiceDomainResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ServiceDomainResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ServiceDomainResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ServiceDomainResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ServiceDomainResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ServiceDomainResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ServiceDomainResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ServiceDomainResourceModel
- type ServiceDomainUpdateInput
- type ServiceInstanceUpdateInput
- func (v *ServiceInstanceUpdateInput) GetBuildCommand() *string
- func (v *ServiceInstanceUpdateInput) GetBuilder() *Builder
- func (v *ServiceInstanceUpdateInput) GetCronSchedule() *string
- func (v *ServiceInstanceUpdateInput) GetHealthcheckPath() *string
- func (v *ServiceInstanceUpdateInput) GetHealthcheckTimeout() *int
- func (v *ServiceInstanceUpdateInput) GetNixpacksPlan() *map[string]interface{}
- func (v *ServiceInstanceUpdateInput) GetNumReplicas() *int
- func (v *ServiceInstanceUpdateInput) GetRailwayConfigFile() string
- func (v *ServiceInstanceUpdateInput) GetRegion() *string
- func (v *ServiceInstanceUpdateInput) GetRestartPolicyMaxRetries() *int
- func (v *ServiceInstanceUpdateInput) GetRestartPolicyType() *RestartPolicyType
- func (v *ServiceInstanceUpdateInput) GetRootDirectory() string
- func (v *ServiceInstanceUpdateInput) GetSource() *ServiceSourceInput
- func (v *ServiceInstanceUpdateInput) GetStartCommand() *string
- func (v *ServiceInstanceUpdateInput) GetWatchPatterns() []*string
- type ServiceResource
- func (r *ServiceResource) ConfigValidators(ctx context.Context) []resource.ConfigValidator
- func (r *ServiceResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ServiceResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ServiceResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ServiceResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ServiceResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ServiceResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ServiceResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ServiceResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ServiceResourceModel
- type ServiceResourceVolumeModel
- type ServiceSourceInput
- type ServiceUpdateInput
- type SharedVariableResource
- func (r *SharedVariableResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *SharedVariableResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *SharedVariableResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *SharedVariableResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *SharedVariableResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *SharedVariableResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *SharedVariableResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *SharedVariableResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type SharedVariableResourceModel
- type TCPProxy
- type TCPProxyCreateInput
- type TcpProxyResource
- func (r *TcpProxyResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *TcpProxyResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *TcpProxyResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *TcpProxyResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *TcpProxyResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *TcpProxyResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *TcpProxyResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *TcpProxyResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type TcpProxyResourceModel
- type VariableDeleteInput
- type VariableResource
- func (r *VariableResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *VariableResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *VariableResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *VariableResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *VariableResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *VariableResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *VariableResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *VariableResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type VariableResourceModel
- type VariableUpsertInput
- type Volume
- type VolumeCreateInput
- type VolumeInstanceUpdateInput
- type VolumeState
- type VolumeUpdateInput
- type VolumeVolumeInstancesVolumeVolumeInstancesConnection
- type VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdge
- type VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdgeNodeVolumeInstance
- func (v *VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdgeNodeVolumeInstance) GetEnvironmentId() string
- func (v *VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdgeNodeVolumeInstance) GetId() string
- func (v *VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdgeNodeVolumeInstance) GetMountPath() string
- func (v *VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdgeNodeVolumeInstance) GetServiceId() string
- func (v *VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdgeNodeVolumeInstance) GetSizeMB() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCustomDomainResource ¶ added in v0.2.0
func NewDeploymentTriggerResource ¶ added in v0.1.2
func NewEnvironmentResource ¶
func NewProjectResource ¶
func NewServiceDomainResource ¶ added in v0.2.0
func NewServiceResource ¶
func NewSharedVariableResource ¶ added in v0.1.0
func NewTcpProxyResource ¶ added in v0.3.0
func NewVariableResource ¶ added in v0.1.0
Types ¶
type CustomDomain ¶ added in v0.2.0
type CustomDomain struct { Id string `json:"id"` Domain string `json:"domain"` Status CustomDomainStatus `json:"status"` EnvironmentId string `json:"environmentId"` ServiceId string `json:"serviceId"` }
CustomDomain includes the GraphQL fields of CustomDomain requested by the fragment CustomDomain.
func (*CustomDomain) GetDomain ¶ added in v0.2.0
func (v *CustomDomain) GetDomain() string
GetDomain returns CustomDomain.Domain, and is useful for accessing the field via an interface.
func (*CustomDomain) GetEnvironmentId ¶ added in v0.2.0
func (v *CustomDomain) GetEnvironmentId() string
GetEnvironmentId returns CustomDomain.EnvironmentId, and is useful for accessing the field via an interface.
func (*CustomDomain) GetId ¶ added in v0.2.0
func (v *CustomDomain) GetId() string
GetId returns CustomDomain.Id, and is useful for accessing the field via an interface.
func (*CustomDomain) GetServiceId ¶ added in v0.2.0
func (v *CustomDomain) GetServiceId() string
GetServiceId returns CustomDomain.ServiceId, and is useful for accessing the field via an interface.
func (*CustomDomain) GetStatus ¶ added in v0.2.0
func (v *CustomDomain) GetStatus() CustomDomainStatus
GetStatus returns CustomDomain.Status, and is useful for accessing the field via an interface.
type CustomDomainCreateInput ¶ added in v0.2.0
type CustomDomainCreateInput struct { Domain string `json:"domain"` EnvironmentId string `json:"environmentId"` ServiceId string `json:"serviceId"` }
func (*CustomDomainCreateInput) GetDomain ¶ added in v0.2.0
func (v *CustomDomainCreateInput) GetDomain() string
GetDomain returns CustomDomainCreateInput.Domain, and is useful for accessing the field via an interface.
func (*CustomDomainCreateInput) GetEnvironmentId ¶ added in v0.2.0
func (v *CustomDomainCreateInput) GetEnvironmentId() string
GetEnvironmentId returns CustomDomainCreateInput.EnvironmentId, and is useful for accessing the field via an interface.
func (*CustomDomainCreateInput) GetServiceId ¶ added in v0.2.0
func (v *CustomDomainCreateInput) GetServiceId() string
GetServiceId returns CustomDomainCreateInput.ServiceId, and is useful for accessing the field via an interface.
type CustomDomainResource ¶ added in v0.2.0
type CustomDomainResource struct {
// contains filtered or unexported fields
}
func (*CustomDomainResource) Configure ¶ added in v0.2.0
func (r *CustomDomainResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*CustomDomainResource) Create ¶ added in v0.2.0
func (r *CustomDomainResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*CustomDomainResource) Delete ¶ added in v0.2.0
func (r *CustomDomainResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*CustomDomainResource) ImportState ¶ added in v0.2.0
func (r *CustomDomainResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*CustomDomainResource) Metadata ¶ added in v0.2.0
func (r *CustomDomainResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*CustomDomainResource) Read ¶ added in v0.2.0
func (r *CustomDomainResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*CustomDomainResource) Schema ¶ added in v0.2.0
func (r *CustomDomainResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*CustomDomainResource) Update ¶ added in v0.2.0
func (r *CustomDomainResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type CustomDomainResourceModel ¶ added in v0.2.0
type CustomDomainResourceModel struct { Id types.String `tfsdk:"id"` Domain types.String `tfsdk:"domain"` EnvironmentId types.String `tfsdk:"environment_id"` ServiceId types.String `tfsdk:"service_id"` ProjectId types.String `tfsdk:"project_id"` HostLabel types.String `tfsdk:"host_label"` Zone types.String `tfsdk:"zone"` DNSRecordValue types.String `tfsdk:"dns_record_value"` }
type CustomDomainStatus ¶ added in v0.2.0
type CustomDomainStatus struct {
DnsRecords []CustomDomainStatusDnsRecordsDNSRecords `json:"dnsRecords"`
}
CustomDomainStatus includes the requested fields of the GraphQL type CustomDomainStatus.
func (*CustomDomainStatus) GetDnsRecords ¶ added in v0.2.0
func (v *CustomDomainStatus) GetDnsRecords() []CustomDomainStatusDnsRecordsDNSRecords
GetDnsRecords returns CustomDomainStatus.DnsRecords, and is useful for accessing the field via an interface.
type CustomDomainStatusDnsRecordsDNSRecords ¶ added in v0.2.0
type CustomDomainStatusDnsRecordsDNSRecords struct { Hostlabel string `json:"hostlabel"` RequiredValue string `json:"requiredValue"` Zone string `json:"zone"` }
CustomDomainStatusDnsRecordsDNSRecords includes the requested fields of the GraphQL type DNSRecords.
func (*CustomDomainStatusDnsRecordsDNSRecords) GetHostlabel ¶ added in v0.2.0
func (v *CustomDomainStatusDnsRecordsDNSRecords) GetHostlabel() string
GetHostlabel returns CustomDomainStatusDnsRecordsDNSRecords.Hostlabel, and is useful for accessing the field via an interface.
func (*CustomDomainStatusDnsRecordsDNSRecords) GetRequiredValue ¶ added in v0.2.0
func (v *CustomDomainStatusDnsRecordsDNSRecords) GetRequiredValue() string
GetRequiredValue returns CustomDomainStatusDnsRecordsDNSRecords.RequiredValue, and is useful for accessing the field via an interface.
func (*CustomDomainStatusDnsRecordsDNSRecords) GetZone ¶ added in v0.2.0
func (v *CustomDomainStatusDnsRecordsDNSRecords) GetZone() string
GetZone returns CustomDomainStatusDnsRecordsDNSRecords.Zone, and is useful for accessing the field via an interface.
type DeploymentTrigger ¶ added in v0.1.2
type DeploymentTrigger struct { Id string `json:"id"` Provider string `json:"provider"` Repository string `json:"repository"` Branch string `json:"branch"` CheckSuites bool `json:"checkSuites"` ProjectId string `json:"projectId"` ServiceId string `json:"serviceId"` EnvironmentId string `json:"environmentId"` }
DeploymentTrigger includes the GraphQL fields of DeploymentTrigger requested by the fragment DeploymentTrigger.
func (*DeploymentTrigger) GetBranch ¶ added in v0.1.2
func (v *DeploymentTrigger) GetBranch() string
GetBranch returns DeploymentTrigger.Branch, and is useful for accessing the field via an interface.
func (*DeploymentTrigger) GetCheckSuites ¶ added in v0.1.2
func (v *DeploymentTrigger) GetCheckSuites() bool
GetCheckSuites returns DeploymentTrigger.CheckSuites, and is useful for accessing the field via an interface.
func (*DeploymentTrigger) GetEnvironmentId ¶ added in v0.1.2
func (v *DeploymentTrigger) GetEnvironmentId() string
GetEnvironmentId returns DeploymentTrigger.EnvironmentId, and is useful for accessing the field via an interface.
func (*DeploymentTrigger) GetId ¶ added in v0.1.2
func (v *DeploymentTrigger) GetId() string
GetId returns DeploymentTrigger.Id, and is useful for accessing the field via an interface.
func (*DeploymentTrigger) GetProjectId ¶ added in v0.1.2
func (v *DeploymentTrigger) GetProjectId() string
GetProjectId returns DeploymentTrigger.ProjectId, and is useful for accessing the field via an interface.
func (*DeploymentTrigger) GetProvider ¶ added in v0.1.2
func (v *DeploymentTrigger) GetProvider() string
GetProvider returns DeploymentTrigger.Provider, and is useful for accessing the field via an interface.
func (*DeploymentTrigger) GetRepository ¶ added in v0.1.2
func (v *DeploymentTrigger) GetRepository() string
GetRepository returns DeploymentTrigger.Repository, and is useful for accessing the field via an interface.
func (*DeploymentTrigger) GetServiceId ¶ added in v0.1.2
func (v *DeploymentTrigger) GetServiceId() string
GetServiceId returns DeploymentTrigger.ServiceId, and is useful for accessing the field via an interface.
type DeploymentTriggerCreateInput ¶ added in v0.1.2
type DeploymentTriggerCreateInput struct { Branch string `json:"branch"` CheckSuites bool `json:"checkSuites"` EnvironmentId string `json:"environmentId"` ProjectId string `json:"projectId"` Provider string `json:"provider"` Repository string `json:"repository"` RootDirectory *string `json:"rootDirectory,omitempty"` ServiceId string `json:"serviceId"` }
func (*DeploymentTriggerCreateInput) GetBranch ¶ added in v0.1.2
func (v *DeploymentTriggerCreateInput) GetBranch() string
GetBranch returns DeploymentTriggerCreateInput.Branch, and is useful for accessing the field via an interface.
func (*DeploymentTriggerCreateInput) GetCheckSuites ¶ added in v0.1.2
func (v *DeploymentTriggerCreateInput) GetCheckSuites() bool
GetCheckSuites returns DeploymentTriggerCreateInput.CheckSuites, and is useful for accessing the field via an interface.
func (*DeploymentTriggerCreateInput) GetEnvironmentId ¶ added in v0.1.2
func (v *DeploymentTriggerCreateInput) GetEnvironmentId() string
GetEnvironmentId returns DeploymentTriggerCreateInput.EnvironmentId, and is useful for accessing the field via an interface.
func (*DeploymentTriggerCreateInput) GetProjectId ¶ added in v0.1.2
func (v *DeploymentTriggerCreateInput) GetProjectId() string
GetProjectId returns DeploymentTriggerCreateInput.ProjectId, and is useful for accessing the field via an interface.
func (*DeploymentTriggerCreateInput) GetProvider ¶ added in v0.1.2
func (v *DeploymentTriggerCreateInput) GetProvider() string
GetProvider returns DeploymentTriggerCreateInput.Provider, and is useful for accessing the field via an interface.
func (*DeploymentTriggerCreateInput) GetRepository ¶ added in v0.1.2
func (v *DeploymentTriggerCreateInput) GetRepository() string
GetRepository returns DeploymentTriggerCreateInput.Repository, and is useful for accessing the field via an interface.
func (*DeploymentTriggerCreateInput) GetRootDirectory ¶ added in v0.1.2
func (v *DeploymentTriggerCreateInput) GetRootDirectory() *string
GetRootDirectory returns DeploymentTriggerCreateInput.RootDirectory, and is useful for accessing the field via an interface.
func (*DeploymentTriggerCreateInput) GetServiceId ¶ added in v0.1.2
func (v *DeploymentTriggerCreateInput) GetServiceId() string
GetServiceId returns DeploymentTriggerCreateInput.ServiceId, and is useful for accessing the field via an interface.
type DeploymentTriggerResource ¶ added in v0.1.2
type DeploymentTriggerResource struct {
// contains filtered or unexported fields
}
func (*DeploymentTriggerResource) Configure ¶ added in v0.1.2
func (r *DeploymentTriggerResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*DeploymentTriggerResource) Create ¶ added in v0.1.2
func (r *DeploymentTriggerResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*DeploymentTriggerResource) Delete ¶ added in v0.1.2
func (r *DeploymentTriggerResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*DeploymentTriggerResource) ImportState ¶ added in v0.1.2
func (r *DeploymentTriggerResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*DeploymentTriggerResource) Metadata ¶ added in v0.1.2
func (r *DeploymentTriggerResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*DeploymentTriggerResource) Read ¶ added in v0.1.2
func (r *DeploymentTriggerResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*DeploymentTriggerResource) Schema ¶ added in v0.1.2
func (r *DeploymentTriggerResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*DeploymentTriggerResource) Update ¶ added in v0.1.2
func (r *DeploymentTriggerResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type DeploymentTriggerResourceModel ¶ added in v0.1.2
type DeploymentTriggerResourceModel struct { Id types.String `tfsdk:"id"` Repository types.String `tfsdk:"repository"` Branch types.String `tfsdk:"branch"` CheckSuites types.Bool `tfsdk:"check_suites"` EnvironmentId types.String `tfsdk:"environment_id"` ServiceId types.String `tfsdk:"service_id"` ProjectId types.String `tfsdk:"project_id"` }
type DeploymentTriggerUpdateInput ¶ added in v0.1.2
type DeploymentTriggerUpdateInput struct { Branch string `json:"branch"` CheckSuites bool `json:"checkSuites"` Repository string `json:"repository"` RootDirectory *string `json:"rootDirectory,omitempty"` }
func (*DeploymentTriggerUpdateInput) GetBranch ¶ added in v0.1.2
func (v *DeploymentTriggerUpdateInput) GetBranch() string
GetBranch returns DeploymentTriggerUpdateInput.Branch, and is useful for accessing the field via an interface.
func (*DeploymentTriggerUpdateInput) GetCheckSuites ¶ added in v0.1.2
func (v *DeploymentTriggerUpdateInput) GetCheckSuites() bool
GetCheckSuites returns DeploymentTriggerUpdateInput.CheckSuites, and is useful for accessing the field via an interface.
func (*DeploymentTriggerUpdateInput) GetRepository ¶ added in v0.1.2
func (v *DeploymentTriggerUpdateInput) GetRepository() string
GetRepository returns DeploymentTriggerUpdateInput.Repository, and is useful for accessing the field via an interface.
func (*DeploymentTriggerUpdateInput) GetRootDirectory ¶ added in v0.1.2
func (v *DeploymentTriggerUpdateInput) GetRootDirectory() *string
GetRootDirectory returns DeploymentTriggerUpdateInput.RootDirectory, and is useful for accessing the field via an interface.
type Environment ¶
type Environment struct { Id string `json:"id"` Name string `json:"name"` ProjectId string `json:"projectId"` }
Environment includes the GraphQL fields of Environment requested by the fragment Environment.
func (*Environment) GetId ¶
func (v *Environment) GetId() string
GetId returns Environment.Id, and is useful for accessing the field via an interface.
func (*Environment) GetName ¶
func (v *Environment) GetName() string
GetName returns Environment.Name, and is useful for accessing the field via an interface.
func (*Environment) GetProjectId ¶
func (v *Environment) GetProjectId() string
GetProjectId returns Environment.ProjectId, and is useful for accessing the field via an interface.
type EnvironmentCreateInput ¶
type EnvironmentCreateInput struct { Ephemeral bool `json:"ephemeral"` Name string `json:"name"` ProjectId string `json:"projectId"` // When committing the changes immediately, skip any initial deployments. SkipInitialDeploys bool `json:"skipInitialDeploys"` // Create the environment with all of the services, volumes, configuration, and variables from this source environment. SourceEnvironmentId *string `json:"sourceEnvironmentId,omitempty"` // Stage the initial changes for the environment. If false (default), the changes will be committed immediately. StageInitialChanges bool `json:"stageInitialChanges"` }
func (*EnvironmentCreateInput) GetEphemeral ¶
func (v *EnvironmentCreateInput) GetEphemeral() bool
GetEphemeral returns EnvironmentCreateInput.Ephemeral, and is useful for accessing the field via an interface.
func (*EnvironmentCreateInput) GetName ¶
func (v *EnvironmentCreateInput) GetName() string
GetName returns EnvironmentCreateInput.Name, and is useful for accessing the field via an interface.
func (*EnvironmentCreateInput) GetProjectId ¶
func (v *EnvironmentCreateInput) GetProjectId() string
GetProjectId returns EnvironmentCreateInput.ProjectId, and is useful for accessing the field via an interface.
func (*EnvironmentCreateInput) GetSkipInitialDeploys ¶ added in v0.4.0
func (v *EnvironmentCreateInput) GetSkipInitialDeploys() bool
GetSkipInitialDeploys returns EnvironmentCreateInput.SkipInitialDeploys, and is useful for accessing the field via an interface.
func (*EnvironmentCreateInput) GetSourceEnvironmentId ¶ added in v0.1.0
func (v *EnvironmentCreateInput) GetSourceEnvironmentId() *string
GetSourceEnvironmentId returns EnvironmentCreateInput.SourceEnvironmentId, and is useful for accessing the field via an interface.
func (*EnvironmentCreateInput) GetStageInitialChanges ¶ added in v0.4.0
func (v *EnvironmentCreateInput) GetStageInitialChanges() bool
GetStageInitialChanges returns EnvironmentCreateInput.StageInitialChanges, and is useful for accessing the field via an interface.
type EnvironmentResource ¶
type EnvironmentResource struct {
// contains filtered or unexported fields
}
func (*EnvironmentResource) Configure ¶
func (r *EnvironmentResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*EnvironmentResource) Create ¶
func (r *EnvironmentResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*EnvironmentResource) Delete ¶
func (r *EnvironmentResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*EnvironmentResource) ImportState ¶
func (r *EnvironmentResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*EnvironmentResource) Metadata ¶
func (r *EnvironmentResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*EnvironmentResource) Read ¶
func (r *EnvironmentResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*EnvironmentResource) Schema ¶
func (r *EnvironmentResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*EnvironmentResource) Update ¶
func (r *EnvironmentResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type Project ¶
type Project struct { Id string `json:"id"` Name string `json:"name"` Description string `json:"description"` IsPublic bool `json:"isPublic"` PrDeploys bool `json:"prDeploys"` Team *ProjectTeam `json:"team"` Environments ProjectEnvironmentsProjectEnvironmentsConnection `json:"environments"` }
Project includes the GraphQL fields of Project requested by the fragment Project.
func (*Project) GetDescription ¶
GetDescription returns Project.Description, and is useful for accessing the field via an interface.
func (*Project) GetEnvironments ¶
func (v *Project) GetEnvironments() ProjectEnvironmentsProjectEnvironmentsConnection
GetEnvironments returns Project.Environments, and is useful for accessing the field via an interface.
func (*Project) GetId ¶
GetId returns Project.Id, and is useful for accessing the field via an interface.
func (*Project) GetIsPublic ¶
GetIsPublic returns Project.IsPublic, and is useful for accessing the field via an interface.
func (*Project) GetName ¶
GetName returns Project.Name, and is useful for accessing the field via an interface.
func (*Project) GetPrDeploys ¶
GetPrDeploys returns Project.PrDeploys, and is useful for accessing the field via an interface.
func (*Project) GetTeam ¶
func (v *Project) GetTeam() *ProjectTeam
GetTeam returns Project.Team, and is useful for accessing the field via an interface.
type ProjectCreateInput ¶
type ProjectCreateInput struct { DefaultEnvironmentName string `json:"defaultEnvironmentName"` Description string `json:"description"` IsPublic bool `json:"isPublic"` Name string `json:"name"` Plugins []string `json:"plugins"` PrDeploys bool `json:"prDeploys"` Repo *ProjectCreateRepo `json:"repo"` TeamId *string `json:"teamId"` }
func (*ProjectCreateInput) GetDefaultEnvironmentName ¶
func (v *ProjectCreateInput) GetDefaultEnvironmentName() string
GetDefaultEnvironmentName returns ProjectCreateInput.DefaultEnvironmentName, and is useful for accessing the field via an interface.
func (*ProjectCreateInput) GetDescription ¶
func (v *ProjectCreateInput) GetDescription() string
GetDescription returns ProjectCreateInput.Description, and is useful for accessing the field via an interface.
func (*ProjectCreateInput) GetIsPublic ¶
func (v *ProjectCreateInput) GetIsPublic() bool
GetIsPublic returns ProjectCreateInput.IsPublic, and is useful for accessing the field via an interface.
func (*ProjectCreateInput) GetName ¶
func (v *ProjectCreateInput) GetName() string
GetName returns ProjectCreateInput.Name, and is useful for accessing the field via an interface.
func (*ProjectCreateInput) GetPlugins ¶
func (v *ProjectCreateInput) GetPlugins() []string
GetPlugins returns ProjectCreateInput.Plugins, and is useful for accessing the field via an interface.
func (*ProjectCreateInput) GetPrDeploys ¶
func (v *ProjectCreateInput) GetPrDeploys() bool
GetPrDeploys returns ProjectCreateInput.PrDeploys, and is useful for accessing the field via an interface.
func (*ProjectCreateInput) GetRepo ¶
func (v *ProjectCreateInput) GetRepo() *ProjectCreateRepo
GetRepo returns ProjectCreateInput.Repo, and is useful for accessing the field via an interface.
func (*ProjectCreateInput) GetTeamId ¶
func (v *ProjectCreateInput) GetTeamId() *string
GetTeamId returns ProjectCreateInput.TeamId, and is useful for accessing the field via an interface.
type ProjectCreateRepo ¶
type ProjectCreateRepo struct { Branch string `json:"branch"` FullRepoName string `json:"fullRepoName"` }
func (*ProjectCreateRepo) GetBranch ¶
func (v *ProjectCreateRepo) GetBranch() string
GetBranch returns ProjectCreateRepo.Branch, and is useful for accessing the field via an interface.
func (*ProjectCreateRepo) GetFullRepoName ¶
func (v *ProjectCreateRepo) GetFullRepoName() string
GetFullRepoName returns ProjectCreateRepo.FullRepoName, and is useful for accessing the field via an interface.
type ProjectEnvironmentsProjectEnvironmentsConnection ¶
type ProjectEnvironmentsProjectEnvironmentsConnection struct {
Edges []ProjectEnvironmentsProjectEnvironmentsConnectionEdgesProjectEnvironmentsConnectionEdge `json:"edges"`
}
ProjectEnvironmentsProjectEnvironmentsConnection includes the requested fields of the GraphQL type ProjectEnvironmentsConnection.
func (*ProjectEnvironmentsProjectEnvironmentsConnection) GetEdges ¶
func (v *ProjectEnvironmentsProjectEnvironmentsConnection) GetEdges() []ProjectEnvironmentsProjectEnvironmentsConnectionEdgesProjectEnvironmentsConnectionEdge
GetEdges returns ProjectEnvironmentsProjectEnvironmentsConnection.Edges, and is useful for accessing the field via an interface.
type ProjectEnvironmentsProjectEnvironmentsConnectionEdgesProjectEnvironmentsConnectionEdge ¶
type ProjectEnvironmentsProjectEnvironmentsConnectionEdgesProjectEnvironmentsConnectionEdge struct {
Node ProjectEnvironmentsProjectEnvironmentsConnectionEdgesProjectEnvironmentsConnectionEdgeNodeEnvironment `json:"node"`
}
ProjectEnvironmentsProjectEnvironmentsConnectionEdgesProjectEnvironmentsConnectionEdge includes the requested fields of the GraphQL type ProjectEnvironmentsConnectionEdge.
func (*ProjectEnvironmentsProjectEnvironmentsConnectionEdgesProjectEnvironmentsConnectionEdge) GetNode ¶
func (v *ProjectEnvironmentsProjectEnvironmentsConnectionEdgesProjectEnvironmentsConnectionEdge) GetNode() ProjectEnvironmentsProjectEnvironmentsConnectionEdgesProjectEnvironmentsConnectionEdgeNodeEnvironment
GetNode returns ProjectEnvironmentsProjectEnvironmentsConnectionEdgesProjectEnvironmentsConnectionEdge.Node, and is useful for accessing the field via an interface.
type ProjectEnvironmentsProjectEnvironmentsConnectionEdgesProjectEnvironmentsConnectionEdgeNodeEnvironment ¶
type ProjectEnvironmentsProjectEnvironmentsConnectionEdgesProjectEnvironmentsConnectionEdgeNodeEnvironment struct { Id string `json:"id"` Name string `json:"name"` CreatedAt time.Time `json:"createdAt"` }
ProjectEnvironmentsProjectEnvironmentsConnectionEdgesProjectEnvironmentsConnectionEdgeNodeEnvironment includes the requested fields of the GraphQL type Environment.
func (*ProjectEnvironmentsProjectEnvironmentsConnectionEdgesProjectEnvironmentsConnectionEdgeNodeEnvironment) GetCreatedAt ¶ added in v0.1.0
func (v *ProjectEnvironmentsProjectEnvironmentsConnectionEdgesProjectEnvironmentsConnectionEdgeNodeEnvironment) GetCreatedAt() time.Time
GetCreatedAt returns ProjectEnvironmentsProjectEnvironmentsConnectionEdgesProjectEnvironmentsConnectionEdgeNodeEnvironment.CreatedAt, and is useful for accessing the field via an interface.
func (*ProjectEnvironmentsProjectEnvironmentsConnectionEdgesProjectEnvironmentsConnectionEdgeNodeEnvironment) GetId ¶
func (v *ProjectEnvironmentsProjectEnvironmentsConnectionEdgesProjectEnvironmentsConnectionEdgeNodeEnvironment) GetId() string
GetId returns ProjectEnvironmentsProjectEnvironmentsConnectionEdgesProjectEnvironmentsConnectionEdgeNodeEnvironment.Id, and is useful for accessing the field via an interface.
func (*ProjectEnvironmentsProjectEnvironmentsConnectionEdgesProjectEnvironmentsConnectionEdgeNodeEnvironment) GetName ¶
func (v *ProjectEnvironmentsProjectEnvironmentsConnectionEdgesProjectEnvironmentsConnectionEdgeNodeEnvironment) GetName() string
GetName returns ProjectEnvironmentsProjectEnvironmentsConnectionEdgesProjectEnvironmentsConnectionEdgeNodeEnvironment.Name, and is useful for accessing the field via an interface.
type ProjectResource ¶
type ProjectResource struct {
// contains filtered or unexported fields
}
func (*ProjectResource) Configure ¶
func (r *ProjectResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ProjectResource) Create ¶
func (r *ProjectResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ProjectResource) Delete ¶
func (r *ProjectResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ProjectResource) ImportState ¶
func (r *ProjectResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ProjectResource) Metadata ¶
func (r *ProjectResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ProjectResource) Read ¶
func (r *ProjectResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ProjectResource) Schema ¶
func (r *ProjectResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ProjectResource) Update ¶
func (r *ProjectResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ProjectResourceModel ¶
type ProjectResourceModel struct { Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` Private types.Bool `tfsdk:"private"` HasPrDeploys types.Bool `tfsdk:"has_pr_deploys"` TeamId types.String `tfsdk:"team_id"` DefaultEnvironment types.Object `tfsdk:"default_environment"` }
type ProjectTeam ¶
type ProjectTeam struct {
Id string `json:"id"`
}
ProjectTeam includes the requested fields of the GraphQL type Team.
func (*ProjectTeam) GetId ¶
func (v *ProjectTeam) GetId() string
GetId returns ProjectTeam.Id, and is useful for accessing the field via an interface.
type ProjectUpdateInput ¶
type ProjectUpdateInput struct { BaseEnvironmentId *string `json:"baseEnvironmentId,omitempty"` Description string `json:"description"` IsPublic bool `json:"isPublic"` Name string `json:"name"` PrDeploys bool `json:"prDeploys"` // [Experimental] Will be deprecated eventually PrForks bool `json:"prForks"` }
func (*ProjectUpdateInput) GetBaseEnvironmentId ¶
func (v *ProjectUpdateInput) GetBaseEnvironmentId() *string
GetBaseEnvironmentId returns ProjectUpdateInput.BaseEnvironmentId, and is useful for accessing the field via an interface.
func (*ProjectUpdateInput) GetDescription ¶
func (v *ProjectUpdateInput) GetDescription() string
GetDescription returns ProjectUpdateInput.Description, and is useful for accessing the field via an interface.
func (*ProjectUpdateInput) GetIsPublic ¶
func (v *ProjectUpdateInput) GetIsPublic() bool
GetIsPublic returns ProjectUpdateInput.IsPublic, and is useful for accessing the field via an interface.
func (*ProjectUpdateInput) GetName ¶
func (v *ProjectUpdateInput) GetName() string
GetName returns ProjectUpdateInput.Name, and is useful for accessing the field via an interface.
func (*ProjectUpdateInput) GetPrDeploys ¶
func (v *ProjectUpdateInput) GetPrDeploys() bool
GetPrDeploys returns ProjectUpdateInput.PrDeploys, and is useful for accessing the field via an interface.
func (*ProjectUpdateInput) GetPrForks ¶ added in v0.1.0
func (v *ProjectUpdateInput) GetPrForks() bool
GetPrForks returns ProjectUpdateInput.PrForks, and is useful for accessing the field via an interface.
type RailwayProvider ¶
type RailwayProvider struct {
// contains filtered or unexported fields
}
func (*RailwayProvider) Configure ¶
func (p *RailwayProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*RailwayProvider) DataSources ¶
func (p *RailwayProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*RailwayProvider) Metadata ¶
func (p *RailwayProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*RailwayProvider) Resources ¶
func (p *RailwayProvider) Resources(ctx context.Context) []func() resource.Resource
func (*RailwayProvider) Schema ¶
func (p *RailwayProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type RailwayProviderModel ¶
type RestartPolicyType ¶ added in v0.1.1
type RestartPolicyType string
const ( RestartPolicyTypeAlways RestartPolicyType = "ALWAYS" RestartPolicyTypeNever RestartPolicyType = "NEVER" RestartPolicyTypeOnFailure RestartPolicyType = "ON_FAILURE" )
type Service ¶
type Service struct { Id string `json:"id"` Name string `json:"name"` ProjectId string `json:"projectId"` }
Service includes the GraphQL fields of Service requested by the fragment Service.
func (*Service) GetId ¶
GetId returns Service.Id, and is useful for accessing the field via an interface.
func (*Service) GetName ¶
GetName returns Service.Name, and is useful for accessing the field via an interface.
func (*Service) GetProjectId ¶
GetProjectId returns Service.ProjectId, and is useful for accessing the field via an interface.
type ServiceConnectInput ¶ added in v0.4.0
type ServiceConnectInput struct { // The branch to connect to. e.g. 'main' Branch *string `json:"branch,omitempty"` // Name of the Dockerhub or GHCR image to connect this service to. Image *string `json:"image,omitempty"` // The full name of the repo to connect to. e.g. 'railwayapp/starters' Repo *string `json:"repo,omitempty"` }
func (*ServiceConnectInput) GetBranch ¶ added in v0.4.0
func (v *ServiceConnectInput) GetBranch() *string
GetBranch returns ServiceConnectInput.Branch, and is useful for accessing the field via an interface.
func (*ServiceConnectInput) GetImage ¶ added in v0.4.0
func (v *ServiceConnectInput) GetImage() *string
GetImage returns ServiceConnectInput.Image, and is useful for accessing the field via an interface.
func (*ServiceConnectInput) GetRepo ¶ added in v0.4.0
func (v *ServiceConnectInput) GetRepo() *string
GetRepo returns ServiceConnectInput.Repo, and is useful for accessing the field via an interface.
type ServiceCreateInput ¶
type ServiceCreateInput struct { Branch *string `json:"branch,omitempty"` // Environment ID. If the specified environment is a fork, the service will only // be created in it. Otherwise it will created in all environments that are not // forks of other environments EnvironmentId *string `json:"environmentId,omitempty"` Name string `json:"name"` ProjectId string `json:"projectId"` Source *ServiceSourceInput `json:"source,omitempty"` Variables map[string]interface{} `json:"variables"` }
func (*ServiceCreateInput) GetBranch ¶
func (v *ServiceCreateInput) GetBranch() *string
GetBranch returns ServiceCreateInput.Branch, and is useful for accessing the field via an interface.
func (*ServiceCreateInput) GetEnvironmentId ¶ added in v0.1.0
func (v *ServiceCreateInput) GetEnvironmentId() *string
GetEnvironmentId returns ServiceCreateInput.EnvironmentId, and is useful for accessing the field via an interface.
func (*ServiceCreateInput) GetName ¶
func (v *ServiceCreateInput) GetName() string
GetName returns ServiceCreateInput.Name, and is useful for accessing the field via an interface.
func (*ServiceCreateInput) GetProjectId ¶
func (v *ServiceCreateInput) GetProjectId() string
GetProjectId returns ServiceCreateInput.ProjectId, and is useful for accessing the field via an interface.
func (*ServiceCreateInput) GetSource ¶
func (v *ServiceCreateInput) GetSource() *ServiceSourceInput
GetSource returns ServiceCreateInput.Source, and is useful for accessing the field via an interface.
func (*ServiceCreateInput) GetVariables ¶
func (v *ServiceCreateInput) GetVariables() map[string]interface{}
GetVariables returns ServiceCreateInput.Variables, and is useful for accessing the field via an interface.
type ServiceDomain ¶ added in v0.2.0
type ServiceDomain struct { Id string `json:"id"` Domain string `json:"domain"` Suffix string `json:"suffix"` EnvironmentId string `json:"environmentId"` ServiceId string `json:"serviceId"` }
ServiceDomain includes the GraphQL fields of ServiceDomain requested by the fragment ServiceDomain.
func (*ServiceDomain) GetDomain ¶ added in v0.2.0
func (v *ServiceDomain) GetDomain() string
GetDomain returns ServiceDomain.Domain, and is useful for accessing the field via an interface.
func (*ServiceDomain) GetEnvironmentId ¶ added in v0.2.0
func (v *ServiceDomain) GetEnvironmentId() string
GetEnvironmentId returns ServiceDomain.EnvironmentId, and is useful for accessing the field via an interface.
func (*ServiceDomain) GetId ¶ added in v0.2.0
func (v *ServiceDomain) GetId() string
GetId returns ServiceDomain.Id, and is useful for accessing the field via an interface.
func (*ServiceDomain) GetServiceId ¶ added in v0.2.0
func (v *ServiceDomain) GetServiceId() string
GetServiceId returns ServiceDomain.ServiceId, and is useful for accessing the field via an interface.
func (*ServiceDomain) GetSuffix ¶ added in v0.2.0
func (v *ServiceDomain) GetSuffix() string
GetSuffix returns ServiceDomain.Suffix, and is useful for accessing the field via an interface.
type ServiceDomainCreateInput ¶ added in v0.2.0
type ServiceDomainCreateInput struct { EnvironmentId string `json:"environmentId"` ServiceId string `json:"serviceId"` }
func (*ServiceDomainCreateInput) GetEnvironmentId ¶ added in v0.2.0
func (v *ServiceDomainCreateInput) GetEnvironmentId() string
GetEnvironmentId returns ServiceDomainCreateInput.EnvironmentId, and is useful for accessing the field via an interface.
func (*ServiceDomainCreateInput) GetServiceId ¶ added in v0.2.0
func (v *ServiceDomainCreateInput) GetServiceId() string
GetServiceId returns ServiceDomainCreateInput.ServiceId, and is useful for accessing the field via an interface.
type ServiceDomainResource ¶ added in v0.2.0
type ServiceDomainResource struct {
// contains filtered or unexported fields
}
func (*ServiceDomainResource) Configure ¶ added in v0.2.0
func (r *ServiceDomainResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ServiceDomainResource) Create ¶ added in v0.2.0
func (r *ServiceDomainResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ServiceDomainResource) Delete ¶ added in v0.2.0
func (r *ServiceDomainResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ServiceDomainResource) ImportState ¶ added in v0.2.0
func (r *ServiceDomainResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ServiceDomainResource) Metadata ¶ added in v0.2.0
func (r *ServiceDomainResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ServiceDomainResource) Read ¶ added in v0.2.0
func (r *ServiceDomainResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ServiceDomainResource) Schema ¶ added in v0.2.0
func (r *ServiceDomainResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ServiceDomainResource) Update ¶ added in v0.2.0
func (r *ServiceDomainResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ServiceDomainResourceModel ¶ added in v0.2.0
type ServiceDomainResourceModel struct { Id types.String `tfsdk:"id"` Subdomain types.String `tfsdk:"subdomain"` EnvironmentId types.String `tfsdk:"environment_id"` ServiceId types.String `tfsdk:"service_id"` ProjectId types.String `tfsdk:"project_id"` Suffix types.String `tfsdk:"suffix"` Domain types.String `tfsdk:"domain"` }
type ServiceDomainUpdateInput ¶ added in v0.2.0
type ServiceDomainUpdateInput struct { Domain string `json:"domain"` EnvironmentId string `json:"environmentId"` ServiceId string `json:"serviceId"` }
func (*ServiceDomainUpdateInput) GetDomain ¶ added in v0.2.0
func (v *ServiceDomainUpdateInput) GetDomain() string
GetDomain returns ServiceDomainUpdateInput.Domain, and is useful for accessing the field via an interface.
func (*ServiceDomainUpdateInput) GetEnvironmentId ¶ added in v0.2.0
func (v *ServiceDomainUpdateInput) GetEnvironmentId() string
GetEnvironmentId returns ServiceDomainUpdateInput.EnvironmentId, and is useful for accessing the field via an interface.
func (*ServiceDomainUpdateInput) GetServiceId ¶ added in v0.2.0
func (v *ServiceDomainUpdateInput) GetServiceId() string
GetServiceId returns ServiceDomainUpdateInput.ServiceId, and is useful for accessing the field via an interface.
type ServiceInstanceUpdateInput ¶ added in v0.1.1
type ServiceInstanceUpdateInput struct { BuildCommand *string `json:"buildCommand,omitempty"` Builder *Builder `json:"builder,omitempty"` CronSchedule *string `json:"cronSchedule"` HealthcheckPath *string `json:"healthcheckPath,omitempty"` HealthcheckTimeout *int `json:"healthcheckTimeout,omitempty"` NixpacksPlan *map[string]interface{} `json:"nixpacksPlan,omitempty"` NumReplicas *int `json:"numReplicas,omitempty"` RailwayConfigFile string `json:"railwayConfigFile"` Region *string `json:"region,omitempty"` RestartPolicyMaxRetries *int `json:"restartPolicyMaxRetries,omitempty"` RestartPolicyType *RestartPolicyType `json:"restartPolicyType,omitempty"` RootDirectory string `json:"rootDirectory"` Source *ServiceSourceInput `json:"source,omitempty"` StartCommand *string `json:"startCommand,omitempty"` WatchPatterns []*string `json:"watchPatterns"` }
func (*ServiceInstanceUpdateInput) GetBuildCommand ¶ added in v0.1.1
func (v *ServiceInstanceUpdateInput) GetBuildCommand() *string
GetBuildCommand returns ServiceInstanceUpdateInput.BuildCommand, and is useful for accessing the field via an interface.
func (*ServiceInstanceUpdateInput) GetBuilder ¶ added in v0.1.1
func (v *ServiceInstanceUpdateInput) GetBuilder() *Builder
GetBuilder returns ServiceInstanceUpdateInput.Builder, and is useful for accessing the field via an interface.
func (*ServiceInstanceUpdateInput) GetCronSchedule ¶ added in v0.1.1
func (v *ServiceInstanceUpdateInput) GetCronSchedule() *string
GetCronSchedule returns ServiceInstanceUpdateInput.CronSchedule, and is useful for accessing the field via an interface.
func (*ServiceInstanceUpdateInput) GetHealthcheckPath ¶ added in v0.1.1
func (v *ServiceInstanceUpdateInput) GetHealthcheckPath() *string
GetHealthcheckPath returns ServiceInstanceUpdateInput.HealthcheckPath, and is useful for accessing the field via an interface.
func (*ServiceInstanceUpdateInput) GetHealthcheckTimeout ¶ added in v0.1.1
func (v *ServiceInstanceUpdateInput) GetHealthcheckTimeout() *int
GetHealthcheckTimeout returns ServiceInstanceUpdateInput.HealthcheckTimeout, and is useful for accessing the field via an interface.
func (*ServiceInstanceUpdateInput) GetNixpacksPlan ¶ added in v0.1.1
func (v *ServiceInstanceUpdateInput) GetNixpacksPlan() *map[string]interface{}
GetNixpacksPlan returns ServiceInstanceUpdateInput.NixpacksPlan, and is useful for accessing the field via an interface.
func (*ServiceInstanceUpdateInput) GetNumReplicas ¶ added in v0.3.0
func (v *ServiceInstanceUpdateInput) GetNumReplicas() *int
GetNumReplicas returns ServiceInstanceUpdateInput.NumReplicas, and is useful for accessing the field via an interface.
func (*ServiceInstanceUpdateInput) GetRailwayConfigFile ¶ added in v0.1.1
func (v *ServiceInstanceUpdateInput) GetRailwayConfigFile() string
GetRailwayConfigFile returns ServiceInstanceUpdateInput.RailwayConfigFile, and is useful for accessing the field via an interface.
func (*ServiceInstanceUpdateInput) GetRegion ¶ added in v0.3.0
func (v *ServiceInstanceUpdateInput) GetRegion() *string
GetRegion returns ServiceInstanceUpdateInput.Region, and is useful for accessing the field via an interface.
func (*ServiceInstanceUpdateInput) GetRestartPolicyMaxRetries ¶ added in v0.1.1
func (v *ServiceInstanceUpdateInput) GetRestartPolicyMaxRetries() *int
GetRestartPolicyMaxRetries returns ServiceInstanceUpdateInput.RestartPolicyMaxRetries, and is useful for accessing the field via an interface.
func (*ServiceInstanceUpdateInput) GetRestartPolicyType ¶ added in v0.1.1
func (v *ServiceInstanceUpdateInput) GetRestartPolicyType() *RestartPolicyType
GetRestartPolicyType returns ServiceInstanceUpdateInput.RestartPolicyType, and is useful for accessing the field via an interface.
func (*ServiceInstanceUpdateInput) GetRootDirectory ¶ added in v0.1.1
func (v *ServiceInstanceUpdateInput) GetRootDirectory() string
GetRootDirectory returns ServiceInstanceUpdateInput.RootDirectory, and is useful for accessing the field via an interface.
func (*ServiceInstanceUpdateInput) GetSource ¶ added in v0.1.1
func (v *ServiceInstanceUpdateInput) GetSource() *ServiceSourceInput
GetSource returns ServiceInstanceUpdateInput.Source, and is useful for accessing the field via an interface.
func (*ServiceInstanceUpdateInput) GetStartCommand ¶ added in v0.1.1
func (v *ServiceInstanceUpdateInput) GetStartCommand() *string
GetStartCommand returns ServiceInstanceUpdateInput.StartCommand, and is useful for accessing the field via an interface.
func (*ServiceInstanceUpdateInput) GetWatchPatterns ¶ added in v0.1.1
func (v *ServiceInstanceUpdateInput) GetWatchPatterns() []*string
GetWatchPatterns returns ServiceInstanceUpdateInput.WatchPatterns, and is useful for accessing the field via an interface.
type ServiceResource ¶
type ServiceResource struct {
// contains filtered or unexported fields
}
func (*ServiceResource) ConfigValidators ¶ added in v0.1.1
func (r *ServiceResource) ConfigValidators(ctx context.Context) []resource.ConfigValidator
func (*ServiceResource) Configure ¶
func (r *ServiceResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ServiceResource) Create ¶
func (r *ServiceResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ServiceResource) Delete ¶
func (r *ServiceResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ServiceResource) ImportState ¶
func (r *ServiceResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ServiceResource) Metadata ¶
func (r *ServiceResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ServiceResource) Read ¶
func (r *ServiceResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ServiceResource) Schema ¶
func (r *ServiceResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ServiceResource) Update ¶
func (r *ServiceResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ServiceResourceModel ¶
type ServiceResourceModel struct { Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` ProjectId types.String `tfsdk:"project_id"` CronSchedule types.String `tfsdk:"cron_schedule"` SourceImage types.String `tfsdk:"source_image"` SourceRepo types.String `tfsdk:"source_repo"` SourceRepoBranch types.String `tfsdk:"source_repo_branch"` RootDirectory types.String `tfsdk:"root_directory"` ConfigPath types.String `tfsdk:"config_path"` Volume types.Object `tfsdk:"volume"` }
type ServiceResourceVolumeModel ¶ added in v0.3.0
type ServiceSourceInput ¶
type ServiceSourceInput struct { Image *string `json:"image,omitempty"` Repo *string `json:"repo,omitempty"` }
func (*ServiceSourceInput) GetImage ¶ added in v0.1.0
func (v *ServiceSourceInput) GetImage() *string
GetImage returns ServiceSourceInput.Image, and is useful for accessing the field via an interface.
func (*ServiceSourceInput) GetRepo ¶
func (v *ServiceSourceInput) GetRepo() *string
GetRepo returns ServiceSourceInput.Repo, and is useful for accessing the field via an interface.
type ServiceUpdateInput ¶
func (*ServiceUpdateInput) GetIcon ¶
func (v *ServiceUpdateInput) GetIcon() string
GetIcon returns ServiceUpdateInput.Icon, and is useful for accessing the field via an interface.
func (*ServiceUpdateInput) GetName ¶
func (v *ServiceUpdateInput) GetName() string
GetName returns ServiceUpdateInput.Name, and is useful for accessing the field via an interface.
type SharedVariableResource ¶ added in v0.1.0
type SharedVariableResource struct {
// contains filtered or unexported fields
}
func (*SharedVariableResource) Configure ¶ added in v0.1.0
func (r *SharedVariableResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*SharedVariableResource) Create ¶ added in v0.1.0
func (r *SharedVariableResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*SharedVariableResource) Delete ¶ added in v0.1.0
func (r *SharedVariableResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*SharedVariableResource) ImportState ¶ added in v0.1.0
func (r *SharedVariableResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*SharedVariableResource) Metadata ¶ added in v0.1.0
func (r *SharedVariableResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*SharedVariableResource) Read ¶ added in v0.1.0
func (r *SharedVariableResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*SharedVariableResource) Schema ¶ added in v0.1.0
func (r *SharedVariableResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*SharedVariableResource) Update ¶ added in v0.1.0
func (r *SharedVariableResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type SharedVariableResourceModel ¶ added in v0.1.0
type SharedVariableResourceModel struct {}
type TCPProxy ¶ added in v0.3.0
type TCPProxy struct { Id string `json:"id"` ApplicationPort int `json:"applicationPort"` ProxyPort int `json:"proxyPort"` Domain string `json:"domain"` EnvironmentId string `json:"environmentId"` ServiceId string `json:"serviceId"` }
TCPProxy includes the GraphQL fields of TCPProxy requested by the fragment TCPProxy.
func (*TCPProxy) GetApplicationPort ¶ added in v0.3.0
GetApplicationPort returns TCPProxy.ApplicationPort, and is useful for accessing the field via an interface.
func (*TCPProxy) GetDomain ¶ added in v0.3.0
GetDomain returns TCPProxy.Domain, and is useful for accessing the field via an interface.
func (*TCPProxy) GetEnvironmentId ¶ added in v0.3.0
GetEnvironmentId returns TCPProxy.EnvironmentId, and is useful for accessing the field via an interface.
func (*TCPProxy) GetId ¶ added in v0.3.0
GetId returns TCPProxy.Id, and is useful for accessing the field via an interface.
func (*TCPProxy) GetProxyPort ¶ added in v0.3.0
GetProxyPort returns TCPProxy.ProxyPort, and is useful for accessing the field via an interface.
func (*TCPProxy) GetServiceId ¶ added in v0.3.0
GetServiceId returns TCPProxy.ServiceId, and is useful for accessing the field via an interface.
type TCPProxyCreateInput ¶ added in v0.3.0
type TCPProxyCreateInput struct { ApplicationPort int `json:"applicationPort"` EnvironmentId string `json:"environmentId"` ServiceId string `json:"serviceId"` }
func (*TCPProxyCreateInput) GetApplicationPort ¶ added in v0.3.0
func (v *TCPProxyCreateInput) GetApplicationPort() int
GetApplicationPort returns TCPProxyCreateInput.ApplicationPort, and is useful for accessing the field via an interface.
func (*TCPProxyCreateInput) GetEnvironmentId ¶ added in v0.3.0
func (v *TCPProxyCreateInput) GetEnvironmentId() string
GetEnvironmentId returns TCPProxyCreateInput.EnvironmentId, and is useful for accessing the field via an interface.
func (*TCPProxyCreateInput) GetServiceId ¶ added in v0.3.0
func (v *TCPProxyCreateInput) GetServiceId() string
GetServiceId returns TCPProxyCreateInput.ServiceId, and is useful for accessing the field via an interface.
type TcpProxyResource ¶ added in v0.3.0
type TcpProxyResource struct {
// contains filtered or unexported fields
}
func (*TcpProxyResource) Configure ¶ added in v0.3.0
func (r *TcpProxyResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*TcpProxyResource) Create ¶ added in v0.3.0
func (r *TcpProxyResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*TcpProxyResource) Delete ¶ added in v0.3.0
func (r *TcpProxyResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*TcpProxyResource) ImportState ¶ added in v0.3.0
func (r *TcpProxyResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*TcpProxyResource) Metadata ¶ added in v0.3.0
func (r *TcpProxyResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*TcpProxyResource) Read ¶ added in v0.3.0
func (r *TcpProxyResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*TcpProxyResource) Schema ¶ added in v0.3.0
func (r *TcpProxyResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*TcpProxyResource) Update ¶ added in v0.3.0
func (r *TcpProxyResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type TcpProxyResourceModel ¶ added in v0.3.0
type VariableDeleteInput ¶ added in v0.1.0
type VariableDeleteInput struct { EnvironmentId string `json:"environmentId"` Name string `json:"name"` ProjectId string `json:"projectId"` ServiceId *string `json:"serviceId"` }
func (*VariableDeleteInput) GetEnvironmentId ¶ added in v0.1.0
func (v *VariableDeleteInput) GetEnvironmentId() string
GetEnvironmentId returns VariableDeleteInput.EnvironmentId, and is useful for accessing the field via an interface.
func (*VariableDeleteInput) GetName ¶ added in v0.1.0
func (v *VariableDeleteInput) GetName() string
GetName returns VariableDeleteInput.Name, and is useful for accessing the field via an interface.
func (*VariableDeleteInput) GetProjectId ¶ added in v0.1.0
func (v *VariableDeleteInput) GetProjectId() string
GetProjectId returns VariableDeleteInput.ProjectId, and is useful for accessing the field via an interface.
func (*VariableDeleteInput) GetServiceId ¶ added in v0.1.0
func (v *VariableDeleteInput) GetServiceId() *string
GetServiceId returns VariableDeleteInput.ServiceId, and is useful for accessing the field via an interface.
type VariableResource ¶ added in v0.1.0
type VariableResource struct {
// contains filtered or unexported fields
}
func (*VariableResource) Configure ¶ added in v0.1.0
func (r *VariableResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*VariableResource) Create ¶ added in v0.1.0
func (r *VariableResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*VariableResource) Delete ¶ added in v0.1.0
func (r *VariableResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*VariableResource) ImportState ¶ added in v0.1.0
func (r *VariableResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*VariableResource) Metadata ¶ added in v0.1.0
func (r *VariableResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*VariableResource) Read ¶ added in v0.1.0
func (r *VariableResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*VariableResource) Schema ¶ added in v0.1.0
func (r *VariableResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*VariableResource) Update ¶ added in v0.1.0
func (r *VariableResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type VariableResourceModel ¶ added in v0.1.0
type VariableUpsertInput ¶ added in v0.1.0
type VariableUpsertInput struct { EnvironmentId string `json:"environmentId"` Name string `json:"name"` ProjectId string `json:"projectId"` ServiceId *string `json:"serviceId"` Value string `json:"value"` }
func (*VariableUpsertInput) GetEnvironmentId ¶ added in v0.1.0
func (v *VariableUpsertInput) GetEnvironmentId() string
GetEnvironmentId returns VariableUpsertInput.EnvironmentId, and is useful for accessing the field via an interface.
func (*VariableUpsertInput) GetName ¶ added in v0.1.0
func (v *VariableUpsertInput) GetName() string
GetName returns VariableUpsertInput.Name, and is useful for accessing the field via an interface.
func (*VariableUpsertInput) GetProjectId ¶ added in v0.1.0
func (v *VariableUpsertInput) GetProjectId() string
GetProjectId returns VariableUpsertInput.ProjectId, and is useful for accessing the field via an interface.
func (*VariableUpsertInput) GetServiceId ¶ added in v0.1.0
func (v *VariableUpsertInput) GetServiceId() *string
GetServiceId returns VariableUpsertInput.ServiceId, and is useful for accessing the field via an interface.
func (*VariableUpsertInput) GetValue ¶ added in v0.1.0
func (v *VariableUpsertInput) GetValue() string
GetValue returns VariableUpsertInput.Value, and is useful for accessing the field via an interface.
type Volume ¶ added in v0.3.0
type Volume struct { Id string `json:"id"` Name string `json:"name"` VolumeInstances VolumeVolumeInstancesVolumeVolumeInstancesConnection `json:"volumeInstances"` }
Volume includes the GraphQL fields of Volume requested by the fragment Volume.
func (*Volume) GetId ¶ added in v0.3.0
GetId returns Volume.Id, and is useful for accessing the field via an interface.
func (*Volume) GetName ¶ added in v0.3.0
GetName returns Volume.Name, and is useful for accessing the field via an interface.
func (*Volume) GetVolumeInstances ¶ added in v0.3.0
func (v *Volume) GetVolumeInstances() VolumeVolumeInstancesVolumeVolumeInstancesConnection
GetVolumeInstances returns Volume.VolumeInstances, and is useful for accessing the field via an interface.
type VolumeCreateInput ¶ added in v0.3.0
type VolumeCreateInput struct { // The environment to deploy the volume instances into. If `null`, the volume // will not be deployed to any environment. `undefined` will deploy to all environments. EnvironmentId *string `json:"environmentId,omitempty"` // The path in the container to mount the volume to MountPath string `json:"mountPath"` // The project to create the volume in ProjectId string `json:"projectId"` // The service to attach the volume to. If not provided, the volume will be disconnected. ServiceId *string `json:"serviceId"` }
func (*VolumeCreateInput) GetEnvironmentId ¶ added in v0.3.0
func (v *VolumeCreateInput) GetEnvironmentId() *string
GetEnvironmentId returns VolumeCreateInput.EnvironmentId, and is useful for accessing the field via an interface.
func (*VolumeCreateInput) GetMountPath ¶ added in v0.3.0
func (v *VolumeCreateInput) GetMountPath() string
GetMountPath returns VolumeCreateInput.MountPath, and is useful for accessing the field via an interface.
func (*VolumeCreateInput) GetProjectId ¶ added in v0.3.0
func (v *VolumeCreateInput) GetProjectId() string
GetProjectId returns VolumeCreateInput.ProjectId, and is useful for accessing the field via an interface.
func (*VolumeCreateInput) GetServiceId ¶ added in v0.3.0
func (v *VolumeCreateInput) GetServiceId() *string
GetServiceId returns VolumeCreateInput.ServiceId, and is useful for accessing the field via an interface.
type VolumeInstanceUpdateInput ¶ added in v0.3.0
type VolumeInstanceUpdateInput struct { // The mount path of the volume instance. If not provided, the mount path will not be updated. MountPath string `json:"mountPath"` // The service to attach the volume to. If not provided, the volume will be disconnected. ServiceId string `json:"serviceId"` // The state of the volume instance. If not provided, the state will not be updated. State *VolumeState `json:"state,omitempty"` }
func (*VolumeInstanceUpdateInput) GetMountPath ¶ added in v0.3.0
func (v *VolumeInstanceUpdateInput) GetMountPath() string
GetMountPath returns VolumeInstanceUpdateInput.MountPath, and is useful for accessing the field via an interface.
func (*VolumeInstanceUpdateInput) GetServiceId ¶ added in v0.3.0
func (v *VolumeInstanceUpdateInput) GetServiceId() string
GetServiceId returns VolumeInstanceUpdateInput.ServiceId, and is useful for accessing the field via an interface.
func (*VolumeInstanceUpdateInput) GetState ¶ added in v0.3.0
func (v *VolumeInstanceUpdateInput) GetState() *VolumeState
GetState returns VolumeInstanceUpdateInput.State, and is useful for accessing the field via an interface.
type VolumeState ¶ added in v0.3.0
type VolumeState string
const ( VolumeStateDeleted VolumeState = "DELETED" VolumeStateDeleting VolumeState = "DELETING" VolumeStateError VolumeState = "ERROR" VolumeStateMigrating VolumeState = "MIGRATING" VolumeStateMigrationPending VolumeState = "MIGRATION_PENDING" VolumeStateReady VolumeState = "READY" VolumeStateUpdating VolumeState = "UPDATING" )
type VolumeUpdateInput ¶ added in v0.3.0
type VolumeUpdateInput struct { // The name of the volume Name string `json:"name"` }
func (*VolumeUpdateInput) GetName ¶ added in v0.3.0
func (v *VolumeUpdateInput) GetName() string
GetName returns VolumeUpdateInput.Name, and is useful for accessing the field via an interface.
type VolumeVolumeInstancesVolumeVolumeInstancesConnection ¶ added in v0.3.0
type VolumeVolumeInstancesVolumeVolumeInstancesConnection struct {
Edges []VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdge `json:"edges"`
}
VolumeVolumeInstancesVolumeVolumeInstancesConnection includes the requested fields of the GraphQL type VolumeVolumeInstancesConnection.
func (*VolumeVolumeInstancesVolumeVolumeInstancesConnection) GetEdges ¶ added in v0.3.0
func (v *VolumeVolumeInstancesVolumeVolumeInstancesConnection) GetEdges() []VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdge
GetEdges returns VolumeVolumeInstancesVolumeVolumeInstancesConnection.Edges, and is useful for accessing the field via an interface.
type VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdge ¶ added in v0.3.0
type VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdge struct {
Node VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdgeNodeVolumeInstance `json:"node"`
}
VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdge includes the requested fields of the GraphQL type VolumeVolumeInstancesConnectionEdge.
func (*VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdge) GetNode ¶ added in v0.3.0
func (v *VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdge) GetNode() VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdgeNodeVolumeInstance
GetNode returns VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdge.Node, and is useful for accessing the field via an interface.
type VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdgeNodeVolumeInstance ¶ added in v0.3.0
type VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdgeNodeVolumeInstance struct { Id string `json:"id"` EnvironmentId string `json:"environmentId"` ServiceId string `json:"serviceId"` MountPath string `json:"mountPath"` SizeMB int `json:"sizeMB"` }
VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdgeNodeVolumeInstance includes the requested fields of the GraphQL type VolumeInstance.
func (*VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdgeNodeVolumeInstance) GetEnvironmentId ¶ added in v0.3.0
func (v *VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdgeNodeVolumeInstance) GetEnvironmentId() string
GetEnvironmentId returns VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdgeNodeVolumeInstance.EnvironmentId, and is useful for accessing the field via an interface.
func (*VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdgeNodeVolumeInstance) GetId ¶ added in v0.3.0
func (v *VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdgeNodeVolumeInstance) GetId() string
GetId returns VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdgeNodeVolumeInstance.Id, and is useful for accessing the field via an interface.
func (*VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdgeNodeVolumeInstance) GetMountPath ¶ added in v0.3.0
func (v *VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdgeNodeVolumeInstance) GetMountPath() string
GetMountPath returns VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdgeNodeVolumeInstance.MountPath, and is useful for accessing the field via an interface.
func (*VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdgeNodeVolumeInstance) GetServiceId ¶ added in v0.3.0
func (v *VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdgeNodeVolumeInstance) GetServiceId() string
GetServiceId returns VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdgeNodeVolumeInstance.ServiceId, and is useful for accessing the field via an interface.
func (*VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdgeNodeVolumeInstance) GetSizeMB ¶ added in v0.3.0
func (v *VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdgeNodeVolumeInstance) GetSizeMB() int
GetSizeMB returns VolumeVolumeInstancesVolumeVolumeInstancesConnectionEdgesVolumeVolumeInstancesConnectionEdgeNodeVolumeInstance.SizeMB, and is useful for accessing the field via an interface.