Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppContext ¶ added in v0.6.0
type AppContext struct {
// contains filtered or unexported fields
}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
type ClientConfig ¶ added in v0.6.0
type ClientConfig struct {
ServerAddr string
ServerHost string
Stdout io.Writer
Stderr io.Writer
}
ClientConfig stores information about the draft server and where to send messages
and errors out
type DockerAuth ¶ added in v0.6.0
type DockerAuth map[string]RegistryAuth
DockerAuth is a container for the registry authentication credentials wrapped by the registry server name.
type RegistryAuth ¶ added in v0.6.0
type RegistryAuth struct {
Username string `json:"username"`
Password string `json:"password"`
Email string `json:"email"`
RegistryToken string `json:"registrytoken"`
}
RegistryAuth is the registry authentication credentials
type RegistryConfig ¶ added in v0.6.0
type RegistryConfig struct {
// Auth is the authorization token used to push images up to the registry.
Auth string
// URL is the URL of the registry (e.g. quay.io/myuser, docker.io/myuser, myregistry.azurecr.io)
URL string
}
RegistryConfig specifies configuration for the image repository.
type Server ¶ added in v0.6.0
type Server struct {
// contains filtered or unexported fields
}
Server is a draft Server.
type ServerConfig ¶ added in v0.6.0
type ServerConfig struct {
ListenAddr string
IngressEnabled bool
Basedomain string // Basedomain is the basedomain used to construct the ingress rules
Registry *RegistryConfig
Docker *docker.Client
Helm helm.Interface
Kube k8s.Interface
}
ServerConfig specifies draft.Server configuration.
Click to show internal directories.
Click to hide internal directories.