Documentation ¶
Index ¶
Constants ¶
View Source
const ( Version12 = 12 Version13 = 13 Version14 = 14 Version15 = 15 Version16 = 16 Version17 = 17 // DefaultClientVersion is the latest support version of appgate sdp client that is supported. // its not recommended to change this value. DefaultClientVersion = Version16 )
View Source
const ( ApplianceStateInit = "init" ApplianceStateWaitingConfig = "waiting_config" ApplianceStateMigratingdata = "data_migration" ApplianceStateUpgrading = "upgrading" ApplianceStateCloudinitializing = "cloud_initializing" ApplianceStateApplianceActivating = "appliance_activating" ApplianceStateApplianceRegistering = "appliance_registering" ApplianceStateApplianceReady = "appliance_ready" ApplianceStateControllerReady = "controller_ready" )
View Source
const (
// DefaultDescription is the default string for terraform resources.
DefaultDescription = "Managed by terraform"
)
Variables ¶
View Source
var ( // ApplianceVersionMap match appliance version to go client version. ApplianceVersionMap = map[int]string{ Version12: "5.1.0", Version13: "5.2.0", Version14: "5.3.0", Version15: "5.4.0", Version16: "5.5.0", Version17: "6.0.0", } Appliance53Version, _ = version.NewVersion(ApplianceVersionMap[Version14]) Appliance54Version, _ = version.NewVersion(ApplianceVersionMap[Version15]) Appliance55Version, _ = version.NewVersion(ApplianceVersionMap[Version16]) )
Functions ¶
func FileExists ¶ added in v0.8.3
func Nprintf ¶ added in v0.5.4
Nprintf is a Printf sibling (Nprintf; Named Printf), which handles strings like Nprintf("Hello %{target}!", map[string]interface{}{"target":"world"}) == "Hello world!". This is particularly useful for generated tests, where we don't want to use Printf, since that would require us to generate a very particular ordering of arguments.
Types ¶
type ApplianceStatsRetryableError ¶ added in v0.7.0
type ApplianceStatsRetryableError struct {
// contains filtered or unexported fields
}
ApplianceStatsRetryableError is used when /stats/appliance should be retried.
func (ApplianceStatsRetryableError) Error ¶ added in v0.7.0
func (e ApplianceStatsRetryableError) Error() string
Error returns non-empty string if there was an error.
type Client ¶
type Client struct { Token string UUID string ApplianceVersion *version.Version LatestSupportedVersion *version.Version ClientVersion int API *openapi.APIClient Config *Config }
Client is the appgate API client.
type Config ¶
type Config struct { URL string `json:"appgate_url,omitempty"` Username string `json:"appgate_username,omitempty"` Password string `json:"appgate_password,omitempty"` Provider string `json:"appgate_provider,omitempty"` Insecure bool `json:"appgate_insecure,omitempty"` Timeout int `json:"appgate_timeout,omitempty"` LoginTimeout int `json:"appgate_login_timeout,omitempty"` Debug bool `json:"appgate_http_debug,omitempty"` Version int `json:"appgate_client_version,omitempty"` BearerToken string `json:"appgate_bearer_token,omitempty"` PemFilePath string `json:"appgate_pem_filepath,omitempty"` DeviceID string `json:"appgate_device_id,omitempty"` }
Config for appgate provider.
Source Files ¶
- appliance_schemas.go
- config.go
- data_source_appgate_administrative_role.go
- data_source_appgate_appliance.go
- data_source_appgate_appliance_customization.go
- data_source_appgate_appliance_seed.go
- data_source_appgate_certificate_authority.go
- data_source_appgate_condition.go
- data_source_appgate_criteria_script.go
- data_source_appgate_device_script.go
- data_source_appgate_entitlement.go
- data_source_appgate_entitlement_script.go
- data_source_appgate_global_settings.go
- data_source_appgate_identity_provider.go
- data_source_appgate_ip_pool.go
- data_source_appgate_local_user.go
- data_source_appgate_mfa_provider.go
- data_source_appgate_policy.go
- data_source_appgate_ringfence_rule.go
- data_source_appgate_site.go
- data_source_appgate_trusted_certificate.go
- identity_provider.go
- identity_provider_migrate.go
- provider.go
- resource_appgate_administrative_role.go
- resource_appgate_appliance.go
- resource_appgate_appliance_controller.go
- resource_appgate_appliance_customization.go
- resource_appgate_blacklist_user.go
- resource_appgate_client_connections.go
- resource_appgate_client_profile.go
- resource_appgate_condition.go
- resource_appgate_criteria_script.go
- resource_appgate_device_script.go
- resource_appgate_entitlement.go
- resource_appgate_entitlement_script.go
- resource_appgate_global_settings.go
- resource_appgate_identity_provider_connector.go
- resource_appgate_identity_provider_ldap.go
- resource_appgate_identity_provider_ldap_certificate.go
- resource_appgate_identity_provider_local_database.go
- resource_appgate_identity_provider_radius.go
- resource_appgate_identity_provider_saml.go
- resource_appgate_ip_pool.go
- resource_appgate_license.go
- resource_appgate_local_user.go
- resource_appgate_mfa_provider.go
- resource_appgate_mfa_setting.go
- resource_appgate_policy.go
- resource_appgate_ringfence_rule.go
- resource_appgate_site.go
- resource_appgate_trusted_certificate.go
- util.go
Click to show internal directories.
Click to hide internal directories.