Documentation ¶
Overview ¶
Copyright © 2018 One Concern
Index ¶
- Constants
- type Cerializer
- type FUSEParams
- type FUSEParamsBDOption
- func BDDest(repo string, msg string) FUSEParamsBDOption
- func BDDestBundleIDFile(bundleIDFile string) FUSEParamsBDOption
- func BDDestLabel(label string) FUSEParamsBDOption
- func BDName(name string) FUSEParamsBDOption
- func BDSrcByBundleID(path string, repo string, bundle string) FUSEParamsBDOption
- func BDSrcByLabel(path string, repo string, label string) FUSEParamsBDOption
- type FUSEParamsOption
- type PGParams
- type PGParamsDBOption
- func DBDest(repo string, message string) PGParamsDBOption
- func DBDestBundleIDFile(bundleIDFile string) PGParamsDBOption
- func DBDestLabel(label string) PGParamsDBOption
- func DBNameAndPort(name string, port int) PGParamsDBOption
- func DBSrcByBundle(repo string, bundle string) PGParamsDBOption
- func DBSrcByLabel(repo string, label string) PGParamsDBOption
- type PGParamsOption
Constants ¶
View Source
const (
CerialFmtYAM = iota
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cerializer ¶
type FUSEParams ¶
type FUSEParams struct { Globals struct { SleepInsteadOfExit bool `json:"sleepInsteadOfExit" yaml:"sleepInsteadOfExit"` CoordPoint string `json:"coordPoint" yaml:"coordPoint"` Contributor struct { Name string `json:"name" yaml:"name"` Email string `json:"email" yaml:"email"` // contains filtered or unexported fields } `json:"contributor" yaml:"contributor"` // contains filtered or unexported fields } `json:"globalOpts" yaml:"globalOpts"` Bundles []fuseParamsBundleParams `json:"bundles" yaml:"bundles"` // contains filtered or unexported fields }
func NewFUSEParams ¶
func NewFUSEParams(fuseOpts ...FUSEParamsOption) (FUSEParams, error)
func (*FUSEParams) AddBundle ¶
func (fuseParams *FUSEParams) AddBundle(bdOpts ...FUSEParamsBDOption) error
func (*FUSEParams) CerialString ¶
func (fuseParams *FUSEParams) CerialString(knownFmt int) (string, error)
func (*FUSEParams) FirstCutSidecarFmt ¶
func (fuseParams *FUSEParams) FirstCutSidecarFmt(destPath string) error
type FUSEParamsBDOption ¶
type FUSEParamsBDOption func(bdParams *fuseParamsBundleParams)
func BDDest ¶
func BDDest(repo string, msg string) FUSEParamsBDOption
func BDDestBundleIDFile ¶
func BDDestBundleIDFile(bundleIDFile string) FUSEParamsBDOption
func BDDestLabel ¶
func BDDestLabel(label string) FUSEParamsBDOption
func BDName ¶
func BDName(name string) FUSEParamsBDOption
func BDSrcByBundleID ¶
func BDSrcByBundleID(path string, repo string, bundle string) FUSEParamsBDOption
func BDSrcByLabel ¶
func BDSrcByLabel(path string, repo string, label string) FUSEParamsBDOption
type FUSEParamsOption ¶
type FUSEParamsOption func(fuseParams *FUSEParams)
func FUSEContributor ¶
func FUSEContributor(name string, email string) FUSEParamsOption
func FUSECoordPoint ¶
func FUSECoordPoint(coordPoint string) FUSEParamsOption
type PGParams ¶
type PGParams struct { Globals struct { SleepInsteadOfExit bool `json:"sleepInsteadOfExit" yaml:"sleepInsteadOfExit"` IgnorePGVersionMismatch bool `json:"ignorePGVersionMismatch" yaml:"ignorePGVersionMismatch"` CoordPoint string `json:"coordPoint" yaml:"coordPoint"` Contributor struct { Name string `json:"name" yaml:"name"` Email string `json:"email" yaml:"email"` // contains filtered or unexported fields } `json:"contributor" yaml:"contributor"` // contains filtered or unexported fields } `json:"globalOpts" yaml:"globalOpts"` Databases []pgParamsDBParams `json:"databases" yaml:"databases"` // contains filtered or unexported fields }
func NewPGParams ¶
func NewPGParams(pgOpts ...PGParamsOption) (PGParams, error)
func (*PGParams) AddDatabase ¶
func (pgParams *PGParams) AddDatabase(dbOpts ...PGParamsDBOption) error
func (*PGParams) CerialString ¶
func (*PGParams) FirstCutSidecarFmt ¶
type PGParamsDBOption ¶
type PGParamsDBOption func(dbParams *pgParamsDBParams)
func DBDest ¶
func DBDest(repo string, message string) PGParamsDBOption
func DBDestBundleIDFile ¶
func DBDestBundleIDFile(bundleIDFile string) PGParamsDBOption
func DBDestLabel ¶
func DBDestLabel(label string) PGParamsDBOption
func DBNameAndPort ¶
func DBNameAndPort(name string, port int) PGParamsDBOption
func DBSrcByBundle ¶
func DBSrcByBundle(repo string, bundle string) PGParamsDBOption
func DBSrcByLabel ¶
func DBSrcByLabel(repo string, label string) PGParamsDBOption
type PGParamsOption ¶
type PGParamsOption func(pgParams *PGParams)
func PGContributor ¶
func PGContributor(name string, email string) PGParamsOption
func PGCoordPoint ¶
func PGCoordPoint(coordPoint string) PGParamsOption
Click to show internal directories.
Click to hide internal directories.