MCPcopy
hub / github.com/opentofu/opentofu / RemoteClient

Struct RemoteClient

internal/backend/remote-state/kubernetes/client.go:41–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39)
40
41type RemoteClient struct {
42 kubernetesSecretClient dynamic.ResourceInterface
43 kubernetesLeaseClient coordinationclientv1.LeaseInterface
44 namespace string
45 labels map[string]string
46 nameSuffix string
47 workspace string
48}
49
50func (c *RemoteClient) Get(ctx context.Context) (payload *remote.Payload, err error) {
51 secretName, err := c.createSecretName()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected