MCPcopy
hub / github.com/fluid-cloudnative/fluid / NewPlugin

Function NewPlugin

pkg/webhook/plugins/fusesidecar/fuse_sidecar.go:52–58  ·  view source on GitHub ↗
(c client.Client, args string)

Source from the content-addressed store, hash-verified

50}
51
52func NewPlugin(c client.Client, args string) (api.MutatingHandler, error) {
53 return &FuseSidecar{
54 client: c,
55 name: Name,
56 log: ctrl.Log.WithName("FuseSidecar"),
57 }, nil
58}
59
60func (p *FuseSidecar) GetName() string {
61 return p.name

Callers 1

TestMutateFunction · 0.70

Calls

no outgoing calls

Tested by 1

TestMutateFunction · 0.56