MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / SetAccessKey

Method SetAccessKey

ent/storagepolicy_create.go:654–657  ·  view source on GitHub ↗

SetAccessKey sets the "access_key" field.

(v string)

Source from the content-addressed store, hash-verified

652
653// SetAccessKey sets the "access_key" field.
654func (u *StoragePolicyUpsert) SetAccessKey(v string) *StoragePolicyUpsert {
655 u.Set(storagepolicy.FieldAccessKey, v)
656 return u
657}
658
659// UpdateAccessKey sets the "access_key" field to the value that was provided on create.
660func (u *StoragePolicyUpsert) UpdateAccessKey() *StoragePolicyUpsert {

Callers

nothing calls this directly

Calls 1

SetMethod · 0.65

Tested by

no test coverage detected