Documentation ¶
Overview ¶
Package codeup implements source.Driver for codeup.
Index ¶
- func WithInstance(client *devops.Client, option Option) (source.Driver, error)
- type CodeUp
- func (s CodeUp) Close() error
- func (s CodeUp) First() (version uint, err error)
- func (s CodeUp) Next(version uint) (nextVersion uint, err error)
- func (s CodeUp) Open(url string) (source.Driver, error)
- func (s CodeUp) Prev(version uint) (prevVersion uint, err error)
- func (s CodeUp) ReadDown(version uint) (r io.ReadCloser, identifier string, err error)
- func (s CodeUp) ReadUp(version uint) (r io.ReadCloser, identifier string, err error)
- type Config
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CodeUp ¶
type CodeUp struct {
// contains filtered or unexported fields
}
CodeUp implements source.Driver for CodeUp.
func (CodeUp) Open ¶
Open returns a new driver instance configured with parameters coming from the URL string. Migrate will call this function only once per instance.
Click to show internal directories.
Click to hide internal directories.