Documentation ¶
Index ¶
- func MockClusterReplicaScan(mock sqlmock.Sqlmock, predicate string)
- func MockClusterScan(mock sqlmock.Sqlmock, predicate string)
- func MockConnectionAwsPrivatelinkScan(mock sqlmock.Sqlmock, predicate string)
- func MockConnectionAwsScan(mock sqlmock.Sqlmock, predicate string)
- func MockConnectionScan(mock sqlmock.Sqlmock, predicate string)
- func MockConnectionSshTunnelScan(mock sqlmock.Sqlmock, predicate string)
- func MockDatabaseScan(mock sqlmock.Sqlmock, predicate string)
- func MockDefaultPrivilegeScan(mock sqlmock.Sqlmock, predicate, objectType string)
- func MockIndexColumnScan(mock sqlmock.Sqlmock, predicate string)
- func MockIndexScan(mock sqlmock.Sqlmock, predicate string)
- func MockMaterializeViewScan(mock sqlmock.Sqlmock, predicate string)
- func MockMysqlSubsourceScan(mock sqlmock.Sqlmock, predicate string)
- func MockNetworkPolicyScan(mock sqlmock.Sqlmock, predicate string)
- func MockPosgresSubsourceScan(mock sqlmock.Sqlmock, predicate string)
- func MockRoleGrantScan(mock sqlmock.Sqlmock)
- func MockRoleScan(mock sqlmock.Sqlmock, predicate string)
- func MockSchemaScan(mock sqlmock.Sqlmock, predicate string)
- func MockSecretScan(mock sqlmock.Sqlmock, predicate string)
- func MockSinkScan(mock sqlmock.Sqlmock, predicate string)
- func MockSourceScan(mock sqlmock.Sqlmock, predicate string)
- func MockSubsourceScan(mock sqlmock.Sqlmock, predicate string)
- func MockSystemGrantScan(mock sqlmock.Sqlmock)
- func MockSystemPrivilege(mock sqlmock.Sqlmock)
- func MockTableColumnScan(mock sqlmock.Sqlmock, predicate string)
- func MockTableScan(mock sqlmock.Sqlmock, predicate string)
- func MockTypeScan(mock sqlmock.Sqlmock, predicate string)
- func MockViewScan(mock sqlmock.Sqlmock, predicate string)
- func WithMockCloudServer(t *testing.T, f func(url string))
- func WithMockDb(t *testing.T, f func(*sqlx.DB, sqlmock.Sqlmock))
- func WithMockFronteggServer(t *testing.T, f func(url string))
- func WithMockProviderMeta(t *testing.T, f func(*utils.ProviderMeta, sqlmock.Sqlmock))
- type DefaultRoles
- type Domain
- type FronteggRole
- type FronteggRolesResponse
- type GroupMapping
- type MockAppPassword
- type MockCloudService
- type SSOConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MockClusterReplicaScan ¶ added in v0.0.8
func MockClusterScan ¶ added in v0.0.8
func MockConnectionAwsPrivatelinkScan ¶ added in v0.0.8
func MockConnectionAwsScan ¶ added in v0.6.7
func MockConnectionScan ¶ added in v0.0.8
func MockConnectionSshTunnelScan ¶ added in v0.0.8
func MockDatabaseScan ¶ added in v0.0.8
func MockDefaultPrivilegeScan ¶ added in v0.1.0
func MockIndexColumnScan ¶ added in v0.1.5
func MockIndexScan ¶ added in v0.0.8
func MockMaterializeViewScan ¶ added in v0.1.13
func MockMysqlSubsourceScan ¶ added in v0.8.0
MockMysqlSubsourceScan mocks the scan of a postgres source
func MockNetworkPolicyScan ¶ added in v0.8.11
func MockPosgresSubsourceScan ¶ added in v0.8.0
MockPosgresSubsourceScan mocks the scan of a postgres source
func MockRoleGrantScan ¶ added in v0.1.0
func MockRoleScan ¶ added in v0.0.8
func MockSchemaScan ¶ added in v0.0.8
func MockSecretScan ¶ added in v0.0.8
func MockSinkScan ¶ added in v0.0.8
func MockSourceScan ¶ added in v0.0.8
func MockSubsourceScan ¶ added in v0.1.5
func MockSystemGrantScan ¶ added in v0.1.0
func MockSystemPrivilege ¶ added in v0.1.0
func MockTableColumnScan ¶ added in v0.1.5
func MockTableScan ¶ added in v0.0.8
func MockTypeScan ¶ added in v0.0.8
func MockViewScan ¶ added in v0.0.8
func WithMockCloudServer ¶ added in v0.5.0
WithMockCloudServer sets up a mock HTTP server for cloud-related requests and calls the provided function with the server URL.
func WithMockFronteggServer ¶ added in v0.5.0
func WithMockProviderMeta ¶ added in v0.5.0
Types ¶
type DefaultRoles ¶ added in v0.6.0
type DefaultRoles struct {
RoleIds []string `json:"roleIds"`
}
type FronteggRole ¶ added in v0.6.0
type FronteggRolesResponse ¶ added in v0.6.0
type FronteggRolesResponse struct { Items []FronteggRole `json:"items"` Metadata struct { TotalItems int `json:"totalItems"` TotalPages int `json:"totalPages"` } `json:"_metadata"` }
type GroupMapping ¶ added in v0.6.0
type MockAppPassword ¶ added in v0.5.0
type MockCloudService ¶ added in v0.5.0
type MockCloudService struct{}
MockCloudService is a mock implementation of the http.RoundTripper interface for cloud-related requests
type SSOConfig ¶ added in v0.6.0
type SSOConfig struct { Id string `json:"id"` Enabled bool `json:"enabled"` SsoEndpoint string `json:"ssoEndpoint"` PublicCertificate string `json:"publicCertificate"` SignRequest bool `json:"signRequest"` AcsUrl string `json:"acsUrl"` SpEntityId string `json:"spEntityId"` Type string `json:"type"` OidcClientId string `json:"oidcClientId"` OidcSecret string `json:"oidcSecret"` Domains []Domain `json:"domains"` Groups []GroupMapping `json:"groups"` DefaultRoles DefaultRoles `json:"defaultRoles"` GeneratedVerification string `json:"generatedVerification,omitempty"` CreatedAt time.Time `json:"createdAt,omitempty"` UpdatedAt time.Time `json:"updatedAt,omitempty"` ConfigMetadata interface{} `json:"configMetadata,omitempty"` OverrideActiveTenant bool `json:"overrideActiveTenant,omitempty"` SkipEmailDomainValidation bool `json:"skipEmailDomainValidation,omitempty"` SubAccountAccessLimit int `json:"subAccountAccessLimit,omitempty"` RoleIds []string `json:"roleIds"` }
Click to show internal directories.
Click to hide internal directories.