resource

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2023 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewACLAuthMethod

func NewACLAuthMethod() resource.Resource

func NewACLBindingRule

func NewACLBindingRule() resource.Resource

func NewACLPolicy

func NewACLPolicy() resource.Resource

func NewACLRole

func NewACLRole() resource.Resource

func NewACLToken

func NewACLToken() resource.Resource

func NewACLTokenPolicyAttachment

func NewACLTokenPolicyAttachment() resource.Resource

func NewACLTokenRoleAttachment

func NewACLTokenRoleAttachment() resource.Resource

func NewAdminPartition

func NewAdminPartition() resource.Resource

func NewAutopilotConfig

func NewAutopilotConfig() resource.Resource

func NewCatalogService

func NewCatalogService() resource.Resource

func NewCertificateAuthority

func NewCertificateAuthority() resource.Resource

func NewConfigEntry

func NewConfigEntry() resource.Resource

func NewKeyPrefix

func NewKeyPrefix() resource.Resource

func NewNamespace

func NewNamespace() resource.Resource

func NewNamespacePolicyAttachment

func NewNamespacePolicyAttachment() resource.Resource

func NewNamespaceRoleAttachment

func NewNamespaceRoleAttachment() resource.Resource

func NewNetworkArea

func NewNetworkArea() resource.Resource

func NewNode

func NewNode() resource.Resource

func NewPeering

func NewPeering() resource.Resource

func NewPeeringToken

func NewPeeringToken() resource.Resource

func NewPreparedQuery

func NewPreparedQuery() resource.Resource

Types

type ACLAuthMethod

type ACLAuthMethod struct{}

func (*ACLAuthMethod) Create

func (r *ACLAuthMethod) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, resp *resource.CreateResponse)

func (*ACLAuthMethod) Delete

func (r *ACLAuthMethod) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, resp *resource.DeleteResponse)

func (*ACLAuthMethod) ImportState

func (*ACLAuthMethod) Read

func (r *ACLAuthMethod) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, resp *resource.ReadResponse)

func (*ACLAuthMethod) Update

func (r *ACLAuthMethod) Update(ctx context.Context, client *api.Client, req resource.UpdateRequest, resp *resource.UpdateResponse)

type ACLBindingRule

type ACLBindingRule struct{}

func (*ACLBindingRule) Create

func (*ACLBindingRule) Delete

func (*ACLBindingRule) ImportState

func (*ACLBindingRule) Read

func (r *ACLBindingRule) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, resp *resource.ReadResponse)

func (*ACLBindingRule) Update

type ACLPolicy

type ACLPolicy struct{}

func (*ACLPolicy) Create

func (r *ACLPolicy) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, resp *resource.CreateResponse)

func (*ACLPolicy) Delete

func (r *ACLPolicy) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, resp *resource.DeleteResponse)

func (*ACLPolicy) ImportState

func (*ACLPolicy) Read

func (r *ACLPolicy) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, resp *resource.ReadResponse)

func (*ACLPolicy) Update

func (r *ACLPolicy) Update(ctx context.Context, client *api.Client, req resource.UpdateRequest, resp *resource.UpdateResponse)

type ACLRole

type ACLRole struct{}

func (*ACLRole) Create

func (r *ACLRole) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, resp *resource.CreateResponse)

func (*ACLRole) Delete

func (r *ACLRole) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, resp *resource.DeleteResponse)

func (*ACLRole) ImportState

func (*ACLRole) Read

func (r *ACLRole) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, resp *resource.ReadResponse)

func (*ACLRole) Update

func (r *ACLRole) Update(ctx context.Context, client *api.Client, req resource.UpdateRequest, resp *resource.UpdateResponse)

type ACLToken

type ACLToken struct{}

func (*ACLToken) Create

func (r *ACLToken) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, resp *resource.CreateResponse)

func (*ACLToken) Delete

func (r *ACLToken) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, resp *resource.DeleteResponse)

func (*ACLToken) Read

func (r *ACLToken) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, resp *resource.ReadResponse)

func (*ACLToken) Update

func (r *ACLToken) Update(ctx context.Context, client *api.Client, req resource.UpdateRequest, resp *resource.UpdateResponse)

type ACLTokenPolicyAttachment

type ACLTokenPolicyAttachment struct{}

func (*ACLTokenPolicyAttachment) Create

func (*ACLTokenPolicyAttachment) Delete

func (*ACLTokenPolicyAttachment) Read

func (*ACLTokenPolicyAttachment) Update

type ACLTokenRoleAttachment

type ACLTokenRoleAttachment struct{}

func (*ACLTokenRoleAttachment) Create

func (*ACLTokenRoleAttachment) Delete

func (*ACLTokenRoleAttachment) Read

func (*ACLTokenRoleAttachment) Update

type AdminPartition

type AdminPartition struct{}

func (*AdminPartition) Create

func (*AdminPartition) Delete

func (*AdminPartition) Read

func (r *AdminPartition) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, resp *resource.ReadResponse)

func (*AdminPartition) Update

type AutopilotConfig

type AutopilotConfig struct{}

func (*AutopilotConfig) Create

func (*AutopilotConfig) Delete

func (*AutopilotConfig) Read

func (*AutopilotConfig) Update

type CatalogService

type CatalogService struct{}

func (*CatalogService) Read

type CertificateAuthority

type CertificateAuthority struct{}

func (*CertificateAuthority) Create

func (*CertificateAuthority) Delete

func (*CertificateAuthority) Read

func (*CertificateAuthority) Update

type ConfigEntry

type ConfigEntry struct{}

func (*ConfigEntry) Create

func (r *ConfigEntry) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, resp *resource.CreateResponse)

func (*ConfigEntry) Delete

func (r *ConfigEntry) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, resp *resource.DeleteResponse)

func (*ConfigEntry) Read

func (r *ConfigEntry) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, resp *resource.ReadResponse)

func (*ConfigEntry) Update

func (r *ConfigEntry) Update(ctx context.Context, client *api.Client, req resource.UpdateRequest, resp *resource.UpdateResponse)

type KeyPrefix

type KeyPrefix struct{}

type MutuallyExclusiveValidator

type MutuallyExclusiveValidator struct {
	// contains filtered or unexported fields
}

func NewMutuallyExclusiveValidator

func NewMutuallyExclusiveValidator(fields ...string) *MutuallyExclusiveValidator

func (*MutuallyExclusiveValidator) Description

func (*MutuallyExclusiveValidator) MarkdownDescription

func (m *MutuallyExclusiveValidator) MarkdownDescription(context.Context) string

func (*MutuallyExclusiveValidator) ValidateString

type Namespace

type Namespace struct{}

func (*Namespace) Create

func (r *Namespace) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, resp *resource.CreateResponse)

func (*Namespace) Delete

func (r *Namespace) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, resp *resource.DeleteResponse)

func (*Namespace) Read

func (r *Namespace) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, resp *resource.ReadResponse)

type NamespacePolicyAttachment

type NamespacePolicyAttachment struct{}

func (*NamespacePolicyAttachment) Create

func (*NamespacePolicyAttachment) Delete

func (*NamespacePolicyAttachment) Read

func (*NamespacePolicyAttachment) Update

type NamespaceRoleAttachment

type NamespaceRoleAttachment struct{}

func (*NamespaceRoleAttachment) Create

func (*NamespaceRoleAttachment) Delete

func (*NamespaceRoleAttachment) Read

func (*NamespaceRoleAttachment) Update

type NetworkArea

type NetworkArea struct{}

func (*NetworkArea) Create

func (r *NetworkArea) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, resp *resource.CreateResponse)

func (*NetworkArea) Delete

func (r *NetworkArea) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, resp *resource.DeleteResponse)

func (*NetworkArea) Read

func (r *NetworkArea) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, resp *resource.ReadResponse)

func (*NetworkArea) Update

func (r *NetworkArea) Update(ctx context.Context, client *api.Client, req resource.UpdateRequest, resp *resource.UpdateResponse)

type Node

type Node struct{}

type Peering

type Peering struct{}

func (*Peering) Create

func (r *Peering) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, resp *resource.CreateResponse)

func (*Peering) Delete

func (r *Peering) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, resp *resource.DeleteResponse)

func (*Peering) Read

func (r *Peering) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, resp *resource.ReadResponse)

func (*Peering) Update

func (r *Peering) Update(ctx context.Context, client *api.Client, req resource.UpdateRequest, resp *resource.UpdateResponse)

type PeeringToken

type PeeringToken struct{}

func (*PeeringToken) Create

func (r *PeeringToken) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, resp *resource.CreateResponse)

func (*PeeringToken) Delete

func (r *PeeringToken) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, resp *resource.DeleteResponse)

func (*PeeringToken) Read

func (r *PeeringToken) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, resp *resource.ReadResponse)

func (*PeeringToken) Update

func (r *PeeringToken) Update(ctx context.Context, client *api.Client, req resource.UpdateRequest, resp *resource.UpdateResponse)

type PreparedQuery

type PreparedQuery struct{}

func (*PreparedQuery) Create

func (r *PreparedQuery) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, resp *resource.CreateResponse)

func (*PreparedQuery) Delete

func (r *PreparedQuery) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, resp *resource.DeleteResponse)

func (*PreparedQuery) ImportState

func (*PreparedQuery) Read

func (r *PreparedQuery) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, resp *resource.ReadResponse)

func (*PreparedQuery) Update

func (r *PreparedQuery) Update(ctx context.Context, client *api.Client, req resource.UpdateRequest, resp *resource.UpdateResponse)

type Resource

type Resource struct {
	// contains filtered or unexported fields
}

func NewResource

func NewResource(name string, schema schema.Schema, impl ResourceImplementation) *Resource

func (*Resource) Configure

func (*Resource) Create

func (*Resource) Delete

func (*Resource) ImportState

func (*Resource) Metadata

func (*Resource) ModifyPlan

func (*Resource) Read

func (*Resource) Schema

func (*Resource) Update

type ResourceImplementationWithImportState

type ResourceImplementationWithImportState interface {
	ResourceImplementation

	ImportState(context.Context, *api.Client, resource.ImportStateRequest, *resource.ImportStateResponse)
}

type ResourceImplementationWithModifyPlan

type ResourceImplementationWithModifyPlan interface {
	ResourceImplementation

	ModifyPlan(context.Context, *api.Client, resource.ModifyPlanRequest, *resource.ModifyPlanResponse)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL