Help us shape the future of Go! Take the 2026 Go Developer Survey

mock

package
v0.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupsService added in v0.17.0

type BackupsService struct {
	CreateFn        func(context.Context, *ps.CreateBackupRequest) (*ps.Backup, error)
	CreateFnInvoked bool

	GetFn        func(context.Context, *ps.GetBackupRequest) (*ps.Backup, error)
	GetFnInvoked bool

	ListFn        func(context.Context, *ps.ListBackupsRequest) ([]*ps.Backup, error)
	ListFnInvoked bool

	DeleteFn        func(context.Context, *ps.DeleteBackupRequest) error
	DeleteFnInvoked bool
}

func (*BackupsService) Create added in v0.17.0

func (*BackupsService) Delete added in v0.17.0

func (*BackupsService) Get added in v0.17.0

func (*BackupsService) List added in v0.17.0

func (b *BackupsService) List(ctx context.Context, req *ps.ListBackupsRequest) ([]*ps.Backup, error)

type DatabaseBranchesService added in v0.16.0

type DatabaseBranchesService struct {
	CreateFn        func(context.Context, *ps.CreateDatabaseBranchRequest) (*ps.DatabaseBranch, error)
	CreateFnInvoked bool

	ListFn        func(context.Context, *ps.ListDatabaseBranchesRequest) ([]*ps.DatabaseBranch, error)
	ListFnInvoked bool

	GetFn        func(context.Context, *ps.GetDatabaseBranchRequest) (*ps.DatabaseBranch, error)
	GetFnInvoked bool

	DeleteFn        func(context.Context, *ps.DeleteDatabaseBranchRequest) error
	DeleteFnInvoked bool

	GetStatusFn        func(context.Context, *ps.GetDatabaseBranchStatusRequest) (*ps.DatabaseBranchStatus, error)
	GetStatusFnInvoked bool
}

func (*DatabaseBranchesService) Create added in v0.16.0

func (*DatabaseBranchesService) Delete added in v0.16.0

func (*DatabaseBranchesService) Get added in v0.16.0

func (*DatabaseBranchesService) GetStatus added in v0.16.0

func (*DatabaseBranchesService) List added in v0.16.0

type DatabaseService

type DatabaseService struct {
	CreateFn        func(context.Context, *ps.CreateDatabaseRequest) (*ps.Database, error)
	CreateFnInvoked bool

	GetFn        func(context.Context, *ps.GetDatabaseRequest) (*ps.Database, error)
	GetFnInvoked bool

	ListFn        func(context.Context, *ps.ListDatabasesRequest) ([]*ps.Database, error)
	ListFnInvoked bool

	DeleteFn        func(context.Context, *ps.DeleteDatabaseRequest) error
	DeleteFnInvoked bool
}

func (*DatabaseService) Create

func (*DatabaseService) Delete

func (*DatabaseService) Get

func (*DatabaseService) List

type DeployRequestsService added in v0.16.1

type DeployRequestsService struct {
	CancelFn        func(context.Context, *ps.CancelDeployRequestRequest) (*ps.DeployRequest, error)
	CancelFnInvoked bool

	CloseFn        func(context.Context, *ps.CloseDeployRequestRequest) (*ps.DeployRequest, error)
	CloseFnInvoked bool

	CreateFn        func(context.Context, *ps.CreateDeployRequestRequest) (*ps.DeployRequest, error)
	CreateFnInvoked bool

	CreateReviewFn        func(context.Context, *ps.ReviewDeployRequestRequest) (*ps.DeployRequestReview, error)
	CreateReviewFnInvoked bool

	DeployFn        func(context.Context, *ps.PerformDeployRequest) (*ps.DeployRequest, error)
	DeployFnInvoked bool

	DiffFn        func(context.Context, *ps.DiffRequest) ([]*ps.Diff, error)
	DiffFnInvoked bool

	GetFn        func(context.Context, *ps.GetDeployRequestRequest) (*ps.DeployRequest, error)
	GetFnInvoked bool

	ListFn        func(context.Context, *ps.ListDeployRequestsRequest) ([]*ps.DeployRequest, error)
	ListFnInvoked bool
}

func (*DeployRequestsService) CancelDeploy added in v0.16.1

func (*DeployRequestsService) CloseDeploy added in v0.16.1

func (*DeployRequestsService) Create added in v0.16.1

func (*DeployRequestsService) CreateReview added in v0.16.1

func (*DeployRequestsService) Deploy added in v0.16.1

func (*DeployRequestsService) Diff added in v0.16.1

func (d *DeployRequestsService) Diff(ctx context.Context, req *ps.DiffRequest) ([]*ps.Diff, error)

func (*DeployRequestsService) Get added in v0.16.1

func (*DeployRequestsService) List added in v0.16.1

type OrganizationsService added in v0.19.0

type OrganizationsService struct {
	GetFn        func(context.Context, *ps.GetOrganizationRequest) (*ps.Organization, error)
	GetFnInvoked bool

	ListFn        func(context.Context) ([]*ps.Organization, error)
	ListFnInvoked bool
}

func (*OrganizationsService) Get added in v0.19.0

func (*OrganizationsService) List added in v0.19.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL