Versions in this module Expand all Collapse all v0 v0.13.1 May 8, 2020 v0.13.0 May 8, 2020 Changes in this version + const Namespace + func Defaults(p *types.PlatformConfig) + func Deploy(p *platform.Platform) error + func ReplicateAll(p *platform.Platform) error + func Test(p *platform.Platform, test *console.TestResults) + func UpdateSettings(p *platform.Platform) error + type Client struct + func NewClient(p *platform.Platform) (*Client, error) + func (harbor *Client) GetStatus() (*Status, error) + func (harbor *Client) ListMembers(project string) ([]ProjectMember, error) + func (harbor *Client) ListReplicationPolicies() (policies []ReplicationPolicy, customErr error) + func (harbor *Client) TriggerReplication(id int) (*Replication, error) + func (harbor *Client) UpdateSettings(settings types.HarborSettings) error + type Project struct + type ProjectMember struct + EntityID int + EntityName string + EntityType string + ID int + ProjectID int + RoleID int + RoleName string + type Replication struct + EndTime string + Failed int + ID int + InProgress int + PolicyID int + StartTime string + Status string + StatusText string + Stopped int + Succeed int + Total int + Trigger string + type ReplicationFilter struct + Type string + Value string + type ReplicationPolicy struct + CreationTime string + Deletion bool + Description string + DestNamespace string + DestRegistry ReplicationRegistry + Enabled bool + Filters []ReplicationFilter + ID int + Name string + Override bool + SrcRegistry ReplicationRegistry + Trigger ReplicationTrigger + UpdateTime string + type ReplicationRegistry struct + CreationTime string + Credential struct{ ... } + Description string + ID int + Insecure bool + Name string + Status string + Type string + URL string + UpdateTime string + type ReplicationTrigger struct + TriggerSettings struct{ ... } + Type string + type Status struct + Components []struct{ ... } + Status string