Documentation ¶
Index ¶
- Constants
- Variables
- func NewConnectorDatasource() datasource.DataSource
- func NewConnectorsDatasource() datasource.DataSource
- func NewGroupDatasource() datasource.DataSource
- func NewGroupsDatasource() datasource.DataSource
- func NewRemoteNetworkDatasource() datasource.DataSource
- func NewRemoteNetworksDatasource() datasource.DataSource
- func NewResourceDatasource() datasource.DataSource
- func NewResourcesDatasource() datasource.DataSource
- func NewSecurityPoliciesDatasource() datasource.DataSource
- func NewSecurityPolicyDatasource() datasource.DataSource
- func NewServiceAccountsDatasource() datasource.DataSource
- func NewUserDatasource() datasource.DataSource
- func NewUsersDatasource() datasource.DataSource
Constants ¶
View Source
const ( TwingateGroup = "twingate_group" TwingateGroups = "twingate_groups" TwingateRemoteNetwork = "twingate_remote_network" TwingateRemoteNetworks = "twingate_remote_networks" TwingateUser = "twingate_user" TwingateUsers = "twingate_users" TwingateConnector = "twingate_connector" TwingateConnectors = "twingate_connectors" TwingateResource = "twingate_resource" TwingateResources = "twingate_resources" TwingateServiceAccounts = "twingate_service_accounts" TwingateSecurityPolicy = "twingate_security_policy" // #nosec G101 TwingateSecurityPolicies = "twingate_security_policies" )
Variables ¶
View Source
var ( ErrUsersDatasourceShouldSetOneOptionalEmailAttribute = errors.New("Only one of email, email_regex, email_contains, email_exclude, email_prefix or email_suffix must be set.") ErrUsersDatasourceShouldSetOneOptionalFirstNameAttribute = errors.New("Only one of first_name, first_name_regex, first_name_contains, first_name_exclude, first_name_prefix or first_name_suffix must be set.") ErrUsersDatasourceShouldSetOneOptionalLastNameAttribute = errors.New("Only one of last_name, last_name_regex, last_name_contains, last_name_exclude, last_name_prefix or last_name_suffix must be set.") )
View Source
var ErrConnectorsDatasourceShouldSetOneOptionalNameAttribute = errors.New("Only one of name, name_regex, name_contains, name_exclude, name_prefix or name_suffix must be set.")
View Source
var ErrGroupsDatasourceShouldSetOneOptionalNameAttribute = errors.New("Only one of name, name_regex, name_contains, name_exclude, name_prefix or name_suffix must be set.")
View Source
var ErrRemoteNetworksDatasourceShouldSetOneOptionalNameAttribute = errors.New("Only one of name, name_regex, name_contains, name_exclude, name_prefix or name_suffix must be set.")
View Source
var ErrResourcesDatasourceShouldSetOneOptionalNameAttribute = errors.New("Only one of name, name_regex, name_contains, name_exclude, name_prefix or name_suffix must be set.")
View Source
var ErrSecurityPoliciesDatasourceShouldSetOneOptionalNameAttribute = errors.New("Only one of name, name_regex, name_contains, name_exclude, name_prefix or name_suffix must be set.")
View Source
var ErrServiceAccountsDatasourceShouldSetOneOptionalNameAttribute = errors.New("Only one of name, name_regex, name_contains, name_exclude, name_prefix or name_suffix must be set.")
Functions ¶
func NewConnectorDatasource ¶
func NewConnectorDatasource() datasource.DataSource
func NewConnectorsDatasource ¶
func NewConnectorsDatasource() datasource.DataSource
func NewGroupDatasource ¶
func NewGroupDatasource() datasource.DataSource
func NewGroupsDatasource ¶
func NewGroupsDatasource() datasource.DataSource
func NewRemoteNetworkDatasource ¶
func NewRemoteNetworkDatasource() datasource.DataSource
func NewRemoteNetworksDatasource ¶
func NewRemoteNetworksDatasource() datasource.DataSource
func NewResourceDatasource ¶
func NewResourceDatasource() datasource.DataSource
func NewResourcesDatasource ¶
func NewResourcesDatasource() datasource.DataSource
func NewSecurityPoliciesDatasource ¶
func NewSecurityPoliciesDatasource() datasource.DataSource
func NewSecurityPolicyDatasource ¶
func NewSecurityPolicyDatasource() datasource.DataSource
func NewServiceAccountsDatasource ¶
func NewServiceAccountsDatasource() datasource.DataSource
func NewUserDatasource ¶
func NewUserDatasource() datasource.DataSource
func NewUsersDatasource ¶
func NewUsersDatasource() datasource.DataSource
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.