Skip to content

Instantly share code, notes, and snippets.

@sozercan
Created August 5, 2025 00:48
Show Gist options
  • Save sozercan/739bf30db428c37628e1d71439429032 to your computer and use it in GitHub Desktop.
Save sozercan/739bf30db428c37628e1d71439429032 to your computer and use it in GitHub Desktop.
package types
import (
"time"
)
// Options contains common copacetic options.
type Options struct {
// Core image configuration
Image string
Report string
PatchedTag string
Suffix string
// Working environment
WorkingFolder string
Timeout time.Duration
// Scanner and output
Scanner string
IgnoreError bool
// Output configuration
Format string
Output string
// Buildkit connection options
BkAddr string
BkCACertPath string
BkCertPath string
BkKeyPath string
// Platform and push
Push bool
Platforms []string
Loader string
// Package types and library patch level
PkgTypes string
LibraryPatchLevel string
// Generate specific
OutputContext string
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment