Documentation ¶
Index ¶
- type Inputs
- type PublishedPort
- type Service
- func (s *Service) AddPart(part *Service)
- func (s *Service) AsCompose() composeTypes.ServiceConfig
- func (s *Service) GetParts() []*Service
- func (s *Service) GetPorts() []PublishedPort
- func (s *Service) IsSingleton() bool
- func (s *Service) Labels() map[string]string
- func (s *Service) VolumeNames() []string
- func (s *Service) Volumes(volumes map[string]*Volume) (map[string]*Volume, map[string]*Volume)
- type TargetCfg
- type Volume
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Inputs ¶
func FromCompose ¶
func FromCompose(project *composeTypes.Project) *Inputs
type PublishedPort ¶ added in v0.9.3
type Service ¶
type Service struct { Name string // contains filtered or unexported fields }
Service provides some k8ify-specific abstractions & utility around Compose service configurations.
func NewService ¶
func NewService(name string, composeService composeTypes.ServiceConfig) *Service
func (*Service) AsCompose ¶
func (s *Service) AsCompose() composeTypes.ServiceConfig
AsCompose returns the underlying compose config TODO(mh): make me obsolete!
func (*Service) GetPorts ¶ added in v0.9.3
func (s *Service) GetPorts() []PublishedPort
func (*Service) IsSingleton ¶
func (*Service) VolumeNames ¶
VolumeNames lists the names of all volumes that are mounted by this service
type TargetCfg ¶ added in v0.11.0
type TargetCfg map[string]interface{}
func (TargetCfg) IsSubdomainOfAppsDomain ¶ added in v0.11.0
func (TargetCfg) MaxExposeLength ¶ added in v0.11.0
type Volume ¶
type Volume struct { Name string // contains filtered or unexported fields }
Volume provides some k8ify-specific abstractions & utility around Compose volume configurations.
func NewVolume ¶
func NewVolume(name string, composeVolume composeTypes.VolumeConfig) *Volume
func (*Volume) IsSingleton ¶
func (*Volume) SizeIsMissing ¶
Click to show internal directories.
Click to hide internal directories.