Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DockerCompose ¶
DockerCompose represents a docker-compose file
func Parse ¶
func Parse(yamlFile []byte) (DockerCompose, error)
Parse converts a yaml byte slice into a DockerCompose struct
func (*DockerCompose) FindKafkaContainer ¶
func (dc *DockerCompose) FindKafkaContainer() (Service, error)
FindKafkaContainer looks for a service that has the KAFKA_CREATE_TOPICS environment variable set, and returns it as a Service struct.
Click to show internal directories.
Click to hide internal directories.