Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewTLSRegistry ¶
Creates an OCI registry to test tls/https.
Note: Helm uses Docker under the hood to handle OCI and Docker defaults to HTTP when it detects that the registry host is localhost or 127.0.0.1. In order to test OCI with a HTTPS server, we have to supply a "fake" host. We use a mock dns server to create an A record which binds declcd.io to 127.0.0.1. All OCI tests have to use declcd.io as host.
func StartCUERegistry ¶
func (*Registry) OCIClient ¶
func (r *Registry) OCIClient() *modregistry.Client
Click to show internal directories.
Click to hide internal directories.