hub

package
Version: v0.0.0-...-3a116c2 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hub

type Hub struct {
	// contains filtered or unexported fields
}

func New

func New(credentials *types.LoginCredentials) *Hub

func (*Hub) GetRepository

func (h *Hub) GetRepository(namespace string, name string) (*types.Repository, error)

GetRepository returns a repository struct

func (*Hub) PatchRepository

func (h *Hub) PatchRepository(repository *types.Repository) (*types.Repository, error)

PatchRepository updates the docker hub repository

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL