Documentation ¶
Index ¶
- func New(version string) provider.Provider
- func NewCloudAccessAccountResource() resource.Resource
- func NewCloudAccessDataSource() datasource.DataSource
- type AccountsModel
- type CloudAccessAccountModel
- type CloudAccessAccountResource
- func (r *CloudAccessAccountResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *CloudAccessAccountResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *CloudAccessAccountResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *CloudAccessAccountResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *CloudAccessAccountResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *CloudAccessAccountResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *CloudAccessAccountResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *CloudAccessAccountResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type CloudAccessAccountResourceModel
- type CloudAccessDataSource
- func (d *CloudAccessDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *CloudAccessDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *CloudAccessDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *CloudAccessDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type CloudAccessDataSourceModel
- type EnabledAccountsModel
- type GoldImageStatusModel
- type ProductsModel
- type RHSMProvider
- func (p *RHSMProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *RHSMProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *RHSMProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *RHSMProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *RHSMProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type RHSMProviderModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCloudAccessAccountResource ¶ added in v0.7.0
func NewCloudAccessDataSource ¶ added in v0.7.0
func NewCloudAccessDataSource() datasource.DataSource
Types ¶
type AccountsModel ¶ added in v0.7.0
type AccountsModel struct { DateAdded types.String `tfsdk:"date_added"` GoldImageStatus types.List `tfsdk:"gold_image_status"` ID types.String `tfsdk:"id"` Nickname types.String `tfsdk:"nickname"` SourceID types.String `tfsdk:"source_id"` Verified types.Bool `tfsdk:"verified"` }
func (AccountsModel) AttributeTypes ¶ added in v0.7.0
func (m AccountsModel) AttributeTypes() map[string]attr.Type
type CloudAccessAccountModel ¶ added in v0.7.0
type CloudAccessAccountResource ¶ added in v0.7.0
type CloudAccessAccountResource struct {
// contains filtered or unexported fields
}
CloudAccessAccountResource defines the resource implementation.
func (*CloudAccessAccountResource) Configure ¶ added in v0.7.0
func (r *CloudAccessAccountResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*CloudAccessAccountResource) Create ¶ added in v0.7.0
func (r *CloudAccessAccountResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*CloudAccessAccountResource) Delete ¶ added in v0.7.0
func (r *CloudAccessAccountResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*CloudAccessAccountResource) ImportState ¶ added in v0.7.0
func (r *CloudAccessAccountResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*CloudAccessAccountResource) Metadata ¶ added in v0.7.0
func (r *CloudAccessAccountResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*CloudAccessAccountResource) Read ¶ added in v0.7.0
func (r *CloudAccessAccountResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*CloudAccessAccountResource) Schema ¶ added in v0.7.0
func (r *CloudAccessAccountResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*CloudAccessAccountResource) Update ¶ added in v0.7.0
func (r *CloudAccessAccountResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type CloudAccessAccountResourceModel ¶ added in v0.7.0
type CloudAccessAccountResourceModel struct { ID types.String `tfsdk:"id"` AccountID types.String `tfsdk:"account_id"` ProviderShortName types.String `tfsdk:"provider_short_name"` GoldImages types.Set `tfsdk:"gold_images"` Nickname types.String `tfsdk:"nickname"` DateAdded types.String `tfsdk:"date_added"` GoldImageStatus types.Set `tfsdk:"gold_image_status"` SourceID types.String `tfsdk:"source_id"` Verified types.Bool `tfsdk:"verified"` }
CloudAccessAccountResourceModel describes the resource data model.
type CloudAccessDataSource ¶ added in v0.7.0
type CloudAccessDataSource struct {
// contains filtered or unexported fields
}
CloudAccessDataSource defines the data source implementation.
func (*CloudAccessDataSource) Configure ¶ added in v0.7.0
func (d *CloudAccessDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*CloudAccessDataSource) Metadata ¶ added in v0.7.0
func (d *CloudAccessDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*CloudAccessDataSource) Read ¶ added in v0.7.0
func (d *CloudAccessDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*CloudAccessDataSource) Schema ¶ added in v0.7.0
func (d *CloudAccessDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type CloudAccessDataSourceModel ¶ added in v0.7.0
CloudAccessDataSourceModel describes the data source data model.
func (CloudAccessDataSourceModel) AttributeTypes ¶ added in v0.7.0
func (m CloudAccessDataSourceModel) AttributeTypes() map[string]attr.Type
type EnabledAccountsModel ¶ added in v0.7.0
type EnabledAccountsModel struct { Accounts types.List `tfsdk:"accounts"` Name types.String `tfsdk:"name"` Products types.List `tfsdk:"products"` ShortName types.String `tfsdk:"short_name"` }
func (EnabledAccountsModel) AttributeTypes ¶ added in v0.7.0
func (m EnabledAccountsModel) AttributeTypes() map[string]attr.Type
type GoldImageStatusModel ¶ added in v0.7.0
type GoldImageStatusModel struct { Description types.String `tfsdk:"description"` Name types.String `tfsdk:"name"` Status types.String `tfsdk:"status"` }
func (GoldImageStatusModel) AttributeTypes ¶ added in v0.7.0
func (m GoldImageStatusModel) AttributeTypes() map[string]attr.Type
type ProductsModel ¶ added in v0.7.0
type ProductsModel struct { EnabledQuantity types.Int64 `tfsdk:"enabled_quantity"` ImageGroups types.List `tfsdk:"image_groups"` Name types.String `tfsdk:"name"` NextRenewal types.String `tfsdk:"next_renewal"` SKU types.String `tfsdk:"sku"` TotalQuantity types.Int64 `tfsdk:"total_quantity"` }
func (ProductsModel) AttributeTypes ¶ added in v0.7.0
func (m ProductsModel) AttributeTypes() map[string]attr.Type
type RHSMProvider ¶ added in v0.7.0
type RHSMProvider struct {
// contains filtered or unexported fields
}
func (*RHSMProvider) Configure ¶ added in v0.7.0
func (p *RHSMProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*RHSMProvider) DataSources ¶ added in v0.7.0
func (p *RHSMProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*RHSMProvider) Metadata ¶ added in v0.7.0
func (p *RHSMProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*RHSMProvider) Resources ¶ added in v0.7.0
func (p *RHSMProvider) Resources(ctx context.Context) []func() resource.Resource
func (*RHSMProvider) Schema ¶ added in v0.7.0
func (p *RHSMProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type RHSMProviderModel ¶ added in v0.7.0
RHSMProviderModel describes the provider data model.
Click to show internal directories.
Click to hide internal directories.