Documentation
¶
Index ¶
- func GetManifestHeaders(manifestPath string) (textproto.MIMEHeader, error)
- type APIProductGitSynchroniser
- type APIProductTenantSynchroniser
- type APIProxyGitSynchroniser
- type APIProxyTenantSynchroniser
- type CPIPackageTenantSynchroniser
- type Request
- type Syncer
- func NewAPIProductGitSynchroniser(exe *httpclnt.HTTPExecuter) Syncer
- func NewAPIProductTenantSynchroniser(exe *httpclnt.HTTPExecuter) Syncer
- func NewAPIProxyGitSynchroniser(exe *httpclnt.HTTPExecuter) Syncer
- func NewAPIProxyTenantSynchroniser(exe *httpclnt.HTTPExecuter) Syncer
- func NewCPIPackageTenantSynchroniser(exe *httpclnt.HTTPExecuter) Syncer
- func NewSyncer(target string, functionType string, exe *httpclnt.HTTPExecuter) Syncer
- type Synchroniser
- func (s *Synchroniser) ArtifactsToGit(packageId string, workDir string, artifactsDir string, includedIds []string, ...) error
- func (s *Synchroniser) ArtifactsToTenant(packageId string, workDir string, artifactsDir string, includedIds []string, ...) error
- func (s *Synchroniser) PackageToGit(packageDataFromTenant *api.PackageSingleData, packageId string, workDir string, ...) error
- func (s *Synchroniser) SingleArtifactToTenant(...) error
- func (s *Synchroniser) VerifyDownloadablePackage(packageId string) (packageDataFromTenant *api.PackageSingleData, readOnly bool, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetManifestHeaders ¶
func GetManifestHeaders(manifestPath string) (textproto.MIMEHeader, error)
Types ¶
type APIProductGitSynchroniser ¶
type APIProductGitSynchroniser struct {
// contains filtered or unexported fields
}
func (*APIProductGitSynchroniser) Exec ¶
func (s *APIProductGitSynchroniser) Exec(request Request) error
type APIProductTenantSynchroniser ¶
type APIProductTenantSynchroniser struct {
// contains filtered or unexported fields
}
func (*APIProductTenantSynchroniser) Exec ¶
func (s *APIProductTenantSynchroniser) Exec(request Request) error
type APIProxyGitSynchroniser ¶
type APIProxyGitSynchroniser struct {
// contains filtered or unexported fields
}
func (*APIProxyGitSynchroniser) Exec ¶
func (s *APIProxyGitSynchroniser) Exec(request Request) error
type APIProxyTenantSynchroniser ¶
type APIProxyTenantSynchroniser struct {
// contains filtered or unexported fields
}
func (*APIProxyTenantSynchroniser) Exec ¶
func (s *APIProxyTenantSynchroniser) Exec(request Request) error
type CPIPackageTenantSynchroniser ¶
type CPIPackageTenantSynchroniser struct {
// contains filtered or unexported fields
}
func (*CPIPackageTenantSynchroniser) Exec ¶
func (s *CPIPackageTenantSynchroniser) Exec(request Request) error
type Syncer ¶
func NewAPIProductGitSynchroniser ¶
func NewAPIProductGitSynchroniser(exe *httpclnt.HTTPExecuter) Syncer
NewAPIProductGitSynchroniser returns an initialised APIProductGitSynchroniser instance.
func NewAPIProductTenantSynchroniser ¶
func NewAPIProductTenantSynchroniser(exe *httpclnt.HTTPExecuter) Syncer
NewAPIProductTenantSynchroniser returns an initialised APIProductTenantSynchroniser instance.
func NewAPIProxyGitSynchroniser ¶
func NewAPIProxyGitSynchroniser(exe *httpclnt.HTTPExecuter) Syncer
NewAPIProxyGitSynchroniser returns an initialised APIProxyGitSynchroniser instance.
func NewAPIProxyTenantSynchroniser ¶
func NewAPIProxyTenantSynchroniser(exe *httpclnt.HTTPExecuter) Syncer
NewAPIProxyTenantSynchroniser returns an initialised APIProxyTenantSynchroniser instance.
func NewCPIPackageTenantSynchroniser ¶
func NewCPIPackageTenantSynchroniser(exe *httpclnt.HTTPExecuter) Syncer
NewCPIPackageTenantSynchroniser returns an initialised CPIPackageTenantSynchroniser instance.
type Synchroniser ¶
type Synchroniser struct {
// contains filtered or unexported fields
}
func New ¶
func New(exe *httpclnt.HTTPExecuter) *Synchroniser
func (*Synchroniser) ArtifactsToGit ¶
func (*Synchroniser) ArtifactsToTenant ¶
func (*Synchroniser) PackageToGit ¶
func (s *Synchroniser) PackageToGit(packageDataFromTenant *api.PackageSingleData, packageId string, workDir string, artifactsDir string) error
func (*Synchroniser) SingleArtifactToTenant ¶
func (s *Synchroniser) SingleArtifactToTenant(artifactId, artifactName, artifactType, packageId, artifactDir, workDir, parametersFile string, scriptMap []string) error
func (*Synchroniser) VerifyDownloadablePackage ¶
func (s *Synchroniser) VerifyDownloadablePackage(packageId string) (packageDataFromTenant *api.PackageSingleData, readOnly bool, packageExists bool, err error)
Click to show internal directories.
Click to hide internal directories.