Documentation ¶
Index ¶
- Constants
- func New(version string) func() provider.Provider
- func NewExampleDataSource() datasource.DataSource
- func NewRequestablePermissionResource() resource.Resource
- func NewrequestablePermissionDataSource() datasource.DataSource
- type ExampleDataSource
- func (d *ExampleDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *ExampleDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *ExampleDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *ExampleDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type ExampleDataSourceModel
- type LumosAPIClient
- type ProvisioningGroupModel
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 NewExampleDataSource ¶
func NewExampleDataSource() datasource.DataSource
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 (d *ExampleDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*ExampleDataSource) Metadata ¶
func (d *ExampleDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*ExampleDataSource) Read ¶
func (d *ExampleDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*ExampleDataSource) Schema ¶
func (d *ExampleDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
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 ¶
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)
Click to show internal directories.
Click to hide internal directories.