Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManifestIntegrityConfig ¶
type ManifestIntegrityConfig struct { k8smanifest.VerifyResourceOption `json:""` InScopeObjects k8smanifest.ObjectReferenceList `json:"inScopeObjects,omitempty"` SkipUsers ObjectUserBindingList `json:"skipUsers,omitempty"` KeySecertName string `json:"keySecretName,omitempty"` KeySecertNamespace string `json:"keySecretNamespace,omitempty"` ResourceBundleRef string `json:"resourceBundleRef,omitempty"` }
func LoadConfig ¶
func LoadConfig(namespace, name string) (*ManifestIntegrityConfig, error)
func (*ManifestIntegrityConfig) LoadKeySecret ¶
func (c *ManifestIntegrityConfig) LoadKeySecret() (string, error)
type ObjectUserBinding ¶
type ObjectUserBinding struct { Objects k8smanifest.ObjectReferenceList `json:"objects,omitempty"` Users []string `json:"users,omitempty"` }
func (ObjectUserBinding) Match ¶
func (u ObjectUserBinding) Match(obj unstructured.Unstructured, username string) bool
type ObjectUserBindingList ¶
type ObjectUserBindingList []ObjectUserBinding
func (ObjectUserBindingList) Match ¶
func (l ObjectUserBindingList) Match(obj unstructured.Unstructured, username string) bool
Click to show internal directories.
Click to hide internal directories.