provider

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MPL-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BASE_URL             = "https://api.lumos.com"
	PERMISSIONS_URL      = "appstore/requestable_permissions"
	PERMISSION_BY_ID_URL = PERMISSIONS_URL + "/%s"
)

Variables

This section is empty.

Functions

func New

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

func NewExampleDataSource

func NewExampleDataSource() datasource.DataSource

func NewRequestablePermissionResource

func NewRequestablePermissionResource() resource.Resource

func NewrequestablePermissionDataSource

func NewrequestablePermissionDataSource() datasource.DataSource

Types

type ExampleDataSource

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

ExampleDataSource defines the data source implementation.

func (*ExampleDataSource) Configure

func (*ExampleDataSource) Metadata

func (*ExampleDataSource) Read

func (*ExampleDataSource) Schema

type ExampleDataSourceModel

type ExampleDataSourceModel struct {
	ConfigurableAttribute types.String `tfsdk:"configurable_attribute"`
	Id                    types.String `tfsdk:"id"`
}

ExampleDataSourceModel describes the data source data model.

type LumosAPIClient

type LumosAPIClient struct {
	HostURL    string
	HTTPClient *http.Client
	ApiToken   string
}

func NewLumosAPIClient

func NewLumosAPIClient(hostURL string, apiToken string) (*LumosAPIClient, error)

func (*LumosAPIClient) MakeRequest

func (c *LumosAPIClient) MakeRequest(method string, endpoint string, requestBody interface{}, responseType lumosAPIResponse) (interface{}, error)

type ProvisioningGroupModel added in v0.1.10

type ProvisioningGroupModel struct {
	Id                    types.String `tfsdk:"id"`
	AppId                 types.String `tfsdk:"app_id"`
	IntegrationSpecificId types.String `tfsdk:"integration_specific_id"`
}

Jump to

Keyboard shortcuts

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