Documentation ¶
Index ¶
- func CreateCloudDeployClient(t *testing.T, ctx context.Context) *deploy.CloudDeployClient
- func CreateGCSClient(t *testing.T, objects []fakestorage.Object) *storage.Client
- type FakeCloudDeployServer
- func (f *FakeCloudDeployServer) CreateRelease(ctx context.Context, req *deploypb.CreateReleaseRequest) (*longrunningpb.Operation, error)
- func (f *FakeCloudDeployServer) CreateRollout(ctx context.Context, req *deploypb.CreateRolloutRequest) (*longrunningpb.Operation, error)
- func (f *FakeCloudDeployServer) GetConfig(ctx context.Context, req *deploypb.GetConfigRequest) (*deploypb.Config, error)
- func (f *FakeCloudDeployServer) GetDeliveryPipeline(ctx context.Context, req *deploypb.GetDeliveryPipelineRequest) (*deploypb.DeliveryPipeline, error)
- func (f *FakeCloudDeployServer) GetRelease(ctx context.Context, req *deploypb.GetReleaseRequest) (*deploypb.Release, error)
- func (f *FakeCloudDeployServer) ListRollouts(ctx context.Context, req *deploypb.ListRolloutsRequest) (*deploypb.ListRolloutsResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCloudDeployClient ¶
func CreateGCSClient ¶
Types ¶
type FakeCloudDeployServer ¶
type FakeCloudDeployServer struct {
deploypb.UnimplementedCloudDeployServer
}
func (*FakeCloudDeployServer) CreateRelease ¶
func (f *FakeCloudDeployServer) CreateRelease(ctx context.Context, req *deploypb.CreateReleaseRequest) (*longrunningpb.Operation, error)
func (*FakeCloudDeployServer) CreateRollout ¶
func (f *FakeCloudDeployServer) CreateRollout(ctx context.Context, req *deploypb.CreateRolloutRequest) (*longrunningpb.Operation, error)
func (*FakeCloudDeployServer) GetConfig ¶
func (f *FakeCloudDeployServer) GetConfig(ctx context.Context, req *deploypb.GetConfigRequest) (*deploypb.Config, error)
func (*FakeCloudDeployServer) GetDeliveryPipeline ¶
func (f *FakeCloudDeployServer) GetDeliveryPipeline(ctx context.Context, req *deploypb.GetDeliveryPipelineRequest) (*deploypb.DeliveryPipeline, error)
func (*FakeCloudDeployServer) GetRelease ¶
func (f *FakeCloudDeployServer) GetRelease(ctx context.Context, req *deploypb.GetReleaseRequest) (*deploypb.Release, error)
func (*FakeCloudDeployServer) ListRollouts ¶
func (f *FakeCloudDeployServer) ListRollouts(ctx context.Context, req *deploypb.ListRolloutsRequest) (*deploypb.ListRolloutsResponse, error)
Click to show internal directories.
Click to hide internal directories.