Documentation ¶
Index ¶
- type Client
- func (self *Client) Get(namespace string, registryName string) (*resources.Registry, error)
- func (self *Client) GetAuthorization(registry *resources.Registry) (string, string, string, string, error)
- func (self *Client) GetCertificatePath(registry *resources.Registry) string
- func (self *Client) GetHTTPRoundTripper(registry *resources.Registry) (string, http.RoundTripper, error)
- func (self *Client) GetHost(registry *resources.Registry) (string, error)
- func (self *Client) GetRemoteOptions(registry *resources.Registry) ([]remote.Option, error)
- func (self *Client) GetTLSCertBytes(registry *resources.Registry) ([]byte, error)
- func (self *Client) GetTLSCertPool(registry *resources.Registry) (*x509.CertPool, error)
- func (self *Client) PushTarball(artifactName string, sourceUrl urlpkg.URL, registry *resources.Registry) (string, error)
- func (self *Client) UpdateURLContext(registry *resources.Registry, urlContext *urlpkg.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Kubernetes kubernetespkg.Interface Reposure reposurepkg.Interface Context contextpkg.Context Log *logging.Logger Namespace string TLSMountPath string }
func NewClient ¶
func NewClient(kubernetes kubernetespkg.Interface, reposure reposurepkg.Interface, context contextpkg.Context, log *logging.Logger, namespace string, tlsMountPath string) *Client
func (*Client) GetAuthorization ¶
func (*Client) GetCertificatePath ¶
func (*Client) GetHTTPRoundTripper ¶
func (*Client) GetRemoteOptions ¶
func (*Client) GetTLSCertBytes ¶
func (*Client) GetTLSCertPool ¶
Click to show internal directories.
Click to hide internal directories.