Documentation ¶
Index ¶
- func NewACLAuthMethod() resource.Resource
- func NewACLBindingRule() resource.Resource
- func NewACLPolicy() resource.Resource
- func NewACLRole() resource.Resource
- func NewACLToken() resource.Resource
- func NewACLTokenPolicyAttachment() resource.Resource
- func NewACLTokenRoleAttachment() resource.Resource
- func NewAdminPartition() resource.Resource
- func NewAutopilotConfig() resource.Resource
- func NewCatalogService() resource.Resource
- func NewCertificateAuthority() resource.Resource
- func NewConfigEntry() resource.Resource
- func NewKeyPrefix() resource.Resource
- func NewNamespace() resource.Resource
- func NewNamespacePolicyAttachment() resource.Resource
- func NewNamespaceRoleAttachment() resource.Resource
- func NewNetworkArea() resource.Resource
- func NewNode() resource.Resource
- func NewPeering() resource.Resource
- func NewPeeringToken() resource.Resource
- func NewPreparedQuery() resource.Resource
- type ACLAuthMethod
- func (r *ACLAuthMethod) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, ...)
- func (r *ACLAuthMethod) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, ...)
- func (r *ACLAuthMethod) ImportState(ctx context.Context, _ *api.Client, req resource.ImportStateRequest, ...)
- func (r *ACLAuthMethod) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, ...)
- func (r *ACLAuthMethod) Update(ctx context.Context, client *api.Client, req resource.UpdateRequest, ...)
- type ACLBindingRule
- func (r *ACLBindingRule) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, ...)
- func (r *ACLBindingRule) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, ...)
- func (r *ACLBindingRule) ImportState(ctx context.Context, _ *api.Client, req resource.ImportStateRequest, ...)
- func (r *ACLBindingRule) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, ...)
- func (r *ACLBindingRule) Update(ctx context.Context, client *api.Client, req resource.UpdateRequest, ...)
- type ACLPolicy
- func (r *ACLPolicy) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, ...)
- func (r *ACLPolicy) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, ...)
- func (r *ACLPolicy) ImportState(ctx context.Context, _ *api.Client, req resource.ImportStateRequest, ...)
- func (r *ACLPolicy) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, ...)
- func (r *ACLPolicy) Update(ctx context.Context, client *api.Client, req resource.UpdateRequest, ...)
- type ACLRole
- func (r *ACLRole) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, ...)
- func (r *ACLRole) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, ...)
- func (r *ACLRole) ImportState(ctx context.Context, _ *api.Client, req resource.ImportStateRequest, ...)
- func (r *ACLRole) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, ...)
- func (r *ACLRole) Update(ctx context.Context, client *api.Client, req resource.UpdateRequest, ...)
- type ACLToken
- func (r *ACLToken) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, ...)
- func (r *ACLToken) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, ...)
- func (r *ACLToken) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, ...)
- func (r *ACLToken) Update(ctx context.Context, client *api.Client, req resource.UpdateRequest, ...)
- type ACLTokenPolicyAttachment
- func (r *ACLTokenPolicyAttachment) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, ...)
- func (r *ACLTokenPolicyAttachment) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, ...)
- func (r *ACLTokenPolicyAttachment) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, ...)
- func (r *ACLTokenPolicyAttachment) Update(ctx context.Context, client *api.Client, req resource.UpdateRequest, ...)
- type ACLTokenRoleAttachment
- func (r *ACLTokenRoleAttachment) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, ...)
- func (r *ACLTokenRoleAttachment) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, ...)
- func (r *ACLTokenRoleAttachment) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, ...)
- func (r *ACLTokenRoleAttachment) Update(ctx context.Context, client *api.Client, req resource.UpdateRequest, ...)
- type AdminPartition
- func (r *AdminPartition) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, ...)
- func (r *AdminPartition) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, ...)
- func (r *AdminPartition) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, ...)
- func (r *AdminPartition) Update(ctx context.Context, client *api.Client, req resource.UpdateRequest, ...)
- type AutopilotConfig
- func (r *AutopilotConfig) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, ...)
- func (r *AutopilotConfig) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, ...)
- func (r *AutopilotConfig) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, ...)
- func (r *AutopilotConfig) Update(ctx context.Context, client *api.Client, req resource.UpdateRequest, ...)
- type CatalogService
- func (r *CatalogService) Create(context.Context, *api.Client, resource.CreateRequest, *resource.CreateResponse)
- func (r *CatalogService) Delete(context.Context, *api.Client, resource.DeleteRequest, *resource.DeleteResponse)
- func (r *CatalogService) Read(context.Context, *api.Client, resource.ReadRequest, *resource.ReadResponse)
- func (r *CatalogService) Update(context.Context, *api.Client, resource.UpdateRequest, *resource.UpdateResponse)
- type CertificateAuthority
- func (r *CertificateAuthority) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, ...)
- func (r *CertificateAuthority) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, ...)
- func (r *CertificateAuthority) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, ...)
- func (r *CertificateAuthority) Update(context.Context, *api.Client, resource.UpdateRequest, *resource.UpdateResponse)
- type ConfigEntry
- func (r *ConfigEntry) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, ...)
- func (r *ConfigEntry) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, ...)
- func (r *ConfigEntry) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, ...)
- func (r *ConfigEntry) Update(ctx context.Context, client *api.Client, req resource.UpdateRequest, ...)
- type KeyPrefix
- func (r *KeyPrefix) Create(context.Context, *api.Client, resource.CreateRequest, *resource.CreateResponse)
- func (r *KeyPrefix) Delete(context.Context, *api.Client, resource.DeleteRequest, *resource.DeleteResponse)
- func (r *KeyPrefix) Read(context.Context, *api.Client, resource.ReadRequest, *resource.ReadResponse)
- func (r *KeyPrefix) Update(context.Context, *api.Client, resource.UpdateRequest, *resource.UpdateResponse)
- type MutuallyExclusiveValidator
- type Namespace
- func (r *Namespace) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, ...)
- func (r *Namespace) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, ...)
- func (r *Namespace) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, ...)
- func (r *Namespace) Update(context.Context, *api.Client, resource.UpdateRequest, *resource.UpdateResponse)
- type NamespacePolicyAttachment
- func (r *NamespacePolicyAttachment) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, ...)
- func (r *NamespacePolicyAttachment) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, ...)
- func (r *NamespacePolicyAttachment) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, ...)
- func (r *NamespacePolicyAttachment) Update(ctx context.Context, client *api.Client, req resource.UpdateRequest, ...)
- type NamespaceRoleAttachment
- func (r *NamespaceRoleAttachment) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, ...)
- func (r *NamespaceRoleAttachment) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, ...)
- func (r *NamespaceRoleAttachment) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, ...)
- func (r *NamespaceRoleAttachment) Update(ctx context.Context, client *api.Client, req resource.UpdateRequest, ...)
- type NetworkArea
- func (r *NetworkArea) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, ...)
- func (r *NetworkArea) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, ...)
- func (r *NetworkArea) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, ...)
- func (r *NetworkArea) Update(ctx context.Context, client *api.Client, req resource.UpdateRequest, ...)
- type Node
- func (r *Node) Create(context.Context, *api.Client, resource.CreateRequest, *resource.CreateResponse)
- func (r *Node) Delete(context.Context, *api.Client, resource.DeleteRequest, *resource.DeleteResponse)
- func (r *Node) Read(context.Context, *api.Client, resource.ReadRequest, *resource.ReadResponse)
- func (r *Node) Update(context.Context, *api.Client, resource.UpdateRequest, *resource.UpdateResponse)
- type Peering
- func (r *Peering) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, ...)
- func (r *Peering) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, ...)
- func (r *Peering) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, ...)
- func (r *Peering) Update(ctx context.Context, client *api.Client, req resource.UpdateRequest, ...)
- type PeeringToken
- func (r *PeeringToken) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, ...)
- func (r *PeeringToken) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, ...)
- func (r *PeeringToken) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, ...)
- func (r *PeeringToken) Update(ctx context.Context, client *api.Client, req resource.UpdateRequest, ...)
- type PreparedQuery
- func (r *PreparedQuery) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, ...)
- func (r *PreparedQuery) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, ...)
- func (r *PreparedQuery) ImportState(ctx context.Context, _ *api.Client, req resource.ImportStateRequest, ...)
- func (r *PreparedQuery) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, ...)
- func (r *PreparedQuery) Update(ctx context.Context, client *api.Client, req resource.UpdateRequest, ...)
- type Resource
- func (r *Resource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *Resource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *Resource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *Resource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *Resource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *Resource) ModifyPlan(ctx context.Context, req resource.ModifyPlanRequest, ...)
- func (r *Resource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *Resource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *Resource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ResourceImplementation
- type ResourceImplementationWithImportState
- type ResourceImplementationWithModifyPlan
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewACLAuthMethod ¶
func NewACLBindingRule ¶
func NewACLPolicy ¶
func NewACLRole ¶
func NewACLToken ¶
func NewAdminPartition ¶
func NewAutopilotConfig ¶
func NewCatalogService ¶
func NewCertificateAuthority ¶
func NewConfigEntry ¶
func NewKeyPrefix ¶
func NewNamespace ¶
func NewNetworkArea ¶
func NewPeering ¶
func NewPeeringToken ¶
func NewPreparedQuery ¶
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 (r *ACLAuthMethod) ImportState(ctx context.Context, _ *api.Client, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
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 (r *ACLBindingRule) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ACLBindingRule) Delete ¶
func (r *ACLBindingRule) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ACLBindingRule) ImportState ¶
func (r *ACLBindingRule) ImportState(ctx context.Context, _ *api.Client, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ACLBindingRule) Read ¶
func (r *ACLBindingRule) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ACLBindingRule) Update ¶
func (r *ACLBindingRule) Update(ctx context.Context, client *api.Client, req resource.UpdateRequest, resp *resource.UpdateResponse)
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 (r *ACLPolicy) ImportState(ctx context.Context, _ *api.Client, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
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 (r *ACLRole) ImportState(ctx context.Context, _ *api.Client, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
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)
type ACLTokenPolicyAttachment ¶
type ACLTokenPolicyAttachment struct{}
func (*ACLTokenPolicyAttachment) Create ¶
func (r *ACLTokenPolicyAttachment) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ACLTokenPolicyAttachment) Delete ¶
func (r *ACLTokenPolicyAttachment) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ACLTokenPolicyAttachment) Read ¶
func (r *ACLTokenPolicyAttachment) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ACLTokenPolicyAttachment) Update ¶
func (r *ACLTokenPolicyAttachment) Update(ctx context.Context, client *api.Client, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ACLTokenRoleAttachment ¶
type ACLTokenRoleAttachment struct{}
func (*ACLTokenRoleAttachment) Create ¶
func (r *ACLTokenRoleAttachment) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ACLTokenRoleAttachment) Delete ¶
func (r *ACLTokenRoleAttachment) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ACLTokenRoleAttachment) Read ¶
func (r *ACLTokenRoleAttachment) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ACLTokenRoleAttachment) Update ¶
func (r *ACLTokenRoleAttachment) Update(ctx context.Context, client *api.Client, req resource.UpdateRequest, resp *resource.UpdateResponse)
type AdminPartition ¶
type AdminPartition struct{}
func (*AdminPartition) Create ¶
func (r *AdminPartition) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, resp *resource.CreateResponse)
func (*AdminPartition) Delete ¶
func (r *AdminPartition) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*AdminPartition) Read ¶
func (r *AdminPartition) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, resp *resource.ReadResponse)
func (*AdminPartition) Update ¶
func (r *AdminPartition) Update(ctx context.Context, client *api.Client, req resource.UpdateRequest, resp *resource.UpdateResponse)
type AutopilotConfig ¶
type AutopilotConfig struct{}
func (*AutopilotConfig) Create ¶
func (r *AutopilotConfig) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, resp *resource.CreateResponse)
func (*AutopilotConfig) Delete ¶
func (r *AutopilotConfig) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*AutopilotConfig) Read ¶
func (r *AutopilotConfig) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, resp *resource.ReadResponse)
func (*AutopilotConfig) Update ¶
func (r *AutopilotConfig) Update(ctx context.Context, client *api.Client, req resource.UpdateRequest, resp *resource.UpdateResponse)
type CatalogService ¶
type CatalogService struct{}
func (*CatalogService) Create ¶
func (r *CatalogService) Create(context.Context, *api.Client, resource.CreateRequest, *resource.CreateResponse)
func (*CatalogService) Delete ¶
func (r *CatalogService) Delete(context.Context, *api.Client, resource.DeleteRequest, *resource.DeleteResponse)
func (*CatalogService) Read ¶
func (r *CatalogService) Read(context.Context, *api.Client, resource.ReadRequest, *resource.ReadResponse)
func (*CatalogService) Update ¶
func (r *CatalogService) Update(context.Context, *api.Client, resource.UpdateRequest, *resource.UpdateResponse)
type CertificateAuthority ¶
type CertificateAuthority struct{}
func (*CertificateAuthority) Create ¶
func (r *CertificateAuthority) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, resp *resource.CreateResponse)
func (*CertificateAuthority) Delete ¶
func (r *CertificateAuthority) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*CertificateAuthority) Read ¶
func (r *CertificateAuthority) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, resp *resource.ReadResponse)
func (*CertificateAuthority) Update ¶
func (r *CertificateAuthority) Update(context.Context, *api.Client, resource.UpdateRequest, *resource.UpdateResponse)
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{}
func (*KeyPrefix) Create ¶
func (r *KeyPrefix) Create(context.Context, *api.Client, resource.CreateRequest, *resource.CreateResponse)
func (*KeyPrefix) Delete ¶
func (r *KeyPrefix) Delete(context.Context, *api.Client, resource.DeleteRequest, *resource.DeleteResponse)
type MutuallyExclusiveValidator ¶
type MutuallyExclusiveValidator struct {
// contains filtered or unexported fields
}
func NewMutuallyExclusiveValidator ¶
func NewMutuallyExclusiveValidator(fields ...string) *MutuallyExclusiveValidator
func (*MutuallyExclusiveValidator) Description ¶
func (m *MutuallyExclusiveValidator) Description(context.Context) string
func (*MutuallyExclusiveValidator) MarkdownDescription ¶
func (m *MutuallyExclusiveValidator) MarkdownDescription(context.Context) string
func (*MutuallyExclusiveValidator) ValidateString ¶
func (m *MutuallyExclusiveValidator) ValidateString(ctx context.Context, req validator.StringRequest, resp *validator.StringResponse)
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)
type NamespacePolicyAttachment ¶
type NamespacePolicyAttachment struct{}
func (*NamespacePolicyAttachment) Create ¶
func (r *NamespacePolicyAttachment) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, resp *resource.CreateResponse)
func (*NamespacePolicyAttachment) Delete ¶
func (r *NamespacePolicyAttachment) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*NamespacePolicyAttachment) Read ¶
func (r *NamespacePolicyAttachment) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, resp *resource.ReadResponse)
func (*NamespacePolicyAttachment) Update ¶
func (r *NamespacePolicyAttachment) Update(ctx context.Context, client *api.Client, req resource.UpdateRequest, resp *resource.UpdateResponse)
type NamespaceRoleAttachment ¶
type NamespaceRoleAttachment struct{}
func (*NamespaceRoleAttachment) Create ¶
func (r *NamespaceRoleAttachment) Create(ctx context.Context, client *api.Client, req resource.CreateRequest, resp *resource.CreateResponse)
func (*NamespaceRoleAttachment) Delete ¶
func (r *NamespaceRoleAttachment) Delete(ctx context.Context, client *api.Client, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*NamespaceRoleAttachment) Read ¶
func (r *NamespaceRoleAttachment) Read(ctx context.Context, client *api.Client, req resource.ReadRequest, resp *resource.ReadResponse)
func (*NamespaceRoleAttachment) Update ¶
func (r *NamespaceRoleAttachment) Update(ctx context.Context, client *api.Client, req resource.UpdateRequest, resp *resource.UpdateResponse)
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{}
func (*Node) Create ¶
func (r *Node) Create(context.Context, *api.Client, resource.CreateRequest, *resource.CreateResponse)
func (*Node) Delete ¶
func (r *Node) Delete(context.Context, *api.Client, resource.DeleteRequest, *resource.DeleteResponse)
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)
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 (r *PreparedQuery) ImportState(ctx context.Context, _ *api.Client, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
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 (r *Resource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*Resource) Create ¶
func (r *Resource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*Resource) Delete ¶
func (r *Resource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*Resource) ImportState ¶
func (r *Resource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*Resource) Metadata ¶
func (r *Resource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*Resource) ModifyPlan ¶
func (r *Resource) ModifyPlan(ctx context.Context, req resource.ModifyPlanRequest, resp *resource.ModifyPlanResponse)
func (*Resource) Read ¶
func (r *Resource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*Resource) Schema ¶
func (r *Resource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*Resource) Update ¶
func (r *Resource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type ResourceImplementation ¶
type ResourceImplementation interface { Create(context.Context, *api.Client, resource.CreateRequest, *resource.CreateResponse) Read(context.Context, *api.Client, resource.ReadRequest, *resource.ReadResponse) Update(context.Context, *api.Client, resource.UpdateRequest, *resource.UpdateResponse) Delete(context.Context, *api.Client, resource.DeleteRequest, *resource.DeleteResponse) }
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) }
Source Files ¶
- acl_auth_method.go
- acl_binding_rule.go
- acl_policy.go
- acl_role.go
- acl_token.go
- acl_token_policy_attachment.go
- acl_token_role_attachment.go
- admin_partition.go
- autopilot_config.go
- certificate_authority.go
- config_entry.go
- key_prefix.go
- keys.go
- namespace.go
- namespace_policy_attachment.go
- namespace_role_attachment.go
- network_area.go
- node.go
- peering.go
- peering_token.go
- prepared_query.go
- resource.go
- schema.go
- service.go
- validators.go
Click to show internal directories.
Click to hide internal directories.