Versions in this module Expand all Collapse all v0 v0.0.1 Jan 9, 2024 Changes in this version + type Converter struct + func New(options ...Option) *Converter + func (d *Converter) Convert(r io.Reader) ([]byte, error) + func (d *Converter) ConvertBytes(b []byte) ([]byte, error) + func (d *Converter) ConvertFile(p string) ([]byte, error) + func (d *Converter) ConvertString(s string) ([]byte, error) + type Format int + const FromDrone + const FromGithub + const FromGitlab + func (f Format) String() string + type Option func(*Converter) + func WithAttempts(attempts int) Option + func WithDebug() Option + func WithDockerhub(connector string) Option + func WithFormat(format Format) Option + func WithFormatString(format string) Option + func WithKubernetes(namespace, connector string) Option + func WithToken(token string) Option