Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerTagger ¶
type ContainerTagger struct {
// contains filtered or unexported fields
}
ContainerTagger is a simple component that injects host tags and CAPI metadata into cloudfoundry containers. It listens to container collection events from the workloadmeta store and injects tags accordingly if it detects a diff with the previously injected tags.
func NewContainerTagger ¶
func NewContainerTagger(wmeta workloadmeta.Component) (*ContainerTagger, error)
NewContainerTagger creates a new container tagger. Call Start to start the container tagger.
func (*ContainerTagger) Start ¶
func (c *ContainerTagger) Start(ctx context.Context)
Start starts the container tagger. Cancel the context to stop the container tagger.
Click to show internal directories.
Click to hide internal directories.