Documentation ¶
Index ¶
- Constants
- func NewProvider() provider.Provider
- func NewResourcePipeline() resource.Resource
- type Provider
- func (p Provider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p Provider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p Provider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p Provider) Resources(ctx context.Context) []func() resource.Resource
- func (p Provider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type ResourcePipeline
- func (r ResourcePipeline) Corrupted() bool
- func (r ResourcePipeline) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r ResourcePipeline) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r ResourcePipeline) Equal(l ResourcePipeline) bool
- func (r ResourcePipeline) Hash() string
- func (r ResourcePipeline) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r ResourcePipeline) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r ResourcePipeline) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r ResourcePipeline) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ResourcePipelineDestination
- type ResourcePipelineSource
Constants ¶
View Source
const ( ProviderHostname = "registry.terraform.io" ProviderNamespace = "seal-io" ProviderType = "byteset" ProviderAddress = ProviderHostname + "/" + ProviderNamespace + "/" + ProviderType )
Variables ¶
This section is empty.
Functions ¶
func NewProvider ¶
func NewResourcePipeline ¶
Types ¶
type Provider ¶
type Provider struct{}
func (Provider) Configure ¶
func (p Provider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (Provider) DataSources ¶
func (p Provider) DataSources(ctx context.Context) []func() datasource.DataSource
func (Provider) Metadata ¶
func (p Provider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (Provider) Schema ¶
func (p Provider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type ResourcePipeline ¶
type ResourcePipeline struct { ID types.String `tfsdk:"id"` Source ResourcePipelineSource `tfsdk:"source"` Destination ResourcePipelineDestination `tfsdk:"destination"` Timeouts timeouts.Value `tfsdk:"timeouts"` Cost types.String `tfsdk:"cost"` }
func (ResourcePipeline) Corrupted ¶
func (r ResourcePipeline) Corrupted() bool
func (ResourcePipeline) Create ¶
func (r ResourcePipeline) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (ResourcePipeline) Delete ¶
func (r ResourcePipeline) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (ResourcePipeline) Equal ¶
func (r ResourcePipeline) Equal(l ResourcePipeline) bool
func (ResourcePipeline) Hash ¶
func (r ResourcePipeline) Hash() string
func (ResourcePipeline) Metadata ¶
func (r ResourcePipeline) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (ResourcePipeline) Read ¶
func (r ResourcePipeline) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (ResourcePipeline) Schema ¶
func (r ResourcePipeline) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (ResourcePipeline) Update ¶
func (r ResourcePipeline) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ResourcePipelineDestination ¶
type ResourcePipelineDestination struct { Address types.String `tfsdk:"address"` ConnMax types.Int64 `tfsdk:"conn_max"` BatchCap types.Int64 `tfsdk:"batch_cap"` Salt types.String `tfsdk:"salt"` }
func (ResourcePipelineDestination) Reflect ¶
func (r ResourcePipelineDestination) Reflect(ctx context.Context) (pipeline.Destination, error)
Click to show internal directories.
Click to hide internal directories.