Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenericSync ¶
type GenericSync struct {
// contains filtered or unexported fields
}
GenericSync replicates Kubernetes resources into OPA as raw JSON.
func New ¶
func New(kubeconfig *rest.Config, opa opa_client.Data, ns types.ResourceType) *GenericSync
New returns a new GenericSync that cna be started.
func (*GenericSync) Run ¶
func (s *GenericSync) Run() (chan struct{}, error)
Run starts the synchronizer. To stop the synchronizer send a message to the channel.
Click to show internal directories.
Click to hide internal directories.