Documentation ¶
Index ¶
- type AuthorizationApi
- type CloudLifecycleApi
- func (m *CloudLifecycleApi) DuplicateRolesForOrg(ctx context.Context, sourceOrgId string, ...) (*net_http.Response, error)
- func (m *CloudLifecycleApi) DuplicateRolesForOrgCalled() bool
- func (m *CloudLifecycleApi) DuplicateRolesForOrgCalls() []struct{ ... }
- func (m *CloudLifecycleApi) RemoveAllRoleBindingsForScope(ctx context.Context, transactionId string, ...) (*net_http.Response, error)
- func (m *CloudLifecycleApi) RemoveAllRoleBindingsForScopeCalled() bool
- func (m *CloudLifecycleApi) RemoveAllRoleBindingsForScopeCalls() []struct{ ... }
- func (m *CloudLifecycleApi) Reset()
- func (m *CloudLifecycleApi) ScopeUndelete(ctx context.Context, ...) ([]string, *net_http.Response, error)
- func (m *CloudLifecycleApi) ScopeUndeleteCalled() bool
- func (m *CloudLifecycleApi) ScopeUndeleteCalls() []struct{ ... }
- func (m *CloudLifecycleApi) UserUndelete(ctx context.Context, ...) ([]string, *net_http.Response, error)
- func (m *CloudLifecycleApi) UserUndeleteCalled() bool
- func (m *CloudLifecycleApi) UserUndeleteCalls() []struct{ ... }
- type MetadataServiceOperationsApi
- func (m *MetadataServiceOperationsApi) Activenodes(ctx context.Context, protocol string) ([]string, *net_http.Response, error)
- func (m *MetadataServiceOperationsApi) ActivenodesCalled() bool
- func (m *MetadataServiceOperationsApi) ActivenodesCalls() []struct{ ... }
- func (m *MetadataServiceOperationsApi) MetadataClusterId(ctx context.Context) (string, *net_http.Response, error)
- func (m *MetadataServiceOperationsApi) MetadataClusterIdCalled() bool
- func (m *MetadataServiceOperationsApi) MetadataClusterIdCalls() []struct{ ... }
- func (m *MetadataServiceOperationsApi) Reset()
- 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) DeleteAllRolesForPrincipal(ctx context.Context, principal string, ...) (*net_http.Response, error)
- func (m *RBACRoleBindingCRUDApi) DeleteAllRolesForPrincipalCalled() bool
- func (m *RBACRoleBindingCRUDApi) DeleteAllRolesForPrincipalCalls() []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_mdsv2alpha1.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) ManagedNonResourceRoleBindingsAtScope(ctx context.Context, ...) ([]github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.ManagedRoleBinding, ...)
- func (m *RBACRoleBindingSummariesApi) ManagedNonResourceRoleBindingsAtScopeCalled() bool
- func (m *RBACRoleBindingSummariesApi) ManagedNonResourceRoleBindingsAtScopeCalls() []struct{ ... }
- func (m *RBACRoleBindingSummariesApi) MyAllowedResources(ctx context.Context, resourceType, operation string, ...) ([]github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.ResourcePattern, ...)
- func (m *RBACRoleBindingSummariesApi) MyAllowedResourcesCalled() bool
- func (m *RBACRoleBindingSummariesApi) MyAllowedResourcesCalls() []struct{ ... }
- func (m *RBACRoleBindingSummariesApi) MyRoleBindings(ctx context.Context, principal string, ...) (...)
- func (m *RBACRoleBindingSummariesApi) MyRoleBindingsCalled() bool
- func (m *RBACRoleBindingSummariesApi) MyRoleBindingsCalls() []struct{ ... }
- func (m *RBACRoleBindingSummariesApi) Reset()
- type RBACRoleDefinitionsApi
- func (m *RBACRoleDefinitionsApi) Reset()
- func (m *RBACRoleDefinitionsApi) RoleDetail(ctx context.Context, roleName string, ...) (github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.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_mdsv2alpha1.Role, ...)
- 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_mdsv2alpha1.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 AuthorizationApi ¶
type AuthorizationApi struct { AuthorizeFunc func(ctx context.Context, authorizeRequest github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.AuthorizeRequest, localVarOptionals *github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.AuthorizeOpts) ([]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_mdsv2alpha1.AuthorizeRequest, localVarOptionals *github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.AuthorizeOpts) ([]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_mdsv2alpha1.AuthorizeRequest LocalVarOptionals *github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.AuthorizeOpts }
AuthorizeCalls returns the calls made to Authorize.
func (*AuthorizationApi) Reset ¶
func (m *AuthorizationApi) Reset()
Reset resets the calls made to the mocked methods.
type CloudLifecycleApi ¶
type CloudLifecycleApi struct { DuplicateRolesForOrgFunc func(ctx context.Context, sourceOrgId string, duplicateRequest github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.DuplicateRequest) (*net_http.Response, error) RemoveAllRoleBindingsForScopeFunc func(ctx context.Context, transactionId string, scope github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.Scope) (*net_http.Response, error) ScopeUndeleteFunc func(ctx context.Context, scopeUndeleteRequest github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.ScopeUndeleteRequest) ([]string, *net_http.Response, error) UserUndeleteFunc func(ctx context.Context, userUndeleteRequest github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.UserUndeleteRequest) ([]string, *net_http.Response, error) // contains filtered or unexported fields }
CloudLifecycleApi is a mock of CloudLifecycleApi interface
func (*CloudLifecycleApi) DuplicateRolesForOrg ¶
func (m *CloudLifecycleApi) DuplicateRolesForOrg(ctx context.Context, sourceOrgId string, duplicateRequest github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.DuplicateRequest) (*net_http.Response, error)
DuplicateRolesForOrg mocks base method by wrapping the associated func.
func (*CloudLifecycleApi) DuplicateRolesForOrgCalled ¶
func (m *CloudLifecycleApi) DuplicateRolesForOrgCalled() bool
DuplicateRolesForOrgCalled returns true if DuplicateRolesForOrg was called at least once.
func (*CloudLifecycleApi) DuplicateRolesForOrgCalls ¶
func (m *CloudLifecycleApi) DuplicateRolesForOrgCalls() []struct { Ctx context.Context SourceOrgId string DuplicateRequest github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.DuplicateRequest }
DuplicateRolesForOrgCalls returns the calls made to DuplicateRolesForOrg.
func (*CloudLifecycleApi) RemoveAllRoleBindingsForScope ¶
func (m *CloudLifecycleApi) RemoveAllRoleBindingsForScope(ctx context.Context, transactionId string, scope github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.Scope) (*net_http.Response, error)
RemoveAllRoleBindingsForScope mocks base method by wrapping the associated func.
func (*CloudLifecycleApi) RemoveAllRoleBindingsForScopeCalled ¶
func (m *CloudLifecycleApi) RemoveAllRoleBindingsForScopeCalled() bool
RemoveAllRoleBindingsForScopeCalled returns true if RemoveAllRoleBindingsForScope was called at least once.
func (*CloudLifecycleApi) RemoveAllRoleBindingsForScopeCalls ¶
func (m *CloudLifecycleApi) RemoveAllRoleBindingsForScopeCalls() []struct { Ctx context.Context TransactionId string Scope github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.Scope }
RemoveAllRoleBindingsForScopeCalls returns the calls made to RemoveAllRoleBindingsForScope.
func (*CloudLifecycleApi) Reset ¶
func (m *CloudLifecycleApi) Reset()
Reset resets the calls made to the mocked methods.
func (*CloudLifecycleApi) ScopeUndelete ¶
func (m *CloudLifecycleApi) ScopeUndelete(ctx context.Context, scopeUndeleteRequest github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.ScopeUndeleteRequest) ([]string, *net_http.Response, error)
ScopeUndelete mocks base method by wrapping the associated func.
func (*CloudLifecycleApi) ScopeUndeleteCalled ¶
func (m *CloudLifecycleApi) ScopeUndeleteCalled() bool
ScopeUndeleteCalled returns true if ScopeUndelete was called at least once.
func (*CloudLifecycleApi) ScopeUndeleteCalls ¶
func (m *CloudLifecycleApi) ScopeUndeleteCalls() []struct { Ctx context.Context ScopeUndeleteRequest github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.ScopeUndeleteRequest }
ScopeUndeleteCalls returns the calls made to ScopeUndelete.
func (*CloudLifecycleApi) UserUndelete ¶
func (m *CloudLifecycleApi) UserUndelete(ctx context.Context, userUndeleteRequest github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.UserUndeleteRequest) ([]string, *net_http.Response, error)
UserUndelete mocks base method by wrapping the associated func.
func (*CloudLifecycleApi) UserUndeleteCalled ¶
func (m *CloudLifecycleApi) UserUndeleteCalled() bool
UserUndeleteCalled returns true if UserUndelete was called at least once.
func (*CloudLifecycleApi) UserUndeleteCalls ¶
func (m *CloudLifecycleApi) UserUndeleteCalls() []struct { Ctx context.Context UserUndeleteRequest github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.UserUndeleteRequest }
UserUndeleteCalls returns the calls made to UserUndelete.
type MetadataServiceOperationsApi ¶
type MetadataServiceOperationsApi struct { ActivenodesFunc func(ctx context.Context, protocol string) ([]string, *net_http.Response, error) MetadataClusterIdFunc func(ctx context.Context) (string, *net_http.Response, error) // contains filtered or unexported fields }
MetadataServiceOperationsApi is a mock of MetadataServiceOperationsApi interface
func (*MetadataServiceOperationsApi) Activenodes ¶
func (m *MetadataServiceOperationsApi) Activenodes(ctx context.Context, protocol string) ([]string, *net_http.Response, error)
Activenodes mocks base method by wrapping the associated func.
func (*MetadataServiceOperationsApi) ActivenodesCalled ¶
func (m *MetadataServiceOperationsApi) ActivenodesCalled() bool
ActivenodesCalled returns true if Activenodes was called at least once.
func (*MetadataServiceOperationsApi) ActivenodesCalls ¶
func (m *MetadataServiceOperationsApi) ActivenodesCalls() []struct { Ctx context.Context Protocol string }
ActivenodesCalls returns the calls made to Activenodes.
func (*MetadataServiceOperationsApi) MetadataClusterId ¶
func (m *MetadataServiceOperationsApi) MetadataClusterId(ctx context.Context) (string, *net_http.Response, error)
MetadataClusterId mocks base method by wrapping the associated func.
func (*MetadataServiceOperationsApi) MetadataClusterIdCalled ¶
func (m *MetadataServiceOperationsApi) MetadataClusterIdCalled() bool
MetadataClusterIdCalled returns true if MetadataClusterId was called at least once.
func (*MetadataServiceOperationsApi) MetadataClusterIdCalls ¶
func (m *MetadataServiceOperationsApi) MetadataClusterIdCalls() []struct { Ctx context.Context }
MetadataClusterIdCalls returns the calls made to MetadataClusterId.
func (*MetadataServiceOperationsApi) Reset ¶
func (m *MetadataServiceOperationsApi) Reset()
Reset resets the calls made to the mocked methods.
type RBACRoleBindingCRUDApi ¶
type RBACRoleBindingCRUDApi struct { AddRoleForPrincipalFunc func(ctx context.Context, principal, roleName string, scope github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.Scope) (*net_http.Response, error) AddRoleResourcesForPrincipalFunc func(ctx context.Context, principal, roleName string, resourcesRequest github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.ResourcesRequest) (*net_http.Response, error) DeleteAllRolesForPrincipalFunc func(ctx context.Context, principal string, scope github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.Scope) (*net_http.Response, error) DeleteRoleForPrincipalFunc func(ctx context.Context, principal, roleName string, scope github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.Scope) (*net_http.Response, error) GetRoleResourcesForPrincipalFunc func(ctx context.Context, principal, roleName string, scope github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.Scope) ([]github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.ResourcePattern, *net_http.Response, error) RemoveRoleResourcesForPrincipalFunc func(ctx context.Context, principal, roleName string, resourcesRequest github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.ResourcesRequest) (*net_http.Response, error) SetRoleResourcesForPrincipalFunc func(ctx context.Context, principal, roleName string, resourcesRequest github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.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, scope github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.Scope) (*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 Scope github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.Scope }
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_mdsv2alpha1.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_mdsv2alpha1.ResourcesRequest }
AddRoleResourcesForPrincipalCalls returns the calls made to AddRoleResourcesForPrincipal.
func (*RBACRoleBindingCRUDApi) DeleteAllRolesForPrincipal ¶
func (m *RBACRoleBindingCRUDApi) DeleteAllRolesForPrincipal(ctx context.Context, principal string, scope github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.Scope) (*net_http.Response, error)
DeleteAllRolesForPrincipal mocks base method by wrapping the associated func.
func (*RBACRoleBindingCRUDApi) DeleteAllRolesForPrincipalCalled ¶
func (m *RBACRoleBindingCRUDApi) DeleteAllRolesForPrincipalCalled() bool
DeleteAllRolesForPrincipalCalled returns true if DeleteAllRolesForPrincipal was called at least once.
func (*RBACRoleBindingCRUDApi) DeleteAllRolesForPrincipalCalls ¶
func (m *RBACRoleBindingCRUDApi) DeleteAllRolesForPrincipalCalls() []struct { Ctx context.Context Principal string Scope github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.Scope }
DeleteAllRolesForPrincipalCalls returns the calls made to DeleteAllRolesForPrincipal.
func (*RBACRoleBindingCRUDApi) DeleteRoleForPrincipal ¶
func (m *RBACRoleBindingCRUDApi) DeleteRoleForPrincipal(ctx context.Context, principal, roleName string, scope github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.Scope) (*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 Scope github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.Scope }
DeleteRoleForPrincipalCalls returns the calls made to DeleteRoleForPrincipal.
func (*RBACRoleBindingCRUDApi) GetRoleResourcesForPrincipal ¶
func (m *RBACRoleBindingCRUDApi) GetRoleResourcesForPrincipal(ctx context.Context, principal, roleName string, scope github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.Scope) ([]github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.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 Scope github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.Scope }
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_mdsv2alpha1.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_mdsv2alpha1.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_mdsv2alpha1.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_mdsv2alpha1.ResourcesRequest }
SetRoleResourcesForPrincipalCalls returns the calls made to SetRoleResourcesForPrincipal.
type RBACRoleBindingSummariesApi ¶
type RBACRoleBindingSummariesApi struct { LookupPrincipalsWithRoleFunc func(ctx context.Context, roleName string, scope github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.Scope) ([]string, *net_http.Response, error) LookupPrincipalsWithRoleOnResourceFunc func(ctx context.Context, roleName, resourceType, resourceName string, scope github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.Scope) ([]string, *net_http.Response, error) ManagedNonResourceRoleBindingsAtScopeFunc func(ctx context.Context, scope github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.Scope) ([]github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.ManagedRoleBinding, *net_http.Response, error) MyAllowedResourcesFunc func(ctx context.Context, resourceType, operation string, scope github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.Scope) ([]github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.ResourcePattern, *net_http.Response, error) MyRoleBindingsFunc func(ctx context.Context, principal string, scope github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.Scope) ([]github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.ScopeRoleBindingMapping, *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, scope github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.Scope) ([]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 Scope github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.Scope }
LookupPrincipalsWithRoleCalls returns the calls made to LookupPrincipalsWithRole.
func (*RBACRoleBindingSummariesApi) LookupPrincipalsWithRoleOnResource ¶
func (m *RBACRoleBindingSummariesApi) LookupPrincipalsWithRoleOnResource(ctx context.Context, roleName, resourceType, resourceName string, scope github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.Scope) ([]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 Scope github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.Scope }
LookupPrincipalsWithRoleOnResourceCalls returns the calls made to LookupPrincipalsWithRoleOnResource.
func (*RBACRoleBindingSummariesApi) ManagedNonResourceRoleBindingsAtScope ¶
func (m *RBACRoleBindingSummariesApi) ManagedNonResourceRoleBindingsAtScope(ctx context.Context, scope github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.Scope) ([]github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.ManagedRoleBinding, *net_http.Response, error)
ManagedNonResourceRoleBindingsAtScope mocks base method by wrapping the associated func.
func (*RBACRoleBindingSummariesApi) ManagedNonResourceRoleBindingsAtScopeCalled ¶
func (m *RBACRoleBindingSummariesApi) ManagedNonResourceRoleBindingsAtScopeCalled() bool
ManagedNonResourceRoleBindingsAtScopeCalled returns true if ManagedNonResourceRoleBindingsAtScope was called at least once.
func (*RBACRoleBindingSummariesApi) ManagedNonResourceRoleBindingsAtScopeCalls ¶
func (m *RBACRoleBindingSummariesApi) ManagedNonResourceRoleBindingsAtScopeCalls() []struct { Ctx context.Context Scope github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.Scope }
ManagedNonResourceRoleBindingsAtScopeCalls returns the calls made to ManagedNonResourceRoleBindingsAtScope.
func (*RBACRoleBindingSummariesApi) MyAllowedResources ¶
func (m *RBACRoleBindingSummariesApi) MyAllowedResources(ctx context.Context, resourceType, operation string, scope github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.Scope) ([]github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.ResourcePattern, *net_http.Response, error)
MyAllowedResources mocks base method by wrapping the associated func.
func (*RBACRoleBindingSummariesApi) MyAllowedResourcesCalled ¶
func (m *RBACRoleBindingSummariesApi) MyAllowedResourcesCalled() bool
MyAllowedResourcesCalled returns true if MyAllowedResources was called at least once.
func (*RBACRoleBindingSummariesApi) MyAllowedResourcesCalls ¶
func (m *RBACRoleBindingSummariesApi) MyAllowedResourcesCalls() []struct { Ctx context.Context ResourceType string Operation string Scope github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.Scope }
MyAllowedResourcesCalls returns the calls made to MyAllowedResources.
func (*RBACRoleBindingSummariesApi) MyRoleBindings ¶
func (m *RBACRoleBindingSummariesApi) MyRoleBindings(ctx context.Context, principal string, scope github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.Scope) ([]github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.ScopeRoleBindingMapping, *net_http.Response, error)
MyRoleBindings mocks base method by wrapping the associated func.
func (*RBACRoleBindingSummariesApi) MyRoleBindingsCalled ¶
func (m *RBACRoleBindingSummariesApi) MyRoleBindingsCalled() bool
MyRoleBindingsCalled returns true if MyRoleBindings was called at least once.
func (*RBACRoleBindingSummariesApi) MyRoleBindingsCalls ¶
func (m *RBACRoleBindingSummariesApi) MyRoleBindingsCalls() []struct { Ctx context.Context Principal string Scope github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.Scope }
MyRoleBindingsCalls returns the calls made to MyRoleBindings.
func (*RBACRoleBindingSummariesApi) Reset ¶
func (m *RBACRoleBindingSummariesApi) Reset()
Reset resets the calls made to the mocked methods.
type RBACRoleDefinitionsApi ¶
type RBACRoleDefinitionsApi struct { RoleDetailFunc func(ctx context.Context, roleName string, localVarOptionals *github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.RoleDetailOpts) (github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.Role, *net_http.Response, error) RolenamesFunc func(ctx context.Context, localVarOptionals *github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.RolenamesOpts) ([]string, *net_http.Response, error) RolesFunc func(ctx context.Context, localVarOptionals *github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.RolesOpts) ([]github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.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, localVarOptionals *github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.RoleDetailOpts) (github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.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 LocalVarOptionals *github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.RoleDetailOpts }
RoleDetailCalls returns the calls made to RoleDetail.
func (*RBACRoleDefinitionsApi) Rolenames ¶
func (m *RBACRoleDefinitionsApi) Rolenames(ctx context.Context, localVarOptionals *github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.RolenamesOpts) ([]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 LocalVarOptionals *github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.RolenamesOpts }
RolenamesCalls returns the calls made to Rolenames.
func (*RBACRoleDefinitionsApi) Roles ¶
func (m *RBACRoleDefinitionsApi) Roles(ctx context.Context, localVarOptionals *github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.RolesOpts) ([]github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.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 LocalVarOptionals *github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.RolesOpts }
RolesCalls returns the calls made to Roles.
type TokensAndAuthenticationApi ¶
type TokensAndAuthenticationApi struct { GetTokenFunc func(ctx context.Context) (github_com_confluentinc_mds_sdk_go_public_mdsv2alpha1.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_mdsv2alpha1.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.