Documentation ¶
Index ¶
- func New(version string) func() *schema.Provider
- type ClusterData
- type ClusterResource
- func (c *ClusterResource) Create(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func (c *ClusterResource) Delete(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func (c *ClusterResource) Read(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func (c *ClusterResource) Schema() *schema.Resource
- func (c *ClusterResource) Update(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- type RegionData
- type RegionResource
- func (r *RegionResource) Create(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func (r *RegionResource) Delete(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func (r *RegionResource) Read(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
- func (r *RegionResource) Schema() *schema.Resource
- func (r *RegionResource) Update(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClusterData ¶
type ClusterData struct{}
func NewClusterData ¶
func NewClusterData() *ClusterData
func (*ClusterData) Read ¶
func (c *ClusterData) Read(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func (*ClusterData) Schema ¶
func (c *ClusterData) Schema() *schema.Resource
type ClusterResource ¶
type ClusterResource struct{}
func NewClusterResource ¶
func NewClusterResource() *ClusterResource
func (*ClusterResource) Create ¶
func (c *ClusterResource) Create(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func (*ClusterResource) Delete ¶
func (c *ClusterResource) Delete(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func (*ClusterResource) Read ¶
func (c *ClusterResource) Read(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func (*ClusterResource) Schema ¶
func (c *ClusterResource) Schema() *schema.Resource
func (*ClusterResource) Update ¶
func (c *ClusterResource) Update(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
type RegionData ¶
type RegionData struct{}
RegionResource is a struct to namespace all the functions involved in the Region Resource. When multiple resources and objects are in the same pkg/provider, then it's difficult to namespace things well
func NewRegionData ¶
func NewRegionData() *RegionData
func (*RegionData) Read ¶
func (r *RegionData) Read(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func (*RegionData) Schema ¶
func (r *RegionData) Schema() *schema.Resource
type RegionResource ¶
type RegionResource struct{}
RegionResource is a struct to namespace all the functions involved in the Region Resource. When multiple resources and objects are in the same pkg/provider, then it's difficult to namespace things well
func NewRegionResource ¶
func NewRegionResource() *RegionResource
func (*RegionResource) Create ¶
func (r *RegionResource) Create(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func (*RegionResource) Delete ¶
func (r *RegionResource) Delete(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func (*RegionResource) Read ¶
func (r *RegionResource) Read(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
func (*RegionResource) Schema ¶
func (r *RegionResource) Schema() *schema.Resource
func (*RegionResource) Update ¶
func (r *RegionResource) Update(ctx context.Context, d *schema.ResourceData, meta any) diag.Diagnostics
Click to show internal directories.
Click to hide internal directories.