datasource

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewACLAuthMethod

func NewACLAuthMethod() datasource.DataSource

func NewACLBindingRule

func NewACLBindingRule() datasource.DataSource

func NewACLPolicy

func NewACLPolicy() datasource.DataSource

func NewACLRole

func NewACLRole() datasource.DataSource

func NewACLToken

func NewACLToken() datasource.DataSource

func NewACLTokenSecretID

func NewACLTokenSecretID() datasource.DataSource

func NewAdminPartition

func NewAdminPartition() datasource.DataSource

func NewAgentConfig

func NewAgentConfig() datasource.DataSource

func NewAutopilotHealth

func NewAutopilotHealth() datasource.DataSource

func NewCertificateAuthority

func NewCertificateAuthority() datasource.DataSource

func NewConfigEntry

func NewConfigEntry() datasource.DataSource

func NewDatacenters

func NewDatacenters() datasource.DataSource

func NewKeyPrefix

func NewKeyPrefix() datasource.DataSource

func NewKeys

func NewKeys() datasource.DataSource

func NewNamespace

func NewNamespace() datasource.DataSource

func NewNetworkAreaMembers

func NewNetworkAreaMembers() datasource.DataSource

func NewNetworkSegments

func NewNetworkSegments() datasource.DataSource

func NewNode

func NewNode() datasource.DataSource

func NewNodes

func NewNodes() datasource.DataSource

func NewPeering

func NewPeering() datasource.DataSource

func NewPeerings

func NewPeerings() datasource.DataSource

func NewService

func NewService() datasource.DataSource

func NewServiceHealth

func NewServiceHealth() datasource.DataSource

func NewServices

func NewServices() datasource.DataSource

Types

type ACLAuthMethod

type ACLAuthMethod struct{}

func (*ACLAuthMethod) Read

type ACLBindingRule

type ACLBindingRule struct{}

func (*ACLBindingRule) Read

type ACLPolicy

type ACLPolicy struct{}

func (*ACLPolicy) Read

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

type ACLRole

type ACLRole struct{}

func (*ACLRole) Read

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

type ACLToken

type ACLToken struct{}

func (*ACLToken) Read

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

type ACLTokenSecretID

type ACLTokenSecretID struct{}

func (*ACLTokenSecretID) Read

type AdminPartition

type AdminPartition struct{}

func (*AdminPartition) Read

type AgentConfig

type AgentConfig struct{}

func (*AgentConfig) Read

type AutopilotHealth

type AutopilotHealth struct{}

func (*AutopilotHealth) Read

type CertificateAuthority

type CertificateAuthority struct{}

func (*CertificateAuthority) Read

type ConfigEntry

type ConfigEntry struct{}

func (*ConfigEntry) Read

type DataSource

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

func NewDataSource

func NewDataSource(name string, schema schema.Schema, impl DataSourceImplementation) *DataSource

func (*DataSource) Configure

func (*DataSource) Metadata

func (*DataSource) Read

func (*DataSource) Schema

type DataSourceImplementation

type DataSourceImplementation interface {
	Read(context.Context, *api.Client, datasource.ReadRequest, *datasource.ReadResponse)
}

type Datacenters

type Datacenters struct{}

func (*Datacenters) Read

type KeyPrefix

type KeyPrefix struct{}

func (*KeyPrefix) Read

func (d *KeyPrefix) Read(ctx context.Context, client *api.Client, req datasource.ReadRequest, resp *datasource.ReadResponse)

type Keys

type Keys struct{}

func (*Keys) Read

func (d *Keys) Read(ctx context.Context, client *api.Client, req datasource.ReadRequest, resp *datasource.ReadResponse)

type Namespace

type Namespace struct{}

func (*Namespace) Read

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

type NetworkAreaMembers

type NetworkAreaMembers struct{}

func (*NetworkAreaMembers) Read

type NetworkSegments

type NetworkSegments struct{}

func (*NetworkSegments) Read

type Node

type Node struct{}

func (*Node) Read

func (d *Node) Read(ctx context.Context, client *api.Client, req datasource.ReadRequest, resp *datasource.ReadResponse)

type Nodes

type Nodes struct{}

func (*Nodes) Read

func (d *Nodes) Read(ctx context.Context, client *api.Client, req datasource.ReadRequest, resp *datasource.ReadResponse)

type Peering

type Peering struct{}

func (*Peering) Read

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

type Peerings

type Peerings struct{}

func (*Peerings) Read

func (d *Peerings) Read(ctx context.Context, client *api.Client, req datasource.ReadRequest, resp *datasource.ReadResponse)

type Service

type Service struct{}

func (*Service) Read

func (d *Service) Read(ctx context.Context, client *api.Client, req datasource.ReadRequest, resp *datasource.ReadResponse)

type ServiceHealth

type ServiceHealth struct{}

func (*ServiceHealth) Read

type Services

type Services struct{}

Jump to

Keyboard shortcuts

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