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
}
func NewClient ¶ added in v0.6.0
func NewClient(cfg *ClientConfig) *Client
type ClientConfig ¶ added in v0.6.0
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 // Org is the organization (e.g. your DockerHub account) used to push images // up to the registry. Org string // URL is the URL of the registry (e.g. quay.io, docker.io, gcr.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.
func NewServer ¶ added in v0.6.0
func NewServer(cfg *ServerConfig) *Server
NewServer returns a draft.Server initialized with the provided configuration.
type ServerConfig ¶ added in v0.6.0
type ServerConfig struct { ListenAddr string 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.