Documentation
¶
Index ¶
- func ApplyArgs(root *yaml.Node, toApply map[string]string) ([]logger.Entry, error)
- func CreateServiceByExtension(referencedComposeFilePath string, serviceName string, args map[string]string) types.ServiceConfig
- func ExtractNamedServiceVolumes(service map[string]any) ([]types.ServiceVolumeConfig, error)
- func InsertService(p *types.Project, svc types.ServiceConfig) error
- func ReadNode(composeFile io.Reader) (*yaml.Node, error)
- func ReadProject(targetProjectFile string) (*types.Project, error)
- func RegisterVolumes(targetProject *types.Project, volumes []types.ServiceVolumeConfig)
- func RemoveService(project *yaml.Node, serviceName string) error
- func WriteNode(project *yaml.Node, target io.Writer) error
- func WriteProject(project *types.Project, targetComposeFile string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractNamedServiceVolumes ¶
func ExtractNamedServiceVolumes(service map[string]any) ([]types.ServiceVolumeConfig, error)
func InsertService ¶
func InsertService(p *types.Project, svc types.ServiceConfig) error
func RegisterVolumes ¶
func RegisterVolumes(targetProject *types.Project, volumes []types.ServiceVolumeConfig)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.