mocks

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStore

func NewStore() (*gorm.DB, sqlmock.Sqlmock, error)

NewStore returns store mock

Types

type BigQueryClient added in v0.3.0

type BigQueryClient struct {
	mock.Mock
}

BigQueryClient is an autogenerated mock type for the BigQueryClient type

func (*BigQueryClient) EXPECT added in v0.3.0

func (*BigQueryClient) GetDatasets added in v0.3.0

func (_m *BigQueryClient) GetDatasets(_a0 context.Context) ([]*bigquery.Dataset, error)

GetDatasets provides a mock function with given fields: _a0

func (*BigQueryClient) GetTables added in v0.3.0

func (_m *BigQueryClient) GetTables(ctx context.Context, datasetID string) ([]*bigquery.Table, error)

GetTables provides a mock function with given fields: ctx, datasetID

func (*BigQueryClient) GrantDatasetAccess added in v0.3.0

func (_m *BigQueryClient) GrantDatasetAccess(ctx context.Context, d *bigquery.Dataset, user string, role string) error

GrantDatasetAccess provides a mock function with given fields: ctx, d, user, role

func (*BigQueryClient) GrantTableAccess added in v0.3.0

func (_m *BigQueryClient) GrantTableAccess(ctx context.Context, t *bigquery.Table, accountType string, accountID string, role string) error

GrantTableAccess provides a mock function with given fields: ctx, t, accountType, accountID, role

func (*BigQueryClient) ListAccess added in v0.4.5

func (_m *BigQueryClient) ListAccess(ctx context.Context, resourceTypes []string) (map[string]interface{}, error)

ListAccess provides a mock function with given fields: ctx, resourceTypes

func (*BigQueryClient) ResolveDatasetRole added in v0.3.0

func (_m *BigQueryClient) ResolveDatasetRole(role string) (gobigquery.AccessRole, error)

ResolveDatasetRole provides a mock function with given fields: role

func (*BigQueryClient) RevokeDatasetAccess added in v0.3.0

func (_m *BigQueryClient) RevokeDatasetAccess(ctx context.Context, d *bigquery.Dataset, user string, role string) error

RevokeDatasetAccess provides a mock function with given fields: ctx, d, user, role

func (*BigQueryClient) RevokeTableAccess added in v0.3.0

func (_m *BigQueryClient) RevokeTableAccess(ctx context.Context, t *bigquery.Table, accountType string, accountID string, role string) error

RevokeTableAccess provides a mock function with given fields: ctx, t, accountType, accountID, role

type BigQueryClient_Expecter added in v0.3.0

type BigQueryClient_Expecter struct {
	// contains filtered or unexported fields
}

func (*BigQueryClient_Expecter) GetDatasets added in v0.3.0

func (_e *BigQueryClient_Expecter) GetDatasets(_a0 interface{}) *BigQueryClient_GetDatasets_Call

GetDatasets is a helper method to define mock.On call

  • _a0 context.Context

func (*BigQueryClient_Expecter) GetTables added in v0.3.0

func (_e *BigQueryClient_Expecter) GetTables(ctx interface{}, datasetID interface{}) *BigQueryClient_GetTables_Call

GetTables is a helper method to define mock.On call

  • ctx context.Context
  • datasetID string

func (*BigQueryClient_Expecter) GrantDatasetAccess added in v0.3.0

func (_e *BigQueryClient_Expecter) GrantDatasetAccess(ctx interface{}, d interface{}, user interface{}, role interface{}) *BigQueryClient_GrantDatasetAccess_Call

GrantDatasetAccess is a helper method to define mock.On call

  • ctx context.Context
  • d *bigquery.Dataset
  • user string
  • role string

func (*BigQueryClient_Expecter) GrantTableAccess added in v0.3.0

func (_e *BigQueryClient_Expecter) GrantTableAccess(ctx interface{}, t interface{}, accountType interface{}, accountID interface{}, role interface{}) *BigQueryClient_GrantTableAccess_Call

GrantTableAccess is a helper method to define mock.On call

  • ctx context.Context
  • t *bigquery.Table
  • accountType string
  • accountID string
  • role string

func (*BigQueryClient_Expecter) ListAccess added in v0.4.5

func (_e *BigQueryClient_Expecter) ListAccess(ctx interface{}, resourceTypes interface{}) *BigQueryClient_ListAccess_Call

ListAccess is a helper method to define mock.On call

  • ctx context.Context
  • resourceTypes []string

func (*BigQueryClient_Expecter) ResolveDatasetRole added in v0.3.0

func (_e *BigQueryClient_Expecter) ResolveDatasetRole(role interface{}) *BigQueryClient_ResolveDatasetRole_Call

ResolveDatasetRole is a helper method to define mock.On call

  • role string

func (*BigQueryClient_Expecter) RevokeDatasetAccess added in v0.3.0

func (_e *BigQueryClient_Expecter) RevokeDatasetAccess(ctx interface{}, d interface{}, user interface{}, role interface{}) *BigQueryClient_RevokeDatasetAccess_Call

RevokeDatasetAccess is a helper method to define mock.On call

  • ctx context.Context
  • d *bigquery.Dataset
  • user string
  • role string

func (*BigQueryClient_Expecter) RevokeTableAccess added in v0.3.0

func (_e *BigQueryClient_Expecter) RevokeTableAccess(ctx interface{}, t interface{}, accountType interface{}, accountID interface{}, role interface{}) *BigQueryClient_RevokeTableAccess_Call

RevokeTableAccess is a helper method to define mock.On call

  • ctx context.Context
  • t *bigquery.Table
  • accountType string
  • accountID string
  • role string

type BigQueryClient_GetDatasets_Call added in v0.3.0

type BigQueryClient_GetDatasets_Call struct {
	*mock.Call
}

BigQueryClient_GetDatasets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDatasets'

func (*BigQueryClient_GetDatasets_Call) Return added in v0.3.0

func (*BigQueryClient_GetDatasets_Call) Run added in v0.3.0

type BigQueryClient_GetTables_Call added in v0.3.0

type BigQueryClient_GetTables_Call struct {
	*mock.Call
}

BigQueryClient_GetTables_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTables'

func (*BigQueryClient_GetTables_Call) Return added in v0.3.0

func (*BigQueryClient_GetTables_Call) Run added in v0.3.0

type BigQueryClient_GrantDatasetAccess_Call added in v0.3.0

type BigQueryClient_GrantDatasetAccess_Call struct {
	*mock.Call
}

BigQueryClient_GrantDatasetAccess_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GrantDatasetAccess'

func (*BigQueryClient_GrantDatasetAccess_Call) Return added in v0.3.0

func (*BigQueryClient_GrantDatasetAccess_Call) Run added in v0.3.0

type BigQueryClient_GrantTableAccess_Call added in v0.3.0

type BigQueryClient_GrantTableAccess_Call struct {
	*mock.Call
}

BigQueryClient_GrantTableAccess_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GrantTableAccess'

func (*BigQueryClient_GrantTableAccess_Call) Return added in v0.3.0

func (*BigQueryClient_GrantTableAccess_Call) Run added in v0.3.0

type BigQueryClient_ListAccess_Call added in v0.4.5

type BigQueryClient_ListAccess_Call struct {
	*mock.Call
}

BigQueryClient_ListAccess_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAccess'

func (*BigQueryClient_ListAccess_Call) Return added in v0.4.5

func (_c *BigQueryClient_ListAccess_Call) Return(_a0 map[string]interface{}, _a1 error) *BigQueryClient_ListAccess_Call

func (*BigQueryClient_ListAccess_Call) Run added in v0.4.5

func (_c *BigQueryClient_ListAccess_Call) Run(run func(ctx context.Context, resourceTypes []string)) *BigQueryClient_ListAccess_Call

type BigQueryClient_ResolveDatasetRole_Call added in v0.3.0

type BigQueryClient_ResolveDatasetRole_Call struct {
	*mock.Call
}

BigQueryClient_ResolveDatasetRole_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResolveDatasetRole'

func (*BigQueryClient_ResolveDatasetRole_Call) Return added in v0.3.0

func (*BigQueryClient_ResolveDatasetRole_Call) Run added in v0.3.0

type BigQueryClient_RevokeDatasetAccess_Call added in v0.3.0

type BigQueryClient_RevokeDatasetAccess_Call struct {
	*mock.Call
}

BigQueryClient_RevokeDatasetAccess_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RevokeDatasetAccess'

func (*BigQueryClient_RevokeDatasetAccess_Call) Return added in v0.3.0

func (*BigQueryClient_RevokeDatasetAccess_Call) Run added in v0.3.0

type BigQueryClient_RevokeTableAccess_Call added in v0.3.0

type BigQueryClient_RevokeTableAccess_Call struct {
	*mock.Call
}

BigQueryClient_RevokeTableAccess_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RevokeTableAccess'

func (*BigQueryClient_RevokeTableAccess_Call) Return added in v0.3.0

func (*BigQueryClient_RevokeTableAccess_Call) Run added in v0.3.0

type Crypto

type Crypto struct {
	mock.Mock
}

Crypto is an autogenerated mock type for the Crypto type

func (*Crypto) Decrypt

func (_m *Crypto) Decrypt(_a0 string) (string, error)

Decrypt provides a mock function with given fields: _a0

func (*Crypto) EXPECT added in v0.5.4

func (_m *Crypto) EXPECT() *Crypto_Expecter

func (*Crypto) Encrypt

func (_m *Crypto) Encrypt(_a0 string) (string, error)

Encrypt provides a mock function with given fields: _a0

type Crypto_Decrypt_Call added in v0.5.4

type Crypto_Decrypt_Call struct {
	*mock.Call
}

Crypto_Decrypt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Decrypt'

func (*Crypto_Decrypt_Call) Return added in v0.5.4

func (_c *Crypto_Decrypt_Call) Return(_a0 string, _a1 error) *Crypto_Decrypt_Call

func (*Crypto_Decrypt_Call) Run added in v0.5.4

func (_c *Crypto_Decrypt_Call) Run(run func(_a0 string)) *Crypto_Decrypt_Call

type Crypto_Encrypt_Call added in v0.5.4

type Crypto_Encrypt_Call struct {
	*mock.Call
}

Crypto_Encrypt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Encrypt'

func (*Crypto_Encrypt_Call) Return added in v0.5.4

func (_c *Crypto_Encrypt_Call) Return(_a0 string, _a1 error) *Crypto_Encrypt_Call

func (*Crypto_Encrypt_Call) Run added in v0.5.4

func (_c *Crypto_Encrypt_Call) Run(run func(_a0 string)) *Crypto_Encrypt_Call

type Crypto_Expecter added in v0.5.4

type Crypto_Expecter struct {
	// contains filtered or unexported fields
}

func (*Crypto_Expecter) Decrypt added in v0.5.4

func (_e *Crypto_Expecter) Decrypt(_a0 interface{}) *Crypto_Decrypt_Call

Decrypt is a helper method to define mock.On call

  • _a0 string

func (*Crypto_Expecter) Encrypt added in v0.5.4

func (_e *Crypto_Expecter) Encrypt(_a0 interface{}) *Crypto_Encrypt_Call

Encrypt is a helper method to define mock.On call

  • _a0 string

type Decryptor added in v0.1.1

type Decryptor struct {
	mock.Mock
}

Decryptor is an autogenerated mock type for the Decryptor type

func (*Decryptor) Decrypt added in v0.1.1

func (_m *Decryptor) Decrypt(_a0 string) (string, error)

Decrypt provides a mock function with given fields: _a0

type Encryptor added in v0.1.1

type Encryptor struct {
	mock.Mock
}

Encryptor is an autogenerated mock type for the Encryptor type

func (*Encryptor) Encrypt added in v0.1.1

func (_m *Encryptor) Encrypt(_a0 string) (string, error)

Encrypt provides a mock function with given fields: _a0

type GrafanaClient added in v0.1.1

type GrafanaClient struct {
	mock.Mock
}

GrafanaClient is an autogenerated mock type for the GrafanaClient type

func (*GrafanaClient) GetDashboards added in v0.1.1

func (_m *GrafanaClient) GetDashboards(folderId int) ([]*grafana.Dashboard, error)

GetDashboards provides a mock function with given fields: folderId

func (*GrafanaClient) GetFolders added in v0.1.1

func (_m *GrafanaClient) GetFolders() ([]*grafana.Folder, error)

GetFolders provides a mock function with given fields:

func (*GrafanaClient) GrantDashboardAccess added in v0.1.1

func (_m *GrafanaClient) GrantDashboardAccess(resource *grafana.Dashboard, user string, role string) error

GrantDashboardAccess provides a mock function with given fields: resource, user, role

func (*GrafanaClient) RevokeDashboardAccess added in v0.1.1

func (_m *GrafanaClient) RevokeDashboardAccess(resource *grafana.Dashboard, user string, role string) error

RevokeDashboardAccess provides a mock function with given fields: resource, user, role

type HTTPClient

type HTTPClient struct {
	mock.Mock
}

HTTPClient is an autogenerated mock type for the HTTPClient type

func (*HTTPClient) Do

func (_m *HTTPClient) Do(_a0 *http.Request) (*http.Response, error)

Do provides a mock function with given fields: _a0

type IAMClient added in v0.1.1

type IAMClient struct {
	mock.Mock
}

IAMClient is an autogenerated mock type for the IAMClient type

func (*IAMClient) GetUser added in v0.1.1

func (_m *IAMClient) GetUser(id string) (interface{}, error)

GetUser provides a mock function with given fields: id

type IAMManager added in v0.1.2

type IAMManager struct {
	mock.Mock
}

IAMManager is an autogenerated mock type for the IAMManager type

func (*IAMManager) GetClient added in v0.1.2

func (_m *IAMManager) GetClient(_a0 domain.SensitiveConfig) (domain.IAMClient, error)

GetClient provides a mock function with given fields: _a0

func (*IAMManager) ParseConfig added in v0.1.2

func (_m *IAMManager) ParseConfig(_a0 *domain.IAMConfig) (domain.SensitiveConfig, error)

ParseConfig provides a mock function with given fields: _a0

type MetabaseClient added in v0.1.1

type MetabaseClient struct {
	mock.Mock
}

MetabaseClient is an autogenerated mock type for the MetabaseClient type

func (*MetabaseClient) GetCollections added in v0.1.1

func (_m *MetabaseClient) GetCollections() ([]*metabase.Collection, error)

GetCollections provides a mock function with given fields:

func (*MetabaseClient) GetDatabases added in v0.1.1

func (_m *MetabaseClient) GetDatabases() ([]*metabase.Database, error)

GetDatabases provides a mock function with given fields:

func (*MetabaseClient) GetGroups added in v0.2.8

GetGroups provides a mock function with given fields:

func (*MetabaseClient) GrantCollectionAccess added in v0.1.1

func (_m *MetabaseClient) GrantCollectionAccess(resource *metabase.Collection, user string, role string) error

GrantCollectionAccess provides a mock function with given fields: resource, user, role

func (*MetabaseClient) GrantDatabaseAccess added in v0.1.1

func (_m *MetabaseClient) GrantDatabaseAccess(resource *metabase.Database, user string, role string, groups map[string]*metabase.Group) error

GrantDatabaseAccess provides a mock function with given fields: resource, user, role, groups

func (*MetabaseClient) GrantGroupAccess added in v0.2.8

func (_m *MetabaseClient) GrantGroupAccess(groupID int, email string) error

GrantGroupAccess provides a mock function with given fields: groupID, email

func (*MetabaseClient) GrantTableAccess added in v0.2.8

func (_m *MetabaseClient) GrantTableAccess(resource *metabase.Table, user string, role string, groups map[string]*metabase.Group) error

GrantTableAccess provides a mock function with given fields: resource, user, role, groups

func (*MetabaseClient) RevokeCollectionAccess added in v0.1.1

func (_m *MetabaseClient) RevokeCollectionAccess(resource *metabase.Collection, user string, role string) error

RevokeCollectionAccess provides a mock function with given fields: resource, user, role

func (*MetabaseClient) RevokeDatabaseAccess added in v0.1.1

func (_m *MetabaseClient) RevokeDatabaseAccess(resource *metabase.Database, user string, role string) error

RevokeDatabaseAccess provides a mock function with given fields: resource, user, role

func (*MetabaseClient) RevokeGroupAccess added in v0.2.8

func (_m *MetabaseClient) RevokeGroupAccess(groupID int, email string) error

RevokeGroupAccess provides a mock function with given fields: groupID, email

func (*MetabaseClient) RevokeTableAccess added in v0.2.8

func (_m *MetabaseClient) RevokeTableAccess(resource *metabase.Table, user string, role string) error

RevokeTableAccess provides a mock function with given fields: resource, user, role

type Notifier

type Notifier struct {
	mock.Mock
}

Notifier is an autogenerated mock type for the Client type

func (*Notifier) Notify

func (_m *Notifier) Notify(_a0 []domain.Notification) []error

Notify provides a mock function with given fields: _a0

type ProviderClient added in v0.2.1

type ProviderClient struct {
	mock.Mock
}

ProviderClient is an autogenerated mock type for the Client type

func (*ProviderClient) CreateConfig added in v0.2.1

func (_m *ProviderClient) CreateConfig(_a0 *domain.ProviderConfig) error

CreateConfig provides a mock function with given fields: _a0

func (*ProviderClient) GetAccountTypes added in v0.2.1

func (_m *ProviderClient) GetAccountTypes() []string

GetAccountTypes provides a mock function with given fields:

func (*ProviderClient) GetResources added in v0.2.1

func (_m *ProviderClient) GetResources(pc *domain.ProviderConfig) ([]*domain.Resource, error)

GetResources provides a mock function with given fields: pc

func (*ProviderClient) GetRoles added in v0.2.1

func (_m *ProviderClient) GetRoles(pc *domain.ProviderConfig, resourceType string) ([]*domain.Role, error)

GetRoles provides a mock function with given fields: pc, resourceType

func (*ProviderClient) GetType added in v0.2.1

func (_m *ProviderClient) GetType() string

GetType provides a mock function with given fields:

func (*ProviderClient) GrantAccess added in v0.2.1

func (_m *ProviderClient) GrantAccess(_a0 *domain.ProviderConfig, _a1 *domain.Appeal) error

GrantAccess provides a mock function with given fields: _a0, _a1

func (*ProviderClient) RevokeAccess added in v0.2.1

func (_m *ProviderClient) RevokeAccess(_a0 *domain.ProviderConfig, _a1 *domain.Appeal) error

RevokeAccess provides a mock function with given fields: _a0, _a1

type ShieldClient added in v0.5.1

type ShieldClient struct {
	mock.Mock
}

ShieldClient is an autogenerated mock type for the ShieldClient type

func (*ShieldClient) GetOrganizations added in v0.5.1

func (_m *ShieldClient) GetOrganizations() ([]*shield.Organization, error)

GetOrganizations provides a mock function with given fields:

func (*ShieldClient) GetProjects added in v0.5.1

func (_m *ShieldClient) GetProjects() ([]*shield.Project, error)

GetProjects provides a mock function with given fields:

func (*ShieldClient) GetSelfUser added in v0.5.1

func (_m *ShieldClient) GetSelfUser(email string) (*shield.User, error)

GetSelfUser a mock function with given fields:

func (*ShieldClient) GetTeams added in v0.5.1

func (_m *ShieldClient) GetTeams() ([]*shield.Team, error)

GetTeam provides a mock function with given fields:

func (*ShieldClient) GrantOrganizationAccess added in v0.5.1

func (_m *ShieldClient) GrantOrganizationAccess(resource *shield.Organization, user string, role string) error

GrantOrganizationAccess provides a mock function with given fields: groupID, email

func (*ShieldClient) GrantProjectAccess added in v0.5.1

func (_m *ShieldClient) GrantProjectAccess(resource *shield.Project, user string, role string) error

GrantProjectAccess provides a mock function with given fields: resource, user, role, groups

func (*ShieldClient) GrantTeamAccess added in v0.5.1

func (_m *ShieldClient) GrantTeamAccess(resource *shield.Team, user string, role string) error

GrantTeamAccess provides a mock function with given fields: resource, user, role

func (*ShieldClient) RevokeOrganizationAccess added in v0.5.1

func (_m *ShieldClient) RevokeOrganizationAccess(resource *shield.Organization, user string, role string) error

RevokeOrganizationAccess provides a mock function with given fields: resource, user, role

func (*ShieldClient) RevokeProjectAccess added in v0.5.1

func (_m *ShieldClient) RevokeProjectAccess(resource *shield.Project, user string, role string) error

RevokeProjectAccess provides a mock function with given fields: resource, user, role

func (*ShieldClient) RevokeTeamAccess added in v0.5.1

func (_m *ShieldClient) RevokeTeamAccess(resource *shield.Team, user string, role string) error

RevokeTeamAccess provides a mock function with given fields: resource, user, role

type TableauClient added in v0.1.1

type TableauClient struct {
	mock.Mock
}

TableauClient is an autogenerated mock type for the TableauClient type

func (*TableauClient) GetDataSources added in v0.1.1

func (_m *TableauClient) GetDataSources() ([]*tableau.DataSource, error)

GetDataSources provides a mock function with given fields:

func (*TableauClient) GetFlows added in v0.1.1

func (_m *TableauClient) GetFlows() ([]*tableau.Flow, error)

GetFlows provides a mock function with given fields:

func (*TableauClient) GetMetrics added in v0.1.1

func (_m *TableauClient) GetMetrics() ([]*tableau.Metric, error)

GetMetrics provides a mock function with given fields:

func (*TableauClient) GetViews added in v0.1.1

func (_m *TableauClient) GetViews() ([]*tableau.View, error)

GetViews provides a mock function with given fields:

func (*TableauClient) GetWorkbooks added in v0.1.1

func (_m *TableauClient) GetWorkbooks() ([]*tableau.Workbook, error)

GetWorkbooks provides a mock function with given fields:

func (*TableauClient) GrantDataSourceAccess added in v0.1.1

func (_m *TableauClient) GrantDataSourceAccess(resource *tableau.DataSource, user string, role string) error

GrantDataSourceAccess provides a mock function with given fields: resource, user, role

func (*TableauClient) GrantFlowAccess added in v0.1.1

func (_m *TableauClient) GrantFlowAccess(resource *tableau.Flow, user string, role string) error

GrantFlowAccess provides a mock function with given fields: resource, user, role

func (*TableauClient) GrantMetricAccess added in v0.1.1

func (_m *TableauClient) GrantMetricAccess(resource *tableau.Metric, user string, role string) error

GrantMetricAccess provides a mock function with given fields: resource, user, role

func (*TableauClient) GrantViewAccess added in v0.1.1

func (_m *TableauClient) GrantViewAccess(resource *tableau.View, user string, role string) error

GrantViewAccess provides a mock function with given fields: resource, user, role

func (*TableauClient) GrantWorkbookAccess added in v0.1.1

func (_m *TableauClient) GrantWorkbookAccess(resource *tableau.Workbook, user string, role string) error

GrantWorkbookAccess provides a mock function with given fields: resource, user, role

func (*TableauClient) RevokeDataSourceAccess added in v0.1.1

func (_m *TableauClient) RevokeDataSourceAccess(resource *tableau.DataSource, user string, role string) error

RevokeDataSourceAccess provides a mock function with given fields: resource, user, role

func (*TableauClient) RevokeFlowAccess added in v0.1.1

func (_m *TableauClient) RevokeFlowAccess(resource *tableau.Flow, user string, role string) error

RevokeFlowAccess provides a mock function with given fields: resource, user, role

func (*TableauClient) RevokeMetricAccess added in v0.1.1

func (_m *TableauClient) RevokeMetricAccess(resource *tableau.Metric, user string, role string) error

RevokeMetricAccess provides a mock function with given fields: resource, user, role

func (*TableauClient) RevokeViewAccess added in v0.1.1

func (_m *TableauClient) RevokeViewAccess(resource *tableau.View, user string, role string) error

RevokeViewAccess provides a mock function with given fields: resource, user, role

func (*TableauClient) RevokeWorkbookAccess added in v0.1.1

func (_m *TableauClient) RevokeWorkbookAccess(resource *tableau.Workbook, user string, role string) error

RevokeWorkbookAccess provides a mock function with given fields: resource, user, role

func (*TableauClient) UpdateSiteRole added in v0.1.1

func (_m *TableauClient) UpdateSiteRole(user string, role string) error

UpdateSiteRole provides a mock function with given fields: user, role

Jump to

Keyboard shortcuts

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