Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterImageStorage ¶ added in v0.6.0
type ClusterImageStorage struct { Docker *struct{} DockerRegistry *DockerRegistryClusterImageStorage }
type Config ¶
type Config struct { // All Kubernetes resources are named with "-"+EnvironmentID as a suffix, // and have an additional label "env="+EnvironmentID so that namespaces can be shared. EnvironmentID string EnvironmentLabel string KubeConfig *rest.Config Namespace string ClusterImageStorage ClusterImageStorage VolumeInitBaseImage *string Services map[string]*Service }
func (*Config) AddService ¶
func (cfg *Config) AddService(dockerComposeService *dockerComposeConfig.Service) *Service
AddService adds a service to this configuration.
func (*Config) AddToFilter ¶
AddToFilter adds service and its (in)direct dependencies (based on depends_on) to the set of services matched by the current filter. After a AddToFilter(service), MatchesFilterDirectly(service) will return true unless ClearFilter was called.
func (*Config) ClearFilter ¶
func (cfg *Config) ClearFilter()
ClearFilter sets the current filter to match no service.
func (*Config) MatchesFilter ¶
MatchesFilter determines whether a service matches the current filter (indirectly or directly).
func (*Config) MatchesFilterDirectly ¶ added in v0.6.3
MatchesFilterDirectly determines whether a service matches the current filter directly (e.g. service was passed to AddToFilter).
type DockerRegistryClusterImageStorage ¶ added in v0.6.0
type DockerRegistryClusterImageStorage struct {
Host string
}
Click to show internal directories.
Click to hide internal directories.