...

Source file src/github.com/chaos-mesh/chaos-mesh/pkg/workflow/mock_generate.go

Documentation: github.com/chaos-mesh/chaos-mesh/pkg/workflow

     1  // Copyright 2021 Chaos Mesh Authors.
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // See the License for the specific language governing permissions and
    12  // limitations under the License.
    13  
    14  package workflow
    15  
    16  //go:generate rm -rf ./mock
    17  //go:generate mockgen -source ./model/workflow/workflow.go -copyright_file ../../hack/boilerplate/boilerplate.gomock.txt -destination ./mock/model/mock_workflow/mock_workflow.go
    18  
    19  //go:generate mockgen -source ./model/node/node.go -copyright_file ../../hack/boilerplate/boilerplate.gomock.txt -destination ./mock/model/mock_node/mock_node.go
    20  
    21  //go:generate mockgen -source ./model/template/template.go -copyright_file ../../hack/boilerplate/boilerplate.gomock.txt -destination ./mock/model/mock_template/mock_template.go
    22  //go:generate mockgen -source ./model/template/serial.go -copyright_file ../../hack/boilerplate/boilerplate.gomock.txt -aux_files github.com/chaos-mesh/chaos-mesh/pkg/workflow/model/template=./model/template/template.go -destination ./mock/model/mock_template/mock_serial.go
    23  //go:generate mockgen -source ./model/template/task.go -copyright_file ../../hack/boilerplate/boilerplate.gomock.txt -aux_files github.com/chaos-mesh/chaos-mesh/pkg/workflow/model/template=./model/template/template.go -destination ./mock/model/mock_template/mock_task.go
    24  //go:generate mockgen -source ./model/template/parallel.go -copyright_file ../../hack/boilerplate/boilerplate.gomock.txt -aux_files github.com/chaos-mesh/chaos-mesh/pkg/workflow/model/template=./model/template/template.go -destination ./mock/model/mock_template/mock_parallel.go
    25  //go:generate mockgen -source ./model/template/suspend.go -copyright_file ../../hack/boilerplate/boilerplate.gomock.txt -aux_files github.com/chaos-mesh/chaos-mesh/pkg/workflow/model/template=./model/template/template.go -destination ./mock/model/mock_template/mock_suspend.go
    26