Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Inspector ¶
type Inspector struct {
ImageRef string
ArtifactLocation string
SlimImageRepo string
AppArmorProfileName string
SeccompProfileName string
ImageInfo *crt.ImageInfo // *docker.Image
ImageRecordInfo crt.BasicImageInfo // docker.APIImages
APIClient crt.InspectorAPIClient //*docker.Client
//fatImageDockerInstructions []string
DockerfileInfo *reverse.Dockerfile
}
Inspector is a container image inspector
func NewInspector ¶
func NewInspector(apiClient crt.InspectorAPIClient, imageRef string) (*Inspector, error)
NewInspector creates a new container image inspector
func (*Inspector) ProcessCollectedData ¶
ProcessCollectedData performs post-processing on the collected image data
func (*Inspector) Pull ¶
func (i *Inspector) Pull(showPullLog bool, dockerConfigPath, registryAccount, registrySecret string) error
Pull tries to download the target image
func (*Inspector) ShowFatImageDockerInstructions ¶
func (i *Inspector) ShowFatImageDockerInstructions()
ShowFatImageDockerInstructions prints the original target image Dockerfile instructions
Click to show internal directories.
Click to hide internal directories.