Documentation ¶
Index ¶
- func New(version string) func() provider.Provider
- func NewRoleResource() resource.Resource
- func NewTenantDataSource() datasource.DataSource
- func NewTenantResource() resource.Resource
- type AuthProxy
- func (p *AuthProxy) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *AuthProxy) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *AuthProxy) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *AuthProxy) Resources(ctx context.Context) []func() resource.Resource
- func (p *AuthProxy) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type Model
- type ProviderData
- type RoleResource
- func (r *RoleResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *RoleResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *RoleResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *RoleResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *RoleResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *RoleResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *RoleResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *RoleResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type RoleResourceModel
- type TenantDataSource
- func (d *TenantDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *TenantDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *TenantDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *TenantDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type TenantDataSourceModel
- type TenantResource
- func (r *TenantResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *TenantResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *TenantResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *TenantResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *TenantResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *TenantResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *TenantResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *TenantResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type TenantResourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRoleResource ¶
func NewTenantDataSource ¶
func NewTenantDataSource() datasource.DataSource
func NewTenantResource ¶
Types ¶
type AuthProxy ¶
type AuthProxy struct {
// contains filtered or unexported fields
}
AuthProxy defines the provider implementation.
func (*AuthProxy) Configure ¶
func (p *AuthProxy) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*AuthProxy) DataSources ¶
func (p *AuthProxy) DataSources(ctx context.Context) []func() datasource.DataSource
func (*AuthProxy) Metadata ¶
func (p *AuthProxy) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*AuthProxy) Schema ¶
func (p *AuthProxy) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
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 (r *RoleResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*RoleResource) Create ¶
func (r *RoleResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*RoleResource) Delete ¶
func (r *RoleResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*RoleResource) ImportState ¶
func (r *RoleResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*RoleResource) Metadata ¶
func (r *RoleResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*RoleResource) Read ¶
func (r *RoleResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*RoleResource) Schema ¶
func (r *RoleResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*RoleResource) Update ¶
func (r *RoleResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
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 (d *TenantDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*TenantDataSource) Metadata ¶
func (d *TenantDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*TenantDataSource) Read ¶
func (d *TenantDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*TenantDataSource) Schema ¶
func (d *TenantDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type TenantDataSourceModel ¶
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 (r *TenantResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*TenantResource) Create ¶
func (r *TenantResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*TenantResource) Delete ¶
func (r *TenantResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*TenantResource) ImportState ¶
func (r *TenantResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*TenantResource) Metadata ¶
func (r *TenantResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*TenantResource) Read ¶
func (r *TenantResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*TenantResource) Schema ¶
func (r *TenantResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*TenantResource) Update ¶
func (r *TenantResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Click to show internal directories.
Click to hide internal directories.