Documentation
¶
Index ¶
- type ClientWithResponsesInterface
- func (_m *ClientWithResponsesInterface) CreatePermissionSetAssignmentsWithBodyWithResponse(ctx context.Context, permissionSetId uuid.UUID, contentType string, ...) (*client.CreatePermissionSetAssignmentsResponse, error)
- func (_m *ClientWithResponsesInterface) CreatePermissionSetAssignmentsWithResponse(ctx context.Context, permissionSetId uuid.UUID, body []struct{ ... }, ...) (*client.CreatePermissionSetAssignmentsResponse, error)
- func (_m *ClientWithResponsesInterface) CreatePermissionSetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*client.CreatePermissionSetResponse, error)
- func (_m *ClientWithResponsesInterface) CreatePermissionSetWithResponse(ctx context.Context, body models.CreatePermissionSetRecord, ...) (*client.CreatePermissionSetResponse, error)
- func (_m *ClientWithResponsesInterface) DeletePermissionSetAssignmentWithResponse(ctx context.Context, permissionSetId uuid.UUID, assignmentId uuid.UUID, ...) (*client.DeletePermissionSetAssignmentResponse, error)
- func (_m *ClientWithResponsesInterface) DeletePermissionSetWithResponse(ctx context.Context, permissionSetId uuid.UUID, ...) (*client.DeletePermissionSetResponse, error)
- func (_m *ClientWithResponsesInterface) GetAPIDocumentWithResponse(ctx context.Context, reqEditors ...client.RequestEditorFn) (*client.GetAPIDocumentResponse, error)
- func (_m *ClientWithResponsesInterface) GetPermissionSetWithResponse(ctx context.Context, permissionSetId uuid.UUID, ...) (*client.GetPermissionSetResponse, error)
- func (_m *ClientWithResponsesInterface) ListAWSManagedPoliciesWithResponse(ctx context.Context, reqEditors ...client.RequestEditorFn) (*client.ListAWSManagedPoliciesResponse, error)
- func (_m *ClientWithResponsesInterface) ListMyRolesWithResponse(ctx context.Context, params *models.ListMyRolesParams, ...) (*client.ListMyRolesResponse, error)
- func (_m *ClientWithResponsesInterface) ListPermissionSetAssignmentsWithResponse(ctx context.Context, permissionSetId uuid.UUID, ...) (*client.ListPermissionSetAssignmentsResponse, error)
- func (_m *ClientWithResponsesInterface) ListPermissionSetsWithResponse(ctx context.Context, params *models.ListPermissionSetsParams, ...) (*client.ListPermissionSetsResponse, error)
- func (_m *ClientWithResponsesInterface) ListRolesWithResponse(ctx context.Context, params *models.ListRolesParams, ...) (*client.ListRolesResponse, error)
- func (_m *ClientWithResponsesInterface) RedeployPermissionSetAssignmentWithResponse(ctx context.Context, permissionSetId uuid.UUID, assignmentId uuid.UUID, ...) (*client.RedeployPermissionSetAssignmentResponse, error)
- func (_m *ClientWithResponsesInterface) UpdatePermissionSetWithBodyWithResponse(ctx context.Context, permissionSetId uuid.UUID, contentType string, ...) (*client.UpdatePermissionSetResponse, error)
- func (_m *ClientWithResponsesInterface) UpdatePermissionSetWithResponse(ctx context.Context, permissionSetId uuid.UUID, ...) (*client.UpdatePermissionSetResponse, error)
- type ServerInterface
- func (_m *ServerInterface) CreatePermissionSet(ctx echo.Context) error
- func (_m *ServerInterface) CreatePermissionSetAssignments(ctx echo.Context, permissionSetId uuid.UUID) error
- func (_m *ServerInterface) DeletePermissionSet(ctx echo.Context, permissionSetId uuid.UUID) error
- func (_m *ServerInterface) DeletePermissionSetAssignment(ctx echo.Context, permissionSetId uuid.UUID, assignmentId uuid.UUID) error
- func (_m *ServerInterface) GetAPIDocument(ctx echo.Context) error
- func (_m *ServerInterface) GetPermissionSet(ctx echo.Context, permissionSetId uuid.UUID) error
- func (_m *ServerInterface) ListAWSManagedPolicies(ctx echo.Context) error
- func (_m *ServerInterface) ListMyRoles(ctx echo.Context, params models.ListMyRolesParams) error
- func (_m *ServerInterface) ListPermissionSetAssignments(ctx echo.Context, permissionSetId uuid.UUID, ...) error
- func (_m *ServerInterface) ListPermissionSets(ctx echo.Context, params models.ListPermissionSetsParams) error
- func (_m *ServerInterface) ListRoles(ctx echo.Context, params models.ListRolesParams) error
- func (_m *ServerInterface) RedeployPermissionSetAssignment(ctx echo.Context, permissionSetId uuid.UUID, assignmentId uuid.UUID) error
- func (_m *ServerInterface) UpdatePermissionSet(ctx echo.Context, permissionSetId uuid.UUID) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientWithResponsesInterface ¶
ClientWithResponsesInterface is an autogenerated mock type for the ClientWithResponsesInterface type
func NewClientWithResponsesInterface ¶
func NewClientWithResponsesInterface(t interface { mock.TestingT Cleanup(func()) }) *ClientWithResponsesInterface
NewClientWithResponsesInterface creates a new instance of ClientWithResponsesInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ClientWithResponsesInterface) CreatePermissionSetAssignmentsWithBodyWithResponse ¶
func (_m *ClientWithResponsesInterface) CreatePermissionSetAssignmentsWithBodyWithResponse(ctx context.Context, permissionSetId uuid.UUID, contentType string, body io.Reader, reqEditors ...client.RequestEditorFn) (*client.CreatePermissionSetAssignmentsResponse, error)
CreatePermissionSetAssignmentsWithBodyWithResponse provides a mock function with given fields: ctx, permissionSetId, contentType, body, reqEditors
func (*ClientWithResponsesInterface) CreatePermissionSetAssignmentsWithResponse ¶
func (_m *ClientWithResponsesInterface) CreatePermissionSetAssignmentsWithResponse(ctx context.Context, permissionSetId uuid.UUID, body []struct { AccountTypeId uuid.UUID `json:"AccountTypeId"` GroupId uuid.UUID `json:"GroupId"` }, reqEditors ...client.RequestEditorFn) (*client.CreatePermissionSetAssignmentsResponse, error)
CreatePermissionSetAssignmentsWithResponse provides a mock function with given fields: ctx, permissionSetId, body, reqEditors
func (*ClientWithResponsesInterface) CreatePermissionSetWithBodyWithResponse ¶
func (_m *ClientWithResponsesInterface) CreatePermissionSetWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...client.RequestEditorFn) (*client.CreatePermissionSetResponse, error)
CreatePermissionSetWithBodyWithResponse provides a mock function with given fields: ctx, contentType, body, reqEditors
func (*ClientWithResponsesInterface) CreatePermissionSetWithResponse ¶
func (_m *ClientWithResponsesInterface) CreatePermissionSetWithResponse(ctx context.Context, body models.CreatePermissionSetRecord, reqEditors ...client.RequestEditorFn) (*client.CreatePermissionSetResponse, error)
CreatePermissionSetWithResponse provides a mock function with given fields: ctx, body, reqEditors
func (*ClientWithResponsesInterface) DeletePermissionSetAssignmentWithResponse ¶
func (_m *ClientWithResponsesInterface) DeletePermissionSetAssignmentWithResponse(ctx context.Context, permissionSetId uuid.UUID, assignmentId uuid.UUID, reqEditors ...client.RequestEditorFn) (*client.DeletePermissionSetAssignmentResponse, error)
DeletePermissionSetAssignmentWithResponse provides a mock function with given fields: ctx, permissionSetId, assignmentId, reqEditors
func (*ClientWithResponsesInterface) DeletePermissionSetWithResponse ¶
func (_m *ClientWithResponsesInterface) DeletePermissionSetWithResponse(ctx context.Context, permissionSetId uuid.UUID, reqEditors ...client.RequestEditorFn) (*client.DeletePermissionSetResponse, error)
DeletePermissionSetWithResponse provides a mock function with given fields: ctx, permissionSetId, reqEditors
func (*ClientWithResponsesInterface) GetAPIDocumentWithResponse ¶
func (_m *ClientWithResponsesInterface) GetAPIDocumentWithResponse(ctx context.Context, reqEditors ...client.RequestEditorFn) (*client.GetAPIDocumentResponse, error)
GetAPIDocumentWithResponse provides a mock function with given fields: ctx, reqEditors
func (*ClientWithResponsesInterface) GetPermissionSetWithResponse ¶
func (_m *ClientWithResponsesInterface) GetPermissionSetWithResponse(ctx context.Context, permissionSetId uuid.UUID, reqEditors ...client.RequestEditorFn) (*client.GetPermissionSetResponse, error)
GetPermissionSetWithResponse provides a mock function with given fields: ctx, permissionSetId, reqEditors
func (*ClientWithResponsesInterface) ListAWSManagedPoliciesWithResponse ¶
func (_m *ClientWithResponsesInterface) ListAWSManagedPoliciesWithResponse(ctx context.Context, reqEditors ...client.RequestEditorFn) (*client.ListAWSManagedPoliciesResponse, error)
ListAWSManagedPoliciesWithResponse provides a mock function with given fields: ctx, reqEditors
func (*ClientWithResponsesInterface) ListMyRolesWithResponse ¶
func (_m *ClientWithResponsesInterface) ListMyRolesWithResponse(ctx context.Context, params *models.ListMyRolesParams, reqEditors ...client.RequestEditorFn) (*client.ListMyRolesResponse, error)
ListMyRolesWithResponse provides a mock function with given fields: ctx, params, reqEditors
func (*ClientWithResponsesInterface) ListPermissionSetAssignmentsWithResponse ¶
func (_m *ClientWithResponsesInterface) ListPermissionSetAssignmentsWithResponse(ctx context.Context, permissionSetId uuid.UUID, params *models.ListPermissionSetAssignmentsParams, reqEditors ...client.RequestEditorFn) (*client.ListPermissionSetAssignmentsResponse, error)
ListPermissionSetAssignmentsWithResponse provides a mock function with given fields: ctx, permissionSetId, params, reqEditors
func (*ClientWithResponsesInterface) ListPermissionSetsWithResponse ¶
func (_m *ClientWithResponsesInterface) ListPermissionSetsWithResponse(ctx context.Context, params *models.ListPermissionSetsParams, reqEditors ...client.RequestEditorFn) (*client.ListPermissionSetsResponse, error)
ListPermissionSetsWithResponse provides a mock function with given fields: ctx, params, reqEditors
func (*ClientWithResponsesInterface) ListRolesWithResponse ¶
func (_m *ClientWithResponsesInterface) ListRolesWithResponse(ctx context.Context, params *models.ListRolesParams, reqEditors ...client.RequestEditorFn) (*client.ListRolesResponse, error)
ListRolesWithResponse provides a mock function with given fields: ctx, params, reqEditors
func (*ClientWithResponsesInterface) RedeployPermissionSetAssignmentWithResponse ¶
func (_m *ClientWithResponsesInterface) RedeployPermissionSetAssignmentWithResponse(ctx context.Context, permissionSetId uuid.UUID, assignmentId uuid.UUID, reqEditors ...client.RequestEditorFn) (*client.RedeployPermissionSetAssignmentResponse, error)
RedeployPermissionSetAssignmentWithResponse provides a mock function with given fields: ctx, permissionSetId, assignmentId, reqEditors
func (*ClientWithResponsesInterface) UpdatePermissionSetWithBodyWithResponse ¶
func (_m *ClientWithResponsesInterface) UpdatePermissionSetWithBodyWithResponse(ctx context.Context, permissionSetId uuid.UUID, contentType string, body io.Reader, reqEditors ...client.RequestEditorFn) (*client.UpdatePermissionSetResponse, error)
UpdatePermissionSetWithBodyWithResponse provides a mock function with given fields: ctx, permissionSetId, contentType, body, reqEditors
func (*ClientWithResponsesInterface) UpdatePermissionSetWithResponse ¶
func (_m *ClientWithResponsesInterface) UpdatePermissionSetWithResponse(ctx context.Context, permissionSetId uuid.UUID, body models.UpdatePermissionSetRecord, reqEditors ...client.RequestEditorFn) (*client.UpdatePermissionSetResponse, error)
UpdatePermissionSetWithResponse provides a mock function with given fields: ctx, permissionSetId, body, reqEditors
type ServerInterface ¶
ServerInterface is an autogenerated mock type for the ServerInterface type
func NewServerInterface ¶
func NewServerInterface(t interface { mock.TestingT Cleanup(func()) }) *ServerInterface
NewServerInterface creates a new instance of ServerInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ServerInterface) CreatePermissionSet ¶
func (_m *ServerInterface) CreatePermissionSet(ctx echo.Context) error
CreatePermissionSet provides a mock function with given fields: ctx
func (*ServerInterface) CreatePermissionSetAssignments ¶
func (_m *ServerInterface) CreatePermissionSetAssignments(ctx echo.Context, permissionSetId uuid.UUID) error
CreatePermissionSetAssignments provides a mock function with given fields: ctx, permissionSetId
func (*ServerInterface) DeletePermissionSet ¶
DeletePermissionSet provides a mock function with given fields: ctx, permissionSetId
func (*ServerInterface) DeletePermissionSetAssignment ¶
func (_m *ServerInterface) DeletePermissionSetAssignment(ctx echo.Context, permissionSetId uuid.UUID, assignmentId uuid.UUID) error
DeletePermissionSetAssignment provides a mock function with given fields: ctx, permissionSetId, assignmentId
func (*ServerInterface) GetAPIDocument ¶
func (_m *ServerInterface) GetAPIDocument(ctx echo.Context) error
GetAPIDocument provides a mock function with given fields: ctx
func (*ServerInterface) GetPermissionSet ¶
GetPermissionSet provides a mock function with given fields: ctx, permissionSetId
func (*ServerInterface) ListAWSManagedPolicies ¶
func (_m *ServerInterface) ListAWSManagedPolicies(ctx echo.Context) error
ListAWSManagedPolicies provides a mock function with given fields: ctx
func (*ServerInterface) ListMyRoles ¶
func (_m *ServerInterface) ListMyRoles(ctx echo.Context, params models.ListMyRolesParams) error
ListMyRoles provides a mock function with given fields: ctx, params
func (*ServerInterface) ListPermissionSetAssignments ¶
func (_m *ServerInterface) ListPermissionSetAssignments(ctx echo.Context, permissionSetId uuid.UUID, params models.ListPermissionSetAssignmentsParams) error
ListPermissionSetAssignments provides a mock function with given fields: ctx, permissionSetId, params
func (*ServerInterface) ListPermissionSets ¶
func (_m *ServerInterface) ListPermissionSets(ctx echo.Context, params models.ListPermissionSetsParams) error
ListPermissionSets provides a mock function with given fields: ctx, params
func (*ServerInterface) ListRoles ¶
func (_m *ServerInterface) ListRoles(ctx echo.Context, params models.ListRolesParams) error
ListRoles provides a mock function with given fields: ctx, params
func (*ServerInterface) RedeployPermissionSetAssignment ¶
func (_m *ServerInterface) RedeployPermissionSetAssignment(ctx echo.Context, permissionSetId uuid.UUID, assignmentId uuid.UUID) error
RedeployPermissionSetAssignment provides a mock function with given fields: ctx, permissionSetId, assignmentId
func (*ServerInterface) UpdatePermissionSet ¶
UpdatePermissionSet provides a mock function with given fields: ctx, permissionSetId