Documentation
¶
Index ¶
- func NewSemver(t *testing.T, v string) version.Semver
- func NewSemverP(t *testing.T, v string) *version.Semver
- type FakeClient
- func (c *FakeClient) CreatePullRequest(ctx context.Context, opts *client.Options, title, body string) error
- func (c *FakeClient) CreateRef(ctx context.Context, opts *client.Options) error
- func (c *FakeClient) GetFile(ctx context.Context, opts *client.Options, path string) (string, error)
- func (c *FakeClient) UpdateFile(ctx context.Context, opts *client.Options, path string, msg string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FakeClient ¶
type FakeClient struct {
FileData string
GetFileError []error
UpdateFileError []error
CreateRefError []error
CreatePullRequestError []error
// contains filtered or unexported fields
}
FakeClient implements the Client interface. It is used for testing.
func (*FakeClient) CreatePullRequest ¶
Click to show internal directories.
Click to hide internal directories.