Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Artifact ¶
type Artifact struct { Namespace string Kind string Labels map[string]string Name string Images []string Credentials []docker.Auth RawResource map[string]interface{} }
Artifact holds information for kubernetes scannable resources
func FromResource ¶
func FromResource(resource unstructured.Unstructured, serverAuths map[string]docker.Auth) (*Artifact, error)
FromResource is a factory method to create an Artifact from an unstructured.Unstructured
Click to show internal directories.
Click to hide internal directories.