MCPcopy Index your code
hub / github.com/CrunchyData/postgres-operator / Create

Method Create

internal/controller/runtime/client.go:54–56  ·  view source on GitHub ↗

NOTE: The following implementations can go away following https://go.dev/issue/47487. The function types above would become single-method interfaces.

(ctx context.Context, obj client.Object, opts ...client.CreateOption)

Source from the content-addressed store, hash-verified

52// The function types above would become single-method interfaces.
53
54func (fn ClientCreate) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error {
55 return fn(ctx, obj, opts...)
56}
57
58func (fn ClientDelete) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error {
59 return fn(ctx, obj, opts...)

Calls

no outgoing calls