Documentation
¶
Overview ¶
Package docker provides a Docker label config provider for Vale.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerSource ¶
type DockerSource struct {
// contains filtered or unexported fields
}
func NewDockerSource ¶
func NewDockerSource(cli *client.Client) *DockerSource
func NewDockerSourceFromEnv ¶
func NewDockerSourceFromEnv() (*DockerSource, error)
func (*DockerSource) ListContainers ¶
func (s *DockerSource) ListContainers(ctx context.Context) (*collectionlist.List[Container], error)
type MemorySource ¶
type MemorySource struct {
// contains filtered or unexported fields
}
func NewMemorySource ¶
func NewMemorySource(containers ...Container) *MemorySource
func (*MemorySource) ListContainers ¶
func (s *MemorySource) ListContainers(_ context.Context) (*collectionlist.List[Container], error)
func (*MemorySource) Update ¶
func (s *MemorySource) Update(containers ...Container)
type Options ¶
type Options struct {
DefaultEntrypointName string
DefaultEntrypointAddr string
EntrypointAddresses *mapping.Map[string, string]
}
func DefaultOptions ¶
func DefaultOptions() Options
Click to show internal directories.
Click to hide internal directories.