code: func TrustedPush(ctx context.Context, cli command.Cli, repoInfo *registry.RepositoryInfo, ref reference.Named, authConfig types.AuthConfig, requestPrivilege types.RequestPrivilegeFunc) error {
  	responseBody, err := imagePushPrivileged(ctx, cli, authConfig, ref, requestPrivilege)
  	if err != nil {
  		return err
  	}
  
  	defer responseBody.Close()
  
  	return PushTrustedReference(cli, repoInfo, ref, authConfig, responseBody)
  }
docs: // TrustedPush handles content trust pushing of an image