Documentation
¶
Index ¶
Constants ¶
View Source
const GroupName = "security.banzaicloud.com"
GroupName for crd
View Source
const GroupVersion = "v1alpha1"
GroupVersion for crd
Variables ¶
View Source
var ( // SchemeGroupVersion for crd SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: GroupVersion} // SchemeBuilder for crd SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme for crd AddToScheme = SchemeBuilder.AddToScheme )
nolint: gochecknoglobals
Functions ¶
This section is empty.
Types ¶
type Audit ¶
type Audit struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AuditSpec `json:"spec"` Status AuditStatus `json:"status,omitempty"` }
Audit for AuditList
func (*Audit) DeepCopyObject ¶
DeepCopyObject for Audit
type AuditImage ¶
type AuditImage struct { ImageName string `json:"imageName"` ImageTag string `json:"imageTag"` ImageDigest string `json:"imageDigest"` LastUpdated string `json:"lastUpdated"` }
AuditImage for AuditSpec
type AuditList ¶
type AuditList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Audit `json:"items"` }
AuditList for Scan events
func (*AuditList) DeepCopyObject ¶
DeepCopyObject for AuditList
type AuditSpec ¶
type AuditSpec struct { ReleaseName string `json:"releaseName"` Resource string `json:"resource"` Result []string `json:"result"` Action string `json:"action"` Images []AuditImage `json:"image"` }
AuditSpec for Audit
type AuditStatus ¶
type AuditStatus struct {
State string `json:"state"`
}
AuditStatus for AuditSpec
type WhiteListItem ¶
type WhiteListItem struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec WhiteListSpec `json:"spec"` }
WhiteListItem for whitelisting crd
func (*WhiteListItem) DeepCopyInto ¶
func (in *WhiteListItem) DeepCopyInto(out *WhiteListItem)
DeepCopyInto for WhiteListItem
func (*WhiteListItem) DeepCopyObject ¶
func (in *WhiteListItem) DeepCopyObject() runtime.Object
DeepCopyObject for WhiteListItem
type WhiteListItemList ¶
type WhiteListItemList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []WhiteListItem `json:"items"` }
WhiteListItemList for whitelisting crd
func (*WhiteListItemList) DeepCopyObject ¶
func (in *WhiteListItemList) DeepCopyObject() runtime.Object
DeepCopyObject for WhiteList
type WhiteListSpec ¶
type WhiteListSpec struct { Creator string `json:"creator"` Reason string `json:"reason"` Regexp string `json:"regexp,omitempty"` }
WhiteListSpec for WhiteListItem
Click to show internal directories.
Click to hide internal directories.