replication

package
v10.7.4 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const EndpointPath = "artifactory/api/replications/"

Variables

This section is empty.

Functions

func ResourceArtifactoryLocalRepositoryMultiReplication

func ResourceArtifactoryLocalRepositoryMultiReplication() *schema.Resource

func ResourceArtifactoryLocalRepositorySingleReplication

func ResourceArtifactoryLocalRepositorySingleReplication() *schema.Resource

func ResourceArtifactoryPullReplication

func ResourceArtifactoryPullReplication() *schema.Resource

func ResourceArtifactoryPushReplication

func ResourceArtifactoryPushReplication() *schema.Resource

func ResourceArtifactoryRemoteRepositoryReplication

func ResourceArtifactoryRemoteRepositoryReplication() *schema.Resource

func ResourceArtifactoryReplicationConfig

func ResourceArtifactoryReplicationConfig() *schema.Resource

func ResourceArtifactorySingleReplicationConfig

func ResourceArtifactorySingleReplicationConfig() *schema.Resource

Types

type GetLocalMultiReplication

type GetLocalMultiReplication struct {
	RepoKey                string                         `json:"-"`
	CronExp                string                         `json:"cronExp,omitempty"`
	EnableEventReplication bool                           `json:"enableEventReplication"`
	Replications           []getLocalMultiReplicationBody `json:"replications,omitempty"`
}

type GetPushReplication

type GetPushReplication struct {
	RepoKey                string               `json:"-"`
	CronExp                string               `json:"cronExp,omitempty"`
	EnableEventReplication bool                 `json:"enableEventReplication,omitempty"`
	Replications           []getReplicationBody `json:"replications,omitempty"`
}

type GetReplicationConfig

type GetReplicationConfig struct {
	RepoKey                string               `json:"-"`
	CronExp                string               `json:"cronExp,omitempty"`
	EnableEventReplication bool                 `json:"enableEventReplication,omitempty"`
	Replications           []getReplicationBody `json:"replications,omitempty"`
}

type PullReplication

type PullReplication struct {
	Enabled                         bool   `json:"enabled"`
	CronExp                         string `json:"cronExp"`
	SyncDeletes                     bool   `json:"syncDeletes"`
	SyncProperties                  bool   `json:"syncProperties"`
	PathPrefix                      string `json:"pathPrefix"`
	RepoKey                         string `json:"repoKey"`
	ReplicationKey                  string `json:"replicationKey"`
	EnableEventReplication          bool   `json:"enableEventReplication"`
	Username                        string `json:"username"`
	Password                        string `json:"password"`
	URL                             string `json:"url"`
	CheckBinaryExistenceInFilestore bool   `json:"checkBinaryExistenceInFilestore"`
}

PullReplication this is the structure for a PULL replication on a remote repo

type ReplicationBody

type ReplicationBody struct {
	Username                        string `json:"username"`
	Password                        string `json:"password"`
	URL                             string `json:"url"`
	CronExp                         string `json:"cronExp"`
	RepoKey                         string `json:"repoKey"`
	EnableEventReplication          bool   `json:"enableEventReplication"`
	SocketTimeoutMillis             int    `json:"socketTimeoutMillis"`
	Enabled                         bool   `json:"enabled"`
	SyncDeletes                     bool   `json:"syncDeletes"`
	SyncProperties                  bool   `json:"syncProperties"`
	SyncStatistics                  bool   `json:"syncStatistics"`
	PathPrefix                      string `json:"pathPrefix"`
	CheckBinaryExistenceInFilestore bool   `json:"checkBinaryExistenceInFilestore"`
}

type UpdateLocalMultiReplication

type UpdateLocalMultiReplication struct {
	RepoKey                string                            `json:"-"`
	CronExp                string                            `json:"cronExp,omitempty"`
	EnableEventReplication bool                              `json:"enableEventReplication"`
	Replications           []updateLocalMultiReplicationBody `json:"replications,omitempty"`
}

type UpdatePushReplication

type UpdatePushReplication struct {
	RepoKey                string                  `json:"-"`
	CronExp                string                  `json:"cronExp,omitempty"`
	EnableEventReplication bool                    `json:"enableEventReplication,omitempty"`
	Replications           []updateReplicationBody `json:"replications,omitempty"`
}

type UpdateReplicationConfig

type UpdateReplicationConfig struct {
	RepoKey                string                  `json:"-"`
	CronExp                string                  `json:"cronExp,omitempty"`
	EnableEventReplication bool                    `json:"enableEventReplication,omitempty"`
	Replications           []updateReplicationBody `json:"replications,omitempty"`
}

Jump to

Keyboard shortcuts

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