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

Method SetAccessKey

ent/storagepolicy_create.go:957–961  ·  view source on GitHub ↗

SetAccessKey sets the "access_key" field.

(v string)

Source from the content-addressed store, hash-verified

955
956// SetAccessKey sets the "access_key" field.
957func (u *StoragePolicyUpsertOne) SetAccessKey(v string) *StoragePolicyUpsertOne {
958 return u.Update(func(s *StoragePolicyUpsert) {
959 s.SetAccessKey(v)
960 })
961}
962
963// UpdateAccessKey sets the "access_key" field to the value that was provided on create.
964func (u *StoragePolicyUpsertOne) UpdateAccessKey() *StoragePolicyUpsertOne {

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.95

Tested by

no test coverage detected