Documentation ¶
Index ¶
- type AuditLogConfigurationApi
- func (m *AuditLogConfigurationApi) GetConfig(ctx context.Context) (github_com_confluentinc_mds_sdk_go_public_mdsv1.AuditLogConfigSpec, ...)
- func (m *AuditLogConfigurationApi) GetConfigCalled() bool
- func (m *AuditLogConfigurationApi) GetConfigCalls() []struct{ ... }
- func (m *AuditLogConfigurationApi) ListRoutes(ctx context.Context, ...) (...)
- func (m *AuditLogConfigurationApi) ListRoutesCalled() bool
- func (m *AuditLogConfigurationApi) ListRoutesCalls() []struct{ ... }
- func (m *AuditLogConfigurationApi) PutConfig(ctx context.Context, ...) (github_com_confluentinc_mds_sdk_go_public_mdsv1.AuditLogConfigSpec, ...)
- func (m *AuditLogConfigurationApi) PutConfigCalled() bool
- func (m *AuditLogConfigurationApi) PutConfigCalls() []struct{ ... }
- func (m *AuditLogConfigurationApi) Reset()
- func (m *AuditLogConfigurationApi) ResolveResourceRoute(ctx context.Context, ...) (...)
- func (m *AuditLogConfigurationApi) ResolveResourceRouteCalled() bool
- func (m *AuditLogConfigurationApi) ResolveResourceRouteCalls() []struct{ ... }
- type AuthorizationApi
- type ClusterRegistryApi
- func (m *ClusterRegistryApi) ClusterRegistryList(ctx context.Context, ...) ([]github_com_confluentinc_mds_sdk_go_public_mdsv1.ClusterInfo, ...)
- func (m *ClusterRegistryApi) ClusterRegistryListCalled() bool
- func (m *ClusterRegistryApi) ClusterRegistryListCalls() []struct{ ... }
- func (m *ClusterRegistryApi) DeleteNamedCluster(ctx context.Context, clusterName string) (*net_http.Response, error)
- func (m *ClusterRegistryApi) DeleteNamedClusterCalled() bool
- func (m *ClusterRegistryApi) DeleteNamedClusterCalls() []struct{ ... }
- func (m *ClusterRegistryApi) GetNamedCluster(ctx context.Context, clusterName string) (github_com_confluentinc_mds_sdk_go_public_mdsv1.ClusterInfo, ...)
- func (m *ClusterRegistryApi) GetNamedClusterCalled() bool
- func (m *ClusterRegistryApi) GetNamedClusterCalls() []struct{ ... }
- func (m *ClusterRegistryApi) Reset()
- func (m *ClusterRegistryApi) UpdateClusters(ctx context.Context, ...) (*net_http.Response, error)
- func (m *ClusterRegistryApi) UpdateClustersCalled() bool
- func (m *ClusterRegistryApi) UpdateClustersCalls() []struct{ ... }
- type KafkaACLManagementApi
- func (m *KafkaACLManagementApi) AddAclBinding(ctx context.Context, ...) (*net_http.Response, error)
- func (m *KafkaACLManagementApi) AddAclBindingCalled() bool
- func (m *KafkaACLManagementApi) AddAclBindingCalls() []struct{ ... }
- func (m *KafkaACLManagementApi) RemoveAclBindings(ctx context.Context, ...) ([]github_com_confluentinc_mds_sdk_go_public_mdsv1.AclBinding, ...)
- func (m *KafkaACLManagementApi) RemoveAclBindingsCalled() bool
- func (m *KafkaACLManagementApi) RemoveAclBindingsCalls() []struct{ ... }
- func (m *KafkaACLManagementApi) Reset()
- func (m *KafkaACLManagementApi) SearchAclBinding(ctx context.Context, ...) ([]github_com_confluentinc_mds_sdk_go_public_mdsv1.AclBinding, ...)
- func (m *KafkaACLManagementApi) SearchAclBindingCalled() bool
- func (m *KafkaACLManagementApi) SearchAclBindingCalls() []struct{ ... }
- type RBACRoleBindingCRUDApi
- func (m *RBACRoleBindingCRUDApi) AddRoleForPrincipal(ctx context.Context, principal, roleName string, ...) (*net_http.Response, error)
- func (m *RBACRoleBindingCRUDApi) AddRoleForPrincipalCalled() bool
- func (m *RBACRoleBindingCRUDApi) AddRoleForPrincipalCalls() []struct{ ... }
- func (m *RBACRoleBindingCRUDApi) AddRoleResourcesForPrincipal(ctx context.Context, principal, roleName string, ...) (*net_http.Response, error)
- func (m *RBACRoleBindingCRUDApi) AddRoleResourcesForPrincipalCalled() bool
- func (m *RBACRoleBindingCRUDApi) AddRoleResourcesForPrincipalCalls() []struct{ ... }
- func (m *RBACRoleBindingCRUDApi) DeleteRoleForPrincipal(ctx context.Context, principal, roleName string, ...) (*net_http.Response, error)
- func (m *RBACRoleBindingCRUDApi) DeleteRoleForPrincipalCalled() bool
- func (m *RBACRoleBindingCRUDApi) DeleteRoleForPrincipalCalls() []struct{ ... }
- func (m *RBACRoleBindingCRUDApi) GetRoleResourcesForPrincipal(ctx context.Context, principal, roleName string, ...) ([]github_com_confluentinc_mds_sdk_go_public_mdsv1.ResourcePattern, ...)
- func (m *RBACRoleBindingCRUDApi) GetRoleResourcesForPrincipalCalled() bool
- func (m *RBACRoleBindingCRUDApi) GetRoleResourcesForPrincipalCalls() []struct{ ... }
- func (m *RBACRoleBindingCRUDApi) RemoveRoleResourcesForPrincipal(ctx context.Context, principal, roleName string, ...) (*net_http.Response, error)
- func (m *RBACRoleBindingCRUDApi) RemoveRoleResourcesForPrincipalCalled() bool
- func (m *RBACRoleBindingCRUDApi) RemoveRoleResourcesForPrincipalCalls() []struct{ ... }
- func (m *RBACRoleBindingCRUDApi) Reset()
- func (m *RBACRoleBindingCRUDApi) SetRoleResourcesForPrincipal(ctx context.Context, principal, roleName string, ...) (*net_http.Response, error)
- func (m *RBACRoleBindingCRUDApi) SetRoleResourcesForPrincipalCalled() bool
- func (m *RBACRoleBindingCRUDApi) SetRoleResourcesForPrincipalCalls() []struct{ ... }
- type RBACRoleBindingSummariesApi
- func (m *RBACRoleBindingSummariesApi) LookupPrincipalsWithRole(ctx context.Context, roleName string, ...) ([]string, *net_http.Response, error)
- func (m *RBACRoleBindingSummariesApi) LookupPrincipalsWithRoleCalled() bool
- func (m *RBACRoleBindingSummariesApi) LookupPrincipalsWithRoleCalls() []struct{ ... }
- func (m *RBACRoleBindingSummariesApi) LookupPrincipalsWithRoleOnResource(ctx context.Context, roleName, resourceType, resourceName string, ...) ([]string, *net_http.Response, error)
- func (m *RBACRoleBindingSummariesApi) LookupPrincipalsWithRoleOnResourceCalled() bool
- func (m *RBACRoleBindingSummariesApi) LookupPrincipalsWithRoleOnResourceCalls() []struct{ ... }
- func (m *RBACRoleBindingSummariesApi) LookupResourcesForPrincipal(ctx context.Context, principal string, ...) (...)
- func (m *RBACRoleBindingSummariesApi) LookupResourcesForPrincipalCalled() bool
- func (m *RBACRoleBindingSummariesApi) LookupResourcesForPrincipalCalls() []struct{ ... }
- func (m *RBACRoleBindingSummariesApi) Reset()
- func (m *RBACRoleBindingSummariesApi) ScopedPrincipalRolenames(ctx context.Context, principal string, ...) ([]string, *net_http.Response, error)
- func (m *RBACRoleBindingSummariesApi) ScopedPrincipalRolenamesCalled() bool
- func (m *RBACRoleBindingSummariesApi) ScopedPrincipalRolenamesCalls() []struct{ ... }
- type RBACRoleDefinitionsApi
- func (m *RBACRoleDefinitionsApi) Reset()
- func (m *RBACRoleDefinitionsApi) RoleDetail(ctx context.Context, roleName string) (github_com_confluentinc_mds_sdk_go_public_mdsv1.Role, *net_http.Response, ...)
- func (m *RBACRoleDefinitionsApi) RoleDetailCalled() bool
- func (m *RBACRoleDefinitionsApi) RoleDetailCalls() []struct{ ... }
- func (m *RBACRoleDefinitionsApi) Rolenames(ctx context.Context) ([]string, *net_http.Response, error)
- func (m *RBACRoleDefinitionsApi) RolenamesCalled() bool
- func (m *RBACRoleDefinitionsApi) RolenamesCalls() []struct{ ... }
- func (m *RBACRoleDefinitionsApi) Roles(ctx context.Context) ([]github_com_confluentinc_mds_sdk_go_public_mdsv1.Role, *net_http.Response, ...)
- func (m *RBACRoleDefinitionsApi) RolesCalled() bool
- func (m *RBACRoleDefinitionsApi) RolesCalls() []struct{ ... }
- type TokensAndAuthenticationApi
- func (m *TokensAndAuthenticationApi) GetToken(ctx context.Context) (github_com_confluentinc_mds_sdk_go_public_mdsv1.AuthenticationResponse, ...)
- func (m *TokensAndAuthenticationApi) GetTokenCalled() bool
- func (m *TokensAndAuthenticationApi) GetTokenCalls() []struct{ ... }
- func (m *TokensAndAuthenticationApi) Reset()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuditLogConfigurationApi ¶
type AuditLogConfigurationApi struct { GetConfigFunc func(ctx context.Context) (github_com_confluentinc_mds_sdk_go_public_mdsv1.AuditLogConfigSpec, *net_http.Response, error) ListRoutesFunc func(ctx context.Context, localVarOptionals *github_com_confluentinc_mds_sdk_go_public_mdsv1.ListRoutesOpts) (github_com_confluentinc_mds_sdk_go_public_mdsv1.AuditLogConfigListRoutesResponse, *net_http.Response, error) PutConfigFunc func(ctx context.Context, auditLogConfigSpec github_com_confluentinc_mds_sdk_go_public_mdsv1.AuditLogConfigSpec) (github_com_confluentinc_mds_sdk_go_public_mdsv1.AuditLogConfigSpec, *net_http.Response, error) ResolveResourceRouteFunc func(ctx context.Context, localVarOptionals *github_com_confluentinc_mds_sdk_go_public_mdsv1.ResolveResourceRouteOpts) (github_com_confluentinc_mds_sdk_go_public_mdsv1.AuditLogConfigResolveResourceRouteResponse, *net_http.Response, error) // contains filtered or unexported fields }
AuditLogConfigurationApi is a mock of AuditLogConfigurationApi interface
func (*AuditLogConfigurationApi) GetConfig ¶
func (m *AuditLogConfigurationApi) GetConfig(ctx context.Context) (github_com_confluentinc_mds_sdk_go_public_mdsv1.AuditLogConfigSpec, *net_http.Response, error)
GetConfig mocks base method by wrapping the associated func.
func (*AuditLogConfigurationApi) GetConfigCalled ¶
func (m *AuditLogConfigurationApi) GetConfigCalled() bool
GetConfigCalled returns true if GetConfig was called at least once.
func (*AuditLogConfigurationApi) GetConfigCalls ¶
func (m *AuditLogConfigurationApi) GetConfigCalls() []struct { Ctx context.Context }
GetConfigCalls returns the calls made to GetConfig.
func (*AuditLogConfigurationApi) ListRoutes ¶
func (m *AuditLogConfigurationApi) ListRoutes(ctx context.Context, localVarOptionals *github_com_confluentinc_mds_sdk_go_public_mdsv1.ListRoutesOpts) (github_com_confluentinc_mds_sdk_go_public_mdsv1.AuditLogConfigListRoutesResponse, *net_http.Response, error)
ListRoutes mocks base method by wrapping the associated func.
func (*AuditLogConfigurationApi) ListRoutesCalled ¶
func (m *AuditLogConfigurationApi) ListRoutesCalled() bool
ListRoutesCalled returns true if ListRoutes was called at least once.
func (*AuditLogConfigurationApi) ListRoutesCalls ¶
func (m *AuditLogConfigurationApi) ListRoutesCalls() []struct { Ctx context.Context LocalVarOptionals *github_com_confluentinc_mds_sdk_go_public_mdsv1.ListRoutesOpts }
ListRoutesCalls returns the calls made to ListRoutes.
func (*AuditLogConfigurationApi) PutConfig ¶
func (m *AuditLogConfigurationApi) PutConfig(ctx context.Context, auditLogConfigSpec github_com_confluentinc_mds_sdk_go_public_mdsv1.AuditLogConfigSpec) (github_com_confluentinc_mds_sdk_go_public_mdsv1.AuditLogConfigSpec, *net_http.Response, error)
PutConfig mocks base method by wrapping the associated func.
func (*AuditLogConfigurationApi) PutConfigCalled ¶
func (m *AuditLogConfigurationApi) PutConfigCalled() bool
PutConfigCalled returns true if PutConfig was called at least once.
func (*AuditLogConfigurationApi) PutConfigCalls ¶
func (m *AuditLogConfigurationApi) PutConfigCalls() []struct { Ctx context.Context AuditLogConfigSpec github_com_confluentinc_mds_sdk_go_public_mdsv1.AuditLogConfigSpec }
PutConfigCalls returns the calls made to PutConfig.
func (*AuditLogConfigurationApi) Reset ¶
func (m *AuditLogConfigurationApi) Reset()
Reset resets the calls made to the mocked methods.
func (*AuditLogConfigurationApi) ResolveResourceRoute ¶
func (m *AuditLogConfigurationApi) ResolveResourceRoute(ctx context.Context, localVarOptionals *github_com_confluentinc_mds_sdk_go_public_mdsv1.ResolveResourceRouteOpts) (github_com_confluentinc_mds_sdk_go_public_mdsv1.AuditLogConfigResolveResourceRouteResponse, *net_http.Response, error)
ResolveResourceRoute mocks base method by wrapping the associated func.
func (*AuditLogConfigurationApi) ResolveResourceRouteCalled ¶
func (m *AuditLogConfigurationApi) ResolveResourceRouteCalled() bool
ResolveResourceRouteCalled returns true if ResolveResourceRoute was called at least once.
func (*AuditLogConfigurationApi) ResolveResourceRouteCalls ¶
func (m *AuditLogConfigurationApi) ResolveResourceRouteCalls() []struct { Ctx context.Context LocalVarOptionals *github_com_confluentinc_mds_sdk_go_public_mdsv1.ResolveResourceRouteOpts }
ResolveResourceRouteCalls returns the calls made to ResolveResourceRoute.
type AuthorizationApi ¶
type AuthorizationApi struct { AuthorizeFunc func(ctx context.Context, authorizeRequest github_com_confluentinc_mds_sdk_go_public_mdsv1.AuthorizeRequest) ([]string, *net_http.Response, error) // contains filtered or unexported fields }
AuthorizationApi is a mock of AuthorizationApi interface
func (*AuthorizationApi) Authorize ¶
func (m *AuthorizationApi) Authorize(ctx context.Context, authorizeRequest github_com_confluentinc_mds_sdk_go_public_mdsv1.AuthorizeRequest) ([]string, *net_http.Response, error)
Authorize mocks base method by wrapping the associated func.
func (*AuthorizationApi) AuthorizeCalled ¶
func (m *AuthorizationApi) AuthorizeCalled() bool
AuthorizeCalled returns true if Authorize was called at least once.
func (*AuthorizationApi) AuthorizeCalls ¶
func (m *AuthorizationApi) AuthorizeCalls() []struct { Ctx context.Context AuthorizeRequest github_com_confluentinc_mds_sdk_go_public_mdsv1.AuthorizeRequest }
AuthorizeCalls returns the calls made to Authorize.
func (*AuthorizationApi) Reset ¶
func (m *AuthorizationApi) Reset()
Reset resets the calls made to the mocked methods.
type ClusterRegistryApi ¶
type ClusterRegistryApi struct { ClusterRegistryListFunc func(ctx context.Context, localVarOptionals *github_com_confluentinc_mds_sdk_go_public_mdsv1.ClusterRegistryListOpts) ([]github_com_confluentinc_mds_sdk_go_public_mdsv1.ClusterInfo, *net_http.Response, error) DeleteNamedClusterFunc func(ctx context.Context, clusterName string) (*net_http.Response, error) GetNamedClusterFunc func(ctx context.Context, clusterName string) (github_com_confluentinc_mds_sdk_go_public_mdsv1.ClusterInfo, *net_http.Response, error) UpdateClustersFunc func(ctx context.Context, clusterInfo []github_com_confluentinc_mds_sdk_go_public_mdsv1.ClusterInfo) (*net_http.Response, error) // contains filtered or unexported fields }
ClusterRegistryApi is a mock of ClusterRegistryApi interface
func (*ClusterRegistryApi) ClusterRegistryList ¶
func (m *ClusterRegistryApi) ClusterRegistryList(ctx context.Context, localVarOptionals *github_com_confluentinc_mds_sdk_go_public_mdsv1.ClusterRegistryListOpts) ([]github_com_confluentinc_mds_sdk_go_public_mdsv1.ClusterInfo, *net_http.Response, error)
ClusterRegistryList mocks base method by wrapping the associated func.
func (*ClusterRegistryApi) ClusterRegistryListCalled ¶
func (m *ClusterRegistryApi) ClusterRegistryListCalled() bool
ClusterRegistryListCalled returns true if ClusterRegistryList was called at least once.
func (*ClusterRegistryApi) ClusterRegistryListCalls ¶
func (m *ClusterRegistryApi) ClusterRegistryListCalls() []struct { Ctx context.Context LocalVarOptionals *github_com_confluentinc_mds_sdk_go_public_mdsv1.ClusterRegistryListOpts }
ClusterRegistryListCalls returns the calls made to ClusterRegistryList.
func (*ClusterRegistryApi) DeleteNamedCluster ¶
func (m *ClusterRegistryApi) DeleteNamedCluster(ctx context.Context, clusterName string) (*net_http.Response, error)
DeleteNamedCluster mocks base method by wrapping the associated func.
func (*ClusterRegistryApi) DeleteNamedClusterCalled ¶
func (m *ClusterRegistryApi) DeleteNamedClusterCalled() bool
DeleteNamedClusterCalled returns true if DeleteNamedCluster was called at least once.
func (*ClusterRegistryApi) DeleteNamedClusterCalls ¶
func (m *ClusterRegistryApi) DeleteNamedClusterCalls() []struct { Ctx context.Context ClusterName string }
DeleteNamedClusterCalls returns the calls made to DeleteNamedCluster.
func (*ClusterRegistryApi) GetNamedCluster ¶
func (m *ClusterRegistryApi) GetNamedCluster(ctx context.Context, clusterName string) (github_com_confluentinc_mds_sdk_go_public_mdsv1.ClusterInfo, *net_http.Response, error)
GetNamedCluster mocks base method by wrapping the associated func.
func (*ClusterRegistryApi) GetNamedClusterCalled ¶
func (m *ClusterRegistryApi) GetNamedClusterCalled() bool
GetNamedClusterCalled returns true if GetNamedCluster was called at least once.
func (*ClusterRegistryApi) GetNamedClusterCalls ¶
func (m *ClusterRegistryApi) GetNamedClusterCalls() []struct { Ctx context.Context ClusterName string }
GetNamedClusterCalls returns the calls made to GetNamedCluster.
func (*ClusterRegistryApi) Reset ¶
func (m *ClusterRegistryApi) Reset()
Reset resets the calls made to the mocked methods.
func (*ClusterRegistryApi) UpdateClusters ¶
func (m *ClusterRegistryApi) UpdateClusters(ctx context.Context, clusterInfo []github_com_confluentinc_mds_sdk_go_public_mdsv1.ClusterInfo) (*net_http.Response, error)
UpdateClusters mocks base method by wrapping the associated func.
func (*ClusterRegistryApi) UpdateClustersCalled ¶
func (m *ClusterRegistryApi) UpdateClustersCalled() bool
UpdateClustersCalled returns true if UpdateClusters was called at least once.
func (*ClusterRegistryApi) UpdateClustersCalls ¶
func (m *ClusterRegistryApi) UpdateClustersCalls() []struct { Ctx context.Context ClusterInfo []github_com_confluentinc_mds_sdk_go_public_mdsv1.ClusterInfo }
UpdateClustersCalls returns the calls made to UpdateClusters.
type KafkaACLManagementApi ¶
type KafkaACLManagementApi struct { AddAclBindingFunc func(ctx context.Context, createAclRequest github_com_confluentinc_mds_sdk_go_public_mdsv1.CreateAclRequest) (*net_http.Response, error) RemoveAclBindingsFunc func(ctx context.Context, aclFilterRequest github_com_confluentinc_mds_sdk_go_public_mdsv1.AclFilterRequest) ([]github_com_confluentinc_mds_sdk_go_public_mdsv1.AclBinding, *net_http.Response, error) SearchAclBindingFunc func(ctx context.Context, aclFilterRequest github_com_confluentinc_mds_sdk_go_public_mdsv1.AclFilterRequest) ([]github_com_confluentinc_mds_sdk_go_public_mdsv1.AclBinding, *net_http.Response, error) // contains filtered or unexported fields }
KafkaACLManagementApi is a mock of KafkaACLManagementApi interface
func (*KafkaACLManagementApi) AddAclBinding ¶
func (m *KafkaACLManagementApi) AddAclBinding(ctx context.Context, createAclRequest github_com_confluentinc_mds_sdk_go_public_mdsv1.CreateAclRequest) (*net_http.Response, error)
AddAclBinding mocks base method by wrapping the associated func.
func (*KafkaACLManagementApi) AddAclBindingCalled ¶
func (m *KafkaACLManagementApi) AddAclBindingCalled() bool
AddAclBindingCalled returns true if AddAclBinding was called at least once.
func (*KafkaACLManagementApi) AddAclBindingCalls ¶
func (m *KafkaACLManagementApi) AddAclBindingCalls() []struct { Ctx context.Context CreateAclRequest github_com_confluentinc_mds_sdk_go_public_mdsv1.CreateAclRequest }
AddAclBindingCalls returns the calls made to AddAclBinding.
func (*KafkaACLManagementApi) RemoveAclBindings ¶
func (m *KafkaACLManagementApi) RemoveAclBindings(ctx context.Context, aclFilterRequest github_com_confluentinc_mds_sdk_go_public_mdsv1.AclFilterRequest) ([]github_com_confluentinc_mds_sdk_go_public_mdsv1.AclBinding, *net_http.Response, error)
RemoveAclBindings mocks base method by wrapping the associated func.
func (*KafkaACLManagementApi) RemoveAclBindingsCalled ¶
func (m *KafkaACLManagementApi) RemoveAclBindingsCalled() bool
RemoveAclBindingsCalled returns true if RemoveAclBindings was called at least once.
func (*KafkaACLManagementApi) RemoveAclBindingsCalls ¶
func (m *KafkaACLManagementApi) RemoveAclBindingsCalls() []struct { Ctx context.Context AclFilterRequest github_com_confluentinc_mds_sdk_go_public_mdsv1.AclFilterRequest }
RemoveAclBindingsCalls returns the calls made to RemoveAclBindings.
func (*KafkaACLManagementApi) Reset ¶
func (m *KafkaACLManagementApi) Reset()
Reset resets the calls made to the mocked methods.
func (*KafkaACLManagementApi) SearchAclBinding ¶
func (m *KafkaACLManagementApi) SearchAclBinding(ctx context.Context, aclFilterRequest github_com_confluentinc_mds_sdk_go_public_mdsv1.AclFilterRequest) ([]github_com_confluentinc_mds_sdk_go_public_mdsv1.AclBinding, *net_http.Response, error)
SearchAclBinding mocks base method by wrapping the associated func.
func (*KafkaACLManagementApi) SearchAclBindingCalled ¶
func (m *KafkaACLManagementApi) SearchAclBindingCalled() bool
SearchAclBindingCalled returns true if SearchAclBinding was called at least once.
func (*KafkaACLManagementApi) SearchAclBindingCalls ¶
func (m *KafkaACLManagementApi) SearchAclBindingCalls() []struct { Ctx context.Context AclFilterRequest github_com_confluentinc_mds_sdk_go_public_mdsv1.AclFilterRequest }
SearchAclBindingCalls returns the calls made to SearchAclBinding.
type RBACRoleBindingCRUDApi ¶
type RBACRoleBindingCRUDApi struct { AddRoleForPrincipalFunc func(ctx context.Context, principal, roleName string, mdsScope github_com_confluentinc_mds_sdk_go_public_mdsv1.MdsScope) (*net_http.Response, error) AddRoleResourcesForPrincipalFunc func(ctx context.Context, principal, roleName string, resourcesRequest github_com_confluentinc_mds_sdk_go_public_mdsv1.ResourcesRequest) (*net_http.Response, error) DeleteRoleForPrincipalFunc func(ctx context.Context, principal, roleName string, mdsScope github_com_confluentinc_mds_sdk_go_public_mdsv1.MdsScope) (*net_http.Response, error) GetRoleResourcesForPrincipalFunc func(ctx context.Context, principal, roleName string, mdsScope github_com_confluentinc_mds_sdk_go_public_mdsv1.MdsScope) ([]github_com_confluentinc_mds_sdk_go_public_mdsv1.ResourcePattern, *net_http.Response, error) RemoveRoleResourcesForPrincipalFunc func(ctx context.Context, principal, roleName string, resourcesRequest github_com_confluentinc_mds_sdk_go_public_mdsv1.ResourcesRequest) (*net_http.Response, error) SetRoleResourcesForPrincipalFunc func(ctx context.Context, principal, roleName string, resourcesRequest github_com_confluentinc_mds_sdk_go_public_mdsv1.ResourcesRequest) (*net_http.Response, error) // contains filtered or unexported fields }
RBACRoleBindingCRUDApi is a mock of RBACRoleBindingCRUDApi interface
func (*RBACRoleBindingCRUDApi) AddRoleForPrincipal ¶
func (m *RBACRoleBindingCRUDApi) AddRoleForPrincipal(ctx context.Context, principal, roleName string, mdsScope github_com_confluentinc_mds_sdk_go_public_mdsv1.MdsScope) (*net_http.Response, error)
AddRoleForPrincipal mocks base method by wrapping the associated func.
func (*RBACRoleBindingCRUDApi) AddRoleForPrincipalCalled ¶
func (m *RBACRoleBindingCRUDApi) AddRoleForPrincipalCalled() bool
AddRoleForPrincipalCalled returns true if AddRoleForPrincipal was called at least once.
func (*RBACRoleBindingCRUDApi) AddRoleForPrincipalCalls ¶
func (m *RBACRoleBindingCRUDApi) AddRoleForPrincipalCalls() []struct { Ctx context.Context Principal string RoleName string MdsScope github_com_confluentinc_mds_sdk_go_public_mdsv1.MdsScope }
AddRoleForPrincipalCalls returns the calls made to AddRoleForPrincipal.
func (*RBACRoleBindingCRUDApi) AddRoleResourcesForPrincipal ¶
func (m *RBACRoleBindingCRUDApi) AddRoleResourcesForPrincipal(ctx context.Context, principal, roleName string, resourcesRequest github_com_confluentinc_mds_sdk_go_public_mdsv1.ResourcesRequest) (*net_http.Response, error)
AddRoleResourcesForPrincipal mocks base method by wrapping the associated func.
func (*RBACRoleBindingCRUDApi) AddRoleResourcesForPrincipalCalled ¶
func (m *RBACRoleBindingCRUDApi) AddRoleResourcesForPrincipalCalled() bool
AddRoleResourcesForPrincipalCalled returns true if AddRoleResourcesForPrincipal was called at least once.
func (*RBACRoleBindingCRUDApi) AddRoleResourcesForPrincipalCalls ¶
func (m *RBACRoleBindingCRUDApi) AddRoleResourcesForPrincipalCalls() []struct { Ctx context.Context Principal string RoleName string ResourcesRequest github_com_confluentinc_mds_sdk_go_public_mdsv1.ResourcesRequest }
AddRoleResourcesForPrincipalCalls returns the calls made to AddRoleResourcesForPrincipal.
func (*RBACRoleBindingCRUDApi) DeleteRoleForPrincipal ¶
func (m *RBACRoleBindingCRUDApi) DeleteRoleForPrincipal(ctx context.Context, principal, roleName string, mdsScope github_com_confluentinc_mds_sdk_go_public_mdsv1.MdsScope) (*net_http.Response, error)
DeleteRoleForPrincipal mocks base method by wrapping the associated func.
func (*RBACRoleBindingCRUDApi) DeleteRoleForPrincipalCalled ¶
func (m *RBACRoleBindingCRUDApi) DeleteRoleForPrincipalCalled() bool
DeleteRoleForPrincipalCalled returns true if DeleteRoleForPrincipal was called at least once.
func (*RBACRoleBindingCRUDApi) DeleteRoleForPrincipalCalls ¶
func (m *RBACRoleBindingCRUDApi) DeleteRoleForPrincipalCalls() []struct { Ctx context.Context Principal string RoleName string MdsScope github_com_confluentinc_mds_sdk_go_public_mdsv1.MdsScope }
DeleteRoleForPrincipalCalls returns the calls made to DeleteRoleForPrincipal.
func (*RBACRoleBindingCRUDApi) GetRoleResourcesForPrincipal ¶
func (m *RBACRoleBindingCRUDApi) GetRoleResourcesForPrincipal(ctx context.Context, principal, roleName string, mdsScope github_com_confluentinc_mds_sdk_go_public_mdsv1.MdsScope) ([]github_com_confluentinc_mds_sdk_go_public_mdsv1.ResourcePattern, *net_http.Response, error)
GetRoleResourcesForPrincipal mocks base method by wrapping the associated func.
func (*RBACRoleBindingCRUDApi) GetRoleResourcesForPrincipalCalled ¶
func (m *RBACRoleBindingCRUDApi) GetRoleResourcesForPrincipalCalled() bool
GetRoleResourcesForPrincipalCalled returns true if GetRoleResourcesForPrincipal was called at least once.
func (*RBACRoleBindingCRUDApi) GetRoleResourcesForPrincipalCalls ¶
func (m *RBACRoleBindingCRUDApi) GetRoleResourcesForPrincipalCalls() []struct { Ctx context.Context Principal string RoleName string MdsScope github_com_confluentinc_mds_sdk_go_public_mdsv1.MdsScope }
GetRoleResourcesForPrincipalCalls returns the calls made to GetRoleResourcesForPrincipal.
func (*RBACRoleBindingCRUDApi) RemoveRoleResourcesForPrincipal ¶
func (m *RBACRoleBindingCRUDApi) RemoveRoleResourcesForPrincipal(ctx context.Context, principal, roleName string, resourcesRequest github_com_confluentinc_mds_sdk_go_public_mdsv1.ResourcesRequest) (*net_http.Response, error)
RemoveRoleResourcesForPrincipal mocks base method by wrapping the associated func.
func (*RBACRoleBindingCRUDApi) RemoveRoleResourcesForPrincipalCalled ¶
func (m *RBACRoleBindingCRUDApi) RemoveRoleResourcesForPrincipalCalled() bool
RemoveRoleResourcesForPrincipalCalled returns true if RemoveRoleResourcesForPrincipal was called at least once.
func (*RBACRoleBindingCRUDApi) RemoveRoleResourcesForPrincipalCalls ¶
func (m *RBACRoleBindingCRUDApi) RemoveRoleResourcesForPrincipalCalls() []struct { Ctx context.Context Principal string RoleName string ResourcesRequest github_com_confluentinc_mds_sdk_go_public_mdsv1.ResourcesRequest }
RemoveRoleResourcesForPrincipalCalls returns the calls made to RemoveRoleResourcesForPrincipal.
func (*RBACRoleBindingCRUDApi) Reset ¶
func (m *RBACRoleBindingCRUDApi) Reset()
Reset resets the calls made to the mocked methods.
func (*RBACRoleBindingCRUDApi) SetRoleResourcesForPrincipal ¶
func (m *RBACRoleBindingCRUDApi) SetRoleResourcesForPrincipal(ctx context.Context, principal, roleName string, resourcesRequest github_com_confluentinc_mds_sdk_go_public_mdsv1.ResourcesRequest) (*net_http.Response, error)
SetRoleResourcesForPrincipal mocks base method by wrapping the associated func.
func (*RBACRoleBindingCRUDApi) SetRoleResourcesForPrincipalCalled ¶
func (m *RBACRoleBindingCRUDApi) SetRoleResourcesForPrincipalCalled() bool
SetRoleResourcesForPrincipalCalled returns true if SetRoleResourcesForPrincipal was called at least once.
func (*RBACRoleBindingCRUDApi) SetRoleResourcesForPrincipalCalls ¶
func (m *RBACRoleBindingCRUDApi) SetRoleResourcesForPrincipalCalls() []struct { Ctx context.Context Principal string RoleName string ResourcesRequest github_com_confluentinc_mds_sdk_go_public_mdsv1.ResourcesRequest }
SetRoleResourcesForPrincipalCalls returns the calls made to SetRoleResourcesForPrincipal.
type RBACRoleBindingSummariesApi ¶
type RBACRoleBindingSummariesApi struct { LookupPrincipalsWithRoleFunc func(ctx context.Context, roleName string, mdsScope github_com_confluentinc_mds_sdk_go_public_mdsv1.MdsScope) ([]string, *net_http.Response, error) LookupPrincipalsWithRoleOnResourceFunc func(ctx context.Context, roleName, resourceType, resourceName string, mdsScope github_com_confluentinc_mds_sdk_go_public_mdsv1.MdsScope) ([]string, *net_http.Response, error) LookupResourcesForPrincipalFunc func(ctx context.Context, principal string, mdsScope github_com_confluentinc_mds_sdk_go_public_mdsv1.MdsScope) (map[string]map[string][]github_com_confluentinc_mds_sdk_go_public_mdsv1.ResourcePattern, *net_http.Response, error) ScopedPrincipalRolenamesFunc func(ctx context.Context, principal string, mdsScope github_com_confluentinc_mds_sdk_go_public_mdsv1.MdsScope) ([]string, *net_http.Response, error) // contains filtered or unexported fields }
RBACRoleBindingSummariesApi is a mock of RBACRoleBindingSummariesApi interface
func (*RBACRoleBindingSummariesApi) LookupPrincipalsWithRole ¶
func (m *RBACRoleBindingSummariesApi) LookupPrincipalsWithRole(ctx context.Context, roleName string, mdsScope github_com_confluentinc_mds_sdk_go_public_mdsv1.MdsScope) ([]string, *net_http.Response, error)
LookupPrincipalsWithRole mocks base method by wrapping the associated func.
func (*RBACRoleBindingSummariesApi) LookupPrincipalsWithRoleCalled ¶
func (m *RBACRoleBindingSummariesApi) LookupPrincipalsWithRoleCalled() bool
LookupPrincipalsWithRoleCalled returns true if LookupPrincipalsWithRole was called at least once.
func (*RBACRoleBindingSummariesApi) LookupPrincipalsWithRoleCalls ¶
func (m *RBACRoleBindingSummariesApi) LookupPrincipalsWithRoleCalls() []struct { Ctx context.Context RoleName string MdsScope github_com_confluentinc_mds_sdk_go_public_mdsv1.MdsScope }
LookupPrincipalsWithRoleCalls returns the calls made to LookupPrincipalsWithRole.
func (*RBACRoleBindingSummariesApi) LookupPrincipalsWithRoleOnResource ¶
func (m *RBACRoleBindingSummariesApi) LookupPrincipalsWithRoleOnResource(ctx context.Context, roleName, resourceType, resourceName string, mdsScope github_com_confluentinc_mds_sdk_go_public_mdsv1.MdsScope) ([]string, *net_http.Response, error)
LookupPrincipalsWithRoleOnResource mocks base method by wrapping the associated func.
func (*RBACRoleBindingSummariesApi) LookupPrincipalsWithRoleOnResourceCalled ¶
func (m *RBACRoleBindingSummariesApi) LookupPrincipalsWithRoleOnResourceCalled() bool
LookupPrincipalsWithRoleOnResourceCalled returns true if LookupPrincipalsWithRoleOnResource was called at least once.
func (*RBACRoleBindingSummariesApi) LookupPrincipalsWithRoleOnResourceCalls ¶
func (m *RBACRoleBindingSummariesApi) LookupPrincipalsWithRoleOnResourceCalls() []struct { Ctx context.Context RoleName string ResourceType string ResourceName string MdsScope github_com_confluentinc_mds_sdk_go_public_mdsv1.MdsScope }
LookupPrincipalsWithRoleOnResourceCalls returns the calls made to LookupPrincipalsWithRoleOnResource.
func (*RBACRoleBindingSummariesApi) LookupResourcesForPrincipal ¶
func (m *RBACRoleBindingSummariesApi) LookupResourcesForPrincipal(ctx context.Context, principal string, mdsScope github_com_confluentinc_mds_sdk_go_public_mdsv1.MdsScope) (map[string]map[string][]github_com_confluentinc_mds_sdk_go_public_mdsv1.ResourcePattern, *net_http.Response, error)
LookupResourcesForPrincipal mocks base method by wrapping the associated func.
func (*RBACRoleBindingSummariesApi) LookupResourcesForPrincipalCalled ¶
func (m *RBACRoleBindingSummariesApi) LookupResourcesForPrincipalCalled() bool
LookupResourcesForPrincipalCalled returns true if LookupResourcesForPrincipal was called at least once.
func (*RBACRoleBindingSummariesApi) LookupResourcesForPrincipalCalls ¶
func (m *RBACRoleBindingSummariesApi) LookupResourcesForPrincipalCalls() []struct { Ctx context.Context Principal string MdsScope github_com_confluentinc_mds_sdk_go_public_mdsv1.MdsScope }
LookupResourcesForPrincipalCalls returns the calls made to LookupResourcesForPrincipal.
func (*RBACRoleBindingSummariesApi) Reset ¶
func (m *RBACRoleBindingSummariesApi) Reset()
Reset resets the calls made to the mocked methods.
func (*RBACRoleBindingSummariesApi) ScopedPrincipalRolenames ¶
func (m *RBACRoleBindingSummariesApi) ScopedPrincipalRolenames(ctx context.Context, principal string, mdsScope github_com_confluentinc_mds_sdk_go_public_mdsv1.MdsScope) ([]string, *net_http.Response, error)
ScopedPrincipalRolenames mocks base method by wrapping the associated func.
func (*RBACRoleBindingSummariesApi) ScopedPrincipalRolenamesCalled ¶
func (m *RBACRoleBindingSummariesApi) ScopedPrincipalRolenamesCalled() bool
ScopedPrincipalRolenamesCalled returns true if ScopedPrincipalRolenames was called at least once.
func (*RBACRoleBindingSummariesApi) ScopedPrincipalRolenamesCalls ¶
func (m *RBACRoleBindingSummariesApi) ScopedPrincipalRolenamesCalls() []struct { Ctx context.Context Principal string MdsScope github_com_confluentinc_mds_sdk_go_public_mdsv1.MdsScope }
ScopedPrincipalRolenamesCalls returns the calls made to ScopedPrincipalRolenames.
type RBACRoleDefinitionsApi ¶
type RBACRoleDefinitionsApi struct { RoleDetailFunc func(ctx context.Context, roleName string) (github_com_confluentinc_mds_sdk_go_public_mdsv1.Role, *net_http.Response, error) RolenamesFunc func(ctx context.Context) ([]string, *net_http.Response, error) RolesFunc func(ctx context.Context) ([]github_com_confluentinc_mds_sdk_go_public_mdsv1.Role, *net_http.Response, error) // contains filtered or unexported fields }
RBACRoleDefinitionsApi is a mock of RBACRoleDefinitionsApi interface
func (*RBACRoleDefinitionsApi) Reset ¶
func (m *RBACRoleDefinitionsApi) Reset()
Reset resets the calls made to the mocked methods.
func (*RBACRoleDefinitionsApi) RoleDetail ¶
func (m *RBACRoleDefinitionsApi) RoleDetail(ctx context.Context, roleName string) (github_com_confluentinc_mds_sdk_go_public_mdsv1.Role, *net_http.Response, error)
RoleDetail mocks base method by wrapping the associated func.
func (*RBACRoleDefinitionsApi) RoleDetailCalled ¶
func (m *RBACRoleDefinitionsApi) RoleDetailCalled() bool
RoleDetailCalled returns true if RoleDetail was called at least once.
func (*RBACRoleDefinitionsApi) RoleDetailCalls ¶
func (m *RBACRoleDefinitionsApi) RoleDetailCalls() []struct { Ctx context.Context RoleName string }
RoleDetailCalls returns the calls made to RoleDetail.
func (*RBACRoleDefinitionsApi) Rolenames ¶
func (m *RBACRoleDefinitionsApi) Rolenames(ctx context.Context) ([]string, *net_http.Response, error)
Rolenames mocks base method by wrapping the associated func.
func (*RBACRoleDefinitionsApi) RolenamesCalled ¶
func (m *RBACRoleDefinitionsApi) RolenamesCalled() bool
RolenamesCalled returns true if Rolenames was called at least once.
func (*RBACRoleDefinitionsApi) RolenamesCalls ¶
func (m *RBACRoleDefinitionsApi) RolenamesCalls() []struct { Ctx context.Context }
RolenamesCalls returns the calls made to Rolenames.
func (*RBACRoleDefinitionsApi) Roles ¶
func (m *RBACRoleDefinitionsApi) Roles(ctx context.Context) ([]github_com_confluentinc_mds_sdk_go_public_mdsv1.Role, *net_http.Response, error)
Roles mocks base method by wrapping the associated func.
func (*RBACRoleDefinitionsApi) RolesCalled ¶
func (m *RBACRoleDefinitionsApi) RolesCalled() bool
RolesCalled returns true if Roles was called at least once.
func (*RBACRoleDefinitionsApi) RolesCalls ¶
func (m *RBACRoleDefinitionsApi) RolesCalls() []struct { Ctx context.Context }
RolesCalls returns the calls made to Roles.
type TokensAndAuthenticationApi ¶
type TokensAndAuthenticationApi struct { GetTokenFunc func(ctx context.Context) (github_com_confluentinc_mds_sdk_go_public_mdsv1.AuthenticationResponse, *net_http.Response, error) // contains filtered or unexported fields }
TokensAndAuthenticationApi is a mock of TokensAndAuthenticationApi interface
func (*TokensAndAuthenticationApi) GetToken ¶
func (m *TokensAndAuthenticationApi) GetToken(ctx context.Context) (github_com_confluentinc_mds_sdk_go_public_mdsv1.AuthenticationResponse, *net_http.Response, error)
GetToken mocks base method by wrapping the associated func.
func (*TokensAndAuthenticationApi) GetTokenCalled ¶
func (m *TokensAndAuthenticationApi) GetTokenCalled() bool
GetTokenCalled returns true if GetToken was called at least once.
func (*TokensAndAuthenticationApi) GetTokenCalls ¶
func (m *TokensAndAuthenticationApi) GetTokenCalls() []struct { Ctx context.Context }
GetTokenCalls returns the calls made to GetToken.
func (*TokensAndAuthenticationApi) Reset ¶
func (m *TokensAndAuthenticationApi) Reset()
Reset resets the calls made to the mocked methods.