Versions in this module Expand all Collapse all v1 v1.0.2 Aug 9, 2016 v1.0.1 Aug 6, 2016 Changes in this version + var Log *log.Logger = log.New(os.Stdout, "", log.Ldate | log.Ltime | log.Lshortfile) + type ClientConfig struct + BaseURL string + HttpClient *http.Client + Password string + Username string + type CreateRepoData struct + Browseable bool + ContentResourceURI string + Exposed bool + Format string + Id RepositoryID + Indexable bool + Name string + NotFoundCacheTTL int + Provider string + ProviderRole string + RepoPolicy string + RepoType string + WritePolicy string + XMLName xml.Name + type GroupID string + type IClient interface + AddRepositoryToGroup func(RepositoryID, GroupID) (int, error) + CreateSnapshotRepository func(RepositoryID) (int, error) + DeleteRepository func(RepositoryID) (int, error) + RemoveRepositoryFromGroup func(RepositoryID, GroupID) (int, error) + RepositoryExists func(RepositoryID) (bool, error) + RepositoryGroup func(GroupID) (RepositoryGroup, int, error) + type NexusClient struct + func NewNexusClient(baseURL, username, password string) NexusClient + func (client NexusClient) AddRepositoryToGroup(repositoryID RepositoryID, groupID GroupID) (int, error) + func (client NexusClient) CreateSnapshotRepository(repositoryID RepositoryID) (int, error) + func (client NexusClient) DeleteRepository(repositoryID RepositoryID) (int, error) + func (client NexusClient) RemoveRepositoryFromGroup(repositoryID RepositoryID, groupID GroupID) (int, error) + func (client NexusClient) RepositoryExists(repositoryID RepositoryID) (bool, error) + func (client NexusClient) RepositoryGroup(groupID GroupID) (RepositoryGroup, int, error) + type Repository struct + ID RepositoryID + Name string + ResourceURI string + type RepositoryGroup struct + ContentResourceURI string + ID GroupID + Name string + Repositories []Repository + type RepositoryGroupData struct + ContentResourceURI string + Exposed bool + Format string + ID GroupID + Name string + Provider string + RepoType string + Repositories []repository + type RepositoryID string