provider

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: MPL-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MerakiDataSources []func() datasource.DataSource
View Source
var MerakiResources []func() resource.Resource

Functions

func New

func New(version string) func() provider.Provider

func SweepMerakiAdmins added in v0.11.1

func SweepMerakiAdmins(ctx context.Context, client *openApiClient.APIClient, organizationId string) error

func SweepMerakiNetworks added in v0.11.1

func SweepMerakiNetworks(ctx context.Context, client *openApiClient.APIClient, organizationId string) error

func SweepMerakiOrganization added in v0.11.1

func SweepMerakiOrganization(ctx context.Context, client *openApiClient.APIClient, organizationId string) error

func SweepMerakiOrganizations added in v0.11.1

func SweepMerakiOrganizations(ctx context.Context, client *openApiClient.APIClient) error

func SweeperHTTPClient added in v0.10.3

func SweeperHTTPClient() (*openApiClient.APIClient, error)

Types

type BearerAuthTransport added in v0.11.1

type BearerAuthTransport struct {
	Transport *http.Transport
	Token     string
}

BearerAuthTransport Custom transport to add bearer token in the Authorization header

func (*BearerAuthTransport) RoundTrip added in v0.11.1

func (t *BearerAuthTransport) RoundTrip(req *http.Request) (*http.Response, error)

type CiscoMerakiProvider

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

CiscoMerakiProvider defines the provider implementation.

func (*CiscoMerakiProvider) Configure

func (*CiscoMerakiProvider) DataSources

func (p *CiscoMerakiProvider) DataSources(ctx context.Context) []func() datasource.DataSource

func (*CiscoMerakiProvider) Metadata

func (*CiscoMerakiProvider) Resources

func (p *CiscoMerakiProvider) Resources(ctx context.Context) []func() resource.Resource

func (*CiscoMerakiProvider) Schema

type CiscoMerakiProviderModel

type CiscoMerakiProviderModel struct {
	LoggingEnabled        types.Bool   `tfsdk:"logging_enabled"`
	ApiKey                types.String `tfsdk:"api_key"`
	BaseUrl               types.String `tfsdk:"base_url"`
	BasePath              types.String `tfsdk:"base_path"`
	CertificatePath       types.String `tfsdk:"certificate_path"`
	Proxy                 types.String `tfsdk:"proxy"`
	SingleRequestTimeout  types.Int64  `tfsdk:"single_request_timeout"`
	MaximumRetries        types.Int64  `tfsdk:"maximum_retries"`
	Nginx429RetryWaitTime types.Int64  `tfsdk:"nginx_429_retry_wait_time"`
	WaitOnRateLimit       types.Bool   `tfsdk:"wait_on_rate_limit"`
	EncryptionKey         types.String `tfsdk:"encryption_key"`
}

CiscoMerakiProviderModel describes the provider data model.

Jump to

Keyboard shortcuts

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