stf_webreceiver

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Overview

Copyright © 2024. Citrix Systems, Inc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSTFWebReceiverResource

func NewSTFWebReceiverResource() resource.Resource

stfWebReceiverResource is a helper function to simplify the provider implementation.

Types

type AppShortcuts added in v0.6.2

type AppShortcuts struct {
	Enabled               types.Bool `tfsdk:"enabled"`
	AllowSessionReconnect types.Bool `tfsdk:"allow_session_reconnect"`
}

func (AppShortcuts) GetAttributes added in v0.6.2

func (AppShortcuts) GetAttributes() map[string]schema.Attribute

func (AppShortcuts) GetSchema added in v0.6.2

type ApplicationShortcuts added in v0.6.2

type ApplicationShortcuts struct {
	PromptForUntrustedShortcuts types.Bool `tfsdk:"prompt_for_untrusted_shortcuts"`
	TrustedUrls                 types.Set  `tfsdk:"trusted_urls"` // Set[string]
	GatewayUrls                 types.Set  `tfsdk:"gateway_urls"` // Set[string]
}

func (ApplicationShortcuts) GetAttributes added in v0.6.2

func (ApplicationShortcuts) GetAttributes() map[string]schema.Attribute

func (ApplicationShortcuts) GetSchema added in v0.6.2

type AuthenticationManager added in v0.6.2

type AuthenticationManager struct {
	LoginFormTimeout     types.Int64  `tfsdk:"login_form_timeout"`
	GetUserNameUrl       types.String `tfsdk:"get_user_name_url"`
	LogoffUrl            types.String `tfsdk:"logoff_url"`
	ChangeCredentialsUrl types.String `tfsdk:"change_credentials_url"`
}

func (AuthenticationManager) GetAttributes added in v0.6.2

func (AuthenticationManager) GetAttributes() map[string]schema.Attribute

func (AuthenticationManager) GetSchema added in v0.6.2

type Communication added in v0.6.2

type Communication struct {
	Attempts              types.Int64  `tfsdk:"attempts"`                 // Number of attempts to connect to the Store Service.
	Timeout               types.String `tfsdk:"timeout"`                  // Timeout for the connection to the Store Service.
	Loopback              types.String `tfsdk:"loopback"`                 // Enable loopback communication.
	LoopbackPortUsingHttp types.Int64  `tfsdk:"loopback_port_using_http"` // Use HTTP for loopback communication.
	ProxyEnabled          types.Bool   `tfsdk:"proxy_enabled"`            // Enable proxy for communication.
	ProxyPort             types.Int64  `tfsdk:"proxy_port"`               // Port for the proxy.
	ProxyProcessName      types.String `tfsdk:"proxy_process_name"`       // Process name for the proxy.
}

func (Communication) GetAttributes added in v0.6.2

func (Communication) GetAttributes() map[string]schema.Attribute

func (Communication) GetSchema added in v0.6.2

type PluginAssistant

type PluginAssistant struct {
	Enabled                                       types.Bool   `tfsdk:"enabled"`                                              //Enable Receiver client detection.
	UpgradeAtLogin                                types.Bool   `tfsdk:"upgrade_at_login"`                                     //Prompt to upgrade older clients.
	ShowAfterLogin                                types.Bool   `tfsdk:"show_after_login"`                                     //Show Receiver client detection after the user logs in.
	Win32Path                                     types.String `tfsdk:"win32_path"`                                           //Path to the Windows Receiver.
	MacOSPath                                     types.String `tfsdk:"macos_path"`                                           //Path to the MacOS Receiver.
	MacOSMinimumSupportedVersion                  types.String `tfsdk:"macos_minimum_supported_version"`                      //Minimum version of the MacOS supported.
	Html5SingleTabLaunch                          types.Bool   `tfsdk:"html5_single_tab_launch"`                              //Launch Html5 Receiver in the same browser tab.
	Html5Enabled                                  types.String `tfsdk:"html5_enabled"`                                        //Method of deploying and using the Html5 Receiver.
	Html5Platforms                                types.String `tfsdk:"html5_platforms"`                                      //The supported Html5 platforms.
	Html5Preferences                              types.String `tfsdk:"html5_preferences"`                                    //Html5 Receiver preferences.
	Html5ChromeAppOrigins                         types.String `tfsdk:"html5_chrome_app_origins"`                             //The Html5 Chrome Application Origins settings.
	Html5ChromeAppPreferences                     types.String `tfsdk:"html5_chrome_app_preferences"`                         //The Html5 Chrome Application preferences.
	ProtocolHandlerEnabled                        types.Bool   `tfsdk:"protocol_handler_enabled"`                             //Enable the Receiver Protocol Handler.
	ProtocolHandlerPlatforms                      types.String `tfsdk:"protocol_handler_platforms"`                           //The supported Protocol Handler platforms.
	ProtocolHandlerSkipDoubleHopCheckWhenDisabled types.Bool   `tfsdk:"protocol_handler_skip_double_hop_check_when_disabled"` //Skip the Protocol Handle double hop check.
}

func (PluginAssistant) GetAttributes added in v0.6.1

func (PluginAssistant) GetAttributes() map[string]schema.Attribute

func (PluginAssistant) GetSchema added in v0.6.1

type ProgressiveWebApp added in v0.6.2

type ProgressiveWebApp struct {
	Enabled           types.Bool `tfsdk:"enabled"`
	ShowInstallPrompt types.Bool `tfsdk:"show_install_prompt"`
}

func (ProgressiveWebApp) GetAttributes added in v0.6.2

func (ProgressiveWebApp) GetAttributes() map[string]schema.Attribute

func (ProgressiveWebApp) GetSchema added in v0.6.2

type ReceiverConfiguration added in v0.6.2

type ReceiverConfiguration struct {
	Enabled     types.Bool   `tfsdk:"enabled"`
	DownloadUrl types.String `tfsdk:"download_url"`
}

func (ReceiverConfiguration) GetAttributes added in v0.6.2

func (ReceiverConfiguration) GetAttributes() map[string]schema.Attribute

func (ReceiverConfiguration) GetSchema added in v0.6.2

type ResourcesService added in v0.6.3

type ResourcesService struct {
	PersistentIconCacheEnabled types.Bool  `tfsdk:"persistent_icon_cache_enabled"`
	IcaFileCacheExpiry         types.Int64 `tfsdk:"ica_file_cache_expiry"`
	IconSize                   types.Int64 `tfsdk:"icon_size"`
	ShowDesktopViewer          types.Bool  `tfsdk:"show_desktop_viewer"`
}

func (ResourcesService) GetAttributes added in v0.6.3

func (ResourcesService) GetAttributes() map[string]schema.Attribute

func (ResourcesService) GetSchema added in v0.6.3

type STFWebReceiverResourceModel

type STFWebReceiverResourceModel struct {
	VirtualPath             types.String `tfsdk:"virtual_path"`
	SiteId                  types.String `tfsdk:"site_id"`
	FriendlyName            types.String `tfsdk:"friendly_name"`
	StoreServiceVirtualPath types.String `tfsdk:"store_virtual_path"`
	PluginAssistant         types.Object `tfsdk:"plugin_assistant"`          // PluginAssistant
	AuthenticationMethods   types.Set    `tfsdk:"authentication_methods"`    // Set[string]
	ApplicationShortcuts    types.Object `tfsdk:"application_shortcuts"`     // ApplicationShortcuts
	Communication           types.Object `tfsdk:"communication"`             // Communication
	StrictTransportSecurity types.Object `tfsdk:"strict_transport_security"` // StrictTransportSecurity
	AuthenticationManager   types.Object `tfsdk:"authentication_manager"`    // AuthenticationManager
	UserInterface           types.Object `tfsdk:"user_interface"`            // UserInterface
	ResourcesService        types.Object `tfsdk:"resources_service"`         // ResourcesServiceModel
	WebReceiverSiteStyle    types.Object `tfsdk:"web_receiver_site_style"`   // WebReceiverSiteStyle
}

SFWebReceiverResourceModel maps the resource schema data.

func (STFWebReceiverResourceModel) GetAttributes added in v1.0.0

func (STFWebReceiverResourceModel) GetAttributes() map[string]schema.Attribute

func (STFWebReceiverResourceModel) GetSchema added in v1.0.0

func (*STFWebReceiverResourceModel) RefreshApplicationShortcuts added in v0.6.2

func (*STFWebReceiverResourceModel) RefreshAuthenticationManager added in v0.6.2

func (*STFWebReceiverResourceModel) RefreshCommunication added in v0.6.2

func (*STFWebReceiverResourceModel) RefreshPlugInAssistant

func (r *STFWebReceiverResourceModel) RefreshPlugInAssistant(ctx context.Context, diagnostics *diag.Diagnostics, assistant *citrixstorefront.WebReceiverPluginAssistantModel)

func (*STFWebReceiverResourceModel) RefreshResourcesService added in v0.6.3

func (*STFWebReceiverResourceModel) RefreshStrictTransportSecurity added in v0.6.2

func (*STFWebReceiverResourceModel) RefreshUserInterface added in v0.6.2

func (*STFWebReceiverResourceModel) RefreshWebReceiverSiteStyle added in v0.6.3

type StrictTransportSecurity added in v0.6.2

type StrictTransportSecurity struct {
	Enabled        types.Bool   `tfsdk:"enabled"`         // Enable Strict Transport Security.
	PolicyDuration types.String `tfsdk:"policy_duration"` // Duration of the policy.
}

func (StrictTransportSecurity) GetAttributes added in v0.6.2

func (StrictTransportSecurity) GetAttributes() map[string]schema.Attribute

func (StrictTransportSecurity) GetSchema added in v0.6.2

type UIViews added in v0.6.2

type UIViews struct {
	ShowAppsView     types.Bool   `tfsdk:"show_apps_view"`
	ShowDesktopsView types.Bool   `tfsdk:"show_desktops_view"`
	DefaultView      types.String `tfsdk:"default_view"`
}

func (UIViews) GetAttributes added in v0.6.2

func (UIViews) GetAttributes() map[string]schema.Attribute

func (UIViews) GetSchema added in v0.6.2

func (UIViews) GetSchema() schema.SingleNestedAttribute

type UserInterface added in v0.6.2

type UserInterface struct {
	AutoLaunchDesktop      types.Bool   `tfsdk:"auto_launch_desktop"`
	MultiClickTimeout      types.Int64  `tfsdk:"multi_click_timeout"`
	EnableAppsFolderView   types.Bool   `tfsdk:"enable_apps_folder_view"`
	WorkspaceControl       types.Object `tfsdk:"workspace_control"`      // WorkspaceControl
	ReceiverConfiguration  types.Object `tfsdk:"receiver_configuration"` // ReceiverConfiguration
	AppShortcuts           types.Object `tfsdk:"app_shortcuts"`          // AppShortcuts
	UIViews                types.Object `tfsdk:"ui_views"`               // UIViews
	CategoryViewCollapsed  types.Bool   `tfsdk:"category_view_collapsed"`
	MoveAppToUncategorized types.Bool   `tfsdk:"move_app_to_uncategorized"`
	ProgressiveWebApp      types.Object `tfsdk:"progressive_web_app"` // ProgressiveWebApp
	ShowActivityManager    types.Bool   `tfsdk:"show_activity_manager"`
	ShowFirstTimeUse       types.Bool   `tfsdk:"show_first_time_use"`
	PreventIcaDownloads    types.Bool   `tfsdk:"prevent_ica_downloads"`
}

func (UserInterface) GetAttributes added in v0.6.2

func (UserInterface) GetAttributes() map[string]schema.Attribute

func (UserInterface) GetSchema added in v0.6.2

type WebReceiverSiteStyle added in v0.6.3

type WebReceiverSiteStyle struct {
	HeaderLogoPath         types.String `tfsdk:"header_logo_path"`
	LogonLogoPath          types.String `tfsdk:"logon_logo_path"`
	HeaderBackgroundColor  types.String `tfsdk:"header_background_color"`
	HeaderForegroundColor  types.String `tfsdk:"header_foreground_color"`
	LinkColor              types.String `tfsdk:"link_color"`
	IgnoreNonExistentLogos types.Bool   `tfsdk:"ignore_non_existent_logos"`
}

func (WebReceiverSiteStyle) GetAttributes added in v0.6.3

func (WebReceiverSiteStyle) GetAttributes() map[string]schema.Attribute

func (WebReceiverSiteStyle) GetSchema added in v0.6.3

type WorkspaceControl added in v0.6.2

type WorkspaceControl struct {
	Enabled              types.Bool   `tfsdk:"enabled"`
	AutoReconnectAtLogon types.Bool   `tfsdk:"auto_reconnect_at_logon"`
	LogoffAction         types.String `tfsdk:"logoff_action"`
	ShowReconnectButton  types.Bool   `tfsdk:"show_reconnect_button"`
	ShowDisconnectButton types.Bool   `tfsdk:"show_disconnect_button"`
}

func (WorkspaceControl) GetAttributes added in v0.6.2

func (WorkspaceControl) GetAttributes() map[string]schema.Attribute

func (WorkspaceControl) GetSchema added in v0.6.2

Jump to

Keyboard shortcuts

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