Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Provider ¶
func Provider() terraform.ResourceProvider
Provider creates and returns the FortiOS terraform.ResourceProvider
Types ¶
type Config ¶
type Config struct { Hostname string Token string Insecure *bool CABundle string Vdom string FMG_Hostname string FMG_Username string FMG_Passwd string FMG_Insecure *bool FMG_CABundle string }
Config gets the authentication information from the given metadata
func (*Config) CreateClient ¶
CreateClient creates a FortiClient Object with the authentication information. It returns the FortiClient Object for the use when the plugin is initialized.
type FortiClient ¶
type FortiClient struct { //to sdk client Client *forticlient.FortiSDKClient ClientFortimanager *fmgclient.FmgSDKClient }
FortiClient contains the basic FortiOS SDK connection information to FortiOS It can be used to as a client of FortiOS for the plugin Now FortiClient contains two kinds of clients: Client is for FortiGate Client Fottimanager is for FortiManager
Source Files ¶
- client.go
- config.go
- provider.go
- resource_firewall_object_address.go
- resource_firewall_object_addressgroup.go
- resource_firewall_object_ippool.go
- resource_firewall_object_service.go
- resource_firewall_object_servicecategory.go
- resource_firewall_object_servicegroup.go
- resource_firewall_object_vip.go
- resource_firewall_object_vipgroup.go
- resource_firewall_security_policy.go
- resource_firewall_security_policyseq.go
- resource_fortimanager_devicemanager_device.go
- resource_fortimanager_devicemanager_installdevice.go
- resource_fortimanager_devicemanager_installpackage.go
- resource_fortimanager_devicemanager_script.go
- resource_fortimanager_devicemanager_script_execute.go
- resource_fortimanager_firewall_object_address.go
- resource_fortimanager_firewall_object_ippool.go
- resource_fortimanager_firewall_object_service.go
- resource_fortimanager_firewall_object_vip.go
- resource_fortimanager_firewall_security_policy.go
- resource_fortimanager_firewall_security_policypackage.go
- resource_fortimanager_jsonrpc_request.go
- resource_fortimanager_object_adom_revision.go
- resource_fortimanager_system_admin.go
- resource_fortimanager_system_admin_profiles.go
- resource_fortimanager_system_admin_user.go
- resource_fortimanager_system_adom.go
- resource_fortimanager_system_dns.go
- resource_fortimanager_system_global.go
- resource_fortimanager_system_license_forticare.go
- resource_fortimanager_system_license_vm.go
- resource_fortimanager_system_network_interface.go
- resource_fortimanager_system_network_route.go
- resource_fortimanager_system_ntp.go
- resource_fortimanager_system_syslogserver.go
- resource_json_generic_api.go
- resource_log_fortianalyzer_setting.go
- resource_log_syslog_setting.go
- resource_networking_interface_port.go
- resource_networking_route_static.go
- resource_system_admin_administrator.go
- resource_system_admin_profiles.go
- resource_system_apiuser_setting.go
- resource_system_license_forticare.go
- resource_system_license_vdom.go
- resource_system_license_vm.go
- resource_system_setting_dns.go
- resource_system_setting_global.go
- resource_system_setting_ntp.go
- resource_system_vdom_setting.go
- resource_vpn_ipsec_phase1interface.go
- resource_vpn_ipsec_phase2interface.go
Click to show internal directories.
Click to hide internal directories.