Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mutator ¶
type Mutator struct {
// contains filtered or unexported fields
}
Mutator contains common atttributes and the mutation input source structure
func NewMutator ¶
func NewMutator(name string, log logrus.FieldLogger, scc security.SecurityContextConstraints) Mutator
NewMutator creates a new Mutator. Clients of this API should set a meaningful name that can be used to easily identify the calling client.
func (*Mutator) Mutate ¶
func (m *Mutator) Mutate() *MutatorOutput
Mutate converts a SecurityContextsConstraints into PodSecurityPolicy, ClusterRole and ClusterRoleBinding
type MutatorOutput ¶
type MutatorOutput struct { PodSecurityPolicy policy.PodSecurityPolicy ClusterRole rbac.ClusterRole ClusterRoleBinding rbac.ClusterRoleBinding }
MutatorOutput contains the mutated output structures
Click to show internal directories.
Click to hide internal directories.