Documentation ¶
Overview ¶
Copyright © 2024. Citrix Systems, Inc.
Index ¶
- func GetWemSiteDataSourceSchema() schema.Schema
- func NewWemSiteDataSource() datasource.DataSource
- func NewWemSiteServiceResource() resource.Resource
- type WemSiteDataSource
- func (w *WemSiteDataSource) ConfigValidators(ctx context.Context) []datasource.ConfigValidator
- func (d *WemSiteDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *WemSiteDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...)
- func (d *WemSiteDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *WemSiteDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
- type WemSiteDataSourceModel
- type WemSiteResourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWemSiteDataSource ¶
func NewWemSiteDataSource() datasource.DataSource
func NewWemSiteServiceResource ¶
NewWemSiteServiceResource is a helper function to simplify the provider implementation.
Types ¶
type WemSiteDataSource ¶
type WemSiteDataSource struct {
// contains filtered or unexported fields
}
func (*WemSiteDataSource) ConfigValidators ¶
func (w *WemSiteDataSource) ConfigValidators(ctx context.Context) []datasource.ConfigValidator
func (*WemSiteDataSource) Configure ¶
func (d *WemSiteDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*WemSiteDataSource) Metadata ¶
func (d *WemSiteDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
WEM Configuration Set and WEM Site refer to the same object. These terms have been used interchangeably below.
func (*WemSiteDataSource) Read ¶
func (d *WemSiteDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*WemSiteDataSource) Schema ¶
func (d *WemSiteDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse)
type WemSiteDataSourceModel ¶
type WemSiteDataSourceModel struct { Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` }
func (WemSiteDataSourceModel) RefreshPropertyValues ¶
func (r WemSiteDataSourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, wemSite *citrixwemservice.SiteModel) WemSiteDataSourceModel
type WemSiteResourceModel ¶
type WemSiteResourceModel struct { Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` Description types.String `tfsdk:"description"` }
func (WemSiteResourceModel) GetAttributes ¶
func (WemSiteResourceModel) GetAttributes() map[string]schema.Attribute
func (WemSiteResourceModel) GetSchema ¶
func (WemSiteResourceModel) GetSchema() schema.Schema
func (WemSiteResourceModel) RefreshPropertyValues ¶
func (r WemSiteResourceModel) RefreshPropertyValues(ctx context.Context, diagnostics *diag.Diagnostics, wemSite *citrixwemservice.SiteModel) WemSiteResourceModel
Click to show internal directories.
Click to hide internal directories.