Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gatekeeper ¶
type Gatekeeper struct { Config *config.Config Logger log.Logger K8sClient kubernetes.Interface GatekeeperK8sClient gatekeeperclientset.Interface }
func NewGatekeeper ¶
func NewGatekeeper(logger log.Logger, config *config.Config, k8sClient kubernetes.Interface, gatekeeperK8sClient gatekeeperclientset.Interface) (*Gatekeeper, error)
func (*Gatekeeper) RunPolicies ¶
func (g *Gatekeeper) RunPolicies(ctx context.Context) error
RunPolicies executes the status command of the CLI
Click to show internal directories.
Click to hide internal directories.