provider

package
v0.0.0-...-48aae4c Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: MPL-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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

func NewRoleResource

func NewRoleResource() resource.Resource

func NewTenantDataSource

func NewTenantDataSource() datasource.DataSource

func NewTenantResource

func NewTenantResource() resource.Resource

Types

type AuthProxy

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

AuthProxy defines the provider implementation.

func (*AuthProxy) Configure

func (*AuthProxy) DataSources

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

func (*AuthProxy) Metadata

func (*AuthProxy) Resources

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

func (*AuthProxy) Schema

type Model

type Model struct {
	Endpoint types.String `tfsdk:"endpoint"`
	Password types.String `tfsdk:"password"`
	Username types.String `tfsdk:"username"`
}

Model describes the provider data model.

type ProviderData

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

type RoleResource

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

RoleResource defines the resource implementation.

func (*RoleResource) Configure

func (*RoleResource) Create

func (*RoleResource) Delete

func (*RoleResource) ImportState

func (*RoleResource) Metadata

func (*RoleResource) Read

func (*RoleResource) Schema

func (*RoleResource) Update

type RoleResourceModel

type RoleResourceModel struct {
	ID     types.String `tfsdk:"id"`
	Name   types.String `tfsdk:"name"`
	Tenant types.String `tfsdk:"tenant"`
	Scopes types.List   `tfsdk:"scopes"`
}

RoleResourceModel describes the resource data model.

type TenantDataSource

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

TenantDataSource defines the data source implementation.

func (*TenantDataSource) Configure

func (*TenantDataSource) Metadata

func (*TenantDataSource) Read

func (*TenantDataSource) Schema

type TenantDataSourceModel

type TenantDataSourceModel struct {
	ID   types.String `tfsdk:"id"`
	Name types.String `tfsdk:"name"`
}

TenantDataSourceModel describes the data source data model.

type TenantResource

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

TenantResource defines the resource implementation.

func (*TenantResource) Configure

func (*TenantResource) Create

func (*TenantResource) Delete

func (*TenantResource) ImportState

func (*TenantResource) Metadata

func (*TenantResource) Read

func (*TenantResource) Schema

func (*TenantResource) Update

type TenantResourceModel

type TenantResourceModel struct {
	Name types.String `tfsdk:"name"`
	ID   types.String `tfsdk:"id"`
}

TenantResourceModel describes the resource data model.

Jump to

Keyboard shortcuts

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